summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-05-19 05:26:58 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-24 12:45:29 -0400
commitab1b1dc131cd7da4c66758e711c0f69da3633561 (patch)
tree0dcd4030476225d4dbb3e304782fecbc154e845c /tools/perf/scripts/python
parentc514d3a348ac4358215fdfb9ed17d4c01dd39731 (diff)
downloadlinux-ab1b1dc131cd7da4c66758e711c0f69da3633561.tar.gz
linux-ab1b1dc131cd7da4c66758e711c0f69da3633561.zip
KVM: SVM: Do not support updating APIC ID when in x2APIC mode
In X2APIC mode, the Logical Destination Register is read-only, which provides a fixed mapping between the logical and physical APIC IDs. Therefore, there is no Logical APIC ID table in X2AVIC and the processor uses the X2APIC ID in the backing page to create a vCPU’s logical ID. In addition, KVM does not support updating APIC ID in x2APIC mode, which means AVIC does not need to handle this case. Therefore, check x2APIC mode when handling physical and logical APIC ID update, and when invalidating logical APIC ID table. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Suggested-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Message-Id: <20220519102709.24125-7-suravee.suthikulpanit@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions