162306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/ 262306a36Sopenharmony_ciDate: October 2020 362306a36Sopenharmony_ciKernelVersion: 5.10 462306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci The intel_pmt/ class directory contains information for 762306a36Sopenharmony_ci devices that expose hardware telemetry using Intel Platform 862306a36Sopenharmony_ci Monitoring Technology (PMT) 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/telem<x> 1162306a36Sopenharmony_ciDate: October 2020 1262306a36Sopenharmony_ciKernelVersion: 5.10 1362306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 1462306a36Sopenharmony_ciDescription: 1562306a36Sopenharmony_ci The telem<x> directory contains files describing an instance of 1662306a36Sopenharmony_ci a PMT telemetry device that exposes hardware telemetry. Each 1762306a36Sopenharmony_ci telem<x> directory has an associated telem file. This file 1862306a36Sopenharmony_ci may be opened and mapped or read to access the telemetry space 1962306a36Sopenharmony_ci of the device. The register layout of the telemetry space is 2062306a36Sopenharmony_ci determined from an XML file that matches the PCI device id and 2162306a36Sopenharmony_ci GUID for the device. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/telem<x>/telem 2462306a36Sopenharmony_ciDate: October 2020 2562306a36Sopenharmony_ciKernelVersion: 5.10 2662306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 2762306a36Sopenharmony_ciDescription: 2862306a36Sopenharmony_ci (RO) The telemetry data for this telemetry device. This file 2962306a36Sopenharmony_ci may be mapped or read to obtain the data. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/telem<x>/guid 3262306a36Sopenharmony_ciDate: October 2020 3362306a36Sopenharmony_ciKernelVersion: 5.10 3462306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 3562306a36Sopenharmony_ciDescription: 3662306a36Sopenharmony_ci (RO) The GUID for this telemetry device. The GUID identifies 3762306a36Sopenharmony_ci the version of the XML file for the parent device that is to 3862306a36Sopenharmony_ci be used to get the register layout. 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/telem<x>/size 4162306a36Sopenharmony_ciDate: October 2020 4262306a36Sopenharmony_ciKernelVersion: 5.10 4362306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 4462306a36Sopenharmony_ciDescription: 4562306a36Sopenharmony_ci (RO) The size of telemetry region in bytes that corresponds to 4662306a36Sopenharmony_ci the mapping size for the telem file. 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/telem<x>/offset 4962306a36Sopenharmony_ciDate: October 2020 5062306a36Sopenharmony_ciKernelVersion: 5.10 5162306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 5262306a36Sopenharmony_ciDescription: 5362306a36Sopenharmony_ci (RO) The offset of telemetry region in bytes that corresponds to 5462306a36Sopenharmony_ci the mapping for the telem file. 5562306a36Sopenharmony_ci 5662306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x> 5762306a36Sopenharmony_ciDate: October 2020 5862306a36Sopenharmony_ciKernelVersion: 5.10 5962306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 6062306a36Sopenharmony_ciDescription: 6162306a36Sopenharmony_ci The crashlog<x> directory contains files for configuring an 6262306a36Sopenharmony_ci instance of a PMT crashlog device that can perform crash data 6362306a36Sopenharmony_ci recording. Each crashlog<x> device has an associated crashlog 6462306a36Sopenharmony_ci file. This file can be opened and mapped or read to access the 6562306a36Sopenharmony_ci resulting crashlog buffer. The register layout for the buffer 6662306a36Sopenharmony_ci can be determined from an XML file of specified GUID for the 6762306a36Sopenharmony_ci parent device. 6862306a36Sopenharmony_ci 6962306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/crashlog 7062306a36Sopenharmony_ciDate: October 2020 7162306a36Sopenharmony_ciKernelVersion: 5.10 7262306a36Sopenharmony_ciContact: David Box <david.e.box@linux.intel.com> 7362306a36Sopenharmony_ciDescription: 7462306a36Sopenharmony_ci (RO) The crashlog buffer for this crashlog device. This file 7562306a36Sopenharmony_ci may be mapped or read to obtain the data. 7662306a36Sopenharmony_ci 7762306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/guid 7862306a36Sopenharmony_ciDate: October 2020 7962306a36Sopenharmony_ciKernelVersion: 5.10 8062306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 8162306a36Sopenharmony_ciDescription: 8262306a36Sopenharmony_ci (RO) The GUID for this crashlog device. The GUID identifies the 8362306a36Sopenharmony_ci version of the XML file for the parent device that should be 8462306a36Sopenharmony_ci used to determine the register layout. 8562306a36Sopenharmony_ci 8662306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/size 8762306a36Sopenharmony_ciDate: October 2020 8862306a36Sopenharmony_ciKernelVersion: 5.10 8962306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 9062306a36Sopenharmony_ciDescription: 9162306a36Sopenharmony_ci (RO) The length of the result buffer in bytes that corresponds 9262306a36Sopenharmony_ci to the size for the crashlog buffer. 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/offset 9562306a36Sopenharmony_ciDate: October 2020 9662306a36Sopenharmony_ciKernelVersion: 5.10 9762306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 9862306a36Sopenharmony_ciDescription: 9962306a36Sopenharmony_ci (RO) The offset of the buffer in bytes that corresponds 10062306a36Sopenharmony_ci to the mapping for the crashlog device. 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/enable 10362306a36Sopenharmony_ciDate: October 2020 10462306a36Sopenharmony_ciKernelVersion: 5.10 10562306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 10662306a36Sopenharmony_ciDescription: 10762306a36Sopenharmony_ci (RW) Boolean value controlling if the crashlog functionality 10862306a36Sopenharmony_ci is enabled for the crashlog device. 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ciWhat: /sys/class/intel_pmt/crashlog<x>/trigger 11162306a36Sopenharmony_ciDate: October 2020 11262306a36Sopenharmony_ciKernelVersion: 5.10 11362306a36Sopenharmony_ciContact: Alexander Duyck <alexander.h.duyck@linux.intel.com> 11462306a36Sopenharmony_ciDescription: 11562306a36Sopenharmony_ci (RW) Boolean value controlling the triggering of the crashlog 11662306a36Sopenharmony_ci device node. When read it provides data on if the crashlog has 11762306a36Sopenharmony_ci been triggered. When written to it can be used to either clear 11862306a36Sopenharmony_ci the current trigger by writing false, or to trigger a new 11962306a36Sopenharmony_ci event if the trigger is not currently set. 120