[PATCH 0/2] uacce: add device usage sysfs interface

From: Weili Qian

Date: Mon Sep 21 2026 - 03:53:06 EST


Add a read-only dev_usage sysfs attribute so userspace can query device
usage through sysfs. Patch 1 adds the attribute and the get_dev_usage
callback to the UACCE framework; patch 2 implements the callback in the
HiSilicon QM driver.

Weili Qian (2):
uacce: add device usage sysfs interface
crypto: hisilicon/qm - implement uacce get_dev_usage callback

Documentation/ABI/testing/sysfs-driver-uacce | 9 ++++
drivers/crypto/hisilicon/debugfs.c | 17 -------
drivers/crypto/hisilicon/qm.c | 52 ++++++++++++++++++++
drivers/crypto/hisilicon/qm_common.h | 1 +
drivers/misc/uacce/uacce.c | 19 +++++++
include/linux/uacce.h | 5 ++
6 files changed, 86 insertions(+), 17 deletions(-)

--
2.43.0