]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
cpupower: Haswell also supports the C-states introduced with SandyBridge
authorThomas Renninger <trenn@suse.de>
Fri, 28 Jun 2013 13:34:32 +0000 (15:34 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jul 2013 23:52:19 +0000 (01:52 +0200)
Add Haswell model numbers to snb_register() as it also supports the
C-states introduced in SandyBridge processors.

[rjw: Changelog]
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/utils/idle_monitor/snb_idle.c

index a99b43b97d6d331d85d2e3610ff9bcdbe04524ff..efc8a69c9abafea4c492b52457d5f645254c3180 100644 (file)
@@ -155,6 +155,10 @@ static struct cpuidle_monitor *snb_register(void)
        case 0x2D: /* SNB Xeon */
        case 0x3A: /* IVB */
        case 0x3E: /* IVB Xeon */
+       case 0x3C: /* HSW */
+       case 0x3F: /* HSW */
+       case 0x45: /* HSW */
+       case 0x46: /* HSW */
                break;
        default:
                return NULL;