[GIT PULL] Compute Express Link (CXL) Fix for 6.9-rc7
From: Dave Jiang
Date: Fri May 03 2024 - 12:22:05 EST
Hi Linus, please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-fixes-6.9-rc7
..to receive a fix for the CXL subsystem.
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.
This has build success notification from kbuild-robot. It has been in the -next
for several days with no reported issues.
---
The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:
Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-fixes-6.9-rc7
for you to fetch changes up to 5d211c7090590033581175d6405ae40917ca3a06:
cxl: Fix cxl_endpoint_get_perf_coordinate() support for RCH (2024-04-29 09:03:26 -0700)
----------------------------------------------------------------
cxl fix for v6.9-rc7
- Add missing RCH support for endpoint access_coordinate calculation
----------------------------------------------------------------
Dave Jiang (1):
cxl: Fix cxl_endpoint_get_perf_coordinate() support for RCH
drivers/cxl/core/port.c | 15 ++++++++++++++-
tools/testing/cxl/test/cxl.c | 7 +++++++
2 files changed, 21 insertions(+), 1 deletion(-)