Commit c0d0ce9b authored by Xinghui Li's avatar Xinghui Li Committed by Sean Christopherson
Browse files

KVM: SVM: Remove a duplicate definition of VMCB_AVIC_APIC_BAR_MASK



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

Fixes: 39150352 ("KVM: x86: SVM: move avic definitions from AMD's spec to svm.h")
Signed-off-by: default avatarXinghui Li <korantli@tencent.com>
Reviewed-by: default avatarLike Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230403095200.1391782-1-korantwork@gmail.com


[sean: tweak shortlog]
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 0977cfac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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 {