lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@huawei.com>
> ---
> drivers/crypto/hisilicon/qm.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

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

\
 
 \ /
  Last update: 2022-04-08 10:33    [W:0.258 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site