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