Skip to content
Commit 5021282c authored by Seiichi Ikarashi's avatar Seiichi Ikarashi Committed by Rafael J. Wysocki
Browse files

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: default avatarSeiichi Ikarashi <s.ikarashi@jp.fujitsu.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4e0bec9e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment