[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y66hXZHl+kqIivOl@gondor.apana.org.au>
Date: Fri, 30 Dec 2022 16:29:17 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Neal Liu <neal_liu@...eedtech.com>
Cc: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
"David S . Miller" <davem@...emloft.net>,
Chia-Wei Wang <chiawei_wang@...eedtech.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, Christoph Hellwig <hch@...radead.org>
Subject: Re: [PATCH v4 1/4] crypto: aspeed: Add ACRY RSA driver
On Wed, Dec 14, 2022 at 03:01:11PM +0800, Neal Liu wrote:
>
> +static u8 *aspeed_rsa_key_copy(u8 *src, size_t len)
> +{
> + return kmemdup(src, len, GFP_DMA | GFP_KERNEL);
Please explain why you are using GFP_DMA.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists