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

Weili Qian posted 2 patches 3 days, 12 hours ago
There is a newer version of this series
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(-)
[PATCH 0/2] uacce: add device usage sysfs interface
Posted by Weili Qian 3 days, 12 hours ago
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