Centos-kernel-stream-9/drivers/cxl
John W. Linville 4cf1cc26e8 cxl/hdm: Add sysfs attributes for interleave ways + granularity
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2171891

The region provisioning flow involves selecting interleave ways +
granularity settings for a region, and then programming the decoder
topology to meet those constraints, if possible. For example, root
decoders set the minimum interleave ways + granularity for any hosted
regions.

Given decoder programming is not atomic and collisions can occur between
multiple requesting regions userspace will be responsible for conflict
resolution and it needs these attributes to make those decisions.

Signed-off-by: Ben Widawsky <bwidawsk@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/165784332235.1758207.7185062713652694607.stgit@dwillia2-xfh.jf.intel.com
[djbw: reword changelog, make read-only, add sysfs ABI documentaion]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit 538831f1beb818c93e5879bf19de37d89ec88ed6)
Signed-off-by: John W. Linville <linville@redhat.com>
2023-05-01 09:23:57 -04:00
..
core cxl/hdm: Add sysfs attributes for interleave ways + granularity 2023-05-01 09:23:57 -04:00
Kconfig cxl/pci: Create PCI DOE mailbox's for memory devices 2023-05-01 09:23:56 -04:00
Makefile PM: CXL: Disable suspend 2023-05-01 09:23:53 -04:00
acpi.c cxl/port: Record parent dport when adding ports 2023-05-01 09:23:57 -04:00
cxl.h cxl/port: Move dport tracking to an xarray 2023-05-01 09:23:57 -04:00
cxlmem.h cxl/hdm: Enumerate allocated DPA 2023-05-01 09:23:56 -04:00
cxlpci.h cxl/port: Read CDAT table 2023-05-01 09:23:56 -04:00
mem.c cxl/port: Record parent dport when adding ports 2023-05-01 09:23:57 -04:00
pci.c cxl/pci: Create PCI DOE mailbox's for memory devices 2023-05-01 09:23:56 -04:00
pmem.c cxl/pmem: Remove CXL SET_PARTITION_INFO from exclusive_cmds list 2023-05-01 09:23:52 -04:00
port.c cxl/port: Read CDAT table 2023-05-01 09:23:56 -04:00