Skip to contentSkip to conversation

KVM: x86: SVM: Fix one redefine issue about VMCB_AVIC_APIC_BAR_MASK

PATCH New [email protected] 1 participant 1 message Mar 15, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: x86: SVM: Fix one redefine issue about VMCB_AVIC_APIC_BAR_MASK

From: Xinghui Li <[email protected]>

VMCB_AVIC_APIC_BAR_MASK is defined twice with the same value in svm.h, which is meaningless. Delete the duplicate one.

Fixes 391503528257 ("KVM: x86: SVM: move avic definitions from AMD's spec to svm.h")
---
 arch/x86/include/asm/svm.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/svm.h +0 -1
index cb1ee53ad3b1..633f724d461a 100644
@@ -276,7 +276,6 @@ enum avic_ipi_failure_cause {
 #define X2AVIC_MAX_PHYSICAL_ID		0x1FFUL
 
 #define AVIC_HPA_MASK	~((0xFFFULL << 52) | 0xFFF)
-#define VMCB_AVIC_APIC_BAR_MASK		0xFFFFFFFFFF000ULL
 
 
 struct vmcb_seg {
Signature · 1 line
2.31.1