Re: [PATCH 0/6] crypto: hisilicon/qm - support function reset and VF isolation

From: Herbert Xu

Date: Fri May 29 2026 - 02:04:04 EST


On Mon, May 18, 2026 at 10:29:50PM +0800, ZongYu Wu wrote:
> 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

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt