]> 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)
commit0f469e39f3afcca506ecaba9e4fe2946d79023a6
tree1be032747e0198dfd3b7652b554b8f93313e0062
parentc218e0b6cbbdf0307713783ed79056cea7414e80
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