xref: /linux/Documentation/ABI/testing/debugfs-tpmi (revision 2a6b6c9a226279b4f6668450ddb21ae655558087)
1What:		/sys/kernel/debug/tpmi-<n>/pfs_dump
2Date:		November 2023
3KernelVersion:	6.6
4Contact:	srinivas.pandruvada@linux.intel.com
5Description:
6The PFS (PM Feature Structure) table, shows details of each power
7management feature. This includes:
8tpmi_id, number of entries, entry size, offset, vsec offset, lock status
9and disabled status.
10Users:		Debugging, any user space test suite
11
12What:		/sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_dump
13Date:		November 2023
14KernelVersion:	6.6
15Contact:	srinivas.pandruvada@linux.intel.com
16Description:
17Shows the memory dump of the MMIO region for a TPMI ID.
18Users:		Debugging, any user space test suite
19
20What:		/sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_write
21Date:		November 2023
22KernelVersion:	6.6
23Contact:	srinivas.pandruvada@linux.intel.com
24Description:
25Allows to write at any offset. It doesn't check for Read/Write access
26as hardware will not allow to write at read-only memory. This write is
27at offset multiples of 4. The format is instance,offset,contents.
28Example:
29echo 0,0x20,0xff > mem_write
30echo 1,64,64 > mem_write
31Users:		Debugging, any user space test suite
32
33What:		/sys/kernel/debug/tpmi-<n>/plr/domain<n>/status
34Date:		Aug 2024
35KernelVersion:	6.11
36Contact:	Tero Kristo <tero.kristo@linux.intel.com>
37Description:
38Shows the currently active Performance Limit Reasons for die level and the
39individual CPUs under the die. The contents of this file are sticky, and
40clearing all the statuses can be done by writing "0\n" to this file.
41