• Linus Torvalds's avatar
    Merge tag 'acpi-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · c0d6586a
    Linus Torvalds authored
    Pull ACPI updates from Rafael Wysocki:
     "These update the ACPICA code in the kernel to the most recent upstream
      revision, address some issues related to the ACPI power resources
      management, simplify the enumeration of PCI devices having ACPI
      companions, add new quirks, fix assorted problems, update the
      ACPI-related information in maintainers and clean up code in several
      places.
    
      Specifics:
    
       - Update the ACPICA code in the kernel to upstream revision 20210930
         including the following changes:
    
            - Fix system-wide resume issue caused by evaluating control
              methods too early in the resume path (Rafael Wysocki).
    
            - Add support for Windows 2020 _OSI string (Mario Limonciello).
    
            - Add Generic Port Affinity type for SRAT (Alison Schofield).
    
            - Add disassembly support for the NHLT ACPI table (Bob Moore).
    
       - Avoid flushing caches before entering C3 type of idle states on AMD
         processors (Deepak Sharma).
    
       - Avoid enumerating CPUs that are not present and not online-capable
         according to the platform firmware (Mario Limonciello).
    
       - Add DMI-based mechanism to quirk IRQ overrides and use it for two
         platforms (Hui Wang).
    
       - Change the configuration of unused ACPI device objects to reflect
         the D3cold power state after enumerating devices (Rafael Wysocki).
    
       - Update MAINTAINERS information regarding ACPI (Rafael Wysocki).
    
       - Fix typo in ACPI Kconfig (Masanari Iid).
    
       - Use sysfs_emit() instead of snprintf() in some places (Qing Wang).
    
       - Make the association of ACPI device objects with PCI devices more
         straightforward and simplify the code doing that for all devices in
         general (Rafael Wysocki).
    
       - Use acpi_device_adr() in acpi_find_child_device() instead of
         evaluating _ADR (Rafael Wysocki).
    
       - Drop duplicate device IDs from PNP device IDs list (Krzysztof
         Kozlowski).
    
       - Allow acpi_idle_play_dead() to use C3 on AMD processors (Richard
         Gong).
    
       - Use ACPI_COMPANION() to simplify code in some drivers (Rafael
         Wysocki).
    
       - Check the states of all ACPI power resources during initialization
         to avoid dealing with power resources in unknown states (Rafael
         Wysocki).
    
       - Fix ACPI power resource issues related to sharing wakeup power
         resources (Rafael Wysocki).
    
       - Avoid registering redundant suspend_ops (Rafael Wysocki).
    
       - Report battery charging state as "full" if it appears to be over
         the design capacity (André Almeida).
    
       - Quirk GK45 mini PC to skip reading _PSR in the AC driver (Stefan
         Schaeckeler).
    
       - Mark apei_hest_parse() static (Christoph Hellwig).
    
       - Relax platform response timeout to 1 second after instructing it to
         inject an error (Shuai Xue).
    
       - Make the PRM code handle memory allocation and remapping failures
         more gracefully and drop some unnecessary blank lines from that
         code (Aubrey Li).
    
       - Fix spelling mistake in the ACPI documentation (Colin Ian King)"
    
    * tag 'acpi-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (36 commits)
      ACPI: glue: Use acpi_device_adr() in acpi_find_child_device()
      perf: qcom_l2_pmu: ACPI: Use ACPI_COMPANION() directly
      ACPI: APEI: mark apei_hest_parse() static
      ACPI: APEI: EINJ: Relax platform response timeout to 1 second
      gpio-amdpt: ACPI: Use the ACPI_COMPANION() macro directly
      nouveau: ACPI: Use the ACPI_COMPANION() macro directly
      ACPI: resources: Add one more Medion model in IRQ override quirk
      ACPI: AC: Quirk GK45 to skip reading _PSR
      ACPI: PM: sleep: Do not set suspend_ops unnecessarily
      ACPI: PRM: Handle memory allocation and memory remap failure
      ACPI: PRM: Remove unnecessary blank lines
      ACPI: PM: Turn off wakeup power resources on _DSW/_PSW errors
      ACPI: PM: Fix sharing of wakeup power resources
      ACPI: PM: Turn off unused wakeup power resources
      ACPI: PM: Check states of power resources during initialization
      ACPI: replace snprintf() in "show" functions with sysfs_emit()
      ACPI: LPSS: Use ACPI_COMPANION() directly
      ACPI: scan: Release PM resources blocked by unused objects
      ACPI: battery: Accept charges over the design capacity as full
      ACPICA: Update version to 20210930
      ...
    c0d6586a
scan.c 66.1 KB