[PATCH v4 3/5] platform:x86: Add Intel telemetry platform driver

2015-12-23 Thread Souvik Kumar Chakravarty
Telemetry platform driver implements the telemetry interfaces. Currently it supports ApolloLake. It uses the PUNIT and PMC IPC interfaces to configure the telemetry samples to read. The samples are read from a Secure SRAM region. Signed-off-by: Souvik Kumar Chakravarty --- Changes in v4: * Patch

[PATCH v3 5/5] platform:x86: Makefile/Kconfig/MAINTAINERS changes for Intel Telemetry

2015-12-23 Thread Souvik Kumar Chakravarty
Makefile, Kconfig & MAINTAINERS changes for compiling Telemetry. It depends on PUNIT and PMC IPC drivers. Signed-off-by: Souvik Kumar Chakravarty --- Changes in v3: * Rebased on top of latest files. --- Changes in v2: * Change bool to tristate in Kconfig to enable support as module * Remove PUNI

[PATCH v2 4/5] platform:x86: Add Intel Telemetry Debugfs interfaces

2015-12-23 Thread 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/telemetry soc_states: SoC Device and Low Power States pss_info: Info from the Primary SubSystem ioss_info: Info from IO SubSusytem pss_

[PATCH v4 2/5] platform:x86: Add Intel telemetry platform device

2015-12-23 Thread Souvik Kumar Chakravarty
Telemetry Device is created by the pmc_ipc driver. Resources are populated according SSRAM region as indicated by the BIOS tables. Signed-off-by: Souvik Kumar Chakravarty --- Changes in v4: * Patch v3 2/5 is split in 2 patches according to Device and Driver addition --- Changes in v3: * Clean

[PATCH v3 1/5] platform:x86: Add Intel Telemetry Core Driver

2015-12-23 Thread Souvik Kumar Chakravarty
Intel PM Telemetry is a software mechanism via which various SoC PM and performance related parameters like PM counters, firmware trace verbosity, the status of different devices inside the SoC, etc can be monitored and analyzed. The different samples that may be monitored can be configured at runt