[PATCH v2 0/4] cdx: provide sysfs interface for cdx device resources

Abhijit Gangurde posted 4 patches 2 years, 6 months ago
There is a newer version of this series
Documentation/ABI/testing/sysfs-bus-cdx |  87 +++++++++++++
drivers/cdx/cdx.c                       | 156 +++++++++++++++++++++++-
drivers/cdx/cdx.h                       |   8 ++
drivers/cdx/controller/cdx_controller.c |  50 ++++++++
drivers/cdx/controller/mc_cdx_pcol.h    |  54 ++++++++
drivers/cdx/controller/mcdi_functions.c |  31 +++++
drivers/cdx/controller/mcdi_functions.h |  18 +++
include/linux/cdx/cdx_bus.h             |  39 +++++-
include/linux/mod_devicetable.h         |  10 ++
scripts/mod/devicetable-offsets.c       |   4 +
scripts/mod/file2alias.c                |   8 ++
11 files changed, 462 insertions(+), 3 deletions(-)
[PATCH v2 0/4] cdx: provide sysfs interface for cdx device resources
Posted by Abhijit Gangurde 2 years, 6 months ago
This patch series provides sysfs interface to
 - enable and disable of cdx bus
 - reset for all the devices on cdx bus
 - subsystem, class and revision for cdx device

Changes in v2:
 - Introduce lock to protect controller ops and controller list
 - Split sysfs entry enable to enable and disable
 - sysfs entry enable and disable take bus number as an argument
 - sysfs entry reset takes bus number as an argument

Abhijit Gangurde (4):
  cdx: Introduce lock to protect controller ops and controller list
  cdx: add support for bus enable and disable
  cdx: add sysfs for bus reset
  cdx: add sysfs for subsystem, class and revision

 Documentation/ABI/testing/sysfs-bus-cdx |  87 +++++++++++++
 drivers/cdx/cdx.c                       | 156 +++++++++++++++++++++++-
 drivers/cdx/cdx.h                       |   8 ++
 drivers/cdx/controller/cdx_controller.c |  50 ++++++++
 drivers/cdx/controller/mc_cdx_pcol.h    |  54 ++++++++
 drivers/cdx/controller/mcdi_functions.c |  31 +++++
 drivers/cdx/controller/mcdi_functions.h |  18 +++
 include/linux/cdx/cdx_bus.h             |  39 +++++-
 include/linux/mod_devicetable.h         |  10 ++
 scripts/mod/devicetable-offsets.c       |   4 +
 scripts/mod/file2alias.c                |   8 ++
 11 files changed, 462 insertions(+), 3 deletions(-)

-- 
2.25.1