[Feature] Updated RAPL support for SKylake

Bug #1398269 reported by Yingying Zhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Tim Gardner
Wily
Fix Released
Undecided
Tim Gardner

Bug Description

Add Skylake support in RAPL driver.

Upstream status:
Kernel - target 4.1

Tags: skl vivid
description: updated
description: updated
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Per discussion between Canonical and Intel, retarget to 15.10.

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

Implemented in 4.1 kernel
5fa0fa4 powercap / RAPL: Add support for Intel Skylake processors

Revision history for this message
XiongZhang (xiong-y-zhang) wrote :
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The patch in comment #3 is in linux-next at the moment:

commit 286272137f66199f87ea254397181b9bab5e5467
Author: Radivoje Jovanovic <email address hidden>
Date: Fri Jul 31 08:07:45 2015 -0700

    thermal/powerclamp: add cpu id for skylake h/s

Tim Gardner (timg-tpi)
information type: Proprietary → Public
Changed in linux (Ubuntu Wily):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.2 KiB)

This bug was fixed in the package linux - 4.2.0-10.11

---------------
linux (4.2.0-10.11) wily; urgency=low

  [ Andy Whitcroft ]

  * Release Tracking Bug
    - LP: #1495208
  * No change rebuild to avoid issues with leading zero bytes on
    internal module signing key. (see launchpad bug 1494943)

  [ Ming Lei ]

  * [Config] SERIAL_8250_DW=y for arm64

  [ Upstream Kernel Changes ]

  * drm/i915: Move WaBarrierPerformanceFixDisable:skl to skl code from chv
    code
    - LP: #1484486
  * drm/i915/gen8: Add infrastructure to initialize WA batch buffers
    - LP: #1484486
  * drm/i915/gen8: Re-order init pipe_control in lrc mode
    - LP: #1484486
  * drm/i915/gen8: Add WaDisableCtxRestoreArbitration workaround
    - LP: #1484486
  * drm/i915/gen8: Add WaFlushCoherentL3CacheLinesAtContextSwitch
    workaround
    - LP: #1484486
  * drm/i915: Bail out early if WA batch is not available for given Gen
    - LP: #1484486
  * drm/i915/gen8: Add WaClearSlmSpaceAtContextSwitch workaround
    - LP: #1484486
  * drm/i915: Update WaFlushCoherentL3CacheLinesAtContextSwitch
    - LP: #1484486
  * drm/i915/gen9: Implement WaDisableKillLogic for gen 9
    - LP: #1484486
  * drm/i915: Enable WA batch buffers for Gen9
    - LP: #1484486
  * drm/i915/gen9: Add WaDisableCtxRestoreArbitration workaround
    - LP: #1484486
  * drm/i915: Update wa_ctx_emit() macro as per kernel coding guidelines
    - LP: #1484486
  * drm/i915/gen9: Add WaFlushCoherentL3CacheLinesAtContextSwitch
    workaround
    - LP: #1484486
  * drm/i915/gen9: Add
    WaSetDisablePixMaskCammingAndRhwoInCommonSliceChicken
    - LP: #1484486
  * drm/i915:skl: Add WaEnableGapsTsvCreditFix
    - LP: #1484486
  * drm/i915/skl: revert duplicated WaBarrierPerformanceFixDisable:skl
    - LP: #1484486
  * drm/i915/skl: Don't expose the top most plane on gen9 display
    - LP: #1484486
  * drm/i915/skl WaDisableSbeCacheDispatchPortSharing
    - LP: #1484486
  * drm/i915/skl: WaIgnoreDDIAStrap is forever, always init DDI A
    - LP: #1484486
  * drm/i915: reduce indent in i9xx_hpd_irq_handler
    - LP: #1484531
  * drm/i915: reduce duplicate conditions in i9xx_hpd_irq_handler
    - LP: #1484531
  * drm/i915: reduce indent in intel_hpd_irq_handler
    - LP: #1484531
  * drm/i915: group all hotplug related fields into a new struct in
    dev_priv
    - LP: #1484531
  * drm/i915: add for_each_hpd_pin to iterate over hotplug pins
    - LP: #1484531
  * drm/i915: simplify conditions for skipping the 2nd hpd loop iterations
    - LP: #1484531
  * drm/i915: put back the indent in intel_hpd_irq_handler
    - LP: #1484531
  * drm/i915: merge the two hpd loops in intel_hpd_irq_handler to one
    - LP: #1484531
  * drm/i915: simplify condition for digital port
    - LP: #1484531
  * drm/i915: abstract away platform specific parts from hpd handling
    - LP: #1484531
  * drm/i915: Handle HPD when it has actually occurred
    - LP: #1484531
  * drm/i915: Set power domain for DDI-E
    - LP: #1484531
  * drm/i915: Set alternate aux for DDI-E
    - LP: #1484531
  * drm/i915/skl: enable DDI-E hotplug
    - LP: #1484531
  * drm/i915/bxt: fix DDI PHY vswing scale value setting
    - LP: #1494163
  * drm/i915/skl: Buf...

Read more...

Changed in linux (Ubuntu Wily):
status: Fix Committed → Fix Released
Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

hi, Tim:
      The commit ID in comment#4 is wrong and this patch isn't in ubuntu 4.2.0-10 kernel.
       Please back port this patch from 4.3 kernel:
commit 2cac1f700c2c6baf836f24c778a73a847a48f484
Author: Radivoje Jovanovic <email address hidden>
Date: Fri Jul 31 08:07:10 2015 -0700

    powercap / RAPL: Add support for Skylake H/S

thanks

Revision history for this message
Tim Gardner (timg-tpi) wrote :

5021282cc483d4126c1704942adb74806f7d15d6 powercap / RAPL: disable the 2nd power limit properly
4e0bec9e833a6884dc2e242e45e0ebd99f46624e powercap / RAPL: Add support for Broadwell-H
2cac1f700c2c6baf836f24c778a73a847a48f484 powercap / RAPL: Add support for Skylake H/S

Changed in linux (Ubuntu Wily):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 4.2.0-11.13

---------------
linux (4.2.0-11.13) wily; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1498170
  * [Config] updateconfigs, removed CONFIG_KVM_ARM_MAX_VCPUS
  * rebase to v4.2.1

  [ Upstream Kernel Changes ]

  * powercap / RAPL: Add support for Skylake H/S
    - LP: #1398269
  * powercap / RAPL: Add support for Broadwell-H
    - LP: #1398269
  * powercap / RAPL: disable the 2nd power limit properly
    - LP: #1398269
  * thermal/powerclamp: add cpu id for Skylake u/y
  * thermal/powerclamp: add cpu id for denlow platform
  * arm/arm64: KVM: Remove 'config KVM_ARM_MAX_VCPUS'

  [ Upstream Kernel Changes ]

  * rebase to v4.2.1

 -- Tim Gardner <email address hidden> Wed, 16 Sep 2015 06:55:41 -0600

Changed in linux (Ubuntu Wily):
status: Fix Committed → Fix Released
Changed in intel:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.