From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Fri, 5 Feb 2016 10:02:46 +0100 Subject: marvell_cesa fails to register on kirkwood (88F6282) In-Reply-To: References: Message-ID: <20160205090246.GE32272@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Feb 05, 2016 at 06:01:18AM +0100, JM wrote: > Hi, > > I am testing marvell_cesa on a kirkwood device (QNAP TS-212p, Marvell > Kirkwood 88F6282, dts: http://pastebin.com/Gk95KFHf ). > As of kernel 4.4 (4.4.0-trunk-kirkwood #1 Debian 4.4-1~exp1) it fails > in the following way: > > modprobe marvell_cesa allhwsupport=1 > dmesg | tail -n 1 > [ 1057.855091] marvell-cesa: probe of f1030000.crypto failed with error -12 > > or: > > modprobe marvell_cesa > dmesg | tail -n 1 > [ 9178.399357] marvell-cesa: probe of f1030000.crypto failed with error -524 > > With kernel 4.3 it would fail with error -22 on that hardware. There > are scattered reports from other users experiencing the same issue > (1,2,3) > > I wonder if this is a result of an invalid definition of the > crypto-sram in the dts of this SoC, or perhaps some other problem > (PEBKAC included). Hi Jan Do you have SRAM enabled in your kernel configuration. The mvebu_v5_defconfig does not have it, which is a bug really. Andrew