[ppc64le] WARN at crypto/testmgr.c:5804

Sachin Sant sachinp at linux.ibm.com
Tue Oct 31 23:08:35 AEDT 2023


Following warning is observed during boot of latest -next
kernel (6.6.0-rc7-next-20231030 and todays -next) on IBM Power server.

[ 0.085775] workingset: timestamp_bits=38 max_order=20 bucket_order=0
[ 0.085801] zbud: loaded
[ 0.086473] ------------[ cut here ]------------
[ 0.086477] WARNING: CPU: 23 PID: 211 at crypto/testmgr.c:5804 alg_test.part.33+0x308/0x740
[ 0.086486] Modules linked in:
[ 0.086489] CPU: 23 PID: 211 Comm: cryptomgr_test Not tainted 6.6.0-rc7-next-20231030 #1
[ 0.086493] Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.20 (NH1030_058) hv:phyp pSeries
[ 0.086497] NIP: c000000000765068 LR: c000000000764ff4 CTR: c00000000075da00
[ 0.086500] REGS: c00000000ed7bb50 TRAP: 0700 Not tainted (6.6.0-rc7-next-20231030)
[ 0.086503] MSR: 8000000000029033 <SF,EE,ME,IR,DR,RI,LE> CR: 80000284 XER: 20040002
[ 0.086511] CFAR: c000000000765318 IRQMASK: 1 
GPR00: c000000000764ff4 c00000000ed7bdf0 c000000001482000 0000000000000002 
GPR04: c00000000ed7be60 000000000000000e 000000000000002f fffffffffffe0000 
GPR08: 0000ff000000ffff 0000000000000001 0000000000000008 0000000000000000 
GPR12: c00000000075da00 c000000aa7cec700 c00000000019da88 c000000006df9cc0 
GPR16: 0000000000000000 0000000000000000 c000000001309f98 0000000000000000 
GPR20: c000000001308d50 c000000001308d98 c000000000ffeaf0 c000000001309fb0 
GPR24: c000000000ffb330 c000000000ffdf30 0000000000000400 c000000019bfd480 
GPR28: 0000000000000002 c000000019bfd400 c000000002bcf633 000000000000000e 
[ 0.086547] NIP [c000000000765068] alg_test.part.33+0x308/0x740
[ 0.086552] LR [c000000000764ff4] alg_test.part.33+0x294/0x740
[ 0.086556] Call Trace:
[ 0.086557] [c00000000ed7bdf0] [c000000000764ff4] alg_test.part.33+0x294/0x740 (unreliable)
[ 0.086563] [c00000000ed7bf60] [c00000000075da34] cryptomgr_test+0x34/0x70
[ 0.086568] [c00000000ed7bf90] [c00000000019dbb8] kthread+0x138/0x140
[ 0.086573] [c00000000ed7bfe0] [c00000000000df98] start_kernel_thread+0x14/0x18
[ 0.086578] Code: fb210138 fb810150 3af76d20 3b80ffff 3a526d38 3a946d50 3ab56d98 3b380040 3ad837c0 2f9c0000 7d301026 5529f7fe <0b090000> 7f890034 5529d97e 419d03a4 
[ 0.086589] ---[ end trace 0000000000000000 ]---
[ 0.086592] testmgr: alg_test_descs entries in wrong order: 'pkcs1pad(rsa,sha512)' before 'pkcs1pad(rsa,sha3-256)’

Git bisect points to following patch:
commit ee62afb9d02dd279a7b73245614f13f8fe777a6d
    crypto: rsa-pkcs1pad - Add FIPS 202 SHA-3 support

- Sachin


More information about the Linuxppc-dev mailing list