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