summaryrefslogtreecommitdiff
path: root/block/blk-mq-pci.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-13 09:56:38 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-12-27 11:02:09 +0100
commite6d4f08a677654385869ba0c39d7c9ceec47e5c5 (patch)
treecd1c6c5287416d6cc5eb6932befe95b3a743f8a6 /block/blk-mq-pci.c
parent4ec32d9e8e5b6d6eb491eeee3938665d8a2388fa (diff)
intel_idle: Use ACPI _CST on server systems
In many cases, especially on server systems, it is desirable to avoid enabling C-states that have been disabled in the platform firmware (BIOS) setup, except for C1E. As a rule, the C-states disabled this way are not listed by ACPI _CST, so if that is used by intel_idle along with the specific table of C-states that it has for the given processor, the C-states disabled through the platform firmware will not be enabled by default by intel_idle. Accordingly, set the use_acpi flag (introduced previously) in all server processor profiles defined in intel_idle (so as to make it use ACPI _CST to decide which C-states to enable by default) and set the CPUIDLE_FLAG_ALWAYS_ENABLE flag (also introduced previously) for C1E in all C-states tables in intel_idle that contain C1 too (so that C1E is enabled regardless of whether or not it is listed by ACPI _CST). Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block/blk-mq-pci.c')
0 files changed, 0 insertions, 0 deletions