1. 25 Aug, 2023 7 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'pnp' · b483d3b8
      Rafael J. Wysocki authored
      Merge a PNP change for 6.6-rc1:
      
       - Fix string truncation warning in pnpacpi_add_device() (Sunil V L).
      
      * pnp:
        PNP: ACPI: Fix string truncation warning
      b483d3b8
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-pm' · 56db6a8e
      Rafael J. Wysocki authored
      Merge ACPI power management updates for 6.6-rc1:
      
       - Fix and clean up suspend-to-idle interface for AMD systems (Mario
         Limonciello, Andy Shevchenko).
      
      * acpi-pm:
        ACPI: x86: s2idle: Add a function to get LPS0 constraint for a device
        ACPI: x86: s2idle: Add for_each_lpi_constraint() helper
        ACPI: x86: s2idle: Add more debugging for AMD constraints parsing
        ACPI: x86: s2idle: Fix a logic error parsing AMD constraints table
        ACPI: x86: s2idle: Catch multiple ACPI_TYPE_PACKAGE objects
        ACPI: x86: s2idle: Post-increment variables when getting constraints
        ACPI: Adjust #ifdef for *_lps0_dev use
      56db6a8e
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-tad', 'acpi-extlog' and 'acpi-misc' · 0960a3cb
      Rafael J. Wysocki authored
      Merge ACPI device enumeration changes, ACPI TAD and extlog drivers
      updates, and miscellaneous ACPI-related changes for 6.6-rc1:
      
       - Defer enumeration of devices with _DEP pointing to IVSC (Wentong Wu).
      
       - Install SystemCMOS address space handler for ACPI000E (TAD) to meet
         platform firmware expectations on some platforms (Zhang Rui).
      
       - Fix finding the generic error data in the ACPi extlog driver for
         compatibility with old and new firmware interface versions (Xiaochun
         Lee).
      
       - Remove assorted unused declarations of functions (Yue Haibing).
      
       - Move AMBA bus scan handling into arm64 specific directory (Sudeep
         Holla).
      
      * acpi-scan:
        ACPI: scan: Defer enumeration of devices with a _DEP pointing to IVSC device
      
      * acpi-tad:
        ACPI: TAD: Install SystemCMOS address space handler for ACPI000E
      
      * acpi-extlog:
        ACPI: extlog: Fix finding the generic error data for v3 structure
      
      * acpi-misc:
        ACPI: Remove assorted unused declarations of functions
        ACPI: Remove unused extern declaration acpi_paddr_to_node()
        ACPI: Move AMBA bus scan handling into arm64 specific directory
      0960a3cb
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-thermal' · 0c2ec0f1
      Rafael J. Wysocki authored
      Merge ACPI thermal driver changes for 6.6-rc1:
      
       - Drop non-functional nocrt parameter from ACPI thermal (Mario
         Limonciello).
      
       - Clean up the ACPI thermal driver, rework the handling of firmware
         notifications in it and make it provide a table of generic trip point
         structures to the core during initialization (Rafael Wysocki).
      
      * acpi-thermal:
        ACPI: thermal: Eliminate code duplication from acpi_thermal_notify()
        ACPI: thermal: Drop unnecessary thermal zone callbacks
        ACPI: thermal: Rework thermal_get_trend()
        ACPI: thermal: Use trip point table to register thermal zones
        thermal: core: Rework and rename __for_each_thermal_trip()
        ACPI: thermal: Introduce struct acpi_thermal_trip
        ACPI: thermal: Carry out trip point updates under zone lock
        ACPI: thermal: Clean up acpi_thermal_register_thermal_zone()
        thermal: core: Add priv pointer to struct thermal_trip
        thermal: core: Introduce thermal_zone_device_exec()
        thermal: core: Do not handle trip points with invalid temperature
        ACPI: thermal: Drop redundant local variable from acpi_thermal_resume()
        ACPI: thermal: Do not attach private data to ACPI handles
        ACPI: thermal: Drop enabled flag from struct acpi_thermal_active
        ACPI: thermal: Drop nocrt parameter
      0c2ec0f1
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-processor' · 9bd0c413
      Rafael J. Wysocki authored
      Merge ACPI processor driver changes for 6.6-rc1:
      
       - Support obtaining physical CPU ID from MADT on LoongArch (Bibo Mao).
      
       - Convert ACPI CPU initialization to using _OSC instead of _PDC that
         has been depreceted since 2018 and dropped from the specification in
         ACPI 6.5 (Michal Wilczynski, Rafael Wysocki).
      
      * acpi-processor:
        ACPI: processor: LoongArch: Get physical ID from MADT
        ACPI: processor: Refine messages in acpi_early_processor_control_setup()
        ACPI: processor: Remove acpi_hwp_native_thermal_lvt_osc()
        ACPI: processor: Use _OSC to convey OSPM processor support information
        ACPI: processor: Introduce acpi_processor_osc()
        ACPI: processor: Set CAP_SMP_T_SWCOORD in arch_acpi_set_proc_cap_bits()
        ACPI: processor: Clear C_C2C3_FFH and C_C1_FFH in arch_acpi_set_proc_cap_bits()
        ACPI: processor: Rename ACPI_PDC symbols
        ACPI: processor: Refactor arch_acpi_set_pdc_bits()
        ACPI: processor: Move processor_physically_present() to acpi_processor.c
        ACPI: processor: Move MWAIT quirk out of acpi_processor.c
      9bd0c413
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-bus' and 'acpi-video' · e921f8c8
      Rafael J. Wysocki authored
      Merge changes related to the ACPI bus type and ACPI backlight driver
      changes for 6.6-rc1:
      
       - Introduce new wrappers for ACPICA notify handler install/remove and
         convert multiple drivers to using their own Notify() handlers instead
         of the ACPI bus type .notify() slated for removal (Michal Wilczynski).
      
       - Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2 (Hans
         de Goede).
      
       - Put ACPI video and its child devices explicitly into D0 on boot to
         avoid platform firmware confusion (Kai-Heng Feng).
      
       - Add backlight=native DMI quirk for Lenovo Ideapad Z470 (Jiri Slaby).
      
      * acpi-bus:
        ACPI: thermal: Install Notify() handler directly
        ACPI: NFIT: Remove unnecessary .remove callback
        ACPI: NFIT: Install Notify() handler directly
        ACPI: HED: Install Notify() handler directly
        ACPI: battery: Install Notify() handler directly
        ACPI: video: Install Notify() handler directly
        ACPI: AC: Install Notify() handler directly
        ACPI: bus: Set driver_data to NULL every time .add() fails
        ACPI: bus: Introduce wrappers for ACPICA notify handler install/remove
      
      * acpi-video:
        ACPI: video: Add backlight=native DMI quirk for Apple iMac12,1 and iMac12,2
        ACPI: video: Put ACPI video and its child devices into D0 on boot
        ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
      e921f8c8
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · 8850ada6
      Rafael J. Wysocki authored
      Merge ACPICA material for 6.6-rc1.
      
      This includes some fixes, cleanups and new material, mostly related to
      parsing tables.
      
      Specifics:
      
       - Suppress a GCC 12 dangling-pointer warning (Philip Prindeville).
      
       - Reformat the ACPI_STATE_COMMON macro and its users (George Guo).
      
       - Replace the ternary operator with ACPI_MIN() (Jiangshan Yi).
      
       - Add support for _DSC as per ACPI 6.5 (Saket Dumbre).
      
       - Remove a duplicate macro from zephyr header (Najumon B.A).
      
       - Add data structures for GED and _EVT tracking (Jose Marinho).
      
       - Fix misspelled CDAT DSMAS define (Dave Jiang).
      
       - Simplify an error message in acpi_ds_result_push() (Christophe
         Jaillet).
      
       - Add a struct size macro related to SRAT (Dave Jiang).
      
       - Add AML_NO_OPERAND_RESOLVE flag to Timer (Abhishek Mainkar).
      
       - Add support for RISC-V external interrupt controllers in MADT (Sunil
         V L).
      
       - Add RHCT flags, CMO and MMU nodes (Sunil V L).
      
       - Change ACPICA version to 20230628 (Bob Moore).
      
      * acpica:
        ACPICA: Update version to 20230628
        ACPICA: RHCT: Add flags, CMO and MMU nodes
        ACPICA: MADT: Add RISC-V external interrupt controllers
        ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
        ACPICA: Add a define for size of struct acpi_srat_generic_affinity device_handle
        ACPICA: Slightly simplify an error message in acpi_ds_result_push()
        ACPICA: Fix misspelled CDAT DSMAS define
        ACPICA: Add interrupt command to acpiexec
        ACPICA: Detect GED device and keep track of _EVT
        ACPICA: fix for conflict macro definition on zephyr interface
        ACPICA: Add support for _DSC as per ACPI 6.5
        ACPICA: exserial.c: replace ternary operator with ACPI_MIN()
        ACPICA: Modify ACPI_STATE_COMMON
        ACPICA: Fix GCC 12 dangling-pointer warning
      8850ada6
  2. 23 Aug, 2023 3 commits
  3. 22 Aug, 2023 3 commits
  4. 21 Aug, 2023 15 commits
  5. 20 Aug, 2023 3 commits
    • Linus Torvalds's avatar
      Linux 6.5-rc7 · 706a7415
      Linus Torvalds authored
      706a7415
    • Linus Torvalds's avatar
      Merge tag 'tty-6.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · b320441c
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some small tty and serial core fixes for 6.5-rc7 that resolve
        a lot of reported issues.
      
        Primarily in here are the fixes for the serial bus code from Tony that
        came in -rc1, as it hit wider testing with the huge number of
        different types of systems and serial ports. All of the reported
        issues with duplicate names and other issues with this code are now
        resolved.
      
        Other than that included in here is:
      
         - n_gsm fix for a previous fix
      
         - 8250 lockdep annotation fix
      
         - fsl_lpuart serial driver fix
      
         - TIOCSTI documentation update for previous CAP_SYS_ADMIN change
      
        All of these have been in linux-next for a while with no reported
        problems"
      
      * tag 'tty-6.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        serial: core: Fix serial core port id, including multiport devices
        serial: 8250: drop lockdep annotation from serial8250_clear_IER()
        tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux
        serial: core: Revert port_id use
        TIOCSTI: Document CAP_SYS_ADMIN behaviour in Kconfig
        serial: 8250: Fix oops for port->pm on uart_change_pm()
        serial: 8250: Reinit port_id when adding back serial8250_isa_devs
        serial: core: Fix kmemleak issue for serial core device remove
        MAINTAINERS: Merge TTY layer and serial drivers
        serial: core: Fix serial_base_match() after fixing controller port name
        serial: core: Fix serial core controller port name to show controller id
        serial: core: Fix serial core port id to not use port->line
        serial: core: Controller id cannot be negative
        tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
      b320441c
    • Linus Torvalds's avatar
      Merge tag 'rust-fixes-6.5-rc7' of https://github.com/Rust-for-Linux/linux · ec27a636
      Linus Torvalds authored
      Pull rust fix from Miguel Ojeda:
      
       - Macros: fix 'HAS_*' redefinition by the '#[vtable]' macro
         under conditional compilation
      
      * tag 'rust-fixes-6.5-rc7' of https://github.com/Rust-for-Linux/linux:
        rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`)
      ec27a636
  6. 19 Aug, 2023 9 commits