platform:x86: Add Intel Telemetry Debugfs interfaces
PATCH v5 4/4 platform:x86: Add Intel Telemetry Debugfs interfaces
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity. Interface created under /sys/kernel/debug/telemetrysoc_states: SoC Device and Low Power Statespss_info: Info from the Primary SubSystemioss_info: Info from IO SubSusytempss_trace_verbosity: Read/Modify PSS F/W trace verbosityioss_trace_verbosity: Read/Modify IOSS F/W trace verbosity.
---
Change in v5: Fix warning when compiling with CONFIG_PM_SLEEP underfined
--- MAINTAINERS | 1 + drivers/platform/x86/Makefile | 3 +- drivers/platform/x86/intel_telemetry_debugfs.c | 1032 ++++++++++++++++++++++++ 3 files changed, 1035 insertions(+), 1 deletion(-) create mode 100644 drivers/platform/x86/intel_telemetry_debugfs.c
MAINTAINERS +1 -0
@@ -5698,6 +5698,7 @@ S: Maintained F: drivers/platform/x86/intel_telemetry_core.c F: arch/x86/include/asm/intel_telemetry.h F: drivers/platform/x86/intel_telemetry_pltdrv.c +F: drivers/platform/x86/intel_telemetry_debugfs.c IOC3 ETHERNET DRIVER M: Ralf Baechle <[email protected]>
drivers/platform/x86/Makefile +2 -1
@@ -64,4 +64,5 @@ obj-$(CONFIG_INTEL_PMC_IPC) += intel_pmc_ipc.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o obj-$(CONFIG_INTEL_PUNIT_IPC) += intel_punit_ipc.o obj-$(CONFIG_INTEL_TELEMETRY) += intel_telemetry_core.o \ - intel_telemetry_pltdrv.o + intel_telemetry_pltdrv.o \ + intel_telemetry_debugfs.o
drivers/platform/x86/intel_telemetry_debugfs.c new file +1032 -0
1,032 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Quoted 9 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity. Interface created under
/sys/kernel/debug/telemetrysoc_states: SoC Device and Low Power Statespss_info: Info from the Primary SubSystemioss_info: Info from IO SubSusytempss_trace_verbosity: Read/Modify PSS F/W trace verbosityioss_trace_verbosity: Read/Modify IOSS F/W trace verbosity.
Quoted 4 lines
Signed-off-by Souvik Kumar Chakravarty <[email protected]>---
Change in v5: Fix warning when compiling withCONFIG_PM_SLEEPunderfined
I've just sent the last version to Linus unfortunately. Please send this fix as a separate patch on top of the latest series and I'll include in a follow-up "fixes" series prior to 4.5 release.
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
Quoted 23 lines
-----Original Message-----
From: Darren Hart [mailto:[email protected]]
Sent: Wednesday, January 20, 2016 11:39 AM
To: Chakravarty, Souvik K <[email protected]>
Cc: [email protected]; [email protected]
Subject: Re: [PATCH v5 4/4] platform:x86: Add Intel Telemetry Debugfs interfacesQuoted 12 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity. Interface created under
/sys/kernel/debug/telemetrysoc_states: SoC Device and Low Power Statespss_info: Info from the Primary SubSystemioss_info: Info from IO SubSusytempss_trace_verbosity: Read/Modify PSS F/W trace verbosityioss_trace_verbosity: Read/Modify IOSS F/W trace verbosity.Signed-off-by: Souvik Kumar Chakravarty
<[email protected]>
Quoted 7 lines
Quoted 3 lines
---
Change in v5: Fix warning when compiling withCONFIG_PM_SLEEPunderfinedI've just sent the last version to Linus unfortunately. Please send this fix as a separate patch on top of the latest series and I'll include in a follow-up "fixes" series prior to 4.5 release.
OK I will send a fix.
Quoted 4 lines
--
Darren Hart
Intel Open Source Technology Center
Quoted 2 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity.
[]
MAINTAINERS
Quoted 1 line
MAINTAINERS +0
-0
[]
Quoted 5 lines
MAINTAINERS +0
-0@@ -5698,6 +5698,7 @@ S: MaintainedF:
drivers/platform/x86/intel_telemetry_core.c
F:arch/x86/include/asm/intel_telemetry.h
F:drivers/platform/x86/intel_telemetry_pltdrv.c
+F:drivers/platform/x86/intel_telemetry_debugfs.c
Maybe most of these should be deleted and
this should be a single entry:
F: drivers/platform/x86/intel_telemetry*
Quoted 15 lines · Joe Perches
Quoted 2 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity.
[]
MAINTAINERS
Quoted 1 line
MAINTAINERS +0
-0[]
Quoted 5 lines
MAINTAINERS +0
-0@@ -5698,6 +5698,7 @@ S: MaintainedF:
drivers/platform/x86/intel_telemetry_core.c
F:arch/x86/include/asm/intel_telemetry.h
F:drivers/platform/x86/intel_telemetry_pltdrv.c
+F:drivers/platform/x86/intel_telemetry_debugfs.cMaybe most of these should be deleted and
this should be a single entry:
Quoted 1 line
F:
drivers/platform/x86/intel_telemetry*
Indeed, thanks for catching that Joe.
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
Quoted 27 lines
-----Original Message-----
From: Darren Hart [mailto:[email protected]]
Sent: Thursday, January 21, 2016 5:05 AM
To: Joe Perches <[email protected]>
Cc: Chakravarty, Souvik K <[email protected]>; platform- [email protected]; [email protected]
Subject: Re: [PATCH v5 4/4] platform:x86: Add Intel Telemetry Debugfs interfacesQuoted 15 lines · Joe Perches
Quoted 2 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity.
[]
MAINTAINERS
Quoted 1 line
MAINTAINERS +0
-0[]
Quoted 5 lines
MAINTAINERS +0
-0@@ -5698,6 +5698,7 @@ S: MaintainedF:
drivers/platform/x86/intel_telemetry_core.c
F:arch/x86/include/asm/intel_telemetry.h
F:drivers/platform/x86/intel_telemetry_pltdrv.c
+F:drivers/platform/x86/intel_telemetry_debugfs.cMaybe most of these should be deleted and this should be a single entry:
Quoted 3 lines
Quoted 1 line
F:
drivers/platform/x86/intel_telemetry*Indeed, thanks for catching that Joe.
Seems fair. I can do a respin.
Quoted 4 lines
--
Darren Hart
Intel Open Source Technology Center
Or rather I will send this in as a fix.
Quoted 49 lines
-----Original Message-----
From: [email protected] [mailto:platform-driver- [email protected]] On Behalf Of Chakravarty, Souvik K
Sent: Thursday, January 21, 2016 8:21 AM
To: Darren Hart <[email protected]>; Joe Perches <[email protected]>
Cc: [email protected]; [email protected]
Subject: RE: [PATCH v5 4/4] platform:x86: Add Intel Telemetry Debugfs interfacesQuoted 25 lines
-----Original Message-----
From: Darren Hart [mailto:[email protected]]
Sent: Thursday, January 21, 2016 5:05 AM
To: Joe Perches <[email protected]>
Cc: Chakravarty, Souvik K <[email protected]>; platform- [email protected]; [email protected]
Subject: Re: [PATCH v5 4/4] platform:x86: Add Intel Telemetry Debugfs interfacesQuoted 15 lines · Joe Perches
Quoted 2 lines · Souvik Kumar Chakravarty
This implements debugfs interfaces for reading the telemetry samples from SSRAM and configuring firmware trace verbosity.
[]
MAINTAINERS
Quoted 1 line
MAINTAINERS +0
-0[]
Quoted 5 lines
MAINTAINERS +0
-0@@ -5698,6 +5698,7 @@ S: MaintainedF:
drivers/platform/x86/intel_telemetry_core.c
F:arch/x86/include/asm/intel_telemetry.h
F:drivers/platform/x86/intel_telemetry_pltdrv.c
+F:drivers/platform/x86/intel_telemetry_debugfs.cMaybe most of these should be deleted and this should be a single entry:
Quoted 3 lines
Quoted 1 line
F:
drivers/platform/x86/intel_telemetry*Indeed, thanks for catching that Joe.
Seems fair. I can do a respin.
Quoted 4 lines
--
Darren Hart
Intel Open Source Technology Center--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html