linux/drivers/cxl
Davidlohr Bueso 92fcc1abab cxl/mbox: Improve handling of mbox_cmd hw return codes
Upon a completed command the caller is still expected to check
the actual return_code register to ensure it succeed. This
adds, per the spec, the potential command return codes. It maps
the hardware return code with the kernel's errno style, and by
default continues to use -ENXIO (Command completed, but device
reported an error).

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed by: Adam Manzanares <a.manzanares@samsung.com>
Link: https://lore.kernel.org/r/20220404021216.66841-4-dave@stgolabs.net
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2022-04-12 16:07:02 -07:00
..
core cxl/mbox: Improve handling of mbox_cmd hw return codes 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: Add the cxl_mem driver 2022-02-08 22:57:32 -08:00
pci.c cxl/mbox: Improve handling of mbox_cmd hw return codes 2022-04-12 16:07:02 -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