[GIT,PULL] Compute Express Link (CXL) Fixes for 6.4-rc4

Message ID 64714d92a5ba8_1ec11294c6@dwillia2-mobl3.amr.corp.intel.com.notmuch
State New
Headers
Series [GIT,PULL] Compute Express Link (CXL) Fixes for 6.4-rc4 |

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl tags/cxl-fixes-6.4-rc4

Message

Dan Williams May 27, 2023, 12:23 a.m. UTC
  Hi Linus, please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl tags/cxl-fixes-6.4-rc4

...to receive a small collection of CXL fixes. The "media ready" series
prevents the driver from acting on bad capacity information, and it
moves some checks earlier in the init sequence which impacts topics in
the queue for 6.5. Additional hotplug testing uncovered a missing enable
for memory decode. A debug crash fix is also included.

All but the last patch has appeared in -next with no issues. That last
patch improves the readability of the fix and is low risk.

---

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

  Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl tags/cxl-fixes-6.4-rc4

for you to fetch changes up to 793a539ac78843ef9378bb42a44edfbc552a67d5:

  cxl: Explicitly initialize resources when media is not ready (2023-05-26 13:34:39 -0700)

----------------------------------------------------------------
cxl fixes for v6.4-rc4

- Stop trusting capacity data before the "media ready" indication

- Add missing HDM decoder capability enable for the cold-plug case

- Fix a debug message induced crash

----------------------------------------------------------------
Dan Williams (1):
      cxl/port: Enable the HDM decoder capability for switch ports

Dave Jiang (3):
      cxl: Wait Memory_Info_Valid before access memory related info
      cxl: Move cxl_await_media_ready() to before capacity info retrieval
      cxl: Explicitly initialize resources when media is not ready

Robert Richter (1):
      cxl/port: Fix NULL pointer access in devm_cxl_add_port()

 drivers/cxl/core/mbox.c       |  12 ++++-
 drivers/cxl/core/pci.c        | 112 +++++++++++++++++++++++++++++++++++++-----
 drivers/cxl/core/port.c       |   7 ++-
 drivers/cxl/cxl.h             |   1 +
 drivers/cxl/cxlmem.h          |   2 +
 drivers/cxl/cxlpci.h          |   2 +
 drivers/cxl/mem.c             |   3 ++
 drivers/cxl/pci.c             |   6 +++
 drivers/cxl/port.c            |  20 ++++----
 tools/testing/cxl/Kbuild      |   1 +
 tools/testing/cxl/test/mem.c  |   1 +
 tools/testing/cxl/test/mock.c |  15 ++++++
 12 files changed, 153 insertions(+), 29 deletions(-)