Messages in this thread | | | Date | Tue, 3 Jan 2023 07:51:24 +0100 | From | Corentin Labbe <> | Subject | Re: [PATCH] crypto: sun8i-ss - Remove GFP_DMA and add DMA alignment padding |
| |
Le Thu, Dec 29, 2022 at 04:58:21PM +0800, Herbert Xu a écrit : > GFP_DMA does not guarantee that the returned memory is aligned > for DMA. In fact for sun8i-ss it is superfluous and can be removed. > > However, kmalloc may start returning DMA-unaligned memory in future > so fix this by adding the alignment by hand. > > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Hello
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com> Tested-on: sun8i-a83t-bananapi-m3 Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
This means that lot of other crypto driver (sun8i-ce, amlogic, etc...) I maintain need the same fix, right ?
Regards
| |