[PATCH v9 15/22] KVM: arm64: pkvm: Drop AArch32-specific registers
Marc Zyngier
maz at kernel.org
Wed Oct 13 05:03:39 PDT 2021
All the SYS_*32_EL2 registers are AArch32-specific. Since we forbid
AArch32, there is no need to handle those in any way.
Signed-off-by: Marc Zyngier <maz at kernel.org>
---
arch/arm64/kvm/hyp/nvhe/sys_regs.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm64/kvm/hyp/nvhe/sys_regs.c b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
index 042a1c0be7e0..e2b3a9e167da 100644
--- a/arch/arm64/kvm/hyp/nvhe/sys_regs.c
+++ b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
@@ -452,10 +452,6 @@ static const struct sys_reg_desc pvm_sys_reg_descs[] = {
HOST_HANDLED(SYS_CNTP_CVAL_EL0),
/* Performance Monitoring Registers are restricted. */
-
- HOST_HANDLED(SYS_DACR32_EL2),
- HOST_HANDLED(SYS_IFSR32_EL2),
- HOST_HANDLED(SYS_FPEXC32_EL2),
};
/*
--
2.30.2
More information about the linux-arm-kernel
mailing list