• Linus Torvalds's avatar
    Merge tag 'acpi-6.1-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 3a1e24fa
    Linus Torvalds authored
    Pull more ACPI updates from Rafael Wysocki:
     "These fix two issues, in APEI and in the int3472 driver, clean up the
      ACPI thermal driver, add ACPI support for non-GPE system wakeup events
      and make the system reboot code use the S5 (system off) state by
      default.
    
      Specifics:
    
       - Fix ACPI device object reference counting in (recently updated)
         skl_int3472_fill_clk_pdata() (Andy Shevchenko).
    
       - Fix a memory leak in APEI by avoiding to add a 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)"
    
    * tag 'acpi-6.1-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI: thermal: Drop some redundant code
      ACPI: thermal: Drop redundant parens from expressions
      ACPI: thermal: Use white space more consistently
      platform/x86: int3472: Don't leak reference on error
      ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
      PM: ACPI: reboot: Reinstate S5 for reboot
      kernel/reboot: Add SYS_OFF_MODE_RESTART_PREPARE mode
      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
    3a1e24fa
gpiolib-acpi.c 42.9 KB