[PATCH] kselftest/arm64: Don't open code SVE_PT_SIZE() in fp-ptrace

Catalin Marinas catalin.marinas at arm.com
Sat Aug 30 03:39:19 PDT 2025


On Tue, 12 Aug 2025 15:49:27 +0100, Mark Brown wrote:
> In fp-trace when allocating a buffer to write SVE register data we open
> code the addition of the header size to the VL depeendent register data
> size, which lead to an underallocation bug when we cut'n'pasted the code
> for FPSIMD format writes. Use the SVE_PT_SIZE() macro that the kernel
> UAPI provides for this.
> 
> 
> [...]

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

[1/1] kselftest/arm64: Don't open code SVE_PT_SIZE() in fp-ptrace
      https://git.kernel.org/arm64/c/d82aa5d3501b

-- 
Catalin




More information about the linux-arm-kernel mailing list