powercap: intel_rapl_tpmi: Fix a register bug
BugLink: https://bugs.launchpad.net/bugs/2060531
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
committed by
Roxana Nicolescu
parent
3219f6f648
commit
66b7841447
@@ -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