[SRU][PULL][OEM-OSP1-B] backport pmc_core

AceLan Kao acelan.kao at canonical.com
Wed Jul 10 08:10:24 UTC 2019

BugLink: https://bugs.launchpad.net/bugs/1836012

The pmc_core interface /sys/kernel/debug/pmc_core/package_cstate_show
indicates which PC state the system enterred. Currently, powertop can't
show correct PC state, it only shows PC1 ~ PC3, so we need this interface
to check the states.

Backport pmc_core commits from upstream.

Verified on IceLake machines, the interface works.

[Regression Potential]
Low, the pmc_core is not a new driver, the new commits help to expose the
values to sysfs interface.

The following changes since commit 41b7edc26d0fc3ead1e5567959ec3fed25378cd8:

  UBUNTU: Ubuntu-oem-osp1-5.0.0-1013.14 (2019-07-03 10:21:45 +0300)

are available in the Git repository at:

  git://git.launchpad.net/~acelankao/+git/ubuntu-disco pmc_core

for you to fetch changes up to be518f06a6334e1bb3d3dd9b22a4c826351bd81c:

  platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure (2019-07-10 16:03:11 +0800)

Guenter Roeck (1):
      platform/x86: intel_pmc_core: Mark local function static

Rajat Jain (3):
      platform/x86: intel_pmc_core: Avoid a u32 overflow
      platform/x86: intel_pmc_core: Convert to a platform_driver
      platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure

Rajneesh Bhardwaj (5):
      platform/x86: intel_pmc_core: Fix file permissions for ltr_show
      platform/x86: intel_pmc_core: Include Reserved IP for LTR
      platform/x86: intel_pmc_core: Convert to INTEL_CPU_FAM6 macro
      platform/x86: intel_pmc_core: Add ICL platform support
      platform/x86: intel_pmc_core: Add Package cstates residency info

 drivers/platform/x86/intel_pmc_core.c | 290 ++++++++++++++++++++++++++++++----
 drivers/platform/x86/intel_pmc_core.h |  14 ++
 2 files changed, 271 insertions(+), 33 deletions(-)

More information about the kernel-team mailing list