1. 05 Nov, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'microblaze-v5.16' of git://git.monstr.eu/linux-2.6-microblaze · a51e4a1a
      Linus Torvalds authored
      Pull microblaze update from Michal Simek:
       "Remove unused devicetree properties. Sean is pushing one pwm driver
        and these ancient properties are going against agreed DT binding"
      
      * tag 'microblaze-v5.16' of git://git.monstr.eu/linux-2.6-microblaze:
        microblaze: timer: Remove unused properties
      a51e4a1a
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 5c0b0c67
      Linus Torvalds authored
      Pull powerpc updates from Michael Ellerman:
      
       - Enable STRICT_KERNEL_RWX for Freescale 85xx platforms.
      
       - Activate CONFIG_STRICT_KERNEL_RWX by default, while still allowing it
         to be disabled.
      
       - Add support for out-of-line static calls on 32-bit.
      
       - Fix oopses doing bpf-to-bpf calls when STRICT_KERNEL_RWX is enabled.
      
       - Fix boot hangs on e5500 due to stale value in ESR passed to
         do_page_fault().
      
       - Fix several bugs on pseries in handling of device tree cache
         information for hotplugged CPUs, and/or during partition migration.
      
       - Various other small features and fixes.
      
      Thanks to Alexey Kardashevskiy, Alistair Popple, Anatolij Gustschin,
      Andrew Donnellan, Athira Rajeev, Bixuan Cui, Bjorn Helgaas, Cédric Le
      Goater, Christophe Leroy, Daniel Axtens, Daniel Henrique Barboza, Denis
      Kirjanov, Fabiano Rosas, Frederic Barrat, Gustavo A.  R.  Silva, Hari
      Bathini, Jacques de Laval, Joel Stanley, Kai Song, Kajol Jain, Laurent
      Vivier, Leonardo Bras, Madhavan Srinivasan, Nathan Chancellor, Nathan
      Lynch, Naveen N.  Rao, Nicholas Piggin, Nick Desaulniers, Niklas
      Schnelle, Oliver O'Halloran, Rob Herring, Russell Currey, Srikar
      Dronamraju, Stan Johnson, Tyrel Datwyler, Uwe Kleine-König, Vasant
      Hegde, Wan Jiabing, and Xiaoming Ni,
      
      * tag 'powerpc-5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: (73 commits)
        powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TEST
        powerpc/32e: Ignore ESR in instruction storage interrupt handler
        powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
        powerpc: Don't provide __kernel_map_pages() without ARCH_SUPPORTS_DEBUG_PAGEALLOC
        MAINTAINERS: Update powerpc KVM entry
        powerpc/xmon: fix task state output
        powerpc/44x/fsp2: add missing of_node_put
        powerpc/dcr: Use cmplwi instead of 3-argument cmpli
        KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
        powerpc/security: Use a mutex for interrupt exit code patching
        powerpc/83xx/mpc8349emitx: Make mcu_gpiochip_remove() return void
        powerpc/fsl_booke: Fix setting of exec flag when setting TLBCAMs
        powerpc/book3e: Fix set_memory_x() and set_memory_nx()
        powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect()
        powerpc/bpf: Fix write protecting JIT code
        selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
        powerpc/64s/interrupt: Fix check_return_regs_valid() false positive
        powerpc/boot: Set LC_ALL=C in wrapper script
        powerpc/64s: Default to 64K pages for 64 bit book3s
        Revert "powerpc/audit: Convert powerpc to AUDIT_ARCH_COMPAT_GENERIC"
        ...
      5c0b0c67
    • Linus Torvalds's avatar
      Merge tag 'mips_5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · a3f36773
      Linus Torvalds authored
      Pull MIPS updates from Thomas Bogendoerfer:
      
       - added printing of CPU options for /proc/cpuinfo
      
       - removed support for Netlogic SOCs
      
       - fixes and cleanup
      
      * tag 'mips_5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: Cobalt: Explain GT64111 early PCI fixup
        mips: fix HUGETLB function without THP enabled
        mips: cm: Convert to bitfield API to fix out-of-bounds access
        MIPS: Remove NETLOGIC support
        MIPS: kernel: proc: add CPU option reporting
        MIPS: kernel: proc: use seq_puts instead of seq_printf
        MIPS: kernel: proc: fix trivial style errors
        MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
        MIPS: octeon: Remove unused functions
        MIPS: Loongson64: Add of_node_put() before break
        bcm47xx: Replace printk(KERN_ALERT ... pci_devname(dev)) with pci_alert()
        bcm47xx: Get rid of redundant 'else'
        MIPS: sni: Fix the build
        MIPS: Avoid macro redefinitions
        MIPS: loongson64: Fix no screen display during boot-up
        MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
      a3f36773
  2. 04 Nov, 2021 15 commits
    • Linus Torvalds's avatar
      Merge tag 'hsi-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi · d4439a11
      Linus Torvalds authored
      Pull HSI update from Sebastian Reichel:
       "cmt_speech: unmark comments as kernel-doc"
      
      * tag 'hsi-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
        HSI: cmt_speech: unmark comments as kernel-doc
      d4439a11
    • Linus Torvalds's avatar
      Merge tag 'for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 72e65f7e
      Linus Torvalds authored
      Pull power supply and reset updates from Sebastian Reichel:
       "Miscellaneous small fixes and improvements all over the place.
      
        Nothing stands out in particular"
      
      * tag 'for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (30 commits)
        power: supply: bq25890: Fix initial setting of the F_CONV_RATE field
        power: supply: bq25890: Fix race causing oops at boot
        power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
        power: bq25890: add return values to error messages
        power: supply: axp288-charger: Simplify axp288_get_charger_health()
        power: supply: axp288-charger: Remove unnecessary is_present and is_online helpers
        power: supply: axp288-charger: Add depends on IOSF_MBIO to Kconfig
        power: supply: ab8500_bmdata: Use standard phandle
        dt-bindings: power: supply: ab8500: Standard monitored-battery
        power: supply: axp288_charger: Fix missing mutex_init()
        power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
        power: supply: max17042_battery: Clear status bits in interrupt handler
        MAINTAINERS: power: supply: max17040: add entry with reviewers
        MAINTAINERS: power: supply: max17042: add entry with reviewers
        power: supply: max17040: fix null-ptr-deref in max17040_probe()
        power: supply: rt5033_battery: Change voltage values to µV
        power: supply: axp288-charger: Optimize register reading method
        dt-bindings: power: Bindings for Samsung batteries
        power: supply: cpcap-battery: use device_get_match_data() to simplify code
        power: supply: max17042_battery: fix typo in MAX17042_IAvg_empty
        ...
      72e65f7e
    • Linus Torvalds's avatar
      Merge tag 'for-5.16/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux · c1e2e035
      Linus Torvalds authored
      Pull more parisc architecture fixes and updates from Helge Deller:
       "One build error fix and two optimizations:
      
         - Fix build error by moving the CPU field back into thread_info
           struct (Ard Biesheuvel)
      
         - Do not enable IRQs unconditionally at start of interrupt handler if
           they were disabled before (Sven Schnelle)
      
         - Keep interrupts enabled during cmpxchg and futex operations (Dave
           Anglin)"
      
      * tag 'for-5.16/parisc-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
        parisc: move CPU field back into thread_info
        parisc: Don't disable interrupts in cmpxchg and futex operations
        parisc: don't enable irqs unconditionally in handle_interruption()
      c1e2e035
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 7e113d01
      Linus Torvalds authored
      Pull iommu updates from Joerg Roedel:
      
       - Intel IOMMU Updates fro Lu Baolu:
           - Dump DMAR translation structure when DMA fault occurs
           - An optimization in the page table manipulation code
           - Use second level for GPA->HPA translation
           - Various cleanups
      
       - Arm SMMU Updates from Will
           - Minor optimisations to SMMUv3 command creation and submission
           - Numerous new compatible string for Qualcomm SMMUv2 implementations
      
       - Fixes for the SWIOTLB based implemenation of dma-iommu code for
         untrusted devices
      
       - Add support for r8a779a0 to the Renesas IOMMU driver and DT matching
         code for r8a77980
      
       - A couple of cleanups and fixes for the Apple DART IOMMU driver
      
       - Make use of generic report_iommu_fault() interface in the AMD IOMMU
         driver
      
       - Various smaller fixes and cleanups
      
      * tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (35 commits)
        iommu/dma: Fix incorrect error return on iommu deferred attach
        iommu/dart: Initialize DART_STREAMS_ENABLE
        iommu/dma: Use kvcalloc() instead of kvzalloc()
        iommu/tegra-smmu: Use devm_bitmap_zalloc when applicable
        iommu/dart: Use kmemdup instead of kzalloc and memcpy
        iommu/vt-d: Avoid duplicate removing in __domain_mapping()
        iommu/vt-d: Convert the return type of first_pte_in_page to bool
        iommu/vt-d: Clean up unused PASID updating functions
        iommu/vt-d: Delete dev_has_feat callback
        iommu/vt-d: Use second level for GPA->HPA translation
        iommu/vt-d: Check FL and SL capability sanity in scalable mode
        iommu/vt-d: Remove duplicate identity domain flag
        iommu/vt-d: Dump DMAR translation structure when DMA fault occurs
        iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option
        iommu/arm-smmu-qcom: Request direct mapping for modem device
        iommu: arm-smmu-qcom: Add compatible for QCM2290
        dt-bindings: arm-smmu: Add compatible for QCM2290 SoC
        iommu/arm-smmu-qcom: Add SM6350 SMMU compatible
        dt-bindings: arm-smmu: Add compatible for SM6350 SoC
        iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd()
        ...
      7e113d01
    • Linus Torvalds's avatar
      Merge tag 'tty-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · abfecb39
      Linus Torvalds authored
      Pull tty / serial driver updates from Greg KH:
       "Here is the big set of tty and serial driver updates for 5.16-rc1.
      
        Nothing major in here at all, just lots of tiny serial and tty driver
        updates for various reported things, and some good cleanups. These
        include:
      
         - more good tty api cleanups from Jiri
      
         - stm32 serial driver updates
      
         - softlockup fix for non-preempt systems under high serial load
      
         - rpmsg serial driver update
      
         - 8250 drivers updates and fixes
      
         - n_gsm line discipline fixes and updates as people are finally
           starting to use it.
      
        All of these have been in linux-next for a while now with no reported
        issues"
      
      * tag 'tty-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (86 commits)
        tty: Fix extra "not" in TTY_DRIVER_REAL_RAW description
        serial: cpm_uart: Protect udbg definitions by CONFIG_SERIAL_CPM_CONSOLE
        tty: rpmsg: Define tty name via constant string literal
        tty: rpmsg: Add pr_fmt() to prefix messages
        tty: rpmsg: Use dev_err_probe() in ->probe()
        tty: rpmsg: Unify variable used to keep an error code
        tty: rpmsg: Assign returned id to a local variable
        serial: stm32: push DMA RX data before suspending
        serial: stm32: terminate / restart DMA transfer at suspend / resume
        serial: stm32: rework RX dma initialization and release
        serial: 8250_pci: Remove empty stub pci_quatech_exit()
        serial: 8250_pci: Replace custom pci_match_id() implementation
        serial: xilinx_uartps: Fix race condition causing stuck TX
        serial: sunzilog: Mark sunzilog_putchar() __maybe_unused
        Revert "tty: hvc: pass DMA capable memory to put_chars()"
        Revert "virtio-console: remove unnecessary kmemdup()"
        serial: 8250_pci: Replace dev_*() by pci_*() macros
        serial: 8250_pci: Get rid of redundant 'else' keyword
        serial: 8250_pci: Refactor the loop in pci_ite887x_init()
        tty: add rpmsg driver
        ...
      abfecb39
    • Linus Torvalds's avatar
      Merge tag 'driver-core-5.16-rc1' of... · 95faf6ba
      Linus Torvalds authored
      Merge tag 'driver-core-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
      
      Pull driver core updates from Greg KH:
       "Here is the big set of driver core changes for 5.16-rc1.
      
        All of these have been in linux-next for a while now with no reported
        problems.
      
        Included in here are:
      
         - big update and cleanup of the sysfs abi documentation files and
           scripts from Mauro. We are almost at the place where we can
           properly check that the running kernel's sysfs abi is documented
           fully.
      
         - firmware loader updates
      
         - dyndbg updates
      
         - kernfs cleanups and fixes from Christoph
      
         - device property updates
      
         - component fix
      
         - other minor driver core cleanups and fixes"
      
      * tag 'driver-core-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (122 commits)
        device property: Drop redundant NULL checks
        x86/build: Tuck away built-in firmware under FW_LOADER
        vmlinux.lds.h: wrap built-in firmware support under FW_LOADER
        firmware_loader: move struct builtin_fw to the only place used
        x86/microcode: Use the firmware_loader built-in API
        firmware_loader: remove old DECLARE_BUILTIN_FIRMWARE()
        firmware_loader: formalize built-in firmware API
        component: do not leave master devres group open after bind
        dyndbg: refine verbosity 1-4 summary-detail
        gpiolib: acpi: Replace custom code with device_match_acpi_handle()
        i2c: acpi: Replace custom function with device_match_acpi_handle()
        driver core: Provide device_match_acpi_handle() helper
        dyndbg: fix spurious vNpr_info change
        dyndbg: no vpr-info on empty queries
        dyndbg: vpr-info on remove-module complete, not starting
        device property: Add missed header in fwnode.h
        Documentation: dyndbg: Improve cli param examples
        dyndbg: Remove support for ddebug_query param
        dyndbg: make dyndbg a known cli param
        dyndbg: show module in vpr-info in dd-exec-queries
        ...
      95faf6ba
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 5c904c66
      Linus Torvalds authored
      Pull char/misc driver updates from Greg KH:
       "Here is the big set of char and misc and other tiny driver subsystem
        updates for 5.16-rc1.
      
        Loads of things in here, all of which have been in linux-next for a
        while with no reported problems (except for one called out below.)
      
        Included are:
      
         - habanana labs driver updates, including dma_buf usage, reviewed and
           acked by the dma_buf maintainers
      
         - iio driver update (going through this tree not staging as they
           really do not belong going through that tree anymore)
      
         - counter driver updates
      
         - hwmon driver updates that the counter drivers needed, acked by the
           hwmon maintainer
      
         - xillybus driver updates
      
         - binder driver updates
      
         - extcon driver updates
      
         - dma_buf module namespaces added (will cause a build error in arm64
           for allmodconfig, but that change is on its way through the drm
           tree)
      
         - lkdtm driver updates
      
         - pvpanic driver updates
      
         - phy driver updates
      
         - virt acrn and nitr_enclaves driver updates
      
         - smaller char and misc driver updates"
      
      * tag 'char-misc-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (386 commits)
        comedi: dt9812: fix DMA buffers on stack
        comedi: ni_usb6501: fix NULL-deref in command paths
        arm64: errata: Enable TRBE workaround for write to out-of-range address
        arm64: errata: Enable workaround for TRBE overwrite in FILL mode
        coresight: trbe: Work around write to out of range
        coresight: trbe: Make sure we have enough space
        coresight: trbe: Add a helper to determine the minimum buffer size
        coresight: trbe: Workaround TRBE errata overwrite in FILL mode
        coresight: trbe: Add infrastructure for Errata handling
        coresight: trbe: Allow driver to choose a different alignment
        coresight: trbe: Decouple buffer base from the hardware base
        coresight: trbe: Add a helper to pad a given buffer area
        coresight: trbe: Add a helper to calculate the trace generated
        coresight: trbe: Defer the probe on offline CPUs
        coresight: trbe: Fix incorrect access of the sink specific data
        coresight: etm4x: Add ETM PID for Kryo-5XX
        coresight: trbe: Prohibit trace before disabling TRBE
        coresight: trbe: End the AUX handle on truncation
        coresight: trbe: Do not truncate buffer on IRQ
        coresight: trbe: Fix handling of spurious interrupts
        ...
      5c904c66
    • Linus Torvalds's avatar
      Merge tag 'staging-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 5cd4dc44
      Linus Torvalds authored
      Pull staging driver updates from Greg KH:
       "Here is the big set of staging driver updates and cleanups for
        5.16-rc1.
      
        Overall we ended up removing a lot of code this time, a bit over
        20,000 lines are now gone thanks to a lot of cleanup work by many
        developers.
      
        Nothing huge in here functionality wise, just loads of cleanups:
      
         - r8188eu driver major cleanups and removal of unused and dead code
      
         - wlan-ng minor cleanups
      
         - fbtft driver cleanups
      
         - most driver cleanups
      
         - rtl8* drivers cleanups
      
         - rts5208 driver cleanups
      
         - vt6655 driver cleanups
      
         - vc04_services drivers cleanups
      
         - wfx cleanups on the way to almost getting this merged out of
           staging (it's close!)
      
         - tiny mips changes needed for the mt7621 drivers, they have been
           acked by the respective subsystem maintainers to go through this
           tree.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'staging-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (622 commits)
        staging: r8188eu: hal: remove goto statement and local variable
        staging: rtl8723bs: hal remove the assignment to itself
        staging: rtl8723bs: fix unmet dependency on CRYPTO for CRYPTO_LIB_ARC4
        staging: vchiq_core: get rid of typedef
        staging: fieldbus: anybus: reframe comment to avoid warning
        staging: r8188eu: fix missing unlock in rtw_resume()
        staging: r8188eu: core: remove the goto from rtw_IOL_accquire_xmit_frame
        staging: r8188eu: core: remove goto statement
        staging: vt6655: Rename `dwAL7230InitTable` array
        staging: vt6655: Rename `dwAL2230PowerTable` array
        staging: vt6655: Rename `dwAL7230InitTableAMode` array
        staging: vt6655: Rename `dwAL7230ChannelTable2` array
        staging: vt6655: Rename `dwAL7230ChannelTable1` array
        staging: vt6655: Rename `dwAL7230ChannelTable0` array
        staging: vt6655: Rename `dwAL2230ChannelTable1` array
        staging: vt6655: Rename `dwAL2230ChannelTable0` array
        staging: r8712u: fix control-message timeout
        staging: rtl8192u: fix control-message timeouts
        staging: mt7621-dts: add missing SPDX license to files
        staging: vchiq_core: fix quoted strings split across lines
        ...
      5cd4dc44
    • Linus Torvalds's avatar
      Merge tag 'usb-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 048ff862
      Linus Torvalds authored
      Pull USB / Thunderbolt updates from Greg KH:
       "Here is the big set of USB and Thunderbolt driver updates for
        5.16-rc1.
      
        Nothing major in here, just lots of little cleanups and additions for
        new hardware, all of which have been in linux-next for a while with no
        reported problems.
      
        Included in here are:
      
         - tiny Thunderbolt driver updates
      
         - USB typec driver updates
      
         - USB serial driver updates
      
         - USB gadget driver updates
      
         - dwc2 and dwc3 controller driver updates
      
         - tiny USB host driver updates
      
         - minor USB driver fixes and updates
      
         - USB dts updates for various platforms"
      
      * tag 'usb-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (123 commits)
        usb: gadget: Mark USB_FSL_QE broken on 64-bit
        usb: gadget: f_mass_storage: Disable eps during disconnect
        usb: gadget: udc: core: Revise comments for USB ep enable/disable
        USB: serial: keyspan: fix memleak on probe errors
        USB: serial: cp210x: use usb_control_msg_recv() and usb_control_msg_send()
        USB: serial: ch314: use usb_control_msg_recv()
        USB: iowarrior: fix control-message timeouts
        Documentation: USB: fix example bulk-message timeout
        usb: dwc2: stm32mp15: set otg_rev
        usb: dwc2: add otg_rev and otg_caps information for gadget driver
        dt-bindings: usb: dwc2: adopt otg properties defined in usb-drd.yaml
        dt-bindings: usb: dwc2: Add reference to usb-drd.yaml
        usb: gadget: uvc: implement dwPresentationTime and scrSourceClock
        usb: gadget: uvc: use on returned header len in video_encode_isoc_sg
        usb:gadget: f_uac1: fixed sync playback
        Docs: usb: remove :c:func: for usb_register and usb_deregister
        Docs: usb: update struct usb_driver
        usb: gadget: configfs: change config attributes file operation
        usb: gadget: configfs: add cfg_to_gadget_info() helper
        usb: dwc3: Align DWC3_EP_* flag macros
        ...
      048ff862
    • Ard Biesheuvel's avatar
      parisc: move CPU field back into thread_info · 2a2e8202
      Ard Biesheuvel authored
      In commit 2214c0e7 ("parisc: Move thread_info into task struct")
      PA-RISC gained support for THREAD_INFO_IN_TASK while changes were
      already underway to keep the CPU field in thread_info rather than move
      it into task_struct when THREAD_INFO_IN_TASK is enabled. The result is a
      broken build for all PA-RISC configs that enable SMP.
      
      So let's partially revert that commit, and get rid of the ugly hack to
      get at the offset of task_struct::cpu without having to include
      linux/sched.h, and put the CPU field back where it was before.
      Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Fixes: bcf9033e ("sched: move CPU field back into thread_info if THREAD_INFO_IN_TASK=y")
      Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      2a2e8202
    • Dave Anglin's avatar
      parisc: Don't disable interrupts in cmpxchg and futex operations · 7e992711
      Dave Anglin authored
      I no longer think interrupts can be disabled in the futex and cmpxchg
      operations because of COW breaks.  This not ideal but I suspect it's the
      best we can do.
      
      For the cmpxchg operations in syscall.S, we rely on the code to not
      schedule off the gateway page.  For the futex, I added code to disable
      preemption.
      
      So far, I haven't seen the warnings with the attached change but the
      change is only lightly tested.
      Signed-off-by: default avatarDave Anglin <dave.anglin@bell.net>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      7e992711
    • Sven Schnelle's avatar
      parisc: don't enable irqs unconditionally in handle_interruption() · 014966dc
      Sven Schnelle authored
      If the previous context had interrupts disabled, we should better
      keep them disabled. This was noticed in the unwinding code where
      a copy_from_kernel_nofault() triggered a page fault, and after
      the fixup by the page fault handler interrupts where suddenly
      enabled.
      Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      014966dc
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 7ddb58cb
      Linus Torvalds authored
      Pull clk updates from Stephen Boyd:
       "The usual collection of clk driver updates and new driver additions.
        In terms of lines it's mainly Qualcomm and Mediatek code, supporting
        various SoCs and their multitude of clk controllers.
      
        New Drivers:
         - GCC and RPMcc support for Qualcomm QCM2290 SoCs
         - GCC support for Qualcomm MSM8994/MSM8992 SoCs
         - LPASSCC and CAMCC support for Qualcomm SC7280 SoCs
         - Support for Mediatek MT8195 SoCs
         - Initial clock driver for the Exynos850 SoC
         - Add i.MX8ULP clock driver and related bindings
      
        Updates:
         - Clock power management for new SAMA7G5 SoC
         - Updates to the master clock driver and sam9x60-pll to be able to
           use cpufreq-dt driver and avoid overclocking of CPU and MCK0
           domains while changing the frequency via DVFS
         - Use ARRAY_SIZE in qcom clk drivers
         - Remove some impractical fallback parent names in qcom clk drivers
         - Make Mediatek clk drivers tristate
         - Refactoring of the CPU clock code and conversion of Samsung
           Exynos5433 CPU clock driver to the platform driver
         - A few conversions to devm_platform_ioremap_resource()
         - Updates of the Samsung Kconfig help text
         - Update video path realted clocks for Amlogic meson8
         - Add SPI Multi I/O Bus and SDHI clocks and resets on Renesas RZ/G2L
         - Add SPI Multi I/O Bus (RPC) clocks on Renesas R-Car V3U
         - Add MediaLB clocks on Renesas R-Car H3, M3-W/W+, and M3-N
         - Remove unused helpers from i.MX specific clock header
         - Rework all i.MX clk based helpers to use clk_hw based ones
         - Rework i.MX gate/mux/divider wrappers
         - Rework imx_clk_hw_composite and imx_clk_hw_pll14xx wrappers
         - Update i.MX pllv4 and composite clocks to support i.MX8ULP
         - Disable i.MX7ULP composite clock during initialization
         - Add CLK_SET_RATE_NO_REPARENT flag to the i.MX7ULP composite
         - Disable the i.MX pfd when set pfdv2 clock rate
         - Add support for i.MX8ULP in pfdv2
         - Add the pcc reset controller support on i.MX8ULP
         - Fix the build break when clk-imx8ulp is built as module
         - Move csi_sel mux to correct base register in i.MX6UL clock drivr
         - Fix csi clk gate register in i.MX6UL clock driver
         - Fix build bug making CLK_IMX8ULP select MXC_CLK
         - Add TPU (PWM), and Z (Cortex-A76) clocks on Renesas R-Car V3U
         - Add Ethernet clocks on Renesas RZ/G2L
         - Move Rockchip to use module_platform_probe
         - Enable usage of Coresight related clocks on Rockchip rk3399"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (170 commits)
        clk: use clk_core_get_rate_recalc() in clk_rate_get()
        clk: at91: sama7g5: set low limit for mck0 at 32KHz
        clk: at91: sama7g5: remove prescaler part of master clock
        clk: at91: clk-master: add notifier for divider
        clk: at91: clk-sam9x60-pll: add notifier for div part of PLL
        clk: at91: clk-master: fix prescaler logic
        clk: at91: clk-master: mask mckr against layout->mask
        clk: at91: clk-master: check if div or pres is zero
        clk: at91: sam9x60-pll: use DIV_ROUND_CLOSEST_ULL
        clk: at91: pmc: add sama7g5 to the list of available pmcs
        clk: at91: clk-master: improve readability by using local variables
        clk: at91: clk-master: add register definition for sama7g5's master clock
        clk: at91: sama7g5: add securam's peripheral clock
        clk: at91: pmc: execute suspend/resume only for backup mode
        clk: at91: re-factor clocks suspend/resume
        clk: ux500: Add driver for the reset portions of PRCC
        dt-bindings: clock: u8500: Rewrite in YAML and extend
        clk: composite: Use rate_ops.determine_rate when also a mux is available
        clk: samsung: describe drivers in Kconfig
        clk: samsung: exynos5433: update apollo and atlas clock probing
        ...
      7ddb58cb
    • Linus Torvalds's avatar
      Merge tag 'defconfig-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ce840177
      Linus Torvalds authored
      Pull ARM defconfig updates from Arnd Bergmann:
       "These are the usual changes to enable newly added driver by default,
        and to do some housekeeping around changing Kconfig symbols"
      
      * tag 'defconfig-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (33 commits)
        arm64: defconfig: Enable Qualcomm LMH driver
        arm64: defconfig: Enable Qualcomm prima/pronto drivers
        arm64: defconfig: Enable Sleep stats driver
        arm64: defconfig: Visconti: Enable PCIe host controller
        ARM: configs: aspeed: Remove unused USB gadget devices
        ARM: config: aspeed: Enable Network Block Device
        ARM: configs: aspeed: Enable pstore and lockup detectors
        ARM: configs: aspeed: Enable commonly used drivers
        ARM: configs: aspeed: Disable IPV6 SIT device
        ARM: imx_v6_v7_defconfig: Enable HID I2C
        arm64: defconfig: Enable QTI SC7280 pinctrl, gcc and interconnect
        arm64: defconfig: Disable firmware sysfs fallback
        ARM: mvebu_v7_defconfig: rebuild default configuration
        ARM: mvebu_v7_defconfig: enable mtd physmap
        arm64: defconfig: Enable few Tegra210 based AHUB drivers
        arm64: defconfig: drop obsolete ARCH_* configs
        ARM: imx_v6_v7_defconfig: enable bpf syscall and cgroup bpf
        ARM: imx_v6_v7_defconfig: build imx sdma driver as module
        ARM: imx_v6_v7_defconfig: rebuild default configuration
        ARM: imx_v6_v7_defconfig: change snd soc tlv320aic3x to i2c variant
        ...
      ce840177
    • Linus Torvalds's avatar
      Merge tag 'drivers-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · d461e96c
      Linus Torvalds authored
      Pull ARM SoC driver updates from Arnd Bergmann:
       "These are all the driver updates for SoC specific drivers. There are a
        couple of subsystems with individual maintainers picking up their
        patches here:
      
         - The reset controller subsystem add support for a few new SoC
           variants to existing drivers, along with other minor improvements
      
         - The OP-TEE subsystem gets a driver for the ARM FF-A transport
      
         - The memory controller subsystem has improvements for Tegra,
           Mediatek, Renesas, Freescale and Broadcom specific drivers.
      
         - The tegra cpuidle driver changes get merged through this tree this
           time. There are only minor changes, but they depend on other tegra
           driver updates here.
      
         - The ep93xx platform finally moves to using the drivers/clk/
           subsystem, moving the code out of arch/arm in the process. This
           depends on a small sound driver change that is included here as
           well.
      
         - There are some minor updates for Qualcomm and Tegra specific
           firmware drivers.
      
        The other driver updates are mainly for drivers/soc, which contains a
        mixture of vendor specific drivers that don't really fit elsewhere:
      
         - Mediatek drivers gain more support for MT8192, with new support for
           hw-mutex and mmsys routing, plus support for reset lines in the
           mmsys driver.
      
         - Qualcomm gains a new "sleep stats" driver, and support for the
           "Generic Packet Router" in the APR driver.
      
         - There is a new user interface for routing the UARTS on ASpeed BMCs,
           something that apparently nobody else has needed so far.
      
         - More drivers can now be built as loadable modules, in particular
           for Broadcom and Samsung platforms.
      
         - Lots of improvements to the TI sysc driver for better
           suspend/resume support"
      
        Finally, there are lots of minor cleanups and new device IDs for
        amlogic, renesas, tegra, qualcomm, mediateka, samsung, imx,
        layerscape, allwinner, broadcom, and omap"
      
      * tag 'drivers-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (179 commits)
        optee: Fix spelling mistake "reclain" -> "reclaim"
        Revert "firmware: qcom: scm: Add support for MC boot address API"
        qcom: spm: allow compile-testing
        firmware: arm_ffa: Remove unused 'compat_version' variable
        soc: samsung: exynos-chipid: add exynosautov9 SoC support
        firmware: qcom: scm: Don't break compile test on non-ARM platforms
        soc: qcom: smp2p: Add of_node_put() before goto
        soc: qcom: apr: Add of_node_put() before return
        soc: qcom: qcom_stats: Fix client votes offset
        soc: qcom: rpmhpd: fix sm8350_mxc's peer domain
        dt-bindings: arm: cpus: Document qcom,msm8916-smp enable-method
        ARM: qcom: Add qcom,msm8916-smp enable-method identical to MSM8226
        firmware: qcom: scm: Add support for MC boot address API
        soc: qcom: spm: Add 8916 SPM register data
        dt-bindings: soc: qcom: spm: Document qcom,msm8916-saw2-v3.0-cpu
        soc: qcom: socinfo: Add PM8150C and SMB2351 models
        firmware: qcom_scm: Fix error retval in __qcom_scm_is_call_available()
        soc: aspeed: Add UART routing support
        soc: fsl: dpio: rename the enqueue descriptor variable
        soc: fsl: dpio: use an explicit NULL instead of 0
        ...
      d461e96c
  3. 03 Nov, 2021 19 commits
    • Linus Torvalds's avatar
      Merge tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · ae45d84f
      Linus Torvalds authored
      Pull ARM SoC DT updates from Arnd Bergmann:
       "This is a rather large update for the ARM devicetree files, after a
        few quieter releases, with 775 total commits and 47 branches pulled
        into this one.
      
        There are 5 new SoC types plus some minor variations, and a total of
        60 new machines, so I'm limiting the summary to the main noteworthy
        items:
      
         - Apple M1 gain support for PCI and pinctrl, getting a bit closer to
           a usable system out of the box.
      
         - Qualcomm gains support for Snapdragon 690 (aka SM6350) as well as
           SM7225, 11 new smartphones, and three additional Chromebooks, and
           improvements all over the place.
      
         - Samsung gains support for ExynosAutov9, an automotive version of
           their smartphone SoC, but otherwise no major changes.
      
         - Microchip adds the SAMA5D29 SoC in the SAMA5 family, and a number
           of improvements for the recently added SAMA7 family. The LAN966 SoC
           that was added in the platform code does not have dts files yet.
           Two board files are added for the older at91sam9g20 SoC
      
         - Aspeed supports two additional server boards using their AST2600 as
           BMC, and improves support for qemu models
      
         - Rockchip RK3566/RK3688 gets added, along with six new development
           boards using RK3328/RK3399/RK3566, and one Chromebook tablet.
      
         - Two NAS boxes are added using the ARMv4 based Gemini platform
      
         - One new board is added to the Intel Arria SoC FPGA family
      
         - Marvell adds one network switch based on Armada 381 and the new
           MOCHAbin 7040 development board
      
         - NXP adds support for the S32G2 automotive SoC, two imx6 based ebook
           readers, and three additional development boards, which is notably
           less than their usual additions, but they also gain improvements to
           their many existing boards
      
         - STmicroelectronics adds their stm32mp13 SoC family along with a
           reference board
      
         - Renesas adds new versions of their R-Car Gen3 SoCs and many updates
           for their older generations
      
         - Broadcom adds support for a number of Cisco Meraki wireless
           controllers, along with two new boards and other updates for
           BCM53xx/BCM47xx networking SoCs and the Raspberry Pi boards
      
         - Mediatek improves support for the MT81xx SoCs used in Chromebooks
           as well as the MT76xx networking SoCs
      
         - NVIDIA adds a number of cleanups and additional support for more
           hardware on the already supported machines
      
         - TI K3 adds support for three new boards along with cleanups
      
         - Toshiba adds one board for the Visconti family
      
         - Xilinx adds five new ZynqMP based machines
      
         - Amlogic support is added for the Radxa Zero and two Jethub home
           automation controllers, along with changes to other machines
      
         - Rob Herring continues his work on fixing dtc warnings all over the
           tree.
      
         - Minor updates for TI OMAP, Mstar, Allwinner/sunxi, Hisilicon,
           Ux500, Unisoc"
      
      * tag 'dt-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (720 commits)
        arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address
        arm64: dts: apple: t8103: Add root port interrupt routing
        arm64: dts: apple: t8103: Add PCIe DARTs
        arm64: apple: Add PCIe node
        arm64: apple: Add pinctrl nodes
        ARM: dts: arm: Update ICST clock nodes 'reg' and node names
        ARM: dts: arm: Update register-bit-led nodes 'reg' and node names
        arm64: dts: exynos: add chipid node for exynosautov9 SoC
        ARM: dts: qcom: fix typo in IPQ8064 thermal-sensor node
        Revert "arm64: dts: qcom: msm8916-asus-z00l: Add sensors"
        arm64: dts: qcom: ipq6018: Remove unused 'iface_clk' property from dma-controller node
        arm64: dts: qcom: ipq6018: Remove unused 'qcom,config-pipe-trust-reg' property
        arm64: dts: qcom: sm8350: Add CPU topology and idle-states
        arm64: dts: qcom: Drop unneeded extra device-specific includes
        arm64: dts: qcom: msm8916: Drop standalone smem node
        arm64: dts: qcom: Fix node name of rpm-msg-ram device nodes
        arm64: dts: qcom: msm8916-asus-z00l: Add sensors
        arm64: dts: qcom: msm8916-asus-z00l: Add SDCard
        arm64: dts: qcom: msm8916-asus-z00l: Add touchscreen
        arm64: dts: qcom: sdm845-oneplus: remove devinfo-size from ramoops node
        ...
      ae45d84f
    • Linus Torvalds's avatar
      Merge tag 'soc-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 2219b0ce
      Linus Torvalds authored
      Pull ARM SoC updates from Arnd Bergmann:
       "The SoC updates this time are mainly removing obsolete code from the
        OMAP2 platform, another step in the eternal cleanup of that platform.
      
        There are two new SoCs getting added: STMicroelectronics stm32mp13 and
        Microchip lan966. Both fit into existing platforms and require minimal
        changes here.
      
        A couple of MAINTAINER file updates relate to those changes, and
        update some file paths"
      
      * tag 'soc-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (28 commits)
        MAINTAINERS: Update BCM7XXX entry with additional patterns
        MAINTAINERS: add pinctrl-apple-gpio to ARM/APPLE MACHINE
        MAINTAINERS: Add pasemi i2c to ARM/APPLE MACHINE
        ARM: SPEAr: Update MAINTAINERS entries
        ARM: OMAP2+: Drop unused CM defines for am3
        ARM: OMAP2+: Drop unused CM and SCRM defines for omap4
        ARM: OMAP2+: Drop unused CM and SCRM defines for omap5
        ARM: OMAP2+: Drop unused CM defines for dra7
        ARM: OMAP2+: Drop unused PRM defines for am3
        ARM: OMAP2+: Drop unused PRM defines for am4
        ARM: OMAP2+: Drop unused PRM defines for omap4
        ARM: OMAP2+: Drop unused PRM defines for omap5
        ARM: OMAP2+: Drop unused PRM defines for dra7
        ARM: OMAP2+: Fix comment typo
        ARM: OMAP2+: Fix typo in some comments
        ARM: at91: add basic support for new SoC family lan966
        dt-bindings: arm: at91: Document lan966 pcb8291 and pcb8290 boards
        ARM: at91: Documentation: add lan966 family
        ARM: at91: Documentation: add sama7g5 family
        MAINTAINERS: add an entry for NXP S32G boards
        ...
      2219b0ce
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 43e1b129
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
       "vhost and virtio fixes and features:
      
         - Hardening work by Jason
      
         - vdpa driver for Alibaba ENI
      
         - Performance tweaks for virtio blk
      
         - virtio rng rework using an internal buffer
      
         - mac/mtu programming for mlx5 vdpa
      
         - Misc fixes, cleanups"
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (45 commits)
        vdpa/mlx5: Forward only packets with allowed MAC address
        vdpa/mlx5: Support configuration of MAC
        vdpa/mlx5: Fix clearing of VIRTIO_NET_F_MAC feature bit
        vdpa_sim_net: Enable user to set mac address and mtu
        vdpa: Enable user to set mac and mtu of vdpa device
        vdpa: Use kernel coding style for structure comments
        vdpa: Introduce query of device config layout
        vdpa: Introduce and use vdpa device get, set config helpers
        virtio-scsi: don't let virtio core to validate used buffer length
        virtio-blk: don't let virtio core to validate used length
        virtio-net: don't let virtio core to validate used length
        virtio_ring: validate used buffer length
        virtio_blk: correct types for status handling
        virtio_blk: allow 0 as num_request_queues
        i2c: virtio: Add support for zero-length requests
        virtio-blk: fixup coccinelle warnings
        virtio_ring: fix typos in vring_desc_extra
        virtio-pci: harden INTX interrupts
        virtio_pci: harden MSI-X interrupts
        virtio_config: introduce a new .enable_cbs method
        ...
      43e1b129
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.16-rc1' of git://github.com/awilliam/linux-vfio · d4ec3d55
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Cleanup vfio iommu_group creation (Christoph Hellwig)
      
       - Add individual device reset for vfio/fsl-mc (Diana Craciun)
      
       - IGD OpRegion 2.0+ support (Colin Xu)
      
       - Use modern cdev lifecycle for vfio_group (Jason Gunthorpe)
      
       - Use new mdev API in vfio_ccw (Jason Gunthorpe)
      
      * tag 'vfio-v5.16-rc1' of git://github.com/awilliam/linux-vfio: (27 commits)
        vfio/ccw: Convert to use vfio_register_emulated_iommu_dev()
        vfio/ccw: Pass vfio_ccw_private not mdev_device to various functions
        vfio/ccw: Use functions for alloc/free of the vfio_ccw_private
        vfio/ccw: Remove unneeded GFP_DMA
        vfio: Use cdev_device_add() instead of device_create()
        vfio: Use a refcount_t instead of a kref in the vfio_group
        vfio: Don't leak a group reference if the group already exists
        vfio: Do not open code the group list search in vfio_create_group()
        vfio: Delete vfio_get/put_group from vfio_iommu_group_notifier()
        vfio/pci: Add OpRegion 2.0+ Extended VBT support.
        vfio/iommu_type1: remove IS_IOMMU_CAP_DOMAIN_IN_CONTAINER
        vfio/iommu_type1: remove the "external" domain
        vfio/iommu_type1: initialize pgsize_bitmap in ->open
        vfio/spapr_tce: reject mediated devices
        vfio: clean up the check for mediated device in vfio_iommu_type1
        vfio: remove the unused mdev iommu hook
        vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>
        vfio: remove unused method from vfio_iommu_driver_ops
        vfio: simplify iommu group allocation for mediated devices
        vfio: remove the iommudata hack for noiommu groups
        ...
      d4ec3d55
    • Linus Torvalds's avatar
      Merge branch 'per_signal_struct_coredumps-for-v5.16' of... · a602285a
      Linus Torvalds authored
      Merge branch 'per_signal_struct_coredumps-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
      
      Pull per signal_struct coredumps from Eric Biederman:
       "Current coredumps are mixed up with the exit code, the signal handling
        code, and the ptrace code making coredumps much more complicated than
        necessary and difficult to follow.
      
        This series of changes starts with ptrace_stop and cleans it up,
        making it easier to follow what is happening in ptrace_stop. Then
        cleans up the exec interactions with coredumps. Then cleans up the
        coredump interactions with exit. Finally the coredump interactions
        with the signal handling code is cleaned up.
      
        The first and last changes are bug fixes for minor bugs.
      
        I believe the fact that vfork followed by execve can kill the process
        the called vfork if exec fails is sufficient justification to change
        the userspace visible behavior.
      
        In previous discussions some of these changes were organized
        differently and individually appeared to make the code base worse. As
        currently written I believe they all stand on their own as cleanups
        and bug fixes.
      
        Which means that even if the worst should happen and the last change
        needs to be reverted for some unimaginable reason, the code base will
        still be improved.
      
        If the worst does not happen there are a more cleanups that can be
        made. Signals that generate coredumps can easily become eligible for
        short circuit delivery in complete_signal. The entire rendezvous for
        generating a coredump can move into get_signal. The function
        force_sig_info_to_task be written in a way that does not modify the
        signal handling state of the target task (because coredumps are
        eligible for short circuit delivery). Many of these future cleanups
        can be done another way but nothing so cleanly as if coredumps become
        per signal_struct"
      
      * 'per_signal_struct_coredumps-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
        coredump: Limit coredumps to a single thread group
        coredump:  Don't perform any cleanups before dumping core
        exit: Factor coredump_exit_mm out of exit_mm
        exec: Check for a pending fatal signal instead of core_state
        ptrace: Remove the unnecessary arguments from arch_ptrace_stop
        signal: Remove the bogus sigkill_pending in ptrace_stop
      a602285a
    • Guenter Roeck's avatar
      string: uninline memcpy_and_pad · 5c4e0a21
      Guenter Roeck authored
      When building m68k:allmodconfig, recent versions of gcc generate the
      following error if the length of UTS_RELEASE is less than 8 bytes.
      
        In function 'memcpy_and_pad',
          inlined from 'nvmet_execute_disc_identify' at
            drivers/nvme/target/discovery.c:268:2: arch/m68k/include/asm/string.h:72:25: error:
      	'__builtin_memcpy' reading 8 bytes from a region of size 7
      
      Discussions around the problem suggest that this only happens if an
      architecture does not provide strlen(), if -ffreestanding is provided as
      compiler option, and if CONFIG_FORTIFY_SOURCE=n. All of this is the case
      for m68k. The exact reasons are unknown, but seem to be related to the
      ability of the compiler to evaluate the return value of strlen() and
      the resulting execution flow in memcpy_and_pad(). It would be possible
      to work around the problem by using sizeof(UTS_RELEASE) instead of
      strlen(UTS_RELEASE), but that would only postpone the problem until the
      function is called in a similar way. Uninline memcpy_and_pad() instead
      to solve the problem for good.
      Suggested-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      Reviewed-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Acked-by: default avatarAndy Shevchenko <andriy.shevchenko@intel.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5c4e0a21
    • Pali Rohár's avatar
      MIPS: Cobalt: Explain GT64111 early PCI fixup · 36de23a4
      Pali Rohár authored
      Properly document why changing PCI Class Code for GT64111 device to Host
      Bridge is required as important details were after 20 years forgotten.
      Signed-off-by: default avatarPali Rohár <pali@kernel.org>
      Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
      36de23a4
    • Linus Torvalds's avatar
      Merge tag 'jfs-5.16' of git://github.com/kleikamp/linux-shaggy · 655fedaa
      Linus Torvalds authored
      Pull jfs fix from David Kleikamp:
       "Just one JFS patch"
      
      * tag 'jfs-5.16' of git://github.com/kleikamp/linux-shaggy:
        JFS: fix memleak in jfs_mount
      655fedaa
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · e1fd0b2a
      Linus Torvalds authored
      Pull more tracing updates from Steven Rostedt:
      
       - osnoise and timerlat updates that will work with the RTLA tool
         (Real-Time Linux Analysis).
      
         Specifically it disconnects the work load (threads that look for
         latency) from the tracing instances attached to them, allowing for
         more than one instance to retrieve data from the work load.
      
       - Optimization on division in the trace histogram trigger code to use
         shift and multiply when possible. Also added documentation.
      
       - Fix prototype to my_direct_func in direct ftrace trampoline sample
         code.
      
      * tag 'trace-v5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        ftrace/samples: Add missing prototype for my_direct_func
        tracing/selftests: Add tests for hist trigger expression parsing
        tracing/histogram: Document hist trigger variables
        tracing/histogram: Update division by 0 documentation
        tracing/histogram: Optimize division by constants
        tracing/osnoise: Remove PREEMPT_RT ifdefs from inside functions
        tracing/osnoise: Remove STACKTRACE ifdefs from inside functions
        tracing/osnoise: Allow multiple instances of the same tracer
        tracing/osnoise: Remove TIMERLAT ifdefs from inside functions
        tracing/osnoise: Support a list of trace_array *tr
        tracing/osnoise: Use start/stop_per_cpu_kthreads() on osnoise_cpus_write()
        tracing/osnoise: Split workload start from the tracer start
        tracing/osnoise: Improve comments about barrier need for NMI callbacks
        tracing/osnoise: Do not follow tracing_cpumask
      e1fd0b2a
    • Florian Fainelli's avatar
      MAINTAINERS: Update BCM7XXX entry with additional patterns · fc3d4aeb
      Florian Fainelli authored
      Broadcom STB systems use the bcm7038 pattern as well as the bcm7120
      pattern for some of its drivers, add those to the existing entry.
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Link: https://lore.kernel.org/r/20211028163756.4014059-1-f.fainelli@gmail.com'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      fc3d4aeb
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma · 25edbc38
      Linus Torvalds authored
      Pull rdma updates from Jason Gunthorpe:
       "A typical collection of patches this cycle, mostly fixing with a few
        new features:
      
         - Fixes from static tools. clang warnings, dead code, unused
           variable, coccinelle sweeps, etc
      
         - Driver bug fixes and minor improvements in rxe, bnxt_re, hfi1,
           mlx5, irdma, qedr
      
         - rtrs ULP bug fixes an improvments
      
         - Additional counters for bnxt_re
      
         - Support verbs CQ notifications in EFA
      
         - Continued reworking and fixing of rxe
      
         - netlink control to enable/disable optional device counters
      
         - rxe now can use AH objects for its UD path, fixing various bugs in
           the process
      
         - Add DMABUF support to EFA"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: (103 commits)
        RDMA/core: Require the driver to set the IOVA correctly during rereg_mr
        RDMA/bnxt_re: Remove unsupported bnxt_re_modify_ah callback
        RDMA/irdma: optimize rx path by removing unnecessary copy
        RDMA/qed: Use helper function to set GUIDs
        RDMA/hns: Use the core code to manage the fixed mmap entries
        IB/opa_vnic: Rebranding of OPA VNIC driver to Cornelis Networks
        IB/qib: Rebranding of qib driver to Cornelis Networks
        IB/hfi1: Rebranding of hfi1 driver to Cornelis Networks
        RDMA/bnxt_re: Use helper function to set GUIDs
        RDMA/bnxt_re: Fix kernel panic when trying to access bnxt_re_stat_descs
        RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
        RDMA/hns: Modify the value of MAX_LP_MSG_LEN to meet hardware compatibility
        RDMA/hns: Fix initial arm_st of CQ
        RDMA/rxe: Make rxe_type_info static const
        RDMA/rxe: Use 'bitmap_zalloc()' when applicable
        RDMA/rxe: Save a few bytes from struct rxe_pool
        RDMA/irdma: Remove the unused variable local_qp
        RDMA/core: Fix missed initialization of rdma_hw_stats::lock
        RDMA/efa: Add support for dmabuf memory regions
        RDMA/umem: Allow pinned dmabuf umem usage
        ...
      25edbc38
    • Linus Torvalds's avatar
      Merge tag 'sound-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · ff0700f0
      Linus Torvalds authored
      Pull sound updates from Takashi Iwai:
       "Lots of code development have been see in ASoC side as usual, while
        the continued development on memalloc helper and USB-audio low-
        latency support are found in the rest.
      
        Note that a few changes in the unusual places like arch/sh are
        included, which are a part of ASoC DAI format cleanups.
      
        ALSA core:
      
         - Continued memalloc helper updates and cleanups, now supporting
           non-coherent and non-contiguous pages
      
         - Fixes for races in mixer OSS layer
      
        ASoC:
      
         - A new version of the audio graph card which supports a wider range
           of systems
      
         - Several conversions to YAML DT bindings
      
         - Continuing cleanups to the SOF and Intel code
      
         - Move of the Cirrus DSP framework into drivers/firmware to allow for
           future use by non-audio DSPs
      
         - An overhaul of the cs42l42 driver, correcting many problems
      
         - DAI format terminology conversions over many drivers for cleanups
      
         - Support for AMD Vangogh and Yelow Cap, Cirrus CS35L41, Maxim
           MAX98520 and MAX98360A, Mediatek MT8195, Nuvoton NAU8821, nVidia
           Tegra210, NXP i.MX8ULP, Qualcomm AudioReach, Realtek ALC5682I-VS,
           RT5682S, and RT9120 and Rockchip RV1126 and RK3568
      
        USB-audio:
      
         - Continued improvements on low-latency playback
      
         - Quirks for Pioneer devices, Line6 HX-Stomp XL, Audient iD14
      
        HD-audio:
      
         - Reduce excessive udelay() calls on Intel platforms; this should
           reduce the CPU load with PulseAudio
      
         - Quirks for HP and Clevo laptops
      
        FireWire:
      
         - Support for meter information on MOTU"
      
      * tag 'sound-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (513 commits)
        ALSA: usb-audio: Add quirk for Audient iD14
        ALSA: hda/realtek: Add quirk for Clevo PC70HS
        ALSA: usb-audio: Line6 HX-Stomp XL USB_ID for 48k-fixed quirk
        ALSA: usb-audio: Add registration quirk for JBL Quantum 400
        ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()'
        ASoC: tlv320aic3x: Make aic3x_remove() return void
        ASoC: Intel: soc-acpi: use const for all uses of snd_soc_acpi_codecs
        ASoC: Intel: soc-acpi-cht: shrink tables using compatible IDs
        ASoC: Intel: soc-acpi-byt: shrink tables using compatible IDs
        ASoC: Intel: sof_rt5682: use comp_ids to enumerate rt5682s
        ASoC: Intel: sof_rt5682: detect codec variant in probe function
        ASoC: soc-acpi: add comp_ids field for machine driver matching
        ASoC: mediatek: mt8195: add mt8195-mt6359-rt1011-rt5682 bindings document
        ASoC: mediatek: mt8195: add machine driver with mt6359, rt1011 and rt5682
        ASoC: Stop dummy from overriding hwparams
        ASoC: topology: Change topology device to card device
        ASoC: topology: Use correct device for prints
        ASoC: topology: Check for dapm widget completeness
        ASoC: topology: Add header payload_size verification
        ASoC: core: Remove invalid snd_soc_component_set_jack call
        ...
      ff0700f0
    • Aharon Landau's avatar
      RDMA/core: Require the driver to set the IOVA correctly during rereg_mr · f1a090f0
      Aharon Landau authored
      If the driver returns a new MR during rereg it has to fill it with the
      IOVA from the proper source. If IB_MR_REREG_TRANS is set then the IOVA is
      cmd.hca_va, otherwise the IOVA comes from the old MR. mlx5 for example has
      two calls inside rereg_mr:
      
      		return create_real_mr(new_pd, umem, mr->ibmr.iova,
      				      new_access_flags);
      and
      		return create_real_mr(new_pd, new_umem, iova, new_access_flags);
      
      Unconditionally overwriting the iova in the newly allocated MR will
      corrupt the iova if the first path is used.
      
      Remove the redundant initializations from ib_uverbs_rereg_mr().
      
      Fixes: 6e0954b1 ("RDMA/uverbs: Allow drivers to create a new HW object during rereg_mr")
      Link: https://lore.kernel.org/r/4b0a31bbc372842613286a10d7a8cbb0ee6069c7.1635400472.git.leonro@nvidia.comSigned-off-by: default avatarAharon Landau <aharonl@nvidia.com>
      Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      f1a090f0
    • Kamal Heib's avatar
      RDMA/bnxt_re: Remove unsupported bnxt_re_modify_ah callback · dd83f482
      Kamal Heib authored
      There is no need to return always zero for function which is not
      supported, especially since 0 is the wrong return code.
      
      Link: https://lore.kernel.org/r/20211102073054.410838-1-kamalheib1@gmail.comSigned-off-by: default avatarKamal Heib <kamalheib1@gmail.com>
      Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
      dd83f482
    • Linus Torvalds's avatar
      Merge tag 'devicetree-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · dcd68326
      Linus Torvalds authored
      Pull devicetree updates from Rob Herring:
      
       - Convert /reserved-memory bindings to schemas
      
       - Convert a bunch of NFC bindings to schemas
      
       - Convert bindings to schema: Xilinx USB, Freescale DDR controller, Arm
         CCI-400, UBlox Neo-6M, 1-Wire GPIO, MSI controller, ASpeed LPC, OMAP
         and Inside-Secure HWRNG, register-bit-led, OV5640, Silead GSL1680,
         Elan ekth3000, Marvell bluetooth, TI wlcore, TI bluetooth, ESP
         ESP8089, tlm,trusted-foundations, Microchip cap11xx, Ralink SoCs and
         boards, and TI sysc
      
       - New binding schemas for: msi-ranges, Aspeed UART routing controller,
         palmbus, Xylon LogiCVC display controller, Mediatek's MT7621 SDRAM
         memory controller, and Apple M1 PCIe host
      
       - Run schema checks for %.dtb targets
      
       - Improve build time when using DT_SCHEMA_FILES
      
       - Improve error message when dtschema is not found
      
       - Various doc reference fixes in MAINTAINERS
      
       - Convert architectures to common CPU h/w ID parsing function
         of_get_cpu_hwid().
      
       - Allow for empty NUMA node IDs which may be hotplugged
      
       - Cleanup of __fdt_scan_reserved_mem()
      
       - Constify device_node parameters
      
       - Update dtc to upstream v1.6.1-19-g0a3a9d3449c8. Adds new checks
         'node_name_vs_property_name' and 'interrupt_map'.
      
       - Enable dtc 'unit_address_format' warning by default
      
       - Fix unittest EXPECT text for gpio hog errors
      
      * tag 'devicetree-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (97 commits)
        dt-bindings: net: ti,bluetooth: Document default max-speed
        dt-bindings: pci: rcar-pci-ep: Document r8a7795
        dt-bindings: net: qcom,ipa: IPA does support up to two iommus
        of/fdt: Remove of_scan_flat_dt() usage for __fdt_scan_reserved_mem()
        of: unittest: document intentional interrupt-map provider build warning
        of: unittest: fix EXPECT text for gpio hog errors
        of/unittest: Disable new dtc node_name_vs_property_name and interrupt_map warnings
        scripts/dtc: Update to upstream version v1.6.1-19-g0a3a9d3449c8
        dt-bindings: arm: firmware: tlm,trusted-foundations: Convert txt bindings to yaml
        dt-bindings: display: tilcd: Fix endpoint addressing in example
        dt-bindings: input: microchip,cap11xx: Convert txt bindings to yaml
        dt-bindings: ufs: exynos-ufs: add exynosautov9 compatible
        dt-bindings: ufs: exynos-ufs: add io-coherency property
        dt-bindings: mips: convert Ralink SoCs and boards to schema
        dt-bindings: display: xilinx: Fix example with psgtr
        dt-bindings: net: nfc: nxp,pn544: Convert txt bindings to yaml
        dt-bindings: Add a help message when dtschema tools are missing
        dt-bindings: bus: ti-sysc: Update to use yaml binding
        dt-bindings: sram: Allow numbers in sram region node name
        dt-bindings: display: Document the Xylon LogiCVC display controller
        ...
      dcd68326
    • Linus Torvalds's avatar
      Merge tag 'docs-5.16' of git://git.lwn.net/linux · 624ad333
      Linus Torvalds authored
      Pull documentation updates from Jonathan Corbet:
       "This is a relatively unexciting cycle for documentation.
      
         - Some small scripts/kerneldoc fixes
      
         - More Chinese translation work, but at a much reduced rate.
      
         - The tip-tree maintainer's handbook
      
        ...plus the usual array of build fixes, typo fixes, etc"
      
      * tag 'docs-5.16' of git://git.lwn.net/linux: (53 commits)
        kernel-doc: support DECLARE_PHY_INTERFACE_MASK()
        docs/zh_CN: add core-api xarray translation
        docs/zh_CN: add core-api assoc_array translation
        speakup: Fix typo in documentation "boo" -> "boot"
        docs: submitting-patches: make section about the Link: tag more explicit
        docs: deprecated.rst: Clarify open-coded arithmetic with literals
        scripts: documentation-file-ref-check: fix bpf selftests path
        scripts: documentation-file-ref-check: ignore hidden files
        coding-style.rst: trivial: fix location of driver model macros
        docs: f2fs: fix text alignment
        docs/zh_CN add PCI pci.rst translation
        docs/zh_CN add PCI index.rst translation
        docs: translations: zh_CN: memory-hotplug.rst: fix a typo
        docs: translations: zn_CN: irq-affinity.rst: add a missing extension
        block: add documentation for inflight
        scripts: kernel-doc: Ignore __alloc_size() attribute
        docs: pdfdocs: Adjust \headheight for fancyhdr
        docs: UML: user_mode_linux_howto_v2 edits
        docs: use the lore redirector everywhere
        docs: proc.rst: mountinfo: align columns
        ...
      624ad333
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-kunit-5.16-rc1' of... · 313b6ffc
      Linus Torvalds authored
      Merge tag 'linux-kselftest-kunit-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull KUnit updates from Shuah Khan:
       "Several enhancements and fixes:
      
         - ability to run each test suite and test separately
      
         - support for timing test run
      
         - several fixes and improvements"
      
      * tag 'linux-kselftest-kunit-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        kunit: tool: fix typecheck errors about loading qemu configs
        kunit: tool: continue past invalid utf-8 output
        kunit: Reset suite count after running tests
        kunit: tool: improve compatibility of kunit_parser with KTAP specification
        kunit: tool: yield output from run_kernel in real time
        kunit: tool: support running each suite/test separately
        kunit: tool: actually track how long it took to run tests
        kunit: tool: factor exec + parse steps into a function
        kunit: add 'kunit.action' param to allow listing out tests
        kunit: tool: show list of valid --arch options when invalid
        kunit: tool: misc fixes (unused vars, imports, leaked files)
        kunit: fix too small allocation when using suite-only kunit.filter_glob
        kunit: tool: allow filtering test cases via glob
        kunit: drop assumption in kunit-log-test about current suite
      313b6ffc
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-next-5.16-rc1' of... · 84924e2e
      Linus Torvalds authored
      Merge tag 'linux-kselftest-next-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull Kselftest updates from Shuah Khan:
       "Fixes to compile time errors and warnings"
      
      * tag 'linux-kselftest-next-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        selftests/core: fix conflicting types compile error for close_range()
        selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
        selftests: kvm: fix mismatched fclose() after popen()
      84924e2e
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.16-1' of... · 6ab1d483
      Linus Torvalds authored
      Merge tag 'platform-drivers-x86-v5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
      
      Pull x86 platform driver updates from Hans de Goede:
       "Highlights:
      
         - AMD-PMC S0ix support fixes and improvements
      
         - HP-WMI support for Omen laptops
      
         - New nvidia-wmi-ec-backlight driver
      
         - New Intel ISH ECLITE driver
      
         - WMI core cleanups
      
         - Support for various new Melanox platforms
      
         - System76 Laptop support improvements
      
         - Surface Laptop Studio support and initial Surface Pro 8 support
      
         - Various other small fixes and hardware-id additions"
      
      * tag 'platform-drivers-x86-v5.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (106 commits)
        platform/x86: system76_acpi: Fix input device error handling
        platform/x86: touchscreen_dmi: Add info for the Viglen Connect 10 tablet
        platform/surface: aggregator_registry: Add initial support for Surface Pro 8
        platform/x86: mlx-platform: Add support for new system SGN2410
        platform/x86: mlx-platform: Add BIOS attributes for CoffeeLake COMEx based systems
        platform/x86: mlx-platform: Extend FAN and LED configuration to support new MQM97xx systems
        platform/x86: asus-wmi: rename platform_profile_* function symbols
        platform/x86: hp-wmi: rename platform_profile_* function symbols
        platform/x86: amd-pmc: Drop check for valid alarm time
        platform/x86: amd-pmc: Downgrade dev_info message to dev_dbg
        platform/x86: amd-pmc: fix compilation without CONFIG_RTC_SYSTOHC_DEVICE
        platform/x86: system76_acpi: fix Kconfig dependencies
        platform/x86: barco-p50-gpio: use KEY_VENDOR for button instead of KEY_RESTART
        platform/x86: sony-laptop: replace snprintf in show functions with sysfs_emit
        platform/x86: lg-laptop: replace snprintf in show functions with sysfs_emit
        docs: ABI: fix documentation warning in sysfs-driver-mlxreg-io
        platform/x86: wmi: change notification handler type
        HID: surface-hid: Allow driver matching for target ID 1 devices
        HID: surface-hid: Use correct event registry for managing HID events
        platform/surface: aggregator_registry: Add support for Surface Laptop Studio
        ...
      6ab1d483
  4. 02 Nov, 2021 3 commits
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2021-11-03' of git://anongit.freedesktop.org/drm/drm · 56d33754
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Summary below. i915 starts to add support for DG2 GPUs, enables DG1
        and ADL-S support by default, lots of work to enable DisplayPort 2.0
        across drivers. Lots of documentation updates and fixes across the
        board.
      
        core:
         - improve dma_fence, lease and resv documentation
         - shmem-helpers: allocate WC pages on x86, use vmf_insert_pin
         - sched fixes/improvements
         - allow empty drm leases
         - add dma resv iterator
         - add more DP 2.0 headers
         - DP MST helper improvements for DP2.0
      
        dma-buf:
         - avoid warnings, remove fence trace macros
      
        bridge:
         - new helper to get rid of panels
         - probe improvements for it66121
         - enable DSI EOTP for anx7625
      
        fbdev:
         - efifb: release runtime PM on destroy
      
        ttm:
         - kerneldoc switch
         - helper to clear all DMA mappings
         - pool shrinker optimizaton
         - remove ttm_tt_destroy_common
         - update ttm_move_memcpy for async use
      
        panel:
         - add new panel-edp driver
      
        amdgpu:
         - Initial DP 2.0 support
         - Initial USB4 DP tunnelling support
         - Aldebaran MCE support
         - Modifier support for DCC image stores for GFX 10.3
         - Display rework for better FP code handling
         - Yellow Carp/Cyan Skillfish updates
         - Cyan Skillfish display support
         - convert vega/navi to IP discovery asic enumeration
         - validate IP discovery table
         - RAS improvements
         - Lots of fixes
      
        i915:
         - DG1 PCI IDs + LMEM discovery/placement
         - DG1 GuC submission by default
         - ADL-S PCI IDs updated + enabled by default
         - ADL-P (XE_LPD) fixed and updates
         - DG2 display fixes
         - PXP protected object support for Gen12 integrated
         - expose multi-LRC submission interface for GuC
         - export logical engine instance to user
         - Disable engine bonding on Gen12+
         - PSR cleanup
         - PSR2 selective fetch by default
         - DP 2.0 prep work
         - VESA vendor block + MSO use of it
         - FBC refactor
         - try again to fix fast-narrow vs slow-wide eDP training
         - use THP when IOMMU enabled
         - LMEM backup/restore for suspend/resume
         - locking simplification
         - GuC major reworking
         - async flip VT-D workaround changes
         - DP link training improvements
         - misc display refactorings
      
        bochs:
         - new PCI ID
      
        rcar-du:
         - Non-contiguious buffer import support for rcar-du
         - r8a779a0 support prep
      
        omapdrm:
         - COMPILE_TEST fixes
      
        sti:
         - COMPILE_TEST fixes
      
        msm:
         - fence ordering improvements
         - eDP support in DP sub-driver
         - dpu irq handling cleanup
         - CRC support for making igt happy
         - NO_CONNECTOR bridge support
         - dsi: 14nm phy support for msm8953
         - mdp5: msm8x53, sdm450, sdm632 support
      
        stm:
         - layer alpha + zpo support
      
        v3d:
         - fix Vulkan CTS failure
         - support multiple sync objects
      
        gud:
         - add R8/RGB332/RGB888 pixel formats
      
        vc4:
         - convert to new bridge helpers
      
        vgem:
         - use shmem helpers
      
        virtio:
         - support mapping exported vram
      
        zte:
         - remove obsolete driver
      
        rockchip:
         - use bridge attach no connector for LVDS/RGB"
      
      * tag 'drm-next-2021-11-03' of git://anongit.freedesktop.org/drm/drm: (1259 commits)
        drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
        drm/amd/display: MST support for DPIA
        drm/amdgpu: Fix even more out of bound writes from debugfs
        drm/amdgpu/discovery: add SDMA IP instance info for soc15 parts
        drm/amdgpu/discovery: add UVD/VCN IP instance info for soc15 parts
        drm/amdgpu/UAPI: rearrange header to better align related items
        drm/amd/display: Enable dpia in dmub only for DCN31 B0
        drm/amd/display: Fix USB4 hot plug crash issue
        drm/amd/display: Fix deadlock when falling back to v2 from v3
        drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
        drm/amd/display: move FPU associated DCN301 code to DML folder
        drm/amd/display: fix link training regression for 1 or 2 lane
        drm/amd/display: add two lane settings training options
        drm/amd/display: decouple hw_lane_settings from dpcd_lane_settings
        drm/amd/display: implement decide lane settings
        drm/amd/display: adopt DP2.0 LT SCR revision 8
        drm/amd/display: FEC configuration for dpia links in MST mode
        drm/amd/display: FEC configuration for dpia links
        drm/amd/display: Add workaround flag for EDID read on certain docks
        drm/amd/display: Set phy_mux_sel bit in dmub scratch register
        ...
      56d33754
    • Linus Torvalds's avatar
      Merge tag 'pnp-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 464fddbb
      Linus Torvalds authored
      Pull PNP update from Rafael Wysocki:
       "Fix a comment incorrectly marked as kernel-doc (Randy Dunlap)"
      
      * tag 'pnp-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        PNP: system.c: unmark a comment as being kernel-doc
      464fddbb
    • Linus Torvalds's avatar
      Merge tag 'thermal-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f73cd9c9
      Linus Torvalds authored
      Pull thermal control updates from Rafael Wysocki:
       "These extend the thermal trip point crossing notifications sent via
        netlink to contain the temperature causing the trip point to be
        crossed, deprecate the user space thermal governor, add new DT
        bindings to drivers, move ABI documentation to Documentation/ABI, fix
        assorted issues and clean up code.
      
        Specifics:
      
         - Constify a variable in thermal MMIO driver (Rikard Falkeborn).
      
         - Add the current temperature in the netlink message when crossing a
           trip point in order to prevent useless back and forth reading from
           userspace (Daniel Lezcano).
      
         - Add support for the 'HC' variant on PM8998 PMIC in order to support
           VADC channels on recent QCom boards (Bjorn Andersson).
      
         - Add support for calibration values from hardware when they are
           fused (Niklas Söderlund).
      
         - Fix NULL pointer dereference in the thermal_release callback when
           an error occurs in the thermal_zone_device_register() (Yuanzheng
           Song).
      
         - Fix use-after-free in __thermal_cooling_device_register() in the
           error path (Ziyang Xuan).
      
         - Fix compilation of the LMh driver when CONFIG_QCOM_SCM is not set
           (Jackie Liu).
      
         - Add timeout when reading a register that can block forever in
           certain circumstances in the tsens driver (Ansuel Smith).
      
         - Add DT binding for the reset lines and use them in the rockchip
           sensor driver (Johan Jonker).
      
         - Add new uniphier NX1 SoC temperature sensor (Kunihiko Hayashi).
      
         - Save and restore the TCC value in the int340x driver (Antoine
           Tenart).
      
         - Deprecate the writability of the cooling device state sysfs file
           and the user space governor (Daniel Lezcano).
      
         - Delete bogus length check in int340x (Dan Carpenter).
      
         - Use bitmap_zalloc/bitmap_free when applicable in intel_powerclamp
           (Christophe JAILLET).
      
         - Move thermal ABI documentation to Documentation/ABI (Mauro Carvalho
           Chehab)"
      
      * tag 'thermal-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (21 commits)
        thermal/core: Deprecate changing cooling device state from userspace
        thermal/core: Make the userspace governor deprecated
        thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
        thermal/drivers/uniphier: Add compatible string for NX1 SoC
        dt-bindings: thermal: uniphier: Add binding for NX1 SoC
        thermal/drivers/rockchip_thermal: Allow more resets for tsadc node
        dt-bindings: thermal: remove redundant comments from rockchip-thermal.yaml
        dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml
        thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
        thermal/drivers/qcom/lmh: make QCOM_LMH depends on QCOM_SCM
        thermal/core: fix a UAF bug in __thermal_cooling_device_register()
        thermal/core: Fix null pointer dereference in thermal_release()
        thermal: rcar_gen3_thermal: Read calibration from hardware
        thermal: rcar_gen3_thermal: Store thcode and ptat in priv data
        thermal/drivers/qcom/spmi-adc-tm5: Add support for HC variant
        dt-bindings: thermal: qcom: add HC variant of adc-thermal monitor bindings
        thermal: Move ABI documentation to Documentation/ABI
        thermal/drivers/netlink: Add the temperature when crossing a trip point
        thermal/drivers/thermal_mmio: Constify static struct thermal_mmio_ops
        thermal: int340x: delete bogus length check
        ...
      f73cd9c9