Re: [PATCH] crypto:hisilicon - add device load query functionality to debugfs
From: Herbert Xu
Date: Sat Mar 21 2026 - 04:51:07 EST
On Fri, Mar 13, 2026 at 05:40:39PM +0800, ZongYu Wu wrote:
> From: Zongyu Wu <wuzongyu1@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> ---
> Documentation/ABI/testing/debugfs-hisi-hpre | 7 +++
> Documentation/ABI/testing/debugfs-hisi-sec | 7 +++
> Documentation/ABI/testing/debugfs-hisi-zip | 7 +++
> drivers/crypto/hisilicon/debugfs.c | 54 +++++++++++++++++++++
> drivers/crypto/hisilicon/hpre/hpre_main.c | 18 +++++++
> drivers/crypto/hisilicon/sec2/sec_main.c | 11 +++++
> drivers/crypto/hisilicon/zip/zip_main.c | 19 ++++++++
> include/linux/hisi_acc_qm.h | 12 +++++
> 8 files changed, 135 insertions(+)
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