umber-kernel/drivers/crypto/hisilicon
Chenghai Huang aaaa758294 crypto: hisilicon/qm - move the barrier before writing to the mailbox register
[ Upstream commit ebf35d8f9368816c930f5d70783a72716fab5e19 ]

Before sending the data via the mailbox to the hardware, to ensure
that the data accessed by the hardware is the most up-to-date,
a write barrier should be added before writing to the mailbox register.
The current memory barrier is placed after writing to the register,
the barrier order should be modified to be before writing to the register.

Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:19:42 -05:00
..
hpre crypto: hisilicon/hpre - support the hpre algorithm fallback 2026-02-26 14:59:03 -08:00
sec crypto: hisilicon/sec - Use int type to store negative error codes 2025-09-13 12:11:06 +08:00
sec2 crypto: hisilicon/sec2 - support skcipher/aead fallback for hardware queue unavailable 2026-02-26 14:59:03 -08:00
trng crypto: hisilicon/trng - support tfms sharing the device 2026-02-26 14:59:05 -08:00
zip crypto: hisilicon - consolidate qp creation and start in hisi_qm_alloc_qps_node 2026-02-26 14:59:03 -08:00
Kconfig crypto: hisilicon/zip - support fallback for zip 2026-02-26 14:59:03 -08:00
Makefile
debugfs.c crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs 2025-09-20 20:21:04 +08:00
qm.c crypto: hisilicon/qm - move the barrier before writing to the mailbox register 2026-03-04 07:19:42 -05:00
qm_common.h
sgl.c crypto: hisilicon/sgl - fix inconsistent map/unmap direction issue 2026-02-26 14:59:03 -08:00