1. 12 Sep, 2021 9 commits
  2. 11 Sep, 2021 21 commits
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 78e70952
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
      
       - vduse driver ("vDPA Device in Userspace") supporting emulated virtio
         block devices
      
       - virtio-vsock support for end of record with SEQPACKET
      
       - vdpa: mac and mq support for ifcvf and mlx5
      
       - vdpa: management netlink for ifcvf
      
       - virtio-i2c, gpio dt bindings
      
       - misc fixes and cleanups
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (39 commits)
        Documentation: Add documentation for VDUSE
        vduse: Introduce VDUSE - vDPA Device in Userspace
        vduse: Implement an MMU-based software IOTLB
        vdpa: Support transferring virtual addressing during DMA mapping
        vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap()
        vdpa: Add an opaque pointer for vdpa_config_ops.dma_map()
        vhost-iotlb: Add an opaque pointer for vhost IOTLB
        vhost-vdpa: Handle the failure of vdpa_reset()
        vdpa: Add reset callback in vdpa_config_ops
        vdpa: Fix some coding style issues
        file: Export receive_fd() to modules
        eventfd: Export eventfd_wake_count to modules
        iova: Export alloc_iova_fast() and free_iova_fast()
        virtio-blk: remove unneeded "likely" statements
        virtio-balloon: Use virtio_find_vqs() helper
        vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro
        vsock_test: update message bounds test for MSG_EOR
        af_vsock: rename variables in receive loop
        virtio/vsock: support MSG_EOR bit processing
        vhost/vsock: support MSG_EOR bit processing
        ...
      78e70952
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · b79bd0d5
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
      
       - A pair of defconfig additions, for NVMe and the EFI filesystem
         localization options.
      
       - A larger address space for stack randomization.
      
       - A cleanup to our install rules.
      
       - A DTS update for the Microchip Icicle board, to fix the serial
         console.
      
       - Support for build-time table sorting, which allows us to have
         __ex_table read-only.
      
      * tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Move EXCEPTION_TABLE to RO_DATA segment
        riscv: Enable BUILDTIME_TABLE_SORT
        riscv: dts: microchip: mpfs-icicle: Fix serial console
        riscv: move the (z)install rules to arch/riscv/Makefile
        riscv: Improve stack randomisation on RV64
        riscv: defconfig: enable NLS_CODEPAGE_437, NLS_ISO8859_1
        riscv: defconfig: enable BLK_DEV_NVME
      b79bd0d5
    • Linus Torvalds's avatar
      Merge branch 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux · 4e1c7544
      Linus Torvalds authored
      Pull coccinelle updates from Julia Lawall:
       "These changes update some existing semantic patches with
        respect to some recent changes in the kernel.
      
        Specifically, the change to kvmalloc.cocci searches for
        kfree_sensitive rather than kzfree, and the change to
        use_after_iter.cocci adds list_entry_is_head as a valid
        use of a list iterator index variable after the end of
        the loop"
      
      * 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
        scripts: coccinelle: allow list_entry_is_head() to use pos
        coccinelle: api: rename kzfree to kfree_sensitive
      4e1c7544
    • Linus Torvalds's avatar
      Merge tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block · c605c396
      Linus Torvalds authored
      Pull io_uring fixes from Jens Axboe:
      
       - Fix an off-by-one in a BUILD_BUG_ON() check. Not a real issue right
         now as we have plenty of flags left, but could become one. (Hao)
      
       - Fix lockdep issue introduced in this merge window (me)
      
       - Fix a few issues with the worker creation (me, Pavel, Qiang)
      
       - Fix regression with wq_has_sleeper() for IOPOLL (Pavel)
      
       - Timeout link error propagation fix (Pavel)
      
      * tag 'io_uring-5.15-2021-09-11' of git://git.kernel.dk/linux-block:
        io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT
        io_uring: fail links of cancelled timeouts
        io-wq: fix memory leak in create_io_worker()
        io-wq: fix silly logic error in io_task_work_match()
        io_uring: drop ctx->uring_lock before acquiring sqd->lock
        io_uring: fix missing mb() before waitqueue_active
        io-wq: fix cancellation on create-worker failure
      c605c396
    • Linus Torvalds's avatar
      Merge tag 'block-5.15-2021-09-11' of git://git.kernel.dk/linux-block · c0f7e49f
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request from Christoph:
           - fix nvmet command set reporting for passthrough controllers (Adam Manzanares)
           - update a MAINTAINERS email address (Chaitanya Kulkarni)
           - set QUEUE_FLAG_NOWAIT for nvme-multipth (me)
           - handle errors from add_disk() (Luis Chamberlain)
           - update the keep alive interval when kato is modified (Tatsuya Sasaki)
           - fix a buffer overrun in nvmet_subsys_attr_serial (Hannes Reinecke)
           - do not reset transport on data digest errors in nvme-tcp (Daniel Wagner)
           - only call synchronize_srcu when clearing current path (Daniel Wagner)
           - revalidate paths during rescan (Hannes Reinecke)
      
       - Split out the fs/block_dev into block/fops.c and block/bdev.c, which
         has been long overdue. Do this now before -rc1, to avoid annoying
         conflicts due to this (Christoph)
      
       - blk-throtl use-after-free fix (Li)
      
       - Improve plug depth for multi-device plugs, greatly increasing md
         resync performance (Song)
      
       - blkdev_show() locking fix (Tetsuo)
      
       - n64cart error check fix (Yang)
      
      * tag 'block-5.15-2021-09-11' of git://git.kernel.dk/linux-block:
        n64cart: fix return value check in n64cart_probe()
        blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues
        block: move fs/block_dev.c to block/bdev.c
        block: split out operations on block special files
        blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
        block: genhd: don't call blkdev_show() with major_names_lock held
        nvme: update MAINTAINERS email address
        nvme: add error handling support for add_disk()
        nvme: only call synchronize_srcu when clearing current path
        nvme: update keep alive interval when kato is modified
        nvme-tcp: Do not reset transport on data digest errors
        nvmet: fixup buffer overrun in nvmet_subsys_attr_serial()
        nvmet: return bool from nvmet_passthru_ctrl and nvmet_is_passthru_req
        nvmet: looks at the passthrough controller when initializing CAP
        nvme: move nvme_multi_css into nvme.h
        nvme-multipath: revalidate paths during rescan
        nvme-multipath: set QUEUE_FLAG_NOWAIT
      c0f7e49f
    • Linus Torvalds's avatar
      Merge tag 'libata-5.15-2021-09-11' of git://git.kernel.dk/linux-block · 8177a5c9
      Linus Torvalds authored
      Pull libata maintainer update from Jens Axboe:
       "Damien agreed to take over maintainership of libata, and he would be a
        great candidate for it. Update the MAINTAINERS entry to reflect the
        change in maintainer and git tree"
      
      * tag 'libata-5.15-2021-09-11' of git://git.kernel.dk/linux-block:
        libata: pass over maintainership to Damien Le Moal
      8177a5c9
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · ce4c8f88
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
       "Minor fixes to the processing of the bootconfig tree"
      
      * tag 'trace-v5.15-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        bootconfig: Rename xbc_node_find_child() to xbc_node_find_subkey()
        tracing/boot: Fix to check the histogram control param is a leaf node
        tracing/boot: Fix trace_boot_hist_add_array() to check array is value
      ce4c8f88
    • Linus Torvalds's avatar
      Merge tag 'devicetree-fixes-for-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux · a1406e42
      Linus Torvalds authored
      Pull devicetree fixes from Rob Herring:
      
       - Disable fw_devlinks on x86 DT platforms to fix OLPC
      
       - More replacing oneOf+const with enum on a few new schemas
      
       - Drop unnecessary type references on Xilinx SPI binding schema
      
      * tag 'devicetree-fixes-for-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
        spi: dt-bindings: xilinx: Drop type reference on *-bits properties
        dt-bindings: More use 'enum' instead of 'oneOf' plus 'const' entries
        of: property: Disable fw_devlink DT support for X86
      a1406e42
    • Linus Torvalds's avatar
      Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 2aae0a93
      Linus Torvalds authored
      Pull clk fix from Stephen Boyd:
       "One patch to fix an unused variable warning in a Qualcomm clk driver"
      
      * tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: qcom: gcc-sm6350: Remove unused variable
      2aae0a93
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 107ccc45
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "The broken down time conversion is similar to what is done in the time
        subsystem since v5.14. The rest is fairly straightforward.
      
        Subsystem:
         - Switch to Neri and Schneider time conversion algorithm
      
        Drivers:
         - rx8025: add rx8035 support
         - s5m: modernize driver and set range"
      
      * tag 'rtc-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
        rtc: rx8010: select REGMAP_I2C
        dt-bindings: rtc: add Epson RX-8025 and RX-8035
        rtc: rx8025: implement RX-8035 support
        rtc: cmos: remove stale REVISIT comments
        rtc: tps65910: Correct driver module alias
        rtc: move RTC_LIB_KUNIT_TEST to proper location
        rtc: lib_test: add MODULE_LICENSE
        rtc: Improve performance of rtc_time64_to_tm(). Add tests.
        rtc: s5m: set range
        rtc: s5m: enable wakeup only when available
        rtc: s5m: signal the core when alarm are not available
        rtc: s5m: switch to devm_rtc_allocate_device
      107ccc45
    • Linus Torvalds's avatar
      Merge tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394 · 52926229
      Linus Torvalds authored
      Pull firewire updates from Stefan Richter:
      
       - Migrate the bus snooper driver 'nosy' from PCI to DMA API
      
       - Small janitorial cleanup in the IPv4/v6-over-1394 driver
      
      [ The 'nosy' change already come in as a different commit through Greg
        KH in the misc tree back in the previous merge window, so only the
        cleanup ends up being new to 5.15   - Linus ]
      
      * tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
        firewire: nosy: switch from 'pci_' to 'dma_' API
        firewire: net: remove unused variable 'guid'
      52926229
    • Linus Torvalds's avatar
      Merge tag 'pwm/for-5.15-rc1' of... · 6701e7e7
      Linus Torvalds authored
      Merge tag 'pwm/for-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm
      
      Pull pwm updates from Thierry Reding:
       "The changes this time around are mostly janitorial in nature. A lot of
        this is simplifications of drivers using device-managed functions and
        improving compilation coverage.
      
        The Mediatek display PWM driver now supports the atomic API.
      
        Cleanups and minor fixes make up the remainder of this set"
      
      * tag 'pwm/for-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (54 commits)
        pwm: mtk-disp: Implement atomic API .get_state()
        pwm: mtk-disp: Fix overflow in period and duty calculation
        pwm: mtk-disp: Implement atomic API .apply()
        pwm: mtk-disp: Adjust the clocks to avoid them mismatch
        dt-bindings: pwm: rockchip: Add description for rk3568
        pwm: Make pwmchip_remove() return void
        pwm: sun4i: Don't check the return code of pwmchip_remove()
        pwm: sifive: Don't check the return code of pwmchip_remove()
        pwm: samsung: Don't check the return code of pwmchip_remove()
        pwm: renesas-tpu: Don't check the return code of pwmchip_remove()
        pwm: rcar: Don't check the return code of pwmchip_remove()
        pwm: pca9685: Don't check the return code of pwmchip_remove()
        pwm: omap-dmtimer: Don't check the return code of pwmchip_remove()
        pwm: mtk-disp: Don't check the return code of pwmchip_remove()
        pwm: imx-tpm: Don't check the return code of pwmchip_remove()
        pwm: img: Don't check the return code of pwmchip_remove()
        pwm: cros-ec: Don't check the return code of pwmchip_remove()
        pwm: brcmstb: Don't check the return code of pwmchip_remove()
        pwm: atmel-tcb: Don't check the return code of pwmchip_remove()
        pwm: atmel-hlcdc: Don't check the return code of pwmchip_remove()
        ...
      6701e7e7
    • Linus Torvalds's avatar
      Merge tag 'thermal-v5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux · dd470387
      Linus Torvalds authored
      Pull thermal updates from Daniel Lezcano:
      
       - Add the tegra3 thermal sensor and fix the compilation testing on
         tegra by adding a dependency on ARCH_TEGRA along with COMPILE_TEST
         (Dmitry Osipenko)
      
       - Fix the error code for the exynos when devm_get_clk() fails (Dan
         Carpenter)
      
       - Add the TCC cooling support for AlderLake platform (Sumeet Pawnikar)
      
       - Add support for hardware trip points for the rcar gen3 thermal driver
         and store TSC id as unsigned int (Niklas Söderlund)
      
       - Replace the deprecated CPU-hotplug functions get_online_cpus() and
         put_online_cpus (Sebastian Andrzej Siewior)
      
       - Add the thermal tools directory in the MAINTAINERS file (Daniel
         Lezcano)
      
       - Fix the Makefile and the cross compilation flags for the userspace
         'tmon' tool (Rolf Eike Beer)
      
       - Allow to use the IMOK independently from the GDDV on Int340x (Sumeet
         Pawnikar)
      
       - Fix the stub thermal_cooling_device_register() function prototype
         which does not match the real function (Arnd Bergmann)
      
       - Make the thermal trip point optional in the DT bindings (Maxime
         Ripard)
      
       - Fix a typo in a comment in the core code (Geert Uytterhoeven)
      
       - Reduce the verbosity of the trace in the SoC thermal tegra driver
         (Dmitry Osipenko)
      
       - Add the support for the LMh (Limit Management hardware) driver on the
         QCom platforms (Thara Gopinath)
      
       - Allow processing of HWP interrupt by adding a weak function in the
         Intel driver (Srinivas Pandruvada)
      
       - Prevent an abort of the sensor probe is a channel is not used
         (Matthias Kaehlcke)
      
      * tag 'thermal-v5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux:
        thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used
        thermal/drivers/intel: Allow processing of HWP interrupt
        dt-bindings: thermal: Add dt binding for QCOM LMh
        thermal/drivers/qcom: Add support for LMh driver
        firmware: qcom_scm: Introduce SCM calls to access LMh
        thermal/drivers/tegra-soctherm: Silence message about clamped temperature
        thermal: Spelling s/scallbacks/callbacks/
        dt-bindings: thermal: Make trips node optional
        thermal/core: Fix thermal_cooling_device_register() prototype
        thermal/drivers/int340x: Use IMOK independently
        tools/thermal/tmon: Add cross compiling support
        thermal/tools/tmon: Improve the Makefile
        MAINTAINERS: Add missing userspace thermal tools to the thermal section
        thermal/drivers/intel_powerclamp: Replace deprecated CPU-hotplug functions.
        thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int
        thermal/drivers/rcar_gen3_thermal: Add support for hardware trip points
        drivers/thermal/intel: Add TCC cooling support for AlderLake platform
        thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
        thermal/drivers/tegra: Correct compile-testing of drivers
        thermal/drivers/tegra: Add driver for Tegra30 thermal sensor
      dd470387
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 765092e4
      Linus Torvalds authored
      Pull input updates from Dmitry Torokhov:
      
       - several device tree bindings for input devices have been converted to
         yaml
      
       - dropped no longer used ixp4xx-beeper and CSR Prima2 PWRC drivers
      
       - analog joystick has been converted to use ktime API and no longer
         warn about low resolution timers
      
       - a few driver fixes
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (24 commits)
        Input: analog - always use ktime functions
        Input: mms114 - support MMS134S
        Input: elan_i2c - reduce the resume time for controller in Whitebox
        Input: edt-ft5x06 - added case for EDT EP0110M09
        Input: adc-keys - drop bogus __refdata annotation
        Input: Fix spelling mistake in Kconfig "useable" -> "usable"
        Input: Fix spelling mistake in Kconfig "Modul" -> "Module"
        Input: remove dead CSR Prima2 PWRC driver
        Input: adp5589-keys - use the right header
        Input: adp5588-keys - use the right header
        dt-bindings: input: tsc2005: Convert to YAML schema
        Input: ep93xx_keypad - prepare clock before using it
        dt-bindings: input: sun4i-lradc: Add wakeup-source
        dt-bindings: input: Convert Regulator Haptic binding to a schema
        dt-bindings: input: Convert Pixcir Touchscreen binding to a schema
        dt-bindings: input: Convert ChipOne ICN8318 binding to a schema
        Input: pm8941-pwrkey - fix comma vs semicolon issue
        dt-bindings: power: reset: qcom-pon: Convert qcom PON binding to yaml
        dt-bindings: input: pm8941-pwrkey: Convert pm8941 power key binding to yaml
        dt-bindings: power: reset: Change 'additionalProperties' to true
        ...
      765092e4
    • Jisheng Zhang's avatar
      riscv: Move EXCEPTION_TABLE to RO_DATA segment · 6f55ab36
      Jisheng Zhang authored
      _ex_table section is read-only, so move it to RO_DATA.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      6f55ab36
    • Jisheng Zhang's avatar
      riscv: Enable BUILDTIME_TABLE_SORT · 54fed35f
      Jisheng Zhang authored
      Enable BUILDTIME_TABLE_SORT to sort the exception table at build time
      rather than during boot.
      Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      54fed35f
    • Geert Uytterhoeven's avatar
      riscv: dts: microchip: mpfs-icicle: Fix serial console · cbba1787
      Geert Uytterhoeven authored
      Currently, nothing is output on the serial console, unless
      "console=ttyS0,115200n8" or "earlycon" are appended to the kernel
      command line.  Enable automatic console selection using
      chosen/stdout-path by adding a proper alias, and configure the expected
      serial rate.
      
      While at it, add aliases for the other three serial ports, which are
      provided on the same micro-USB connector as the first one.
      
      Fixes: 0fa6107e ("RISC-V: Initial DTS for Microchip ICICLE board")
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarConor Dooley <conor.dooley@microchip.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      cbba1787
    • Masahiro Yamada's avatar
      riscv: move the (z)install rules to arch/riscv/Makefile · 399c1ec8
      Masahiro Yamada authored
      Currently, the (z)install targets in arch/riscv/Makefile descend into
      arch/riscv/boot/Makefile to invoke the shell script, but there is no
      good reason to do so.
      
      arch/riscv/Makefile can run the shell script directly.
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      399c1ec8
    • Kefeng Wang's avatar
      riscv: Improve stack randomisation on RV64 · d5935537
      Kefeng Wang authored
      This enlarges the bits availiable for stack randomisation on RV64 from
      the default of 8MiB to 1GiB, to match arm64 and x86.
      
      Also, update the documentation to reflect our support for stack
      randomisation.
      Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
      [Palmer: commit text]
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      d5935537
    • Heinrich Schuchardt's avatar
      riscv: defconfig: enable NLS_CODEPAGE_437, NLS_ISO8859_1 · efe1e08b
      Heinrich Schuchardt authored
      The EFI system partition uses the FAT file system. Many distributions add
      an entry in /etc/fstab for the ESP. We must ensure that mounting does not
      fail.
      
      The default code page for FAT is 437 (cf. CONFIG_FAT_DEFAULT_CODEPAGE).
      The default IO character set is "iso8859-1" (cf. CONFIG_NLS_ISO8859_1).
      
      So let's enable NLS_CODEPAGE_437 and NLS_ISO8859_1 in defconfig.
      Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      efe1e08b
    • Heinrich Schuchardt's avatar
      riscv: defconfig: enable BLK_DEV_NVME · 3a87ff89
      Heinrich Schuchardt authored
      NVMe is a non-volatile storage media attached via PCIe.
      As NVMe has much higher throughput than other block devices like
      SATA it is a must have for RISC-V. Enable CONFIG_BLK_DEV_NVME.
      
      The HiFive Unmatched is a board providing M.2 slots for NVMe drives.
      Enable CONFIG_PCIE_FU740.
      Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
      Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      3a87ff89
  3. 10 Sep, 2021 10 commits