]> Gentwo Git Trees - linux/.git/commit
crypto: hisilicon - qm updates BAR configuration
authorLongfang Liu <liulongfang@huawei.com>
Thu, 30 Oct 2025 01:57:43 +0000 (09:57 +0800)
committerAlex Williamson <alex@shazbot.org>
Wed, 5 Nov 2025 21:56:16 +0000 (14:56 -0700)
commit4868d2d52df6f724b01531843805a3b1322e2dd9
tree1f72a740f2ebaa995a2eeb86c535a4be45e302b4
parentabe7d636403b7cbdb8d2d5bab253cfe8087faa7a
crypto: hisilicon - qm updates BAR configuration

On new platforms greater than QM_HW_V3, the configuration region for the
live migration function of the accelerator device is no longer
placed in the VF, but is instead placed in the PF.

Therefore, the configuration region of the live migration function
needs to be opened when the QM driver is loaded. When the QM driver
is uninstalled, the driver needs to clear this configuration.

Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerkolothum@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/20251030015744.131771-2-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/crypto/hisilicon/qm.c
include/linux/hisi_acc_qm.h