mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] uacce: add device usage sysfs interface
@ 2026-09-21  7:51 Weili Qian
  2026-09-21  7:51 ` [PATCH 1/2] " Weili Qian
  2026-09-21  7:51 ` [PATCH 2/2] crypto: hisilicon/qm - implement uacce get_dev_usage callback Weili Qian
  0 siblings, 2 replies; 9+ messages in thread
From: Weili Qian @ 2026-09-21  7:51 UTC (permalink / raw)
  To: gregkh, --to=herbert, --to=zhangfei.gao, --to=wangzhou1,
	--cc=linux-crypto
  Cc: linux-kernel, --cc=huangchenghai2, --cc=liulongfang

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-22 13:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  7:51 [PATCH 0/2] uacce: add device usage sysfs interface Weili Qian
2026-09-21  7:51 ` [PATCH 1/2] " Weili Qian
2026-09-21  8:12   ` Greg KH
2026-09-22  9:11     ` qianweili
2026-09-22  9:21       ` Greg KH
2026-09-22 11:57         ` Weili Qian
2026-09-22 12:13           ` Greg KH
2026-09-22 13:11             ` Weili Qian
2026-09-21  7:51 ` [PATCH 2/2] crypto: hisilicon/qm - implement uacce get_dev_usage callback Weili Qian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®