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

Support dumping HTM capabilities information from Hardware
Trace Macro (HTM) function via debugfs interface. Under
debugfs folder "/sys/kernel/debug/powerpc/htmdump", add
file "htmcaps".

The interface allows only read of this file which will present the
content of HTM buffer from the hcall.

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