Re: [PATCH] aes-gcm-p10: Use the correct bit to test for P10

2024-11-15 Thread Herbert Xu
On Wed, Nov 06, 2024 at 01:09:33PM +0100, Michal Suchanek wrote: > 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: Nico

Re: [PATCH] aes-gcm-p10: Use the correct bit to test for P10

2024-11-07 Thread Michael Ellerman
Michal Suchanek writes: > A hwcap feature bit is passed to cpu_has_feature, resulting in testing > for CPU_FTR_MMCRA instead of the 3.1 platform revision. Ouch. Good find. Notably all IBM Power CPUs have MMCRA set, so the feature test is essentially a nop. > Fixes: c954b252dee9 ("crypto: powerp

[PATCH] aes-gcm-p10: Use the correct bit to test for P10

2024-11-06 Thread Michal Suchanek
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 Signed-off-by: Michal Suchanek --- arch/powerpc/crypto/aes-gc