]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/xen: use xen_vcpu_id mapping when pointing vcpu_info to shared_info
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 30 Jun 2016 15:56:39 +0000 (17:56 +0200)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 08:02:35 +0000 (04:02 -0400)
commit77da1a442daff72988e20338bea029b66b25f163
tree03ad78f34f92f334880d2a2b100f954ee8d9c9bd
parent9fb02b7d7bb24c83336594d27f9747a1a293dedf
x86/xen: use xen_vcpu_id mapping when pointing vcpu_info to shared_info

shared_info page has space for 32 vcpu info slots for first 32 vCPUs
but these are the first 32 vCPUs from Xen's perspective and we should
map them accordingly with the newly introduced xen_vcpu_id mapping.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit e15a8621935cac527b4e0ed4078d24c3e5ef73a6)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937

 Conflicts:
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten.c