Add logical CPU to KVM_EXIT_FAIL_ENTRY info
Status from this message: Queued, thanks. (It would have been fine to squash patches 3-5-6
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 1 replyApplied
- v34 patches 8 repliesSuperseded
- v21 patch 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 3 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | kvm: svm: Prefer vcpu->cpu to raw_smp_processor_id()arch/ | +3 | 0 replies | |
| 2/6 | kvm: svm: Always set svm->last_cpu on VMRUNarch/ arch/ | +1 | 0 replies | |
| 3/6 | kvm: vmx: Add last_cpu to struct vcpu_vmxarch/ arch/ | +4 | 0 replies | |
| 4/6 | kvm: x86: Add "last CPU" to some KVM_EXIT informationDocumentation/ arch/ arch/ +2 more | +15 | 0 replies | |
| 5/6 | kvm: x86: Move last_cpu into kvm_vcpu_arch as last_vmentry_cpuarch/ arch/ arch/ +3 more | +13 | 0 replies | |
| 6/6 | kvm: x86: Set last_vmentry_cpu in vcpu_enter_guestarch/ arch/ arch/ | +1 | 0 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Oliver Upton | Peter Shier |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | R-b |
| 3/6 | R-b | R-b |
| 4/6 | R-b | R-b |
| 5/6 | R-b | R-b |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/6] Add logical CPU to KVM_EXIT_FAIL_ENTRY info
It's been about 6 months since v2. Sorry for the delay. Initially, this was a single patch to add information to KVM_EXIT_FAIL_ENTRY to help identify a defective CPU. It has gotten a little more complicated, since Peter Shier pointed out that the vCPU thread may have migrated between the time of failure and the KVM exit. Fortunately, the SEV folks started to make the necessary information available with "last_cpu," but only on AMD and only with SEV. The current version expands upon that by making "last_cpu" available in all configurations on AMD and Intel.
v2: Use vcpu->cpu rather than raw_smp_processor_id() (Liran).
v3: Record the last logical processor to run the vCPU thread (Peter).
Add the "last CPU" information to KVM_EXIT_INTERNAL_ERROR exits as well as KVM_EXIT_FAIL_ENTRY [except for "EMULATION" errors]. (Liran & Paolo).
v4: Move last_cpu into kvm_vcpu_arch as last_vmentry_cpu, and set this
field in vcpu_enter_guest (Sean).
Jim Mattson (6):
kvm: svm: Prefer vcpu->cpu to raw_smp_processor_id()
kvm: svm: Always set svm->last_cpu on VMRUN
kvm: vmx: Add last_cpu to struct vcpu_vmx
kvm: x86: Add "last CPU" to some KVM_EXIT information
kvm: x86: Move last_cpu into kvm_vcpu_arch as last_vmentry_cpu
kvm: x86: Set last_vmentry_cpu in vcpu_enter_guest
Documentation/virt/kvm/api.rst | 1 + arch/x86/include/asm/kvm_host.h | 3 +++ arch/x86/kvm/svm/sev.c | 3 +-- arch/x86/kvm/svm/svm.c | 13 ++++++------- arch/x86/kvm/svm/svm.h | 3 --- arch/x86/kvm/vmx/vmx.c | 10 ++++++++-- arch/x86/kvm/x86.c | 2 ++ include/uapi/linux/kvm.h | 2 ++ 8 files changed, 23 insertions(+), 14 deletions(-)
Signature · 1 line
2.27.0.rc2.251.g90737beb825-goog