crypto: hisilicon/qm: Set the VF QM state register
authorLongfang Liu <liulongfang@huawei.com>
Tue, 8 Mar 2022 18:49:00 +0000 (18:49 +0000)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 15 Mar 2022 17:34:09 +0000 (11:34 -0600)
commit1e459b25081d4f939b8a1fb4c71dab0cec8f974a
tree015eecc968e0af452559aff3ff3304286612ecba
parent442fbc099b839551f8576723da22c1269cc695ce
crypto: hisilicon/qm: Set the VF QM state register

We use VF QM state register to record the status of the QM configuration
state. This will be used in the ACC migration driver to determine whether
we can safely save and restore the QM data.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Acked-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20220308184902.2242-8-shameerali.kolothum.thodi@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/crypto/hisilicon/qm.c
include/linux/hisi_acc_qm.h