[PATCH] arm64/cache: Fix cache_type_cwg() for register generation

Mark Brown broonie at kernel.org
Wed Aug 17 11:22:26 PDT 2022


On Wed, Aug 17, 2022 at 05:56:24PM +0100, Mark Rutland wrote:

>   5b345e39d3ebc213 ("arm64/sysreg: Standardise naming for CTR_EL0 fields")

> ... and instead have:

> | #define CTR_CWG(ctr)          SYS_FIELD_GET(CTR_EL0, CWG, ctr)

I think if we're going to define that sort of per bitfield accessor
macro (which is certainly a valid and reasonable thing to do) we should
be having the script generate them rather than open coding them but
that's getting out of scope for a fix and should be done separately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220817/8aa26472/attachment.sig>


More information about the linux-arm-kernel mailing list