diff options
author | Xinghui Li <korantli@tencent.com> | 2023-04-03 11:52:00 +0200 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-04-04 20:08:12 +0200 |
commit | c0d0ce9b5a851895f34fd401c9dddc70616711a4 (patch) | |
tree | 23fddc4c9cc4135d82f379723a6a6990a22802c5 /arch/x86 | |
parent | KVM: nSVM: Implement support for nested VNMI (diff) | |
download | linux-c0d0ce9b5a851895f34fd401c9dddc70616711a4.tar.xz linux-c0d0ce9b5a851895f34fd401c9dddc70616711a4.zip |
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: 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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/svm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index 25306a420b84..e7c7379d6ac7 100644 --- a/arch/x86/include/asm/svm.h +++ b/arch/x86/include/asm/svm.h @@ -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 { |