KVM: SVM: Remove a duplicate definition of VMCB_AVIC_APIC_BAR_MASK
authorXinghui Li <korantli@tencent.com>
Mon, 3 Apr 2023 09:52:00 +0000 (17:52 +0800)
committerSean Christopherson <seanjc@google.com>
Tue, 4 Apr 2023 18:08:12 +0000 (11:08 -0700)
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")
Signed-off-by: Xinghui Li <korantli@tencent.com>
Reviewed-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230403095200.1391782-1-korantwork@gmail.com
[sean: tweak shortlog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/svm.h

index 25306a420b8447089392f3651cf6390ff58ffdfd..e7c7379d6ac7b0ff25379e6bc46e129000346cc3 100644 (file)
@@ -287,7 +287,6 @@ static_assert((AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == AVIC_MAX_
 static_assert((X2AVIC_MAX_PHYSICAL_ID & AVIC_PHYSICAL_MAX_INDEX_MASK) == X2AVIC_MAX_PHYSICAL_ID);
 
 #define AVIC_HPA_MASK  ~((0xFFFULL << 52) | 0xFFF)
-#define VMCB_AVIC_APIC_BAR_MASK                0xFFFFFFFFFF000ULL
 
 
 struct vmcb_seg {