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>
Showing
- Documentation/ABI/testing/sysfs-bus-cdx 12 additions, 0 deletionsDocumentation/ABI/testing/sysfs-bus-cdx
- MAINTAINERS 7 additions, 0 deletionsMAINTAINERS
- drivers/Kconfig 2 additions, 0 deletionsdrivers/Kconfig
- drivers/Makefile 1 addition, 0 deletionsdrivers/Makefile
- drivers/cdx/Kconfig 17 additions, 0 deletionsdrivers/cdx/Kconfig
- drivers/cdx/Makefile 8 additions, 0 deletionsdrivers/cdx/Makefile
- drivers/cdx/cdx.c 408 additions, 0 deletionsdrivers/cdx/cdx.c
- drivers/cdx/cdx.h 62 additions, 0 deletionsdrivers/cdx/cdx.h
- include/linux/cdx/cdx_bus.h 147 additions, 0 deletionsinclude/linux/cdx/cdx_bus.h
- include/linux/mod_devicetable.h 15 additions, 0 deletionsinclude/linux/mod_devicetable.h
- scripts/mod/devicetable-offsets.c 4 additions, 0 deletionsscripts/mod/devicetable-offsets.c
- scripts/mod/file2alias.c 12 additions, 0 deletionsscripts/mod/file2alias.c
Loading
Please register or sign in to comment