mbox series

[v3,0/2] cxl: Move operations after memory is ready

Message ID 168444678631.3134781.16327910091008427181.stgit@djiang5-mobl3
Headers show
Series cxl: Move operations after memory is ready | expand

Message

Dave Jiang May 18, 2023, 9:54 p.m. UTC
v3:
- Really fix range indexing. (Ira)
- Allow pci_probe() to succeed. (Dan)
- Skip any media probing operations. (Dan)

v2:
- Check both ranges for memory ready (Ira)
- Drop last 2 patches from previous series. Move media wait to pci_probe()
  before mailbox operations. (Dan)
- Fix up fixes tags. (Dan)

This series contains fixes broken out from the QTG ID series. It augments
the Memory_Info_Valid check and move the relevant operations that needs to
happen after memory is valid behind the check.

---

Dave Jiang (2):
      cxl: Wait Memory_Info_Valid before access memory related info
      cxl: Move cxl_await_media_ready() to before capacity info retrieval


 drivers/cxl/core/mbox.c | 15 +++++---
 drivers/cxl/core/pci.c  | 85 ++++++++++++++++++++++++++++++++++++-----
 drivers/cxl/cxlmem.h    |  2 +
 drivers/cxl/cxlpci.h    |  2 +
 drivers/cxl/mem.c       |  3 +-
 drivers/cxl/pci.c       |  6 +++
 drivers/cxl/port.c      |  6 ---
 7 files changed, 98 insertions(+), 21 deletions(-)

--