arm64/sysreg: Get rid of CPACR_ELx SysregFields
authorMarc Zyngier <maz@kernel.org>
Thu, 19 Dec 2024 17:33:50 +0000 (17:33 +0000)
committerWill Deacon <will@kernel.org>
Thu, 19 Dec 2024 18:00:58 +0000 (18:00 +0000)
commite5ecedcd7cc231a115c11cfed79635583ef4f882
tree801262ad5093f51794c779f0f81bf5b51d275475
parent233fc36bb5a2488ec5e9eb4625b41d772d9d88b2
arm64/sysreg: Get rid of CPACR_ELx SysregFields

There is no such thing as CPACR_ELx in the architecture.
What we have is CPACR_EL1, for which CPTR_EL12 is an accessor.

Rename CPACR_ELx_* to CPACR_EL1_*, and fix the bit of code using
these names.

Reviewed-by: Mark Brown <broonie@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241219173351.1123087-5-maz@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
13 files changed:
arch/arm64/include/asm/el2_setup.h
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/include/asm/kvm_nested.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kvm/emulate-nested.c
arch/arm64/kvm/fpsimd.c
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/hyp-main.c
arch/arm64/kvm/hyp/nvhe/pkvm.c
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c
arch/arm64/tools/sysreg