]> git.baikalelectronics.ru Git - kernel.git/commit
powercap / RAPL: disable the 2nd power limit properly
authorSeiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
Wed, 19 Aug 2015 05:26:03 +0000 (14:26 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Aug 2015 23:46:40 +0000 (01:46 +0200)
commitf0e897fabcf5dd0eec856330ae20af11cdced7a8
treeff1238b0000d8acefbe0a4ccca6efd1ef174e5d7
parent4298a764c3edb945d7edfe5f9cb5ba7e1c78d8ae
powercap / RAPL: disable the 2nd power limit properly

Let rapl_unregister_powercap() disable the second power limit
only if it exists.
Intel64 SDM Vol.3 14.9 says that the package domain has it
but neither the power plane domain nor the DRAM domain has it.

Signed-off-by: Seiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c