[PATCH] powercap/rapl: add cpu id for broxton

From: Jacob Pan
Date: Mon Nov 23 2015 - 13:47:58 EST


Broxton is Atom based SoC which supports RAPL interface
that is compatible with Core.

Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
---
drivers/powercap/intel_rapl.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 5efacd0..bfc353b 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -1104,6 +1104,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
RAPL_CPU(0x5A, rapl_defaults_ann),/* Annidale */
RAPL_CPU(0x5E, rapl_defaults_core),/* Skylake-H/S */
RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */
+ RAPL_CPU(0x5C, rapl_defaults_core),/* Broxton */
{}
};
MODULE_DEVICE_TABLE(x86cpu, rapl_ids);
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/