Skip to content

Commit 3c90cb1

Browse files
author
Marc Zyngier
committed
KVM: arm64: pkvm: Drop AArch32-specific registers
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 <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Tested-by: Fuad Tabba <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8ffb418 commit 3c90cb1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/arm64/kvm/hyp/nvhe/sys_regs.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,6 @@ static const struct sys_reg_desc pvm_sys_reg_descs[] = {
452452
HOST_HANDLED(SYS_CNTP_CVAL_EL0),
453453

454454
/* Performance Monitoring Registers are restricted. */
455-
456-
HOST_HANDLED(SYS_DACR32_EL2),
457-
HOST_HANDLED(SYS_IFSR32_EL2),
458-
HOST_HANDLED(SYS_FPEXC32_EL2),
459455
};
460456

461457
/*

0 commit comments

Comments
 (0)