• Rafael J. Wysocki's avatar
    Merge branches 'acpi-apei', 'acpi-wakeup', 'acpi-reboot' and 'acpi-thermal' · 056a8154
    Rafael J. Wysocki authored
    Merge additional APEI changes, ACPI updates related to device wakeup and
    system restart and ACPI thermal driver cleanups for 6.1-rc1:
    
     - Fix a memory leak in APEI by avoiding to add do not add task_work to
       kernel threads running when an asynchronous error is detected (Shuai
       Xue).
    
     - Add ACPI support for handling system wakeups via GPIO wake capable
       IRQs in addition to GPEs (Raul E Rangel).
    
     - Make the system reboot code put ACPI-enabled systems into the S5
       (system off) state which is necessary for some platforms to work as
       expected (Kai-Heng Feng).
    
     - Make the white space usage in the ACPI thermal driver more consistent
       and drop redundant code from it (Rafael Wysocki).
    
    * acpi-apei:
      ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
    
    * acpi-wakeup:
      ACPI: PM: Take wake IRQ into consideration when entering suspend-to-idle
      i2c: acpi: Use ACPI wake capability bit to set wake_irq
      ACPI: resources: Add wake_capable parameter to acpi_dev_irq_flags
      gpiolib: acpi: Add wake_capable variants of acpi_dev_gpio_irq_get
    
    * acpi-reboot:
      PM: ACPI: reboot: Reinstate S5 for reboot
      kernel/reboot: Add SYS_OFF_MODE_RESTART_PREPARE mode
    
    * acpi-thermal:
      ACPI: thermal: Drop some redundant code
      ACPI: thermal: Drop redundant parens from expressions
      ACPI: thermal: Use white space more consistently
    056a8154
resource.c 25.5 KB