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

Support configuring of Hardware Trace Macro (HTM) function
via debugfs interface. Under debugfs folder
"/sys/kernel/debug/powerpc/htmdump", add file "htmconfigure".
The interface allows configuring of htm via this file
by writing value "1". Allow deconfiguring of htm via this file
by writing value "0".  Any other value returns -EINVAL.

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-3-atrajeev@linux.ibm.com
arch/powerpc/platforms/pseries/htmdump.c