~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/debugfs-cxl

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/debugfs-cxl (Version linux-6.12-rc7) and /Documentation/ABI/testing/debugfs-cxl (Version linux-6.10.14)


  1 What:           /sys/kernel/debug/cxl/memX/inj      1 What:           /sys/kernel/debug/cxl/memX/inject_poison
  2 Date:           April, 2023                         2 Date:           April, 2023
  3 KernelVersion:  v6.4                                3 KernelVersion:  v6.4
  4 Contact:        linux-cxl@vger.kernel.org           4 Contact:        linux-cxl@vger.kernel.org
  5 Description:                                        5 Description:
  6                 (WO) When a Device Physical Ad      6                 (WO) When a Device Physical Address (DPA) is written to this
  7                 attribute, the memdev driver s      7                 attribute, the memdev driver sends an inject poison command to
  8                 the device for the specified a      8                 the device for the specified address. The DPA must be 64-byte
  9                 aligned and the length of the       9                 aligned and the length of the injected poison is 64-bytes. If
 10                 successful, the device returns     10                 successful, the device returns poison when the address is
 11                 accessed through the CXL.mem b     11                 accessed through the CXL.mem bus. Injecting poison adds the
 12                 address to the device's Poison     12                 address to the device's Poison List and the error source is set
 13                 to Injected. In addition, the      13                 to Injected. In addition, the device adds a poison creation
 14                 event to its internal Informat     14                 event to its internal Informational Event log, updates the
 15                 Event Status register, and if      15                 Event Status register, and if configured, interrupts the host.
 16                 It is not an error to inject p     16                 It is not an error to inject poison into an address that
 17                 already has poison present and !!  17                 already has poison present and no error is returned. The
 18                 device returns 'Inject Poison  !!  18                 inject_poison attribute is only visible for devices supporting
 19                 is returned to the user. The i !!  19                 the capability.
 20                 visible for devices supporting << 
 21                                                    20 
 22                                                    21 
 23 What:           /sys/kernel/debug/memX/clear_p     22 What:           /sys/kernel/debug/memX/clear_poison
 24 Date:           April, 2023                        23 Date:           April, 2023
 25 KernelVersion:  v6.4                               24 KernelVersion:  v6.4
 26 Contact:        linux-cxl@vger.kernel.org          25 Contact:        linux-cxl@vger.kernel.org
 27 Description:                                       26 Description:
 28                 (WO) When a Device Physical Ad     27                 (WO) When a Device Physical Address (DPA) is written to this
 29                 attribute, the memdev driver s     28                 attribute, the memdev driver sends a clear poison command to
 30                 the device for the specified a     29                 the device for the specified address. Clearing poison removes
 31                 the address from the device's      30                 the address from the device's Poison List and writes 0 (zero)
 32                 for 64 bytes starting at addre     31                 for 64 bytes starting at address. It is not an error to clear
 33                 poison from an address that do     32                 poison from an address that does not have poison set. If the
 34                 device cannot clear poison fro     33                 device cannot clear poison from the address, -ENXIO is returned.
 35                 The clear_poison attribute is      34                 The clear_poison attribute is only visible for devices
 36                 supporting the capability.         35                 supporting the capability.
 37                                                    36 
 38 What:           /sys/kernel/debug/cxl/einj_typ     37 What:           /sys/kernel/debug/cxl/einj_types
 39 Date:           January, 2024                      38 Date:           January, 2024
 40 KernelVersion:  v6.9                               39 KernelVersion:  v6.9
 41 Contact:        linux-cxl@vger.kernel.org          40 Contact:        linux-cxl@vger.kernel.org
 42 Description:                                       41 Description:
 43                 (RO) Prints the CXL protocol e     42                 (RO) Prints the CXL protocol error types made available by
 44                 the platform in the format:        43                 the platform in the format:
 45                                                    44 
 46                         0x<error number> <erro     45                         0x<error number> <error type>
 47                                                    46 
 48                 The possible error types are (     47                 The possible error types are (as of ACPI v6.5):
 49                                                    48 
 50                         0x1000  CXL.cache Prot     49                         0x1000  CXL.cache Protocol Correctable
 51                         0x2000  CXL.cache Prot     50                         0x2000  CXL.cache Protocol Uncorrectable non-fatal
 52                         0x4000  CXL.cache Prot     51                         0x4000  CXL.cache Protocol Uncorrectable fatal
 53                         0x8000  CXL.mem Protoc     52                         0x8000  CXL.mem Protocol Correctable
 54                         0x10000 CXL.mem Protoc     53                         0x10000 CXL.mem Protocol Uncorrectable non-fatal
 55                         0x20000 CXL.mem Protoc     54                         0x20000 CXL.mem Protocol Uncorrectable fatal
 56                                                    55 
 57                 The <error number> can be writ     56                 The <error number> can be written to einj_inject to inject
 58                 <error type> into a chosen dpo     57                 <error type> into a chosen dport.
 59                                                    58 
 60 What:           /sys/kernel/debug/cxl/$dport_d     59 What:           /sys/kernel/debug/cxl/$dport_dev/einj_inject
 61 Date:           January, 2024                      60 Date:           January, 2024
 62 KernelVersion:  v6.9                               61 KernelVersion:  v6.9
 63 Contact:        linux-cxl@vger.kernel.org          62 Contact:        linux-cxl@vger.kernel.org
 64 Description:                                       63 Description:
 65                 (WO) Writing an integer to thi     64                 (WO) Writing an integer to this file injects the corresponding
 66                 CXL protocol error into $dport     65                 CXL protocol error into $dport_dev ($dport_dev will be a device
 67                 name from /sys/bus/pci/devices     66                 name from /sys/bus/pci/devices). The integer to type mapping for
 68                 injection can be found by read     67                 injection can be found by reading from einj_types. If the dport
 69                 was enumerated in RCH mode, a      68                 was enumerated in RCH mode, a CXL 1.1 error is injected, otherwise
 70                 a CXL 2.0 error is injected.       69                 a CXL 2.0 error is injected.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php