• Rafael J. Wysocki's avatar
    Merge branches 'acpi-ec' and 'acpi-processor' · 5847d2d2
    Rafael J. Wysocki authored
    Merge ACPI EC driver updates and ACPI processor driver updates for
    5.17-rc1:
    
     - Rework flushing of EC work while suspended to idle and clean up
       the handling of events in the ACPI EC driver (Rafael Wysocki).
    
     - Prohibit ec_sys module parameter write_support from being used
       when the system is locked down (Hans de Goede).
    
     - Make the ACPI processor thermal driver use cpufreq_cpu_get() to
       check for presence of cpufreq policy (Manfred Spraul).
    
     - Avoid unnecessary CPU cache flushing in the ACPI processor idle
       driver (Kirill A. Shutemov).
    
     - Replace kernel.h with the necessary inclusions in the ACPI
       processor driver (Andy Shevchenko).
    
     - Use swap() instead of open coding it in the ACPI processor idle
       driver (Guo Zhengkui).
    
    * acpi-ec:
      ACPI: EC: Mark the ec_sys write_support param as module_param_hw()
      ACPI: EC: Relocate acpi_ec_create_query() and drop acpi_ec_delete_query()
      ACPI: EC: Make the event work state machine visible
      ACPI: EC: Avoid queuing unnecessary work in acpi_ec_submit_event()
      ACPI: EC: Rename three functions
      ACPI: EC: Simplify locking in acpi_ec_event_handler()
      ACPI: EC: Rearrange the loop in acpi_ec_event_handler()
      ACPI: EC: Fold acpi_ec_check_event() into acpi_ec_event_handler()
      ACPI: EC: Pass one argument to acpi_ec_query()
      ACPI: EC: Call advance_transaction() from acpi_ec_dispatch_gpe()
      ACPI: EC: Rework flushing of EC work while suspended to idle
    
    * acpi-processor:
      ACPI: processor: thermal: avoid cpufreq_get_policy()
      ACPI: processor: idle: Only flush cache on entering C3
      ACPI: processor idle: Use swap() instead of open coding it
      ACPI: processor: Replace kernel.h with the necessary inclusions
    5847d2d2
processor_idle.c 35.2 KB