]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/pseries/htmdump: Add htm setup support to htmdump module
authorAthira Rajeev <atrajeev@linux.ibm.com>
Sun, 20 Apr 2025 18:08:41 +0000 (23:38 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sun, 4 May 2025 03:35:47 +0000 (09:05 +0530)
commit78fb17ac68bf59e5e36212e34a2b05eec29a389f
treed408a5c7e8da26720f1ca0b377ceb024a252ae3e
parentdea7384e14e7f9429021544d0d710fbef8445def
powerpc/pseries/htmdump: Add htm setup support to htmdump module

Add htm setup support to htmdump module. To use the
HTM (Hardware Trace Macro), HTM buffer has to be allocated.
Support setup of HTM buffers via debugfs interface. Under
debugfs folder, "/sys/kernel/debug/powerpc/htmdump", add file
"htmsetup". The interface allows setup of HTM buffer by writing
size of HTM buffer in power of 2 to the "htmsetup" file

Signed-off-by: Athira Rajeev <atrajeev@linux.ibm.com>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250420180844.53128-7-atrajeev@linux.ibm.com
arch/powerpc/platforms/pseries/htmdump.c