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: 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>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
1aa09b9379
commit
faa9130ce7
@ -40,6 +40,7 @@ enum tpmi_rapl_register {
|
|||||||
TPMI_RAPL_REG_ENERGY_STATUS,
|
TPMI_RAPL_REG_ENERGY_STATUS,
|
||||||
TPMI_RAPL_REG_PERF_STATUS,
|
TPMI_RAPL_REG_PERF_STATUS,
|
||||||
TPMI_RAPL_REG_POWER_INFO,
|
TPMI_RAPL_REG_POWER_INFO,
|
||||||
|
TPMI_RAPL_REG_DOMAIN_INFO,
|
||||||
TPMI_RAPL_REG_INTERRUPT,
|
TPMI_RAPL_REG_INTERRUPT,
|
||||||
TPMI_RAPL_REG_MAX = 15,
|
TPMI_RAPL_REG_MAX = 15,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user