xref: /linux/Documentation/ABI/testing/debugfs-tpmi (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
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