aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-cdx
diff options
context:
space:
mode:
authorGravatar Nipun Gupta <nipun.gupta@amd.com> 2023-03-13 18:56:30 +0530
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2023-03-29 12:26:32 +0200
commit2959ab247061e67485d83b6af8feb3761ec08cb9 (patch)
tree833d78510e724d5e12d96aa72fb9ce0409a030f5 /Documentation/ABI/testing/sysfs-bus-cdx
parentmisc: alcor_pci: remove unused alcor functions (diff)
downloadlinux-2959ab247061e67485d83b6af8feb3761ec08cb9.tar.gz
linux-2959ab247061e67485d83b6af8feb3761ec08cb9.tar.bz2
linux-2959ab247061e67485d83b6af8feb3761ec08cb9.zip
cdx: add the cdx bus driver
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> Link: https://lore.kernel.org/r/20230313132636.31850-2-nipun.gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-cdx')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-cdx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-cdx b/Documentation/ABI/testing/sysfs-bus-cdx
new file mode 100644
index 000000000000..43b4e161f226
--- /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 y/1/on to this file will 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