Skip to content

drivers: crypto: caam: jr: Allow quiesce when quiesced

Taken from https://lore.kernel.org/linux-kernel/20230220105033.1449263-1-meenakshi.aggarwal@nxp.com/#t in hopes to fix the caam_jr issue happening sometimes after resume from system suspend and breaking all sorts of things:

Mar 08 22:08:34 evergreen kernel: Restarting tasks ... 
Mar 08 22:08:34 evergreen kernel: done.
Mar 08 22:08:34 evergreen kernel: PM: suspend exit
Mar 08 22:08:34 evergreen kernel: caam_jr 30903000.jr: 2000055b: CCB: desc idx 5: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:35 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:36 evergreen kernel: IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
Mar 08 22:08:36 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:36 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:37 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:37 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:38 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:38 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:39 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:39 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:08:41 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:08:51 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:01 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:11 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:22 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:32 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:42 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:09:42 evergreen kernel: caam_jr 30903000.jr: 2000055b: CCB: desc idx 5: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:44 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:48 evergreen kernel: report_ccb_status: 6 callbacks suppressed
Mar 08 22:09:48 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:48 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 2000175b: CCB: desc idx 23: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 2000175b: CCB: desc idx 23: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 2000175b: CCB: desc idx 23: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 2000175b: CCB: desc idx 23: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 20000b5b: CCB: desc idx 11: RNG: Hardware error
Mar 08 22:09:49 evergreen kernel: caam_jr 30903000.jr: 20000b5b: CCB: desc idx 11: RNG: Hardware error
Mar 08 22:09:50 evergreen kernel: caam_jr 30903000.jr: 20000b5b: CCB: desc idx 11: RNG: Hardware error
Mar 08 22:09:50 evergreen kernel: caam_jr 30903000.jr: 20000b5b: CCB: desc idx 11: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: report_ccb_status: 5 callbacks suppressed
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:54 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:55 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:09:55 evergreen kernel: caam_jr 30903000.jr: 2000115b: CCB: desc idx 17: RNG: Hardware error
Mar 08 22:10:03 evergreen kernel: report_ccb_status: 6 callbacks suppressed
Mar 08 22:10:03 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:10:13 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:10:23 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:10:33 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:10:44 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:10:54 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:04 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:14 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:25 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:35 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:45 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error
Mar 08 22:11:55 evergreen kernel: caam_jr 30902000.jr: 2000005b: CCB: desc idx 0: RNG: Hardware error

Merge request reports