1. 03 Oct, 2022 4 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-uid' · 4aa497ca
      Rafael J. Wysocki authored
      Merge ACPI _UID handling unification changes for 6.1-rc1:
      
       - Introduce acpi_dev_uid_to_integer() to convert a _UID string into an
         integer value (Andy Shevchenko).
      
       - Use acpi_dev_uid_to_integer() in several places to unify _UID
         handling (Andy Shevchenko).
      
      * acpi-uid:
        efi/dev-path-parser: Refactor _UID handling to use acpi_dev_uid_to_integer()
        spi: pxa2xx: Refactor _UID handling to use acpi_dev_uid_to_integer()
        perf: qcom_l2_pmu: Refactor _UID handling to use acpi_dev_uid_to_integer()
        i2c: mlxbf: Refactor _UID handling to use acpi_dev_uid_to_integer()
        i2c: amd-mp2-plat: Refactor _UID handling to use acpi_dev_uid_to_integer()
        ACPI: x86: Refactor _UID handling to use acpi_dev_uid_to_integer()
        ACPI: LPSS: Refactor _UID handling to use acpi_dev_uid_to_integer()
        ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integer
      4aa497ca
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-misc', 'acpi-tools' and 'acpi-docs' · a7ece531
      Rafael J. Wysocki authored
      Merge miscellaneous ACPI material, ACPI tools changes and ACPI
      documentation updates for 6.1-rc1:
      
       - Drop references to non-functional 01.org/linux-acpi web site from
         MAINTAINERS and Kconfig help texts (Rafael Wysocki).
      
       - Replace strlcpy() with unused retval with strscpy() in the ACPI
         support code (Wolfram Sang).
      
       - Do not initialize ret in main() in the pfrut utility (Shi junming).
      
       - Drop useless ACPI DSDT override documentation (Rafael Wysocki).
      
       - Fix a few typos and wording mistakes in the ACPI device enumeration
         documentation (Jean Delvare).
      
      * acpi-misc:
        MAINTAINERS: Drop records pointing to 01.org/linux-acpi
        ACPI: Kconfig: Drop link to https://01.org/linux-acpi
        ACPI: DPTF: Drop stale link from Kconfig help
        ACPI: move from strlcpy() with unused retval to strscpy()
      
      * acpi-tools:
        ACPI: tools: pfrut: Do not initialize ret in main()
      
      * acpi-docs:
        ACPI: docs: Drop useless DSDT override documentation
        ACPI: docs: enumeration: Fix a few typos and wording mistakes
      a7ece531
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-ec', 'acpi-ac', 'acpi-fan', 'acpi-video' and 'acpi-amba' · 7b4baa39
      Rafael J. Wysocki authored
      Merge EC, AC, fan and backlight driver changes and ACPI AMBA support
      update for 6.1-rc1:
      
       - Drop unneeded result variable from ec_write() (ye xingchen).
      
       - Remove the leftover struct acpi_ac_bl from the ACPI AC driver (Hanjun
         Guo).
      
       - Reorder symbols to get rid of a few forward declarations in the ACPI
         fan driver (Uwe Kleine-König).
      
       - Add Toshiba Satellite/Portege Z830 ACPI backlight quirk (Arvid
         Norlander).
      
       - Add ARM DMA-330 controller to the supported list in the ACPI AMBA
         driver (Vijayenthiran Subramaniam).
      
      * acpi-ec:
        ACPI: EC: Drop unneeded result variable from ec_write()
      
      * acpi-ac:
        ACPI: AC: Remove the leftover struct acpi_ac_bl
      
      * acpi-fan:
        ACPI: fan: Reorder symbols to get rid of a few forward declarations
      
      * acpi-video:
        ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
      
      * acpi-amba:
        ACPI: AMBA: Add ARM DMA-330 controller to the supported list
      7b4baa39
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-cppc', 'acpi-pcc', 'acpi-apei' and 'acpi-osi' · b1d03b7e
      Rafael J. Wysocki authored
      Merge new material related to CPPC, PCC, APEI and OSI strings handling
      for 6.1-rc1:
      
       - Disable frequency invariance in the CPPC library if registers used
         by cppc_get_perf_ctrs() are accessed via PCC (Jeremy Linton).
      
       - Add ACPI disabled check to acpi_cpc_valid() (Perry Yuan).
      
       - Fix Tx acknowledge in the PCC address space handler (Huisong Li).
      
       - Use wait_for_completion_timeout() for PCC mailbox operations (Huisong
         Li).
      
       - Release resources on PCC address space setup failure path (Rafael
         Mendonca).
      
       - Remove unneeded result variables from APEI code (ye xingchen).
      
       - Print total number of records found during BERT log parsing (Dmitry
         Monakhov).
      
       - Drop support for 3 _OSI strings that should not be necessary any
         more and update documentation on custom _OSI strings so that adding
         new ones is not encouraged any more (Mario Limonciello).
      
      * acpi-cppc:
        ACPI: CPPC: Disable FIE if registers in PCC regions
        ACPI: CPPC: Add ACPI disabled check to acpi_cpc_valid()
      
      * acpi-pcc:
        ACPI: PCC: Fix Tx acknowledge in the PCC address space handler
        ACPI: PCC: replace wait_for_completion()
        ACPI: PCC: Release resources on address space setup failure path
      
      * acpi-apei:
        ACPI: APEI: Remove unneeded result variables
        ACPI: APEI: Add BERT error log footer
      
      * acpi-osi:
        ACPI: OSI: Update Documentation on custom _OSI strings
        ACPI: OSI: Remove Linux-HPI-Hybrid-Graphics _OSI string
        ACPI: OSI: Remove Linux-Lenovo-NV-HDMI-Audio _OSI string
        ACPI: OSI: Remove Linux-Dell-Video _OSI string
      b1d03b7e
  2. 30 Sep, 2022 6 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-properties', 'acpi-tables', 'acpi-x86' and 'acpi-soc' · e996c7e0
      Rafael J. Wysocki authored
      Merge changes related to ACPI data-only tables handling and ACPI device
      properties management, x86-specific ACPI code changes and ACPI SoC driver
      changes for 6.1-rc1:
      
       - Clean up the ACPI LPSS (Intel SoC) driver (Andy Shevchenko).
      
       - Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable (Mario
         Limonciello).
      
       - Drop unused dev_fmt() and redundant 'HMAT' prefix from the HMAT
        parsing code (Liu Shixin).
      
       - Make ACPI FPDT parsing code avoid calling acpi_os_map_memory() on
         invalid physical addresses (Hans de Goede).
      
       - Silence missing-declarations warning related to Apple device
         properties management (Lukas Wunner).
      
      * acpi-properties:
        ACPI: property: Silence missing-declarations warning in apple.c
      
      * acpi-tables:
        ACPI: HMAT: Drop unused dev_fmt() and redundant 'HMAT' prefix
        ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address
      
      * acpi-x86:
        ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
      
      * acpi-soc:
        ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device()
        ACPI: LPSS: Replace loop with first entry retrieval
      e996c7e0
    • Andy Shevchenko's avatar
      ACPI: LPSS: Deduplicate skipping device in acpi_lpss_create_device() · 6cc401be
      Andy Shevchenko authored
      Add a new label to deduplicate skipping device code in the
      acpi_lpss_create_device(). No functional change intended.
      
      While at it, convert the last conditional to use the classical
      pattern, i.e.
      
      	if (err)
      		...handle err...
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6cc401be
    • Andy Shevchenko's avatar
      ACPI: LPSS: Replace loop with first entry retrieval · da13b336
      Andy Shevchenko authored
      After the commit 6505e452371d ("ACPI: LPSS: Use the helper
      acpi_dev_get_memory_resources()") the list is empty or
      contains only resource of IORESOURCE_MEM type. Hence, no
      need to check for the type, and since we break after the
      first found, no need to iterate over full list. That said,
      replace loop with first entry retrieval.
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      da13b336
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-bus' and 'acpi-platform' · c77f54a9
      Rafael J. Wysocki authored
      Merge changes related to ACPI device enumeration and ACPI support for
      platform devices for 6.1-rc1:
      
       - Clean up ACPI platform devices support code (Andy Shevchenko, John
         Garry).
      
       - Clean up ACPI bus management code (Andy Shevchenko, ye xingchen).
      
       - Add support for multiple DMA windows with different offsets to the
         ACPI device enumeration code and use it on LoongArch (Jianmin Lv).
      
      * acpi-scan:
        LoongArch: Use acpi_arch_dma_setup() and remove ARCH_HAS_PHYS_TO_DMA
        ACPI: scan: Support multiple DMA windows with different offsets
      
      * acpi-bus:
        ACPI: bus: Refactor ACPI matching functions for better readability
        ACPI: bus: Drop kernel doc annotation from acpi_bus_notify()
        ACPI: bus: Remove the unneeded result variable
      
      * acpi-platform:
        ACPI: platform: Use PLATFORM_DEVID_NONE in acpi_create_platform_device()
        ACPI: platform: Sort forbidden_id_list[] in ascending order
        ACPI: platform: Use sizeof(*pointer) instead of sizeof(type)
        ACPI: platform: Remove redundant print on -ENOMEM
        ACPI: platform: Get rid of redundant 'else'
      c77f54a9
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-resource' and 'acpi-pm' · d61991db
      Rafael J. Wysocki authored
      Merge ACPI resource management and ACPI power management chages for
      6.1-rc1:
      
       - Filter out non-memory resources in is_memory(), add a helper
         function to find all memory type resources of an ACPI device object
         and use that function in 3 places (Heikki Krogerus).
      
       - Add IRQ override quirks for Asus Vivobook K3402ZA/K3502ZA and ASUS
         model S5402ZA (Tamim Khan, Kellen Renshaw).
      
       - Fix acpi_dev_state_d0() kerneldoc (Sakari Ailus).
      
       - Fix up suspend-to-idle support on ASUS Rembrandt laptops (Mario
         Limonciello).
      
      * acpi-resource:
        ACPI: resource: Add ASUS model S5402ZA to quirks
        usb: typec: intel_pmc_mux: Use the helper acpi_dev_get_memory_resources()
        ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
        ACPI: LPSS: Use the helper acpi_dev_get_memory_resources()
        ACPI: APD: Use the helper acpi_dev_get_memory_resources()
        ACPI: resource: Add helper function acpi_dev_get_memory_resources()
        ACPI: resource: Filter out the non memory resources in is_memory()
      
      * acpi-pm:
        ACPI: x86: s2idle: Add another ID to s2idle_dmi_table
        ACPI: x86: s2idle: Fix a NULL pointer dereference
        ACPI: x86: s2idle: Add a quirk for ASUSTeK COMPUTER INC. ROG Flow X13
        ACPI: x86: s2idle: Add a quirk for Lenovo Slim 7 Pro 14ARH7
        ACPI: x86: s2idle: Add a quirk for ASUS ROG Zephyrus G14
        ACPI: x86: s2idle: Add a quirk for ASUS TUF Gaming A17 FA707RE
        ACPI: x86: s2idle: Add module parameter to prefer Microsoft GUID
        ACPI: x86: s2idle: If a new AMD _HID is missing assume Rembrandt
        ACPI: x86: s2idle: Move _HID handling for AMD systems into structures
        ACPI: PM: Fix acpi_dev_state_d0() kerneldoc
      d61991db
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-dev' · 80487a37
      Rafael J. Wysocki authored
      Merge changes regarding the management of ACPI device objects for
      6.1-rc1:
      
       - Rename ACPI device object reference counting functions (Rafael
         Wysocki).
      
       - Rearrange ACPI device object initialization code (Rafael Wysocki).
      
       - Drop parent field from struct acpi_device (Rafael Wysocki).
      
       - Extend the the int3472-tps68470 driver to support multiple consumers
         of a single TPS68470 along with the requisite framework-level
         support (Daniel Scally).
      
      * acpi-dev:
        platform/x86: int3472: Add board data for Surface Go2 IR camera
        platform/x86: int3472: Support multiple gpio lookups in board data
        platform/x86: int3472: Support multiple clock consumers
        ACPI: bus: Add iterator for dependent devices
        ACPI: scan: Add acpi_dev_get_next_consumer_dev()
        ACPI: property: Use acpi_dev_parent()
        ACPI: Drop redundant acpi_dev_parent() header
        ACPI: PM: Fix NULL argument handling in acpi_device_get/set_power()
        ACPI: Drop parent field from struct acpi_device
        ACPI: scan: Eliminate __acpi_device_add()
        ACPI: scan: Rearrange initialization of ACPI device objects
        ACPI: scan: Rename acpi_bus_get_parent() and rearrange it
        ACPI: Rename acpi_bus_get/put_acpi_device()
      80487a37
  3. 28 Sep, 2022 6 commits
  4. 25 Sep, 2022 7 commits
  5. 24 Sep, 2022 14 commits
  6. 22 Sep, 2022 3 commits