Re: [PATCH kselftest v2 4/4] selftests: vDSO: unconditionally build chacha test

2024-10-07 Thread Shuah Khan
On 10/5/24 22:40, Jason A. Donenfeld wrote: Rather than using symlinks to find the vgetrandom-chacha.S file for each arch, store this in a file that uses the compiler to determine architecture, and then make use of weak symbols to skip the test on architectures that don't provide the code. Signe

[PATCH kselftest v2 4/4] selftests: vDSO: unconditionally build chacha test

2024-10-05 Thread Jason A. Donenfeld
Rather than using symlinks to find the vgetrandom-chacha.S file for each arch, store this in a file that uses the compiler to determine architecture, and then make use of weak symbols to skip the test on architectures that don't provide the code. Signed-off-by: Jason A. Donenfeld --- tools/arch/