Message ID | 20241219173351.1123087-1-maz@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | arm64/sysreg: Get rid of *_ELx as fields for EL12 accessors | expand |
On Thu, 19 Dec 2024 17:33:46 +0000, Marc Zyngier wrote: > We keep adding *_ELx definition to the sysreg as an abstraction for > the mapping between an EL1 register and its EL12 counterpart. > > But nothing in the architecture has these ELx suffixes to describe > such abstraction. When they are mentioned, it always is as a shortcut > for EL1, EL2 or EL3, and never for EL12. That's because *_EL12 are > *not* registers. They are accessors, nothing else. So what we > currently have is not only bizarre, it is actively wrong. > > [...] Applied to arm64 (for-next/cpufeature), thanks! [1/4] arm64/sysreg: Allow a 'Mapping' descriptor for system registers https://git.kernel.org/arm64/c/078bc96539c3 [2/4] arm64/sysreg: Get rid of the TCR2_EL1x SysregFields https://git.kernel.org/arm64/c/7052e808c446 [3/4] arm64/sysreg: Convert *_EL12 accessors to Mapping https://git.kernel.org/arm64/c/233fc36bb5a2 [4/4] arm64/sysreg: Get rid of CPACR_ELx SysregFields https://git.kernel.org/arm64/c/e5ecedcd7cc2 Cheers,