diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2023-07-12 15:59:50 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-07-14 15:24:57 +0200 |
commit | 40e6c3956b15d2a2eb1840f2dfd96c0cc4b216ed (patch) | |
tree | a3001f196b7784919d12a3c12675b913ed3c388a /Documentation/ABI | |
parent | b326c1bbb146b9bae38cf53243c6d272aaa1c7e3 (diff) | |
download | linux-stable-40e6c3956b15d2a2eb1840f2dfd96c0cc4b216ed.tar.gz linux-stable-40e6c3956b15d2a2eb1840f2dfd96c0cc4b216ed.tar.bz2 linux-stable-40e6c3956b15d2a2eb1840f2dfd96c0cc4b216ed.zip |
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/debugfs-tpmi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-tpmi b/Documentation/ABI/testing/debugfs-tpmi new file mode 100644 index 000000000000..597f0475fe6e --- /dev/null +++ b/Documentation/ABI/testing/debugfs-tpmi @@ -0,0 +1,31 @@ +What: /sys/kernel/debug/tpmi-<n>/pfs_dump +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +The PFS (PM Feature Structure) table, shows details of each power +management feature. This includes: +tpmi_id, number of entries, entry size, offset, vsec offset, lock status +and disabled status. +Users: Debugging, any user space test suite + +What: /sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_dump +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +Shows the memory dump of the MMIO region for a TPMI ID. +Users: Debugging, any user space test suite + +What: /sys/kernel/debug/tpmi-<n>/tpmi-id-<n>/mem_write +Date: November 2023 +KernelVersion: 6.6 +Contact: srinivas.pandruvada@linux.intel.com +Description: +Allows to write at any offset. It doesn't check for Read/Write access +as hardware will not allow to write at read-only memory. This write is +at offset multiples of 4. The format is instance,offset,contents. +Example: +echo 0,0x20,0xff > mem_write +echo 1,64,64 > mem_write +Users: Debugging, any user space test suite |