powercap/rapl: add ids for future xeon cpus
PATCH 1/2 powercap/rapl: add ids for future xeon cpus
Enable RAPL driver on Xeon cpu id 0x56.
Signed-off-by Jacob Pan <[email protected]>
--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)
drivers/powercap/intel_rapl.c +1 -0
@@ -1041,6 +1041,7 @@ static const struct x86_cpu_id rapl_ids[] = {RAPL_CPU (0x45 , rapl_defaults_core),/* Haswell ULT */ RAPL_CPU (0x4C , rapl_defaults_atom),/* Braswell */ RAPL_CPU (0x4A , rapl_defaults_atom),/* Tangier */ +RAPL_CPU (0x56 , rapl_defaults_core),/* Future Xeon */ RAPL_CPU(0x5A, rapl_defaults_atom),/* Annidale */ {} };
Signature · 1 line
1.9.1