[PATCH v10 01/10] KVM: arm64: Drop MDSCR_EL1_DEBUG_MASK

From: James Clark
Date: Tue Jan 07 2025 - 06:34:32 EST


From: Oliver Upton <oliver.upton@xxxxxxxxx>

Nothing is using this macro, get rid of it.

Tested-by: James Clark <james.clark@xxxxxxxxxx>
Signed-off-by: Oliver Upton <oliver.upton@xxxxxxxxx>
Link: https://lore.kernel.org/r/20241219224116.3941496-2-oliver.upton@xxxxxxxxx
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
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