summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorAdrian Huang <adrianhuang0701@gmail.com>2013-10-31 15:24:05 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-11-07 01:05:48 (GMT)
commitfbbcdc0744dace5fcc8147d11c5fb0791126848a (patch)
treee2506ea9e867fb609300b06cbfa746b6ed0fd59b /virt
parent880eef041655b35f9aa488726ea3c4303a4f2204 (diff)
downloadlinux-fsl-qoriq-fbbcdc0744dace5fcc8147d11c5fb0791126848a.tar.xz
intel_pstate: skip the driver if ACPI has power mgmt option
Do not load the Intel pstate driver if the platform firmware (ACPI BIOS) supports the power management alternatives. The ACPI BIOS indicates that the OS control mode can be used if the _PSS (Performance Supported States) is defined in ACPI table. For the OS control mode, the Intel pstate driver will be loaded. HP BIOS has several power management modes (firmware, OS-control and so on). For the OS control mode in HP BIOS, the Intel p-state driver will be loaded. When the customer chooses the firmware power management in HP BIOS, the Intel p-state driver will be ignored. I put hw_vendor_info vendor_info in case other vendors (Dell, Lenovo...) have their firmware power management. Vendors should make sure their firmware power management works properly, and they can go for adding their vendor info to the variable. I have verified the patch on HP ProLiant servers. The patch worked correctly. Signed-off-by: Adrian Huang <adrianhuang0701@gmail.com> [rjw: Fixed up !CONFIG_ACPI build] [Linda Knippers: As Adrian has recently left HP, I retested the updated patch on an HP ProLiant server and verified that it is behaving correctly. When the BIOS is configured for OS control for power management, the intel_pstate driver loads as expected. When the BIOS is configured to provide the power management, the intel_pstate driver does not load and we get the pcc_cpufreq driver instead.] Signed-off-by: Linda Knippers <linda.knippers@hp.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions