Thread (10 messages) flat view 10 messages, 4 authors, 2021-06-22

Re: [PATCH 1/2] kasan: arm64: set TCR_EL1.TBID1 when enabled

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2020-11-25 18:56:19
Also in: linux-api

On Sat, 21 Nov 2020 01:59:02 -0800, Peter Collingbourne wrote:
On hardware supporting pointer authentication, we previously ended up
enabling TBI on instruction accesses when tag-based ASAN was enabled,
but this was costing us 8 bits of PAC entropy, which was unnecessary
since tag-based ASAN does not require TBI on instruction accesses. Get
them back by setting TCR_EL1.TBID1.
Applied to arm64 (for-next/misc), thanks!

[1/2] kasan: arm64: set TCR_EL1.TBID1 when enabled
      https://git.kernel.org/arm64/c/49b3cf035edc

This patch looks safe. Patch 2/2 needs more discussions.

-- 
Catalin


_______________________________________________
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