Re: [PATCH] crypto: hisilicon/qm - optimize the barrier operation

From: Herbert Xu
Date: Fri Apr 08 2022 - 04:31:33 EST


On Wed, Mar 16, 2022 at 07:26:03PM +0800, Hui Tang wrote:
> A 'dma_wmb' barrier is enough to guarantee previous writes
> before accessing by acc device in the outer shareable domain.
>
> A 'smp_wmb' barrier is enough to guarantee previous writes
> before accessing by other cpus in the inner shareble domain.
>
> Signed-off-by: Hui Tang <tanghui20@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

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