Skip to content

arm64/cache: Fix cache_type_cwg() for register generation

Mark Brown linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v11 patch 6 repliesSuperseded

Changes in v2 from the cover letter

- Use SYS_FIELD_GET()

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3arm64/sysreg: Directly include bitfield.harch/arm64/include/asm/sysreg.h+1 -00 replies
2/3arm64/sysreg: Guard SYS_FIELD_ macros for asmarch/arm64/include/asm/sysreg.h+2 -20 replies
3/3arm64/cache: Fix cache_type_cwg() for register generationarch/arm64/include/asm/cache.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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.

v2:
- Use SYS_FIELD_GET()

Mark Brown (3):
arm64/sysreg: Directly include bitfield.h arm64/sysreg: Guard SYS_FIELD_ macros for asm arm64/cache: Fix cache_type_cwg() for register generation

 arch/arm64/include/asm/cache.h  | 2 +-
 arch/arm64/include/asm/sysreg.h | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

base-commit: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868

Signature · 7 lines
2.30.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel