Bug 107281

Summary: Failed to load sun4i-ss: probe of 1c15000.crypto-engine failed with error -22
Product: Platform Specific/Hardware Reporter: Christoph Biedl (bugzilla.kernel.bpeb)
Component: ARMAssignee: linux-arm-kernel (linux-arm-kernel)
Status: NEW ---    
Severity: normal CC: clabbe.montjoie, florian
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.3 Subsystem:
Regression: No Bisected commit-id:

Description Christoph Biedl 2015-11-05 07:41:39 UTC
The summary basically says it all: On two different Allwinner A20
based models (Cubietruck and BananaPi), loading the new "security
system" fail. According to http://sunxi.montjoie.ovh/, these systems
are supposed to be supported.

dmesg log:

| sun4i-ss 1c15000.crypto-engine: no reset control found
| sun4i-ss 1c15000.crypto-engine: Die ID 0
| sun4i-ss 1c15000.crypto-engine: Fail to register md5
| sun4i-ss: probe of 1c15000.crypto-engine failed with error -22

This happened both to me and a friend who uses completely different
kernel options. Therefore I suspect there's either still a bug in the
code, or it relies on a certain kernel configuration variable without
enforcing it.

Sorry if this is a bit vague, I don't know better for myself.

(CC'ing clabbe.montjoie@gmail.com failed)
Comment 1 LABBE Corentin 2015-11-17 07:22:49 UTC
The patch solving this issue could be found at https://lkml.org/lkml/2015/11/16/46