aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/powercap/intel_rapl.c
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2014-02-10 09:11:52 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-02-13 18:49:34 -0500
commitd6b2e6d09aa18738dd29277617a186fa827bd7e1 (patch)
tree71a618545cccf86cb138db213a383a66353ade11 /drivers/powercap/intel_rapl.c
parent7b8747725d0a6842a82ea60fe95b9d4d7ae008fd (diff)
powercap / intel_rapl: spell out SoC names
Spell out names for supported SoCs. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap/intel_rapl.c')
-rw-r--r--drivers/powercap/intel_rapl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c
index 0e37fe106eb2..61b51e17d932 100644
--- a/drivers/powercap/intel_rapl.c
+++ b/drivers/powercap/intel_rapl.c
@@ -834,7 +834,7 @@ static int rapl_write_data_raw(struct rapl_domain *rd,
834} 834}
835 835
836static const struct x86_cpu_id energy_unit_quirk_ids[] = { 836static const struct x86_cpu_id energy_unit_quirk_ids[] = {
837 { X86_VENDOR_INTEL, 6, 0x37},/* VLV */ 837 { X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */
838 {} 838 {}
839}; 839};
840 840
@@ -947,11 +947,11 @@ static void package_power_limit_irq_restore(int package_id)
947} 947}
948 948
949static const struct x86_cpu_id rapl_ids[] = { 949static const struct x86_cpu_id rapl_ids[] = {
950 { X86_VENDOR_INTEL, 6, 0x2a},/* SNB */ 950 { X86_VENDOR_INTEL, 6, 0x2a},/* Sandy Bridge */
951 { X86_VENDOR_INTEL, 6, 0x2d},/* SNB EP */ 951 { X86_VENDOR_INTEL, 6, 0x2d},/* Sandy Bridge EP */
952 { X86_VENDOR_INTEL, 6, 0x37},/* VLV */ 952 { X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */
953 { X86_VENDOR_INTEL, 6, 0x3a},/* IVB */ 953 { X86_VENDOR_INTEL, 6, 0x3a},/* Ivy Bridge */
954 { X86_VENDOR_INTEL, 6, 0x45},/* HSW */ 954 { X86_VENDOR_INTEL, 6, 0x45},/* Haswell */
955 /* TODO: Add more CPU IDs after testing */ 955 /* TODO: Add more CPU IDs after testing */
956 {} 956 {}
957}; 957};