summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorZenghui Yu <yuzenghui@huawei.com>2023-07-24 16:22:57 +0200
committerMarc Zyngier <maz@kernel.org>2023-07-28 10:50:38 +0200
commite21f3905f98ff1f72b06614440c2be93fda58b44 (patch)
treea85343ea05b2d3438e682353370ffeb11905bb71 /arch
parentKVM: arm64: Use the known cpu id instead of smp_processor_id() (diff)
downloadlinux-e21f3905f98ff1f72b06614440c2be93fda58b44.tar.xz
linux-e21f3905f98ff1f72b06614440c2be93fda58b44.zip
KVM: arm64: Drop HCR_VIRT_EXCP_MASK
This was introduced in commit 0369f6a34b9f ("arm64: KVM: EL2 register definitions") and for more than 10 years nobody used. Remove it. Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230724142257.1551-1-yuzenghui@huawei.com
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/include/asm/kvm_arm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h
index 58e5eb27da68..d04ef89ca6a0 100644
--- a/arch/arm64/include/asm/kvm_arm.h
+++ b/arch/arm64/include/asm/kvm_arm.h
@@ -89,7 +89,6 @@
HCR_BSU_IS | HCR_FB | HCR_TACR | \
HCR_AMO | HCR_SWIO | HCR_TIDCP | HCR_RW | HCR_TLOR | \
HCR_FMO | HCR_IMO | HCR_PTW | HCR_TID3)
-#define HCR_VIRT_EXCP_MASK (HCR_VSE | HCR_VI | HCR_VF)
#define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK | HCR_ATA)
#define HCR_HOST_NVHE_PROTECTED_FLAGS (HCR_HOST_NVHE_FLAGS | HCR_TSC)
#define HCR_HOST_VHE_FLAGS (HCR_RW | HCR_TGE | HCR_E2H)