From: Oliver Upton Date: Thu, 19 Dec 2024 22:40:58 +0000 (-0800) Subject: KVM: arm64: Drop MDSCR_EL1_DEBUG_MASK X-Git-Tag: v6.14-rc1~60^2~8^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ca19c40c47d80af369c222662445bbf593666b1;p=thirdparty%2Flinux.git KVM: arm64: Drop MDSCR_EL1_DEBUG_MASK Nothing is using this macro, get rid of it. Tested-by: James Clark Signed-off-by: Oliver Upton Link: https://lore.kernel.org/r/20241219224116.3941496-2-oliver.upton@linux.dev Signed-off-by: Marc Zyngier --- diff --git a/arch/arm64/kvm/debug.c b/arch/arm64/kvm/debug.c index ce8886122ed30..587e9eb4372e2 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); /*