linux/drivers/cxl
Dan Williams fbaf2b079d cxl/mem: Make cxl_dvsec_range() init failure fatal
In preparation for the cxl_pci driver to continue operation after
cxl_dvsec_range() failure, update cxl_mem to check for negative error
codes in info->ranges. Treat that condition as fatal regardless of the
state of the HDM configuration since cxl_mem needs positive confirmation
that legacy ranges were not established by platform firmware or another
agent.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com.
Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/164730735324.3806189.4167509857771192422.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-04-12 19:11:58 -07:00
..
core cxl/mbox: Use new return_code handling 2022-04-12 16:07:02 -07:00
acpi.c cxl/core/port: Fix / relax decoder target enumeration 2022-02-08 23:15:10 -08:00
cxl.h cxl/core/port: Add endpoint decoders 2022-02-08 22:57:32 -08:00
cxlmem.h cxl/mbox: Improve handling of mbox_cmd hw return codes 2022-04-12 16:07:02 -07:00
cxlpci.h cxl/pci: Retrieve CXL DVSEC memory info 2022-02-08 22:57:31 -08:00
Kconfig cxl/mem: Add the cxl_mem driver 2022-02-08 22:57:32 -08:00
Makefile cxl/mem: Add the cxl_mem driver 2022-02-08 22:57:32 -08:00
mem.c cxl/mem: Make cxl_dvsec_range() init failure fatal 2022-04-12 19:11:58 -07:00
pci.c cxl/pci: Add debug for DVSEC range init failures 2022-04-12 19:11:58 -07:00
pmem.c cxl/pmem: Remove CXL SET_PARTITION_INFO from exclusive_cmds list 2022-04-12 16:07:01 -07:00
port.c cxl/core/port: Add endpoint decoders 2022-02-08 22:57:32 -08:00