[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yk/yyyENQWXRxjyK@gondor.apana.org.au>
Date: Fri, 8 Apr 2022 16:31:07 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Hui Tang <tanghui20@...wei.com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
wangzhou1@...ilicon.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: hisilicon/qm - optimize the barrier operation
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@...wei.com>
> ---
> drivers/crypto/hisilicon/qm.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Patch applied. 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