[ Sasha's backport helper bot ]
Hi,
The upstream commit SHA1 provided is correct: 4b7c3f6d04bd53f2e5b228b6821fb8f5d1ba3071
WARNING: Author mismatch between patch and upstream commit: Backport author: Gavin Guo gavinguo@igalia.com Commit author: Sean Christopherson seanjc@google.com
Status in newer kernel trees: 6.12.y | Present (exact SHA1) 6.6.y | Not found
Note: The patch differs from the upstream commit: --- 1: 4b7c3f6d04bd ! 1: f0c195ebb384 KVM: x86: Make x2APIC ID 100% readonly @@ Metadata ## Commit message ## KVM: x86: Make x2APIC ID 100% readonly
+ [ Upstream commit 4b7c3f6d04bd53f2e5b228b6821fb8f5d1ba3071 ] + Ignore the userspace provided x2APIC ID when fixing up APIC state for KVM_SET_LAPIC, i.e. make the x2APIC fully readonly in KVM. Commit a92e2543d6a8 ("KVM: x86: use hardware-compatible format for APIC ID @@ Commit message Signed-off-by: Sean Christopherson seanjc@google.com Message-ID: 20240802202941.344889-2-seanjc@google.com Signed-off-by: Paolo Bonzini pbonzini@redhat.com + Signed-off-by: Gavin Guo gavinguo@igalia.com
## arch/x86/kvm/lapic.c ## @@ arch/x86/kvm/lapic.c: static void kvm_recalculate_logical_map(struct kvm_apic_map *new, ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |