]> git.baikalelectronics.ru Git - kernel.git/commit
powercap: intel_rapl: support new layout of Psys PowerLimit Register on SPR
authorZhang Rui <rui.zhang@intel.com>
Tue, 7 Dec 2021 13:17:34 +0000 (21:17 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 17 Dec 2021 15:13:14 +0000 (16:13 +0100)
commit42dc37dc71173a038e31e593123ea08cd6c8fb9b
tree1be032747e0198dfd3b7652b554b8f93313e0062
parentf4faf532b51b095af557f2b8dce62f42101c8b01
powercap: intel_rapl: support new layout of Psys PowerLimit Register on SPR

On Sapphire Rapids, the layout of the Psys domain Power Limit Register
is different from from what it was before.

Enhance the code to support the new Psys PL register layout.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reported-and-tested-by: Alkattan Dana <dana.alkattan@intel.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c
include/linux/intel_rapl.h