This patch set adds function reset and function isolation capabilities,
and fixes issues related to reset operations.
1.Currently, the device only supports global reset when an error occurs.
However, some errors only affect a single function's operation without
affecting other functions. Therefore, the PF can notify the VF driver
to perform a reset, rather than using a global reset that affects all
task.
2.When device reset fails or the reset frequency exceeds the
user-configured threshold, the device on the physical machine will
be isolated. Add functionality for devices in virtual machines to
obtain the isolation status of the PF.
3.Support for doorbell enable control, which disables doorbell before
reset and enables doorbell after device initialization.
Weili Qian (2):
crypto: hisilicon/qm - disable error report before flr
crypto: hisilicon - mask all error type when removing driver
Zhushuai Yin (3):
crypto: hisilicon/qm - allow VF devices to query hardware isolation
status
crypto: hisilicon/qm - place the interrupt status interface after the
PM usage counter
crypto: hisilicon/qm - support function-level error reset
Zongyu Wu (1):
crypto: hisilicon/qm - support doorbell enable control
drivers/crypto/hisilicon/hpre/hpre_main.c | 19 +-
drivers/crypto/hisilicon/qm.c | 334 ++++++++++++++++++----
drivers/crypto/hisilicon/sec2/sec_main.c | 13 +-
drivers/crypto/hisilicon/zip/zip_main.c | 20 +-
include/linux/hisi_acc_qm.h | 15 +-
5 files changed, 308 insertions(+), 93 deletions(-)
--
2.33.0