arm64: MTE cleanups
Status from this message: Applied patch 1 only to arm64 (for-next/fixes), thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: mte: fix restoration of GCR_EL1 from suspendarch/ | +2 | 0 replies | |
| 2/3 | arm64: kasan: mte: use a constant kernel GCR_EL1 valuearch/ arch/ arch/ +8 more | +35 | 2 replies | |
| 3/3 | arm64: kasan: mte: remove redundant mte_report_once logicarch/ arch/ arch/ +4 more | +1 | 6 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Catalin Marinas | Andrey Konovalov |
|---|---|---|
| 1/3 | ||
| 2/3 | R-b | R-b T-b |
| 3/3 | R-b | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] arm64: MTE cleanups
While working on moving the MTE entry code over to C, I spotted a few things that could be improved more generally.
The first patch is a fix for a potential issue in some kernel configurations, the second avoids redundant work to generate and load a compile-time constant, and the third removes some redundant infrastructure for suprressing fault reporting which made the architectural fault handling code confusing.
The entry bits may conflict with Peter's concurrent rework there; I can rebase this series as required.
Thanks,
Mark.
Mark Rutland (3):
arm64: mte: fix restoration of GCR_EL1 from suspend
arm64: kasan: mte: use a constant kernel GCR_EL1 value
arm64: kasan: mte: remove redundant mte_report_once logic
arch/arm64/include/asm/memory.h | 2 -- arch/arm64/include/asm/mte-kasan.h | 17 ------------ arch/arm64/include/asm/mte.h | 6 ----- arch/arm64/include/asm/sysreg.h | 16 +++++++++++ arch/arm64/kernel/entry.S | 5 ++-- arch/arm64/kernel/mte.c | 54 -------------------------------------- arch/arm64/kernel/suspend.c | 1 - arch/arm64/mm/fault.c | 15 +---------- arch/arm64/mm/proc.S | 3 +-- include/linux/kasan-tags.h | 15 +++++++++++ lib/test_kasan.c | 2 -- mm/kasan/hw_tags.c | 8 ------ mm/kasan/kasan.h | 22 +--------------- 13 files changed, 36 insertions(+), 130 deletions(-) create mode 100644 include/linux/kasan-tags.h
Signature · 7 lines
2.11.0 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel