summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-at91-usart.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-03 13:57:18 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-03 13:57:18 +0300
commit4dcb78ee579cdf90e30c5a0223f6f160ea37182d (patch)
tree5557edd70233ffa3ee3412be5ce7830861f542f5 /drivers/spi/spi-at91-usart.c
parent3a5be9b8f43346a24f31c0017cb2566a6b2c72c5 (diff)
downloadlinux-4dcb78ee579cdf90e30c5a0223f6f160ea37182d.tar.xz
intel_idle: Introduce 'states_off' module parameter
In certain system configurations it may not be desirable to use some C-states assumed to be available by intel_idle and the driver needs to be prevented from using them even before the cpuidle sysfs interface becomes accessible to user space. Currently, the only way to achieve that is by setting the 'max_cstate' module parameter to a value lower than the index of the shallowest of the C-states in question, but that may be overly intrusive, because it effectively makes all of the idle states deeper than the 'max_cstate' one go away (and the C-state to avoid may be in the middle of the range normally regarded as available). To allow that limitation to be overcome, introduce a new module parameter called 'states_off' to represent a list of idle states to be disabled by default in the form of a bitmask and update the documentation to cover it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/spi/spi-at91-usart.c')
0 files changed, 0 insertions, 0 deletions