]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: aes-gcm-p10 - Use the correct bit to test for P10
authorMichal Suchanek <msuchanek@suse.de>
Wed, 6 Nov 2024 12:09:33 +0000 (13:09 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Nov 2024 11:52:51 +0000 (19:52 +0800)
commit3574a5168ff3b6bddc4cd235878491f75967c8d4
tree082a9b362c2c1c37f5b26f0982c8706aa6503a6d
parent5465951e3f539aaff21823706d631b75407fb8d5
crypto: aes-gcm-p10 - Use the correct bit to test for P10

A hwcap feature bit is passed to cpu_has_feature, resulting in testing
for CPU_FTR_MMCRA instead of the 3.1 platform revision.

Fixes: c954b252dee9 ("crypto: powerpc/p10-aes-gcm - Register modules as SIMD")
Reported-by: Nicolai Stange <nstange@suse.com>
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/crypto/aes-gcm-p10-glue.c