public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] cdx: provide sysfs interface for cdx device resources
@ 2023-07-31 12:08 Abhijit Gangurde
  2023-07-31 12:08 ` [PATCH v2 1/4] cdx: Introduce lock to protect controller ops and controller list Abhijit Gangurde
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Abhijit Gangurde @ 2023-07-31 12:08 UTC (permalink / raw)
  To: gregkh, masahiroy, linux-kernel
  Cc: michal.simek, git, nikhil.agarwal, Nipun.Gupta, Abhijit Gangurde

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


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

end of thread, other threads:[~2023-08-04 11:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 12:08 [PATCH v2 0/4] cdx: provide sysfs interface for cdx device resources Abhijit Gangurde
2023-07-31 12:08 ` [PATCH v2 1/4] cdx: Introduce lock to protect controller ops and controller list Abhijit Gangurde
2023-07-31 12:24   ` Greg KH
2023-08-01  8:34     ` Gangurde, Abhijit
2023-08-01  8:40       ` Greg KH
2023-08-02 11:20         ` Gangurde, Abhijit
2023-08-02 11:49           ` Greg KH
2023-08-04 11:11             ` Gangurde, Abhijit
2023-07-31 12:08 ` [PATCH v2 2/4] cdx: add support for bus enable and disable Abhijit Gangurde
2023-07-31 12:08 ` [PATCH v2 3/4] cdx: add sysfs for bus reset Abhijit Gangurde
2023-07-31 12:08 ` [PATCH v2 4/4] cdx: add sysfs for subsystem, class and revision Abhijit Gangurde

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