All of lore.kernel.org
 help / color / mirror / Atom feed
* "BUG: scheduling while atomic" in atmel-aes on Linux v4.14-rc6
@ 2017-10-25 15:26 ` Romain Izard
  0 siblings, 0 replies; 36+ messages in thread
From: Romain Izard @ 2017-10-25 15:26 UTC (permalink / raw)
  To: linux-crypto, Stephan Mueller, Herbert Xu, Cyrille Pitchen,
	Tudor Ambarus
  Cc: Nicolas Ferre, linux-arm-kernel

Hello,

While running the kcapi test suite on a SAMA5D2 Xplained board with a
v4.14-rc6 kernel, I encountered the following error:

# kcapi -x 9 -e -c "cbc(aes)" -i 00000000000000000000000000000000 -k 00000000000
0000000000000000000000000000000000000 -p 1b077a6af4b7f98229de786d7516b639
BUG: scheduling while atomic: kcapi/926/0x00000100
CPU: 0 PID: 926 Comm: kcapi Not tainted 4.14.0-rc6 #2
Hardware name: Atmel SAMA5
[<c010caac>] (unwind_backtrace) from [<c010a9d8>] (show_stack+0x10/0x14)
[<c010a9d8>] (show_stack) from [<c013a914>] (__schedule_bug+0x60/0x80)
[<c013a914>] (__schedule_bug) from [<c074ac70>] (__schedule+0x368/0x3fc)
[<c074ac70>] (__schedule) from [<c074ad74>] (schedule+0x40/0xa0)
[<c074ad74>] (schedule) from [<c05cb96c>] (__lock_sock+0x78/0xb0)
[<c05cb96c>] (__lock_sock) from [<c05cddd0>] (lock_sock_nested+0x48/0x50)
[<c05cddd0>] (lock_sock_nested) from [<c030eec8>] (af_alg_async_cb+0x20/0x80)
[<c030eec8>] (af_alg_async_cb) from [<c0573b70>]
(atmel_aes_transfer_complete+0x38/0x68)
[<c0573b70>] (atmel_aes_transfer_complete) from [<c0121258>]
(tasklet_action+0x68/0xb4)
[<c0121258>] (tasklet_action) from [<c010158c>] (__do_softirq+0xc4/0x250)
[<c010158c>] (__do_softirq) from [<c01215f0>] (irq_exit+0xfc/0x130)
[<c01215f0>] (irq_exit) from [<c014a208>] (__handle_domain_irq+0x58/0xa8)
[<c014a208>] (__handle_domain_irq) from [<c010b60c>] (__irq_svc+0x6c/0x90)
[<c010b60c>] (__irq_svc) from [<c0310280>] (skcipher_recvmsg+0x2d8/0x318)
[<c0310280>] (skcipher_recvmsg) from [<c05c8794>] (sock_read_iter+0x88/0xc8)
[<c05c8794>] (sock_read_iter) from [<c01f1940>]
(aio_read.constprop.3+0xcc/0x178)
[<c01f1940>] (aio_read.constprop.3) from [<c01f2968>]
(SyS_io_submit+0x540/0x644)
[<c01f2968>] (SyS_io_submit) from [<c0107480>] (ret_fast_syscall+0x0/0x48)

After bisecting, I determined that it appeared during the 4.14 merge
window, with the following commit:

e870456d8e7c crypto: algif_skcipher - overhaul memory management


Best regards,
-- 
Romain Izard

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2017-11-25  0:18 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 15:26 "BUG: scheduling while atomic" in atmel-aes on Linux v4.14-rc6 Romain Izard
2017-10-25 15:26 ` Romain Izard
2017-10-25 15:59 ` Stephan Mueller
2017-10-25 15:59   ` Stephan Mueller
2017-10-29 20:39 ` [PATCH] crypto: AF_ALG - remove locking in async callback Stephan Müller
2017-10-29 20:39   ` Stephan Müller
2017-10-30 17:15   ` Romain Izard
2017-10-30 17:15     ` Romain Izard
2017-11-03 13:20   ` Herbert Xu
2017-11-03 13:20     ` Herbert Xu
2017-11-03 13:34     ` Stephan Mueller
2017-11-03 13:34       ` Stephan Mueller
2017-11-06 16:06     ` Stephan Mueller
2017-11-06 16:06       ` Stephan Mueller
2017-11-07  5:22       ` Herbert Xu
2017-11-07  5:22         ` Herbert Xu
2017-11-07  6:19         ` Stephan Müller
2017-11-07  6:19           ` Stephan Müller
2017-11-07  6:32           ` Herbert Xu
2017-11-07  6:32             ` Herbert Xu
2017-11-07  9:05             ` [PATCH v2] " Stephan Müller
2017-11-07  9:05               ` Stephan Müller
2017-11-10 11:10               ` Herbert Xu
2017-11-10 11:10                 ` Herbert Xu
2017-11-10 12:20                 ` [PATCH v3] " Stephan Müller
2017-11-10 12:20                   ` Stephan Müller
2017-11-10 16:50                   ` Romain Izard
2017-11-10 16:50                     ` Romain Izard
2017-11-24  7:37                   ` Herbert Xu
2017-11-24  7:37                     ` Herbert Xu
2017-11-24 16:04                     ` Stephan Mueller
2017-11-24 16:04                       ` Stephan Mueller
2017-11-24 17:37                       ` Jonathan Cameron
2017-11-24 17:37                         ` Jonathan Cameron
2017-11-25  0:17                       ` Herbert Xu
2017-11-25  0:17                         ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.