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

Will Deacon will at kernel.org
Tue Aug 23 04:34:16 PDT 2022


On Thu, 18 Aug 2022 22:36:10 +0100, Mark Brown wrote:
> Ard noticed that in converting CTR_EL0 to automatic generation we broke
> cache_type_cwg() since it was using a non-standard way of specifying
> _MASK that masks after rather than before shifting to retrieve the
> value. We could fix this directly in a single patch but there has been
> demand to also convert to use the SYS_FIELD_GET() accessor which
> requires a few preparatory patches to make that safe for direct use in
> cache.h.
> 
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/3] arm64/sysreg: Directly include bitfield.h
      https://git.kernel.org/arm64/c/02e483f8d414
[2/3] arm64/sysreg: Guard SYS_FIELD_ macros for asm
      https://git.kernel.org/arm64/c/a10edea4efbb
[3/3] arm64/cache: Fix cache_type_cwg() for register generation
      https://git.kernel.org/arm64/c/53d2d84a1f6d

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list