1. 03 Feb, 2020 2 commits
    • Rafael J. Wysocki's avatar
      intel_idle: Introduce 'states_off' module parameter · 4dcb78ee
      Rafael J. Wysocki authored
      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: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      4dcb78ee
    • Rafael J. Wysocki's avatar
      intel_idle: Introduce 'use_acpi' module parameter · 3a5be9b8
      Rafael J. Wysocki authored
      For diagnostics, it is generally useful to be able to make intel_idle
      take the system's ACPI tables into consideration even if that is not
      required for the processor model in there, so introduce a new module
      parameter, 'use_acpi', to make that happen and update the documentation
      to cover it.
      
      While at it, fix the 'no_acpi' module parameter name in the
      documentation.
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3a5be9b8
  2. 31 Jan, 2020 38 commits