Skip to contentSkip to conversation

Linux 5.4.13

DISCUSSION Greg KH 2 participants 4 messages Jan 17, 2020 – Jan 21, 2020 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.4.13 kernel.

All users of the 5.4 kernel series must upgrade.

The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Documentation/ABI/stable/sysfs-driver-mlxreg-io                            |   13 
 Documentation/ABI/testing/sysfs-bus-mei                                    |    2 
 Documentation/admin-guide/device-mapper/index.rst                          |    1 
 Documentation/devicetree/bindings/reset/brcm,brcmstb-reset.txt             |    2 
 Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt |    4 
 Documentation/networking/j1939.rst                                         |    2 
 Documentation/scsi/smartpqi.txt                                            |    2 
 MAINTAINERS                                                                |    1 
 Makefile                                                                   |    2 
 arch/arm/kernel/smp.c                                                      |    4 
 arch/arm/kernel/topology.c                                                 |   10 
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi                               |    2 
 arch/arm64/crypto/aes-neonbs-glue.c                                        |    2 
 arch/hexagon/include/asm/atomic.h                                          |    8 
 arch/hexagon/include/asm/bitops.h                                          |    8 
 arch/hexagon/include/asm/cmpxchg.h                                         |    2 
 arch/hexagon/include/asm/futex.h                                           |    6 
 arch/hexagon/include/asm/spinlock.h                                        |   20 
 arch/hexagon/kernel/stacktrace.c                                           |    4 
 arch/hexagon/kernel/vm_entry.S                                             |    2 
 arch/mips/boot/compressed/Makefile                                         |    3 
 arch/mips/include/asm/vdso/gettimeofday.h                                  |   13 
 arch/mips/kernel/cacheinfo.c                                               |   27 
 arch/mips/pci/pci-xtalk-bridge.c                                           |    5 
 arch/mips/sgi-ip27/ip27-irq.c                                              |    4 
 arch/mips/vdso/vgettimeofday.c                                             |   20 
 arch/nds32/include/asm/cacheflush.h                                        |   11 
 arch/powerpc/platforms/powernv/pci.c                                       |   17 
 arch/riscv/mm/cacheflush.c                                                 |    1 
 arch/x86/entry/syscall_32.c                                                |    8 
 arch/x86/entry/syscall_64.c                                                |   14 
 arch/x86/entry/syscalls/syscall_32.tbl                                     |    8 
 arch/x86/ia32/ia32_signal.c                                                |    5 
 arch/x86/include/asm/syscall_wrapper.h                                     |   53 +
 block/bio.c                                                                |   12 
 crypto/algif_skcipher.c                                                    |    2 
 drivers/clk/clk.c                                                          |    1 
 drivers/clk/imx/clk-pll14xx.c                                              |   40 
 drivers/clk/meson/axg-audio.c                                              |    2 
 drivers/clk/samsung/clk-exynos5420.c                                       |    2 
 drivers/crypto/cavium/nitrox/nitrox_main.c                                 |    9 
 drivers/crypto/geode-aes.c                                                 |  440 +++-------
 drivers/crypto/geode-aes.h                                                 |   15 
 drivers/crypto/hisilicon/Kconfig                                           |    1 
 drivers/crypto/virtio/virtio_crypto_algs.c                                 |    9 
 drivers/devfreq/Kconfig                                                    |    1 
 drivers/dma/dw/platform.c                                                  |    2 
 drivers/dma/ioat/dma.c                                                     |    3 
 drivers/dma/k3dma.c                                                        |   12 
 drivers/gpio/gpio-mpc8xxx.c                                                |    1 
 drivers/gpio/gpio-zynq.c                                                   |    8 
 drivers/gpio/gpiolib.c                                                     |    5 
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                                        |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c                              |    4 
 drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h                              |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c                                 |   61 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h                                 |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c                                    |   85 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                                    |   99 --
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                                      |   15 
 drivers/gpu/drm/amd/include/discovery.h                                    |    1 
 drivers/gpu/drm/arm/malidp_mw.c                                            |    2 
 drivers/gpu/drm/tegra/drm.c                                                |   14 
 drivers/gpu/drm/virtio/virtgpu_ioctl.c                                     |   28 
 drivers/hid/hidraw.c                                                       |    7 
 drivers/hid/uhid.c                                                         |    5 
 drivers/i2c/busses/i2c-bcm2835.c                                           |   17 
 drivers/iio/imu/adis16480.c                                                |    6 
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c                               |    7 
 drivers/infiniband/core/counters.c                                         |   12 
 drivers/infiniband/hw/bnxt_re/ib_verbs.c                                   |    4 
 drivers/infiniband/hw/bnxt_re/qplib_fp.c                                   |   12 
 drivers/infiniband/hw/hfi1/iowait.c                                        |    4 
 drivers/infiniband/hw/hns/Kconfig                                          |   17 
 drivers/infiniband/hw/hns/Makefile                                         |    8 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c                                 |   18 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h                                 |    4 
 drivers/infiniband/hw/hns/hns_roce_qp.c                                    |   10 
 drivers/infiniband/hw/hns/hns_roce_restrack.c                              |    2 
 drivers/infiniband/hw/mlx5/mr.c                                            |    2 
 drivers/infiniband/sw/siw/siw_cm.c                                         |    9 
 drivers/infiniband/ulp/srpt/ib_srpt.c                                      |   24 
 drivers/iommu/intel-iommu.c                                                |   13 
 drivers/iommu/iommu.c                                                      |    1 
 drivers/iommu/mtk_iommu.c                                                  |   25 
 drivers/iommu/mtk_iommu.h                                                  |    1 
 drivers/media/i2c/ov6650.c                                                 |   79 +
 drivers/media/platform/aspeed-video.c                                      |    3 
 drivers/media/platform/cadence/cdns-csi2rx.c                               |    2 
 drivers/media/platform/coda/coda-common.c                                  |    4 
 drivers/media/platform/exynos4-is/fimc-isp-video.c                         |    2 
 drivers/media/platform/rcar-vin/rcar-v4l2.c                                |    3 
 drivers/memory/mtk-smi.c                                                   |    4 
 drivers/misc/enclosure.c                                                   |    3 
 drivers/mtd/nand/onenand/omap2.c                                           |    3 
 drivers/mtd/nand/raw/stm32_fmc2_nand.c                                     |   38 
 drivers/mtd/spi-nor/spi-nor.c                                              |    4 
 drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c                      |    2 
 drivers/net/wireless/intel/iwlwifi/mvm/fw.c                                |   20 
 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c                             |    8 
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c                                |    7 
 drivers/net/wireless/realtek/rtlwifi/regd.c                                |    2 
 drivers/net/wireless/rsi/rsi_91x_usb.c                                     |    2 
 drivers/pci/controller/dwc/pci-meson.c                                     |    6 
 drivers/pci/controller/dwc/pcie-designware-host.c                          |   11 
 drivers/pci/controller/pci-aardvark.c                                      |   42 
 drivers/pci/hotplug/pciehp_core.c                                          |   25 
 drivers/pci/pci-driver.c                                                   |    3 
 drivers/pci/pcie/ptm.c                                                     |    2 
 drivers/pci/probe.c                                                        |    1 
 drivers/phy/motorola/phy-mapphone-mdm6600.c                                |   11 
 drivers/pinctrl/cirrus/Kconfig                                             |    1 
 drivers/pinctrl/intel/pinctrl-lewisburg.c                                  |  171 +--
 drivers/pinctrl/meson/pinctrl-meson.c                                      |    1 
 drivers/pinctrl/sh-pfc/core.c                                              |   16 
 drivers/pinctrl/sh-pfc/sh_pfc.h                                            |    4 
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c                                    |    2 
 drivers/platform/mellanox/mlxbf-tmfifo.c                                   |   19 
 drivers/platform/mips/cpu_hwmon.c                                          |    2 
 drivers/platform/x86/asus-wmi.c                                            |    8 
 drivers/platform/x86/gpd-pocket-fan.c                                      |   25 
 drivers/reset/reset-brcmstb.c                                              |    6 
 drivers/rtc/rtc-bd70528.c                                                  |    1 
 drivers/rtc/rtc-brcmstb-waketimer.c                                        |    1 
 drivers/rtc/rtc-msm6242.c                                                  |    3 
 drivers/rtc/rtc-mt6397.c                                                   |   47 -
 drivers/s390/net/qeth_core_main.c                                          |   29 
 drivers/s390/net/qeth_l2_main.c                                            |   10 
 drivers/s390/net/qeth_l3_main.c                                            |    2 
 drivers/s390/net/qeth_l3_sys.c                                             |   40 
 drivers/scsi/cxgbi/libcxgbi.c                                              |    3 
 drivers/scsi/mpt3sas/mpt3sas_base.c                                        |    1 
 drivers/scsi/sd.c                                                          |   18 
 drivers/scsi/ufs/ufs_bsg.c                                                 |    2 
 drivers/spi/spi-atmel.c                                                    |   10 
 drivers/spi/spi-fsl-lpspi.c                                                |    2 
 drivers/spi/spi-pxa2xx.c                                                   |    7 
 drivers/spi/spi-rspi.c                                                     |    8 
 drivers/spi/spi-sprd.c                                                     |    2 
 drivers/staging/media/hantro/hantro_g1_h264_dec.c                          |    2 
 drivers/staging/media/hantro/hantro_h264.c                                 |   73 -
 drivers/staging/media/ipu3/include/intel-ipu3.h                            |    2 
 drivers/staging/media/sunxi/cedrus/cedrus_h264.c                           |    4 
 drivers/target/target_core_iblock.c                                        |    4 
 drivers/tty/serial/imx.c                                                   |    2 
 drivers/tty/serial/pch_uart.c                                              |    5 
 fs/affs/super.c                                                            |    6 
 fs/afs/dir.c                                                               |   18 
 fs/afs/super.c                                                             |    1 
 fs/btrfs/file.c                                                            |    5 
 fs/buffer.c                                                                |    8 
 fs/cifs/smb2file.c                                                         |    2 
 fs/f2fs/data.c                                                             |    2 
 fs/f2fs/file.c                                                             |    2 
 fs/gfs2/file.c                                                             |   30 
 fs/internal.h                                                              |    2 
 fs/mpage.c                                                                 |    2 
 fs/nfs/nfs2xdr.c                                                           |    2 
 fs/nfs/nfs4proc.c                                                          |   38 
 fs/nfsd/Kconfig                                                            |    2 
 fs/nfsd/nfs4proc.c                                                         |    3 
 fs/nfsd/nfs4recover.c                                                      |   12 
 fs/ocfs2/journal.c                                                         |    8 
 fs/ubifs/journal.c                                                         |    2 
 fs/ubifs/orphan.c                                                          |   17 
 fs/ubifs/super.c                                                           |    4 
 include/asm-generic/cacheflush.h                                           |   33 
 include/crypto/internal/skcipher.h                                         |   30 
 include/crypto/skcipher.h                                                  |   30 
 include/linux/uaccess.h                                                    |   12 
 include/sound/simple_card_utils.h                                          |    1 
 include/trace/events/afs.h                                                 |   12 
 include/trace/events/rpcrdma.h                                             |   25 
 include/uapi/rdma/nes-abi.h                                                |  115 --
 kernel/bpf/cgroup.c                                                        |   11 
 kernel/cred.c                                                              |    4 
 kernel/trace/bpf_trace.c                                                   |    6 
 mm/maccess.c                                                               |   45 -
 net/core/skmsg.c                                                           |   13 
 net/hsr/hsr_debugfs.c                                                      |   36 
 net/hsr/hsr_device.c                                                       |    2 
 net/hsr/hsr_main.c                                                         |    5 
 net/hsr/hsr_main.h                                                         |   10 
 net/hsr/hsr_netlink.c                                                      |    1 
 net/netfilter/nf_tables_offload.c                                          |   26 
 net/netfilter/nft_flow_offload.c                                           |    3 
 net/netfilter/nft_meta.c                                                   |   10 
 net/rxrpc/ar-internal.h                                                    |   10 
 net/rxrpc/call_accept.c                                                    |   60 -
 net/rxrpc/conn_event.c                                                     |   16 
 net/rxrpc/conn_service.c                                                   |    4 
 net/rxrpc/input.c                                                          |   18 
 net/rxrpc/rxkad.c                                                          |    5 
 net/rxrpc/security.c                                                       |   70 -
 net/sched/sch_cake.c                                                       |    1 
 net/socket.c                                                               |    1 
 net/sunrpc/xprtrdma/frwr_ops.c                                             |    4 
 net/sunrpc/xprtrdma/rpc_rdma.c                                             |    1 
 net/sunrpc/xprtrdma/transport.c                                            |    3 
 net/sunrpc/xprtrdma/verbs.c                                                |  103 +-
 net/sunrpc/xprtrdma/xprt_rdma.h                                            |    3 
 net/unix/af_unix.c                                                         |   19 
 scripts/link-vmlinux.sh                                                    |    7 
 scripts/package/mkdebian                                                   |    2 
 security/tomoyo/common.c                                                   |    9 
 security/tomoyo/domain.c                                                   |   15 
 security/tomoyo/group.c                                                    |    9 
 security/tomoyo/util.c                                                     |    6 
 sound/soc/fsl/fsl_esai.c                                                   |   12 
 sound/soc/intel/Kconfig                                                    |    3 
 sound/soc/sh/rcar/core.c                                                   |   20 
 sound/soc/soc-core.c                                                       |    2 
 sound/soc/soc-pcm.c                                                        |    2 
 sound/soc/sof/imx/imx8.c                                                   |    5 
 sound/soc/sof/intel/Kconfig                                                |   10 
 sound/soc/stm/stm32_spdifrx.c                                              |   40 
 tools/lib/bpf/Makefile                                                     |    2 
 tools/pci/pcitest.c                                                        |    1 
 tools/perf/pmu-events/arch/s390/cf_z14/extended.json                       |    2 
 tools/testing/selftests/firmware/fw_lib.sh                                 |    6 
 tools/testing/selftests/net/forwarding/loopback.sh                         |    8 
 tools/testing/selftests/rseq/settings                                      |    1 
 222 files changed, 1848 insertions(+), 1422 deletions(-)

Alexander Usyskin (1):
mei: fix modalias documentation

[email protected] (1):
ioat: ioat_alloc_ring() failure handling.

Alexandra Winter (3):
s390/qeth: fix false reporting of VNIC CHAR config failure s390/qeth: Fix vnicc_is_in_use if rx_bcast not set s390/qeth: vnicc Fix init to default

Alexandru Ardelean (1):
iio: imu: adis16480: assign bias value only if operation succeeded

Andrii Nakryiko (1):
libbpf: Fix Makefile' libbpf symbol mismatch diagnostic

Andy Lutomirski (1):
syscalls/x86: Wire up COMPAT_SYSCALL_DEFINE0

Andy Shevchenko (3):
MAINTAINERS: Append missed file to the database
dmaengine: dw: platform: Mark 'hclk' clock optional
pinctrl: lewisburg: Update pin list according to v1.1v6

Ard Biesheuvel (2):
crypto: virtio - implement missing support for output IVs kbuild/deb-pkg: annotate libelf-dev dependency as :native

Arnd Bergmann (8):
pinctrl: lochnagar: select GPIOLIB
PM / devfreq: tegra: Add COMMON_CLK dependency
netfilter: nft_meta: use 64-bit time arithmetic RDMA/hns: Fix build error again
scsi: sd: enable compat ioctls for sed-opal
gfs2: add compat_ioctl support
af_unix: add compat_ioctl support
compat_ioctl: handle SIOCOUTQNSD

Bart Van Assche (2):
RDMA/siw: Fix port number endianness in a debug message RDMA/srpt: Report the SCSI residual to the initiator

Ben Dooks (Codethink) (2):
ubifs: Fixed missed le64_to_cpu() in journal drm/arm/mali: make malidp_mw_connector_helper_funcs static

Bjorn Helgaas (2):
PCI/PM: Clear PCIe PME Status even for legacy power management PCI/PTM: Remove spurious "d" from granularity message

Boris Brezillon (1):
media: hantro: h264: Fix the frame_num wraparound case

Can Guo (1):
scsi: ufs: Give an unique ID to each ufs-bsg

Chao Yu (1):
f2fs: fix potential overflow

Christian König (1):
drm/amdgpu: cleanup creating BOs at fixed location (v2)

Christian Lamparter (1):
ath9k: use iowrite32 over __raw_writel

Christophe JAILLET (1):
media: v4l: cadence: Fix how unsued lanes are handled in 'csi2rx_start()'

Christophe Kerello (1):
mtd: rawnand: stm32_fmc2: avoid to lock the CPU bus

Chuck Lever (7):
xprtrdma: Add unique trace points for posting Local Invalidate WRs
xprtrdma: Connection becomes unstable after a reconnect
xprtrdma: Fix MR list handling
xprtrdma: Close window between waking RPC senders and posting Receives
xprtrdma: Fix create_qp crash on device unload
xprtrdma: Fix completion wait during device removal
xprtrdma: Fix oops in Receive handler after device removal

Chuhong Yuan (1):
rtc: brcmstb-waketimer: add missed clk_disable_unprepare

Colin Ian King (2):
ASoC: SOF: imx8: fix memory allocation failure check on priv->pd_dev
pinctl: ti: iodelay: fix error checking on pinctrl_count_index_with_args call

Dan Carpenter (1):
scsi: mpt3sas: Fix double free in attach error handling

Daniel Baluta (3):
ASoC: soc-core: Set dpcm_playback / dpcm_capture
ASoC: SOF: imx8: Fix dsp_box offset
ASoC: simple_card_utils.h: Add missing include

Daniel Borkmann (2):
uaccess: Add non-pagefault user-space write function
bpf: Make use of probe_user_write in probe write helper

Daniel Vetter (1):

      spi: pxa2xx: Set controller->max_transfer_size in dma mode

David Howells (7):
afs: Fix missing cell comparison in afs_test_super()
afs: Fix use-after-loss-of-ref
afs: Fix afs_lookup() to not clobber the version on a new dentry
keys: Fix request_key() cache
rxrpc: Unlock new call in rxrpc_new_incoming_call() rather than the caller
rxrpc: Don't take call->user_mutex in rxrpc_new_incoming_call()
rxrpc: Fix missing security check on incoming calls

Denis Efremov (1):
rsi: fix potential null dereference in rsi_probe()

Diego Calleja (1):
dm: add dm-clone to the documentation index

Dietmar Eggemann (1):
ARM: 8943/1: Fix topology setup in case of CPU hotplug for CONFIG_SCHED_MC

Ed Maste (1):
perf vendor events s390: Remove name from L1D_RO_EXCL_WRITES description

Eric Biggers (1):
crypto: geode-aes - convert to skcipher API and make thread-safe

Florian Fainelli (2):
dt-bindings: reset: Fix brcmstb-reset example
reset: brcmstb: Remove resource checks

Geert Uytterhoeven (3):
gpio: Fix error message on out-of-range GPIO in lookup table
pinctrl: sh-pfc: Do not use platform_get_irq() to count interrupts
spi: rspi: Use platform_get_irq_byname_optional() for optional irqs

Goldwyn Rodrigues (1):
btrfs: simplify inode locking for RWF_NOWAIT

Greg Kroah-Hartman (2):
Revert "drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper." Linux 5.4.13

Hangbin Liu (1):
selftests: loopback.sh: skip this test if the driver does not support

Hans de Goede (1):
platform/x86: GPD pocket fan: Use default values when wrong modparams are given

Herbert Xu (1):
crypto: algif_skcipher - Use chunksize instead of blocksize

Hewenliang (1):
tools: PCI: Fix fd leakage

Huanpeng Xin (1):
spi: sprd: Fix the incorrect SPI register

Israel Rukshin (1):
scsi: target/iblock: Fix protection error with blocks greater than 512B

James Bottomley (1):
scsi: enclosure: Fix stale device oops with hot replug

Janusz Krzysztofik (4):
media: ov6650: Fix incorrect use of JPEG colorspace
media: ov6650: Fix some format attributes not under control
media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support
media: ov6650: Fix default format not applied on device probe

Jason Gunthorpe (2):
RDMA/hns: Prevent undefined behavior in hns_roce_set_user_sq_size()
rdma: Remove nes ABI header

Jerome Brunet (1):
clk: meson: axg-audio: fix regmap last register

Jian-Hong Pan (1):
platform/x86: asus-wmi: Fix keyboard brightness cannot be set to 0

Jiri Kosina (1):
HID: hidraw, uhid: Always report EPOLLOUT

John Fastabend (1):
bpf: skmsg, fix potential psock NULL pointer dereference

John Stultz (1):
dmaengine: k3dma: Avoid null pointer traversal

Johnson CH Chen (陳昭勳) (1):

      gpio: mpc8xxx: Add platform device to gpiochip->parent

Jon Derrick (2):
iommu/vt-d: Unlink device if failed to add to group
iommu: Remove device link to group on failure

Jonas Karlman (3):
media: cedrus: Use correct H264 8x8 scaling list
media: hantro: Do not reorder H264 scaling list
media: hantro: Set H264 FIELDPIC_FLAG_E flag correctly

Jouni Hogander (1):
MIPS: Prevent link failure with kcov instrumentation

Julian Wiedmann (3):
s390/qeth: fix qdio teardown after early init error s390/qeth: fix initialization on old HW s390/qeth: lock the card while changing its hsuid

Kai Li (1):
ocfs2: call journal flush to mark journal as empty after journal recovery when mount

Kaike Wan (1):
IB/hfi1: Don't cancel unused work item

Kars de Jong (1):
rtc: msm6242: Fix reading of 10-hour digit

Keiya Nobuta (1):
pinctrl: sh-pfc: Fix PINMUX_IPSR_PHYS() to set GPSR

Kishon Vijay Abraham I (1):
clk: Fix memory leak in clk_unregister()

Lang Cheng (1):
RDMA/hns: Modify return value of restrack functions

Leon Romanovsky (1):
RDMA/mlx5: Return proper error value

Leonard Crestez (1):
clk: imx: pll14xx: Fix quick switch of S/K parameter

Lijun Ou (1):
RDMA/hns: Fix to support 64K page for srq

Liming Sun (1):
platform/mellanox: fix potential deadlock in the tmfifo driver

Loic Poulain (1):

      arm64: dts: apq8096-db820c: Increase load on l21 for SDCARD

Lorenzo Bianconi (1):
iio: imu: st_lsm6dsx: fix gyro gain definitions for LSM9DS1

Luca Coelho (1):
iwlwifi: mvm: fix support for single antenna diversity

Mans Rullgard (1):
spi: atmel: fix handling of cs_change set on non-last xfer

Marc Kleine-Budde (1):
can: j1939: fix address claim code example

Marian Mihailescu (1):
clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume

Mark Zhang (1):
RDMA/counter: Prevent QP counter manual binding in auto mode

Mathieu Desnoyers (1):
rseq/selftests: Turn off timeout setting

Matti Vaittinen (1):
rtc: bd70528: Add MODULE ALIAS to autoload module

Mika Westerberg (1):
PCI: pciehp: Do not disable interrupt twice on suspend

Mike Rapoport (1):
asm-generic/nds32: don't redefine cacheflush primitives

Ming Lei (1):
fs: move guard_bio_eod() after bio_set_op_attrs

Mordechay Goodstein (1):
iwlwifi: mvm: consider ieee80211 station max amsdu value

Nathan Chancellor (2):
cifs: Adjust indentation in smb2_open_file
rtlwifi: Remove unnecessary NULL check in rtl_regd_init

Navid Emamdoost (3):
affs: fix a memory leak in affs_remount
media: aspeed-video: Fix memory leaks in aspeed_video_probe
spi: lpspi: fix memory leak in fsl_lpspi_probe

Neil Armstrong (1):
PCI: amlogic: Fix probed clock names

Nick Desaulniers (2):
hexagon: parenthesize registers in asm predicates
hexagon: work around compiler crash

Niklas Cassel (1):
PCI: dwc: Fix find_next_bit() usage

Niklas Söderlund (1):
media: rcar-vin: Fix incorrect return statement in rvin_try_format()

Nilkanth Ahirrao (1):
ASoC: rsnd: fix DALIGN register for SSIU

Olga Kornievskaia (1):
NFSD fixing possible null pointer derefering in copy offload

Oliver O'Halloran (1):
powerpc/powernv: Disable native PCIe port management

Olivier Moysan (3):
ASoC: stm32: spdifrx: fix inconsistent lock state
ASoC: stm32: spdifrx: fix race condition in irq handler
ASoC: stm32: spdifrx: fix input pin state management

Olof Johansson (1):
riscv: export flush_icache_all to modules

Pablo Neira Ayuso (1):
netfilter: nf_tables_offload: release flow_rule on error from commit path

Paul Menzel (1):
scsi: smartpqi: Update attribute name to driver_version

Peng Fan (2):
tty: serial: imx: use the sg count from dma_map_sg
tty: serial: pch_uart: correct usage of dma_unmap_sg

Peter Ujfalusi (1):
mtd: onenand: omap2: Pass correct flags for prep_dma_memcpy

Phani Kiran Hemadri (1):
crypto: cavium/nitrox - fix firmware assignment to AE cores

Philipp Zabel (1):
media: coda: fix deadlock between decoder picture run and start command

Pierre-Louis Bossart (1):
ASoC: SOF: Intel: Broadwell: clarify mutual exclusion with legacy driver

Qianggui Song (1):
pinctrl: meson: Fix wrong shift value when get drive-strength

Ran Bi (1):
rtc: mt6397: fix alarm register overwrite

Remi Pommarel (2):
PCI: aardvark: Use LTSSM state to build link training flag
PCI: aardvark: Fix PCI_EXP_RTCTL register configuration

Richard Weinberger (1):
Revert "ubifs: Fix memory leak bug in alloc_ubifs_info() error path"

Rob Herring (1):
PCI: Fix missing bridge dma_ranges resource list cleanup

Roman Gushchin (1):
bpf: cgroup: prevent out-of-order release of cgroup bpf

Sakari Ailus (1):
media: intel-ipu3: Align struct ipu3_uapi_awb_fr_config_s to 32 bytes

Sami Tolvanen (3):
syscalls/x86: Use COMPAT_SYSCALL_DEFINE0 for IA32 (rt_)sigreturn syscalls/x86: Use the correct function type for sys_ni_syscall syscalls/x86: Fix function types in COND_SYSCALL

Scott Mayhew (2):
nfsd: Fix cld_net->cn_tfm initialization
nfsd: v4 support requires CRYPTO_SHA256

Selvin Xavier (2):
RDMA/bnxt_re: Avoid freeing MR resources if dereg fails RDMA/bnxt_re: Fix Send Work Entry state check while polling completions

Sergei Shtylyov (2):
mtd: spi-nor: fix silent truncation in spi_nor_read()
mtd: spi-nor: fix silent truncation in spi_nor_read_raw()

Seung-Woo Kim (1):
media: exynos4-is: Fix recursive locking in isp_video_release()

Shengjiu Wang (1):
ASoC: fsl_esai: Add spin lock to protect reset, stop and start

Shuah Khan (1):
selftests: firmware: Fix it to do root uid check and skip

Stanislav Fomichev (1):
bpf: Support pre-2.25-binutils objcopy for vmlinux BTF

Stefan Wahren (1):
i2c: bcm2835: Store pointer to bus clock

Swapna Manupati (1):
gpio: zynq: Fix for bug in zynq_gpio_restore_context API

Taehee Yoo (4):
hsr: add hsr root debugfs directory
hsr: rename debugfs file when interface name is changed
hsr: reset network header when supervision frame is created
hsr: fix slab-out-of-bounds Read in hsr_debugfs_rename()

Takashi Iwai (1):
ASoC: core: Fix compile warning with CONFIG_DEBUG_FS=n

Tetsuo Handa (1):
tomoyo: Suppress RCU warning at list_for_each_entry_rcu().

Thierry Reding (1):
drm/tegra: Fix ordering of cleanup code

Thomas Bogendoerfer (2):
MIPS: PCI: remember nasid changed by set interrupt affinity
MIPS: SGI-IP27: Fix crash, when CPUs are disabled via nr_cpus parameter

Tiezhu Yang (1):
MIPS: Loongson: Fix return value of loongson_hwmon_init

Tony Lindgren (1):
phy: mapphone-mdm6600: Fix uninitialized status value regression

Trond Myklebust (3):
NFSv2: Fix a typo in encode_sattr()
NFSv4.x: Handle bad/dead sessions correctly in nfs41_sequence_process() NFSv4.x: Drop the slot if nfs4_delegreturn_prepare waits for layoutreturn

Tzung-Bi Shih (1):
ASoC: dt-bindings: mt8183: add missing update

Vadim Pasternak (2):
Documentation/ABI: Fix documentation inconsistency for mlxreg-io sysfs interfaces Documentation/ABI: Add missed attribute for mlxreg-io sysfs interfaces

Varun Prakash (1):
scsi: libcxgbi: fix NULL pointer dereference in cxgbi_device_destroy()

Victorien Molle (1):
sch_cake: Add missing NLA policy entry TCA_CAKE_SPLIT_GSO

Vincenzo Frascino (1):
mips: Fix gettimeofday() in the vdso library

Vladimir Kondratiev (1):
mips: cacheinfo: report shared CPU map

Weihang Li (1):
RDMA/hns: remove a redundant le16_to_cpu

Xiang Chen (1):

      scsi: sd: Clear sdkp->protection_type if disk is reformatted without PI

Xiaojie Yuan (1):
drm/amdgpu/discovery: reserve discovery data at the top of VRAM

Yangyang Li (2):
RDMA/hns: Release qp resources when failed to destroy qp RDMA/hns: Bugfix for qpc/cqc timer configuration

Yong Wu (3):
iommu/mediatek: Correct the flush_iotlb_all callback iommu/mediatek: Add a new tlb_lock for tlb_flush
memory: mtk-smi: Add PM suspend and resume ops

Yunfeng Ye (1):
crypto: arm64/aes-neonbs - add return value of skcipher_walk_done() in __xts_crypt()

Zhihao Cheng (1):
ubifs: do_kill_orphans: Fix a memory leak bug

Zhou Wang (1):
crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig

changzhu (1):
drm/amdgpu: enable gfxoff for raven1 refresh

wenxu (1):
netfilter: nft_flow_offload: fix underflow in flowtable reference counter

author maintainer
#1 lore raw
Documentation/ABI/stable/sysfs-driver-mlxreg-io +11 -2
index 8ca498447aeb..05601a90a9b6 100644
@@ -29,13 +29,13 @@ Description:	This file shows the system fans direction:
 
 		The files are read only.
 
-What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable
+What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version
 
 Date:		November 2018
 KernelVersion:	5.0
 Contact:	Vadim Pasternak <vadimpmellanox.com>
 Description:	These files show with which CPLD versions have been burned
-		on LED board.
+		on LED or Gearbox board.
 
 		The files are read only.
 
@@ -121,6 +121,15 @@ Description:	These files show the system reset cause, as following: ComEx
 
 		The files are read only.
 
+What:		/sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld4_version
+Date:		November 2018
+KernelVersion:	5.0
+Contact:	Vadim Pasternak <vadimpmellanox.com>
+Description:	These files show with which CPLD versions have been burned
+		on LED board.
+
+		The files are read only.
+
 Date:		June 2019
 KernelVersion:	5.3
 Contact:	Vadim Pasternak <vadimpmellanox.com>
Documentation/ABI/testing/sysfs-bus-mei +1 -1
index 6bd45346ac7e..3f8701e8fa24 100644
@@ -4,7 +4,7 @@ KernelVersion:	3.10
 Contact:	Samuel Ortiz <[email protected]>
 		[email protected]
 Description:	Stores the same MODALIAS value emitted by uevent
-		Format: mei:<mei device name>:<device uuid>:
+		Format: mei:<mei device name>:<device uuid>:<protocol version>
 
 What:		/sys/bus/mei/devices/.../name
 Date:		May 2015
Documentation/admin-guide/device-mapper/index.rst +1 -0
index c77c58b8f67b..d8dec8911eb3 100644
@@ -8,6 +8,7 @@ Device Mapper
     cache-policies
     cache
     delay
+    dm-clone
     dm-crypt
     dm-flakey
     dm-init
Documentation/devicetree/bindings/reset/brcm,brcmstb-reset.txt +1 -1
index 6e5341b4f891..ee59409640f2 100644
@@ -22,6 +22,6 @@ Example:
 	};
 
 	&ethernet_switch {
-		resets = <&reset>;
+		resets = <&reset 26>;
 		reset-names = "switch";
 	};
Documentation/devicetree/bindings/sound/mt8183-mt6358-ts3a227-max98357.txt +3 -1
index d6d5207fa996..17ff3892f439 100644
@@ -2,9 +2,11 @@ MT8183 with MT6358, TS3A227 and MAX98357 CODECS
 
 Required properties:
 - compatible : "mediatek,mt8183_mt6358_ts3a227_max98357"
-- mediatek,headset-codec: the phandles of ts3a227 codecs
 - mediatek,platform: the phandle of MT8183 ASoC platform
 
+Optional properties:
+- mediatek,headset-codec: the phandles of ts3a227 codecs
+
 Example:
 
 	sound {
Documentation/networking/j1939.rst +1 -1
index dc60b13fcd09..f5be243d250a 100644
@@ -339,7 +339,7 @@ To claim an address following code example can be used:
 			.pgn = J1939_PGN_ADDRESS_CLAIMED,
 			.pgn_mask = J1939_PGN_PDU1_MAX,
 		}, {
-			.pgn = J1939_PGN_ADDRESS_REQUEST,
+			.pgn = J1939_PGN_REQUEST,
 			.pgn_mask = J1939_PGN_PDU1_MAX,
 		}, {
 			.pgn = J1939_PGN_ADDRESS_COMMANDED,
Documentation/scsi/smartpqi.txt +1 -1
index 201f80c7c050..df129f55ace5 100644
@@ -29,7 +29,7 @@ smartpqi specific entries in /sys
   smartpqi host attributes:
   -------------------------
   /sys/class/scsi_host/host*/rescan
-  /sys/class/scsi_host/host*/version
+  /sys/class/scsi_host/host*/driver_version
 
   The host rescan attribute is a write only attribute. Writing to this
   attribute will trigger the driver to scan for new, changed, or removed
MAINTAINERS +1 -0
index 9d3a5c54a41d..4f7ac27d8651 100644
@@ -6973,6 +6973,7 @@ L:	[email protected]
 S:	Maintained
 F:	Documentation/firmware-guide/acpi/gpio-properties.rst
 F:	drivers/gpio/gpiolib-acpi.c
+F:	drivers/gpio/gpiolib-acpi.h
 
 GPIO IR Transmitter
 M:	Sean Young <[email protected]>
Makefile +1 -1
index 45c6264f1108..d4cf4700ae3f 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 4
-SUBLEVEL = 12
+SUBLEVEL = 13
 EXTRAVERSION =
 NAME = Kleptomaniac Octopus
 
arch/arm/kernel/smp.c +4 -0
index 4b0bab2607e4..46e1be9e57a8 100644
@@ -240,6 +240,10 @@ int __cpu_disable(void)
 	if (ret)
 		return ret;
 
+#ifdef CONFIG_GENERIC_ARCH_TOPOLOGY
+	remove_cpu_topology(cpu);
+#endif
+
 	/*
 	 * Take this CPU offline.  Once we clear this, we can't return,
 	 * and we must not schedule until we're ready to give up the cpu.
arch/arm/kernel/topology.c +5 -5
index 5b9faba03afb..8d2e61d9e7a6 100644
@@ -196,9 +196,8 @@ void store_cpu_topology(unsigned int cpuid)
 	struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
 	unsigned int mpidr;
 
-	/* If the cpu topology has been already set, just return */
-	if (cpuid_topo->core_id != -1)
-		return;
+	if (cpuid_topo->package_id != -1)
+		goto topology_populated;
 
 	mpidr = read_cpuid_mpidr();
 
@@ -231,14 +230,15 @@ void store_cpu_topology(unsigned int cpuid)
 		cpuid_topo->package_id = -1;
 	}
 
-	update_siblings_masks(cpuid);
-
 	update_cpu_capacity(cpuid);
 
 	pr_info("CPU%u: thread %d, cpu %d, socket %d, mpidr %x\n",
 		cpuid, cpu_topology[cpuid].thread_id,
 		cpu_topology[cpuid].core_id,
 		cpu_topology[cpuid].package_id, mpidr);
+
+topology_populated:
+	update_siblings_masks(cpuid);
 }
 
 static inline int cpu_corepower_flags(void)
arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +2 -0
index 04ad2fb22b9a..dba3488492f1 100644
@@ -623,6 +623,8 @@
 				l21 {
 					regulator-min-microvolt = <2950000>;
 					regulator-max-microvolt = <2950000>;
+					regulator-allow-set-load;
+					regulator-system-load = <200000>;
 				};
 				l22 {
 					regulator-min-microvolt = <3300000>;
arch/arm64/crypto/aes-neonbs-glue.c +1 -1
index ea873b8904c4..e3e27349a9fe 100644
@@ -384,7 +384,7 @@ static int __xts_crypt(struct skcipher_request *req, bool encrypt,
 			goto xts_tail;
 
 		kernel_neon_end();
-		skcipher_walk_done(&walk, nbytes);
+		err = skcipher_walk_done(&walk, nbytes);
 	}
 
 	if (err || likely(!tail))
arch/hexagon/include/asm/atomic.h +4 -4
index 12cd9231c4b8..0231d69c8bf2 100644
@@ -91,7 +91,7 @@ static inline void atomic_##op(int i, atomic_t *v)			\
 		"1:	%0 = memw_locked(%1);\n"			\
 		"	%0 = "#op "(%0,%2);\n"				\
 		"	memw_locked(%1,P3)=%0;\n"			\
-		"	if !P3 jump 1b;\n"				\
+		"	if (!P3) jump 1b;\n"				\
 		: "=&r" (output)					\
 		: "r" (&v->counter), "r" (i)				\
 		: "memory", "p3"					\
@@ -107,7 +107,7 @@ static inline int atomic_##op##_return(int i, atomic_t *v)		\
 		"1:	%0 = memw_locked(%1);\n"			\
 		"	%0 = "#op "(%0,%2);\n"				\
 		"	memw_locked(%1,P3)=%0;\n"			\
-		"	if !P3 jump 1b;\n"				\
+		"	if (!P3) jump 1b;\n"				\
 		: "=&r" (output)					\
 		: "r" (&v->counter), "r" (i)				\
 		: "memory", "p3"					\
@@ -124,7 +124,7 @@ static inline int atomic_fetch_##op(int i, atomic_t *v)			\
 		"1:	%0 = memw_locked(%2);\n"			\
 		"	%1 = "#op "(%0,%3);\n"				\
 		"	memw_locked(%2,P3)=%1;\n"			\
-		"	if !P3 jump 1b;\n"				\
+		"	if (!P3) jump 1b;\n"				\
 		: "=&r" (output), "=&r" (val)				\
 		: "r" (&v->counter), "r" (i)				\
 		: "memory", "p3"					\
@@ -173,7 +173,7 @@ static inline int atomic_fetch_add_unless(atomic_t *v, int a, int u)
 		"	}"
 		"	memw_locked(%2, p3) = %1;"
 		"	{"
-		"		if !p3 jump 1b;"
+		"		if (!p3) jump 1b;"
 		"	}"
 		"2:"
 		: "=&r" (__oldval), "=&r" (tmp)
arch/hexagon/include/asm/bitops.h +4 -4
index 47384b094b94..71429f756af0 100644
@@ -38,7 +38,7 @@ static inline int test_and_clear_bit(int nr, volatile void *addr)
 	"1:	R12 = memw_locked(R10);\n"
 	"	{ P0 = tstbit(R12,R11); R12 = clrbit(R12,R11); }\n"
 	"	memw_locked(R10,P1) = R12;\n"
-	"	{if !P1 jump 1b; %0 = mux(P0,#1,#0);}\n"
+	"	{if (!P1) jump 1b; %0 = mux(P0,#1,#0);}\n"
 	: "=&r" (oldval)
 	: "r" (addr), "r" (nr)
 	: "r10", "r11", "r12", "p0", "p1", "memory"
@@ -62,7 +62,7 @@ static inline int test_and_set_bit(int nr, volatile void *addr)
 	"1:	R12 = memw_locked(R10);\n"
 	"	{ P0 = tstbit(R12,R11); R12 = setbit(R12,R11); }\n"
 	"	memw_locked(R10,P1) = R12;\n"
-	"	{if !P1 jump 1b; %0 = mux(P0,#1,#0);}\n"
+	"	{if (!P1) jump 1b; %0 = mux(P0,#1,#0);}\n"
 	: "=&r" (oldval)
 	: "r" (addr), "r" (nr)
 	: "r10", "r11", "r12", "p0", "p1", "memory"
@@ -88,7 +88,7 @@ static inline int test_and_change_bit(int nr, volatile void *addr)
 	"1:	R12 = memw_locked(R10);\n"
 	"	{ P0 = tstbit(R12,R11); R12 = togglebit(R12,R11); }\n"
 	"	memw_locked(R10,P1) = R12;\n"
-	"	{if !P1 jump 1b; %0 = mux(P0,#1,#0);}\n"
+	"	{if (!P1) jump 1b; %0 = mux(P0,#1,#0);}\n"
 	: "=&r" (oldval)
 	: "r" (addr), "r" (nr)
 	: "r10", "r11", "r12", "p0", "p1", "memory"
@@ -223,7 +223,7 @@ static inline int ffs(int x)
 	int r;
 
 	asm("{ P0 = cmp.eq(%1,#0); %0 = ct0(%1);}\n"
-		"{ if P0 %0 = #0; if !P0 %0 = add(%0,#1);}\n"
+		"{ if (P0) %0 = #0; if (!P0) %0 = add(%0,#1);}\n"
 		: "=&r" (r)
 		: "r" (x)
 		: "p0");
arch/hexagon/include/asm/cmpxchg.h +1 -1
index 6091322c3af9..92b8a02e588a 100644
@@ -30,7 +30,7 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr,
 	__asm__ __volatile__ (
 	"1:	%0 = memw_locked(%1);\n"    /*  load into retval */
 	"	memw_locked(%1,P0) = %2;\n" /*  store into memory */
-	"	if !P0 jump 1b;\n"
+	"	if (!P0) jump 1b;\n"
 	: "=&r" (retval)
 	: "r" (ptr), "r" (x)
 	: "memory", "p0"
arch/hexagon/include/asm/futex.h +3 -3
index cb635216a732..0191f7c7193e 100644
@@ -16,7 +16,7 @@
 	    /* For example: %1 = %4 */ \
 	    insn \
 	"2: memw_locked(%3,p2) = %1;\n" \
-	"   if !p2 jump 1b;\n" \
+	"   if (!p2) jump 1b;\n" \
 	"   %1 = #0;\n" \
 	"3:\n" \
 	".section .fixup,\"ax\"\n" \
@@ -84,10 +84,10 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval,
 	"1: %1 = memw_locked(%3)\n"
 	"   {\n"
 	"      p2 = cmp.eq(%1,%4)\n"
-	"      if !p2.new jump:NT 3f\n"
+	"      if (!p2.new) jump:NT 3f\n"
 	"   }\n"
 	"2: memw_locked(%3,p2) = %5\n"
-	"   if !p2 jump 1b\n"
+	"   if (!p2) jump 1b\n"
 	"3:\n"
 	".section .fixup,\"ax\"\n"
 	"4: %0 = #%6\n"
arch/hexagon/include/asm/spinlock.h +10 -10
index bfe07d842ff3..ef103b73bec8 100644
@@ -30,9 +30,9 @@ static inline void arch_read_lock(arch_rwlock_t *lock)
 	__asm__ __volatile__(
 		"1:	R6 = memw_locked(%0);\n"
 		"	{ P3 = cmp.ge(R6,#0); R6 = add(R6,#1);}\n"
-		"	{ if !P3 jump 1b; }\n"
+		"	{ if (!P3) jump 1b; }\n"
 		"	memw_locked(%0,P3) = R6;\n"
-		"	{ if !P3 jump 1b; }\n"
+		"	{ if (!P3) jump 1b; }\n"
 		:
 		: "r" (&lock->lock)
 		: "memory", "r6", "p3"
@@ -46,7 +46,7 @@ static inline void arch_read_unlock(arch_rwlock_t *lock)
 		"1:	R6 = memw_locked(%0);\n"
 		"	R6 = add(R6,#-1);\n"
 		"	memw_locked(%0,P3) = R6\n"
-		"	if !P3 jump 1b;\n"
+		"	if (!P3) jump 1b;\n"
 		:
 		: "r" (&lock->lock)
 		: "memory", "r6", "p3"
@@ -61,7 +61,7 @@ static inline int arch_read_trylock(arch_rwlock_t *lock)
 	__asm__ __volatile__(
 		"	R6 = memw_locked(%1);\n"
 		"	{ %0 = #0; P3 = cmp.ge(R6,#0); R6 = add(R6,#1);}\n"
-		"	{ if !P3 jump 1f; }\n"
+		"	{ if (!P3) jump 1f; }\n"
 		"	memw_locked(%1,P3) = R6;\n"
 		"	{ %0 = P3 }\n"
 		"1:\n"
@@ -78,9 +78,9 @@ static inline void arch_write_lock(arch_rwlock_t *lock)
 	__asm__ __volatile__(
 		"1:	R6 = memw_locked(%0)\n"
 		"	{ P3 = cmp.eq(R6,#0);  R6 = #-1;}\n"
-		"	{ if !P3 jump 1b; }\n"
+		"	{ if (!P3) jump 1b; }\n"
 		"	memw_locked(%0,P3) = R6;\n"
-		"	{ if !P3 jump 1b; }\n"
+		"	{ if (!P3) jump 1b; }\n"
 		:
 		: "r" (&lock->lock)
 		: "memory", "r6", "p3"
@@ -94,7 +94,7 @@ static inline int arch_write_trylock(arch_rwlock_t *lock)
 	__asm__ __volatile__(
 		"	R6 = memw_locked(%1)\n"
 		"	{ %0 = #0; P3 = cmp.eq(R6,#0);  R6 = #-1;}\n"
-		"	{ if !P3 jump 1f; }\n"
+		"	{ if (!P3) jump 1f; }\n"
 		"	memw_locked(%1,P3) = R6;\n"
 		"	%0 = P3;\n"
 		"1:\n"
@@ -117,9 +117,9 @@ static inline void arch_spin_lock(arch_spinlock_t *lock)
 	__asm__ __volatile__(
 		"1:	R6 = memw_locked(%0);\n"
 		"	P3 = cmp.eq(R6,#0);\n"
-		"	{ if !P3 jump 1b; R6 = #1; }\n"
+		"	{ if (!P3) jump 1b; R6 = #1; }\n"
 		"	memw_locked(%0,P3) = R6;\n"
-		"	{ if !P3 jump 1b; }\n"
+		"	{ if (!P3) jump 1b; }\n"
 		:
 		: "r" (&lock->lock)
 		: "memory", "r6", "p3"
@@ -139,7 +139,7 @@ static inline unsigned int arch_spin_trylock(arch_spinlock_t *lock)
 	__asm__ __volatile__(
 		"	R6 = memw_locked(%1);\n"
 		"	P3 = cmp.eq(R6,#0);\n"
-		"	{ if !P3 jump 1f; R6 = #1; %0 = #0; }\n"
+		"	{ if (!P3) jump 1f; R6 = #1; %0 = #0; }\n"
 		"	memw_locked(%1,P3) = R6;\n"
 		"	%0 = P3;\n"
 		"1:\n"
arch/hexagon/kernel/stacktrace.c +1 -3
index 35f29423fda8..5ed02f699479 100644
@@ -11,8 +11,6 @@
 #include <linux/thread_info.h>
 #include <linux/module.h>
 
-register unsigned long current_frame_pointer asm("r30");
-
 struct stackframe {
 	unsigned long fp;
 	unsigned long rets;
@@ -30,7 +28,7 @@ void save_stack_trace(struct stack_trace *trace)
 
 	low = (unsigned long)task_stack_page(current);
 	high = low + THREAD_SIZE;
-	fp = current_frame_pointer;
+	fp = (unsigned long)__builtin_frame_address(0);
 
 	while (fp >= low && fp <= (high - sizeof(*frame))) {
 		frame = (struct stackframe *)fp;
arch/hexagon/kernel/vm_entry.S +1 -1
index 12242c27e2df..4023fdbea490 100644
@@ -369,7 +369,7 @@ ret_from_fork:
 		R26.L = #LO(do_work_pending);
 		R0 = #VM_INT_DISABLE;
 	}
-	if P0 jump check_work_pending
+	if (P0) jump check_work_pending
 	{
 		R0 = R25;
 		callr R24
arch/mips/boot/compressed/Makefile +3 -0
index 172801ed35b8..d859f079b771 100644
@@ -29,6 +29,9 @@ KBUILD_AFLAGS := $(KBUILD_AFLAGS) -D__ASSEMBLY__ \
 	-DBOOT_HEAP_SIZE=$(BOOT_HEAP_SIZE) \
 	-DKERNEL_ENTRY=$(VMLINUX_ENTRY_ADDRESS)
 
+# Prevents link failures: __sanitizer_cov_trace_pc() is not linked in.
+KCOV_INSTRUMENT		:= n
+
 # decompressor objects (linked with vmlinuz)
 vmlinuzobjs-y := $(obj)/head.o $(obj)/decompress.o $(obj)/string.o
 
arch/mips/include/asm/vdso/gettimeofday.h +0 -13
index b08825531e9f..0ae9b4cbc153 100644
@@ -26,8 +26,6 @@
 
 #define __VDSO_USE_SYSCALL		ULLONG_MAX
 
-#ifdef CONFIG_MIPS_CLOCK_VSYSCALL
-
 static __always_inline long gettimeofday_fallback(
 				struct __kernel_old_timeval *_tv,
 				struct timezone *_tz)
@@ -48,17 +46,6 @@ static __always_inline long gettimeofday_fallback(
 	return error ? -ret : ret;
 }
 
-#else
-
-static __always_inline long gettimeofday_fallback(
-				struct __kernel_old_timeval *_tv,
-				struct timezone *_tz)
-{
-	return -1;
-}
-
-#endif
-
 static __always_inline long clock_gettime_fallback(
 					clockid_t _clkid,
 					struct __kernel_timespec *_ts)
arch/mips/kernel/cacheinfo.c +26 -1
index f777e44653d5..47312c529410 100644
@@ -50,6 +50,25 @@ static int __init_cache_level(unsigned int cpu)
 	return 0;
 }
 
+static void fill_cpumask_siblings(int cpu, cpumask_t *cpu_map)
+{
+	int cpu1;
+
+	for_each_possible_cpu(cpu1)
+		if (cpus_are_siblings(cpu, cpu1))
+			cpumask_set_cpu(cpu1, cpu_map);
+}
+
+static void fill_cpumask_cluster(int cpu, cpumask_t *cpu_map)
+{
+	int cpu1;
+	int cluster = cpu_cluster(&cpu_data[cpu]);
+
+	for_each_possible_cpu(cpu1)
+		if (cpu_cluster(&cpu_data[cpu1]) == cluster)
+			cpumask_set_cpu(cpu1, cpu_map);
+}
+
 static int __populate_cache_leaves(unsigned int cpu)
 {
 	struct cpuinfo_mips *c = &current_cpu_data;
@@ -57,14 +76,20 @@ static int __populate_cache_leaves(unsigned int cpu)
 	struct cacheinfo *this_leaf = this_cpu_ci->info_list;
 
 	if (c->icache.waysize) {
+		/* L1 caches are per core */
+		fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map);
 		populate_cache(dcache, this_leaf, 1, CACHE_TYPE_DATA);
+		fill_cpumask_siblings(cpu, &this_leaf->shared_cpu_map);
 		populate_cache(icache, this_leaf, 1, CACHE_TYPE_INST);
 	} else {
 		populate_cache(dcache, this_leaf, 1, CACHE_TYPE_UNIFIED);
 	}
 
-	if (c->scache.waysize)
+	if (c->scache.waysize) {
+		/* L2 cache is per cluster */
+		fill_cpumask_cluster(cpu, &this_leaf->shared_cpu_map);
 		populate_cache(scache, this_leaf, 2, CACHE_TYPE_UNIFIED);
+	}
 
 	if (c->tcache.waysize)
 		populate_cache(tcache, this_leaf, 3, CACHE_TYPE_UNIFIED);
arch/mips/pci/pci-xtalk-bridge.c +2 -3
index 7b4d40354ee7..30017d5945bc 100644
@@ -279,16 +279,15 @@ static int bridge_set_affinity(struct irq_data *d, const struct cpumask *mask,
 	struct bridge_irq_chip_data *data = d->chip_data;
 	int bit = d->parent_data->hwirq;
 	int pin = d->hwirq;
-	nasid_t nasid;
 	int ret, cpu;
 
 	ret = irq_chip_set_affinity_parent(d, mask, force);
 	if (ret >= 0) {
 		cpu = cpumask_first_and(mask, cpu_online_mask);
-		nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
+		data->nnasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
 		bridge_write(data->bc, b_int_addr[pin].addr,
 			     (((data->bc->intr_addr >> 30) & 0x30000) |
-			      bit | (nasid << 8)));
+			      bit | (data->nasid << 8)));
 		bridge_read(data->bc, b_wid_tflush);
 	}
 	return ret;
arch/mips/sgi-ip27/ip27-irq.c +4 -0
index 37be04975831..79a2f6bd2b5a 100644
@@ -73,6 +73,9 @@ static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask)
 	int cpu;
 
 	cpu = cpumask_first_and(mask, cpu_online_mask);
+	if (cpu >= nr_cpu_ids)
+		cpu = cpumask_any(cpu_online_mask);
+
 	nasid = COMPACT_TO_NASID_NODEID(cpu_to_node(cpu));
 	hd->cpu = cpu;
 	if (!cputoslice(cpu)) {
@@ -139,6 +142,7 @@ static int hub_domain_alloc(struct irq_domain *domain, unsigned int virq,
 	/* use CPU connected to nearest hub */
 	hub = hub_data(NASID_TO_COMPACT_NODEID(info->nasid));
 	setup_hub_mask(hd, &hub->h_cpus);
+	info->nasid = cpu_to_node(hd->cpu);
 
 	/* Make sure it's not already pending when we connect it. */
 	REMOTE_HUB_CLR_INTR(info->nasid, swlevel);
arch/mips/vdso/vgettimeofday.c +20 -0
index 6ebdc37c89fc..6b83b6376a4b 100644
@@ -17,12 +17,22 @@ int __vdso_clock_gettime(clockid_t clock,
 	return __cvdso_clock_gettime32(clock, ts);
 }
 
+#ifdef CONFIG_MIPS_CLOCK_VSYSCALL
+
+/*
+ * This is behind the ifdef so that we don't provide the symbol when there's no
+ * possibility of there being a usable clocksource, because there's nothing we
+ * can do without it. When libc fails the symbol lookup it should fall back on
+ * the standard syscall path.
+ */
 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
 			struct timezone *tz)
 {
 	return __cvdso_gettimeofday(tv, tz);
 }
 
+#endif /* CONFIG_MIPS_CLOCK_VSYSCALL */
+
 int __vdso_clock_getres(clockid_t clock_id,
 			struct old_timespec32 *res)
 {
@@ -43,12 +53,22 @@ int __vdso_clock_gettime(clockid_t clock,
 	return __cvdso_clock_gettime(clock, ts);
 }
 
+#ifdef CONFIG_MIPS_CLOCK_VSYSCALL
+
+/*
+ * This is behind the ifdef so that we don't provide the symbol when there's no
+ * possibility of there being a usable clocksource, because there's nothing we
+ * can do without it. When libc fails the symbol lookup it should fall back on
+ * the standard syscall path.
+ */
 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
 			struct timezone *tz)
 {
 	return __cvdso_gettimeofday(tv, tz);
 }
 
+#endif /* CONFIG_MIPS_CLOCK_VSYSCALL */
+
 int __vdso_clock_getres(clockid_t clock_id,
 			struct __kernel_timespec *res)
 {
arch/nds32/include/asm/cacheflush.h +7 -4
index d9ac7e6408ef..caddded56e77 100644
@@ -9,7 +9,11 @@
 #define PG_dcache_dirty PG_arch_1
 
 void flush_icache_range(unsigned long start, unsigned long end);
+#define flush_icache_range flush_icache_range
+
 void flush_icache_page(struct vm_area_struct *vma, struct page *page);
+#define flush_icache_page flush_icache_page
+
 #ifdef CONFIG_CPU_CACHE_ALIASING
 void flush_cache_mm(struct mm_struct *mm);
 void flush_cache_dup_mm(struct mm_struct *mm);
@@ -40,12 +44,11 @@ void invalidate_kernel_vmap_range(void *addr, int size);
 #define flush_dcache_mmap_unlock(mapping) xa_unlock_irq(&(mapping)->i_pages)
 
 #else
-#include <asm-generic/cacheflush.h>
-#undef flush_icache_range
-#undef flush_icache_page
-#undef flush_icache_user_range
 void flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
 	                     unsigned long addr, int len);
+#define flush_icache_user_range flush_icache_user_range
+
+#include <asm-generic/cacheflush.h>
 #endif
 
 #endif /* __NDS32_CACHEFLUSH_H__ */
arch/powerpc/platforms/powernv/pci.c +17 -0
index 2825d004dece..c0bea75ac27b 100644
@@ -945,6 +945,23 @@ void __init pnv_pci_init(void)
 	if (!firmware_has_feature(FW_FEATURE_OPAL))
 		return;
 
+#ifdef CONFIG_PCIEPORTBUS
+	/*
+	 * On PowerNV PCIe devices are (currently) managed in cooperation
+	 * with firmware. This isn't *strictly* required, but there's enough
+	 * assumptions baked into both firmware and the platform code that
+	 * it's unwise to allow the portbus services to be used.
+	 *
+	 * We need to fix this eventually, but for now set this flag to disable
+	 * the portbus driver. The AER service isn't required since that AER
+	 * events are handled via EEH. The pciehp hotplug driver can't work
+	 * without kernel changes (and portbus binding breaks pnv_php). The
+	 * other services also require some thinking about how we're going
+	 * to integrate them.
+	 */
+	pcie_ports_disabled = true;
+#endif
+
 	/* Look for IODA IO-Hubs. */
 	for_each_compatible_node(np, NULL, "ibm,ioda-hub") {
 		pnv_pci_init_ioda_hub(np);
arch/riscv/mm/cacheflush.c +1 -0
index 3f15938dec89..c54bd3c79955 100644
@@ -14,6 +14,7 @@ void flush_icache_all(void)
 {
 	sbi_remote_fence_i(NULL);
 }
+EXPORT_SYMBOL(flush_icache_all);
 
 /*
  * Performs an icache flush for the given MM context.  RISC-V has no direct
arch/x86/entry/syscall_32.c +3 -5
index aa3336a7cb15..7d17b3addbbb 100644
@@ -10,13 +10,11 @@
 #ifdef CONFIG_IA32_EMULATION
 /* On X86_64, we use struct pt_regs * to pass parameters to syscalls */
 #define __SYSCALL_I386(nr, sym, qual) extern asmlinkage long sym(const struct pt_regs *);
-
-/* this is a lie, but it does not hurt as sys_ni_syscall just returns -EINVAL */
-extern asmlinkage long sys_ni_syscall(const struct pt_regs *);
-
+#define __sys_ni_syscall __ia32_sys_ni_syscall
 #else /* CONFIG_IA32_EMULATION */
 #define __SYSCALL_I386(nr, sym, qual) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
 extern asmlinkage long sys_ni_syscall(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
+#define __sys_ni_syscall sys_ni_syscall
 #endif /* CONFIG_IA32_EMULATION */
 
 #include <asm/syscalls_32.h>
@@ -29,6 +27,6 @@ __visible const sys_call_ptr_t ia32_sys_call_table[__NR_syscall_compat_max+1] =
 	 * Smells like a compiler bug -- it doesn't work
 	 * when the & below is removed.
 	 */
-	[0 ... __NR_syscall_compat_max] = &sys_ni_syscall,
+	[0 ... __NR_syscall_compat_max] = &__sys_ni_syscall,
 #include <asm/syscalls_32.h>
 };
arch/x86/entry/syscall_64.c +10 -4
index b1bf31713374..adf619a856e8 100644
@@ -4,11 +4,17 @@
 #include <linux/linkage.h>
 #include <linux/sys.h>
 #include <linux/cache.h>
+#include <linux/syscalls.h>
 #include <asm/asm-offsets.h>
 #include <asm/syscall.h>
 
-/* this is a lie, but it does not hurt as sys_ni_syscall just returns -EINVAL */
-extern asmlinkage long sys_ni_syscall(const struct pt_regs *);
+extern asmlinkage long sys_ni_syscall(void);
+
+SYSCALL_DEFINE0(ni_syscall)
+{
+	return sys_ni_syscall();
+}
+
 #define __SYSCALL_64(nr, sym, qual) extern asmlinkage long sym(const struct pt_regs *);
 #define __SYSCALL_X32(nr, sym, qual) __SYSCALL_64(nr, sym, qual)
 #include <asm/syscalls_64.h>
@@ -23,7 +29,7 @@ asmlinkage const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
 	 * Smells like a compiler bug -- it doesn't work
 	 * when the & below is removed.
 	 */
-	[0 ... __NR_syscall_max] = &sys_ni_syscall,
+	[0 ... __NR_syscall_max] = &__x64_sys_ni_syscall,
 #include <asm/syscalls_64.h>
 };
 
@@ -40,7 +46,7 @@ asmlinkage const sys_call_ptr_t x32_sys_call_table[__NR_syscall_x32_max+1] = {
 	 * Smells like a compiler bug -- it doesn't work
 	 * when the & below is removed.
 	 */
-	[0 ... __NR_syscall_x32_max] = &sys_ni_syscall,
+	[0 ... __NR_syscall_x32_max] = &__x64_sys_ni_syscall,
 #include <asm/syscalls_64.h>
 };
 
arch/x86/entry/syscalls/syscall_32.tbl +4 -4
index 3fe02546aed3..15908eb9b17e 100644
@@ -124,13 +124,13 @@
 110	i386	iopl			sys_iopl			__ia32_sys_iopl
 111	i386	vhangup			sys_vhangup			__ia32_sys_vhangup
 112	i386	idle
-113	i386	vm86old			sys_vm86old			sys_ni_syscall
+113	i386	vm86old			sys_vm86old			__ia32_sys_ni_syscall
 114	i386	wait4			sys_wait4			__ia32_compat_sys_wait4
 115	i386	swapoff			sys_swapoff			__ia32_sys_swapoff
 116	i386	sysinfo			sys_sysinfo			__ia32_compat_sys_sysinfo
 117	i386	ipc			sys_ipc				__ia32_compat_sys_ipc
 118	i386	fsync			sys_fsync			__ia32_sys_fsync
-119	i386	sigreturn		sys_sigreturn			sys32_sigreturn
+119	i386	sigreturn		sys_sigreturn			__ia32_compat_sys_sigreturn
 120	i386	clone			sys_clone			__ia32_compat_sys_x86_clone
 121	i386	setdomainname		sys_setdomainname		__ia32_sys_setdomainname
 122	i386	uname			sys_newuname			__ia32_sys_newuname
@@ -177,14 +177,14 @@
 163	i386	mremap			sys_mremap			__ia32_sys_mremap
 164	i386	setresuid		sys_setresuid16			__ia32_sys_setresuid16
 165	i386	getresuid		sys_getresuid16			__ia32_sys_getresuid16
-166	i386	vm86			sys_vm86			sys_ni_syscall
+166	i386	vm86			sys_vm86			__ia32_sys_ni_syscall
 167	i386	query_module
 168	i386	poll			sys_poll			__ia32_sys_poll
 169	i386	nfsservctl
 170	i386	setresgid		sys_setresgid16			__ia32_sys_setresgid16
 171	i386	getresgid		sys_getresgid16			__ia32_sys_getresgid16
 172	i386	prctl			sys_prctl			__ia32_sys_prctl
-173	i386	rt_sigreturn		sys_rt_sigreturn		sys32_rt_sigreturn
+173	i386	rt_sigreturn		sys_rt_sigreturn		__ia32_compat_sys_rt_sigreturn
 174	i386	rt_sigaction		sys_rt_sigaction		__ia32_compat_sys_rt_sigaction
 175	i386	rt_sigprocmask		sys_rt_sigprocmask		__ia32_compat_sys_rt_sigprocmask
 176	i386	rt_sigpending		sys_rt_sigpending		__ia32_compat_sys_rt_sigpending
arch/x86/ia32/ia32_signal.c +3 -2
index 1cee10091b9f..30416d7f19d4 100644
@@ -21,6 +21,7 @@
 #include <linux/personality.h>
 #include <linux/compat.h>
 #include <linux/binfmts.h>
+#include <linux/syscalls.h>
 #include <asm/ucontext.h>
 #include <linux/uaccess.h>
 #include <asm/fpu/internal.h>
@@ -118,7 +119,7 @@ static int ia32_restore_sigcontext(struct pt_regs *regs,
 	return err;
 }
 
-asmlinkage long sys32_sigreturn(void)
+COMPAT_SYSCALL_DEFINE0(sigreturn)
 {
 	struct pt_regs *regs = current_pt_regs();
 	struct sigframe_ia32 __user *frame = (struct sigframe_ia32 __user *)(regs->sp-8);
@@ -144,7 +145,7 @@ asmlinkage long sys32_sigreturn(void)
 	return 0;
 }
 
-asmlinkage long sys32_rt_sigreturn(void)
+COMPAT_SYSCALL_DEFINE0(rt_sigreturn)
 {
 	struct pt_regs *regs = current_pt_regs();
 	struct rt_sigframe_ia32 __user *frame;
arch/x86/include/asm/syscall_wrapper.h +46 -7

109 lines not on this page · raw message

block/bio.c +11 -1
index c822ceb7c4de..906da3581a3e 100644
@@ -535,6 +535,16 @@ void zero_fill_bio_iter(struct bio *bio, struct bvec_iter start)
 }
 EXPORT_SYMBOL(zero_fill_bio_iter);
 
+/**
+ * bio_truncate - truncate the bio to small size of @new_size
+ * @bio:	the bio to be truncated
+ * @new_size:	new size for truncating the bio
+ *
+ * Description:
+ *   Truncate the bio to new size of @new_size. If bio_op(bio) is
+ *   REQ_OP_READ, zero the truncated part. This function should only
+ *   be used for handling corner cases, such as bio eod.
+ */
 void bio_truncate(struct bio *bio, unsigned new_size)
 {
 	struct bio_vec bv;
@@ -545,7 +555,7 @@ void bio_truncate(struct bio *bio, unsigned new_size)
 	if (new_size >= bio->bi_iter.bi_size)
 		return;
 
-	if (bio_data_dir(bio) != READ)
+	if (bio_op(bio) != REQ_OP_READ)
 		goto exit;
 
 	bio_for_each_segment(bv, bio, iter) {
crypto/algif_skcipher.c +1 -1
index c1601edd70e3..e2c8ab408bed 100644
@@ -56,7 +56,7 @@ static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg,
 	struct alg_sock *pask = alg_sk(psk);
 	struct af_alg_ctx *ctx = ask->private;
 	struct crypto_skcipher *tfm = pask->private;
-	unsigned int bs = crypto_skcipher_blocksize(tfm);
+	unsigned int bs = crypto_skcipher_chunksize(tfm);
 	struct af_alg_async_req *areq;
 	int err = 0;
 	size_t len = 0;
drivers/clk/clk.c +1 -0
index 27a95c86a80b..4fc294c2f9e8 100644
@@ -3886,6 +3886,7 @@ void clk_unregister(struct clk *clk)
 					__func__, clk->core->name);
 
 	kref_put(&clk->core->ref, __clk_release);
+	free_clk(clk);
 unlock:
 	clk_prepare_unlock();
 }
drivers/clk/imx/clk-pll14xx.c +8 -32
index d43b4a3c0de8..047f1d8fe323 100644
@@ -112,43 +112,17 @@ static unsigned long clk_pll1443x_recalc_rate(struct clk_hw *hw,
 	return fvco;
 }
 
-static inline bool clk_pll1416x_mp_change(const struct imx_pll14xx_rate_table *rate,
+static inline bool clk_pll14xx_mp_change(const struct imx_pll14xx_rate_table *rate,
 					  u32 pll_div)
 {
 	u32 old_mdiv, old_pdiv;
 
-	old_mdiv = (pll_div >> MDIV_SHIFT) & MDIV_MASK;
-	old_pdiv = (pll_div >> PDIV_SHIFT) & PDIV_MASK;
+	old_mdiv = (pll_div & MDIV_MASK) >> MDIV_SHIFT;
+	old_pdiv = (pll_div & PDIV_MASK) >> PDIV_SHIFT;
 
 	return rate->mdiv != old_mdiv || rate->pdiv != old_pdiv;
 }
 
-static inline bool clk_pll1443x_mpk_change(const struct imx_pll14xx_rate_table *rate,
-					  u32 pll_div_ctl0, u32 pll_div_ctl1)
-{
-	u32 old_mdiv, old_pdiv, old_kdiv;
-
-	old_mdiv = (pll_div_ctl0 >> MDIV_SHIFT) & MDIV_MASK;
-	old_pdiv = (pll_div_ctl0 >> PDIV_SHIFT) & PDIV_MASK;
-	old_kdiv = (pll_div_ctl1 >> KDIV_SHIFT) & KDIV_MASK;
-
-	return rate->mdiv != old_mdiv || rate->pdiv != old_pdiv ||
-		rate->kdiv != old_kdiv;
-}
-
-static inline bool clk_pll1443x_mp_change(const struct imx_pll14xx_rate_table *rate,
-					  u32 pll_div_ctl0, u32 pll_div_ctl1)
-{
-	u32 old_mdiv, old_pdiv, old_kdiv;
-
-	old_mdiv = (pll_div_ctl0 >> MDIV_SHIFT) & MDIV_MASK;
-	old_pdiv = (pll_div_ctl0 >> PDIV_SHIFT) & PDIV_MASK;
-	old_kdiv = (pll_div_ctl1 >> KDIV_SHIFT) & KDIV_MASK;
-
-	return rate->mdiv != old_mdiv || rate->pdiv != old_pdiv ||
-		rate->kdiv != old_kdiv;
-}
-
 static int clk_pll14xx_wait_lock(struct clk_pll14xx *pll)
 {
 	u32 val;
@@ -174,7 +148,7 @@ static int clk_pll1416x_set_rate(struct clk_hw *hw, unsigned long drate,
 
 	tmp = readl_relaxed(pll->base + 4);
 
-	if (!clk_pll1416x_mp_change(rate, tmp)) {
+	if (!clk_pll14xx_mp_change(rate, tmp)) {
 		tmp &= ~(SDIV_MASK) << SDIV_SHIFT;
 		tmp |= rate->sdiv << SDIV_SHIFT;
 		writel_relaxed(tmp, pll->base + 4);
@@ -239,13 +213,15 @@ static int clk_pll1443x_set_rate(struct clk_hw *hw, unsigned long drate,
 	}
 
 	tmp = readl_relaxed(pll->base + 4);
-	div_val = readl_relaxed(pll->base + 8);
 
-	if (!clk_pll1443x_mpk_change(rate, tmp, div_val)) {
+	if (!clk_pll14xx_mp_change(rate, tmp)) {
 		tmp &= ~(SDIV_MASK) << SDIV_SHIFT;
 		tmp |= rate->sdiv << SDIV_SHIFT;
 		writel_relaxed(tmp, pll->base + 4);
 
+		tmp = rate->kdiv << KDIV_SHIFT;
+		writel_relaxed(tmp, pll->base + 8);
+
 		return 0;
 	}
 
drivers/clk/meson/axg-audio.c +1 -1
index 18b23cdf679c..aa2522624fd3 100644
@@ -1001,7 +1001,7 @@ static const struct regmap_config axg_audio_regmap_cfg = {
 	.reg_bits	= 32,
 	.val_bits	= 32,
 	.reg_stride	= 4,
-	.max_register	= AUDIO_CLK_PDMIN_CTRL1,
+	.max_register	= AUDIO_CLK_SPDIFOUT_B_CTRL,
 };
 
 struct audioclk_data {
drivers/clk/samsung/clk-exynos5420.c +2 -0
index 31466cd1842f..3b7601647d7b 100644
@@ -165,6 +165,8 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {
 	GATE_BUS_CPU,
 	GATE_SCLK_CPU,
 	CLKOUT_CMU_CPU,
+	APLL_CON0,
+	KPLL_CON0,
 	CPLL_CON0,
 	DPLL_CON0,
 	EPLL_CON0,
drivers/crypto/cavium/nitrox/nitrox_main.c +4 -5
index bc924980e10c..c4632d84c9a1 100644
@@ -103,8 +103,7 @@ static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size,
 	offset = UCD_UCODE_LOAD_BLOCK_NUM;
 	nitrox_write_csr(ndev, offset, block_num);
 
-	code_size = ucode_size;
-	code_size = roundup(code_size, 8);
+	code_size = roundup(ucode_size, 16);
 	while (code_size) {
 		data = ucode_data[i];
 		/* write 8 bytes at a time */
@@ -220,11 +219,11 @@ static int nitrox_load_fw(struct nitrox_device *ndev)
 
 	/* write block number and firmware length
 	 * bit:<2:0> block number
-	 * bit:3 is set SE uses 32KB microcode
-	 * bit:3 is clear SE uses 64KB microcode
+	 * bit:3 is set AE uses 32KB microcode
+	 * bit:3 is clear AE uses 64KB microcode
 	 */
 	core_2_eid_val.value = 0ULL;
-	core_2_eid_val.ucode_blk = 0;
+	core_2_eid_val.ucode_blk = 2;
 	if (ucode_size <= CNN55XX_UCD_BLOCK_SIZE)
 		core_2_eid_val.ucode_len = 1;
 	else
drivers/crypto/geode-aes.c +147 -293

628 lines not on this page · raw message

drivers/crypto/geode-aes.h +2 -13
index f8a86898ac22..6d0a0cdc7647 100644
@@ -46,21 +46,10 @@
 
 #define AES_OP_TIMEOUT    0x50000
 
-struct geode_aes_op {
-
-	void *src;
-	void *dst;
-
-	u32 mode;
-	u32 dir;
-	u32 flags;
-	int len;
-
+struct geode_aes_tfm_ctx {
 	u8 key[AES_KEYSIZE_128];
-	u8 *iv;
-
 	union {
-		struct crypto_sync_skcipher *blk;
+		struct crypto_skcipher *skcipher;
 		struct crypto_cipher *cip;
 	} fallback;
 	u32 keylen;
drivers/crypto/hisilicon/Kconfig +1 -0
index ebaf91e0146d..504daff7687d 100644
@@ -17,6 +17,7 @@ config CRYPTO_DEV_HISI_SEC
 config CRYPTO_DEV_HISI_QM
 	tristate
 	depends on ARM64 && PCI && PCI_MSI
+	select NEED_SG_DMA_LENGTH
 	help
 	  HiSilicon accelerator engines use a common queue management
 	  interface. Specific engine driver may use this module.
drivers/crypto/virtio/virtio_crypto_algs.c +9 -0
index 673fb29fda53..82b316b2f537 100644
@@ -435,6 +435,11 @@ __virtio_crypto_ablkcipher_do_req(struct virtio_crypto_sym_request *vc_sym_req,
 		goto free;
 	}
 	memcpy(iv, req->info, ivsize);
+	if (!vc_sym_req->encrypt)
+		scatterwalk_map_and_copy(req->info, req->src,
+					 req->nbytes - AES_BLOCK_SIZE,
+					 AES_BLOCK_SIZE, 0);
+
 	sg_init_one(&iv_sg, iv, ivsize);
 	sgs[num_out++] = &iv_sg;
 	vc_sym_req->iv = iv;
@@ -571,6 +576,10 @@ static void virtio_crypto_ablkcipher_finalize_req(
 	struct ablkcipher_request *req,
 	int err)
 {
+	if (vc_sym_req->encrypt)
+		scatterwalk_map_and_copy(req->info, req->dst,
+					 req->nbytes - AES_BLOCK_SIZE,
+					 AES_BLOCK_SIZE, 0);
 	crypto_finalize_ablkcipher_request(vc_sym_req->base.dataq->engine,
 					   req, err);
 	kzfree(vc_sym_req->iv);
drivers/devfreq/Kconfig +1 -0
index defe1d438710..af4a3ccb96b3 100644
@@ -99,6 +99,7 @@ config ARM_TEGRA_DEVFREQ
 		ARCH_TEGRA_210_SOC || \
 		COMPILE_TEST
 	select PM_OPP
+	depends on COMMON_CLK
 	help
 	  This adds the DEVFREQ driver for the Tegra family of SoCs.
 	  It reads ACTMON counters of memory controllers and adjusts the
drivers/dma/dw/platform.c +1 -1
index c90c798e5ec3..0585d749d935 100644
@@ -66,7 +66,7 @@ static int dw_probe(struct platform_device *pdev)
 
 	data->chip = chip;
 
-	chip->clk = devm_clk_get(chip->dev, "hclk");
+	chip->clk = devm_clk_get_optional(chip->dev, "hclk");
 	if (IS_ERR(chip->clk))
 		return PTR_ERR(chip->clk);
 	err = clk_prepare_enable(chip->clk);
drivers/dma/ioat/dma.c +2 -1
index 1a422a8b43cf..18c011e57592 100644
@@ -377,10 +377,11 @@ ioat_alloc_ring(struct dma_chan *c, int order, gfp_t flags)
 
 		descs->virt = dma_alloc_coherent(to_dev(ioat_chan),
 						 SZ_2M, &descs->hw, flags);
-		if (!descs->virt && (i > 0)) {
+		if (!descs->virt) {
 			int idx;
 
 			for (idx = 0; idx < i; idx++) {
+				descs = &ioat_chan->descs[idx];
 				dma_free_coherent(to_dev(ioat_chan), SZ_2M,
 						  descs->virt, descs->hw);
 				descs->virt = NULL;
drivers/dma/k3dma.c +9 -3
index 4b36c8810517..d05471653224 100644
@@ -229,9 +229,11 @@ static irqreturn_t k3_dma_int_handler(int irq, void *dev_id)
 			c = p->vchan;
 			if (c && (tc1 & BIT(i))) {
 				spin_lock_irqsave(&c->vc.lock, flags);
-				vchan_cookie_complete(&p->ds_run->vd);
-				p->ds_done = p->ds_run;
-				p->ds_run = NULL;
+				if (p->ds_run != NULL) {
+					vchan_cookie_complete(&p->ds_run->vd);
+					p->ds_done = p->ds_run;
+					p->ds_run = NULL;
+				}
 				spin_unlock_irqrestore(&c->vc.lock, flags);
 			}
 			if (c && (tc2 & BIT(i))) {
@@ -271,6 +273,10 @@ static int k3_dma_start_txd(struct k3_dma_chan *c)
 	if (BIT(c->phy->idx) & k3_dma_get_chan_stat(d))
 		return -EAGAIN;
 
+	/* Avoid losing track of  ds_run if a transaction is in flight */
+	if (c->phy->ds_run)
+		return -EAGAIN;
+
 	if (vd) {
 		struct k3_dma_desc_sw *ds =
 			container_of(vd, struct k3_dma_desc_sw, vd);
drivers/gpio/gpio-mpc8xxx.c +1 -0
index a031cbcdf6ef..d72a3a5507b0 100644
@@ -346,6 +346,7 @@ static int mpc8xxx_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	gc = &mpc8xxx_gc->gc;
+	gc->parent = &pdev->dev;
 
 	if (of_property_read_bool(np, "little-endian")) {
 		ret = bgpio_init(gc, &pdev->dev, 4,
drivers/gpio/gpio-zynq.c +5 -3
index cd475ff4bcad..7835aad6d162 100644
@@ -681,6 +681,8 @@ static void zynq_gpio_restore_context(struct zynq_gpio *gpio)
 	unsigned int bank_num;
 
 	for (bank_num = 0; bank_num < gpio->p_data->max_bank; bank_num++) {
+		writel_relaxed(ZYNQ_GPIO_IXR_DISABLE_ALL, gpio->base_addr +
+				ZYNQ_GPIO_INTDIS_OFFSET(bank_num));
 		writel_relaxed(gpio->context.datalsw[bank_num],
 			       gpio->base_addr +
 			       ZYNQ_GPIO_DATA_LSW_OFFSET(bank_num));
@@ -690,9 +692,6 @@ static void zynq_gpio_restore_context(struct zynq_gpio *gpio)
 		writel_relaxed(gpio->context.dirm[bank_num],
 			       gpio->base_addr +
 			       ZYNQ_GPIO_DIRM_OFFSET(bank_num));
-		writel_relaxed(gpio->context.int_en[bank_num],
-			       gpio->base_addr +
-			       ZYNQ_GPIO_INTEN_OFFSET(bank_num));
 		writel_relaxed(gpio->context.int_type[bank_num],
 			       gpio->base_addr +
 			       ZYNQ_GPIO_INTTYPE_OFFSET(bank_num));
@@ -702,6 +701,9 @@ static void zynq_gpio_restore_context(struct zynq_gpio *gpio)
 		writel_relaxed(gpio->context.int_any[bank_num],
 			       gpio->base_addr +
 			       ZYNQ_GPIO_INTANY_OFFSET(bank_num));
+		writel_relaxed(~(gpio->context.int_en[bank_num]),
+			       gpio->base_addr +
+			       ZYNQ_GPIO_INTEN_OFFSET(bank_num));
 	}
 }
 
drivers/gpio/gpiolib.c +3 -2
index 99d19f80440e..3d9524a2abc4 100644
@@ -4328,8 +4328,9 @@ static struct gpio_desc *gpiod_find(struct device *dev, const char *con_id,
 
 		if (chip->ngpio <= p->chip_hwnum) {
 			dev_err(dev,
-				"requested GPIO %d is out of range [0..%d] for chip %s\n",
-				idx, chip->ngpio, chip->label);
+				"requested GPIO %u (%u) is out of range [0..%u] for chip %s\n",
+				idx, p->chip_hwnum, chip->ngpio - 1,
+				chip->label);
 			return ERR_PTR(-EINVAL);
 		}
 
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -0
index bd37df5dd6d0..d1e278e999ee 100644
@@ -813,6 +813,7 @@ struct amdgpu_device {
 	uint8_t				*bios;
 	uint32_t			bios_size;
 	struct amdgpu_bo		*stolen_vga_memory;
+	struct amdgpu_bo		*discovery_memory;
 	uint32_t			bios_scratch_reg_offset;
 	uint32_t			bios_scratch[AMDGPU_BIOS_NUM_SCRATCH];
 
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +2 -2
index 1481899f86c1..71198c5318e1 100644
@@ -136,7 +136,7 @@ static int amdgpu_discovery_read_binary(struct amdgpu_device *adev, uint8_t *bin
 {
 	uint32_t *p = (uint32_t *)binary;
 	uint64_t vram_size = (uint64_t)RREG32(mmRCC_CONFIG_MEMSIZE) << 20;
-	uint64_t pos = vram_size - BINARY_MAX_SIZE;
+	uint64_t pos = vram_size - DISCOVERY_TMR_SIZE;
 	unsigned long flags;
 
 	while (pos < vram_size) {
@@ -179,7 +179,7 @@ int amdgpu_discovery_init(struct amdgpu_device *adev)
 	uint16_t checksum;
 	int r;
 
-	adev->discovery = kzalloc(BINARY_MAX_SIZE, GFP_KERNEL);
+	adev->discovery = kzalloc(DISCOVERY_TMR_SIZE, GFP_KERNEL);
 	if (!adev->discovery)
 		return -ENOMEM;
 
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h +2 -0
index 85b8c4d4d576..5a6693d7d269 100644
@@ -24,6 +24,8 @@
 #ifndef __AMDGPU_DISCOVERY__
 #define __AMDGPU_DISCOVERY__
 
+#define DISCOVERY_TMR_SIZE  (64 << 10)
+
 int amdgpu_discovery_init(struct amdgpu_device *adev);
 void amdgpu_discovery_fini(struct amdgpu_device *adev);
 int amdgpu_discovery_reg_base_init(struct amdgpu_device *adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +61 -0

67 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +3 -0
index 658f4c9779b7..4fcea23ee516 100644
@@ -237,6 +237,9 @@ int amdgpu_bo_create_kernel(struct amdgpu_device *adev,
 			    unsigned long size, int align,
 			    u32 domain, struct amdgpu_bo **bo_ptr,
 			    u64 *gpu_addr, void **cpu_addr);
+int amdgpu_bo_create_kernel_at(struct amdgpu_device *adev,
+			       uint64_t offset, uint64_t size, uint32_t domain,
+			       struct amdgpu_bo **bo_ptr, void **cpu_addr);
 void amdgpu_bo_free_kernel(struct amdgpu_bo **bo, u64 *gpu_addr,
 			   void **cpu_addr);
 int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +6 -79

119 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +30 -69

123 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +4 -11
index c9ba2ec6d038..ab4a0d8545dc 100644
@@ -1038,17 +1038,10 @@ static void gfx_v9_0_check_if_need_gfxoff(struct amdgpu_device *adev)
 	case CHIP_VEGA20:
 		break;
 	case CHIP_RAVEN:
-		/* Disable GFXOFF on original raven.  There are combinations
-		 * of sbios and platforms that are not stable.
-		 */
-		if (!(adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8))
-			adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
-		else if (!(adev->rev_id >= 0x8 || adev->pdev->device == 0x15d8)
-			 &&((adev->gfx.rlc_fw_version != 106 &&
-			     adev->gfx.rlc_fw_version < 531) ||
-			    (adev->gfx.rlc_fw_version == 53815) ||
-			    (adev->gfx.rlc_feature_version < 1) ||
-			    !adev->gfx.rlc.is_rlc_v2_1))
+		if (!(adev->rev_id >= 0x8 ||
+		      adev->pdev->device == 0x15d8) &&
+		    (adev->pm.fw_version < 0x41e2b || /* not raven1 fresh */
+		     !adev->gfx.rlc.is_rlc_v2_1)) /* without rlc save restore ucodes */
 			adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
 
 		if (adev->pm.pp_feature & PP_GFXOFF_MASK)
drivers/gpu/drm/amd/include/discovery.h +0 -1
index 5dcb776548d8..7ec4331e67f2 100644
@@ -25,7 +25,6 @@
 #define _DISCOVERY_H_
 
 #define PSP_HEADER_SIZE                 256
-#define BINARY_MAX_SIZE                 (64 << 10)
 #define BINARY_SIGNATURE                0x28211407
 #define DISCOVERY_TABLE_SIGNATURE       0x53445049
 
drivers/gpu/drm/arm/malidp_mw.c +1 -1
index 875a3a9eabfa..7d0e7b031e44 100644
@@ -56,7 +56,7 @@ malidp_mw_connector_mode_valid(struct drm_connector *connector,
 	return MODE_OK;
 }
 
-const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = {
+static const struct drm_connector_helper_funcs malidp_mw_connector_helper_funcs = {
 	.get_modes = malidp_mw_connector_get_modes,
 	.mode_valid = malidp_mw_connector_mode_valid,
 };
drivers/gpu/drm/tegra/drm.c +7 -7
index 6fb7d74ff553..bc7cc32140f8 100644
@@ -201,19 +201,19 @@ static int tegra_drm_load(struct drm_device *drm, unsigned long flags)
 	if (tegra->hub)
 		tegra_display_hub_cleanup(tegra->hub);
 device:
-	host1x_device_exit(device);
-fbdev:
-	drm_kms_helper_poll_fini(drm);
-	tegra_drm_fb_free(drm);
-config:
-	drm_mode_config_cleanup(drm);
-
 	if (tegra->domain) {
 		mutex_destroy(&tegra->mm_lock);
 		drm_mm_takedown(&tegra->mm);
 		put_iova_domain(&tegra->carveout.domain);
 		iova_cache_put();
 	}
+
+	host1x_device_exit(device);
+fbdev:
+	drm_kms_helper_poll_fini(drm);
+	tegra_drm_fb_free(drm);
+config:
+	drm_mode_config_cleanup(drm);
 domain:
 	if (tegra->domain)
 		iommu_domain_free(tegra->domain);
drivers/gpu/drm/virtio/virtgpu_ioctl.c +12 -16
index a662394f6892..0a88ef11b9d3 100644
@@ -463,29 +463,25 @@ static int virtio_gpu_transfer_to_host_ioctl(struct drm_device *dev, void *data,
 }
 
 static int virtio_gpu_wait_ioctl(struct drm_device *dev, void *data,
-				 struct drm_file *file)
+			    struct drm_file *file)
 {
 	struct drm_virtgpu_3d_wait *args = data;
-	struct drm_gem_object *obj;
-	long timeout = 15 * HZ;
+	struct drm_gem_object *gobj = NULL;
+	struct virtio_gpu_object *qobj = NULL;
 	int ret;
+	bool nowait = false;
 
-	obj = drm_gem_object_lookup(file, args->handle);
-	if (obj == NULL)
+	gobj = drm_gem_object_lookup(file, args->handle);
+	if (gobj == NULL)
 		return -ENOENT;
 
-	if (args->flags & VIRTGPU_WAIT_NOWAIT) {
-		ret = dma_resv_test_signaled_rcu(obj->resv, true);
-	} else {
-		ret = dma_resv_wait_timeout_rcu(obj->resv, true, true,
-						timeout);
-	}
-	if (ret == 0)
-		ret = -EBUSY;
-	else if (ret > 0)
-		ret = 0;
+	qobj = gem_to_virtio_gpu_obj(gobj);
 
-	drm_gem_object_put_unlocked(obj);
+	if (args->flags & VIRTGPU_WAIT_NOWAIT)
+		nowait = true;
+	ret = virtio_gpu_object_wait(qobj, nowait);
+
+	drm_gem_object_put_unlocked(gobj);
 	return ret;
 }
 
drivers/hid/hidraw.c +4 -3
index c25e95c19cad..b382c6bf2c5c 100644
@@ -249,13 +249,14 @@ static ssize_t hidraw_get_report(struct file *file, char __user *buffer, size_t
 static __poll_t hidraw_poll(struct file *file, poll_table *wait)
 {
 	struct hidraw_list *list = file->private_data;
+	__poll_t mask = EPOLLOUT | EPOLLWRNORM; /* hidraw is always writable */
 
 	poll_wait(file, &list->hidraw->wait, wait);
 	if (list->head != list->tail)
-		return EPOLLIN | EPOLLRDNORM;
+		mask |= EPOLLIN | EPOLLRDNORM;
 	if (!list->hidraw->exist)
-		return EPOLLERR | EPOLLHUP;
-	return EPOLLOUT | EPOLLWRNORM;
+		mask |= EPOLLERR | EPOLLHUP;
+	return mask;
 }
 
 static int hidraw_open(struct inode *inode, struct file *file)
drivers/hid/uhid.c +3 -2
index 935c3d0a3b63..8fe3efcb8327 100644
@@ -766,13 +766,14 @@ static ssize_t uhid_char_write(struct file *file, const char __user *buffer,
 static __poll_t uhid_char_poll(struct file *file, poll_table *wait)
 {
 	struct uhid_device *uhid = file->private_data;
+	__poll_t mask = EPOLLOUT | EPOLLWRNORM; /* uhid is always writable */
 
 	poll_wait(file, &uhid->waitq, wait);
 
 	if (uhid->head != uhid->tail)
-		return EPOLLIN | EPOLLRDNORM;
+		mask |= EPOLLIN | EPOLLRDNORM;
 
-	return EPOLLOUT | EPOLLWRNORM;
+	return mask;
 }
 
 static const struct file_operations uhid_fops = {
drivers/i2c/busses/i2c-bcm2835.c +8 -9
index e01b2b57e724..5ab901ad615d 100644
@@ -58,6 +58,7 @@ struct bcm2835_i2c_dev {
 	struct i2c_adapter adapter;
 	struct completion completion;
 	struct i2c_msg *curr_msg;
+	struct clk *bus_clk;
 	int num_msgs;
 	u32 msg_err;
 	u8 *msg_buf;
@@ -404,7 +405,6 @@ static int bcm2835_i2c_probe(struct platform_device *pdev)
 	struct resource *mem, *irq;
 	int ret;
 	struct i2c_adapter *adap;
-	struct clk *bus_clk;
 	struct clk *mclk;
 	u32 bus_clk_rate;
 
@@ -427,11 +427,11 @@ static int bcm2835_i2c_probe(struct platform_device *pdev)
 		return PTR_ERR(mclk);
 	}
 
-	bus_clk = bcm2835_i2c_register_div(&pdev->dev, mclk, i2c_dev);
+	i2c_dev->bus_clk = bcm2835_i2c_register_div(&pdev->dev, mclk, i2c_dev);
 
-	if (IS_ERR(bus_clk)) {
+	if (IS_ERR(i2c_dev->bus_clk)) {
 		dev_err(&pdev->dev, "Could not register clock\n");
-		return PTR_ERR(bus_clk);
+		return PTR_ERR(i2c_dev->bus_clk);
 	}
 
 	ret = of_property_read_u32(pdev->dev.of_node, "clock-frequency",
@@ -442,13 +442,13 @@ static int bcm2835_i2c_probe(struct platform_device *pdev)
 		bus_clk_rate = 100000;
 	}
 
-	ret = clk_set_rate_exclusive(bus_clk, bus_clk_rate);
+	ret = clk_set_rate_exclusive(i2c_dev->bus_clk, bus_clk_rate);
 	if (ret < 0) {
 		dev_err(&pdev->dev, "Could not set clock frequency\n");
 		return ret;
 	}
 
-	ret = clk_prepare_enable(bus_clk);
+	ret = clk_prepare_enable(i2c_dev->bus_clk);
 	if (ret) {
 		dev_err(&pdev->dev, "Couldn't prepare clock");
 		return ret;
@@ -491,10 +491,9 @@ static int bcm2835_i2c_probe(struct platform_device *pdev)
 static int bcm2835_i2c_remove(struct platform_device *pdev)
 {
 	struct bcm2835_i2c_dev *i2c_dev = platform_get_drvdata(pdev);
-	struct clk *bus_clk = devm_clk_get(i2c_dev->dev, "div");
 
-	clk_rate_exclusive_put(bus_clk);
-	clk_disable_unprepare(bus_clk);
+	clk_rate_exclusive_put(i2c_dev->bus_clk);
+	clk_disable_unprepare(i2c_dev->bus_clk);
 
 	free_irq(i2c_dev->irq, i2c_dev);
 	i2c_del_adapter(&i2c_dev->adapter);
drivers/iio/imu/adis16480.c +4 -2
index 7b966a41d623..cf7b59d97802 100644
@@ -454,12 +454,14 @@ static int adis16480_get_calibbias(struct iio_dev *indio_dev,
 	case IIO_MAGN:
 	case IIO_PRESSURE:
 		ret = adis_read_reg_16(&st->adis, reg, &val16);
-		*bias = sign_extend32(val16, 15);
+		if (ret == 0)
+			*bias = sign_extend32(val16, 15);
 		break;
 	case IIO_ANGL_VEL:
 	case IIO_ACCEL:
 		ret = adis_read_reg_32(&st->adis, reg, &val32);
-		*bias = sign_extend32(val32, 31);
+		if (ret == 0)
+			*bias = sign_extend32(val32, 31);
 		break;
 	default:
 			ret = -EINVAL;
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +4 -3
index 28e011b35f21..3e0528793d95 100644
@@ -152,9 +152,10 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = {
 					.addr = 0x10,
 					.mask = GENMASK(4, 3),
 				},
-				.fs_avl[0] = {  IIO_DEGREE_TO_RAD(245), 0x0 },
-				.fs_avl[1] = {  IIO_DEGREE_TO_RAD(500), 0x1 },
-				.fs_avl[2] = { IIO_DEGREE_TO_RAD(2000), 0x3 },
+
+				.fs_avl[0] = {  IIO_DEGREE_TO_RAD(8750), 0x0 },
+				.fs_avl[1] = { IIO_DEGREE_TO_RAD(17500), 0x1 },
+				.fs_avl[2] = { IIO_DEGREE_TO_RAD(70000), 0x3 },
 				.fs_len = 3,
 			},
 		},
drivers/infiniband/core/counters.c +11 -1
index 023478107f0e..46dd50ff7c85 100644
@@ -466,10 +466,15 @@ static struct rdma_counter *rdma_get_counter_by_id(struct ib_device *dev,
 int rdma_counter_bind_qpn(struct ib_device *dev, u8 port,
 			  u32 qp_num, u32 counter_id)
 {
+	struct rdma_port_counter *port_counter;
 	struct rdma_counter *counter;
 	struct ib_qp *qp;
 	int ret;
 
+	port_counter = &dev->port_data[port].port_counter;
+	if (port_counter->mode.mode == RDMA_COUNTER_MODE_AUTO)
+		return -EINVAL;
+
 	qp = rdma_counter_get_qp(dev, qp_num);
 	if (!qp)
 		return -ENOENT;
@@ -506,6 +511,7 @@ int rdma_counter_bind_qpn(struct ib_device *dev, u8 port,
 int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u8 port,
 				u32 qp_num, u32 *counter_id)
 {
+	struct rdma_port_counter *port_counter;
 	struct rdma_counter *counter;
 	struct ib_qp *qp;
 	int ret;
@@ -513,9 +519,13 @@ int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u8 port,
 	if (!rdma_is_port_valid(dev, port))
 		return -EINVAL;
 
-	if (!dev->port_data[port].port_counter.hstats)
+	port_counter = &dev->port_data[port].port_counter;
+	if (!port_counter->hstats)
 		return -EOPNOTSUPP;
 
+	if (port_counter->mode.mode == RDMA_COUNTER_MODE_AUTO)
+		return -EINVAL;
+
 	qp = rdma_counter_get_qp(dev, qp_num);
 	if (!qp)
 		return -ENOENT;
drivers/infiniband/hw/bnxt_re/ib_verbs.c +3 -1
index b4149dc9e824..ebc3e3d4a6e2 100644
@@ -3323,8 +3323,10 @@ int bnxt_re_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata)
 	int rc;
 
 	rc = bnxt_qplib_free_mrw(&rdev->qplib_res, &mr->qplib_mr);
-	if (rc)
+	if (rc) {
 		dev_err(rdev_to_dev(rdev), "Dereg MR failed: %#x\n", rc);
+		return rc;
+	}
 
 	if (mr->pages) {
 		rc = bnxt_qplib_free_fast_reg_page_list(&rdev->qplib_res,
drivers/infiniband/hw/bnxt_re/qplib_fp.c +6 -6
index 958c1ff9c515..4d07d22bfa7b 100644
@@ -2283,13 +2283,13 @@ static int bnxt_qplib_cq_process_req(struct bnxt_qplib_cq *cq,
 			/* Add qp to flush list of the CQ */
 			bnxt_qplib_add_flush_qp(qp);
 		} else {
+			/* Before we complete, do WA 9060 */
+			if (do_wa9060(qp, cq, cq_cons, sw_sq_cons,
+				      cqe_sq_cons)) {
+				*lib_qp = qp;
+				goto out;
+			}
 			if (swq->flags & SQ_SEND_FLAGS_SIGNAL_COMP) {
-				/* Before we complete, do WA 9060 */
-				if (do_wa9060(qp, cq, cq_cons, sw_sq_cons,
-					      cqe_sq_cons)) {
-					*lib_qp = qp;
-					goto out;
-				}
 				cqe->status = CQ_REQ_STATUS_OK;
 				cqe++;
 				(*budget)--;
drivers/infiniband/hw/hfi1/iowait.c +3 -1
index adb4a1ba921b..5836fe7b2817 100644
@@ -81,7 +81,9 @@ void iowait_init(struct iowait *wait, u32 tx_limit,
 void iowait_cancel_work(struct iowait *w)
 {
 	cancel_work_sync(&iowait_get_ib_work(w)->iowork);
-	cancel_work_sync(&iowait_get_tid_work(w)->iowork);
+	/* Make sure that the iowork for TID RDMA is used */
+	if (iowait_get_tid_work(w)->iowork.func)
+		cancel_work_sync(&iowait_get_tid_work(w)->iowork);
 }
 
 /**
drivers/infiniband/hw/hns/Kconfig +14 -3
index d602b698b57e..4921c1e40ccd 100644
@@ -1,23 +1,34 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config INFINIBAND_HNS
-	bool "HNS RoCE Driver"
+	tristate "HNS RoCE Driver"
 	depends on NET_VENDOR_HISILICON
 	depends on ARM64 || (COMPILE_TEST && 64BIT)
+	depends on (HNS_DSAF && HNS_ENET) || HNS3
 	---help---
 	  This is a RoCE/RDMA driver for the Hisilicon RoCE engine. The engine
 	  is used in Hisilicon Hip06 and more further ICT SoC based on
 	  platform device.
 
+	  To compile HIP06 or HIP08 driver as module, choose M here.
+
 config INFINIBAND_HNS_HIP06
-	tristate "Hisilicon Hip06 Family RoCE support"
+	bool "Hisilicon Hip06 Family RoCE support"
 	depends on INFINIBAND_HNS && HNS && HNS_DSAF && HNS_ENET
+	depends on INFINIBAND_HNS=m || (HNS_DSAF=y && HNS_ENET=y)
 	---help---
 	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip06 and
 	  Hip07 SoC. These RoCE engines are platform devices.
 
+	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
+	  module will be called hns-roce-hw-v1
+
 config INFINIBAND_HNS_HIP08
-	tristate "Hisilicon Hip08 Family RoCE support"
+	bool "Hisilicon Hip08 Family RoCE support"
 	depends on INFINIBAND_HNS && PCI && HNS3
+	depends on INFINIBAND_HNS=m || HNS3=y
 	---help---
 	  RoCE driver support for Hisilicon RoCE engine in Hisilicon Hip08 SoC.
 	  The RoCE engine is a PCI device.
+
+	  To compile this driver, choose Y here: if INFINIBAND_HNS is m, this
+	  module will be called hns-roce-hw-v2.
drivers/infiniband/hw/hns/Makefile +6 -2
index 449a2d81319d..e105945b94a1 100644
@@ -9,8 +9,12 @@ hns-roce-objs := hns_roce_main.o hns_roce_cmd.o hns_roce_pd.o \
 	hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
 	hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
 
+ifdef CONFIG_INFINIBAND_HNS_HIP06
 hns-roce-hw-v1-objs := hns_roce_hw_v1.o $(hns-roce-objs)
-obj-$(CONFIG_INFINIBAND_HNS_HIP06) += hns-roce-hw-v1.o
+obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v1.o
+endif
 
+ifdef CONFIG_INFINIBAND_HNS_HIP08
 hns-roce-hw-v2-objs := hns_roce_hw_v2.o hns_roce_hw_v2_dfx.o $(hns-roce-objs)
-obj-$(CONFIG_INFINIBAND_HNS_HIP08) += hns-roce-hw-v2.o
+obj-$(CONFIG_INFINIBAND_HNS) += hns-roce-hw-v2.o
+endif
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +7 -11
index e82567fcdeb7..79294f278b26 100644
@@ -389,7 +389,7 @@ static int hns_roce_v2_post_send(struct ib_qp *ibqp,
 			roce_set_field(ud_sq_wqe->byte_36,
 				       V2_UD_SEND_WQE_BYTE_36_VLAN_M,
 				       V2_UD_SEND_WQE_BYTE_36_VLAN_S,
-				       le16_to_cpu(ah->av.vlan));
+				       ah->av.vlan);
 			roce_set_field(ud_sq_wqe->byte_36,
 				       V2_UD_SEND_WQE_BYTE_36_HOPLIMIT_M,
 				       V2_UD_SEND_WQE_BYTE_36_HOPLIMIT_S,
@@ -4650,16 +4650,14 @@ static int hns_roce_v2_destroy_qp_common(struct hns_roce_dev *hr_dev,
 {
 	struct hns_roce_cq *send_cq, *recv_cq;
 	struct ib_device *ibdev = &hr_dev->ib_dev;
-	int ret;
+	int ret = 0;
 
 	if (hr_qp->ibqp.qp_type == IB_QPT_RC && hr_qp->state != IB_QPS_RESET) {
 		/* Modify qp to reset before destroying qp */
 		ret = hns_roce_v2_modify_qp(&hr_qp->ibqp, NULL, 0,
 					    hr_qp->state, IB_QPS_RESET);
-		if (ret) {
+		if (ret)
 			ibdev_err(ibdev, "modify QP to Reset failed.\n");
-			return ret;
-		}
 	}
 
 	send_cq = to_hr_cq(hr_qp->ibqp.send_cq);
@@ -4715,7 +4713,7 @@ static int hns_roce_v2_destroy_qp_common(struct hns_roce_dev *hr_dev,
 		kfree(hr_qp->rq_inl_buf.wqe_list);
 	}
 
-	return 0;
+	return ret;
 }
 
 static int hns_roce_v2_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata)
@@ -4725,11 +4723,9 @@ static int hns_roce_v2_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata)
 	int ret;
 
 	ret = hns_roce_v2_destroy_qp_common(hr_dev, hr_qp, udata);
-	if (ret) {
+	if (ret)
 		ibdev_err(&hr_dev->ib_dev, "Destroy qp 0x%06lx failed(%d)\n",
 			  hr_qp->qpn, ret);
-		return ret;
-	}
 
 	if (hr_qp->ibqp.qp_type == IB_QPT_GSI)
 		kfree(hr_to_hr_sqp(hr_qp));
@@ -6092,11 +6088,11 @@ static void hns_roce_v2_write_srqc(struct hns_roce_dev *hr_dev,
 	roce_set_field(srq_context->byte_44_idxbufpgsz_addr,
 		       SRQC_BYTE_44_SRQ_IDX_BA_PG_SZ_M,
 		       SRQC_BYTE_44_SRQ_IDX_BA_PG_SZ_S,
-		       hr_dev->caps.idx_ba_pg_sz);
+		       hr_dev->caps.idx_ba_pg_sz + PG_SHIFT_OFFSET);
 	roce_set_field(srq_context->byte_44_idxbufpgsz_addr,
 		       SRQC_BYTE_44_SRQ_IDX_BUF_PG_SZ_M,
 		       SRQC_BYTE_44_SRQ_IDX_BUF_PG_SZ_S,
-		       hr_dev->caps.idx_buf_pg_sz);
+		       hr_dev->caps.idx_buf_pg_sz + PG_SHIFT_OFFSET);
 
 	srq_context->idx_nxt_blk_addr =
 		cpu_to_le32(mtts_idx[1] >> PAGE_ADDR_SHIFT);
drivers/infiniband/hw/hns/hns_roce_hw_v2.h +2 -2
index 43219d2f7de0..76a14db7028d 100644
@@ -87,8 +87,8 @@
 #define HNS_ROCE_V2_MTT_ENTRY_SZ		64
 #define HNS_ROCE_V2_CQE_ENTRY_SIZE		32
 #define HNS_ROCE_V2_SCCC_ENTRY_SZ		32
-#define HNS_ROCE_V2_QPC_TIMER_ENTRY_SZ		4096
-#define HNS_ROCE_V2_CQC_TIMER_ENTRY_SZ		4096
+#define HNS_ROCE_V2_QPC_TIMER_ENTRY_SZ		PAGE_SIZE
+#define HNS_ROCE_V2_CQC_TIMER_ENTRY_SZ		PAGE_SIZE
 #define HNS_ROCE_V2_PAGE_SIZE_SUPPORTED		0xFFFFF000
 #define HNS_ROCE_V2_MAX_INNER_MTPT_NUM		2
 #define HNS_ROCE_INVALID_LKEY			0x100
drivers/infiniband/hw/hns/hns_roce_qp.c +6 -4
index bd78ff90d998..8dd2d666f687 100644
@@ -332,9 +332,8 @@ static int check_sq_size_with_integrity(struct hns_roce_dev *hr_dev,
 	u8 max_sq_stride = ilog2(roundup_sq_stride);
 
 	/* Sanity check SQ size before proceeding */
-	if ((u32)(1 << ucmd->log_sq_bb_count) > hr_dev->caps.max_wqes ||
-	     ucmd->log_sq_stride > max_sq_stride ||
-	     ucmd->log_sq_stride < HNS_ROCE_IB_MIN_SQ_STRIDE) {
+	if (ucmd->log_sq_stride > max_sq_stride ||
+	    ucmd->log_sq_stride < HNS_ROCE_IB_MIN_SQ_STRIDE) {
 		ibdev_err(&hr_dev->ib_dev, "check SQ size error!\n");
 		return -EINVAL;
 	}
@@ -358,13 +357,16 @@ static int hns_roce_set_user_sq_size(struct hns_roce_dev *hr_dev,
 	u32 max_cnt;
 	int ret;
 
+	if (check_shl_overflow(1, ucmd->log_sq_bb_count, &hr_qp->sq.wqe_cnt) ||
+	    hr_qp->sq.wqe_cnt > hr_dev->caps.max_wqes)
+		return -EINVAL;
+
 	ret = check_sq_size_with_integrity(hr_dev, cap, ucmd);
 	if (ret) {
 		ibdev_err(&hr_dev->ib_dev, "Sanity check sq size failed\n");
 		return ret;
 	}
 
-	hr_qp->sq.wqe_cnt = 1 << ucmd->log_sq_bb_count;
 	hr_qp->sq.wqe_shift = ucmd->log_sq_stride;
 
 	max_cnt = max(1U, cap->max_send_sge);
drivers/infiniband/hw/hns/hns_roce_restrack.c +1 -1
index 06871731ac43..39c08217e861 100644
@@ -95,7 +95,7 @@ static int hns_roce_fill_res_cq_entry(struct sk_buff *msg,
 
 	ret = hr_dev->dfx->query_cqc_info(hr_dev, hr_cq->cqn, (int *)context);
 	if (ret)
-		goto err;
+		return -EINVAL;
 
 	table_attr = nla_nest_start(msg, RDMA_NLDEV_ATTR_DRIVER);
 	if (!table_attr) {
drivers/infiniband/hw/mlx5/mr.c +1 -1
index 7019c12005f4..99d563dba91b 100644
@@ -428,7 +428,7 @@ struct mlx5_ib_mr *mlx5_mr_cache_alloc(struct mlx5_ib_dev *dev, int entry)
 
 	if (entry < 0 || entry >= MAX_MR_CACHE_ENTRIES) {
 		mlx5_ib_err(dev, "cache entry %d is out of range\n", entry);
-		return NULL;
+		return ERR_PTR(-EINVAL);
 	}
 
 	ent = &cache->ent[entry];
drivers/infiniband/sw/siw/siw_cm.c +1 -8
index 8c1931a57f4a..0454561718d9 100644
@@ -1867,14 +1867,7 @@ static int siw_listen_address(struct iw_cm_id *id, int backlog,
 	list_add_tail(&cep->listenq, (struct list_head *)id->provider_data);
 	cep->state = SIW_EPSTATE_LISTENING;
 
-	if (addr_family == AF_INET)
-		siw_dbg(id->device, "Listen at laddr %pI4 %u\n",
-			&(((struct sockaddr_in *)laddr)->sin_addr),
-			((struct sockaddr_in *)laddr)->sin_port);
-	else
-		siw_dbg(id->device, "Listen at laddr %pI6 %u\n",
-			&(((struct sockaddr_in6 *)laddr)->sin6_addr),
-			((struct sockaddr_in6 *)laddr)->sin6_port);
+	siw_dbg(id->device, "Listen at laddr %pISp\n", laddr);
 
 	return 0;
 
drivers/infiniband/ulp/srpt/ib_srpt.c +24 -0
index e25c70a56be6..02b92e3cd9a8 100644
@@ -1364,9 +1364,11 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch,
 			      struct srpt_send_ioctx *ioctx, u64 tag,
 			      int status)
 {
+	struct se_cmd *cmd = &ioctx->cmd;
 	struct srp_rsp *srp_rsp;
 	const u8 *sense_data;
 	int sense_data_len, max_sense_len;
+	u32 resid = cmd->residual_count;
 
 	/*
 	 * The lowest bit of all SAM-3 status codes is zero (see also
@@ -1388,6 +1390,28 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch,
 	srp_rsp->tag = tag;
 	srp_rsp->status = status;
 
+	if (cmd->se_cmd_flags & SCF_UNDERFLOW_BIT) {
+		if (cmd->data_direction == DMA_TO_DEVICE) {
+			/* residual data from an underflow write */
+			srp_rsp->flags = SRP_RSP_FLAG_DOUNDER;
+			srp_rsp->data_out_res_cnt = cpu_to_be32(resid);
+		} else if (cmd->data_direction == DMA_FROM_DEVICE) {
+			/* residual data from an underflow read */
+			srp_rsp->flags = SRP_RSP_FLAG_DIUNDER;
+			srp_rsp->data_in_res_cnt = cpu_to_be32(resid);
+		}
+	} else if (cmd->se_cmd_flags & SCF_OVERFLOW_BIT) {
+		if (cmd->data_direction == DMA_TO_DEVICE) {
+			/* residual data from an overflow write */
+			srp_rsp->flags = SRP_RSP_FLAG_DOOVER;
+			srp_rsp->data_out_res_cnt = cpu_to_be32(resid);
+		} else if (cmd->data_direction == DMA_FROM_DEVICE) {
+			/* residual data from an overflow read */
+			srp_rsp->flags = SRP_RSP_FLAG_DIOVER;
+			srp_rsp->data_in_res_cnt = cpu_to_be32(resid);
+		}
+	}
+
 	if (sense_data_len) {
 		BUILD_BUG_ON(MIN_MAX_RSP_SIZE <= sizeof(*srp_rsp));
 		max_sense_len = ch->max_ti_iu_len - sizeof(*srp_rsp);
drivers/iommu/intel-iommu.c +10 -3
index 67aa317de6db..e84c5dfe146f 100644
@@ -5593,8 +5593,10 @@ static int intel_iommu_add_device(struct device *dev)
 
 	group = iommu_group_get_for_dev(dev);
 
-	if (IS_ERR(group))
-		return PTR_ERR(group);
+	if (IS_ERR(group)) {
+		ret = PTR_ERR(group);
+		goto unlink;
+	}
 
 	iommu_group_put(group);
 
@@ -5620,7 +5622,8 @@ static int intel_iommu_add_device(struct device *dev)
 				if (!get_private_domain_for_dev(dev)) {
 					dev_warn(dev,
 						 "Failed to get a private domain.\n");
-					return -ENOMEM;
+					ret = -ENOMEM;
+					goto unlink;
 				}
 
 				dev_info(dev,
@@ -5635,6 +5638,10 @@ static int intel_iommu_add_device(struct device *dev)
 	}
 
 	return 0;
+
+unlink:
+	iommu_device_unlink(&iommu->iommu, dev);
+	return ret;
 }
 
 static void intel_iommu_remove_device(struct device *dev)
drivers/iommu/iommu.c +1 -0
index 24248aa8a7e5..cd3c0ea56657 100644
@@ -751,6 +751,7 @@ int iommu_group_add_device(struct iommu_group *group, struct device *dev)
 	mutex_unlock(&group->mutex);
 	dev->iommu_group = NULL;
 	kobject_put(group->devices_kobj);
+	sysfs_remove_link(group->devices_kobj, device->name);
 err_free_name:
 	kfree(device->name);
 err_remove_link:
drivers/iommu/mtk_iommu.c +23 -2
index 67a483c1a935..c2f6c78fee44 100644
@@ -219,22 +219,37 @@ static void mtk_iommu_tlb_sync(void *cookie)
 static void mtk_iommu_tlb_flush_walk(unsigned long iova, size_t size,
 				     size_t granule, void *cookie)
 {
+	struct mtk_iommu_data *data = cookie;
+	unsigned long flags;
+
+	spin_lock_irqsave(&data->tlb_lock, flags);
 	mtk_iommu_tlb_add_flush_nosync(iova, size, granule, false, cookie);
 	mtk_iommu_tlb_sync(cookie);
+	spin_unlock_irqrestore(&data->tlb_lock, flags);
 }
 
 static void mtk_iommu_tlb_flush_leaf(unsigned long iova, size_t size,
 				     size_t granule, void *cookie)
 {
+	struct mtk_iommu_data *data = cookie;
+	unsigned long flags;
+
+	spin_lock_irqsave(&data->tlb_lock, flags);
 	mtk_iommu_tlb_add_flush_nosync(iova, size, granule, true, cookie);
 	mtk_iommu_tlb_sync(cookie);
+	spin_unlock_irqrestore(&data->tlb_lock, flags);
 }
 
 static void mtk_iommu_tlb_flush_page_nosync(struct iommu_iotlb_gather *gather,
 					    unsigned long iova, size_t granule,
 					    void *cookie)
 {
+	struct mtk_iommu_data *data = cookie;
+	unsigned long flags;
+
+	spin_lock_irqsave(&data->tlb_lock, flags);
 	mtk_iommu_tlb_add_flush_nosync(iova, granule, granule, true, cookie);
+	spin_unlock_irqrestore(&data->tlb_lock, flags);
 }
 
 static const struct iommu_flush_ops mtk_iommu_flush_ops = {
@@ -447,13 +462,18 @@ static size_t mtk_iommu_unmap(struct iommu_domain *domain,
 
 static void mtk_iommu_flush_iotlb_all(struct iommu_domain *domain)
 {
-	mtk_iommu_tlb_sync(mtk_iommu_get_m4u_data());
+	mtk_iommu_tlb_flush_all(mtk_iommu_get_m4u_data());
 }
 
 static void mtk_iommu_iotlb_sync(struct iommu_domain *domain,
 				 struct iommu_iotlb_gather *gather)
 {
-	mtk_iommu_tlb_sync(mtk_iommu_get_m4u_data());
+	struct mtk_iommu_data *data = mtk_iommu_get_m4u_data();
+	unsigned long flags;
+
+	spin_lock_irqsave(&data->tlb_lock, flags);
+	mtk_iommu_tlb_sync(data);
+	spin_unlock_irqrestore(&data->tlb_lock, flags);
 }
 
 static phys_addr_t mtk_iommu_iova_to_phys(struct iommu_domain *domain,
@@ -733,6 +753,7 @@ static int mtk_iommu_probe(struct platform_device *pdev)
 	if (ret)
 		return ret;
 
+	spin_lock_init(&data->tlb_lock);
 	list_add_tail(&data->list, &m4ulist);
 
 	if (!iommu_present(&platform_bus_type))
drivers/iommu/mtk_iommu.h +1 -0
index fc0f16eabacd..8cae22de7663 100644
@@ -58,6 +58,7 @@ struct mtk_iommu_data {
 	struct iommu_group		*m4u_group;
 	bool                            enable_4GB;
 	bool				tlb_flush_active;
+	spinlock_t			tlb_lock; /* lock for tlb range flush */
 
 	struct iommu_device		iommu;
 	const struct mtk_iommu_plat_data *plat_data;
drivers/media/i2c/ov6650.c +53 -26

143 lines not on this page · raw message

drivers/media/platform/aspeed-video.c +2 -1
index 096a7c9a8963..4eaaf39b9223 100644
@@ -1658,7 +1658,8 @@ static int aspeed_video_probe(struct platform_device *pdev)
 {
 	int rc;
 	struct resource *res;
-	struct aspeed_video *video = kzalloc(sizeof(*video), GFP_KERNEL);
+	struct aspeed_video *video =
+		devm_kzalloc(&pdev->dev, sizeof(*video), GFP_KERNEL);
 
 	if (!video)
 		return -ENOMEM;
drivers/media/platform/cadence/cdns-csi2rx.c +1 -1
index 31ace114eda1..be9ec59774d6 100644
@@ -129,7 +129,7 @@ static int csi2rx_start(struct csi2rx_priv *csi2rx)
 	 */
 	for (i = csi2rx->num_lanes; i < csi2rx->max_lanes; i++) {
 		unsigned int idx = find_first_zero_bit(&lanes_used,
-						       sizeof(lanes_used));
+						       csi2rx->max_lanes);
 		set_bit(idx, &lanes_used);
 		reg |= CSI2RX_STATIC_CFG_DLANE_MAP(i, i + 1);
 	}
drivers/media/platform/coda/coda-common.c +2 -2
index 73222c0615c0..834f11fe9dc2 100644
@@ -1084,16 +1084,16 @@ static int coda_decoder_cmd(struct file *file, void *fh,
 
 	switch (dc->cmd) {
 	case V4L2_DEC_CMD_START:
-		mutex_lock(&ctx->bitstream_mutex);
 		mutex_lock(&dev->coda_mutex);
+		mutex_lock(&ctx->bitstream_mutex);
 		coda_bitstream_flush(ctx);
-		mutex_unlock(&dev->coda_mutex);
 		dst_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx,
 					 V4L2_BUF_TYPE_VIDEO_CAPTURE);
 		vb2_clear_last_buffer_dequeued(dst_vq);
 		ctx->bit_stream_param &= ~CODA_BIT_STREAM_END_FLAG;
 		coda_fill_bitstream(ctx, NULL);
 		mutex_unlock(&ctx->bitstream_mutex);
+		mutex_unlock(&dev->coda_mutex);
 		break;
 	case V4L2_DEC_CMD_STOP:
 		stream_end = false;
drivers/media/platform/exynos4-is/fimc-isp-video.c +1 -1
index 378cc302e1f8..d2cbcdca0463 100644
@@ -313,7 +313,7 @@ static int isp_video_release(struct file *file)
 		ivc->streaming = 0;
 	}
 
-	vb2_fop_release(file);
+	_vb2_fop_release(file, NULL);
 
 	if (v4l2_fh_is_singular_file(file)) {
 		fimc_pipeline_call(&ivc->ve, close);
drivers/media/platform/rcar-vin/rcar-v4l2.c +2 -1
index cbc1c07f0a96..ec2796413e26 100644
@@ -208,6 +208,7 @@ static int rvin_try_format(struct rvin_dev *vin, u32 which,
 	ret = v4l2_subdev_call(sd, pad, set_fmt, pad_cfg, &format);
 	if (ret < 0 && ret != -ENOIOCTLCMD)
 		goto done;
+	ret = 0;
 
 	v4l2_fill_pix_format(pix, &format.format);
 
@@ -242,7 +243,7 @@ static int rvin_try_format(struct rvin_dev *vin, u32 which,
 done:
 	v4l2_subdev_free_pad_config(pad_cfg);
 
-	return 0;
+	return ret;
 }
 
 static int rvin_querycap(struct file *file, void *priv,
drivers/memory/mtk-smi.c +4 -0
index 439d7d886873..a113e811faab 100644
@@ -366,6 +366,8 @@ static int __maybe_unused mtk_smi_larb_suspend(struct device *dev)
 
 static const struct dev_pm_ops smi_larb_pm_ops = {
 	SET_RUNTIME_PM_OPS(mtk_smi_larb_suspend, mtk_smi_larb_resume, NULL)
+	SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				     pm_runtime_force_resume)
 };
 
 static struct platform_driver mtk_smi_larb_driver = {
@@ -507,6 +509,8 @@ static int __maybe_unused mtk_smi_common_suspend(struct device *dev)
 
 static const struct dev_pm_ops smi_common_pm_ops = {
 	SET_RUNTIME_PM_OPS(mtk_smi_common_suspend, mtk_smi_common_resume, NULL)
+	SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				     pm_runtime_force_resume)
 };
 
 static struct platform_driver mtk_smi_common_driver = {
drivers/misc/enclosure.c +1 -2
index 6d27ccfe0680..3c2d405bc79b 100644
@@ -406,10 +406,9 @@ int enclosure_remove_device(struct enclosure_device *edev, struct device *dev)
 		cdev = &edev->component[i];
 		if (cdev->dev == dev) {
 			enclosure_remove_links(cdev);
-			device_del(&cdev->cdev);
 			put_device(dev);
 			cdev->dev = NULL;
-			return device_add(&cdev->cdev);
+			return 0;
 		}
 	}
 	return -ENODEV;
drivers/mtd/nand/onenand/omap2.c +2 -1
index edf94ee54ec7..71a632b815aa 100644
@@ -328,7 +328,8 @@ static inline int omap2_onenand_dma_transfer(struct omap2_onenand *c,
 	struct dma_async_tx_descriptor *tx;
 	dma_cookie_t cookie;
 
-	tx = dmaengine_prep_dma_memcpy(c->dma_chan, dst, src, count, 0);
+	tx = dmaengine_prep_dma_memcpy(c->dma_chan, dst, src, count,
+				       DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
 	if (!tx) {
 		dev_err(&c->pdev->dev, "Failed to prepare DMA memcpy\n");
 		return -EIO;
drivers/mtd/nand/raw/stm32_fmc2_nand.c +36 -2
index 8cc852dc7d54..5c06e0b4d4ef 100644
@@ -37,6 +37,7 @@
 /* Max ECC buffer length */
 #define FMC2_MAX_ECC_BUF_LEN		(FMC2_BCHDSRS_LEN * FMC2_MAX_SG)
 
+#define FMC2_TIMEOUT_US			1000
 #define FMC2_TIMEOUT_MS			1000
 
 /* Timings */
@@ -53,6 +54,8 @@
 #define FMC2_PMEM			0x88
 #define FMC2_PATT			0x8c
 #define FMC2_HECCR			0x94
+#define FMC2_ISR			0x184
+#define FMC2_ICR			0x188
 #define FMC2_CSQCR			0x200
 #define FMC2_CSQCFGR1			0x204
 #define FMC2_CSQCFGR2			0x208
@@ -118,6 +121,12 @@
 #define FMC2_PATT_ATTHIZ(x)		(((x) & 0xff) << 24)
 #define FMC2_PATT_DEFAULT		0x0a0a0a0a
 
+/* Register: FMC2_ISR */
+#define FMC2_ISR_IHLF			BIT(1)
+
+/* Register: FMC2_ICR */
+#define FMC2_ICR_CIHLF			BIT(1)
+
 /* Register: FMC2_CSQCR */
 #define FMC2_CSQCR_CSQSTART		BIT(0)
 
@@ -1322,6 +1331,31 @@ static void stm32_fmc2_write_data(struct nand_chip *chip, const void *buf,
 		stm32_fmc2_set_buswidth_16(fmc2, true);
 }
 
+static int stm32_fmc2_waitrdy(struct nand_chip *chip, unsigned long timeout_ms)
+{
+	struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller);
+	const struct nand_sdr_timings *timings;
+	u32 isr, sr;
+
+	/* Check if there is no pending requests to the NAND flash */
+	if (readl_relaxed_poll_timeout_atomic(fmc2->io_base + FMC2_SR, sr,
+					      sr & FMC2_SR_NWRF, 1,
+					      FMC2_TIMEOUT_US))
+		dev_warn(fmc2->dev, "Waitrdy timeout\n");
+
+	/* Wait tWB before R/B# signal is low */
+	timings = nand_get_sdr_timings(&chip->data_interface);
+	ndelay(PSEC_TO_NSEC(timings->tWB_max));
+
+	/* R/B# signal is low, clear high level flag */
+	writel_relaxed(FMC2_ICR_CIHLF, fmc2->io_base + FMC2_ICR);
+
+	/* Wait R/B# signal is high */
+	return readl_relaxed_poll_timeout_atomic(fmc2->io_base + FMC2_ISR,
+						 isr, isr & FMC2_ISR_IHLF,
+						 5, 1000 * timeout_ms);
+}
+
 static int stm32_fmc2_exec_op(struct nand_chip *chip,
 			      const struct nand_operation *op,
 			      bool check_only)
@@ -1366,8 +1400,8 @@ static int stm32_fmc2_exec_op(struct nand_chip *chip,
 			break;
 
 		case NAND_OP_WAITRDY_INSTR:
-			ret = nand_soft_waitrdy(chip,
-						instr->ctx.waitrdy.timeout_ms);
+			ret = stm32_fmc2_waitrdy(chip,
+						 instr->ctx.waitrdy.timeout_ms);
 			break;
 		}
 	}
drivers/mtd/spi-nor/spi-nor.c +2 -2
index 7acf4a93b592..1548e0f7f5f4 100644
@@ -2544,7 +2544,7 @@ static int spi_nor_read(struct mtd_info *mtd, loff_t from, size_t len,
 			size_t *retlen, u_char *buf)
 {
 	struct spi_nor *nor = mtd_to_spi_nor(mtd);
-	int ret;
+	ssize_t ret;
 
 	dev_dbg(nor->dev, "from 0x%08x, len %zd\n", (u32)from, len);
 
@@ -2865,7 +2865,7 @@ static int spi_nor_hwcaps_pp2cmd(u32 hwcaps)
  */
 static int spi_nor_read_raw(struct spi_nor *nor, u32 addr, size_t len, u8 *buf)
 {
-	int ret;
+	ssize_t ret;
 
 	while (len) {
 		ret = spi_nor_read_data(nor, addr, len, buf);
drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c +1 -1
index 159490f5a111..60731e07f681 100644
@@ -84,7 +84,7 @@ static int ath9k_pci_fixup(struct pci_dev *pdev, const u16 *cal_data,
 			val = swahb32(val);
 		}
 
-		__raw_writel(val, mem + reg);
+		iowrite32(val, mem + reg);
 		usleep_range(100, 120);
 	}
 
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +16 -4
index d9eb2b286438..c59cbb8cbdd7 100644
@@ -514,6 +514,18 @@ static int iwl_send_phy_cfg_cmd(struct iwl_mvm *mvm)
 	struct iwl_phy_cfg_cmd phy_cfg_cmd;
 	enum iwl_ucode_type ucode_type = mvm->fwrt.cur_fw_img;
 
+	if (iwl_mvm_has_unified_ucode(mvm) &&
+	    !mvm->trans->cfg->tx_with_siso_diversity) {
+		return 0;
+	} else if (mvm->trans->cfg->tx_with_siso_diversity) {
+		/*
+		 * TODO: currently we don't set the antenna but letting the NIC
+		 * to decide which antenna to use. This should come from BIOS.
+		 */
+		phy_cfg_cmd.phy_cfg =
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c +7 -1
index 8f50e2b121bd..098d48153a38 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/mvm/tx.c +6 -1
index 8a059da7a1fa..e3b2a2bf3863 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtlwifi/regd.c +1 -1
index c10432cd703e..8be31e0ad878 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rsi/rsi_91x_usb.c +1 -1
index 760eaffeebd6..23a1d00b5f38 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pci-meson.c +3 -3
index e35e9eaa50ee..b927a92e3463 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/dwc/pcie-designware-host.c +6 -5
index 0f36a926059a..8615f1548882 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/pci-aardvark.c +37 -5

42 lines not on this page · raw message

drivers/pci/hotplug/pciehp_core.c +23 -2
index b3122c151b80..56daad828c9e 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci-driver.c +1 -2
index d4ac8ce8c1f9..0c3086793e4e 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pcie/ptm.c +1 -1
index 98cfa30f3fae..9361f3aa26ab 100644

Lines of this file are not shown. View the raw message.

drivers/pci/probe.c +1 -0
index 64ebe3e5e611..d3033873395d 100644

Lines of this file are not shown. View the raw message.

drivers/phy/motorola/phy-mapphone-mdm6600.c +3 -8
index ee184d5607bd..f20524f0c21d 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/cirrus/Kconfig +1 -0
index f1806fd781a0..530426a74f75 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/intel/pinctrl-lewisburg.c +86 -85

171 lines not on this page · raw message

drivers/pinctrl/meson/pinctrl-meson.c +1 -0
index 8bba9d053d9f..aba479a1150c 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/sh-pfc/core.c +6 -10
index b8640ad41bef..ce983247c9e2 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/sh-pfc/sh_pfc.h +2 -2
index 835148fc0f28..cab7da130925 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/ti/pinctrl-ti-iodelay.c +1 -1
index e5e7f1f22813..b522ca010332 100644

Lines of this file are not shown. View the raw message.

drivers/platform/mellanox/mlxbf-tmfifo.c +10 -9
index 9a5c9fd2dbc6..5739a9669b29 100644

Lines of this file are not shown. View the raw message.

drivers/platform/mips/cpu_hwmon.c +1 -1
index a7f184bb47e0..3d29a11c1d6b 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/asus-wmi.c +1 -7
index 821b08e01635..982f0cc8270c 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/gpd-pocket-fan.c +19 -6
index be85ed966bf3..73eb1572b966 100644

Lines of this file are not shown. View the raw message.

drivers/reset/reset-brcmstb.c +0 -6
index a608f445dad6..f213264c8567 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-bd70528.c +1 -0
index 7744333b0f40..ddfef4d43bab 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-brcmstb-waketimer.c +1 -0
index 3e9800f9878a..82d2ab0b3e9c 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-msm6242.c +2 -1
index 1c2d3c4a4963..b1f2bedee77e 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-mt6397.c +33 -14

47 lines not on this page · raw message

drivers/s390/net/qeth_core_main.c +9 -20
index 9df47421d69c..5be4d800e4ba 100644

Lines of this file are not shown. View the raw message.

drivers/s390/net/qeth_l2_main.c +5 -5
index 8b7d911dccd8..11e3292c0adf 100644

Lines of this file are not shown. View the raw message.

drivers/s390/net/qeth_l3_main.c +1 -1
index 32385327539b..5152970a9aa4 100644

Lines of this file are not shown. View the raw message.

drivers/s390/net/qeth_l3_sys.c +28 -12
index 2f73b33c9347..333fd4619dc6 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/cxgbi/libcxgbi.c +2 -1
index 3e17af8aedeb..2cd2761bd249 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpt3sas/mpt3sas_base.c +0 -1
index fea3cb6a090b..752b71cfbe12 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/sd.c +15 -3
index ebb40160539f..ac2e88ec1190 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ufs/ufs_bsg.c +1 -1
index dc2f6d2b46ed..d2197a31abe5 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-atmel.c +3 -7
index ba8eff41b746..abbc1582f457 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-fsl-lpspi.c +1 -1
index d08e9324140e..3528ed5eea9b 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-pxa2xx.c +7 -0
index ae95ec0bc964..9f92165fe09f 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-rspi.c +2 -6
index 15f5723d9f95..7222c7689c3c 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-sprd.c +1 -1
index 8c9021b7f7a9..fa597e27be17 100644

Lines of this file are not shown. View the raw message.

drivers/staging/media/hantro/hantro_g1_h264_dec.c +1 -1
index 636bf972adcf..5f29b7a836db 100644

Lines of this file are not shown. View the raw message.

drivers/staging/media/hantro/hantro_h264.c +33 -40

73 lines not on this page · raw message

drivers/staging/media/ipu3/include/intel-ipu3.h +1 -1
index c7cd27efac8a..0b1cb9f9cbd1 100644

Lines of this file are not shown. View the raw message.

drivers/staging/media/sunxi/cedrus/cedrus_h264.c +2 -2
index 08c6c9c410cc..c07526c12629 100644

Lines of this file are not shown. View the raw message.

drivers/target/target_core_iblock.c +3 -1
index 6949ea8bc387..51ffd5c002de 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/imx.c +1 -1
index 5e08f2657b90..34f602c3a882 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/pch_uart.c +4 -1
index 6157213a8359..c16234bca78f 100644

Lines of this file are not shown. View the raw message.

fs/affs/super.c +0 -6
index cc463ae47c12..3812f7bc3a7f 100644

Lines of this file are not shown. View the raw message.

fs/afs/dir.c +8 -10
index 497f979018c2..5c794f4b051a 100644

Lines of this file are not shown. View the raw message.

fs/afs/super.c +1 -0
index d9a6036b70b9..7f8a9b3137bf 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/file.c +3 -2
index eaafd00f93d4..5739b8fc7fff 100644

Lines of this file are not shown. View the raw message.

fs/buffer.c +4 -4
index 7744488f7bde..91ceca52d14f 100644

Lines of this file are not shown. View the raw message.

fs/cifs/smb2file.c +1 -1
index 8b0b512c5792..afe1f03aabe3 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/data.c +1 -1
index 5755e897a5f0..2e9c73165800 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/file.c +1 -1
index 8ed8e4328bd1..fae665691481 100644

Lines of this file are not shown. View the raw message.

fs/gfs2/file.c +30 -0
index c53e3b892210..01ff37b76652 100644

Lines of this file are not shown. View the raw message.

fs/internal.h +1 -1
index 315fcd8d237c..7651e8b8ef13 100644

Lines of this file are not shown. View the raw message.

fs/mpage.c +1 -1
index a63620cdb73a..ccba3c4c4479 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs2xdr.c +1 -1
index cbc17a203248..887f9136a9db 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +28 -10
index caacf5e7f5e1..f26d714f9f28 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/Kconfig +1 -1
index 10cefb0c07c7..c4b1a89b8845 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4proc.c +2 -1
index 38c0aeda500e..4798667af647 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4recover.c +7 -5
index cdc75ad4438b..c35c0ebaf722 100644

Lines of this file are not shown. View the raw message.

fs/ocfs2/journal.c +8 -0
index 699a560efbb0..900e4ef686bf 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/journal.c +1 -1
index 4fd9683b8245..826dad0243dc 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/orphan.c +10 -7
index 3b4b4114f208..54d6db61106f 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/super.c +1 -3
index 7d4547e5202d..5e1e8ec0589e 100644

Lines of this file are not shown. View the raw message.

include/asm-generic/cacheflush.h +32 -1
index a950a22c4890..cac7404b2bdd 100644

Lines of this file are not shown. View the raw message.

include/crypto/internal/skcipher.h +0 -30
index 734b6f7081b8..3175dfeaed2c 100644

Lines of this file are not shown. View the raw message.

include/crypto/skcipher.h +30 -0
index 37c164234d97..aada87916918 100644

Lines of this file are not shown. View the raw message.

include/linux/uaccess.h +12 -0
index d4ee6e942562..38555435a64a 100644

Lines of this file are not shown. View the raw message.

include/sound/simple_card_utils.h +1 -0
index 31f76b6abf71..bbdd1542d6f1 100644

Lines of this file are not shown. View the raw message.

include/trace/events/afs.h +3 -9
index d5ec4fac82ae..564ba1b5cf57 100644

Lines of this file are not shown. View the raw message.

include/trace/events/rpcrdma.h +25 -0
index a13830616107..7fd11ec1c9a4 100644

Lines of this file are not shown. View the raw message.

include/uapi/rdma/nes-abi.h deleted +0 -115

115 lines not on this page · raw message

kernel/bpf/cgroup.c +9 -2
index a3eaf08e7dd3..8bd69062fbe5 100644

Lines of this file are not shown. View the raw message.

kernel/cred.c +2 -2
index 9ed51b70ed80..809a985b1793 100644

Lines of this file are not shown. View the raw message.

kernel/trace/bpf_trace.c +2 -4
index 44bd08f2443b..89bdac61233d 100644

Lines of this file are not shown. View the raw message.

mm/maccess.c +41 -4

45 lines not on this page · raw message

net/core/skmsg.c +8 -5
index 0675d022584e..ded2d5227678 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_debugfs.c +33 -3
index 6618a9d8e58e..d5f709b940ff 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_device.c +2 -0
index 62c03f0d0079..c7bd6c49fadf 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_main.c +5 -0
index 6deb8fa8d5c8..9e389accbfc7 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_main.h +10 -0
index 9ec38e33b8b1..d40de84a637f 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_netlink.c +1 -0
index 8f8337f893ba..8dc0547f01d0 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_offload.c +21 -5
index e743f811245f..96a64e7594a5 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_flow_offload.c +0 -3
index f29bbc74c4bf..ff5ac173e897 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_meta.c +5 -5
index 317e3a9e8c5b..dda1e55d5801 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/ar-internal.h +7 -3
index 7c7d10f2e0c1..5e99df80e80a 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/call_accept.c +37 -23

60 lines not on this page · raw message

net/rxrpc/conn_event.c +1 -15
index a1ceef4f5cd0..808a4723f868 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/conn_service.c +4 -0
index 123d6ceab15c..21da48e3d2e5 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/input.c +0 -18
index 157be1ff8697..86bd133b4fa0 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/rxkad.c +3 -2
index 8d8aa3c230b5..098f1f9ec53b 100644

Lines of this file are not shown. View the raw message.

net/rxrpc/security.c +33 -37

70 lines not on this page · raw message

net/sched/sch_cake.c +1 -0
index dd0e8680b030..2277369feae5 100644

Lines of this file are not shown. View the raw message.

net/socket.c +1 -0
index ca8de9e1582d..432800b39ddb 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprtrdma/frwr_ops.c +2 -2
index 30065a28628c..9901a811f598 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprtrdma/rpc_rdma.c +1 -0
index b86b5fd62d9f..ef5102b60589 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprtrdma/transport.c +3 -0
index 160558b4135e..c67d465dc062 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprtrdma/verbs.c +72 -31

103 lines not on this page · raw message

net/sunrpc/xprtrdma/xprt_rdma.h +3 -0
index 65e6b0eb862e..fc761679487c 100644

Lines of this file are not shown. View the raw message.

net/unix/af_unix.c +19 -0
index 0d8da809bea2..b3369d678f1a 100644

Lines of this file are not shown. View the raw message.

scripts/link-vmlinux.sh +6 -1
index 06495379fcd8..2998ddb323e3 100755

Lines of this file are not shown. View the raw message.

scripts/package/mkdebian +1 -1
index 7c230016b08d..357dc56bcf30 100755

Lines of this file are not shown. View the raw message.

security/tomoyo/common.c +6 -3
index dd3d5942e669..c36bafbcd77e 100644

Lines of this file are not shown. View the raw message.

security/tomoyo/domain.c +10 -5
index 8526a0a74023..7869d6a9980b 100644

Lines of this file are not shown. View the raw message.

security/tomoyo/group.c +6 -3
index a37c7dc66e44..1cecdd797597 100644

Lines of this file are not shown. View the raw message.

security/tomoyo/util.c +4 -2
index 52752e1a84ed..eba0b3395851 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_esai.c +12 -0
index a78e4ab478df..c7a49d03463a 100644

Lines of this file are not shown. View the raw message.

sound/soc/intel/Kconfig +3 -0
index 01c99750212a..ef493cae78ff 100644

Lines of this file are not shown. View the raw message.

sound/soc/sh/rcar/core.c +18 -2
index e9596c2096cd..a6c1cf987e6e 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-core.c +2 -0
index 88978a3036c4..9d3b546bae7b 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-pcm.c +2 -0
index a6e96cf1d8ff..d07026a846b9 100644

Lines of this file are not shown. View the raw message.

sound/soc/sof/imx/imx8.c +4 -1
index 2a22b18e5ec0..69785f688ddf 100644

Lines of this file are not shown. View the raw message.

sound/soc/sof/intel/Kconfig +9 -1
index d62f51d33be1..8421b97d949e 100644

Lines of this file are not shown. View the raw message.

sound/soc/stm/stm32_spdifrx.c +26 -14
index cd4b235fce57..e53fb4bd66b3 100644

Lines of this file are not shown. View the raw message.

tools/lib/bpf/Makefile +1 -1
index 56ce6292071b..33e2638ef7f0 100644

Lines of this file are not shown. View the raw message.

tools/pci/pcitest.c +1 -0
index cb1e51fcc84e..32b7c6f9043d 100644

Lines of this file are not shown. View the raw message.

tools/perf/pmu-events/arch/s390/cf_z14/extended.json +1 -1
index 68618152ea2c..89e070727e1b 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/firmware/fw_lib.sh +6 -0
index b879305a766d..5b8c0fedee76 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/forwarding/loopback.sh +8 -0
index 6e4626ae71b0..8f4057310b5b 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/rseq/settings new file +1 -0
new file mode 100644
index 000000000000..e7b9417537fb

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

#2 lore raw
In reply to Greg KH

Am Samstag, 18. Januar 2020, 00:11:05 schrieben Sie:

Quoted 10 lines

I'm announcing the release of the 5.4.13 kernel.

All users of the 5.4 kernel series must upgrade.

The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-5.4.y and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summar
y

Quoted 4 lines

thanks,

greg k-h

Compiling 5.4.13 I got (for one test configuration):

In file included from net/hsr/hsr_main.c:12:
net/hsr/hsr_main.h:194:20: error: two or more data types in declaration specifiers
194 | static inline void void hsr_debugfs_rename(struct net_device *dev)
| ^~~~
make[3]: *** [scripts/Makefile.build:266: net/hsr/hsr_main.o] Error 1 make[2]: *** [scripts/Makefile.build:509: net/hsr] Error 2 make[1]: *** [Makefile:1652: net] Error 2
make[1]: *** Waiting for unfinished jobs....

There seems to be already a patch:

	https://lkml.org/lkml/2020/1/7/876

which is not in torvalds tree yet, though.

Just found it by accident, usually I do not use HSR.

Regards

Signature · 3 lines
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
author maintainer
#3 lore raw
Quoted 28 lines · Wolfgang Walter

Am Samstag, 18. Januar 2020, 00:11:05 schrieben Sie:

Quoted 10 lines

I'm announcing the release of the 5.4.13 kernel.

All users of the 5.4 kernel series must upgrade.

The updated 5.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-5.4.y and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summar
y

Quoted 4 lines

thanks,

greg k-h

Compiling 5.4.13 I got (for one test configuration):

In file included from net/hsr/hsr_main.c:12:
net/hsr/hsr_main.h:194:20: error: two or more data types in declaration specifiers
194 | static inline void void hsr_debugfs_rename(struct net_device *dev)
| ^~~~
make[3]: *** [scripts/Makefile.build:266: net/hsr/hsr_main.o] Error 1 make[2]: *** [scripts/Makefile.build:509: net/hsr] Error 2 make[1]: *** [Makefile:1652: net] Error 2
make[1]: *** Waiting for unfinished jobs....

Quoted 7 lines

There seems to be already a patch:

	https://lkml.org/lkml/2020/1/7/876

which is not in torvalds tree yet, though.

Just found it by accident, usually I do not use HSR.

When it hits Linus's tree, can you let us know the git commit id so we can properly backport it?

thanks,

greg k-h