Skip to content

Commit e21f390

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
KVM: arm64: Drop HCR_VIRT_EXCP_MASK
This was introduced in commit 0369f6a ("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
1 parent 1ba11da commit e21f390

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm64/include/asm/kvm_arm.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
HCR_BSU_IS | HCR_FB | HCR_TACR | \
9090
HCR_AMO | HCR_SWIO | HCR_TIDCP | HCR_RW | HCR_TLOR | \
9191
HCR_FMO | HCR_IMO | HCR_PTW | HCR_TID3)
92-
#define HCR_VIRT_EXCP_MASK (HCR_VSE | HCR_VI | HCR_VF)
9392
#define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK | HCR_ATA)
9493
#define HCR_HOST_NVHE_PROTECTED_FLAGS (HCR_HOST_NVHE_FLAGS | HCR_TSC)
9594
#define HCR_HOST_VHE_FLAGS (HCR_RW | HCR_TGE | HCR_E2H)

0 commit comments

Comments
 (0)