Skip to content

platform/x86: intel_pmc_core: Add debugfs entries

Gayatri Kammela lkml platform-driver-x86 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 7 repliesSuperseded

Changes in v2 from the cover letter

1) Rebased it on for-next branch to make sure patch series apply cleanly.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/x86: intel_pmc_core: Add debugfs entry to access sub-state residenciesdrivers/platform/x86/intel_pmc_core.c drivers/platform/x86/intel_pmc_core.h+49 -00 replies
2/7platform/x86: intel_pmc_core: Add debugfs entry for low power mode status registersdrivers/platform/x86/intel_pmc_core.c drivers/platform/x86/intel_pmc_core.h+193 -00 replies
3/7platform/x86: intel_pmc_core: Refactor the driver by removing redundant codedrivers/platform/x86/intel_pmc_core.c+23 -250 replies
4/7platform/x86: intel_pmc_core: Remove slp_s0 attributes from tgl_reg_mapdrivers/platform/x86/intel_pmc_core.c+0 -20 replies
5/7platform/x86: intel_pmc_core: Add an additional parameter to pmc_core_lpm_display()drivers/platform/x86/intel_pmc_core.c+18 -60 replies
6/7platform/x86: intel_pmc_core: Dump low power status registers on an S0ix.y failuredrivers/platform/x86/intel_pmc_core.c+4 -00 replies
7/7platform/x86: intel_pmc_core: Add debugfs support to access live status registersdrivers/platform/x86/intel_pmc_core.c drivers/platform/x86/intel_pmc_core.h+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] platform/x86: intel_pmc_core: Add debugfs entries

Hi,

Tiger Lake platform supports 8 sub-states/low power modes of S0ix. Add debugfs entries to pmc_core driver to access low power mode registers and residencies.

Patch 1: Add debugfs entry to access sub-state residencies Patch 2: Add debugfs entry for low power mode status registers Patch 3: Refactor the driver by removing redundant code Patch 4: Remove slp_s0 attributes from tgl_reg_map Patch 5: Add an additional parameter to pmc_core_lpm_display_map() Patch 6: Dump low power status registers on an S0ix.y failure Patch 7: Add debugfs support to access live status registers

Changes since v1:
1) Rebased it on for-next branch to make sure patch series apply cleanly.

Gayatri Kammela (7):
platform/x86: intel_pmc_core: Add debugfs entry to access sub-state
residencies
platform/x86: intel_pmc_core: Add debugfs entry for low power mode
status registers
platform/x86: intel_pmc_core: Refactor the driver by removing
redundant code
platform/x86: intel_pmc_core: Remove slp_s0 attributes from
tgl_reg_map
platform/x86: intel_pmc_core: Add an additional parameter to
pmc_core_lpm_display()
platform/x86: intel_pmc_core: Dump low power status registers on an
S0ix.y failure
platform/x86: intel_pmc_core: Add debugfs support to access live
status registers

 drivers/platform/x86/intel_pmc_core.c | 301 +++++++++++++++++++++++---
 drivers/platform/x86/intel_pmc_core.h |  28 +++
 2 files changed, 302 insertions(+), 27 deletions(-)
Cc Srinivas Pandruvada <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc David Box <[email protected]>
Signature · 1 line
2.17.1