1. 06 Aug, 2021 1 commit
    • Hao Xu's avatar
      io-wq: fix no lock protection of acct->nr_worker · 3d4e4fac
      Hao Xu authored
      There is an acct->nr_worker visit without lock protection. Think about
      the case: two callers call io_wqe_wake_worker(), one is the original
      context and the other one is an io-worker(by calling
      io_wqe_enqueue(wqe, linked)), on two cpus paralelly, this may cause
      nr_worker to be larger than max_worker.
      Let's fix it by adding lock for it, and let's do nr_workers++ before
      create_io_worker. There may be a edge cause that the first caller fails
      to create an io-worker, but the second caller doesn't know it and then
      quit creating io-worker as well:
      
      say nr_worker = max_worker - 1
              cpu 0                        cpu 1
         io_wqe_wake_worker()          io_wqe_wake_worker()
            nr_worker < max_worker
            nr_worker++
            create_io_worker()         nr_worker == max_worker
               failed                  return
            return
      
      But the chance of this case is very slim.
      
      Fixes: 685fe7fe ("io-wq: eliminate the need for a manager thread")
      Signed-off-by: default avatarHao Xu <haoxu@linux.alibaba.com>
      [axboe: fix unconditional create_io_worker() call]
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      3d4e4fac
  2. 04 Aug, 2021 1 commit
  3. 28 Jul, 2021 2 commits
  4. 27 Jul, 2021 1 commit
  5. 26 Jul, 2021 2 commits
  6. 23 Jul, 2021 2 commits
  7. 22 Jul, 2021 1 commit
  8. 20 Jul, 2021 3 commits
    • Yang Yingliang's avatar
      io_uring: fix memleak in io_init_wq_offload() · 362a9e65
      Yang Yingliang authored
      I got memory leak report when doing fuzz test:
      
      BUG: memory leak
      unreferenced object 0xffff888107310a80 (size 96):
      comm "syz-executor.6", pid 4610, jiffies 4295140240 (age 20.135s)
      hex dump (first 32 bytes):
      01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
      00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00 .....N..........
      backtrace:
      [<000000001974933b>] kmalloc include/linux/slab.h:591 [inline]
      [<000000001974933b>] kzalloc include/linux/slab.h:721 [inline]
      [<000000001974933b>] io_init_wq_offload fs/io_uring.c:7920 [inline]
      [<000000001974933b>] io_uring_alloc_task_context+0x466/0x640 fs/io_uring.c:7955
      [<0000000039d0800d>] __io_uring_add_tctx_node+0x256/0x360 fs/io_uring.c:9016
      [<000000008482e78c>] io_uring_add_tctx_node fs/io_uring.c:9052 [inline]
      [<000000008482e78c>] __do_sys_io_uring_enter fs/io_uring.c:9354 [inline]
      [<000000008482e78c>] __se_sys_io_uring_enter fs/io_uring.c:9301 [inline]
      [<000000008482e78c>] __x64_sys_io_uring_enter+0xabc/0xc20 fs/io_uring.c:9301
      [<00000000b875f18f>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
      [<00000000b875f18f>] do_syscall_64+0x3b/0x90 arch/x86/entry/common.c:80
      [<000000006b0a8484>] entry_SYSCALL_64_after_hwframe+0x44/0xae
      
      CPU0                          CPU1
      io_uring_enter                io_uring_enter
      io_uring_add_tctx_node        io_uring_add_tctx_node
      __io_uring_add_tctx_node      __io_uring_add_tctx_node
      io_uring_alloc_task_context   io_uring_alloc_task_context
      io_init_wq_offload            io_init_wq_offload
      hash = kzalloc                hash = kzalloc
      ctx->hash_map = hash          ctx->hash_map = hash <- one of the hash is leaked
      
      When calling io_uring_enter() in parallel, the 'hash_map' will be leaked,
      add uring_lock to protect 'hash_map'.
      
      Fixes: e941894e ("io-wq: make buffered file write hashed work map per-ctx")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
      Reviewed-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Link: https://lore.kernel.org/r/20210720083805.3030730-1-yangyingliang@huawei.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      362a9e65
    • Pavel Begunkov's avatar
      io_uring: remove double poll entry on arm failure · 46fee9ab
      Pavel Begunkov authored
      __io_queue_proc() can enqueue both poll entries and still fail
      afterwards, so the callers trying to cancel it should also try to remove
      the second poll entry (if any).
      
      For example, it may leave the request alive referencing a io_uring
      context but not accessible for cancellation:
      
      [  282.599913][ T1620] task:iou-sqp-23145   state:D stack:28720 pid:23155 ppid:  8844 flags:0x00004004
      [  282.609927][ T1620] Call Trace:
      [  282.613711][ T1620]  __schedule+0x93a/0x26f0
      [  282.634647][ T1620]  schedule+0xd3/0x270
      [  282.638874][ T1620]  io_uring_cancel_generic+0x54d/0x890
      [  282.660346][ T1620]  io_sq_thread+0xaac/0x1250
      [  282.696394][ T1620]  ret_from_fork+0x1f/0x30
      
      Cc: stable@vger.kernel.org
      Fixes: 18bceab1 ("io_uring: allow POLL_ADD with double poll_wait() users")
      Reported-and-tested-by: syzbot+ac957324022b7132accf@syzkaller.appspotmail.com
      Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Link: https://lore.kernel.org/r/0ec1228fc5eda4cb524eeda857da8efdc43c331c.1626774457.git.asml.silence@gmail.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      46fee9ab
    • Pavel Begunkov's avatar
      io_uring: explicitly count entries for poll reqs · 68b11e8b
      Pavel Begunkov authored
      If __io_queue_proc() fails to add a second poll entry, e.g. kmalloc()
      failed, but it goes on with a third waitqueue, it may succeed and
      overwrite the error status. Count the number of poll entries we added,
      so we can set pt->error to zero at the beginning and find out when the
      mentioned scenario happens.
      
      Cc: stable@vger.kernel.org
      Fixes: 18bceab1 ("io_uring: allow POLL_ADD with double poll_wait() users")
      Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
      Link: https://lore.kernel.org/r/9d6b9e561f88bcc0163623b74a76c39f712151c3.1626774457.git.asml.silence@gmail.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
      68b11e8b
  9. 11 Jul, 2021 13 commits
  10. 10 Jul, 2021 14 commits
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · de554096
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "Mostly documentation/comment changes and non urgent fixes.
      
         - add or fix SPDX identifiers
      
         - NXP pcf*: fix datasheet URLs
      
         - imxdi: add wakeup support
      
         - pcf2127: handle timestamp interrupts, this fixes a possible
           interrupt storm
      
         - bd70528: Drop BD70528 support"
      
      * tag 'rtc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (33 commits)
        rtc: pcf8523: rename register and bit defines
        rtc: pcf2127: handle timestamp interrupts
        rtc: at91sam9: Remove unnecessary offset variable checks
        rtc: s5m: Check return value of s5m_check_peding_alarm_interrupt()
        rtc: spear: convert to SPDX identifier
        rtc: tps6586x: convert to SPDX identifier
        rtc: tps80031: convert to SPDX identifier
        rtc: rtd119x: Fix format of SPDX identifier
        rtc: sc27xx: Fix format of SPDX identifier
        rtc: palmas: convert to SPDX identifier
        rtc: max6900: convert to SPDX identifier
        rtc: ds1374: convert to SPDX identifier
        rtc: au1xxx: convert to SPDX identifier
        rtc: pcf85063: Update the PCF85063A datasheet revision
        dt-bindings: rtc: ti,bq32k: take maintainership
        rtc: pcf8563: Fix the datasheet URL
        rtc: pcf85063: Fix the datasheet URL
        rtc: pcf2127: Fix the datasheet URL
        dt-bindings: rtc: ti,bq32k: Convert to json-schema
        dt-bindings: rtc: rx8900: Convert to YAML schema
        ...
      de554096
    • Mel Gorman's avatar
      mm/page_alloc: Revert pahole zero-sized workaround · 6bce2443
      Mel Gorman authored
      Commit dbbee9d5 ("mm/page_alloc: convert per-cpu list protection to
      local_lock") folded in a workaround patch for pahole that was unable to
      deal with zero-sized percpu structures.
      
      A superior workaround is achieved with commit a0b8200d ("kbuild:
      skip per-CPU BTF generation for pahole v1.18-v1.21").
      
      This patch reverts the dummy field and the pahole version check.
      
      Fixes: dbbee9d5 ("mm/page_alloc: convert per-cpu list protection to local_lock")
      Signed-off-by: default avatarMel Gorman <mgorman@techsingularity.net>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      6bce2443
    • Alexandre Belloni's avatar
      rtc: pcf8523: rename register and bit defines · 4aa90c03
      Alexandre Belloni authored
      arch/arm/mach-ixp4xx/include/mach/platform.h now gets included indirectly
      and defines REG_OFFSET. Rename the register and bit definition to something
      specific to the driver.
      
      Fixes: 7fd70c65 ("ARM: irqstat: Get rid of duplicated declaration")
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
      Link: https://lore.kernel.org/r/20210710211431.1393589-1-alexandre.belloni@bootlin.com
      4aa90c03
    • Linus Torvalds's avatar
      Merge tag '5.14-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 · 1e16624d
      Linus Torvalds authored
      Pull cifs fixes from Steve French:
       "13 cifs/smb3 fixes. Most are to address minor issues pointed out by
        Coverity.
      
        Also includes a packet signing enhancement and mount improvement"
      
      * tag '5.14-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: update internal version number
        cifs: prevent NULL deref in cifs_compose_mount_options()
        SMB3.1.1: Add support for negotiating signing algorithm
        cifs: use helpers when parsing uid/gid mount options and validate them
        CIFS: Clarify SMB1 code for POSIX Lock
        CIFS: Clarify SMB1 code for rename open file
        CIFS: Clarify SMB1 code for delete
        CIFS: Clarify SMB1 code for SetFileSize
        smb3: fix typo in header file
        CIFS: Clarify SMB1 code for UnixSetPathInfo
        CIFS: Clarify SMB1 code for UnixCreateSymLink
        cifs: clarify SMB1 code for UnixCreateHardLink
        cifs: make locking consistent around the server session status
      1e16624d
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 67d8d365
      Linus Torvalds authored
      Pull pci fix from Bjorn Helgaas:
       "Revert host bridge window patch that fixed HP EliteDesk 805 G6, but
        broke ppc:sam460ex (Bjorn Helgaas)"
      
      * tag 'pci-v5.14-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
        Revert "PCI: Coalesce host bridge contiguous apertures"
      67d8d365
    • Linus Torvalds's avatar
      Merge tag 'i3c/for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux · 88bbd8a0
      Linus Torvalds authored
      Pull i3c updates from Alexandre Belloni:
      
       - two small fixes to the svc driver
      
      * tag 'i3c/for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux:
        i3c: master: svc: fix doc warning in svc-i3c-master.c
        i3c: master: svc: drop free_irq of devm_request_irq allocated irq
      88bbd8a0
    • Linus Torvalds's avatar
      Merge tag 'thermal-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux · f7ea4be4
      Linus Torvalds authored
      Pull thermal updates from Daniel Lezcano:
      
       - Add rk3568 sensor support (Finley Xiao)
      
       - Add missing MODULE_DEVICE_TABLE for the Spreadtrum sensor (Chunyan
         Zhang)
      
       - Export additionnal attributes for the int340x thermal processor
         (Srinivas Pandruvada)
      
       - Add SC7280 compatible for the tsens driver (Rajeshwari Ravindra
         Kamble)
      
       - Fix kernel documentation for thermal_zone_device_unregister() and use
         devm_platform_get_and_ioremap_resource() (Yang Yingliang)
      
       - Fix coefficient calculations for the rcar_gen3 sensor driver (Niklas
         Söderlund)
      
       - Fix shadowing variable rcar_gen3_ths_tj_1 (Geert Uytterhoeven)
      
       - Add missing of_node_put() for the iMX and Spreadtrum sensors
         (Krzysztof Kozlowski)
      
       - Add tegra3 thermal sensor DT bindings (Dmitry Osipenko)
      
       - Stop the thermal zone monitoring when unregistering it to prevent a
         temperature update without the 'get_temp' callback (Dmitry Osipenko)
      
       - Add rk3568 DT bindings, convert bindings to yaml schemas and add the
         corresponding compatible in the Rockchip sensor (Ezequiel Garcia)
      
       - Add the sc8180x compatible for the Qualcomm tsensor (Bjorn Andersson)
      
       - Use the find_first_zero_bit() function instead of custom code (Andy
         Shevchenko)
      
       - Fix the kernel doc for the device cooling device (Yang Li)
      
       - Reorg the processor thermal int340x to set the scene for the PCI mmio
         driver (Srinivas Pandruvada)
      
       - Add PCI MMIO driver for the int340x processor thermal driver
         (Srinivas Pandruvada)
      
       - Add hwmon sensors for the mediatek sensor (Frank Wunderlich)
      
       - Fix warning for return value reported by Smatch for the int340x
         thermal processor (Srinivas Pandruvada)
      
       - Fix wrong register access and decoding for the int340x thermal
         processor (Srinivas Pandruvada)
      
      * tag 'thermal-v5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux: (23 commits)
        thermal/drivers/int340x/processor_thermal: Fix tcc setting
        thermal/drivers/int340x/processor_thermal: Fix warning for return value
        thermal/drivers/mediatek: Add sensors-support
        thermal/drivers/int340x/processor_thermal: Add PCI MMIO based thermal driver
        thermal/drivers/int340x/processor_thermal: Split enumeration and processing part
        thermal: devfreq_cooling: Fix kernel-doc
        thermal/drivers/intel/intel_soc_dts_iosf: Switch to use find_first_zero_bit()
        dt-bindings: thermal: tsens: Add sc8180x compatible
        dt-bindings: rockchip-thermal: Support the RK3568 SoC compatible
        dt-bindings: thermal: convert rockchip-thermal to json-schema
        thermal/core/thermal_of: Stop zone device before unregistering it
        dt-bindings: thermal: Add binding for Tegra30 thermal sensor
        thermal/drivers/sprd: Add missing of_node_put for loop iteration
        thermal/drivers/imx_sc: Add missing of_node_put for loop iteration
        thermal/drivers/rcar_gen3_thermal: Do not shadow rcar_gen3_ths_tj_1
        thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations
        thermal/drivers/st: Use devm_platform_get_and_ioremap_resource()
        thermal/core: Correct function name thermal_zone_device_unregister()
        dt-bindings: thermal: tsens: Add compatible string to TSENS binding for SC7280
        thermal/drivers/int340x: processor_thermal: Export additional attributes
        ...
      f7ea4be4
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 81361b83
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - Increase the -falign-functions alignment for the debug option.
      
       - Remove ugly libelf checks from the top Makefile.
      
       - Make the silent build (-s) more silent.
      
       - Re-compile the kernel if KBUILD_BUILD_TIMESTAMP is specified.
      
       - Various script cleanups
      
      * tag 'kbuild-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (27 commits)
        scripts: add generic syscallnr.sh
        scripts: check duplicated syscall number in syscall table
        sparc: syscalls: use pattern rules to generate syscall headers
        parisc: syscalls: use pattern rules to generate syscall headers
        nds32: add arch/nds32/boot/.gitignore
        kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set
        kbuild: modpost: Explicitly warn about unprototyped symbols
        kbuild: remove trailing slashes from $(KBUILD_EXTMOD)
        kconfig.h: explain IS_MODULE(), IS_ENABLED()
        kconfig: constify long_opts
        scripts/setlocalversion: simplify the short version part
        scripts/setlocalversion: factor out 12-chars hash construction
        scripts/setlocalversion: add more comments to -dirty flag detection
        scripts/setlocalversion: remove workaround for old make-kpkg
        scripts/setlocalversion: remove mercurial, svn and git-svn supports
        kbuild: clean up ${quiet} checks in shell scripts
        kbuild: sink stdout from cmd for silent build
        init: use $(call cmd,) for generating include/generated/compile.h
        kbuild: merge scripts/mkmakefile to top Makefile
        sh: move core-y in arch/sh/Makefile to arch/sh/Kbuild
        ...
      81361b83
    • Linus Torvalds's avatar
      Merge tag 's390-5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · e98e03d0
      Linus Torvalds authored
      Pull more s390 updates from Vasily Gorbik:
      
       - Fix preempt_count initialization.
      
       - Rework call_on_stack() macro to add proper type handling and avoid
         possible register corruption.
      
       - More error prone "register asm" removal and fixes.
      
       - Fix syscall restarting when multiple signals are coming in. This adds
         minimalistic trampolines to vdso so we can return from signal without
         using the stack which requires pgm check handler hacks when NX is
         enabled.
      
       - Remove HAVE_IRQ_EXIT_ON_IRQ_STACK since this is no longer true after
         switch to generic entry.
      
       - Fix protected virtualization secure storage access exception
         handling.
      
       - Make machine check C handler always enter with DAT enabled and move
         register validation to C code.
      
       - Fix tinyconfig boot problem by avoiding MONITOR CALL without
         CONFIG_BUG.
      
       - Increase asm symbols alignment to 16 to make it consistent with
         compilers.
      
       - Enable concurrent access to the CPU Measurement Counter Facility.
      
       - Add support for dynamic AP bus size limit and rework ap_dqap to deal
         with messages greater than recv buffer.
      
      * tag 's390-5.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (41 commits)
        s390: preempt: Fix preempt_count initialization
        s390/linkage: increase asm symbols alignment to 16
        s390: rename CALL_ON_STACK_NORETURN() to call_on_stack_noreturn()
        s390: add type checking to CALL_ON_STACK_NORETURN() macro
        s390: remove old CALL_ON_STACK() macro
        s390/softirq: use call_on_stack() macro
        s390/lib: use call_on_stack() macro
        s390/smp: use call_on_stack() macro
        s390/kexec: use call_on_stack() macro
        s390/irq: use call_on_stack() macro
        s390/mm: use call_on_stack() macro
        s390: introduce proper type handling call_on_stack() macro
        s390/irq: simplify on_async_stack()
        s390/irq: inline do_softirq_own_stack()
        s390/irq: simplify do_softirq_own_stack()
        s390/ap: get rid of register asm in ap_dqap()
        s390: rename PIF_SYSCALL_RESTART to PIF_EXECVE_PGSTE_RESTART
        s390: move restart of execve() syscall
        s390/signal: remove sigreturn on stack
        s390/signal: switch to using vdso for sigreturn and syscall restart
        ...
      e98e03d0
    • Linus Torvalds's avatar
      Merge tag 'mips_5.14_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux · 379cf80a
      Linus Torvalds authored
      Pull MIPS fixes from Thomas Bogendoerfer:
      
       - fix for accesing gic via vdso
      
       - two build fixes
      
      * tag 'mips_5.14_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux:
        MIPS: vdso: Invalid GIC access through VDSO
        mips: disable branch profiling in boot/decompress.o
        mips: always link byteswap helpers into decompressor
      379cf80a
    • Linus Torvalds's avatar
      Merge tag 'arm-defconfig-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · af4cf6a5
      Linus Torvalds authored
      Pull ARM defconfig updates from "Olof Johansson
       "A set of defconfig changes, we keep them in a separate branch to avoid
        conflicts between topics by separating them out.
      
        These changes are almost exclusively turning on new drivers for
        various platforms, or turning on modules for new drivers for the
        shared generic configs"
      
      * tag 'arm-defconfig-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (22 commits)
        arm64: defconfig: Enable renesas usb xhci pci host controller
        arm64: defconfig: Visconti: Enable GPIO
        arm64: defconfig: Visconti: Enable PWM
        arm64: defconfig: add drivers needed for DragonBoard410c
        ARM: config: aspeed: Add DEBUG_FS and EXT4
        ARM: ixp4xx_defconfig: add MTD_PHYSMAP
        ARM: ixp4xx_defconfig: add CONFIG_SERIAL_OF_PLATFORM
        ARM: imx_v6_v7_defconfig: Select the Wifi ath10k sdio driver
        ARM: exynos_defconfig: restore framebuffer support
        arm64: defconfig: Enable ARCH_R9A07G044
        ARM: configs: at91_dt_defconfig: configs for sam9x60
        arm64: defconfig: Enable Exynos UFS driver
        arm64: defconfig: qcom: enable interconnect for SM8350
        ARM: tegra_defconfig: Enable CONFIG_DEVFREQ_THERMAL
        arm64: defconfig: Enable usb2_clksel for R-Car Gen3 and RZ/G2
        arm64: defconfig: enable Layerscape EDAC driver
        ARM: omap2plus_defconfig: Add LP5523 LED driver
        ARM: omap2plus_defconfig: Add WL1251 and WEXT modules
        ARM: shmobile: defconfig: Refresh for v5.13-rc1
        arm64: defconfig: Allow Mediatek boards to boot from the mmc
        ...
      af4cf6a5
    • Linus Torvalds's avatar
      Merge tag 'arm-drivers-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 071e5ace
      Linus Torvalds authored
      Pull ARM driver updates from Olof Johansson:
      
       - Reset controllers: Adding support for Microchip Sparx5 Switch.
      
       - Memory controllers: ARM Primecell PL35x SMC memory controller driver
         cleanups and improvements.
      
       - i.MX SoC drivers: Power domain support for i.MX8MM and i.MX8MN.
      
       - Rockchip: RK3568 power domains support + DT binding updates,
         cleanups.
      
       - Qualcomm SoC drivers: Amend socinfo with more SoC/PMIC details,
         including support for MSM8226, MDM9607, SM6125 and SC8180X.
      
       - ARM FFA driver: "Firmware Framework for ARMv8-A", defining management
         interfaces and communication (including bus model) between partitions
         both in Normal and Secure Worlds.
      
       - Tegra Memory controller changes, including major rework to deal with
         identity mappings at boot and integration with ARM SMMU pieces.
      
      * tag 'arm-drivers-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (120 commits)
        firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
        firmware: turris-mox-rwtm: show message about HWRNG registration
        firmware: turris-mox-rwtm: fail probing when firmware does not support hwrng
        firmware: turris-mox-rwtm: report failures better
        firmware: turris-mox-rwtm: fix reply status decoding function
        soc: imx: gpcv2: add support for i.MX8MN power domains
        dt-bindings: add defines for i.MX8MN power domains
        firmware: tegra: bpmp: Fix Tegra234-only builds
        iommu/arm-smmu: Use Tegra implementation on Tegra186
        iommu/arm-smmu: tegra: Implement SID override programming
        iommu/arm-smmu: tegra: Detect number of instances at runtime
        dt-bindings: arm-smmu: Add Tegra186 compatible string
        firmware: qcom_scm: Add MDM9607 compatible
        soc: qcom: rpmpd: Add MDM9607 RPM Power Domains
        soc: renesas: Add support to read LSI DEVID register of RZ/G2{L,LC} SoC's
        soc: renesas: Add ARCH_R9A07G044 for the new RZ/G2L SoC's
        dt-bindings: soc: rockchip: drop unnecessary #phy-cells from grf.yaml
        memory: emif: remove unused frequency and voltage notifiers
        memory: fsl_ifc: fix leak of private memory on probe failure
        memory: fsl_ifc: fix leak of IO mapping on probe failure
        ...
      071e5ace
    • Linus Torvalds's avatar
      Merge tag 'arm-dt-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · e083bbd6
      Linus Torvalds authored
      Pull ARM devicetree updates from Olof Johansson:
       "Like always, the DT branch is sizable. There are numerous additions
        and fixes to existing platforms, but also a handful of new ones
        introduced. Less than some other releases, but there's been
        significant work on cleanups, refactorings and device enabling on
        existing platforms.
      
        A non-exhaustive list of new material:
      
         - Refactoring of BCM2711 dtsi structure to add support for the
           Raspberry Pi 400
      
         - Rockchip: RK3568 SoC and EVB, video codecs for
           rk3036/3066/3188/322x
      
         - Qualcomm: SA8155p Automotive platform (SM8150 derivative),
           SM8150/8250 enhancements and support for Sony Xperia 1/1II and
           5/5II
      
         - TI K3: PCI/USB3 support on AM64-sk boards, R5 remoteproc
           definitions
      
         - TI OMAP: Various cleanups
      
         - Tegra: Audio support for Jetson Xavier NX, SMMU support on Tegra194
      
         - Qualcomm: lots of additions for peripherals across several SoCs,
           and new support for Microsoft Surface Duo (SM8150-based), Huawei
           Ascend G7.
      
         - i.MX: Numerous additions of features across SoCs and boards.
      
         - Allwinner: More device bindings for V3s, Forlinx OKA40i-C and
           NanoPi R1S H5 boards
      
         - MediaTek: More device bindings for mt8167, new Chromebook system
           variants for mt8183
      
         - Renesas: RZ/G2L SoC and EVK added
      
         - Amlogic: BananaPi BPI-M5 board added"
      
      * tag 'arm-dt-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (511 commits)
        arm64: dts: rockchip: add basic dts for RK3568 EVB
        arm64: dts: rockchip: add core dtsi for RK3568 SoC
        arm64: dts: rockchip: add generic pinconfig settings used by most Rockchip socs
        ARM: dts: rockchip: add vpu and vdec node for RK322x
        ARM: dts: rockchip: add vpu nodes for RK3066 and RK3188
        ARM: dts: rockchip: add vpu node for RK3036
        arm64: dts: ipq8074: Add QUP6 I2C node
        arm64: dts: rockchip: Re-add regulator-always-on for vcc_sdio for rk3399-roc-pc
        arm64: dts: rockchip: Re-add regulator-boot-on, regulator-always-on for vdd_gpu on rk3399-roc-pc
        arm64: dts: rockchip: add ir-receiver for rk3399-roc-pc
        arm64: dts: rockchip: Add USB-C port details for rk3399 Firefly
        arm64: dts: rockchip: Sort rk3399 firefly pinmux entries
        arm64: dts: rockchip: add infrared receiver node to RK3399 Firefly
        arm64: dts: rockchip: add SPDIF node for rk3399-firefly
        arm64: dts: rockchip: Add Rotation Property for OGA Panel
        arm64: dts: qcom: sc7180: bus votes for eMMC and SD card
        arm64: dts: qcom: sm8250-edo: Add Samsung touchscreen
        arm64: dts: qcom: sm8250-edo: Enable GPI DMA
        arm64: dts: qcom: sm8250-edo: Enable ADSP/CDSP/SLPI
        arm64: dts: qcom: sm8250-edo: Enable PCIe
        ...
      e083bbd6
    • Linus Torvalds's avatar
      Merge tag 'arm-soc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 6e207b88
      Linus Torvalds authored
      Pull ARM SoC updates from Olof Johansson:
       "A few SoC (code) changes have queued up this cycle, mostly for minor
        changes and some refactoring and cleanup of legacy platforms. This
        branch also contains a few of the fixes that weren't sent in by the
        end of the release (all fairly minor).
      
         - Adding an additional maintainer for the TEE subsystem (Sumit Garg)
      
         - Quite a significant modernization of the IXP4xx platforms by Linus
           Walleij, revisiting with a new PCI host driver/binding, removing
           legacy mach/* include dependencies and moving platform
           detection/config to drivers/soc. Also some updates/cleanup of
           platform data.
      
         - Core power domain support for Tegra platforms, and some
           improvements in build test coverage by adding stubs for compile
           test targets.
      
         - A handful of updates to i.MX platforms, adding legacy (non-PSCI)
           SMP support on i.MX7D, SoC ID setup for i.MX50, removal of platform
           data and board fixups for iMX6/7.
      
        ... and a few smaller changes and fixes for Samsung, OMAP, Allwinner,
        Rockchip"
      
      * tag 'arm-soc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (53 commits)
        MAINTAINERS: Add myself as TEE subsystem reviewer
        ixp4xx: fix spelling mistake in Kconfig "Devce" -> "Device"
        hw_random: ixp4xx: Add OF support
        hw_random: ixp4xx: Add DT bindings
        hw_random: ixp4xx: Turn into a module
        hw_random: ixp4xx: Use SPDX license tag
        hw_random: ixp4xx: enable compile-testing
        pata: ixp4xx: split platform data to its own header
        soc: ixp4xx: move cpu detection to linux/soc/ixp4xx/cpu.h
        PCI: ixp4xx: Add a new driver for IXP4xx
        PCI: ixp4xx: Add device tree bindings for IXP4xx
        ARM/ixp4xx: Make NEED_MACH_IO_H optional
        ARM/ixp4xx: Move the virtual IObases
        MAINTAINERS: ARM/MStar/Sigmastar SoCs: Add a link to the MStar tree
        ARM: debug: add UART early console support for MSTAR SoCs
        ARM: dts: ux500: Fix LED probing
        ARM: imx: add smp support for imx7d
        ARM: imx6q: drop of_platform_default_populate() from init_machine
        arm64: dts: rockchip: Update RK3399 PCI host bridge window to 32-bit address memory
        soc/tegra: fuse: Fix Tegra234-only builds
        ...
      6e207b88