From: Abhijit Gangurde <abhijit.gangurde@amd.com>
To: <gregkh@linuxfoundation.org>, <masahiroy@kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <michal.simek@amd.com>, <git@amd.com>, <nikhil.agarwal@amd.com>,
<Nipun.Gupta@amd.com>,
Abhijit Gangurde <abhijit.gangurde@amd.com>
Subject: [PATCH v2 0/4] cdx: provide sysfs interface for cdx device resources
Date: Mon, 31 Jul 2023 17:38:09 +0530 [thread overview]
Message-ID: <20230731120813.123247-1-abhijit.gangurde@amd.com> (raw)
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
next reply other threads:[~2023-07-31 12:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 12:08 Abhijit Gangurde [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230731120813.123247-1-abhijit.gangurde@amd.com \
--to=abhijit.gangurde@amd.com \
--cc=Nipun.Gupta@amd.com \
--cc=git@amd.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.simek@amd.com \
--cc=nikhil.agarwal@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®