From mboxrd@z Thu Jan 1 00:00:00 1970 From: boris.brezillon@free-electrons.com (Boris Brezillon) Date: Fri, 5 Feb 2016 17:02:40 +0100 Subject: marvell_cesa fails to register on kirkwood (88F6282) In-Reply-To: References: Message-ID: <20160205170240.3e0dc1fd@bbrezillon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 5 Feb 2016 13:58:23 -0200 Fabio Estevam wrote: > On Fri, Feb 5, 2016 at 3:01 AM, 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 > > It seems like this is the similar issue I saw with the sahara driver. > > Could you try a fix like this? > http://www.spinics.net/lists/linux-crypto/msg18393.html Hm, this should be fixed in 4.4, and Jan reports an ENOMEM error not EINVAL (note that getting ENOTSUPP if allhwsupport is not set to 1 is expected). -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com