Skip to contentSkip to conversation

Driver hangs on Armada 385 device

crypto radioconfusion at gmail.com 2 participants 2 messages Jul 7, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

Quoted 8 lines · thomas.petazzoni at free-electronics.com

Hello,

Quoted 4 lines · radioconfusion at gmail.com

My Armada 385 -device hangs when using marvell-cesa -driver. I'm using Linux 4.4.10 and armada-385-db-ap.dts.
I have also tried with the driver version of Linux 4.7-rc3.

Quoted 5 lines
Quoted 1 line

Please see https://bugzilla.kernel.org/show_bug.cgi?id=120111 for details.

Can you try with
http://git.infradead.org/linux-mvebu.git/commitdiff/c5379ba8fccd99d5f99632c789f0393d84a57805
applied ?

Thanks Thomas.
Your patch seems to fix a random hang during crypto operations.

Unfortunately it seems to hit the crypto performance too. The command "cryptsetup benchmark --cipher aes-cbc" gives me around 35 MiB/s instead of 50 MiB/s.

The patch did not fix the hanging which appears instantly after enabling tdma in the driver and running some crypto operation.

Thanks,

Jussi

#1 lore raw

Hello,

Quoted 6 lines · radioconfusion at gmail.com
Quoted 6 lines · radioconfusion at gmail.com
Quoted 5 lines

My Armada 385 -device hangs when using marvell-cesa -driver. I'm using Linux 4.4.10 and armada-385-db-ap.dts.
I have also tried with the driver version of Linux 4.7-rc3.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Please see https://bugzilla.kernel.org/show_bug.cgi?id=120111 for details.

Can you try with
http://git.infradead.org/linux-mvebu.git/commitdiff/c5379ba8fccd99d5f99632c789f0393d84a57805
applied ?

Thanks Thomas.
Your patch seems to fix a random hang during crypto operations.

OK, great.

Quoted 6 lines

Unfortunately it seems to hit the crypto performance too. The command "cryptsetup benchmark --cipher aes-cbc" gives me around 35 MiB/s instead of 50 MiB/s.

The patch did not fix the hanging which appears instantly after enabling tdma in the driver and running some crypto operation.

I don't understand. Above you're saying that it fixes the problem, and now you're saying that it doesn't.

Could you test with the latest 4.7-rc kernel + the patch I provided?

(i.e, don't use 4.4 + your own backports, we have no idea which patches you have backported, and if the backport was done properly)

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com