Thread (113 messages) 113 messages, 9 authors, 2026-01-24

Re: [PATCH v3 08/62] KVM: SVM: Drop pointless masking of default APIC base when setting V_APIC_BAR

From: Naveen N Rao <naveen@kernel.org>
Date: 2025-06-13 14:20:33
Also in: kvm, kvmarm, linux-iommu, lkml

On Wed, Jun 11, 2025 at 03:45:11PM -0700, Sean Christopherson wrote:
Drop VMCB_AVIC_APIC_BAR_MASK, it's just a regurgitation of the maximum
theoretical 4KiB-aligned physical address, i.e. is not novel in any way,
and its only usage is to mask the default APIC base, which is 4KiB aligned
and (obviously) a legal physical address.

No functional change intended.

Tested-by: Sairaj Kodilkar <redacted>
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
 arch/x86/include/asm/svm.h | 2 --
 arch/x86/kvm/svm/avic.c    | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Naveen N Rao (AMD) <naveen@kernel.org>

- Naveen

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help