arm64/cache: Fix cache_type_cwg() for register generation
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
- v2 Latest3 patches 1 replyApplied
- v11 patch 6 repliesSuperseded
Changes in v2 from the cover letter
- Use SYS_FIELD_GET()
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64/sysreg: Directly include bitfield.harch/ | +1 | 0 replies | |
| 2/3 | arm64/sysreg: Guard SYS_FIELD_ macros for asmarch/ | +2 | 0 replies | |
| 3/3 | arm64/cache: Fix cache_type_cwg() for register generationarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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