Commit f660cd96 authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

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: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220704170302.2609529-7-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
(cherry picked from commit 5b345e39)
[willdeacon@: Fixed context conflicts in asm/cache.h]
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Bug: 233587962
Bug: 233588291
Change-Id: I76c3463126a041fe04f2dc3666dc3e1dff92afaf
parent 984225b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment