• Linus Torvalds's avatar
    Merge tag 'cxl-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl · 7acc1372
    Linus Torvalds authored
    Pull compute express link updates from Dan Williams:
     "DOE support is promoted from drivers/cxl/ to drivers/pci/ with Bjorn's
      blessing, and the CXL core continues to mature its media management
      capabilities with support for listing and injecting media errors. Some
      late fixes that missed v6.3-final are also included:
    
       - Refactor the DOE infrastructure (Data Object Exchange
         PCI-config-cycle mailbox) to be a facility of the PCI core rather
         than the CXL core.
    
         This is foundational for upcoming support for PCI
         device-attestation and PCIe / CXL link encryption.
    
       - Add support for retrieving and injecting poison for CXL memory
         expanders.
    
         This enabling uses trace-events to convey CXL media error records
         to user tooling. It includes translation of device-local addresses
         (DPA) to system physical addresses (SPA) and their corresponding
         CXL region.
    
       - Fixes for decoder enumeration that missed v6.3-final
    
       - Miscellaneous fixups"
    
    * tag 'cxl-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: (38 commits)
      cxl/test: Add mock test for set_timestamp
      cxl/mbox: Update CMD_RC_TABLE
      tools/testing/cxl: Require CONFIG_DEBUG_FS
      tools/testing/cxl: Add a sysfs attr to test poison inject limits
      tools/testing/cxl: Use injected poison for get poison list
      tools/testing/cxl: Mock the Clear Poison mailbox command
      tools/testing/cxl: Mock the Inject Poison mailbox command
      cxl/mem: Add debugfs attributes for poison inject and clear
      cxl/memdev: Trace inject and clear poison as cxl_poison events
      cxl/memdev: Warn of poison inject or clear to a mapped region
      cxl/memdev: Add support for the Clear Poison mailbox command
      cxl/memdev: Add support for the Inject Poison mailbox command
      tools/testing/cxl: Mock support for Get Poison List
      cxl/trace: Add an HPA to cxl_poison trace events
      cxl/region: Provide region info to the cxl_poison trace event
      cxl/memdev: Add trigger_poison_list sysfs attribute
      cxl/trace: Add TRACE support for CXL media-error records
      cxl/mbox: Add GET_POISON_LIST mailbox command
      cxl/mbox: Initialize the poison state
      cxl/mbox: Restrict poison cmds to debugfs cxl_raw_allow_all
      ...
    7acc1372