From: Mark Rutland <mark.rutland@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: andreyknvl@gmail.com, catalin.marinas@arm.com,
dvyukov@google.com, glider@google.com, mark.rutland@arm.com,
pcc@google.com, ryabinin.a.a@gmail.com,
vincenzo.frascino@arm.com, will@kernel.org
Subject: [PATCH 0/3] arm64: MTE cleanups
Date: Wed, 14 Jul 2021 15:38:40 +0100 [thread overview]
Message-ID: <20210714143843.56537-1-mark.rutland@arm.com> (raw)
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
next reply other threads:[~2021-07-14 14:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-14 14:38 Mark Rutland [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210714143843.56537-1-mark.rutland@arm.com \
--to=mark.rutland@arm.com \
--cc=andreyknvl@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=dvyukov@google.com \
--cc=glider@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=pcc@google.com \
--cc=ryabinin.a.a@gmail.com \
--cc=vincenzo.frascino@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.