mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
210860e7f7
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> |
||
---|---|---|
.. | ||
alternative.h | ||
atomic.h | ||
barrier.h | ||
bug.h | ||
export.h | ||
rwonce.h | ||
sections.h |