diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-02-05 00:42:02 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-01 16:50:47 +0300 |
| commit | 5429478d038fc945919419cfa290313463a21141 (patch) | |
| tree | 911dd113aea17c87b120819df1082da17c933519 /tools/perf/scripts/python | |
| parent | 70180052354c894d04af07e56cf13ecf1891904f (diff) | |
| download | linux-5429478d038fc945919419cfa290313463a21141.tar.xz | |
KVM: x86: Add helpers to handle 64-bit APIC MSR read/writes
Add helpers to handle 64-bit APIC read/writes via MSRs to deduplicate the
x2APIC and Hyper-V code needed to service reads/writes to ICR. Future
support for IPI virtualization will add yet another path where KVM must
handle 64-bit APIC MSR reads/write (to ICR).
Opportunistically fix the comment in the write path; ICR2 holds the
destination (if there's no shorthand), not the vector.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220204214205.3306634-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
