Re: [PATCH 01/16] dmaengine: idxd: add wq driver name support for accel-config user tool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Tom,

On 3/6/23 10:52, Tom Zanussi wrote:
From: Dave Jiang <dave.jiang@xxxxxxxxx>

With the possibility of multiple wq drivers that can be bound to the wq,
the user config tool accel-config needs a way to know which wq driver to
bind to the wq. Introduce per wq driver_name sysfs attribute where the user
can indicate the driver to be bound to the wq. This allows accel-config to
just bind to the driver using wq->driver_name.

Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx>
Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>
---
  .../ABI/stable/sysfs-driver-dma-idxd          |  6 ++++
  drivers/dma/idxd/cdev.c                       |  8 ++++++
  drivers/dma/idxd/dma.c                        |  6 ++++
  drivers/dma/idxd/idxd.h                       |  7 +++++
  drivers/dma/idxd/sysfs.c                      | 28 +++++++++++++++++++
  include/uapi/linux/idxd.h                     |  1 +
  6 files changed, 56 insertions(+)

diff --git a/Documentation/ABI/stable/sysfs-driver-dma-idxd b/Documentation/ABI/stable/sysfs-driver-dma-idxd
index 3becc9a82bdf..e9a37e064193 100644
--- a/Documentation/ABI/stable/sysfs-driver-dma-idxd
+++ b/Documentation/ABI/stable/sysfs-driver-dma-idxd
@@ -244,6 +244,12 @@ Description:	Shows the operation capability bits displayed in bitmap format
  		correlates to the operations allowed. It's visible only
  		on platforms that support the capability.
+What: /sys/bus/dsa/devices/wq<m>.<n>/driver_name
+Date:		Feb 23, 2023
+KernelVersion:	6.3.0

Need to change to 6.4.0. This series won't be in 6.3.0.

+Contact:	dmaengine@xxxxxxxxxxxxxxx
+Description:	Name of driver to be bounded to the wq.
+

Thanks.

-Fenghua



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux