BACKPORT: arm64/sysreg: Standardise naming for CTR_EL0 fields
cache.h contains some defines which are used to represent fields and enumeration values which do not follow the standard naming convention used for when we automatically generate defines for system registers. Update the names of the constants to reflect standardised naming and move them to sysreg.h. There is also a helper CTR_L1IP() which was open coded and has been converted to use SYS_FIELD_GET(). Signed-off-by:Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220704170302.2609529-7-broonie@kernel.org Signed-off-by:
Will Deacon <will@kernel.org> (cherry picked from commit 5b345e39) [willdeacon@: Fixed context conflicts in asm/cache.h] Signed-off-by:
Will Deacon <willdeacon@google.com> Bug: 233587962 Bug: 233588291 Change-Id: I76c3463126a041fe04f2dc3666dc3e1dff92afaf
Loading
Please sign in to comment