Commit 39014ae9 authored by JiangShui Yang's avatar JiangShui Yang Committed by JiangShui
Browse files

crypto: hisilicon/qm - increase the maximum waiting timeout interval of the moilbox.

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LFYK


CVE: NA

----------------------------------------------------------------------

In the case of high concurrency of multiple threads, the bus is easily
congested when accelerator tasks are running, which prolongs the time
required for mailbox operations. Increase the maximum time for
the driver to wait for the mailbox operation to complete.

Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent 97feb389
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
#define QM_MB_CMD_DATA_SHIFT		32
#define QM_MB_CMD_DATA_MASK		GENMASK(31, 0)
#define QM_MB_STATUS_MASK		GENMASK(12, 9)
#define QM_MB_MAX_WAIT_CNT		6000
#define QM_MB_MAX_WAIT_CNT		20000
#define QM_MB_WAIT_READY_CNT		10

/* sqc shift */