cdx: create sysfs bin files for cdx resources
authorAbhijit Gangurde <abhijit.gangurde@amd.com>
Fri, 22 Dec 2023 06:46:26 +0000 (12:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jan 2024 16:01:13 +0000 (17:01 +0100)
commitaeda33ab8160c7a2e24ba4f44492ad1e974ddc7d
treeaa2061ee2e834deba5c7f9bd1843296d0dc3a07c
parent6bafe07c930676d6430be471310958070816a595
cdx: create sysfs bin files for cdx resources

Resource binary file contains the content of the memory regions.
These resources<x> devices can be used to mmap the MMIO regions in
the user-space.

Co-developed-by: Puneet Gupta <puneet.gupta@amd.com>
Signed-off-by: Puneet Gupta <puneet.gupta@amd.com>
Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
Link: https://lore.kernel.org/r/20231222064627.2828960-1-abhijit.gangurde@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-cdx
drivers/cdx/cdx.c
include/linux/cdx/cdx_bus.h