mbox series

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

Message ID 20190710081024.6054-1-acelan.kao@canonical.com
State New
Headers show
Series [SRU,PULL,OEM-OSP1-B] backport pmc_core | expand

Pull-request

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

Message

AceLan Kao July 10, 2019, 8:10 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1836012

[Impact]
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.

[Fix]
Backport pmc_core commits from upstream.

[Test]
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(-)

Comments

Timo Aaltonen July 11, 2019, 6:55 a.m. UTC | #1
On 10.7.2019 11.10, AceLan Kao wrote:
> BugLink: https://bugs.launchpad.net/bugs/1836012
> 
> [Impact]
> 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.
> 
> [Fix]
> Backport pmc_core commits from upstream.

applied to osp1 oem-next, thanks
Timo Aaltonen July 11, 2019, 6:55 a.m. UTC | #2
On 11.7.2019 9.55, Timo Aaltonen wrote:
> On 10.7.2019 11.10, AceLan Kao wrote:
>> BugLink: https://bugs.launchpad.net/bugs/1836012
>>
>> [Impact]
>> 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.
>>
>> [Fix]
>> Backport pmc_core commits from upstream.
> 
> applied to osp1 oem-next, thanks

with a proper subject now