mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
powercap: intel_rapl_tpmi: Fix a register bug
[ Upstream commit faa9130ce716b286d786d59032bacfd9052c2094 ]
Add the missing Domain Info register. This also fixes the bogus
definition of the Interrupt register.
Neither of these two registers was used previously.
Fixes: 9eef7f9da9 ("powercap: intel_rapl: Introduce RAPL TPMI interface driver")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Cc: 6.5+ <stable@vger.kernel.org> # 6.5+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d6c83ee705
commit
b5cbb42fb6
@@ -40,6 +40,7 @@ enum tpmi_rapl_register {
|
||||
TPMI_RAPL_REG_ENERGY_STATUS,
|
||||
TPMI_RAPL_REG_PERF_STATUS,
|
||||
TPMI_RAPL_REG_POWER_INFO,
|
||||
TPMI_RAPL_REG_DOMAIN_INFO,
|
||||
TPMI_RAPL_REG_INTERRUPT,
|
||||
TPMI_RAPL_REG_MAX = 15,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user