[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d354ab06-852a-41ed-b9de-0663e8efce5d@intel.com>
Date: Fri, 1 Aug 2025 10:34:52 -0700
From: Dave Jiang <dave.jiang@...el.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: "linux-cxl@...r.kernel.org" <linux-cxl@...r.kernel.org>,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Davidlohr Bueso <dave@...olabs.net>, Dan Williams
<dan.j.williams@...el.com>, Ira Weiny <ira.weiny@...el.com>,
Alison Schofield <alison.schofield@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] Compute Express Link (CXL) changes for 6.17
Hi Linus, please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-for-6.17
...to receive a collection of fixes and updates to the CXL subsystem.
The most significant changes in this pull request is the series that introduces
ACQUIRE() and ACQUIRE_ERR() macros to replace conditional locking and ease the
pain points of scoped_cond_guard(). The series also includes follow on changes
that refactor the CXL sub-system to utilize the new macros. There is a known
issue [1] that is observed with W=1 clang build. The issue can be addressed by a
a follow on fix during the 6.17 RC cycles.
The rest have all appeared in linux-next for a week or more with no reported issues.
[1]: https://lore.kernel.org/linux-cxl/aIo18KZpmKuR4hVZ@black.igk.intel.com/
---
The following changes since commit d0b3b7b22dfa1f4b515fd3a295b3fd958f9e81af:
Linux 6.16-rc4 (2025-06-29 13:09:04 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git tags/cxl-for-6.17
for you to fetch changes up to f11a5f89910a7ae970fbce4fdc02d86a8ba8570f:
Documentation/ABI/testing/debugfs-cxl: Add 'cxl' to clear_poison path (2025-07-25 10:26:27 -0700)
----------------------------------------------------------------
cxl for v6.17
- Add documentation template for CXL conventions to document CXL platform quirks
- Replace mutex_lock_io() with mutex_lock() for mailbox
- Add location limit for fake CFMWS range for cxl_test, ARM platform enabling
- CXL documentation typo and clarity fixes
- Use correct format specifier for function cxl_set_ecs_threshold()
- Make cxl_bus_type constant
- Introduce new helper cxl_resource_contains_addr() to check address availability
- Fix wrong DPA checking for PPR operation
- Remove core/acpi.c and CXL core dependency on ACPI
- Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks
- Add CXL updates utilizing ACQUIRE() macro to remove gotos and improve
readability
- Add return for the dummy version of cxl_decoder_detach() without CONFIG_CXL_REGION
- CXL events updates for spec r3.2
- Fix return of __cxl_decoder_detach() error path
- CXL debugfs documentation fix
----------------------------------------------------------------
Alison Schofield (2):
cxl/pci: Replace mutex_lock_io() w mutex_lock() for mailbox access
Documentation/ABI/testing/debugfs-cxl: Add 'cxl' to clear_poison path
Alok Tiwari (3):
Documentation: cxl: fix typos and improve clarity in memory-devices.rst
cxl: docs/devices Fix typos and clarify wording in device-types.rst
cxl/edac: Use correct format specifier for u32 val
Dan Carpenter (1):
cxl/region: Fix an ERR_PTR() vs NULL bug
Dan Williams (9):
Documentation/driver-api/cxl: Introduce conventions.rst
cxl/mbox: Convert poison list mutex to ACQUIRE()
cxl/decoder: Move decoder register programming to a helper
cxl/decoder: Drop pointless locking
cxl/region: Split commit_store() into __commit() and queue_reset() helpers
cxl/region: Move ready-to-probe state check to a helper
cxl/region: Consolidate cxl_decoder_kill_region() and cxl_region_detach()
cxl: Convert to ACQUIRE() for conditional rwsem locking
cleanup: Fix documentation build error for ACQUIRE updates
Dave Jiang (2):
Merge branch 'for-6.17/cxl-acquire' into cxl-for-next
Merge branch 'for-6.17/cxl-events-updates' into cxl-for-next
Greg Kroah-Hartman (1):
cxl: make cxl_bus_type constant
Jonathan Cameron (1):
cxl_test: Limit location for fake CFMWS to mappable range
Li Ming (3):
cxl/core: Introduce a new helper cxl_resource_contains_addr()
cxl/edac: Fix wrong dpa checking for PPR operation
cxl/core: Using cxl_resource_contains_addr() to check address availability
Li Zhijian (1):
cxl: Fix -Werror=return-type in cxl_decoder_detach()
Nai-Chen Cheng (1):
Documentation: fix typo in CXL driver documentation
Peter Zijlstra (1):
cleanup: Introduce ACQUIRE() and ACQUIRE_ERR() for conditional locks
Robert Richter (1):
cxl: Remove core/acpi.c and cxl core dependency on ACPI
Shiju Jose (4):
cxl/events: Update Common Event Record to CXL spec rev 3.2
cxl/events: Add extra validity checks for corrected memory error count in General Media Event Record
cxl/events: Add extra validity checks for CVME count in DRAM Event Record
cxl/events: Trace Memory Sparing Event Record
Documentation/ABI/testing/debugfs-cxl | 2 +-
Documentation/driver-api/cxl/conventions.rst | 47 ++
.../driver-api/cxl/devices/device-types.rst | 10 +-
Documentation/driver-api/cxl/index.rst | 1 +
Documentation/driver-api/cxl/linux/cxl-driver.rst | 2 +-
.../driver-api/cxl/theory-of-operation.rst | 12 +-
drivers/cxl/acpi.c | 59 +++
drivers/cxl/core/Makefile | 1 -
drivers/cxl/core/acpi.c | 11 -
drivers/cxl/core/cdat.c | 6 +-
drivers/cxl/core/core.h | 36 +-
drivers/cxl/core/edac.c | 55 ++-
drivers/cxl/core/hdm.c | 125 +++---
drivers/cxl/core/mbox.c | 37 +-
drivers/cxl/core/memdev.c | 52 +--
drivers/cxl/core/port.c | 29 +-
drivers/cxl/core/region.c | 486 +++++++++++----------
drivers/cxl/core/trace.h | 133 +++++-
drivers/cxl/cxl.h | 17 +-
drivers/cxl/cxlmem.h | 12 +-
drivers/cxl/pci.c | 2 +-
include/cxl/event.h | 37 +-
include/linux/cleanup.h | 94 +++-
include/linux/mutex.h | 2 +-
include/linux/rwsem.h | 3 +-
tools/testing/cxl/Kbuild | 1 -
tools/testing/cxl/config_check.c | 1 +
tools/testing/cxl/test/cxl.c | 7 +-
28 files changed, 827 insertions(+), 453 deletions(-)
create mode 100644 Documentation/driver-api/cxl/conventions.rst
delete mode 100644 drivers/cxl/core/acpi.c
Powered by blists - more mailing lists