linux/drivers/cxl
Robert Richter d3cdf4585f cxl/acpi: Warn about an invalid CHBCR in an existing CHBS entry
After parsing for a CHBCR in cxl_get_chbcr() the case of (ctx.chbcr ==
CXL_RESOURCE_NONE) is a slighly different error reason than the
!ctx.chbcr case. In the first case the CHBS was found but the CHBCR
was invalid or something else failed to determine it, while in the
latter case no CHBS entry exists at all.

Update the warning message to reflect this. The log messages for both
cases can be differentiated now and the reason for a failure can be
determined better.

Signed-off-by: Robert Richter <rrichter@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/167027170051.3542509.10494781536638424397.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-12-05 15:37:09 -08:00
..
core cxl/region: Fix spelling mistake "memergion" -> "memregion" 2022-12-05 12:33:20 -08:00
acpi.c cxl/acpi: Warn about an invalid CHBCR in an existing CHBS entry 2022-12-05 15:37:09 -08:00
cxl.h Merge branch 'for-6.2/cxl-xor' into for-6.2/cxl 2022-12-05 12:32:11 -08:00
cxlmem.h Merge branch 'for-6.2/cxl-aer' into for-6.2/cxl 2022-12-05 12:31:30 -08:00
cxlpci.h cxl/core/regs: Make cxl_map_{component, device}_regs() device generic 2022-12-03 13:40:16 -08:00
Kconfig cxl/region: Manage CPU caches relative to DPA invalidation events 2022-12-03 00:03:57 -08:00
Makefile cxl/pmem: Introduce nvdimm_security_ops with ->get_flags() operation 2022-11-30 16:30:47 -08:00
mem.c cxl/port: Add RCD endpoint port enumeration 2022-12-05 10:32:26 -08:00
pci.c Merge branch 'for-6.2/cxl-aer' into for-6.2/cxl 2022-12-05 12:31:30 -08:00
pmem.c Merge branch 'for-6.2/cxl-security' into for-6.2/cxl 2022-12-05 12:30:38 -08:00
port.c cxl/port: Read CDAT table 2022-07-19 15:38:05 -07:00
security.c cxl/region: Manage CPU caches relative to DPA invalidation events 2022-12-03 00:03:57 -08:00