• Linus Torvalds's avatar
    Merge tag 'acpi-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · d4b671d4
    Linus Torvalds authored
    Pull ACPI updates from Rafael Wysocki:
     "These fix issues, add new quirks, rearrange the IRQ override quirk
      definitions, add new helpers and switch over code to using them,
      rework a couple of interfaces to be more flexible, eliminate strncpy()
      usage from PNP, extend the ACPI PCC mailbox driver and clean up code.
    
      This is based on ACPI thermal driver changes that are present in the
      thermal control updates for 6.7-rc1 pull request (they are depended on
      by the ACPI utilities updates). However, the ACPI thermal driver
      changes are not included in the list of specific ACPI changes below.
    
      Specifics:
    
       - Add symbol definitions related to CDAT to the ACPICA code (Dave
         Jiang)
    
       - Use the acpi_device_is_present() helper in more places and rename
         acpi_scan_device_not_present() to be about enumeration (James
         Morse)
    
       - Add __printf format attribute to acpi_os_vprintf() (Su Hui)
    
       - Clean up departures from kernel coding style in the low-level
         interface for ACPICA (Jonathan Bergh)
    
       - Replace strncpy() with strscpy() in acpi_osi_setup() (Justin Stitt)
    
       - Fail FPDT parsing on zero length records and add proper handling
         for fpdt_process_subtable() to acpi_init_fpdt() (Vasily Khoruzhick)
    
       - Rework acpi_handle_list handling so as to manage it dynamically,
         including size computation (Rafael Wysocki)
    
       - Clean up ACPI utilities code so as to make it follow the kernel
         coding style (Jonathan Bergh)
    
       - Consolidate IRQ trigger-type override DMI tables and drop .ident
         values from dmi_system_id tables used for ACPI resources management
         quirks (Hans de Goede)
    
       - Add ACPI IRQ override for TongFang GMxXGxx (Werner Sembach)
    
       - Allow _DSD buffer data only for byte accessors and document the
         _DSD data buffer GUID (Andy Shevchenko)
    
       - Drop BayTrail and Lynxpoint pinctrl device IDs from the ACPI LPSS
         driver, because it does not need them (Raag Jadav)
    
       - Add acpi_backlight=vendor quirk for Toshiba Portégé R100 (Ondrej
         Zary)
    
       - Add "vendor" backlight quirks for 3 Lenovo x86 Android tablets
         (Hans de Goede)
    
       - Move Xiaomi Mi Pad 2 backlight quirk to its own section (Hans de
         Goede)
    
       - Annotate struct prm_module_info with __counted_by (Kees Cook)
    
       - Fix AER info corruption in aer_recover_queue() when error status
         data has multiple sections (Shiju Jose)
    
       - Make APEI use ERST maximum execution time for slow devices (Jeshua
         Smith)
    
       - Add support for platform notification handling to the PCC mailbox
         driver and modify it to support shared interrupts for multiple
         subspaces (Huisong Li)
    
       - Define common macros to use when referring to various bitfields in
         the PCC generic communications channel command and status fields
         and use them in some drivers (Sudeep Holla)
    
       - Add EC GPE detection quirk for HP 250 G7 Notebook PC (Jonathan
         Denose)
    
       - Fix and clean up create_pnp_modalias() and create_of_modalias()
         (Christophe JAILLET)
    
       - Modify 2 pieces of code to use acpi_evaluate_dsm_typed() (Andy
         Shevchenko)
    
       - Define acpi_dev_uid_match() for matching _UID and use it in several
         places (Raag Jadav)
    
       - Use acpi_device_uid() for fetching _UID in 2 places (Raag Jadav)
    
       - Add context argument to acpi_dev_install_notify_handler() (Rafael
         Wysocki)
    
       - Clarify ACPI bus concepts in the ACPI device enumeration
         documentation (Rafael Wysocki)
    
       - Switch over the ACPI AC and ACPI PAD drivers to using the platform
         driver interface which, is more logically consistent than binding a
         driver directly to an ACPI device object, and clean them up (Michal
         Wilczynski)
    
       - Replace strncpy() in the PNP code with either memcpy() or strscpy()
         as appropriate (Justin Stitt)
    
       - Clean up coding style in pnp.h (GuoHua Cheng)"
    
    * tag 'acpi-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (54 commits)
      ACPI: resource: Do IRQ override on TongFang GMxXGxx
      perf: arm_cspmu: use acpi_dev_hid_uid_match() for matching _HID and _UID
      ACPI: EC: Add quirk for HP 250 G7 Notebook PC
      ACPI: x86: use acpi_dev_uid_match() for matching _UID
      ACPI: utils: use acpi_dev_uid_match() for matching _UID
      pinctrl: intel: use acpi_dev_uid_match() for matching _UID
      ACPI: utils: Introduce acpi_dev_uid_match() for matching _UID
      ACPI: sysfs: Clean up create_pnp_modalias() and create_of_modalias()
      ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
      ACPI: acpi_pad: Rename ACPI device from device to adev
      ACPI: acpi_pad: Use dev groups for sysfs
      ACPI: acpi_pad: Replace acpi_driver with platform_driver
      ACPI: APEI: Use ERST timeout for slow devices
      ACPI: scan: Rename acpi_scan_device_not_present() to be about enumeration
      PNP: replace deprecated strncpy() with memcpy()
      PNP: ACPI: replace deprecated strncpy() with strscpy()
      perf: qcom: use acpi_device_uid() for fetching _UID
      ACPI: sysfs: use acpi_device_uid() for fetching _UID
      ACPI: scan: Use the acpi_device_is_present() helper in more places
      ACPI: AC: Rename ACPI device from device to adev
      ...
    d4b671d4
thermal.c 28.2 KB