Blob Blame History Raw
From: Xinghui Li <korantli@tencent.com>
Date: Mon, 3 Apr 2023 17:52:00 +0800
Subject: KVM: SVM: Remove a duplicate definition of VMCB_AVIC_APIC_BAR_MASK
Git-commit: c0d0ce9b5a851895f34fd401c9dddc70616711a4
Patch-mainline: v6.4-rc1
References: git-fixes

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>
Acked-by: nborisov <nik.borisov@suse.com>
---
 arch/x86/include/asm/svm.h |    1 -
 1 file changed, 1 deletion(-)

--- a/arch/x86/include/asm/svm.h
+++ b/arch/x86/include/asm/svm.h
@@ -255,7 +255,6 @@ enum avic_ipi_failure_cause {
 #define AVIC_MAX_PHYSICAL_ID_COUNT	0xff
 
 #define AVIC_HPA_MASK	~((0xFFFULL << 52) | 0xFFF)
-#define VMCB_AVIC_APIC_BAR_MASK		0xFFFFFFFFFF000ULL
 
 
 struct vmcb_seg {