From: Greg KH <gregkh@linuxfoundation.org>
To: Nipun Gupta <nipun.gupta@amd.com>
Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
rafael@kernel.org, eric.auger@redhat.com,
alex.williamson@redhat.com, cohuck@redhat.com,
song.bao.hua@hisilicon.com, mchehab+huawei@kernel.org,
maz@kernel.org, f.fainelli@gmail.com, jeffrey.l.hugo@gmail.com,
saravanak@google.com, Michael.Srba@seznam.cz, mani@kernel.org,
yishaih@nvidia.com, jgg@ziepe.ca, jgg@nvidia.com,
robin.murphy@arm.com, will@kernel.org, joro@8bytes.org,
masahiroy@kernel.org, ndesaulniers@google.com,
rdunlap@infradead.org, linux-arm-kernel@lists.infradead.org,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org, okaya@kernel.org,
harpreet.anand@amd.com, nikhil.agarwal@amd.com,
michal.simek@amd.com, pieter.jansen-van-vuuren@amd.com,
pablo.cascon@amd.com, git@amd.com
Subject: Re: [PATCH v9 1/7] cdx: add the cdx bus driver
Date: Thu, 9 Mar 2023 14:07:53 +0100 [thread overview]
Message-ID: <ZAnaKahHaVUXxlcw@kroah.com> (raw)
In-Reply-To: <20230307131917.30605-2-nipun.gupta@amd.com>
On Tue, Mar 07, 2023 at 06:49:11PM +0530, Nipun Gupta wrote:
> Introduce AMD CDX bus, which provides a mechanism for scanning
> and probing CDX devices. These devices are memory mapped on
> system bus for Application Processors(APUs).
>
> CDX devices can be changed dynamically in the Fabric and CDX
> bus interacts with CDX controller to rescan the bus and
> rediscover the devices.
>
> Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com>
> ---
> Documentation/ABI/testing/sysfs-bus-cdx | 12 +
> MAINTAINERS | 7 +
> drivers/Kconfig | 2 +
> drivers/Makefile | 1 +
> drivers/cdx/Kconfig | 17 +
> drivers/cdx/Makefile | 8 +
> drivers/cdx/cdx.c | 407 ++++++++++++++++++++++++
> drivers/cdx/cdx.h | 62 ++++
> include/linux/cdx/cdx_bus.h | 147 +++++++++
> include/linux/mod_devicetable.h | 15 +
> scripts/mod/devicetable-offsets.c | 4 +
> scripts/mod/file2alias.c | 12 +
> 12 files changed, 694 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-bus-cdx
> create mode 100644 drivers/cdx/Kconfig
> create mode 100644 drivers/cdx/Makefile
> create mode 100644 drivers/cdx/cdx.c
> create mode 100644 drivers/cdx/cdx.h
> create mode 100644 include/linux/cdx/cdx_bus.h
>
> diff --git a/Documentation/ABI/testing/sysfs-bus-cdx b/Documentation/ABI/testing/sysfs-bus-cdx
> new file mode 100644
> index 000000000000..063d1a0dd866
> --- /dev/null
> +++ b/Documentation/ABI/testing/sysfs-bus-cdx
> @@ -0,0 +1,12 @@
> +What: /sys/bus/cdx/rescan
> +Date: March 2023
> +Contact: nipun.gupta@amd.com
> +Description:
> + Writing a non-zero value to this file cause rescan of the bus
> + and devices on the CDX bus. Any new devices are scanned and
> + added to the list of Linux devices and any devices removed are
> + also deleted from Linux.
> +
> + For example::
> +
> + # echo 1 > /sys/bus/cdx/rescan
See my comments on patch 7/7 about "non-zero" not being a good idea.
thanks,
greg k-h
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-03-09 13:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-07 13:19 [PATCH v9 0/7] add support for CDX bus Nipun Gupta
2023-03-07 13:19 ` [PATCH v9 1/7] cdx: add the cdx bus driver Nipun Gupta
2023-03-09 13:07 ` Greg KH [this message]
2023-03-07 13:19 ` [PATCH v9 2/7] iommu: Support ops registration for CDX bus Nipun Gupta
2023-03-08 1:53 ` Baolu Lu
2023-03-07 13:19 ` [PATCH v9 3/7] dt-bindings: bus: add CDX bus controller for versal net Nipun Gupta
2023-03-07 13:19 ` [PATCH v9 4/7] cdx: add MCDI protocol interface for firmware interaction Nipun Gupta
2023-03-07 13:19 ` [PATCH v9 5/7] cdx: add cdx controller Nipun Gupta
2023-03-07 13:19 ` [PATCH v9 6/7] cdx: add rpmsg communication channel for CDX Nipun Gupta
2023-03-07 13:19 ` [PATCH v9 7/7] cdx: add device attributes Nipun Gupta
2023-03-09 13:03 ` Greg KH
2023-03-10 11:58 ` Nipun Gupta
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=ZAnaKahHaVUXxlcw@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=Michael.Srba@seznam.cz \
--cc=alex.williamson@redhat.com \
--cc=cohuck@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=eric.auger@redhat.com \
--cc=f.fainelli@gmail.com \
--cc=git@amd.com \
--cc=harpreet.anand@amd.com \
--cc=jeffrey.l.hugo@gmail.com \
--cc=jgg@nvidia.com \
--cc=jgg@ziepe.ca \
--cc=joro@8bytes.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=masahiroy@kernel.org \
--cc=maz@kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=michal.simek@amd.com \
--cc=ndesaulniers@google.com \
--cc=nikhil.agarwal@amd.com \
--cc=nipun.gupta@amd.com \
--cc=okaya@kernel.org \
--cc=pablo.cascon@amd.com \
--cc=pieter.jansen-van-vuuren@amd.com \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
--cc=saravanak@google.com \
--cc=song.bao.hua@hisilicon.com \
--cc=will@kernel.org \
--cc=yishaih@nvidia.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;
as well as URLs for NNTP newsgroup(s).