Messages in this thread | | | Date | Fri, 8 Apr 2022 16:31:07 +0800 | From | Herbert Xu <> | 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@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
| |