]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: hisilicon - add device load query functionality to debugfs
authorZongyu Wu <wuzongyu1@huawei.com>
Fri, 13 Mar 2026 09:40:39 +0000 (17:40 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 22 Mar 2026 02:17:59 +0000 (11:17 +0900)
commitb44c7129f1e3cd0e6233c7cb2d88f917d92f213d
tree625ac7dff1be5983690cf5646ad2528619e57fe7
parent3414c809777e37855063347f5fbd23ff03e1c9fb
crypto: hisilicon - add device load query functionality to debugfs

The accelerator device supports usage statistics. This patch enables
obtaining the accelerator's usage through the "dev_usage" file.
The returned number expressed as a percentage as a percentage.

Signed-off-by: Zongyu Wu <wuzongyu1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/ABI/testing/debugfs-hisi-hpre
Documentation/ABI/testing/debugfs-hisi-sec
Documentation/ABI/testing/debugfs-hisi-zip
drivers/crypto/hisilicon/debugfs.c
drivers/crypto/hisilicon/hpre/hpre_main.c
drivers/crypto/hisilicon/sec2/sec_main.c
drivers/crypto/hisilicon/zip/zip_main.c
include/linux/hisi_acc_qm.h