[SOLVED] Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 04, 2024 05:13AM |
Registered: 6 years ago Posts: 50 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 12, 2024 02:19AM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
From: Mikulas Patocka
The driver drivers/crypto/marvell/cesa/cipher.c uses GFP_ATOMIC
allocations (see mv_cesa_skcipher_dma_req_init). So, it is not really safe
to use it for dm-crypt.
GFP_ATOMIC allocations may fail anytime (for example, they fill fail if
the machine receives too many network packets in a short timeframe and
runs temporarily out of memory). And when the GFP_ATOMIC allocation fails,
you get a write I/O error and data corruption.
It could be possible to change it to use GFP_NOIO allocations, then we
would risk deadlock instead of data corruption. The best thing would be to
convert the driver to use mempools.
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 12, 2024 02:41AM |
Registered: 6 years ago Posts: 50 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 23, 2024 04:09AM |
Registered: 9 years ago Posts: 52 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 23, 2024 06:53AM |
Registered: 9 months ago Posts: 1 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 23, 2024 12:48PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 25, 2024 05:44AM |
Registered: 6 years ago Posts: 50 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks February 26, 2024 01:21PM |
Registered: 6 years ago Posts: 50 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks March 01, 2024 04:28PM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
Updated 12 Oct 2019:
Kernel linux-5.3.5-mvebu-tld-1 package has been uploaded.
......
Download at Dropbox
linux-5.3.5-mvebu-tld-1-bodhi.tar.bz2 (This tarball was re-uploaded on 01 Mar 2024)
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks March 02, 2024 04:11AM |
Registered: 6 years ago Posts: 50 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks March 02, 2024 08:31PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Be aware, marvell_cesa no more used by dm_crypt because of potential deadlocks March 04, 2024 02:02PM |
Registered: 6 years ago Posts: 50 |