Skip to content

Commit faa9130

Browse files
zhang-ruirafaeljw
authored andcommitted
powercap: intel_rapl_tpmi: Fix a register bug
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: 9eef7f9 ("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>
1 parent 1aa09b9 commit faa9130

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/powercap/intel_rapl_tpmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ enum tpmi_rapl_register {
4040
TPMI_RAPL_REG_ENERGY_STATUS,
4141
TPMI_RAPL_REG_PERF_STATUS,
4242
TPMI_RAPL_REG_POWER_INFO,
43+
TPMI_RAPL_REG_DOMAIN_INFO,
4344
TPMI_RAPL_REG_INTERRUPT,
4445
TPMI_RAPL_REG_MAX = 15,
4546
};

0 commit comments

Comments
 (0)