Re: [PATCH] crypto: hisilicon/qm - fix EQ/AEQ interrupt issue

From: Herbert Xu
Date: Fri Oct 20 2023 - 01:57:42 EST


On Fri, Oct 13, 2023 at 11:49:57AM +0800, Longfang Liu wrote:
> During hisilicon accelerator live migration operation. In order to
> prevent the problem of EQ/AEQ interrupt loss. Migration driver will
> trigger an EQ/AEQ doorbell at the end of the migration.
>
> This operation may cause double interruption of EQ/AEQ events.
> To ensure that the EQ/AEQ interrupt processing function is normal.
> The interrupt handling functionality of EQ/AEQ needs to be updated.
> Used to handle repeated interrupts event.
>
> Fixes: b0eed085903e ("hisi_acc_vfio_pci: Add support for VFIO live migration")
> Signed-off-by: Longfang Liu <liulongfang@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 105 +++++++++++++---------------------
> include/linux/hisi_acc_qm.h | 1 +
> 2 files changed, 41 insertions(+), 65 deletions(-)

Patch 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