News: 0001566296

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Compute Express Link Code Further Cleaned Up In Linux 6.17

([Hardware] 6 Hours Ago CXL)


The [1]Compute Express Link code changes landed this weekend for the [2]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 [3]this pull .



[1] https://www.phoronix.com/search/Compute+Express+Link

[2] https://www.phoronix.com/search/Linux+6.17

[3] https://lore.kernel.org/lkml/d354ab06-852a-41ed-b9de-0663e8efce5d@intel.com/



phoronix

In the future, you're going to get computers as prizes in breakfast cereals.
You'll throw them out because your house will be littered with them.
-- Robert Lucky