[PATCH v10 01/10] KVM: arm64: Drop MDSCR_EL1_DEBUG_MASK
James Clark
james.clark at linaro.org
Tue Jan 7 03:32:38 PST 2025
From: Oliver Upton <oliver.upton at linux.dev>
Nothing is using this macro, get rid of it.
Tested-by: James Clark <james.clark at linaro.org>
Signed-off-by: Oliver Upton <oliver.upton at linux.dev>
Link: https://lore.kernel.org/r/20241219224116.3941496-2-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz at kernel.org>
---
arch/arm64/kvm/debug.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm64/kvm/debug.c b/arch/arm64/kvm/debug.c
index ce8886122ed3..587e9eb4372e 100644
--- a/arch/arm64/kvm/debug.c
+++ b/arch/arm64/kvm/debug.c
@@ -16,11 +16,6 @@
#include "trace.h"
-/* These are the bits of MDSCR_EL1 we may manipulate */
-#define MDSCR_EL1_DEBUG_MASK (DBG_MDSCR_SS | \
- DBG_MDSCR_KDE | \
- DBG_MDSCR_MDE)
-
static DEFINE_PER_CPU(u64, mdcr_el2);
/*
--
2.34.1
More information about the linux-arm-kernel
mailing list