Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

doc: TPMI: Add debugfs documentation

Describe fields in the TPMI debugfs folder.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230712225950.171326-4-srinivas.pandruvada@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Srinivas Pandruvada and committed by
Hans de Goede
40e6c395 b326c1bb

+32
+31
Documentation/ABI/testing/debugfs-tpmi
··· 1 + What: /sys/kernel/debug/tpmi-<n>/pfs_dump 2 + Date: November 2023 3 + KernelVersion: 6.6 4 + Contact: srinivas.pandruvada@linux.intel.com 5 + Description: 6 + The PFS (PM Feature Structure) table, shows details of each power 7 + management feature. This includes: 8 + tpmi_id, number of entries, entry size, offset, vsec offset, lock status 9 + and disabled status. 10 + Users: Debugging, any user space test suite 11 + 12 + What: /sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_dump 13 + Date: November 2023 14 + KernelVersion: 6.6 15 + Contact: srinivas.pandruvada@linux.intel.com 16 + Description: 17 + Shows the memory dump of the MMIO region for a TPMI ID. 18 + Users: Debugging, any user space test suite 19 + 20 + What: /sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_write 21 + Date: November 2023 22 + KernelVersion: 6.6 23 + Contact: srinivas.pandruvada@linux.intel.com 24 + Description: 25 + Allows to write at any offset. It doesn't check for Read/Write access 26 + as hardware will not allow to write at read-only memory. This write is 27 + at offset multiples of 4. The format is instance,offset,contents. 28 + Example: 29 + echo 0,0x20,0xff > mem_write 30 + echo 1,64,64 > mem_write 31 + Users: Debugging, any user space test suite
+1
MAINTAINERS
··· 10732 10732 M: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> 10733 10733 L: platform-driver-x86@vger.kernel.org 10734 10734 S: Maintained 10735 + F: Documentation/ABI/testing/debugfs-tpmi 10735 10736 F: drivers/platform/x86/intel/tpmi.c 10736 10737 F: include/linux/intel_tpmi.h 10737 10738