cdx: add the cdx bus driver
authorNipun Gupta <nipun.gupta@amd.com>
Mon, 13 Mar 2023 13:26:30 +0000 (18:56 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 10:26:32 +0000 (12:26 +0200)
commit2959ab247061e67485d83b6af8feb3761ec08cb9
tree833d78510e724d5e12d96aa72fb9ce0409a030f5
parent71d74aaa15b49d2ea6927706ee2a7debc88fe3c2
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>
12 files changed:
Documentation/ABI/testing/sysfs-bus-cdx [new file with mode: 0644]
MAINTAINERS
drivers/Kconfig
drivers/Makefile
drivers/cdx/Kconfig [new file with mode: 0644]
drivers/cdx/Makefile [new file with mode: 0644]
drivers/cdx/cdx.c [new file with mode: 0644]
drivers/cdx/cdx.h [new file with mode: 0644]
include/linux/cdx/cdx_bus.h [new file with mode: 0644]
include/linux/mod_devicetable.h
scripts/mod/devicetable-offsets.c
scripts/mod/file2alias.c