[PATCH v2 0/3] arm64: PAC stripping cleanups

Will Deacon will at kernel.org
Thu Apr 13 07:41:41 PDT 2023


On Wed, 12 Apr 2023 17:01:31 +0100, Mark Rutland wrote:
> While working on some stacktrace and noinstr cleanups, I spotted that
> we're doing a bunch of redundant work to strip PACs from pointers which
> have already been stripped. Further, for historical reasons we use C
> code to strip PACs when we can easily use XPACLRI.
> 
> These patches clean up the PAC stripping, removing the redundant work
> and making better use of XPACLRI to strip PACs in the kernel.
> 
> [...]

Applied to arm64 (for-next/stacktrace), thanks!

[1/3] arm64: avoid redundant PAC stripping in __builtin_return_address()
      https://git.kernel.org/arm64/c/9df3f5082ff9
[2/3] arm64: use XPACLRI to strip PAC
      https://git.kernel.org/arm64/c/ca708599ca43
[3/3] arm64: move PAC masks to <asm/pointer_auth.h>
      https://git.kernel.org/arm64/c/de1702f65feb

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list