1. 15 Dec, 2022 2 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'acpi-ec' · 3d03140c
      Rafael J. Wysocki authored
      Merge additional ACPI EC driver fixes for 6.2-rc1:
      
       - Fix EC address space handler unregistration (Hans de Goede).
      
       - Defer the evaluation of _REG for ECDT described ECs till the matching
         EC device in the DSDT gets parsed and acpi_ec_add() gets called for
         it (Hans de Goede).
      
      * acpi-ec:
        ACPI: EC: Fix ECDT probe ordering issues
        ACPI: EC: Fix EC address space handler unregistration
      3d03140c
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · f7eae09b
      Rafael J. Wysocki authored
      Merge additional ACPICA changes for 6.2-rc1:
      
       - Avoid trying to resolve operands in AML when there are none (Amadeusz
         Sławiński).
      
       - Fix indentation in include/acpi/acpixf.h to help applying patches
         from the upstream ACPICA git (Hans de Goede).
      
       - Make it possible to install an address space handler without
         evaluating _REG for Operation Regions in the given address space (Hans
         de Goede).
      
      * acpica:
        ACPICA: Allow address_space_handler Install and _REG execution as 2 separate steps
        ACPICA: include/acpi/acpixf.h: Fix indentation
        ACPICA: Fix operand resolution
      f7eae09b
  2. 12 Dec, 2022 5 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-fan', 'acpi-pcc', 'acpi-misc' and 'pnp' · bee74dcb
      Rafael J. Wysocki authored
      Merge ACPI fan driver fixes, ACPI PCC driver fixes, miscellaneous ACPI
      cleanups and PNP updates for 6.2-rc1:
      
       - Make the ACPI fan driver use sysfs_emit_at() in its sysfs interface
         code (ye xingchen).
      
       - Fix the _FIF package extraction failure handling in the ACPI fan
         driver (Hanjun Guo).
      
       - Fix the PCC mailbox handling error code path (Huisong Li).
      
       - Avoid using PCC Opregions if there is no platform interrupt allocated
         for this purpose (Huisong Li).
      
       - Use sysfs_emit() instead of scnprintf() in the ACPI PAD driver and
         CPPC library (ye xingchen).
      
       - Fix some kernel-doc issues in the ACPI GSI processing code (Xiongfeng
         Wang).
      
       - Fix name memory leak in pnp_alloc_dev() (Yang Yingliang).
      
       - Do not disable PNP devices on suspend when they cannot be re-enabled
         on resume (Hans de Goede).
      
      * acpi-fan:
        ACPI: fan: Convert to use sysfs_emit_at() API
        ACPI: fan: Bail out if extract package failed
      
      * acpi-pcc:
        mailbox: pcc: Reset pcc_chan_count to zero in case of PCC probe failure
        ACPI: PCC: Setup PCC Opregion handler only if platform interrupt is available
      
      * acpi-misc:
        ACPI: use sysfs_emit() instead of scnprintf()
        ACPI: irq: Fix some kernel-doc issues
      
      * pnp:
        PNP: Do not disable devices on suspend when they cannot be re-enabled on resume
        PNP: fix name memory leak in pnp_alloc_dev()
      bee74dcb
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-apei', 'acpi-x86', 'acpi-battery' and 'acpi-pfrut' · 39f26d10
      Rafael J. Wysocki authored
      Make ACPI APEI updates, x86-specific ACPI updates, ACPI battery driver
      fix and ACPI PFRU/T driver fixes for 6.2-rc1:
      
       - Drop unsetting ACPI APEI driver data on remove (Uwe Kleine-König).
      
       - Use xchg_release() instead of cmpxchg() for updating new GHES cache
         slots (Ard Biesheuvel).
      
       - Clean up the ACPI APEI code (Sudeep Holla, Christophe JAILLET, Jay Lu).
      
       - Add new I2C device enumeration quirks for Medion Lifetab S10346 and
         Lenovo Yoga Tab 3 Pro (YT3-X90F) (Hans de Goede).
      
       - Make the ACPI battery driver notify user space about adding new
         battery hooks and removing the existing ones (Armin Wolf).
      
       - Modify the pfr_update and pfr_telemetry drivers to use ACPI_FREE()
         for freeing acpi_object structures to help diagnostics (Wang ShaoBo).
      
      * acpi-apei:
        ACPI: APEI: EINJ: Refactor available_error_type_show()
        ACPI: APEI: EINJ: Fix formatting errors
        ACPI: APEI: Remove a useless include
        ACPI: APEI: Silence missing prototype warnings
        apei/ghes: Use xchg_release() for updating new cache slot instead of cmpxchg()
        ACPI: APEI: Drop unsetting driver data on remove
      
      * acpi-x86:
        ACPI: x86: Add skip i2c clients quirk for Medion Lifetab S10346
        ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)
      
      * acpi-battery:
        ACPI: battery: Call power_supply_changed() when adding hooks
      
      * acpi-pfrut:
        ACPI: pfr_update: use ACPI_FREE() to free acpi_object
        ACPI: pfr_telemetry: use ACPI_FREE() to free acpi_object
      39f26d10
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pm', 'acpi-processor', 'acpi-ec' and 'acpi-video' · 6f158181
      Rafael J. Wysocki authored
      Make ACPI power management changes, ACPI processor driver updates, ACPI
      EC driver quirk and ACPI backlight driver updates for 6.2-rc1:
      
       - Print full name paths of ACPI power resources objects during
         enumeration (Kane Chen).
      
       - Eliminate a compiler warning regarding a missing function prototype
         in the ACPI power management code (Sudeep Holla).
      
       - Fix and clean up the ACPI processor driver (Rafael Wysocki, Li Zhong,
         Colin Ian King, Sudeep Holla).
      
       - Add quirk for the HP Pavilion Gaming 15-cx0041ur to the ACPI EC
         driver (Mia Kanashi).
      
       - Add some mew ACPI backlight handling quirks and update some existing
         ones (Hans de Goede).
      
       - Make the ACPI backlight driver prefer the native backlight control
         over vendor backlight control when possible (Hans de Goede).
      
      * acpi-pm:
        ACPI: PM: Silence missing prototype warning
        ACPI: PM: Print full name path while adding power resource
      
      * acpi-processor:
        ACPI: processor: perflib: Adjust acpi_processor_notify_smm() return value
        ACPI: processor: perflib: Rearrange acpi_processor_notify_smm()
        ACPI: processor: perflib: Rearrange unregistration routine
        ACPI: processor: perflib: Drop redundant parentheses
        ACPI: processor: perflib: Adjust white space
        ACPI: processor: idle: Drop unnecessary statements and parens
        ACPI: processor: Silence missing prototype warnings
        ACPI: processor_idle: Silence missing prototype warnings
        ACPI: processor: throttling: remove variable count
        ACPI: processor: idle: Check acpi_fetch_acpi_dev() return value
      
      * acpi-ec:
        ACPI: EC: Add quirk for the HP Pavilion Gaming 15-cx0041ur
      
      * acpi-video:
        ACPI: video: Prefer native over vendor
        ACPI: video: Simplify __acpi_video_get_backlight_type()
        ACPI: video: Add force_native quirk for Sony Vaio VPCY11S1E
        ACPI: video: Add force_vendor quirk for Sony Vaio PCG-FRV35
        ACPI: video: Change Sony Vaio VPCEH3U1E quirk to force_native
        ACPI: video: Change GIGABYTE GB-BXBT-2807 quirk to force_none
        ACPI: video: Add a few bugtracker links to DMI quirks
      6f158181
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-scan', 'acpi-bus', 'acpi-tables' and 'acpi-sysfs' · 45494d77
      Rafael J. Wysocki authored
      Merge ACPI changes related to device enumeration, device object
      managenet, operation region handling, table parsing and sysfs
      interface:
      
       - Use ZERO_PAGE(0) instead of empty_zero_page in the ACPI device
         enumeration code (Giulio Benetti).
      
       - Change the return type of the ACPI driver remove callback to void and
         update its users accordingly (Dawei Li).
      
       - Add general support for FFH address space type and implement the low-
         level part of it for ARM64 (Sudeep Holla).
      
       - Fix stale comments in the ACPI tables parsing code and make it print
         more messages related to MADT (Hanjun Guo, Huacai Chen).
      
       - Replace invocations of generic library functions with more kernel-
         specific counterparts in the ACPI sysfs interface (Christophe JAILLET,
         Xu Panda).
      
      * acpi-scan:
        ACPI: scan: substitute empty_zero_page with helper ZERO_PAGE(0)
      
      * acpi-bus:
        ACPI: FFH: Silence missing prototype warnings
        ACPI: make remove callback of ACPI driver void
        ACPI: bus: Fix the _OSC capability check for FFH OpRegion
        arm64: Add architecture specific ACPI FFH Opregion callbacks
        ACPI: Implement a generic FFH Opregion handler
      
      * acpi-tables:
        ACPI: tables: Fix the stale comments for acpi_locate_initial_tables()
        ACPI: tables: Print CORE_PIC information when MADT is parsed
      
      * acpi-sysfs:
        ACPI: sysfs: use sysfs_emit() to instead of scnprintf()
        ACPI: sysfs: Use kstrtobool() instead of strtobool()
      45494d77
    • Rafael J. Wysocki's avatar
      Merge branch 'acpica' · 888bc86e
      Rafael J. Wysocki authored
      Merge ACPICA changes, including bug fixes and cleanups as well as support
      for some recently defined data structures, for 6.2-rc1:
      
       - Make acpi_ex_load_op() match upstream implementation (Rafael Wysocki).
       - Add support for loong_arch-specific APICs in MADT (Huacai Chen).
       - Add support for fixed PCIe wake event (Huacai Chen).
       - Add EBDA pointer sanity checks (Vit Kabele).
       - Avoid accessing VGA memory when EBDA < 1KiB (Vit Kabele).
       - Add CCEL table support to both compiler/disassembler (Kuppuswamy
         Sathyanarayanan).
       - Add a couple of new UUIDs to the known UUID list (Bob Moore).
       - Add support for FFH Opregion special context data (Sudeep Holla).
       - Improve warning message for "invalid ACPI name" (Bob Moore).
       - Add support for CXL 3.0 structures (CXIMS & RDPAS) in the CEDT table
         (Alison Schofield).
       - Prepare IORT support for revision E.e (Robin Murphy).
       - Finish support for the CDAT table (Bob Moore).
       - Fix error code path in acpi_ds_call_control_method() (Rafael Wysocki).
       - Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage() (Li Zetao).
       - Update the version of the ACPICA code in the kernel (Bob Moore).
      
      * acpica:
        ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
        ACPICA: Fix error code path in acpi_ds_call_control_method()
        ACPICA: Update version to 20221020
        ACPICA: Add utcksum.o to the acpidump Makefile
        Revert "LoongArch: Provisionally add ACPICA data structures"
        ACPICA: Finish support for the CDAT table
        ACPICA: IORT: Update for revision E.e
        ACPICA: Add CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table
        ACPICA: Improve warning message for "invalid ACPI name"
        ACPICA: Add support for FFH Opregion special context data
        ACPICA: Add a couple of new UUIDs to the known UUID list
        ACPICA: iASL: Add CCEL table to both compiler/disassembler
        ACPICA: Do not touch VGA memory when EBDA < 1ki_b
        ACPICA: Check that EBDA pointer is in valid memory
        ACPICA: Events: Support fixed PCIe wake event
        ACPICA: MADT: Add loong_arch-specific APICs support
        ACPICA: Make acpi_ex_load_op() match upstream
      888bc86e
  3. 08 Dec, 2022 8 commits
    • Hans de Goede's avatar
      ACPI: EC: Fix ECDT probe ordering issues · ab4620f5
      Hans de Goede authored
      ACPI-2.0 says that the EC OpRegion handler must be available immediately
      (like the standard default OpRegion handlers):
      
      Quoting from the ACPI spec version 6.3: "6.5.4 _REG (Region) ...
      2. OSPM must make Embedded Controller operation regions, accessed via
      the Embedded Controllers described in ECDT, available before executing
      any control method. These operation regions may become inaccessible
      after OSPM runs _REG(EmbeddedControl, 0)."
      
      So acpi_bus_init() calls acpi_ec_ecdt_probe(), which calls
      acpi_install_address_space_handler() to install the EC's OpRegion
      handler, early on.
      
      This not only installs the OpRegion handler, but also calls the EC's
      _REG method. The _REG method call is a problem because it may rely on
      initialization done by the _INI methods of one of the PCI / _SB root devs,
      see for example: https://bugzilla.kernel.org/show_bug.cgi?id=214899 .
      
      Generally speaking _REG methods are executed when the ACPI-device they
      are part of has a driver bound to it. Where as _INI methods must be
      executed at table load time (according to the spec). The problem here
      is that the early acpi_install_address_space_handler() call causes
      the _REG handler to run too early.
      
      To allow fixing this the ACPICA code now allows to split the OpRegion
      handler installation and the executing of _REG into 2 separate steps.
      
      This commit uses this ACPICA functionality to fix the EC probe ordering
      by delaying the executing of _REG for ECDT described ECs till the matching
      EC device in the DSDT gets parsed and acpi_ec_add() for it gets called.
      This moves the calling of _REG for the EC on devices with an ECDT to
      the same point in time where it is called on devices without an ECDT table.
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214899Reported-and-tested-by: default avatarJohannes Penßel <johannespenssel@posteo.net>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ab4620f5
    • Hans de Goede's avatar
      ACPI: EC: Fix EC address space handler unregistration · a5072078
      Hans de Goede authored
      When an ECDT table is present the EC address space handler gets registered
      on the root node. So to unregister it properly the unregister call also
      must be done on the root node.
      
      Store the ACPI handle used for the acpi_install_address_space_handler()
      call and use te same handle for the acpi_remove_address_space_handler()
      call.
      Reported-by: default avatarRafael J. Wysocki <rafael@kernel.org>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a5072078
    • Rafael J. Wysocki's avatar
      Merge back ACPI EC changes for 6.2-rc1 · 0634033d
      Rafael J. Wysocki authored
      0634033d
    • Hans de Goede's avatar
      ACPICA: Allow address_space_handler Install and _REG execution as 2 separate steps · 54c516ae
      Hans de Goede authored
      ACPI-2.0 says that the EC op_region handler must be available immediately
      (like the standard default op_region handlers):
      
      Quoting from the ACPI spec version 6.3: "6.5.4 _REG (Region) ...
      2. OSPM must make Embedded Controller operation regions, accessed via
      the Embedded Controllers described in ECDT, available before executing
      any control method. These operation regions may become inaccessible
      after OSPM runs _REG(EmbeddedControl, 0)."
      
      So the OS must probe the ECDT described EC and install the OpRegion handler
      before calling acpi_enable_subsystem() and acpi_initialize_objects().
      
      This is a problem because calling acpi_install_address_space_handler()
      does not just install the op_region handler, it also runs the EC's _REG
      method. This _REG method may rely on initialization done by the _INI
      methods of one of the PCI / _SB root devices.
      
      For the other early/default op_region handlers the op_region handler
      install and the _REG execution is split into 2 separate steps:
      1. acpi_ev_install_region_handlers(), called early from acpi_load_tables()
      2. acpi_ev_initialize_op_regions(), called from acpi_initialize_objects()
      
      To fix the EC op_region issue, add 2 bew functions:
      1. acpi_install_address_space_handler_no_reg()
      2. acpi_execute_reg_methods()
      to allow doing things in 2 steps for other op_region handlers,
      like the EC handler, too.
      
      Note that the comment describing acpi_ev_install_region_handlers() even has
      an alinea describing this problem. Using the new methods allows users
      to avoid this problem.
      
      Link: https://github.com/acpica/acpica/pull/786
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=214899Reported-and-tested-by: default avatarJohannes Penßel <johannespenssel@posteo.net>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      54c516ae
    • Hans de Goede's avatar
      ACPICA: include/acpi/acpixf.h: Fix indentation · 7a9d74e7
      Hans de Goede authored
      A bunch of the functions declared in include/acpi/acpixf.h have their
      name aligned a space after the '(' of e.g. the
      `ACPI_EXTERNAL_RETURN_STATUS(acpi_status` line above rather then being
      directly aligned after the '('.
      
      This breaks applying patches generated from the ACPICA upstream git,
      remove the extra space before the function-names and all the arguments
      to fix this.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      7a9d74e7
    • Amadeusz Sławiński's avatar
      ACPICA: Fix operand resolution · 7dfb216e
      Amadeusz Sławiński authored
      In our tests we get UBSAN warning coming from ACPI parser. This is
      caused by trying to resolve operands when there is none.
      
      [    0.000000] Linux version 5.15.0-rc3chromeavsrel1.0.184+ (root@...) (gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 SMP PREEMPT Sat Oct 16 00:08:27 UTC 2021
      ...
      [ 14.719508] ================================================================================
      [ 14.719551] UBSAN: array-index-out-of-bounds in /.../linux/drivers/acpi/acpica/dswexec.c:401:12
      [ 14.719594] index -1 is out of range for type 'acpi_operand_object *[9]'
      [ 14.719621] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc3chromeavsrel1.0.184+ #1
      [ 14.719657] Hardware name: Intel Corp. Geminilake/GLK RVP2 LP4SD (07), BIOS GELKRVPA.X64.0214.B50.2009111159 09/11/2020
      [ 14.719694] Call Trace:
      [ 14.719712] dump_stack_lvl+0x38/0x49
      [ 14.719749] dump_stack+0x10/0x12
      [ 14.719775] ubsan_epilogue+0x9/0x45
      [ 14.719801] __ubsan_handle_out_of_bounds.cold+0x44/0x49
      [ 14.719835] acpi_ds_exec_end_op+0x1d7/0x6b5
      [ 14.719870] acpi_ps_parse_loop+0x942/0xb34
      ...
      
      Problem happens because WalkState->NumOperands is 0 and it is used when
      trying to access into operands table. Actual code is:
      WalkState->Operands [WalkState->NumOperands -1]
      which causes out of bound access. Improve the check before above access
      to check if ACPI opcode should have any arguments (operands) at all.
      
      Link: https://github.com/acpica/acpica/pull/745Signed-off-by: default avatarAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
      Reviewed-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      7dfb216e
    • Rafael J. Wysocki's avatar
      Merge back ACPICA changes for 6.2-rc1 · fa4e1f88
      Rafael J. Wysocki authored
      fa4e1f88
    • Hans de Goede's avatar
      ACPI: x86: Add skip i2c clients quirk for Medion Lifetab S10346 · ecc6aaab
      Hans de Goede authored
      The Medion Lifetab S10346 is a x86 tablet which ships with Android x86 as
      factory OS. The Android x86 kernel fork ignores I2C devices described in
      the DSDT, except for the PMIC and Audio codecs.
      
      As usual the Medion Lifetab S10346's DSDT contains a bunch of extra I2C
      devices which are not actually there, causing various resource conflicts.
      Add an ACPI_QUIRK_SKIP_I2C_CLIENTS quirk for the Medion Lifetab S10346 to
      the acpi_quirk_skip_dmi_ids table to woraround this.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ecc6aaab
  4. 07 Dec, 2022 9 commits
  5. 06 Dec, 2022 1 commit
  6. 04 Dec, 2022 7 commits
  7. 03 Dec, 2022 5 commits
    • Linus Torvalds's avatar
      Merge tag 'i2c-for-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · c2bf05db
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "A power state fix in the core for ACPI devices, a regression fix
        regarding bus recovery for the cadence driver, a DMA handling fix for
        the imx driver, and two error path fixes (npcm7xx and qcom-geni)"
      
      * tag 'i2c-for-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag set
        i2c: qcom-geni: fix error return code in geni_i2c_gpi_xfer
        i2c: cadence: Fix regression with bus recovery
        i2c: Restore initial power state if probe fails
        i2c: npcm7xx: Fix error handling in npcm_i2c_init()
      c2bf05db
    • Linus Torvalds's avatar
      Merge tag 'dax-fixes-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 6085bc95
      Linus Torvalds authored
      Pull dax fixes from Dan Williams:
       "A few bug fixes around the handling of "Soft Reserved" memory and
        memory tiering information.
      
        Linux is starting to enounter more real world systems that deploy an
        ACPI HMAT to describe different performance classes of memory, as well
        the "special purpose" (Linux "Soft Reserved") designation from EFI.
      
        These fixes result from that testing.
      
        It has all appeared in -next for a while with no known issues.
      
         - Fix duplicate overlapping device-dax instances for HMAT described
           "Soft Reserved" Memory
      
         - Fix missing node targets in the sysfs representation of memory
           tiers
      
         - Remove a confusing variable initialization"
      
      * tag 'dax-fixes-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        device-dax: Fix duplicate 'hmem' device registration
        ACPI: HMAT: Fix initiator registration for single-initiator systems
        ACPI: HMAT: remove unnecessary variable initialization
      6085bc95
    • Linus Torvalds's avatar
      Merge tag 'block-6.1-2022-12-02' of git://git.kernel.dk/linux · 97ee9d1c
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "Just a small NVMe merge for this week, fixing protection of the name
        space list, and a missing clear of a reserved field when unused"
      
      * tag 'block-6.1-2022-12-02' of git://git.kernel.dk/linux:
        nvme: fix SRCU protection of nvme_ns_head list
        nvme-pci: clear the prp2 field when not used
      97ee9d1c
    • Linus Torvalds's avatar
      Merge tag 'pinctrl-v6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl · 63050a5c
      Linus Torvalds authored
      Pull pin control fixes from Linus Walleij:
       "Three driver fixes. The Intel fix looks like the most important.
      
         - Fix a potential divide by zero in pinctrl-singe (OMAP and
           HiSilicon)
      
         - Disable IRQs on startup in the Mediatek driver. This is a classic,
           we should be looking out for this more.
      
         - Save and restore pins in 'direct IRQ' mode in the Intel driver,
           this works around firmware bugs"
      
      * tag 'pinctrl-v6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
        pinctrl: intel: Save and restore pins in "direct IRQ" mode
        pinctrl: meditatek: Startup with the IRQs disabled
        pinctrl: single: Fix potential division by zero
      63050a5c
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 0e15c3c7
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - build fix for the NR_CPUS Kconfig SBI version dependency
      
       - fixes to early memory initialization, to fix page permissions in EFI
         and post-initmem-free
      
       - build fix for the VDSO, to avoid trying to profile the VDSO functions
      
       - fixes for kexec crash handling, to fix multi-core and interrupt
         related initialization inside the crash kernel
      
       - fix for a race condition when handling multiple concurrect kernel
         stack overflows
      
      * tag 'riscv-for-linus-6.1-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: kexec: Fixup crash_smp_send_stop without multi cores
        riscv: kexec: Fixup irq controller broken in kexec crash path
        riscv: mm: Proper page permissions after initmem free
        riscv: vdso: fix section overlapping under some conditions
        riscv: fix race when vmap stack overflow
        riscv: Sync efi page table's kernel mappings before switching
        riscv: Fix NR_CPUS range conditions
      0e15c3c7
  8. 02 Dec, 2022 3 commits