linux/tools/include
Jason A. Donenfeld 210860e7f7 selftests: vDSO: check cpu caps before running chacha test
Some archs -- arm64 and s390x -- implemented chacha using instructions
that are available most places, but aren't always available. The kernel
handles this just fine, but the selftest does not. Check the hwcaps
before running, and skip the test if the cpu doesn't support it. As
well, on s390x, always emit the fallback instructions of an alternative
block, to ensure maximum compatibility.

Co-developed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2024-09-16 13:22:04 +02:00
..
asm selftests: vDSO: check cpu caps before running chacha test 2024-09-16 13:22:04 +02:00
asm-generic bitops: Change function return types from long to int 2024-05-03 17:04:50 +02:00
generated selftests: vDSO: don't include generated headers for chacha test 2024-09-13 17:28:36 +02:00
io_uring selftests/net: Extract uring helpers to be reusable 2023-10-19 16:42:03 -06:00
linux arm64: vDSO: Wire up getrandom() vDSO implementation 2024-09-13 17:28:36 +02:00
nolibc tools/nolibc: implement strerror() 2024-06-29 09:44:57 +02:00
perf KVM: selftests: aarch64: Update tools copy of arm_pmuv3.h 2023-12-12 09:46:22 +00:00
tools
trace/events
uapi tools/include: Sync filesystem headers with the kernel sources 2024-08-07 10:59:07 -07:00
vdso tools headers: Synchronize {linux,vdso}/bits.h with the kernel sources 2023-03-03 22:34:15 -03:00