]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: hisilicon/qm - allow VF devices to query hardware isolation status
authorZhushuai Yin <yinzhushuai@huawei.com>
Mon, 18 May 2026 14:29:51 +0000 (22:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 May 2026 05:54:43 +0000 (13:54 +0800)
commite054cdee673181622bc12f2b5049134ecbc2eeb1
tree076046dbfd6ea6ea7f894974448405adfdb5bb24
parent49e05bb00f2e8168695f7af4d694c39e1423e8a2
crypto: hisilicon/qm - allow VF devices to query hardware isolation status

The problem that the VF device cannot obtain the isolation
status and isolation threshold of the device is resolved.

The accelerator driver can query the device isolation status
and threshold via the VF device using the fault query sysfs
interface under uacce. Note that only the PF device supports
isolation policy configuration, while the VF device is
limited to read-only query operations.

Signed-off-by: Zhushuai Yin <yinzhushuai@huawei.com>
Signed-off-by: Zongyu Wu <wuzongyu1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/qm.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c
include/linux/hisi_acc_qm.h