diff options
author | 2015-05-22 18:45:11 +0200 | |
---|---|---|
committer | 2015-05-28 10:43:35 +0200 | |
commit | 257b9a5faab5849fa61f1a523b429dc279d33cc3 (patch) | |
tree | 5a29d2fd7b2ba3947f1e81e7b45b1443449148d3 /tools/perf/scripts/python/syscall-counts.py | |
parent | KVM: x86: add module parameter to disable periodic kvmclock sync (diff) | |
download | linux-dev-257b9a5faab5849fa61f1a523b429dc279d33cc3.tar.xz linux-dev-257b9a5faab5849fa61f1a523b429dc279d33cc3.zip |
KVM: x86: use correct APIC ID on x2APIC transition
SDM April 2015, 10.12.5 State Changes From xAPIC Mode to x2APIC Mode
• Any APIC ID value written to the memory-mapped local APIC ID register
is not preserved.
Fix it by sourcing vcpu_id (= initial APIC ID) instead of memory-mapped
APIC ID. Proper use of apic functions would result in two calls to
recalculate_apic_map(), so this patch makes a new helper.
Signed-off-by: Radim KrÄmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions