[PATCH v6 RESEND 1/3] powerpc/pseries: Macros and wrapper functions for H_HTM call

2025-01-13 Thread adubey
From: Abhishek Dubey Define macros and wrapper functions to handle H_HTM (Hardware Trace Macro) hypervisor call. H_HTM is new HCALL added to export data from Hardware Trace Macro (HTM) function. Signed-off-by: Abhishek Dubey Co-developed-by: Madhavan Srinivasan Signed-off-by: Madhavan Srinivas

[PATCH v6 RESEND 3/3] powerpc: Document details on H_HTM hcall

2025-01-13 Thread adubey
From: Abhishek Dubey Add documentation to 'papr_hcalls.rst' describing the input, output and return values of the H_HTM hcall as per the internal specification. Signed-off-by: Abhishek Dubey Co-developed-by: Madhavan Srinivasan Signed-off-by: Madhavan Srinivasan Reviewed-by: Athira Rajeev --

[PATCH v6 RESEND 2/3] powerpc/pseries: Export hardware trace macro dump via debugfs

2025-01-13 Thread adubey
From: Abhishek Dubey This patch adds debugfs interface to export Hardware Trace Macro (HTM) function data in a LPAR. New hypervisor call "H_HTM" has been defined to setup, configure, control and dump the HTM data. This patch supports only dumping of HTM data in a LPAR. New debugfs folder called "

[PATCH v6 RESEND 1/3] powerpc/pseries: Macros and wrapper functions for H_HTM call

2025-01-13 Thread adubey
From: Abhishek Dubey Define macros and wrapper functions to handle H_HTM (Hardware Trace Macro) hypervisor call. H_HTM is new HCALL added to export data from Hardware Trace Macro (HTM) function. Signed-off-by: Abhishek Dubey Co-developed-by: Madhavan Srinivasan Signed-off-by: Madhavan Srinivas

[PATCH v6 2/3] powerpc/pseries: Export hardware trace macro dump via debugfs

2025-01-13 Thread adubey
From: Abhishek Dubey This patch adds debugfs interface to export Hardware Trace Macro (HTM) function data in a LPAR. New hypervisor call "H_HTM" has been defined to setup, configure, control and dump the HTM data. This patch supports only dumping of HTM data in a LPAR. New debugfs folder called "

[PATCH v6 3/3] powerpc: Document details on H_HTM hcall

2025-01-13 Thread adubey
From: Abhishek Dubey Add documentation to 'papr_hcalls.rst' describing the input, output and return values of the H_HTM hcall as per the internal specification. v3 patch: https://lore.kernel.org/linuxppc-dev/20240828085223.42177-3-ma...@linux.ibm.com/ Signed-off-by: Abhishek Dubey Co-develo

[PATCH v6 1/3] powerpc/pseries: Macros and wrapper functions for H_HTM call

2025-01-13 Thread adubey
From: Abhishek Dubey Define macros and wrapper functions to handle H_HTM (Hardware Trace Macro) hypervisor call. H_HTM is new HCALL added to export data from Hardware Trace Macro (HTM) function. v3 patch: https://lore.kernel.org/linuxppc-dev/20240828085223.42177-1-ma...@linux.ibm.com/ Signed

[PATCH v6 3/3] powerpc: Document details on H_HTM hcall

2025-01-13 Thread adubey
From: Abhishek Dubey Add documentation to 'papr_hcalls.rst' describing the input, output and return values of the H_HTM hcall as per the internal specification. v3 patch: https://lore.kernel.org/linuxppc-dev/20240828085223.42177-3-ma...@linux.ibm.com/ Signed-off-by: Abhishek Dubey Co-develo

[PATCH v6 2/3] powerpc/pseries: Export hardware trace macro dump via debugfs

2025-01-13 Thread adubey
From: Abhishek Dubey This patch adds debugfs interface to export Hardware Trace Macro (HTM) function data in a LPAR. New hypervisor call "H_HTM" has been defined to setup, configure, control and dump the HTM data. This patch supports only dumping of HTM data in a LPAR. New debugfs folder called "

[PATCH v6 1/3] powerpc/pseries: Macros and wrapper functions for H_HTM call

2025-01-13 Thread adubey
From: Abhishek Dubey Define macros and wrapper functions to handle H_HTM (Hardware Trace Macro) hypervisor call. H_HTM is new HCALL added to export data from Hardware Trace Macro (HTM) function. v3 patch: https://lore.kernel.org/linuxppc-dev/20240828085223.42177-1-ma...@linux.ibm.com/ Signed