1. 18 Mar, 2022 7 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-docs' · 1bde8bdd
      Rafael J. Wysocki authored
      Make ACPI documentation updates for 5.18-rc1:
      
       - Update the ACPI device enumeration documentation and unify the ASL
         style in GPIO-related examples (Andy Shevchenko).
      
      * acpi-docs:
        ACPI: docs: gpio-properties: Unify ASL style for GPIO examples
        ACPI: docs: enumeration: Unify Package () for properties
        ACPI: docs: enumeration: Drop comma for terminator entry
        ACPI: docs: enumeration: Drop ugly ifdeffery from the examples
        ACPI: docs: enumeration: Amend PWM enumeration ASL example
        ACPI: docs: enumeration: Remove redundant .owner assignment
        ACPI: docs: enumeration: Update UART serial bus resource documentation
        ACPI: docs: enumeration: Discourage to use custom _DSM methods
      1bde8bdd
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-soc', 'acpi-video' and 'acpi-apei' · 8a9bd50a
      Rafael J. Wysocki authored
      Merge ACPI SoC drivers changes, ACPI backlight driver changes and APEI
      changes for 5.18-rc1:
      
       - Make the ACPI driver for Intel SoCs (LPSS) let the SPI driver know
         the exact type of the controller (Andy Shevchenko).
      
       - Force native backlight mode on Clevo NL5xRU and NL5xNU (Werner
         Sembach).
      
       - Fix return value of __setup handlers in the APEI code (Randy
         Dunlap).
      
       - Add Arm Generic Diagnostic Dump and Reset device driver (Ilkka
         Koskinen).
      
       - Limit printable size of BERT table data (Darren Hart).
      
       - Fix up HEST and GHES initialization (Shuai Xue).
      
      * acpi-soc:
        ACPI: LPSS: Provide an SSP type to the driver
        ACPI: LPSS: Constify properties member in struct lpss_device_desc
        ACPI: platform: Constify properties parameter in acpi_create_platform_device()
      
      * acpi-video:
        ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU
      
      * acpi-apei:
        ACPI: AGDI: Add driver for Arm Generic Diagnostic Dump and Reset device
        ACPI/APEI: Limit printable size of BERT table data
        ACPI: APEI: fix return value of __setup handlers
        ACPI: APEI: rename ghes_init() with an "acpi_" prefix
        ACPI: APEI: explicit init of HEST and GHES in apci_init()
      8a9bd50a
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-ec', 'acpi-cppc', 'acpi-fan' and 'acpi-battery' · 24b2b094
      Rafael J. Wysocki authored
      Merge ACPI EC driver changes, CPPC-related changes, ACPI fan driver
      changes and ACPI battery driver changes for 5.18-rc1:
      
       - Make wakeup events checks in the ACPI EC driver more
         straightforward and clean up acpi_ec_submit_event() (Rafael
         Wysocki).
      
       - Make it possible to obtain the CPU capacity with the help of CPPC
         information (Ionela Voinescu).
      
       - Improve fine grained fan control in the ACPI fan driver and
         document it (Srinivas Pandruvada).
      
       - Add device HID and quirk for Microsoft Surface Go 3 to the ACPI
         battery driver (Maximilian Luz).
      
      * acpi-ec:
        ACPI: EC: Rearrange code in acpi_ec_submit_event()
        ACPI: EC: Reduce indentation level in acpi_ec_submit_event()
        ACPI: EC: Do not return result from advance_transaction()
      
      * acpi-cppc:
        arm64, topology: enable use of init_cpu_capacity_cppc()
        arch_topology: obtain cpu capacity using information from CPPC
        x86, ACPI: rename init_freq_invariance_cppc() to arch_init_invariance_cppc()
      
      * acpi-fan:
        Documentation/admin-guide/acpi: Add documentation for fine grain control
        ACPI: fan: Add additional attributes for fine grain control
        ACPI: fan: Properly handle fine grain control
        ACPI: fan: Optimize struct acpi_fan_fif
        ACPI: fan: Separate file for attributes creation
        ACPI: fan: Fix error reporting to user space
      
      * acpi-battery:
        ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3
      24b2b094
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pm', 'acpi-properties', 'acpi-misc' and 'acpi-x86' · 03d5c98d
      Rafael J. Wysocki authored
      Merge ACPI power management changes, ACPI device properties handling
      changes, x86-specific ACPI changes and miscellaneous ACPI changes for
      5.18-rc1:
      
       - Add power management debug messages related to suspend-to-idle in
         two places (Rafael Wysocki).
      
       - Fix __acpi_node_get_property_reference() return value and clean up
         that function (Andy Shevchenko, Sakari Ailus).
      
       - Fix return value of the __setup handler in the ACPI PM timer clock
         source driver (Randy Dunlap).
      
       - Clean up double words in two comments (Tom Rix).
      
       - Add "skip i2c clients" quirks for Lenovo Yoga Tablet 1050F/L and
         Nextbook Ares 8 (Hans de Goede).
      
       - Clean up frequency invariance handling on x86 in the ACPI CPPC
         library (Huang Rui).
      
       - Work around broken XSDT on the Advantech DAC-BJ01 board (Mark
         Cilissen).
      
      * acpi-pm:
        ACPI: EC / PM: Print additional debug message in acpi_ec_dispatch_gpe()
        ACPI: PM: Print additional debug message in acpi_s2idle_wake()
      
      * acpi-properties:
        ACPI: property: Get rid of redundant 'else'
        ACPI: properties: Consistently return -ENOENT if there are no more references
      
      * acpi-misc:
        clocksource: acpi_pm: fix return value of __setup handler
        ACPI: clean up double words in two comments
      
      * acpi-x86:
        ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board
        x86/ACPI: CPPC: Move init_freq_invariance_cppc() into x86 CPPC
        x86: Expose init_freq_invariance() to topology header
        x86/ACPI: CPPC: Move AMD maximum frequency ratio setting function into x86 CPPC
        x86/ACPI: CPPC: Rename cppc_msr.c to cppc.c
        ACPI / x86: Add skip i2c clients quirk for Lenovo Yoga Tablet 1050F/L
        ACPI / x86: Add skip i2c clients quirk for Nextbook Ares 8
      03d5c98d
    • Rafael J. Wysocki's avatar
      Merge branches 'acpica', 'acpi-osl', 'acpi-bus' and 'acpi-tables' · 314b97cc
      Rafael J. Wysocki authored
      Merge ACPICA changes, ACPI OS-layer changes, ACPI bus-type and _OSC
      support changes and ACPI tables parsing changes for 5.18-rc1:
      
       - Use uintptr_t and offsetof() in the ACPICA code to avoid compiler
         warnings regarding NULL pointer arithmetic (Rafael Wysocki).
      
       - Fix possible NULL pointer dereference in acpi_ns_walk_namespace()
         when passed "acpi=off" in the command line (Rafael Wysocki).
      
       - Fix and clean up acpi_os_read/write_port() (Rafael Wysocki).
      
       - Introduce acpi_bus_for_each_dev() and use it for walking all ACPI
         device objects in the Type C code (Rafael Wysocki).
      
       - Fix the _OSC platform capabilities negotioation and prevent CPPC
         from being used if the platform firmware indicates that it not
         supported via _OSC (Rafael Wysocki).
      
       - Add AGDI and CEDT to the list of known ACPI table signatures (Ilkka
         Koskinen, Robert Kiraly).
      
      * acpica:
        ACPICA: Avoid walking the ACPI Namespace if it is not there
        ACPICA: Use uintptr_t and offsetof() in Linux kernel builds
      
      * acpi-osl:
        ACPI: OSL: Fix and clean up acpi_os_read/write_port()
      
      * acpi-bus:
        ACPI: bus: Avoid using CPPC if not supported by firmware
        Revert "ACPI: Pass the same capabilities to the _OSC regardless of the query flag"
        ACPI: bus: Introduce acpi_bus_for_each_dev()
      
      * acpi-tables:
        ACPI: tables: Add AGDI to the list of known table signatures
        ACPI: tables: Add CEDT signature to the list of known tables
      314b97cc
    • Randy Dunlap's avatar
      clocksource: acpi_pm: fix return value of __setup handler · 6a861abc
      Randy Dunlap authored
      __setup() handlers should return 1 to obsolete_checksetup() in
      init/main.c to indicate that the boot option has been handled.
      A return of 0 causes the boot option/value to be listed as an Unknown
      kernel parameter and added to init's (limited) environment strings.
      
      The __setup() handler interface isn't meant to handle negative return
      values -- they are non-zero, so they mean "handled" (like a return
      value of 1 does), but that's just a quirk. So return 1 from
      parse_pmtmr(). Also print a warning message if kstrtouint() returns
      an error.
      
      Fixes: 6b148507 ("pmtmr: allow command line override of ioport")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarIgor Zhbanov <i.zhbanov@omprussia.ru>
      Link: lore.kernel.org/r/64644a2f-4a20-bab3-1e15-3b2cdd0defe3@omprussia.ru
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6a861abc
    • Rafael J. Wysocki's avatar
  2. 17 Mar, 2022 3 commits
  3. 16 Mar, 2022 1 commit
  4. 13 Mar, 2022 2 commits
  5. 12 Mar, 2022 8 commits
  6. 11 Mar, 2022 19 commits