summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/i8254.h
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2022-05-19 05:27:07 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-24 12:52:18 -0400
commit8c9e639da435874fb845c4d296ce55664071ea7a (patch)
treecea816cf1794e76fd2df41ca56c695a420b05a85 /arch/x86/kvm/i8254.h
parentf8d8ac215919cf40d3b358846ed8e8e3a3683131 (diff)
downloadlinux-8c9e639da435874fb845c4d296ce55664071ea7a.tar.gz
KVM: SVM: Use target APIC ID to complete x2AVIC IRQs when possible
For x2AVIC, the index from incomplete IPI #vmexit info is invalid for logical cluster mode. Only ICRH/ICRL values can be used to determine the IPI destination APIC ID. Since QEMU defines guest physical APIC ID to be the same as vCPU ID, it can be used to quickly identify the target vCPU to deliver IPI, and avoid the overhead from searching through all vCPUs to match the target vCPU. Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Message-Id: <20220519102709.24125-16-suravee.suthikulpanit@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8254.h')
0 files changed, 0 insertions, 0 deletions