The Compute Express Link code changes landed this weekend for the Linux 6.17 kernel with development continuing to be quite active around this subsystem for supporting latest and next-generation servers.
The CXL code within the Linux kernel continues to be cleaned up and further extended for supporting the various features provided by the CXL specification. In the Linux 6.17 kernel the CXL code adds new ACQUIRE and ACQUIRE_ERR macros to help clean-up some of their conditional locking code and also easing some of the coding pain points around CXL.
The Linux 6.17 CXL highlights include:
– 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
More details on the CXL changes for Linux 6.17 via this pull.