Re: [PATCH 1/7] crypto: hisilicon/qm - obtain the mailbox configuration at one time

From: Herbert Xu
Date: Fri Aug 04 2023 - 04:26:48 EST


On Sat, Jul 29, 2023 at 08:52:33PM +0800, Weili Qian wrote:
> The mailbox configuration(128 bits) needs to be obtained from the
> hardware at one time. If the mailbox configuration is obtained for
> multiple times, the read value may be incorrect. Use the instruction
> to read mailbox data instead of readl().
>
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>

Your patch description makes no sense to me. Please explain more
clearly why you're replacing generic IO primitives with hand-rolled
assembly.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt