diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-07-12 22:09:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-07-14 09:03:54 +0200 |
commit | a92e2543d6a8653a8ab45cf5df7ef07dafcf3f3e (patch) | |
tree | c3489b65740c2948918a53b08a1718c5c4771d9e /arch/arm/lib/call_with_stack.S | |
parent | 3159d36ad799a117eb2f898de4c6b7777e4dc045 (diff) | |
download | linux-a92e2543d6a8653a8ab45cf5df7ef07dafcf3f3e.tar.gz linux-a92e2543d6a8653a8ab45cf5df7ef07dafcf3f3e.tar.xz |
KVM: x86: use hardware-compatible format for APIC ID register
We currently always shift APIC ID as if APIC was in xAPIC mode.
x2APIC mode wants to use more bits and storing a hardware-compabible
value is the the sanest option.
KVM API to set the lapic expects that bottom 8 bits of APIC ID are in
top 8 bits of APIC_ID register, so the register needs to be shifted in
x2APIC mode.
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm/lib/call_with_stack.S')
0 files changed, 0 insertions, 0 deletions