Thread (65 messages) 65 messages, 3 authors, 2020-11-06

Re: [PATCH v8 29/43] arm64: mte: Add in-kernel tag fault handler

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-11-05 16:57:34
Also in: linux-mm, lkml

On Thu, Nov 05, 2020 at 12:18:44AM +0100, Andrey Konovalov wrote:
From: Vincenzo Frascino <vincenzo.frascino@arm.com>

Add the implementation of the in-kernel fault handler.

When a tag fault happens on a kernel address:
* MTE is disabled on the current CPU,
* the execution continues.

When a tag fault happens on a user address:
* the kernel executes do_bad_area() and panics.

The tag fault handler for kernel addresses is currently empty and will be
filled in by a future commit.

Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Co-developed-by: Andrey Konovalov <redacted>
Signed-off-by: Andrey Konovalov <redacted>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help