mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-07 02:09:20 +00:00
Move cxl_await_media_ready() to cxl_pci probe before driver starts issuing
IDENTIFY and retrieving memory device information to ensure that the
device is ready to provide the information. Allow cxl_pci_probe() to succeed
even if media is not ready. Cache the media failure in cxlds and don't ask
the device for any media information.
The rationale for proceeding in the !media_ready case is to allow for
mailbox operations to interrogate and/or remediate the device. After
media is repaired then rebinding the cxl_pci driver is expected to
restart the capacity scan.
Suggested-by: Dan Williams <dan.j.williams@intel.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| test | ||
| config_check.c | ||
| cxl_acpi_test.c | ||
| cxl_core_test.c | ||
| cxl_mem_test.c | ||
| cxl_pmem_test.c | ||
| cxl_port_test.c | ||
| Kbuild | ||
| mock_acpi.c | ||
| watermark.h | ||