All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: MTE cleanups
@ 2021-07-14 14:38 Mark Rutland
  2021-07-14 14:38 ` [PATCH 1/3] arm64: mte: fix restoration of GCR_EL1 from suspend Mark Rutland
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Mark Rutland @ 2021-07-14 14:38 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: andreyknvl, catalin.marinas, dvyukov, glider, mark.rutland, pcc,
	ryabinin.a.a, vincenzo.frascino, will

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

-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-08-02 18:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 14:38 [PATCH 0/3] arm64: MTE cleanups Mark Rutland
2021-07-14 14:38 ` [PATCH 1/3] arm64: mte: fix restoration of GCR_EL1 from suspend Mark Rutland
2021-07-14 14:38 ` [PATCH 2/3] arm64: kasan: mte: use a constant kernel GCR_EL1 value Mark Rutland
2021-07-27 18:29   ` Catalin Marinas
2021-08-02 11:57   ` Andrey Konovalov
2021-07-14 14:38 ` [PATCH 3/3] arm64: kasan: mte: remove redundant mte_report_once logic Mark Rutland
2021-07-27 18:54   ` Catalin Marinas
2021-07-30 23:01     ` Andrey Konovalov
2021-07-31 10:44       ` Catalin Marinas
2021-07-31 11:28         ` Andrey Konovalov
2021-07-31 11:49           ` Catalin Marinas
2021-08-02 11:52             ` Andrey Konovalov
2021-07-15 17:39 ` [PATCH 0/3] arm64: MTE cleanups Will Deacon
2021-08-02 18:07 ` (subset) " Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.