Merge tag 'cxl-fixes-6.9-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlmaster
commit7367539ad4b0f8f9b396baf02110962333719a48
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 May 2024 23:21:05 +0000 (3 16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 May 2024 23:21:05 +0000 (3 16:21 -0700)
treed0cdada641cf176f05c409f74a23899c2151a709
parentddb4c3f25b7b95df3d6932db0b379d768a6ebdf7
parent5d211c7090590033581175d6405ae40917ca3a06
Merge tag 'cxl-fixes-6.9-rc7' of git://git./linux/kernel/git/cxl/cxl

Pull cxl fix from Dave Jiang:
 "Add missing RCH support for endpoint access_coordinate calculation.

  A late bug was reported by Robert Richter that the Restricted CXL Host
  (RCH) support was missing in the CXL endpoint access_coordinate
  calculation.

  The missing support causes the topology iterator to stumble over a
  NULL pointer and triggers a kernel OOPS on a platform with CXL 1.1
  support.

  The fix bypasses RCH topology as the access_coordinate calculation is
  not necessary since RCH does not support hotplug and the memory region
  exported should be covered by the HMAT table already.

  A unit test is also added to cxl_test to check against future
  regressions on the topology iterator"

* tag 'cxl-fixes-6.9-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl:
  cxl: Fix cxl_endpoint_get_perf_coordinate() support for RCH