]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon/qm - increase wait time for mailbox
authorWeili Qian <qianweili@huawei.com>
Sat, 17 Jan 2026 10:18:06 +0000 (18:18 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jan 2026 02:52:31 +0000 (10:52 +0800)
commit6d0de6014b98c5051bb3427e97db7c62d9454f89
treee773a8f37e9ddda3357098555385e17b077f577d
parent3296992ffc4362fff6e8fb979090b4638f50e066
crypto: hisilicon/qm - increase wait time for mailbox

The device requires more time to process queue stop and function stop
mailbox commands compared to other mailbox commands . In the current
driver, the mailbox processing wait time for queue stop and function
stop is less than the device timeout, which may cause the driver to
incorrectly assume that the mailbox processing has failed. Therefore,
the driver wait time for queue stop and function stop should be set to
be greater than the device timeout.  And PF and VF communication
relies on mailbox, the communication wait time should also be modified.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c