[PATCH v4 0/6] kselfest/arm64: Fix a SVE memcpy() issue and use tools/include

Will Deacon will at kernel.org
Fri Aug 4 11:10:12 PDT 2023


On Fri, 28 Jul 2023 00:26:11 +0100, Mark Brown wrote:
> Will noticed that with newer toolchains memcpy() ends up being
> implemented with SVE instructions, breaking the signals tests when in
> streaming mode.  We fixed this by using an open coded version of
> OPTIMZER_HIDE_VAR(), but in the process it was noticed that some of the
> selftests are using the tools/include headers and it might be nice to
> share things there.  We also have a custom compiler.h in the BTI tests.
> 
> [...]

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

[1/6] kselftest/arm64: Exit streaming mode after collecting signal context
      https://git.kernel.org/arm64/c/d6da04b6fbab
[2/6] tools compiler.h: Add OPTIMIZER_HIDE_VAR()
      https://git.kernel.org/arm64/c/e5d51a665021
[3/6] tools include: Add some common function attributes
      https://git.kernel.org/arm64/c/51e6ac1fa451
[4/6] kselftest/arm64: Make the tools/include headers available
      https://git.kernel.org/arm64/c/35d7bc983a74
[5/6] kselftest/arm64: Use shared OPTIMZER_HIDE_VAR() definiton
      https://git.kernel.org/arm64/c/db7a89f706d6
[6/6] kselftest/arm64: Use the tools/include compiler.h rather than our own
      https://git.kernel.org/arm64/c/672dbf97f612

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list