Thread (3 messages) 3 messages, 3 authors, 2021-09-29

Re: [PATCH v4] arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled

flat view

From: Will Deacon <will@kernel.org>
Date: 2021-09-29 17:51:20

On Thu, 23 Sep 2021 18:06:55 -0700, Peter Collingbourne wrote:
It is not necessary to write to GCR_EL1 on every kernel entry and
exit when HW tag-based KASAN is disabled because the kernel will not
execute any IRG instructions in that mode. Since accessing GCR_EL1
can be expensive on some microarchitectures, avoid doing so by moving
the access to task switch when HW tag-based KASAN is disabled.


[...]
Applied to arm64 (for-next/mte), thanks!

[1/1] arm64: kasan: mte: move GCR_EL1 switch to task switch when KASAN disabled
      https://git.kernel.org/arm64/c/e5af50a5df57

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
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