Messages in this thread | | | Date | Wed, 6 Oct 2021 11:58:31 +0100 | From | Will Deacon <> | Subject | Re: [PATCH v2 5/5] kasan: Extend KASAN mode kernel parameter |
| |
On Mon, Oct 04, 2021 at 09:22:53PM +0100, Vincenzo Frascino wrote: > Architectures supported by KASAN_HW_TAGS can provide an asymmetric mode > of execution. On an MTE enabled arm64 hw for example this can be > identified with the asymmetric tagging mode of execution. In particular, > when such a mode is present, the CPU triggers a fault on a tag mismatch > during a load operation and asynchronously updates a register when a tag > mismatch is detected during a store operation. > > Extend the KASAN HW execution mode kernel command line parameter to > support asymmetric mode. > > Cc: Dmitry Vyukov <dvyukov@google.com> > Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> > Cc: Alexander Potapenko <glider@google.com> > Cc: Andrey Konovalov <andreyknvl@gmail.com> > Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> > Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> > --- > Documentation/dev-tools/kasan.rst | 7 +++++-- > lib/test_kasan.c | 2 +- > mm/kasan/hw_tags.c | 27 ++++++++++++++++++++++----- > mm/kasan/kasan.h | 22 +++++++++++++++++++--- > mm/kasan/report.c | 2 +- > 5 files changed, 48 insertions(+), 12 deletions(-)
I'll wait for an Ack from Andrey or Marco before queueing this.
Will
| |