marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby CapJo » Mon Nov 02, 2015 2:28 pm

It seems there is a memory leak in the current driver implementation. It will be fixed in 4.4, but not yet in 4.3 and earlier..

crypto: marvell/cesa: fix memory leak

The local chain variable is not cleaned up if an error occurs in the middle
of DMA chain creation. Fix that by dropping the local chain variable and
using the dreq->chain field which will be cleaned up by
mv_cesa_dma_cleanup() in case of errors.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CapJo
 
Posts: 9
Joined: Tue Apr 14, 2015 10:21 pm

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby WarheadsSE » Mon Nov 02, 2015 2:33 pm

Do you maybe have a commit hash, or a patch link?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6427
Joined: Mon Oct 18, 2010 2:12 pm

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby moonman » Mon Nov 02, 2015 7:49 pm

FYI: cryptodev module doesn't compile on 4.3+
Pogoplug V4 | GoFlex Home | Raspberry Pi B 512 | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | |[armv5] How to install my.pogoplug.com service | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 2995
Joined: Sat Jan 15, 2011 3:36 am
Location: Calgary, Canada

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby CapJo » Tue Nov 10, 2015 2:34 pm

Sorry for the late reply:

Here is the patch link:

https://git.kernel.org/cgit/linux/kerne ... d7c9d75b54
CapJo
 
Posts: 9
Joined: Tue Apr 14, 2015 10:21 pm

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby Kabbone » Wed Nov 11, 2015 11:42 pm

There seems to be a problem with crypto again
Here the part of dmesg
Code: Select all
...
[   11.542658] marvell-cesa: probe of f1030000.crypto failed with error -22
...
Kabbone
 
Posts: 62
Joined: Thu Jul 25, 2013 9:20 am

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby CapJo » Thu Nov 12, 2015 10:38 am

FYI: cryptodev module doesn't compile on 4.3+


There is a patch on the mailing list, not yet in git.

https://mail.gna.org/public/cryptodev-l ... 00002.html

The git pull request for crypto in 4.4 contains 28 patches for marvell_cesa

http://lkml.iu.edu/hypermail/linux/kern ... 00383.html
CapJo
 
Posts: 9
Joined: Tue Apr 14, 2015 10:21 pm

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby Kabbone » Thu Nov 26, 2015 9:13 am

Kabbone wrote:There seems to be a problem with crypto again
Here the part of dmesg
Code: Select all
...
[   11.542658] marvell-cesa: probe of f1030000.crypto failed with error -22
...


Am I the only one with no more working marvell-cesa?
Kabbone
 
Posts: 62
Joined: Thu Jul 25, 2013 9:20 am

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby Guidobelix » Thu Nov 26, 2015 8:33 pm

Nope, you're not alone :(
Code: Select all
[   17.826704] marvell-cesa: probe of f1030000.crypto failed with error -22
Guidobelix
 
Posts: 45
Joined: Fri Jun 21, 2013 6:52 am

Re: marvell_cesa (mv_cesa) crypto issues in Linux 4.2 kernel

Postby Kabbone » Thu Feb 04, 2016 4:32 pm

with 4.4 everything is fixed again :)
Kabbone
 
Posts: 62
Joined: Thu Jul 25, 2013 9:20 am

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 1 guest