Skip to contentSkip to conversation

Linux 6.6.102

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 15, 2025 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.102 kernel.

All users of the 6.6 kernel series must upgrade.

The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.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/filesystems/f2fs.rst                              |    6 
 Documentation/netlink/specs/ethtool.yaml                        |    6 
 Makefile                                                        |    2 
 arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi         |    1 
 arch/arm/boot/dts/nxp/vf/vfxxx.dtsi                             |    2 
 arch/arm/boot/dts/ti/omap/am335x-boneblack.dts                  |    2 
 arch/arm/crypto/aes-neonbs-glue.c                               |    2 
 arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi            |    2 
 arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi            |    2 
 arch/arm64/boot/dts/qcom/msm8976.dtsi                           |    2 
 arch/arm64/boot/dts/qcom/sc7180.dtsi                            |   10 
 arch/arm64/boot/dts/qcom/sdm845.dtsi                            |   10 
 arch/m68k/Kconfig.debug                                         |    2 
 arch/m68k/kernel/early_printk.c                                 |   42 -
 arch/m68k/kernel/head.S                                         |    8 
 arch/mips/mm/tlb-r4k.c                                          |   56 +
 arch/powerpc/configs/ppc6xx_defconfig                           |    1 
 arch/powerpc/kernel/eeh.c                                       |    1 
 arch/powerpc/kernel/eeh_driver.c                                |   48 +
 arch/powerpc/kernel/eeh_pe.c                                    |   10 
 arch/powerpc/kernel/pci-hotplug.c                               |    3 
 arch/sh/Makefile                                                |   10 
 arch/sh/boot/compressed/Makefile                                |    4 
 arch/sh/boot/romimage/Makefile                                  |    4 
 arch/um/drivers/rtc_user.c                                      |    2 
 arch/x86/boot/compressed/sev.c                                  |    7 
 arch/x86/boot/cpuflags.c                                        |   13 
 arch/x86/include/asm/cpufeatures.h                              |    1 
 arch/x86/kernel/cpu/scattered.c                                 |    1 
 arch/x86/kernel/sev-shared.c                                    |   36 +
 arch/x86/kernel/sev.c                                           |   11 
 arch/x86/mm/extable.c                                           |    5 
 drivers/block/ublk_drv.c                                        |    4 
 drivers/bluetooth/btusb.c                                       |    4 
 drivers/char/hw_random/mtk-rng.c                                |    4 
 drivers/clk/clk-axi-clkgen.c                                    |    2 
 drivers/clk/davinci/psc.c                                       |    5 
 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c                            |    3 
 drivers/clk/xilinx/xlnx_vcu.c                                   |    4 
 drivers/cpufreq/cpufreq.c                                       |   21 
 drivers/cpufreq/intel_pstate.c                                  |    4 
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c             |    4 
 drivers/crypto/ccp/ccp-debugfs.c                                |    3 
 drivers/crypto/img-hash.c                                       |    2 
 drivers/crypto/inside-secure/safexcel_hash.c                    |    8 
 drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c             |    8 
 drivers/crypto/intel/qat/qat_common/adf_transport_debug.c       |    4 
 drivers/crypto/intel/qat/qat_common/qat_bl.c                    |    6 
 drivers/crypto/intel/qat/qat_common/qat_compression.c           |    8 
 drivers/crypto/marvell/cesa/cipher.c                            |    4 
 drivers/crypto/marvell/cesa/hash.c                              |    5 
 drivers/devfreq/devfreq.c                                       |   10 
 drivers/dma/mv_xor.c                                            |   21 
 drivers/dma/nbpfaxi.c                                           |   13 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c             |    2 
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h         |    1 
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c                      |    9 
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c                          |    2 
 drivers/i2c/busses/i2c-stm32f7.c                                |  199 ++----
 drivers/infiniband/hw/erdma/erdma_verbs.c                       |    3 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c                      |   15 
 drivers/infiniband/hw/mlx5/dm.c                                 |    2 
 drivers/interconnect/qcom/sc8180x.c                             |    6 
 drivers/interconnect/qcom/sc8280xp.c                            |    1 
 drivers/iommu/amd/iommu.c                                       |   17 
 drivers/irqchip/Kconfig                                         |    1 
 drivers/md/md.c                                                 |    9 
 drivers/media/v4l2-core/v4l2-ctrls-core.c                       |    8 
 drivers/mtd/ftl.c                                               |    2 
 drivers/mtd/nand/raw/atmel/nand-controller.c                    |    2 
 drivers/mtd/nand/raw/atmel/pmecc.c                              |    6 
 drivers/mtd/nand/raw/rockchip-nand-controller.c                 |   15 
 drivers/net/can/kvaser_pciefd.c                                 |    1 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c                |    1 
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c                      |   17 
 drivers/net/ethernet/emulex/benet/be_cmds.c                     |    2 
 drivers/net/ethernet/intel/fm10k/fm10k.h                        |    3 
 drivers/net/ethernet/intel/i40e/i40e.h                          |    2 
 drivers/net/ethernet/intel/ixgbe/ixgbe.h                        |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c        |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c   |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c                 |    1 
 drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c                |    4 
 drivers/net/ethernet/mellanox/mlx5/core/main.c                  |    3 
 drivers/net/ipa/ipa_sysfs.c                                     |    6 
 drivers/net/phy/mscc/mscc_ptp.c                                 |    1 
 drivers/net/phy/mscc/mscc_ptp.h                                 |    1 
 drivers/net/ppp/pptp.c                                          |   18 
 drivers/net/usb/usbnet.c                                        |   11 
 drivers/net/vrf.c                                               |    2 
 drivers/net/wireless/ath/ath11k/hal.c                           |    4 
 drivers/net/wireless/ath/ath12k/wmi.c                           |   12 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c     |    8 
 drivers/net/wireless/intel/iwlwifi/dvm/main.c                   |   11 
 drivers/net/wireless/intel/iwlwifi/mvm/ops.c                    |    4 
 drivers/net/wireless/marvell/mwl8k.c                            |    4 
 drivers/net/wireless/purelifi/plfxlc/mac.c                      |   11 
 drivers/net/wireless/purelifi/plfxlc/mac.h                      |    2 
 drivers/net/wireless/purelifi/plfxlc/usb.c                      |   29 
 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c              |    3 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c           |    2 
 drivers/net/wireless/realtek/rtw89/core.c                       |    5 
 drivers/pci/controller/pcie-rockchip-host.c                     |    2 
 drivers/pci/endpoint/functions/pci-epf-vntb.c                   |    4 
 drivers/pci/hotplug/pnv_php.c                                   |  233 +++++++
 drivers/pinctrl/pinmux.c                                        |   20 
 drivers/pinctrl/sunxi/pinctrl-sunxi.c                           |   11 
 drivers/power/supply/cpcap-charger.c                            |    5 
 drivers/power/supply/max14577_charger.c                         |    4 
 drivers/powercap/dtpm_cpu.c                                     |    2 
 drivers/pps/pps.c                                               |   11 
 drivers/rtc/rtc-ds1307.c                                        |    2 
 drivers/rtc/rtc-hym8563.c                                       |    2 
 drivers/rtc/rtc-nct3018y.c                                      |    2 
 drivers/rtc/rtc-pcf85063.c                                      |    2 
 drivers/rtc/rtc-pcf8563.c                                       |    2 
 drivers/rtc/rtc-rv3028.c                                        |    2 
 drivers/scsi/elx/efct/efct_lio.c                                |    2 
 drivers/scsi/ibmvscsi_tgt/libsrp.c                              |    6 
 drivers/scsi/isci/request.c                                     |    2 
 drivers/scsi/mpt3sas/mpt3sas_scsih.c                            |    3 
 drivers/scsi/mvsas/mv_sas.c                                     |    4 
 drivers/scsi/scsi_transport_iscsi.c                             |    2 
 drivers/scsi/sd.c                                               |    4 
 drivers/soc/qcom/pmic_glink.c                                   |    9 
 drivers/soc/qcom/qmi_encdec.c                                   |   46 +
 drivers/soc/tegra/cbb/tegra234-cbb.c                            |    2 
 drivers/soundwire/stream.c                                      |    2 
 drivers/spi/spi-stm32.c                                         |    8 
 drivers/staging/fbtft/fbtft-core.c                              |    1 
 drivers/staging/nvec/nvec_power.c                               |    2 
 drivers/ufs/core/ufshcd.c                                       |   10 
 drivers/usb/early/xhci-dbc.c                                    |    4 
 drivers/usb/gadget/composite.c                                  |    5 
 drivers/usb/host/xhci-plat.c                                    |    2 
 drivers/usb/misc/apple-mfi-fastcharge.c                         |   24 
 drivers/usb/serial/option.c                                     |    2 
 drivers/vfio/group.c                                            |    7 
 drivers/vfio/iommufd.c                                          |    4 
 drivers/vfio/pci/pds/vfio_dev.c                                 |    1 
 drivers/vfio/pci/vfio_pci_core.c                                |    2 
 drivers/vfio/vfio_main.c                                        |    3 
 drivers/vhost/scsi.c                                            |    4 
 drivers/video/fbdev/core/fbcon.c                                |    4 
 drivers/video/fbdev/imxfb.c                                     |    9 
 drivers/watchdog/ziirave_wdt.c                                  |    3 
 drivers/xen/gntdev-common.h                                     |    4 
 drivers/xen/gntdev.c                                            |   71 +-
 fs/f2fs/data.c                                                  |    7 
 fs/f2fs/extent_cache.c                                          |    2 
 fs/f2fs/f2fs.h                                                  |    2 
 fs/f2fs/inode.c                                                 |   21 
 fs/f2fs/segment.h                                               |    5 
 fs/gfs2/util.c                                                  |   31 -
 fs/hfs/inode.c                                                  |    1 
 fs/hfsplus/extents.c                                            |    3 
 fs/hfsplus/inode.c                                              |    1 
 fs/jfs/jfs_dmap.c                                               |    4 
 fs/nfs/dir.c                                                    |    4 
 fs/nfs/export.c                                                 |   11 
 fs/nfs/flexfilelayout/flexfilelayout.c                          |   26 
 fs/nfs/flexfilelayout/flexfilelayoutdev.c                       |    6 
 fs/nfs/internal.h                                               |    9 
 fs/nfs/nfs4proc.c                                               |   10 
 fs/notify/fanotify/fanotify.c                                   |    8 
 fs/ntfs3/file.c                                                 |    5 
 fs/ntfs3/frecord.c                                              |    7 
 fs/ntfs3/namei.c                                                |   10 
 fs/ntfs3/ntfs_fs.h                                              |    3 
 fs/orangefs/orangefs-debugfs.c                                  |    6 
 fs/proc/generic.c                                               |    2 
 fs/proc/inode.c                                                 |    2 
 fs/proc/internal.h                                              |    5 
 fs/smb/client/cifs_debug.c                                      |    2 
 fs/smb/client/cifsacl.c                                         |    2 
 fs/smb/client/cifsacl.h                                         |    2 
 fs/smb/client/cifsencrypt.c                                     |    2 
 fs/smb/client/cifsfs.c                                          |    4 
 fs/smb/client/cifsglob.h                                        |    2 
 fs/smb/client/cifspdu.h                                         |    4 
 fs/smb/client/cifssmb.c                                         |    6 
 fs/smb/client/file.c                                            |    2 
 fs/smb/client/fs_context.h                                      |    2 
 fs/smb/client/misc.c                                            |    2 
 fs/smb/client/netmisc.c                                         |    2 
 fs/smb/client/readdir.c                                         |    4 
 fs/smb/client/smb2ops.c                                         |    4 
 fs/smb/client/smb2pdu.c                                         |    4 
 fs/smb/client/smb2transport.c                                   |    2 
 fs/smb/client/smbdirect.c                                       |  293 +++++----
 fs/smb/client/smbdirect.h                                       |   14 
 fs/smb/common/smbdirect/smbdirect_socket.h                      |   41 +
 fs/smb/server/connection.h                                      |    1 
 fs/smb/server/smb2pdu.c                                         |   22 
 fs/smb/server/smb_common.c                                      |    2 
 fs/smb/server/transport_rdma.c                                  |   97 +--
 fs/smb/server/transport_tcp.c                                   |   17 
 fs/smb/server/vfs.c                                             |    3 
 include/linux/audit.h                                           |    9 
 include/linux/fs_context.h                                      |    2 
 include/linux/moduleparam.h                                     |    5 
 include/linux/pps_kernel.h                                      |    1 
 include/linux/proc_fs.h                                         |    1 
 include/linux/psi_types.h                                       |    6 
 include/linux/sched.h                                           |    2 
 include/linux/skbuff.h                                          |   23 
 include/linux/usb/usbnet.h                                      |    1 
 include/linux/wait_bit.h                                        |   60 ++
 include/net/bluetooth/hci.h                                     |    1 
 include/net/dst.h                                               |    4 
 include/net/lwtunnel.h                                          |    8 
 include/net/tc_act/tc_ctinfo.h                                  |    6 
 include/net/udp.h                                               |   24 
 kernel/audit.h                                                  |    2 
 kernel/auditsc.c                                                |    2 
 kernel/bpf/preload/Kconfig                                      |    1 
 kernel/events/core.c                                            |   20 
 kernel/freezer.c                                                |   51 -
 kernel/kcsan/kcsan_test.c                                       |    2 
 kernel/module/main.c                                            |    6 
 kernel/sched/core.c                                             |   31 -
 kernel/sched/psi.c                                              |  123 ++--
 kernel/trace/preemptirq_delay_test.c                            |   13 
 kernel/ucount.c                                                 |    2 
 mm/hmm.c                                                        |    2 
 net/bluetooth/hci_event.c                                       |    8 
 net/caif/cfctrl.c                                               |  294 ++++------
 net/core/dst.c                                                  |    4 
 net/core/filter.c                                               |    3 
 net/core/netpoll.c                                              |    7 
 net/core/skmsg.c                                                |    7 
 net/ipv4/route.c                                                |    4 
 net/ipv4/tcp_input.c                                            |    4 
 net/ipv6/ip6_fib.c                                              |   24 
 net/ipv6/ip6_offload.c                                          |    4 
 net/ipv6/ip6mr.c                                                |    3 
 net/ipv6/route.c                                                |   56 +
 net/mac80211/cfg.c                                              |    2 
 net/mac80211/tdls.c                                             |    2 
 net/mac80211/tx.c                                               |   14 
 net/netfilter/nf_bpf_link.c                                     |    5 
 net/netfilter/nf_tables_api.c                                   |   29 
 net/netfilter/xt_nfacct.c                                       |    4 
 net/packet/af_packet.c                                          |   12 
 net/sched/act_ctinfo.c                                          |   19 
 net/sched/sch_mqprio.c                                          |    2 
 net/sched/sch_netem.c                                           |   40 +
 net/sched/sch_taprio.c                                          |   21 
 net/sunrpc/svcsock.c                                            |   43 +
 net/sunrpc/xprtsock.c                                           |   40 +
 net/tls/tls_sw.c                                                |   13 
 net/vmw_vsock/af_vsock.c                                        |    3 
 samples/mei/mei-amt-version.c                                   |    2 
 scripts/kconfig/qconf.cc                                        |    2 
 security/apparmor/include/match.h                               |    8 
 security/apparmor/match.c                                       |   23 
 sound/pci/hda/patch_ca0132.c                                    |    5 
 sound/soc/amd/yc/acp6x-mach.c                                   |   21 
 sound/soc/fsl/fsl_xcvr.c                                        |   20 
 sound/soc/intel/boards/Kconfig                                  |    2 
 sound/soc/mediatek/common/mtk-afe-platform-driver.c             |    4 
 sound/soc/mediatek/common/mtk-base-afe.h                        |    1 
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c                      |    7 
 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c                      |    7 
 sound/soc/mediatek/mt8186/mt8186-afe-pcm.c                      |    7 
 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c                      |    7 
 sound/soc/soc-dai.c                                             |   16 
 sound/soc/soc-ops.c                                             |   26 
 sound/usb/mixer_scarlett2.c                                     |    7 
 sound/x86/intel_hdmi_audio.c                                    |    2 
 tools/bpf/bpftool/net.c                                         |   15 
 tools/lib/subcmd/help.c                                         |   12 
 tools/perf/.gitignore                                           |    2 
 tools/perf/builtin-sched.c                                      |   41 +
 tools/perf/tests/bp_account.c                                   |    1 
 tools/perf/util/evsel.c                                         |   11 
 tools/perf/util/evsel.h                                         |    2 
 tools/perf/util/symbol.c                                        |    1 
 tools/testing/selftests/arm64/fp/sve-ptrace.c                   |    2 
 tools/testing/selftests/bpf/prog_tests/sockmap_listen.c         |    2 
 tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc |   28 
 tools/testing/selftests/net/rtnetlink.sh                        |    6 
 tools/testing/selftests/perf_events/.gitignore                  |    1 
 tools/testing/selftests/perf_events/Makefile                    |    2 
 tools/testing/selftests/perf_events/mmap.c                      |  236 ++++++++
 tools/testing/selftests/syscall_user_dispatch/sud_test.c        |   50 -
 tools/verification/rv/src/in_kernel.c                           |    4 
 287 files changed, 2609 insertions(+), 1269 deletions(-)

Abdun Nihaal (1):
staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()

Abinash Singh (1):
f2fs: fix KMSAN uninit-value in extent_info usage

Adam Ford (2):
arm64: dts: imx8mm-beacon: Fix HS400 USDHC clock speed
arm64: dts: imx8mn-beacon: Fix HS400 USDHC clock speed

Adam Queler (1):
ASoC: amd: yc: Add DMI entries to support HP 15-fb1xxx

Alain Volmat (3):
i2c: stm32f7: use dev_err_probe upon calls of devm_request_irq
i2c: stm32f7: perform most of irq job in threaded handler
i2c: stm32f7: simplify status messages in case of errors

Albin Törnqvist (1):
arm: dts: ti: omap: Fixup pinheader typo

Alex Williamson (1):
vfio/pci: Separate SR-IOV VF dev_set

Alexander Wetzel (2):
wifi: mac80211: Do not schedule stopped TXQs
wifi: mac80211: Don't call fq_flow_idx() for management frames

Alexander Wilhelm (1):
soc: qcom: QMI encoding/decoding for big endian

Alexandru Andries (1):
ASoC: amd: yc: add DMI quirk for ASUS M6501RM

Alexei Lazar (1):
net/mlx5e: Clear Read-Only port buffer size in PBMC before update

Alok Tiwari (1):
staging: nvec: Fix incorrect null termination of battery manufacturer

Amir Goldstein (1):
fanotify: sanitize handle_type values when reporting fid

Ammar Faizi (1):
net: usbnet: Fix the wrong netif_carrier_on() call

Andi Shyti (1):

      i2c: stm32f7: Use devm_clk_get_enabled()

Andreas Gruenbacher (1):
gfs2: No more self recovery

André Apitzsch (1):
arm64: dts: qcom: msm8976: Make blsp_dma controlled-remotely

Andy Shevchenko (1):
mm/hmm: move pmd_to_hmm_pfn_flags() to the respective #ifdeffery

Andy Yan (1):
drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed

Annette Kobou (1):
ARM: dts: imx6ul-kontron-bl-common: Fix RTS polarity for RS485 interface

Arnd Bergmann (7):
ethernet: intel: fix building with large NR_CPUS
ASoC: Intel: fix SND_SOC_SOF dependencies
ASoC: ops: dynamically allocate struct snd_ctl_elem_value
caif: reduce stack size, again
crypto: arm/aes-neonbs - work around gcc-15 warning
kernel: trace: preemptirq_delay_test: use offstack cpu mask
irqchip: Build IMX_MU_MSI only on ARM

Balamanikandan Gunasundar (1):
mtd: rawnand: atmel: set pmecc data setup time

Bard Liao (1):
soundwire: stream: restore params when prepare ports fail

Ben Hutchings (1):
sh: Do not use hyphen in exported variable name

Benjamin Coddington (1):
NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY

Brahmajit Das (1):
samples: mei: Fix building on musl libc

Brett Creeley (1):
vfio/pds: Fix missing detach_ioas op

Brian Masney (6):
rtc: ds1307: fix incorrect maximum clock rate handling
rtc: hym8563: fix incorrect maximum clock rate handling
rtc: nct3018y: fix incorrect maximum clock rate handling
rtc: pcf85063: fix incorrect maximum clock rate handling
rtc: pcf8563: fix incorrect maximum clock rate handling
rtc: rv3028: fix incorrect maximum clock rate handling

Budimir Markovic (1):
vsock: Do not allow binding to VMADDR_PORT_ANY

Caleb Sander Mateos (1):
ublk: use vmalloc for ublk_device's __queues

Chao Yu (7):
f2fs: doc: fix wrong quota mount option description
f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
f2fs: fix to avoid panic in f2fs_evict_inode
f2fs: fix to avoid out-of-boundary access in devs.path
f2fs: fix to update upper_p in __get_secs_required() correctly
f2fs: fix to calculate dirty data during has_not_enough_free_secs()
f2fs: fix to trigger foreground gc during f2fs_map_blocks() in lfs mode

Charalampos Mitrodimas (1):
usb: misc: apple-mfi-fastcharge: Make power supply names unique

Charles Han (2):
power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set

Chen Pei (1):
perf tools: Remove libtraceevent in .gitignore

Chen Ridong (1):
sched,freezer: Remove unnecessary warning in __thaw_task

Chen-Yu Tsai (1):
ASoC: mediatek: use reserved memory or enable buffer pre-allocation

Chenyuan Yang (1):
fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref

Chris Down (1):
Bluetooth: hci_event: Mask data status from LE ext adv reports

Christoph Paasch (1):
net/mlx5: Correctly set gso_segs when LRO is used

Clément Le Goffic (2):
spi: stm32: Check for cfg availability in stm32_spi_probe
i2c: stm32f7: unmap DMA mapped buffer

Dan Carpenter (2):
watchdog: ziirave_wdt: check record length in ziirave_firm_verify() fs/orangefs: Allow 2 more characters in do_c_string()

Daniil Dulov (1):
wifi: rtl818x: Kill URBs before clearing tx status queue

Dave Hansen (1):
x86/fpu: Delay instruction pointer fixup until after warning

Denis OSTERLAND-HEIM (1):
pps: fix poll support

Dmitry Baryshkov (2):

      interconnect: qcom: sc8280xp: specify num_links for qnm_a1noc_cfg
      interconnect: qcom: sc8180x: specify num_nodes

Dmitry Vyukov (1):
selftests: Fix errno checking in syscall_user_dispatch test

Edward Adam Davis (1):
fs/ntfs3: cancle set bad inode after removing name fails

Elliot Berman (4):
sched/core: Remove ifdeffery for saved_state freezer,sched: Use saved_state to reduce some spurious wakeups freezer,sched: Do not restore saved_state of a thawed task freezer,sched: Clean saved_state when restoring it during thaw

Eric Dumazet (10):
net: dst: annotate data-races around dst->input
net: dst: annotate data-races around dst->output
net_sched: act_ctinfo: use atomic64_t for three counters
tcp: call tcp_measure_rcv_mss() for ooo packets
ipv6: prevent infinite loop in rt6_nlmsg_size()
ipv6: fix possible infinite loop in fib6_info_uses_dev()
ipv6: annotate data-races around rt->fib6_nsiblings
pptp: ensure minimal skb length in pptp_xmit()
ipv6: reject malicious packets in ipv6_gso_segment()
pptp: fix pptp_xmit() error path

Fedor Pchelkin (2):
drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
netfilter: nf_tables: adjust lockdep assertions handling

Finn Thain (1):
m68k: Don't unregister boot console needlessly

Florian Westphal (1):
netfilter: xt_nfacct: don't assume acct name is null-terminated

Fushuai Wang (1):
selftests/bpf: fix signedness bug in redir_partial()

Gabriele Monaco (1):
tools/rv: Do not skip idle in trace

Geoffrey D. Bennett (1):
ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx()

Giovanni Cabiddu (2):
crypto: qat - fix DMA direction for compression on GEN2 devices
crypto: qat - fix seq_file position update in adf_ring_next()

Gokul Sivakumar (1):
wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE

Greg Kroah-Hartman (2):
Revert "vmci: Prevent the dispatching of uninitialized payloads" Linux 6.6.102

Hans Zhang (1):
PCI: rockchip-host: Fix "Unexpected Completion" log message

Heming Zhao (1):
md/md-cluster: handle REMOVE message earlier

Henry Martin (1):
clk: davinci: Add NULL check in davinci_lpsc_clk_register()

Herbert Xu (1):
crypto: marvell/cesa - Fix engine load inaccuracy

Horatiu Vultur (1):
phy: mscc: Fix parsing of unicast frames

Ian Forbes (1):
drm/vmwgfx: Fix Host-Backed userspace on Guest-Backed kernel

Ian Rogers (1):
perf dso: Add missed dso__put to dso__load_kcore

Ivan Stepchenko (1):
mtd: fix possible integer overflow in erase_xfer()

Jacob Pan (2):
vfio: Fix unbalanced vfio_df_close call in no-iommu mode
vfio: Prevent open_count decrement to negative

Jakub Kicinski (2):
netpoll: prevent hanging NAPI when netcons gets enabled
netlink: specs: ethtool: fix module EEPROM input/output arguments

James Cowgill (1):
media: v4l2-ctrls: Fix H264 SEPARATE_COLOUR_PLANE check

Jan Prusakowski (1):
f2fs: vm_unmap_ram() may be called from an invalid context

Jason Gunthorpe (1):
iommu/amd: Fix geometry.aperture_end for V2 tables

Jerome Brunet (1):
PCI: endpoint: pci-epf-vntb: Return -ENOENT if pci_epc_get_next_free_bar() fails

Jianbo Liu (1):
net/mlx5e: Remove skb secpath if xfrm state is not found

Jiasheng Jiang (1):
iwlwifi: Add missing check for alloc_ordered_workqueue

Jiaxun Yang (1):
MIPS: mm: tlb-r4k: Uniquify TLB entries on init

Jiayuan Chen (2):
bpf, sockmap: Fix psock incorrectly pointing to sk
bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls

Jimmy Assarsson (2):
can: kvaser_pciefd: Store device channel index
can: kvaser_usb: Assign netdev.dev_port based on device channel index

Johan Hovold (1):
soc: qcom: pmic_glink: fix OF node leak

Johan Korsnes (1):
arch: powerpc: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX

John Ernberg (1):
net: usbnet: Avoid potential RCU stall on LINK_CHANGE event

Juergen Gross (1):
xen/gntdev: remove struct gntdev_copy_batch from stack

Junxian Huang (1):
RDMA/hns: Fix -Wframe-larger-than issue

Kees Cook (1):
wifi: mac80211: Write cnt before copying in ieee80211_copy_rnr_beacon()

Konrad Dybcio (3):
arm64: dts: qcom: sdm845: Expand IMEM region
arm64: dts: qcom: sc7180: Expand IMEM region drm/msm/dpu: Fill in min_prefill_lines for SC8180X

Konstantin Komarov (1):
Revert "fs/ntfs3: Replace inode_trylock with inode_lock"

Krzysztof Kozlowski (1):
ARM: dts: vfxxx: Correctly use two tuples for timer address

Kuninori Morimoto (1):
ASoC: soc-dai: tidyup return value of snd_soc_xlate_tdm_slot_mask()

Kuniyuki Iwashima (1):
bpf: Disable migration in nf_hook_run_bpf().

Lane Odenbach (1):
ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx

Leo Yan (1):
perf tests bp_account: Fix leaked file descriptor

Li Lingfeng (1):
scsi: Revert "scsi: iscsi: Fix HW conn removal use after free"

Lifeng Zheng (3):

      PM / devfreq: Check governor before using governor->name
      cpufreq: Initialize cpufreq-based frequency-invariance later
      cpufreq: Init policy->rwsem before it may be possibly used

Lizhi Xu (1):
vmci: Prevent the dispatching of uninitialized payloads

Lorenzo Stoakes (1):
selftests/perf_events: Add a mmap() correctness test

Luca Weiss (1):
net: ipa: add IPA v5.1 and v5.5 to ipa_version_string()

Lucas De Marchi (1):
usb: early: xhci-dbc: Fix early_ioremap leak

Maher Azzouzi (1):
net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing

Manivannan Sadhasivam (1):
PCI: endpoint: pci-epf-vntb: Fix the incorrect usage of __iomem attribute

Marco Elver (1):
kcsan: test: Initialize dummy variable

Mark Brown (1):
kselftest/arm64: Fix check for setting new VLs in sve-ptrace

Martin Kaistra (1):
wifi: rtl8xxxu: Fix RX skb size for aggregation disabled

Masahiro Yamada (1):
kconfig: qconf: fix ConfigList::updateListAllforAll()

Mengbiao Xiong (1):
crypto: ccp - Fix crash when rebind ccp device for ccp.ko

Michal Schmidt (1):
benet: fix BUG when creating VFs

Mike Christie (1):
vhost-scsi: Fix log flooding with target does not exist errors

Moon Hee Lee (1):
wifi: mac80211: reject TDLS operations when station is not associated

Mukesh Ojha (1):
pinmux: fix race causing mux_owner NULL with active mux_usecount

Murad Masimov (1):
wifi: plfxlc: Fix error handling in usb driver probe

Namhyung Kim (4):
perf tools: Fix use-after-free in help_unknown_cmd() perf sched: Free thread->priv using priv_destructor perf sched: Fix memory leaks for evsel->priv in timehist perf sched: Fix memory leaks in 'perf sched latency'

Namjae Jeon (4):
ksmbd: fix null pointer dereference error in generate_encryptionkey
ksmbd: fix Preauh_HashValue race condition
ksmbd: fix corrupted mtime and ctime in smb2_open
ksmbd: limit repeated connections from clients with the same IP

NeilBrown (1):
sched: Add test_and_clear_wake_up_bit() and atomic_dec_and_wake_up()

Nuno Sá (1):
clk: clk-axi-clkgen: fix fpfd_max frequency for zynq

Olga Kornievskaia (3):
NFSv4.2: another fix for listxattr
sunrpc: fix client side handling of tls alerts
sunrpc: fix handling of server side tls alerts

Ovidiu Panait (2):
crypto: sun8i-ce - fix nents passed to dma_unmap_sg()
hwrng: mtk - handle devm_pm_runtime_enable errors

Paul Chaignon (2):
bpf: Check flow_dissector ctx accesses are aligned
bpf: Check netfilter ctx accesses are aligned

Paul Kocialkowski (1):
clk: sunxi-ng: v3s: Fix de clock definition

Peter Zijlstra (2):
sched/psi: Optimize psi_group_change() cpu_clock() usage sched/psi: Fix psi_seq initialization

Petr Machata (1):
net: ipv6: ip6mr: Fix in/out netdev to pass to the FORWARD chain

Petr Pavlu (1):
module: Restore the moduleparam prefix length check

Phil Sutter (1):
netfilter: nf_tables: Drop dead code from fill_*_info routines

Quang Le (1):
net/packet: fix a race in packet_set_ring() and packet_notifier()

Rafael J. Wysocki (1):
cpufreq: intel_pstate: Always use HWP_DESIRED_PERF in passive mode

Remi Pommarel (2):
wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key() Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"

Richard Guy Briggs (1):
audit,module: restore audit logging in load failure case

Rohit Visavalia (1):
clk: xilinx: vcu: unregister pll_post only if registered correctly

RubenKelevra (1):
fs_context: fix parameter name in infofc() macro

Ryan Lee (2):
apparmor: ensure WB_HISTORY_SIZE value is a power of 2
apparmor: fix loop detection used in conflicting attachment resolution

Salomon Dushimirimana (1):
scsi: sd: Make sd shutdown issue START STOP UNIT appropriately

Sergey Senozhatsky (1):
wifi: ath11k: clear initialized flag for deinit-ed srng lists

Seunghui Lee (1):
scsi: ufs: core: Use link recovery when h8 exit fails during runtime resume

Seungjin Bae (1):
usb: host: xhci-plat: fix incorrect type for of_match variable in xhci_plat_probe()

Shen Lichuan (2):
smb: client: Use min() macro
smb: client: Correct typos in multiple comments across various files

Shengjiu Wang (1):
ASoC: fsl_xcvr: get channel status data when PHY is not exists

Shixiong Ou (1):
fbcon: Fix outdated registered_fb reference in comment

Sivan Zohar-Kotzer (1):
powercap: dtpm_cpu: Fix NULL pointer dereference in get_pd_power_uw()

Slark Xiao (1):
USB: serial: option: add Foxconn T99W709

Stanislav Fomichev (1):
vrf: Drop existing dst reference in vrf_ip6_input_dst

Stav Aviram (1):
net/mlx5: Check device memory pointer before usage

Stefan Metzmacher (9):
smb: server: remove separate empty_recvmsg_queue
smb: server: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already
smb: server: let recv_done() consistently call put_recvmsg/smb_direct_disconnect_rdma_connection
smb: server: let recv_done() avoid touching data_transfer after cleanup/move
smb: smbdirect: add smbdirect_socket.h
smb: client: make use of common smbdirect_socket
smb: client: make sure we call ib_dma_unmap_single() only if we called ib_dma_map_single already
smb: client: let recv_done() cleanup before notifying the callers.
smb: client: return an error if rdma_connect does not return within 5 seconds

Stephane Grosjean (1):
can: peak_usb: fix USB FD devices potential malfunction

Steven Rostedt (1):
selftests/tracing: Fix false failure of subsystem event test

Suman Kumar Chakraborty (1):
crypto: qat - use unmanaged allocation for dc_data

Sumit Gupta (1):
soc/tegra: cbb: Clear ERR_FORCE register with ERR_STATUS

Takamitsu Iwai (1):
net/sched: taprio: enforce minimum value for picos_per_byte

Takashi Iwai (1):
ALSA: hda/ca0132: Fix missing error handling in ca0132_alt_select_out()

Tamizh Chelvam Raja (1):
wifi: ath12k: fix endianness handling while accessing wmi service bit

Tao Xue (1):
usb: gadget : fix use-after-free in composite_dev_cleanup()

Thomas Fourier (13):
mwl8k: Add missing check after DMA map
Fix dma_unmap_sg() nents value
crypto: inside-secure - Fix dma_unmap_sg() nents value
scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value
scsi: elx: efct: Fix dma_unmap_sg() nents value
scsi: mvsas: Fix dma_unmap_sg() nents value
scsi: isci: Fix dma_unmap_sg() nents value
crypto: keembay - Fix dma_unmap_sg() nents value
crypto: img-hash - Fix dma_unmap_sg() nents value
dmaengine: mv_xor: Fix missing check after DMA map and missing unmap
dmaengine: nbpfaxi: Add missing check after DMA map
mtd: rawnand: atmel: Fix dma_mapping_error() address
mtd: rawnand: rockchip: Add missing check after DMA map

Thomas Gleixner (3):
perf/core: Don't leak AUX buffer refcount on allocation failure perf/core: Exit early on perf_mmap() fail
perf/core: Prevent VMA split of buffer mappings

Thomas Weißschuh (1):
bpf/preload: Don't select USERMODE_DRIVER

Thorsten Blum (2):
smb: server: Fix extension string in ksmbd_extract_shortname()
ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe()

Tigran Mkrtchyan (1):
pNFS/flexfiles: don't attempt pnfs on fatal DS errors

Timothy Pearson (5):
PCI: pnv_php: Clean up allocated IRQs on unplug
PCI: pnv_php: Work around switches with broken presence detection powerpc/eeh: Export eeh_unfreeze_pe()
powerpc/eeh: Make EEH driver device hotplug safe
PCI: pnv_php: Fix surprise plug detection and recovery

Tiwei Bie (1):
um: rtc: Avoid shadowing err in uml_rtc_start()

Tom Lendacky (1):
x86/sev: Evict cache lines during SNP memory validation

Tomas Henzl (1):
scsi: mpt3sas: Fix a fw_event memory leak

Trond Myklebust (2):
NFS: Fix wakeup of __nfs_lookup_revalidate() in unblock_revalidate()
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()

Uros Bizjak (1):
ucount: fix atomic_long_inc_below() argument type

Wang Liang (1):
net: drop UFO packets in udp_rcv_segment()

William Liu (1):
net/sched: Restrict conditions for adding duplicating netems to qdisc tree

Xiu Jianfeng (1):
wifi: iwlwifi: Fix memory leak in iwl_mvm_init()

Xiumei Mu (1):
selftests: rtnetlink.sh: remove esp4_offload after test

Yangtao Li (3):
hfsplus: make splice write available again
hfs: make splice write available again
hfsplus: remove mutex_lock check in hfsplus_free_extents

Yuan Chen (2):
bpftool: Fix memory leak in dump_xx_nlmsg on realloc failure
pinctrl: sunxi: Fix memory leak on krealloc failure

Zenm Chen (1):
Bluetooth: btusb: Add USB ID 3625:010b for TP-LINK Archer TX10UB Nano

Zheng Yu (1):
jfs: fix metapage reference count leak in dbAllocCtl

Zong-Zhe Yang (1):
wifi: rtw89: avoid NULL dereference when RX problematic packet on unsupported 6 GHz band

wangzijie (1):
proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al

xin.guo (1):
tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range

author maintainer
#1 lore raw
Documentation/filesystems/f2fs.rst +3 -3
index dbfbbe9ab28b..961684e9466e 100644
@@ -233,9 +233,9 @@ usrjquota=<file>	 Appoint specified file and type during mount, so that quota
 grpjquota=<file>	 information can be properly updated during recovery flow,
 prjjquota=<file>	 <quota file>: must be in root directory;
 jqfmt=<quota type>	 <quota type>: [vfsold,vfsv0,vfsv1].
-offusrjquota		 Turn off user journalled quota.
-offgrpjquota		 Turn off group journalled quota.
-offprjjquota		 Turn off project journalled quota.
+usrjquota=		 Turn off user journalled quota.
+grpjquota=		 Turn off group journalled quota.
+prjjquota=		 Turn off project journalled quota.
 quota			 Enable plain user disk quota accounting.
 noquota			 Disable all plain disk quota option.
 alloc_mode=%s		 Adjust block allocation policy, which supports "reuse"
Documentation/netlink/specs/ethtool.yaml +3 -3
index 3e38f6956793..b463949736c5 100644
@@ -1489,9 +1489,6 @@ operations:
 
       do: &module-eeprom-get-op
         request:
-          attributes:
-            - header
-        reply:
           attributes:
             - header
             - offset
@@ -1499,6 +1496,9 @@ operations:
             - page
             - bank
             - i2c-address
+        reply:
+          attributes:
+            - header
             - data
       dump: *module-eeprom-get-op
     -
Makefile +1 -1
index 116eb523392a..685a65992449 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 101
+SUBLEVEL = 102
 EXTRAVERSION =
 NAME = Pinguïn Aangedreven
 
arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl-common.dtsi +0 -1
index 33d5f27285a4..9ece280d163a 100644
@@ -169,7 +169,6 @@ &uart2 {
 	pinctrl-0 = <&pinctrl_uart2>;
 	linux,rs485-enabled-at-boot-time;
 	rs485-rx-during-tx;
-	rs485-rts-active-low;
 	uart-has-rtscts;
 	status = "okay";
 };
arch/arm/boot/dts/nxp/vf/vfxxx.dtsi +1 -1
index d1095b700c56..d96148abf5bb 100644
@@ -612,7 +612,7 @@ usbmisc1: usb@400b4800 {
 
 			ftm: ftm@400b8000 {
 				compatible = "fsl,ftm-timer";
-				reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
+				reg = <0x400b8000 0x1000>, <0x400b9000 0x1000>;
 				interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
 				clock-names = "ftm-evt", "ftm-src",
 					"ftm-evt-counter-en", "ftm-src-counter-en";
arch/arm/boot/dts/ti/omap/am335x-boneblack.dts +1 -1
index 16b567e3cb47..b4fdcf9c02b5 100644
@@ -35,7 +35,7 @@ &gpio0 {
 		"P9_18 [spi0_d1]",
 		"P9_17 [spi0_cs0]",
 		"[mmc0_cd]",
-		"P8_42A [ecappwm0]",
+		"P9_42A [ecappwm0]",
 		"P8_35 [lcd d12]",
 		"P8_33 [lcd d13]",
 		"P8_31 [lcd d14]",
arch/arm/crypto/aes-neonbs-glue.c +1 -1
index 0ca94b90bc4e..ba98daeb119c 100644
@@ -245,7 +245,7 @@ static int ctr_encrypt(struct skcipher_request *req)
 	while (walk.nbytes > 0) {
 		const u8 *src = walk.src.virt.addr;
 		u8 *dst = walk.dst.virt.addr;
-		int bytes = walk.nbytes;
+		unsigned int bytes = walk.nbytes;
 
 		if (unlikely(bytes < AES_BLOCK_SIZE))
 			src = dst = memcpy(buf + sizeof(buf) - bytes,
arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +2 -0
index 8ab0e45f2ad3..f93c2b604c57 100644
@@ -284,6 +284,8 @@ &usdhc3 {
 	pinctrl-0 = <&pinctrl_usdhc3>;
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
+	assigned-clocks = <&clk IMX8MM_CLK_USDHC3>;
+	assigned-clock-rates = <400000000>;
 	bus-width = <8>;
 	non-removable;
 	status = "okay";
arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +2 -0
index 1760062e6ffc..f5f87b389123 100644
@@ -295,6 +295,8 @@ &usdhc3 {
 	pinctrl-0 = <&pinctrl_usdhc3>;
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
+	assigned-clocks = <&clk IMX8MN_CLK_USDHC3>;
+	assigned-clock-rates = <400000000>;
 	bus-width = <8>;
 	non-removable;
 	status = "okay";
arch/arm64/boot/dts/qcom/msm8976.dtsi +2 -0
index 4c5be22b47fe..e01f6e8a17f2 100644
@@ -862,6 +862,7 @@ blsp1_dma: dma-controller@7884000 {
 			clock-names = "bam_clk";
 			#dma-cells = <1>;
 			qcom,ee = <0>;
+			qcom,controlled-remotely;
 		};
 
 		blsp1_uart1: serial@78af000 {
@@ -982,6 +983,7 @@ blsp2_dma: dma-controller@7ac4000 {
 			clock-names = "bam_clk";
 			#dma-cells = <1>;
 			qcom,ee = <0>;
+			qcom,controlled-remotely;
 		};
 
 		blsp2_uart2: serial@7af0000 {
arch/arm64/boot/dts/qcom/sc7180.dtsi +5 -5
index 7758136d71d6..9dc00f759f19 100644
@@ -3435,18 +3435,18 @@ spmi_bus: spmi@c440000 {
 			#interrupt-cells = <4>;
 		};
 
-		sram@146aa000 {
+		sram@14680000 {
 			compatible = "qcom,sc7180-imem", "syscon", "simple-mfd";
-			reg = <0 0x146aa000 0 0x2000>;
+			reg = <0 0x14680000 0 0x2e000>;
 
 			#address-cells = <1>;
 			#size-cells = <1>;
 
-			ranges = <0 0 0x146aa000 0x2000>;
+			ranges = <0 0 0x14680000 0x2e000>;
 
-			pil-reloc@94c {
+			pil-reloc@2a94c {
 				compatible = "qcom,pil-reloc-info";
-				reg = <0x94c 0xc8>;
+				reg = <0x2a94c 0xc8>;
 			};
 		};
 
arch/arm64/boot/dts/qcom/sdm845.dtsi +5 -5
index 4ea693a07585..64ea9d73d970 100644
@@ -4989,18 +4989,18 @@ spmi_bus: spmi@c440000 {
 			#interrupt-cells = <4>;
 		};
 
-		sram@146bf000 {
+		sram@14680000 {
 			compatible = "qcom,sdm845-imem", "syscon", "simple-mfd";
-			reg = <0 0x146bf000 0 0x1000>;
+			reg = <0 0x14680000 0 0x40000>;
 
 			#address-cells = <1>;
 			#size-cells = <1>;
 
-			ranges = <0 0 0x146bf000 0x1000>;
+			ranges = <0 0 0x14680000 0x40000>;
 
-			pil-reloc@94c {
+			pil-reloc@3f94c {
 				compatible = "qcom,pil-reloc-info";
-				reg = <0x94c 0xc8>;
+				reg = <0x3f94c 0xc8>;
 			};
 		};
 
arch/m68k/Kconfig.debug +1 -1
index 30638a6e8edc..d036f903864c 100644
@@ -10,7 +10,7 @@ config BOOTPARAM_STRING
 
 config EARLY_PRINTK
 	bool "Early printk"
-	depends on !(SUN3 || M68000 || COLDFIRE)
+	depends on MMU_MOTOROLA
 	help
 	  Write kernel log output directly to a serial port.
 	  Where implemented, output goes to the framebuffer as well.
arch/m68k/kernel/early_printk.c +14 -28

65 lines not on this page · raw message

arch/m68k/kernel/head.S +4 -4
index 9e812d8606be..397114962a14 100644
@@ -3267,8 +3267,8 @@ func_return	putn
  *	turns around and calls the internal routines.  This routine
  *	is used by the boot console.
  *
- *	The calling parameters are:
- *		void debug_cons_nputs(const char *str, unsigned length)
+ *	The function signature is -
+ *		void debug_cons_nputs(struct console *c, const char *s, unsigned int n)
  *
  *	This routine does NOT understand variable arguments only
  *	simple strings!
@@ -3277,8 +3277,8 @@ ENTRY(debug_cons_nputs)
 	moveml	%d0/%d1/%a0,%sp@-
 	movew	%sr,%sp@-
 	ori	#0x0700,%sr
-	movel	%sp@(18),%a0		/* fetch parameter */
-	movel	%sp@(22),%d1		/* fetch parameter */
+	movel	%sp@(22),%a0		/* char *s */
+	movel	%sp@(26),%d1		/* unsigned int n */
 	jra	2f
 1:
 #ifdef CONSOLE_DEBUG
arch/mips/mm/tlb-r4k.c +55 -1

68 lines not on this page · raw message

arch/powerpc/configs/ppc6xx_defconfig +0 -1
index eaf3273372a9..80989e3f6780 100644
@@ -254,7 +254,6 @@ CONFIG_NET_SCH_DSMARK=m
 CONFIG_NET_SCH_NETEM=m
 CONFIG_NET_SCH_INGRESS=m
 CONFIG_NET_CLS_BASIC=m
-CONFIG_NET_CLS_TCINDEX=m
 CONFIG_NET_CLS_ROUTE4=m
 CONFIG_NET_CLS_FW=m
 CONFIG_NET_CLS_U32=m
arch/powerpc/kernel/eeh.c +1 -0
index 2e286bba2f64..82626363a309 100644
@@ -1130,6 +1130,7 @@ int eeh_unfreeze_pe(struct eeh_pe *pe)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(eeh_unfreeze_pe);
 
 
 static struct pci_device_id eeh_reset_ids[] = {
arch/powerpc/kernel/eeh_driver.c +32 -16

171 lines not on this page · raw message

arch/powerpc/kernel/eeh_pe.c +6 -4
index 7d1b50599dd6..08095aeba5c9 100644
@@ -671,10 +671,12 @@ static void eeh_bridge_check_link(struct eeh_dev *edev)
 	eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val);
 
 	/* Check link */
-	if (!edev->pdev->link_active_reporting) {
-		eeh_edev_dbg(edev, "No link reporting capability\n");
-		msleep(1000);
-		return;
+	if (edev->pdev) {
+		if (!edev->pdev->link_active_reporting) {
+			eeh_edev_dbg(edev, "No link reporting capability\n");
+			msleep(1000);
+			return;
+		}
 	}
 
 	/* Wait the link is up until timeout (5s) */
arch/powerpc/kernel/pci-hotplug.c +3 -0
index 0fe251c6ac2c..ac70e85b0df8 100644
@@ -111,6 +111,9 @@ void pci_hp_add_devices(struct pci_bus *bus)
 	struct pci_controller *phb;
 	struct device_node *dn = pci_bus_to_OF_node(bus);
 
+	if (!dn)
+		return;
+
 	phb = pci_bus_to_host(bus);
 
 	mode = PCI_PROBE_NORMAL;
arch/sh/Makefile +5 -5
index cab2f9c011a8..7b420424b6d7 100644
@@ -103,16 +103,16 @@ UTS_MACHINE		:= sh
 LDFLAGS_vmlinux		+= -e _stext
 
 ifdef CONFIG_CPU_LITTLE_ENDIAN
-ld-bfd			:= elf32-sh-linux
-LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64 --oformat $(ld-bfd)
+ld_bfd			:= elf32-sh-linux
+LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64 --oformat $(ld_bfd)
 KBUILD_LDFLAGS		+= -EL
 else
-ld-bfd			:= elf32-shbig-linux
-LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64+4 --oformat $(ld-bfd)
+ld_bfd			:= elf32-shbig-linux
+LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64+4 --oformat $(ld_bfd)
 KBUILD_LDFLAGS		+= -EB
 endif
 
-export ld-bfd
+export ld_bfd
 
 # Mach groups
 machdir-$(CONFIG_SOLUTION_ENGINE)		+= mach-se
arch/sh/boot/compressed/Makefile +2 -2
index b5e29f99c02c..5d5b2da2a3f1 100644
@@ -29,7 +29,7 @@ endif
 
 ccflags-remove-$(CONFIG_MCOUNT) += -pg
 
-LDFLAGS_vmlinux := --oformat $(ld-bfd) -Ttext $(IMAGE_OFFSET) -e startup \
+LDFLAGS_vmlinux := --oformat $(ld_bfd) -Ttext $(IMAGE_OFFSET) -e startup \
 		   -T $(obj)/../../kernel/vmlinux.lds
 
 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
@@ -53,7 +53,7 @@ $(obj)/vmlinux.bin.lzo: $(obj)/vmlinux.bin FORCE
 
 OBJCOPYFLAGS += -R .empty_zero_page
 
-LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T
+LDFLAGS_piggy.o := -r --format binary --oformat $(ld_bfd) -T
 
 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix_y) FORCE
 	$(call if_changed,ld)
arch/sh/boot/romimage/Makefile +2 -2
index c7c8be58400c..17b03df0a8de 100644
@@ -13,7 +13,7 @@ mmcif-obj-$(CONFIG_CPU_SUBTYPE_SH7724)	:= $(obj)/mmcif-sh7724.o
 load-$(CONFIG_ROMIMAGE_MMCIF)		:= $(mmcif-load-y)
 obj-$(CONFIG_ROMIMAGE_MMCIF)		:= $(mmcif-obj-y)
 
-LDFLAGS_vmlinux := --oformat $(ld-bfd) -Ttext $(load-y) -e romstart \
+LDFLAGS_vmlinux := --oformat $(ld_bfd) -Ttext $(load-y) -e romstart \
 		   -T $(obj)/../../kernel/vmlinux.lds
 
 $(obj)/vmlinux: $(obj)/head.o $(obj-y) $(obj)/piggy.o FORCE
@@ -24,7 +24,7 @@ OBJCOPYFLAGS += -j .empty_zero_page
 $(obj)/zeropage.bin: vmlinux FORCE
 	$(call if_changed,objcopy)
 
-LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T
+LDFLAGS_piggy.o := -r --format binary --oformat $(ld_bfd) -T
 
 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
 	$(call if_changed,ld)
arch/um/drivers/rtc_user.c +1 -1
index 7c3cec4c68cf..006a5a164ea9 100644
@@ -28,7 +28,7 @@ int uml_rtc_start(bool timetravel)
 	int err;
 
 	if (timetravel) {
-		int err = os_pipe(uml_rtc_irq_fds, 1, 1);
+		err = os_pipe(uml_rtc_irq_fds, 1, 1);
 		if (err)
 			goto fail;
 	} else {
arch/x86/boot/compressed/sev.c +7 -0
index 5616c3b25806..92c9f8b79f0d 100644
@@ -165,6 +165,13 @@ static void __page_state_change(unsigned long paddr, enum psc_op op)
 	 */
 	if (op == SNP_PAGE_STATE_PRIVATE && pvalidate(paddr, RMP_PG_SIZE_4K, 1))
 		sev_es_terminate(SEV_TERM_SET_LINUX, GHCB_TERM_PVALIDATE);
+
+	/*
+	 * If validating memory (making it private) and affected by the
+	 * cache-coherency vulnerability, perform the cache eviction mitigation.
+	 */
+	if (op == SNP_PAGE_STATE_PRIVATE && !has_cpuflag(X86_FEATURE_COHERENCY_SFW_NO))
+		sev_evict_cache((void *)paddr, 1);
 }
 
 void snp_set_page_private(unsigned long paddr)
arch/x86/boot/cpuflags.c +13 -0
index d75237ba7ce9..5660d3229d29 100644
@@ -115,5 +115,18 @@ void get_cpuflags(void)
 			cpuid(0x80000001, &ignored, &ignored, &cpu.flags[6],
 			      &cpu.flags[1]);
 		}
+
+		if (max_amd_level >= 0x8000001f) {
+			u32 ebx;
+
+			/*
+			 * The X86_FEATURE_COHERENCY_SFW_NO feature bit is in
+			 * the virtualization flags entry (word 8) and set by
+			 * scattered.c, so the bit needs to be explicitly set.
+			 */
+			cpuid(0x8000001f, &ignored, &ebx, &ignored, &ignored);
+			if (ebx & BIT(31))
+				set_bit(X86_FEATURE_COHERENCY_SFW_NO, cpu.flags);
+		}
 	}
 }
arch/x86/include/asm/cpufeatures.h +1 -0
index 311cc58f2958..199441d11fbb 100644
@@ -228,6 +228,7 @@
 #define X86_FEATURE_FLEXPRIORITY	( 8*32+ 1) /* Intel FlexPriority */
 #define X86_FEATURE_EPT			( 8*32+ 2) /* Intel Extended Page Table */
 #define X86_FEATURE_VPID		( 8*32+ 3) /* Intel Virtual Processor ID */
+#define X86_FEATURE_COHERENCY_SFW_NO	( 8*32+ 4) /* "" SNP cache coherency software work around not needed */
 
 #define X86_FEATURE_VMMCALL		( 8*32+15) /* Prefer VMMCALL to VMCALL */
 #define X86_FEATURE_XENPV		( 8*32+16) /* "" Xen paravirtual guest */
arch/x86/kernel/cpu/scattered.c +1 -0
index 7a42e699f6e3..8fad19ec8555 100644
@@ -46,6 +46,7 @@ static const struct cpuid_bit cpuid_bits[] = {
 	{ X86_FEATURE_CPB,		CPUID_EDX,  9, 0x80000007, 0 },
 	{ X86_FEATURE_PROC_FEEDBACK,    CPUID_EDX, 11, 0x80000007, 0 },
 	{ X86_FEATURE_MBA,		CPUID_EBX,  6, 0x80000008, 0 },
+	{ X86_FEATURE_COHERENCY_SFW_NO,	CPUID_EBX, 31, 0x8000001f, 0 },
 	{ X86_FEATURE_SMBA,		CPUID_EBX,  2, 0x80000020, 0 },
 	{ X86_FEATURE_BMEC,		CPUID_EBX,  3, 0x80000020, 0 },
 	{ X86_FEATURE_TSA_SQ_NO,	CPUID_ECX,  1, 0x80000021, 0 },
arch/x86/kernel/sev-shared.c +36 -0
index acbec4de3ec3..b90dfa46ec5b 100644
@@ -1068,6 +1068,24 @@ static void __head setup_cpuid_table(const struct cc_blob_sev_info *cc_info)
 	}
 }
 
+static inline void sev_evict_cache(void *va, int npages)
+{
+	volatile u8 val __always_unused;
+	u8 *bytes = va;
+	int page_idx;
+
+	/*
+	 * For SEV guests, a read from the first/last cache-lines of a 4K page
+	 * using the guest key is sufficient to cause a flush of all cache-lines
+	 * associated with that 4K page without incurring all the overhead of a
+	 * full CLFLUSH sequence.
+	 */
+	for (page_idx = 0; page_idx < npages; page_idx++) {
+		val = bytes[page_idx * PAGE_SIZE];
+		val = bytes[page_idx * PAGE_SIZE + PAGE_SIZE - 1];
+	}
+}
+
 static void pvalidate_pages(struct snp_psc_desc *desc)
 {
 	struct psc_entry *e;
@@ -1100,6 +1118,24 @@ static void pvalidate_pages(struct snp_psc_desc *desc)
 			sev_es_terminate(SEV_TERM_SET_LINUX, GHCB_TERM_PVALIDATE);
 		}
 	}
+
+	/*
+	 * If not affected by the cache-coherency vulnerability there is no need
+	 * to perform the cache eviction mitigation.
+	 */
+	if (cpu_feature_enabled(X86_FEATURE_COHERENCY_SFW_NO))
+		return;
+
+	for (i = 0; i <= desc->hdr.end_entry; i++) {
+		e = &desc->entries[i];
+
+		/*
+		 * If validating memory (making it private) perform the cache
+		 * eviction mitigation.
+		 */
+		if (e->operation == SNP_PAGE_STATE_PRIVATE)
+			sev_evict_cache(pfn_to_kaddr(e->gfn), e->pagesize ? 512 : 1);
+	}
 }
 
 static int vmgexit_psc(struct ghcb *ghcb, struct snp_psc_desc *desc)
arch/x86/kernel/sev.c +10 -1
index 9905dc0e0b09..c6a9a9d3ff2f 100644
@@ -688,12 +688,14 @@ static void __head
 early_set_pages_state(unsigned long vaddr, unsigned long paddr,
 		      unsigned long npages, enum psc_op op)
 {
-	unsigned long paddr_end;
+	unsigned long vaddr_begin, paddr_end;
 	u64 val;
 	int ret;
 
 	vaddr = vaddr & PAGE_MASK;
 
+	vaddr_begin = vaddr;
+
 	paddr = paddr & PAGE_MASK;
 	paddr_end = paddr + (npages << PAGE_SHIFT);
 
@@ -736,6 +738,13 @@ early_set_pages_state(unsigned long vaddr, unsigned long paddr,
 		paddr += PAGE_SIZE;
 	}
 
+	/*
+	 * If validating memory (making it private) and affected by the
+	 * cache-coherency vulnerability, perform the cache eviction mitigation.
+	 */
+	if (op == SNP_PAGE_STATE_PRIVATE && !cpu_feature_enabled(X86_FEATURE_COHERENCY_SFW_NO))
+		sev_evict_cache((void *)vaddr_begin, npages);
+
 	return;
 
 e_term:
arch/x86/mm/extable.c +2 -3
index 2354c0156e51..94195d750e65 100644
@@ -121,13 +121,12 @@ static bool ex_handler_sgx(const struct exception_table_entry *fixup,
 static bool ex_handler_fprestore(const struct exception_table_entry *fixup,
 				 struct pt_regs *regs)
 {
-	regs->ip = ex_fixup_addr(fixup);
-
 	WARN_ONCE(1, "Bad FPU state detected at %pB, reinitializing FPU registers.",
 		  (void *)instruction_pointer(regs));
 
 	fpu_reset_from_exception_fixup();
-	return true;
+
+	return ex_handler_default(fixup, regs);
 }
 
 /*
drivers/block/ublk_drv.c +2 -2
index 8c873a8e39cd..ec6d7a08104d 100644
@@ -2030,7 +2030,7 @@ static void ublk_deinit_queues(struct ublk_device *ub)
 
 	for (i = 0; i < nr_queues; i++)
 		ublk_deinit_queue(ub, i);
-	kfree(ub->__queues);
+	kvfree(ub->__queues);
 }
 
 static int ublk_init_queues(struct ublk_device *ub)
@@ -2041,7 +2041,7 @@ static int ublk_init_queues(struct ublk_device *ub)
 	int i, ret = -ENOMEM;
 
 	ub->queue_size = ubq_size;
-	ub->__queues = kcalloc(nr_queues, ubq_size, GFP_KERNEL);
+	ub->__queues = kvcalloc(nr_queues, ubq_size, GFP_KERNEL);
 	if (!ub->__queues)
 		return ret;
 
drivers/bluetooth/btusb.c +4 -0
index db507a66fa8a..1a2d227b7b7b 100644
@@ -508,6 +508,10 @@ static const struct usb_device_id quirks_table[] = {
 	{ USB_DEVICE(0x13d3, 0x3549), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
 
+	/* Realtek 8851BU Bluetooth devices */
+	{ USB_DEVICE(0x3625, 0x010b), .driver_info = BTUSB_REALTEK |
+						     BTUSB_WIDEBAND_SPEECH },
+
 	/* Realtek 8852AE Bluetooth devices */
 	{ USB_DEVICE(0x0bda, 0x2852), .driver_info = BTUSB_REALTEK |
 						     BTUSB_WIDEBAND_SPEECH },
drivers/char/hw_random/mtk-rng.c +3 -1
index 1e3048f2bb38..6c4e40d0365f 100644
@@ -142,7 +142,9 @@ static int mtk_rng_probe(struct platform_device *pdev)
 	dev_set_drvdata(&pdev->dev, priv);
 	pm_runtime_set_autosuspend_delay(&pdev->dev, RNG_AUTOSUSPEND_TIMEOUT);
 	pm_runtime_use_autosuspend(&pdev->dev);
-	devm_pm_runtime_enable(&pdev->dev);
+	ret = devm_pm_runtime_enable(&pdev->dev);
+	if (ret)
+		return ret;
 
 	dev_info(&pdev->dev, "registered RNG driver\n");
 
drivers/clk/clk-axi-clkgen.c +1 -1
index 934e53a96ddd..00bf799964c6 100644
@@ -118,7 +118,7 @@ static const struct axi_clkgen_limits axi_clkgen_zynqmp_default_limits = {
 
 static const struct axi_clkgen_limits axi_clkgen_zynq_default_limits = {
 	.fpfd_min = 10000,
-	.fpfd_max = 300000,
+	.fpfd_max = 450000,
 	.fvco_min = 600000,
 	.fvco_max = 1200000,
 };
drivers/clk/davinci/psc.c +5 -0
index cd85d9f158b0..6f7b8f082ad3 100644
@@ -278,6 +278,11 @@ davinci_lpsc_clk_register(struct device *dev, const char *name,
 
 	lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s",
 					      best_dev_name(dev), name);
+	if (!lpsc->pm_domain.name) {
+		clk_hw_unregister(&lpsc->hw);
+		kfree(lpsc);
+		return ERR_PTR(-ENOMEM);
+	}
 	lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev;
 	lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev;
 	lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK;
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c +1 -2
index f3ce8664b288..b05553faed6d 100644
@@ -347,8 +347,7 @@ static SUNXI_CCU_GATE(dram_ohci_clk,	"dram-ohci",	"dram",
 
 static const char * const de_parents[] = { "pll-video", "pll-periph0" };
 static SUNXI_CCU_M_WITH_MUX_GATE(de_clk, "de", de_parents,
-				 0x104, 0, 4, 24, 2, BIT(31),
-				 CLK_SET_RATE_PARENT);
+				 0x104, 0, 4, 24, 3, BIT(31), 0);
 
 static const char * const tcon_parents[] = { "pll-video" };
 static SUNXI_CCU_M_WITH_MUX_GATE(tcon_clk, "tcon", tcon_parents,
drivers/clk/xilinx/xlnx_vcu.c +2 -2
index 60a3ed7c7263..299332818ba3 100644
@@ -587,8 +587,8 @@ static void xvcu_unregister_clock_provider(struct xvcu_device *xvcu)
 		xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_ENC_MCU]);
 	if (!IS_ERR_OR_NULL(hws[CLK_XVCU_ENC_CORE]))
 		xvcu_clk_hw_unregister_leaf(hws[CLK_XVCU_ENC_CORE]);
-
-	clk_hw_unregister_fixed_factor(xvcu->pll_post);
+	if (!IS_ERR_OR_NULL(xvcu->pll_post))
+		clk_hw_unregister_fixed_factor(xvcu->pll_post);
 }
 
 /**
drivers/cpufreq/cpufreq.c +11 -10
index 6682f422cadd..cc98d8cf5433 100644
@@ -1287,6 +1287,8 @@ static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
 		goto err_free_real_cpus;
 	}
 
+	init_rwsem(&policy->rwsem);
+
 	freq_constraints_init(&policy->constraints);
 
 	policy->nb_min.notifier_call = cpufreq_notifier_min;
@@ -1309,7 +1311,6 @@ static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
 	}
 
 	INIT_LIST_HEAD(&policy->policy_list);
-	init_rwsem(&policy->rwsem);
 	spin_lock_init(&policy->transition_lock);
 	init_waitqueue_head(&policy->transition_wait);
 	INIT_WORK(&policy->update, handle_update);
@@ -2938,15 +2939,6 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	cpufreq_driver = driver_data;
 	write_unlock_irqrestore(&cpufreq_driver_lock, flags);
 
-	/*
-	 * Mark support for the scheduler's frequency invariance engine for
-	 * drivers that implement target(), target_index() or fast_switch().
-	 */
-	if (!cpufreq_driver->setpolicy) {
-		static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
-		pr_debug("supports frequency invariance");
-	}
-
 	if (driver_data->setpolicy)
 		driver_data->flags |= CPUFREQ_CONST_LOOPS;
 
@@ -2977,6 +2969,15 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	hp_online = ret;
 	ret = 0;
 
+	/*
+	 * Mark support for the scheduler's frequency invariance engine for
+	 * drivers that implement target(), target_index() or fast_switch().
+	 */
+	if (!cpufreq_driver->setpolicy) {
+		static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
+		pr_debug("supports frequency invariance");
+	}
+
 	pr_debug("driver %s up and running\n", driver_data->name);
 	goto out;
 
drivers/cpufreq/intel_pstate.c +2 -2
index 8a4fdf212ce0..4f1206ff0a10 100644
@@ -2902,8 +2902,8 @@ static int intel_cpufreq_update_pstate(struct cpufreq_policy *policy,
 		int max_pstate = policy->strict_target ?
 					target_pstate : cpu->max_perf_ratio;
 
-		intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate, 0,
-					 fast_switch);
+		intel_cpufreq_hwp_update(cpu, target_pstate, max_pstate,
+					 target_pstate, fast_switch);
 	} else if (target_pstate != old_pstate) {
 		intel_cpufreq_perf_ctl_update(cpu, target_pstate, fast_switch);
 	}
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c +2 -2
index 70434601f99b..9e093d44a066 100644
@@ -265,8 +265,8 @@ static int sun8i_ce_cipher_prepare(struct crypto_engine *engine, void *async_req
 	}
 
 	chan->timeout = areq->cryptlen;
-	rctx->nr_sgs = nr_sgs;
-	rctx->nr_sgd = nr_sgd;
+	rctx->nr_sgs = ns;
+	rctx->nr_sgd = nd;
 	return 0;
 
 theend_sgs:
drivers/crypto/ccp/ccp-debugfs.c +3 -0
index a1055554b47a..dc26bc22c91d 100644
@@ -319,5 +319,8 @@ void ccp5_debugfs_setup(struct ccp_device *ccp)
 
 void ccp5_debugfs_destroy(void)
 {
+	mutex_lock(&ccp_debugfs_lock);
 	debugfs_remove_recursive(ccp_debugfs_dir);
+	ccp_debugfs_dir = NULL;
+	mutex_unlock(&ccp_debugfs_lock);
 }
drivers/crypto/img-hash.c +1 -1
index 45063693859c..de80c95309e6 100644
@@ -436,7 +436,7 @@ static int img_hash_write_via_dma_stop(struct img_hash_dev *hdev)
 	struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req);
 
 	if (ctx->flags & DRIVER_FLAGS_SG)
-		dma_unmap_sg(hdev->dev, ctx->sg, ctx->dma_ct, DMA_TO_DEVICE);
+		dma_unmap_sg(hdev->dev, ctx->sg, 1, DMA_TO_DEVICE);
 
 	return 0;
 }
drivers/crypto/inside-secure/safexcel_hash.c +6 -2
index f44c08f5f5ec..af4b978189e5 100644
@@ -249,7 +249,9 @@ static int safexcel_handle_req_result(struct safexcel_crypto_priv *priv,
 	safexcel_complete(priv, ring);
 
 	if (sreq->nents) {
-		dma_unmap_sg(priv->dev, areq->src, sreq->nents, DMA_TO_DEVICE);
+		dma_unmap_sg(priv->dev, areq->src,
+			     sg_nents_for_len(areq->src, areq->nbytes),
+			     DMA_TO_DEVICE);
 		sreq->nents = 0;
 	}
 
@@ -497,7 +499,9 @@ static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring,
 			 DMA_FROM_DEVICE);
 unmap_sg:
 	if (req->nents) {
-		dma_unmap_sg(priv->dev, areq->src, req->nents, DMA_TO_DEVICE);
+		dma_unmap_sg(priv->dev, areq->src,
+			     sg_nents_for_len(areq->src, areq->nbytes),
+			     DMA_TO_DEVICE);
 		req->nents = 0;
 	}
 cdesc_rollback:
drivers/crypto/intel/keembay/keembay-ocs-hcu-core.c +7 -1
index daba8ca05dbe..b73222303539 100644
@@ -68,6 +68,7 @@ struct ocs_hcu_ctx {
  * @sg_data_total:  Total data in the SG list at any time.
  * @sg_data_offset: Offset into the data of the current individual SG node.
  * @sg_dma_nents:   Number of sg entries mapped in dma_list.
+ * @nents:          Number of entries in the scatterlist.
  */
 struct ocs_hcu_rctx {
 	struct ocs_hcu_dev	*hcu_dev;
@@ -91,6 +92,7 @@ struct ocs_hcu_rctx {
 	unsigned int		sg_data_total;
 	unsigned int		sg_data_offset;
 	unsigned int		sg_dma_nents;
+	unsigned int		nents;
 };
 
 /**
@@ -199,7 +201,7 @@ static void kmb_ocs_hcu_dma_cleanup(struct ahash_request *req,
 
 	/* Unmap req->src (if mapped). */
 	if (rctx->sg_dma_nents) {
-		dma_unmap_sg(dev, req->src, rctx->sg_dma_nents, DMA_TO_DEVICE);
+		dma_unmap_sg(dev, req->src, rctx->nents, DMA_TO_DEVICE);
 		rctx->sg_dma_nents = 0;
 	}
 
@@ -260,6 +262,10 @@ static int kmb_ocs_dma_prepare(struct ahash_request *req)
 			rc = -ENOMEM;
 			goto cleanup;
 		}
+
+		/* Save the value of nents to pass to dma_unmap_sg. */
+		rctx->nents = nents;
+
 		/*
 		 * The value returned by dma_map_sg() can be < nents; so update
 		 * nents accordingly.
drivers/crypto/intel/qat/qat_common/adf_transport_debug.c +3 -1
index e2dd568b87b5..621b5d3dfcef 100644
@@ -31,8 +31,10 @@ static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos)
 	struct adf_etr_ring_data *ring = sfile->private;
 
 	if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) /
-		     ADF_MSG_SIZE_TO_BYTES(ring->msg_size)))
+		     ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) {
+		(*pos)++;
 		return NULL;
+	}
 
 	return ring->base_addr +
 		(ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++);
drivers/crypto/intel/qat/qat_common/qat_bl.c +3 -3
index 76baed0a76c0..0d2ce20db6d8 100644
@@ -38,7 +38,7 @@ void qat_bl_free_bufl(struct adf_accel_dev *accel_dev,
 		for (i = 0; i < blout->num_mapped_bufs; i++) {
 			dma_unmap_single(dev, blout->buffers[i].addr,
 					 blout->buffers[i].len,
-					 DMA_FROM_DEVICE);
+					 DMA_BIDIRECTIONAL);
 		}
 		dma_unmap_single(dev, blpout, sz_out, DMA_TO_DEVICE);
 
@@ -160,7 +160,7 @@ static int __qat_bl_sgl_to_bufl(struct adf_accel_dev *accel_dev,
 			}
 			buffers[y].addr = dma_map_single(dev, sg_virt(sg) + left,
 							 sg->length - left,
-							 DMA_FROM_DEVICE);
+							 DMA_BIDIRECTIONAL);
 			if (unlikely(dma_mapping_error(dev, buffers[y].addr)))
 				goto err_out;
 			buffers[y].len = sg->length;
@@ -202,7 +202,7 @@ static int __qat_bl_sgl_to_bufl(struct adf_accel_dev *accel_dev,
 		if (!dma_mapping_error(dev, buflout->buffers[i].addr))
 			dma_unmap_single(dev, buflout->buffers[i].addr,
 					 buflout->buffers[i].len,
-					 DMA_FROM_DEVICE);
+					 DMA_BIDIRECTIONAL);
 	}
 
 	if (!buf->sgl_dst_valid)
drivers/crypto/intel/qat/qat_common/qat_compression.c +4 -4
index 7842a9f22178..cf94ba3011d5 100644
@@ -197,7 +197,7 @@ static int qat_compression_alloc_dc_data(struct adf_accel_dev *accel_dev)
 	struct adf_dc_data *dc_data = NULL;
 	u8 *obuff = NULL;
 
-	dc_data = devm_kzalloc(dev, sizeof(*dc_data), GFP_KERNEL);
+	dc_data = kzalloc_node(sizeof(*dc_data), GFP_KERNEL, dev_to_node(dev));
 	if (!dc_data)
 		goto err;
 
@@ -205,7 +205,7 @@ static int qat_compression_alloc_dc_data(struct adf_accel_dev *accel_dev)
 	if (!obuff)
 		goto err;
 
-	obuff_p = dma_map_single(dev, obuff, ovf_buff_sz, DMA_FROM_DEVICE);
+	obuff_p = dma_map_single(dev, obuff, ovf_buff_sz, DMA_BIDIRECTIONAL);
 	if (unlikely(dma_mapping_error(dev, obuff_p)))
 		goto err;
 
@@ -233,9 +233,9 @@ static void qat_free_dc_data(struct adf_accel_dev *accel_dev)
 		return;
 
 	dma_unmap_single(dev, dc_data->ovf_buff_p, dc_data->ovf_buff_sz,
-			 DMA_FROM_DEVICE);
+			 DMA_BIDIRECTIONAL);
 	kfree_sensitive(dc_data->ovf_buff);
-	devm_kfree(dev, dc_data);
+	kfree(dc_data);
 	accel_dev->dc_data = NULL;
 }
 
drivers/crypto/marvell/cesa/cipher.c +3 -1
index 3876e3ce822f..eabed9d977df 100644
@@ -75,9 +75,12 @@ mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req)
 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req)
 {
 	struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(req);
+	struct mv_cesa_engine *engine = creq->base.engine;
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ)
 		mv_cesa_skcipher_dma_cleanup(req);
+
+	atomic_sub(req->cryptlen, &engine->load);
 }
 
 static void mv_cesa_skcipher_std_step(struct skcipher_request *req)
@@ -212,7 +215,6 @@ mv_cesa_skcipher_complete(struct crypto_async_request *req)
 	struct mv_cesa_engine *engine = creq->base.engine;
 	unsigned int ivsize;
 
-	atomic_sub(skreq->cryptlen, &engine->load);
 	ivsize = crypto_skcipher_ivsize(crypto_skcipher_reqtfm(skreq));
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ) {
drivers/crypto/marvell/cesa/hash.c +3 -2
index 6815eddc9068..e339ce7ad533 100644
@@ -110,9 +110,12 @@ static inline void mv_cesa_ahash_dma_cleanup(struct ahash_request *req)
 static inline void mv_cesa_ahash_cleanup(struct ahash_request *req)
 {
 	struct mv_cesa_ahash_req *creq = ahash_request_ctx(req);
+	struct mv_cesa_engine *engine = creq->base.engine;
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ)
 		mv_cesa_ahash_dma_cleanup(req);
+
+	atomic_sub(req->nbytes, &engine->load);
 }
 
 static void mv_cesa_ahash_last_cleanup(struct ahash_request *req)
@@ -395,8 +398,6 @@ static void mv_cesa_ahash_complete(struct crypto_async_request *req)
 			}
 		}
 	}
-
-	atomic_sub(ahashreq->nbytes, &engine->load);
 }
 
 static void mv_cesa_ahash_prepare(struct crypto_async_request *req,
drivers/devfreq/devfreq.c +3 -7
index 49c542ecccde..7b991bbef489 100644
@@ -1382,15 +1382,11 @@ int devfreq_remove_governor(struct devfreq_governor *governor)
 		int ret;
 		struct device *dev = devfreq->dev.parent;
 
+		if (!devfreq->governor)
+			continue;
+
 		if (!strncmp(devfreq->governor->name, governor->name,
 			     DEVFREQ_NAME_LEN)) {
-			/* we should have a devfreq governor! */
-			if (!devfreq->governor) {
-				dev_warn(dev, "%s: Governor %s NOT present\n",
-					 __func__, governor->name);
-				continue;
-				/* Fall through */
-			}
 			ret = devfreq->governor->event_handler(devfreq,
 						DEVFREQ_GOV_STOP, NULL);
 			if (ret) {
drivers/dma/mv_xor.c +19 -2
index ea48661e87ea..ca0ba1d46283 100644
@@ -1061,8 +1061,16 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 	 */
 	mv_chan->dummy_src_addr = dma_map_single(dma_dev->dev,
 		mv_chan->dummy_src, MV_XOR_MIN_BYTE_COUNT, DMA_FROM_DEVICE);
+	if (dma_mapping_error(dma_dev->dev, mv_chan->dummy_src_addr))
+		return ERR_PTR(-ENOMEM);
+
 	mv_chan->dummy_dst_addr = dma_map_single(dma_dev->dev,
 		mv_chan->dummy_dst, MV_XOR_MIN_BYTE_COUNT, DMA_TO_DEVICE);
+	if (dma_mapping_error(dma_dev->dev, mv_chan->dummy_dst_addr)) {
+		ret = -ENOMEM;
+		goto err_unmap_src;
+	}
+
 
 	/* allocate coherent memory for hardware descriptors
 	 * note: writecombine gives slightly better performance, but
@@ -1071,8 +1079,10 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 	mv_chan->dma_desc_pool_virt =
 	  dma_alloc_wc(&pdev->dev, MV_XOR_POOL_SIZE, &mv_chan->dma_desc_pool,
 		       GFP_KERNEL);
-	if (!mv_chan->dma_desc_pool_virt)
-		return ERR_PTR(-ENOMEM);
+	if (!mv_chan->dma_desc_pool_virt) {
+		ret = -ENOMEM;
+		goto err_unmap_dst;
+	}
 
 	/* discover transaction capabilites from the platform data */
 	dma_dev->cap_mask = cap_mask;
@@ -1155,6 +1165,13 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 err_free_dma:
 	dma_free_coherent(&pdev->dev, MV_XOR_POOL_SIZE,
 			  mv_chan->dma_desc_pool_virt, mv_chan->dma_desc_pool);
+err_unmap_dst:
+	dma_unmap_single(dma_dev->dev, mv_chan->dummy_dst_addr,
+			 MV_XOR_MIN_BYTE_COUNT, DMA_TO_DEVICE);
+err_unmap_src:
+	dma_unmap_single(dma_dev->dev, mv_chan->dummy_src_addr,
+			 MV_XOR_MIN_BYTE_COUNT, DMA_FROM_DEVICE);
+
 	return ERR_PTR(ret);
 }
 
drivers/dma/nbpfaxi.c +13 -0
index a361f8c29cd3..69c80d933903 100644
@@ -711,6 +711,9 @@ static int nbpf_desc_page_alloc(struct nbpf_channel *chan)
 		list_add_tail(&ldesc->node, &lhead);
 		ldesc->hwdesc_dma_addr = dma_map_single(dchan->device->dev,
 					hwdesc, sizeof(*hwdesc), DMA_TO_DEVICE);
+		if (dma_mapping_error(dchan->device->dev,
+				      ldesc->hwdesc_dma_addr))
+			goto unmap_error;
 
 		dev_dbg(dev, "%s(): mapped 0x%p to %pad\n", __func__,
 			hwdesc, &ldesc->hwdesc_dma_addr);
@@ -737,6 +740,16 @@ static int nbpf_desc_page_alloc(struct nbpf_channel *chan)
 	spin_unlock_irq(&chan->lock);
 
 	return ARRAY_SIZE(dpage->desc);
+
+unmap_error:
+	while (i--) {
+		ldesc--; hwdesc--;
+
+		dma_unmap_single(dchan->device->dev, ldesc->hwdesc_dma_addr,
+				 sizeof(hwdesc), DMA_TO_DEVICE);
+	}
+
+	return -ENOMEM;
 }
 
 static void nbpf_desc_put(struct nbpf_desc *desc)
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c +1 -1
index 79a566f3564a..c305ea4ec17d 100644
@@ -149,7 +149,7 @@ int phm_wait_on_indirect_register(struct pp_hwmgr *hwmgr,
 	}
 
 	cgs_write_register(hwmgr->device, indirect_port, index);
-	return phm_wait_on_register(hwmgr, indirect_port + 1, mask, value);
+	return phm_wait_on_register(hwmgr, indirect_port + 1, value, mask);
 }
 
 int phm_wait_for_register_unequal(struct pp_hwmgr *hwmgr,
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h +1 -0
index 427dec0cd1d3..b77ecec50733 100644
@@ -378,6 +378,7 @@ static const struct dpu_perf_cfg sc8180x_perf_data = {
 	.min_core_ib = 2400000,
 	.min_llcc_ib = 800000,
 	.min_dram_ib = 800000,
+	.min_prefill_lines = 24,
 	.danger_lut_tbl = {0xf, 0xffff, 0x0},
 	.safe_lut_tbl = {0xfff0, 0xf000, 0xffff},
 	.qos_lut_tbl = {
drivers/gpu/drm/rockchip/rockchip_drm_fb.c +1 -8
index cfe8b793d344..69ab8d4f289c 100644
@@ -52,16 +52,9 @@ rockchip_fb_create(struct drm_device *dev, struct drm_file *file,
 	}
 
 	if (drm_is_afbc(mode_cmd->modifier[0])) {
-		int ret, i;
-
 		ret = drm_gem_fb_afbc_init(dev, mode_cmd, afbc_fb);
 		if (ret) {
-			struct drm_gem_object **obj = afbc_fb->base.obj;
-
-			for (i = 0; i < info->num_planes; ++i)
-				drm_gem_object_put(obj[i]);
-
-			kfree(afbc_fb);
+			drm_framebuffer_put(&afbc_fb->base);
 			return ERR_PTR(ret);
 		}
 	}
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c +1 -1
index 7fb1c88bcc47..69dfe69ce0f8 100644
@@ -896,7 +896,7 @@ int vmw_compat_shader_add(struct vmw_private *dev_priv,
 		.busy_domain = VMW_BO_DOMAIN_SYS,
 		.bo_type = ttm_bo_type_device,
 		.size = size,
-		.pin = true,
+		.pin = false,
 		.keep_resv = true,
 	};
 
drivers/i2c/busses/i2c-stm32f7.c +79 -120

330 lines not on this page · raw message

drivers/infiniband/hw/erdma/erdma_verbs.c +2 -1
index b010c4209ea3..29ad2f5ffabe 100644
@@ -585,7 +585,8 @@ static struct erdma_mtt *erdma_create_cont_mtt(struct erdma_dev *dev,
 static void erdma_destroy_mtt_buf_sg(struct erdma_dev *dev,
 				     struct erdma_mtt *mtt)
 {
-	dma_unmap_sg(&dev->pdev->dev, mtt->sglist, mtt->nsg, DMA_TO_DEVICE);
+	dma_unmap_sg(&dev->pdev->dev, mtt->sglist,
+		     DIV_ROUND_UP(mtt->size, PAGE_SIZE), DMA_TO_DEVICE);
 	vfree(mtt->sglist);
 }
 
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +10 -5
index 9d23d4b5c128..4a10b826d15a 100644
@@ -5192,11 +5192,10 @@ static int hns_roce_v2_modify_qp(struct ib_qp *ibqp,
 {
 	struct hns_roce_dev *hr_dev = to_hr_dev(ibqp->device);
 	struct hns_roce_qp *hr_qp = to_hr_qp(ibqp);
-	struct hns_roce_v2_qp_context ctx[2];
-	struct hns_roce_v2_qp_context *context = ctx;
-	struct hns_roce_v2_qp_context *qpc_mask = ctx + 1;
+	struct hns_roce_v2_qp_context *context;
+	struct hns_roce_v2_qp_context *qpc_mask;
 	struct ib_device *ibdev = &hr_dev->ib_dev;
-	int ret;
+	int ret = -ENOMEM;
 
 	if (attr_mask & ~IB_QP_ATTR_STANDARD_BITS)
 		return -EOPNOTSUPP;
@@ -5207,7 +5206,11 @@ static int hns_roce_v2_modify_qp(struct ib_qp *ibqp,
 	 * we should set all bits of the relevant fields in context mask to
 	 * 0 at the same time, else set them to 0x1.
 	 */
-	memset(context, 0, hr_dev->caps.qpc_sz);
+	context = kvzalloc(sizeof(*context), GFP_KERNEL);
+	qpc_mask = kvzalloc(sizeof(*qpc_mask), GFP_KERNEL);
+	if (!context || !qpc_mask)
+		goto out;
+
 	memset(qpc_mask, 0xff, hr_dev->caps.qpc_sz);
 
 	ret = hns_roce_v2_set_abs_fields(ibqp, attr, attr_mask, cur_state,
@@ -5249,6 +5252,8 @@ static int hns_roce_v2_modify_qp(struct ib_qp *ibqp,
 		clear_qp(hr_qp);
 
 out:
+	kvfree(qpc_mask);
+	kvfree(context);
 	return ret;
 }
 
drivers/infiniband/hw/mlx5/dm.c +1 -1
index 3669c90b2dad..672e5cfd2fca 100644
@@ -282,7 +282,7 @@ static struct ib_dm *handle_alloc_dm_memic(struct ib_ucontext *ctx,
 	int err;
 	u64 address;
 
-	if (!MLX5_CAP_DEV_MEM(dm_db->dev, memic))
+	if (!dm_db || !MLX5_CAP_DEV_MEM(dm_db->dev, memic))
 		return ERR_PTR(-EOPNOTSUPP);
 
 	dm = kzalloc(sizeof(*dm), GFP_KERNEL);
drivers/interconnect/qcom/sc8180x.c +6 -0
index a741badaa966..4dd1d2f2e821 100644
@@ -1492,34 +1492,40 @@ static struct qcom_icc_bcm bcm_sh3 = {
 
 static struct qcom_icc_bcm bcm_sn0 = {
 	.name = "SN0",
+	.num_nodes = 1,
 	.nodes = { &slv_qns_gemnoc_sf }
 };
 
 static struct qcom_icc_bcm bcm_sn1 = {
 	.name = "SN1",
+	.num_nodes = 1,
 	.nodes = { &slv_qxs_imem }
 };
 
 static struct qcom_icc_bcm bcm_sn2 = {
 	.name = "SN2",
 	.keepalive = true,
+	.num_nodes = 1,
 	.nodes = { &slv_qns_gemnoc_gc }
 };
 
 static struct qcom_icc_bcm bcm_co2 = {
 	.name = "CO2",
+	.num_nodes = 1,
 	.nodes = { &mas_qnm_npu }
 };
 
 static struct qcom_icc_bcm bcm_sn3 = {
 	.name = "SN3",
 	.keepalive = true,
+	.num_nodes = 2,
 	.nodes = { &slv_srvc_aggre1_noc,
 		  &slv_qns_cnoc }
 };
 
 static struct qcom_icc_bcm bcm_sn4 = {
 	.name = "SN4",
+	.num_nodes = 1,
 	.nodes = { &slv_qxs_pimem }
 };
 
drivers/interconnect/qcom/sc8280xp.c +1 -0
index 0270f6c64481..c646cdf8a19b 100644
@@ -48,6 +48,7 @@ static struct qcom_icc_node qnm_a1noc_cfg = {
 	.id = SC8280XP_MASTER_A1NOC_CFG,
 	.channels = 1,
 	.buswidth = 4,
+	.num_links = 1,
 	.links = { SC8280XP_SLAVE_SERVICE_A1NOC },
 };
 
drivers/iommu/amd/iommu.c +15 -2
index a5d6d786dba5..23cfb98fe90a 100644
@@ -2159,8 +2159,21 @@ static inline u64 dma_max_address(void)
 	if (amd_iommu_pgtable == AMD_IOMMU_V1)
 		return ~0ULL;
 
-	/* V2 with 4/5 level page table */
-	return ((1ULL << PM_LEVEL_SHIFT(amd_iommu_gpt_level)) - 1);
+	/*
+	 * V2 with 4/5 level page table. Note that "2.2.6.5 AMD64 4-Kbyte Page
+	 * Translation" shows that the V2 table sign extends the top of the
+	 * address space creating a reserved region in the middle of the
+	 * translation, just like the CPU does. Further Vasant says the docs are
+	 * incomplete and this only applies to non-zero PASIDs. If the AMDv2
+	 * page table is assigned to the 0 PASID then there is no sign extension
+	 * check.
+	 *
+	 * Since the IOMMU must have a fixed geometry, and the core code does
+	 * not understand sign extended addressing, we have to chop off the high
+	 * bit to get consistent behavior with attachments of the domain to any
+	 * PASID.
+	 */
+	return ((1ULL << (PM_LEVEL_SHIFT(amd_iommu_gpt_level) - 1)) - 1);
 }
 
 static struct iommu_domain *amd_iommu_domain_alloc(unsigned type)
drivers/irqchip/Kconfig +1 -0
index e7b736800dd0..4ff91df76947 100644
@@ -483,6 +483,7 @@ config IMX_MU_MSI
 	tristate "i.MX MU used as MSI controller"
 	depends on OF && HAS_IOMEM
 	depends on ARCH_MXC || COMPILE_TEST
+	depends on ARM || ARM64
 	default m if ARCH_MXC
 	select IRQ_DOMAIN
 	select IRQ_DOMAIN_HIERARCHY
drivers/md/md.c +6 -3
index ca7ae3aad265..b086cbf24086 100644
@@ -9465,8 +9465,8 @@ void md_check_recovery(struct mddev *mddev)
 			 * remove disk.
 			 */
 			rdev_for_each_safe(rdev, tmp, mddev) {
-				if (test_and_clear_bit(ClusterRemove, &rdev->flags) &&
-						rdev->raid_disk < 0)
+				if (rdev->raid_disk < 0 &&
+				    test_and_clear_bit(ClusterRemove, &rdev->flags))
 					md_kick_rdev_from_array(rdev);
 			}
 		}
@@ -9813,8 +9813,11 @@ static void check_sb_changes(struct mddev *mddev, struct md_rdev *rdev)
 
 	/* Check for change of roles in the active devices */
 	rdev_for_each_safe(rdev2, tmp, mddev) {
-		if (test_bit(Faulty, &rdev2->flags))
+		if (test_bit(Faulty, &rdev2->flags)) {
+			if (test_bit(ClusterRemove, &rdev2->flags))
+				set_bit(MD_RECOVERY_NEEDED, &mddev->recovery);
 			continue;
+		}
 
 		/* Check if the roles changed */
 		role = le16_to_cpu(sb->dev_roles[rdev2->desc_nr]);
drivers/media/v4l2-core/v4l2-ctrls-core.c +4 -4
index a662fb60f73f..84fbf4e06cd3 100644
@@ -894,12 +894,12 @@ static int std_validate_compound(const struct v4l2_ctrl *ctrl, u32 idx,
 
 			p_h264_sps->flags &=
 				~V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS;
-
-			if (p_h264_sps->chroma_format_idc < 3)
-				p_h264_sps->flags &=
-					~V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE;
 		}
 
+		if (p_h264_sps->chroma_format_idc < 3)
+			p_h264_sps->flags &=
+				~V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE;
+
 		if (p_h264_sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)
 			p_h264_sps->flags &=
 				~V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD;
drivers/mtd/ftl.c +1 -1
index 8c22064ead38..f2bd1984609c 100644
@@ -344,7 +344,7 @@ static int erase_xfer(partition_t *part,
             return -ENOMEM;
 
     erase->addr = xfer->Offset;
-    erase->len = 1 << part->header.EraseUnitSize;
+    erase->len = 1ULL << part->header.EraseUnitSize;
 
     ret = mtd_erase(part->mbd.mtd, erase);
     if (!ret) {
drivers/mtd/nand/raw/atmel/nand-controller.c +1 -1
index 3f494f7c7ecb..d4fd1302008e 100644
@@ -373,7 +373,7 @@ static int atmel_nand_dma_transfer(struct atmel_nand_controller *nc,
 	dma_cookie_t cookie;
 
 	buf_dma = dma_map_single(nc->dev, buf, len, dir);
-	if (dma_mapping_error(nc->dev, dev_dma)) {
+	if (dma_mapping_error(nc->dev, buf_dma)) {
 		dev_err(nc->dev,
 			"Failed to prepare a buffer for DMA access\n");
 		goto err;
drivers/mtd/nand/raw/atmel/pmecc.c +6 -0
index 3c7dee1be21d..0b402823b619 100644
@@ -143,6 +143,7 @@ struct atmel_pmecc_caps {
 	int nstrengths;
 	int el_offset;
 	bool correct_erased_chunks;
+	bool clk_ctrl;
 };
 
 struct atmel_pmecc {
@@ -843,6 +844,10 @@ static struct atmel_pmecc *atmel_pmecc_create(struct platform_device *pdev,
 	if (IS_ERR(pmecc->regs.errloc))
 		return ERR_CAST(pmecc->regs.errloc);
 
+	/* pmecc data setup time */
+	if (caps->clk_ctrl)
+		writel(PMECC_CLK_133MHZ, pmecc->regs.base + ATMEL_PMECC_CLK);
+
 	/* Disable all interrupts before registering the PMECC handler. */
 	writel(0xffffffff, pmecc->regs.base + ATMEL_PMECC_IDR);
 	atmel_pmecc_reset(pmecc);
@@ -896,6 +901,7 @@ static struct atmel_pmecc_caps at91sam9g45_caps = {
 	.strengths = atmel_pmecc_strengths,
 	.nstrengths = 5,
 	.el_offset = 0x8c,
+	.clk_ctrl = true,
 };
 
 static struct atmel_pmecc_caps sama5d4_caps = {
drivers/mtd/nand/raw/rockchip-nand-controller.c +15 -0
index 2a95dd63b8c2..f68600ce5bfa 100644
@@ -656,9 +656,16 @@ static int rk_nfc_write_page_hwecc(struct nand_chip *chip, const u8 *buf,
 
 	dma_data = dma_map_single(nfc->dev, (void *)nfc->page_buf,
 				  mtd->writesize, DMA_TO_DEVICE);
+	if (dma_mapping_error(nfc->dev, dma_data))
+		return -ENOMEM;
+
 	dma_oob = dma_map_single(nfc->dev, nfc->oob_buf,
 				 ecc->steps * oob_step,
 				 DMA_TO_DEVICE);
+	if (dma_mapping_error(nfc->dev, dma_oob)) {
+		dma_unmap_single(nfc->dev, dma_data, mtd->writesize, DMA_TO_DEVICE);
+		return -ENOMEM;
+	}
 
 	reinit_completion(&nfc->done);
 	writel(INT_DMA, nfc->regs + nfc->cfg->int_en_off);
@@ -772,9 +779,17 @@ static int rk_nfc_read_page_hwecc(struct nand_chip *chip, u8 *buf, int oob_on,
 	dma_data = dma_map_single(nfc->dev, nfc->page_buf,
 				  mtd->writesize,
 				  DMA_FROM_DEVICE);
+	if (dma_mapping_error(nfc->dev, dma_data))
+		return -ENOMEM;
+
 	dma_oob = dma_map_single(nfc->dev, nfc->oob_buf,
 				 ecc->steps * oob_step,
 				 DMA_FROM_DEVICE);
+	if (dma_mapping_error(nfc->dev, dma_oob)) {
+		dma_unmap_single(nfc->dev, dma_data, mtd->writesize,
+				 DMA_FROM_DEVICE);
+		return -ENOMEM;
+	}
 
 	/*
 	 * The first blocks (4, 8 or 16 depending on the device)
drivers/net/can/kvaser_pciefd.c +1 -0
index 73b448cd00f2..0b74b79b08f0 100644
@@ -927,6 +927,7 @@ static int kvaser_pciefd_setup_can_ctrls(struct kvaser_pciefd *pcie)
 		can->err_rep_cnt = 0;
 		can->bec.txerr = 0;
 		can->bec.rxerr = 0;
+		can->can.dev->dev_port = i;
 
 		init_completion(&can->start_comp);
 		init_completion(&can->flush_comp);
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c +1 -0
index 15f28b6fe758..022b5b79247c 100644
@@ -856,6 +856,7 @@ static int kvaser_usb_init_one(struct kvaser_usb *dev, int channel)
 	}
 	SET_NETDEV_DEV(netdev, &dev->intf->dev);
 	netdev->dev_id = channel;
+	netdev->dev_port = channel;
 
 	dev->nets[channel] = priv;
 
drivers/net/can/usb/peak_usb/pcan_usb_fd.c +9 -8
index 4d85b29a17b7..ebefc274b50a 100644
@@ -49,7 +49,7 @@ struct __packed pcan_ufd_fw_info {
 	__le32	ser_no;		/* S/N */
 	__le32	flags;		/* special functions */
 
-	/* extended data when type == PCAN_USBFD_TYPE_EXT */
+	/* extended data when type >= PCAN_USBFD_TYPE_EXT */
 	u8	cmd_out_ep;	/* ep for cmd */
 	u8	cmd_in_ep;	/* ep for replies */
 	u8	data_out_ep[2];	/* ep for CANx TX */
@@ -982,10 +982,11 @@ static int pcan_usb_fd_init(struct peak_usb_device *dev)
 			dev->can.ctrlmode |= CAN_CTRLMODE_FD_NON_ISO;
 		}
 
-		/* if vendor rsp is of type 2, then it contains EP numbers to
-		 * use for cmds pipes. If not, then default EP should be used.
+		/* if vendor rsp type is greater than or equal to 2, then it
+		 * contains EP numbers to use for cmds pipes. If not, then
+		 * default EP should be used.
 		 */
-		if (fw_info->type != cpu_to_le16(PCAN_USBFD_TYPE_EXT)) {
+		if (le16_to_cpu(fw_info->type) < PCAN_USBFD_TYPE_EXT) {
 			fw_info->cmd_out_ep = PCAN_USBPRO_EP_CMDOUT;
 			fw_info->cmd_in_ep = PCAN_USBPRO_EP_CMDIN;
 		}
@@ -1018,11 +1019,11 @@ static int pcan_usb_fd_init(struct peak_usb_device *dev)
 	dev->can_channel_id =
 		le32_to_cpu(pdev->usb_if->fw_info.dev_id[dev->ctrl_idx]);
 
-	/* if vendor rsp is of type 2, then it contains EP numbers to
-	 * use for data pipes. If not, then statically defined EP are used
-	 * (see peak_usb_create_dev()).
+	/* if vendor rsp type is greater than or equal to 2, then it contains EP
+	 * numbers to use for data pipes. If not, then statically defined EP are
+	 * used (see peak_usb_create_dev()).
 	 */
-	if (fw_info->type == cpu_to_le16(PCAN_USBFD_TYPE_EXT)) {
+	if (le16_to_cpu(fw_info->type) >= PCAN_USBFD_TYPE_EXT) {
 		dev->ep_msg_in = fw_info->data_in_ep;
 		dev->ep_msg_out = fw_info->data_out_ep[dev->ctrl_idx];
 	}
drivers/net/ethernet/emulex/benet/be_cmds.c +1 -1
index a89aa4ac0a06..779f1324bb5f 100644
@@ -3852,8 +3852,8 @@ int be_cmd_set_mac_list(struct be_adapter *adapter, u8 *mac_array,
 	status = be_mcc_notify_wait(adapter);
 
 err:
-	dma_free_coherent(&adapter->pdev->dev, cmd.size, cmd.va, cmd.dma);
 	spin_unlock_bh(&adapter->mcc_lock);
+	dma_free_coherent(&adapter->pdev->dev, cmd.size, cmd.va, cmd.dma);
 	return status;
 }
 
drivers/net/ethernet/intel/fm10k/fm10k.h +2 -1
index 6119a4108838..65a2816142d9 100644
@@ -189,13 +189,14 @@ struct fm10k_q_vector {
 	struct fm10k_ring_container rx, tx;
 
 	struct napi_struct napi;
+	struct rcu_head rcu;	/* to avoid race with update stats on free */
+
 	cpumask_t affinity_mask;
 	char name[IFNAMSIZ + 9];
 
 #ifdef CONFIG_DEBUG_FS
 	struct dentry *dbg_q_vector;
 #endif /* CONFIG_DEBUG_FS */
-	struct rcu_head rcu;	/* to avoid race with update stats on free */
 
 	/* for dynamic allocation of rings associated with this q_vector */
 	struct fm10k_ring ring[] ____cacheline_internodealigned_in_smp;
drivers/net/ethernet/intel/i40e/i40e.h +1 -1
index 68f403dd2f52..9fb7c5fe05d1 100644
@@ -953,6 +953,7 @@ struct i40e_q_vector {
 	u16 reg_idx;		/* register index of the interrupt */
 
 	struct napi_struct napi;
+	struct rcu_head rcu;	/* to avoid race with update stats on free */
 
 	struct i40e_ring_container rx;
 	struct i40e_ring_container tx;
@@ -963,7 +964,6 @@ struct i40e_q_vector {
 	cpumask_t affinity_mask;
 	struct irq_affinity_notify affinity_notify;
 
-	struct rcu_head rcu;	/* to avoid race with update stats on free */
 	char name[I40E_INT_NAME_STR_LEN];
 	bool arm_wb_state;
 	bool in_busy_poll;
drivers/net/ethernet/intel/ixgbe/ixgbe.h +2 -1
index b6f0376e42f4..d15182657cea 100644
@@ -503,9 +503,10 @@ struct ixgbe_q_vector {
 	struct ixgbe_ring_container rx, tx;
 
 	struct napi_struct napi;
+	struct rcu_head rcu;	/* to avoid race with update stats on free */
+
 	cpumask_t affinity_mask;
 	int numa_node;
-	struct rcu_head rcu;	/* to avoid race with update stats on free */
 	char name[IFNAMSIZ + 9];
 
 	/* for dynamic allocation of rings associated with this q_vector */
drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c +3 -0
index 8e25f4ef5ccc..5ae787656a7c 100644
@@ -331,6 +331,9 @@ static int port_set_buffer(struct mlx5e_priv *priv,
 	if (err)
 		goto out;
 
+	/* RO bits should be set to 0 on write */
+	MLX5_SET(pbmc_reg, in, port_buffer_size, 0);
+
 	err = mlx5e_port_set_pbmc(mdev, in);
 out:
 	kfree(in);
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c +4 -0
index 51a144246ea6..f96e9bbf8fc6 100644
@@ -333,6 +333,10 @@ void mlx5e_ipsec_offload_handle_rx_skb(struct net_device *netdev,
 	if (unlikely(!sa_entry)) {
 		rcu_read_unlock();
 		atomic64_inc(&ipsec->sw_stats.ipsec_rx_drop_sadb_miss);
+		/* Clear secpath to prevent invalid dereference
+		 * in downstream XFRM policy checks.
+		 */
+		secpath_reset(skb);
 		return;
 	}
 	xfrm_state_hold(sa_entry->x);
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +1 -0
index d5731f7be04f..8278395ee20a 100644
@@ -1573,6 +1573,7 @@ static inline void mlx5e_build_rx_skb(struct mlx5_cqe64 *cqe,
 		unsigned int hdrlen = mlx5e_lro_update_hdr(skb, cqe, cqe_bcnt);
 
 		skb_shinfo(skb)->gso_size = DIV_ROUND_UP(cqe_bcnt - hdrlen, lro_num_seg);
+		skb_shinfo(skb)->gso_segs = lro_num_seg;
 		/* Subtract one since we already counted this as one
 		 * "regular" packet in mlx5e_complete_rx_cqe()
 		 */
drivers/net/ethernet/mellanox/mlx5/core/lib/dm.c +2 -2
index 9482e51ac82a..bdbbfaf504d9 100644
@@ -28,7 +28,7 @@ struct mlx5_dm *mlx5_dm_create(struct mlx5_core_dev *dev)
 
 	dm = kzalloc(sizeof(*dm), GFP_KERNEL);
 	if (!dm)
-		return ERR_PTR(-ENOMEM);
+		return NULL;
 
 	spin_lock_init(&dm->lock);
 
@@ -80,7 +80,7 @@ struct mlx5_dm *mlx5_dm_create(struct mlx5_core_dev *dev)
 err_steering:
 	kfree(dm);
 
-	return ERR_PTR(-ENOMEM);
+	return NULL;
 }
 
 void mlx5_dm_cleanup(struct mlx5_core_dev *dev)
drivers/net/ethernet/mellanox/mlx5/core/main.c +0 -3
index 32fa789a6960..62a85f09b52f 100644
@@ -1055,9 +1055,6 @@ static int mlx5_init_once(struct mlx5_core_dev *dev)
 	}
 
 	dev->dm = mlx5_dm_create(dev);
-	if (IS_ERR(dev->dm))
-		mlx5_core_warn(dev, "Failed to init device memory %ld\n", PTR_ERR(dev->dm));
-
 	dev->tracer = mlx5_fw_tracer_create(dev);
 	dev->hv_vhca = mlx5_hv_vhca_create(dev);
 	dev->rsc_dump = mlx5_rsc_dump_create(dev);
drivers/net/ipa/ipa_sysfs.c +5 -1
index 2ff09ce343b7..2e676b9d4042 100644
@@ -38,8 +38,12 @@ static const char *ipa_version_string(struct ipa *ipa)
 		return "4.11";
 	case IPA_VERSION_5_0:
 		return "5.0";
+	case IPA_VERSION_5_1:
+		return "5.1";
+	case IPA_VERSION_5_5:
+		return "5.5";
 	default:
-		return "0.0";	/* Won't happen (checked at probe time) */
+		return "0.0";	/* Should not happen */
 	}
 }
 
drivers/net/phy/mscc/mscc_ptp.c +1 -0
index 7e7ce79eadff..d0bd6ab45ebe 100644
@@ -897,6 +897,7 @@ static int vsc85xx_eth1_conf(struct phy_device *phydev, enum ts_blk blk,
 				     get_unaligned_be32(ptp_multicast));
 	} else {
 		val |= ANA_ETH1_FLOW_ADDR_MATCH2_ANY_MULTICAST;
+		val |= ANA_ETH1_FLOW_ADDR_MATCH2_ANY_UNICAST;
 		vsc85xx_ts_write_csr(phydev, blk,
 				     MSCC_ANA_ETH1_FLOW_ADDR_MATCH2(0), val);
 		vsc85xx_ts_write_csr(phydev, blk,
drivers/net/phy/mscc/mscc_ptp.h +1 -0
index da3465360e90..ae9ad925bfa8 100644
@@ -98,6 +98,7 @@
 #define MSCC_ANA_ETH1_FLOW_ADDR_MATCH2(x) (MSCC_ANA_ETH1_FLOW_ENA(x) + 3)
 #define ANA_ETH1_FLOW_ADDR_MATCH2_MASK_MASK	GENMASK(22, 20)
 #define ANA_ETH1_FLOW_ADDR_MATCH2_ANY_MULTICAST	0x400000
+#define ANA_ETH1_FLOW_ADDR_MATCH2_ANY_UNICAST	0x200000
 #define ANA_ETH1_FLOW_ADDR_MATCH2_FULL_ADDR	0x100000
 #define ANA_ETH1_FLOW_ADDR_MATCH2_SRC_DEST_MASK	GENMASK(17, 16)
 #define ANA_ETH1_FLOW_ADDR_MATCH2_SRC_DEST	0x020000
drivers/net/ppp/pptp.c +11 -7
index 6833ef0c7930..3a10303eb756 100644
@@ -159,19 +159,17 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
 	int len;
 	unsigned char *data;
 	__u32 seq_recv;
-
-
 	struct rtable *rt;
 	struct net_device *tdev;
 	struct iphdr  *iph;
 	int    max_headroom;
 
 	if (sk_pppox(po)->sk_state & PPPOX_DEAD)
-		goto tx_error;
+		goto tx_drop;
 
 	rt = pptp_route_output(po, &fl4);
 	if (IS_ERR(rt))
-		goto tx_error;
+		goto tx_drop;
 
 	tdev = rt->dst.dev;
 
@@ -179,16 +177,20 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
 
 	if (skb_headroom(skb) < max_headroom || skb_cloned(skb) || skb_shared(skb)) {
 		struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom);
-		if (!new_skb) {
-			ip_rt_put(rt);
+
+		if (!new_skb)
 			goto tx_error;
-		}
+
 		if (skb->sk)
 			skb_set_owner_w(new_skb, skb->sk);
 		consume_skb(skb);
 		skb = new_skb;
 	}
 
+	/* Ensure we can safely access protocol field and LCP code */
+	if (!pskb_may_pull(skb, 3))
+		goto tx_error;
+
 	data = skb->data;
 	islcp = ((data[0] << 8) + data[1]) == PPP_LCP && 1 <= data[2] && data[2] <= 7;
 
@@ -262,6 +264,8 @@ static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb)
 	return 1;
 
 tx_error:
+	ip_rt_put(rt);
+tx_drop:
 	kfree_skb(skb);
 	return 1;
 }
drivers/net/usb/usbnet.c +8 -3
index ac0458b96738..fd6b5865ac51 100644
@@ -1113,6 +1113,9 @@ static void __handle_link_change(struct usbnet *dev)
 	if (!test_bit(EVENT_DEV_OPEN, &dev->flags))
 		return;
 
+	if (test_and_clear_bit(EVENT_LINK_CARRIER_ON, &dev->flags))
+		netif_carrier_on(dev->net);
+
 	if (!netif_carrier_ok(dev->net)) {
 		/* kill URBs for reading packets to save bus bandwidth */
 		unlink_urbs(dev, &dev->rxq);
@@ -2015,10 +2018,12 @@ EXPORT_SYMBOL(usbnet_manage_power);
 void usbnet_link_change(struct usbnet *dev, bool link, bool need_reset)
 {
 	/* update link after link is reseted */
-	if (link && !need_reset)
-		netif_carrier_on(dev->net);
-	else
+	if (link && !need_reset) {
+		set_bit(EVENT_LINK_CARRIER_ON, &dev->flags);
+	} else {
+		clear_bit(EVENT_LINK_CARRIER_ON, &dev->flags);
 		netif_carrier_off(dev->net);
+	}
 
 	if (need_reset && link)
 		usbnet_defer_kevent(dev, EVENT_LINK_RESET);
drivers/net/vrf.c +2 -0
index 5968a3ab8177..64114e98d75d 100644
@@ -1345,6 +1345,8 @@ static void vrf_ip6_input_dst(struct sk_buff *skb, struct net_device *vrf_dev,
 	struct net *net = dev_net(vrf_dev);
 	struct rt6_info *rt6;
 
+	skb_dst_drop(skb);
+
 	rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb,
 				   RT6_LOOKUP_F_HAS_SADDR | RT6_LOOKUP_F_IFACE);
 	if (unlikely(!rt6))
drivers/net/wireless/ath/ath11k/hal.c +4 -0
index f32fa104ded9..df493d176062 100644
@@ -1319,6 +1319,10 @@ EXPORT_SYMBOL(ath11k_hal_srng_init);
 void ath11k_hal_srng_deinit(struct ath11k_base *ab)
 {
 	struct ath11k_hal *hal = &ab->hal;
+	int i;
+
+	for (i = 0; i < HAL_SRNG_RING_ID_MAX; i++)
+		ab->hal.srng_list[i].initialized = 0;
 
 	ath11k_hal_unregister_srng_key(ab);
 	ath11k_hal_free_cont_rdp(ab);
drivers/net/wireless/ath/ath12k/wmi.c +7 -5
index 958ac4ed5c34..e918218ce2d6 100644
@@ -6303,7 +6303,7 @@ static int ath12k_wmi_tlv_services_parser(struct ath12k_base *ab,
 					  void *data)
 {
 	const struct wmi_service_available_event *ev;
-	u32 *wmi_ext2_service_bitmap;
+	__le32 *wmi_ext2_service_bitmap;
 	int i, j;
 	u16 expected_len;
 
@@ -6335,12 +6335,12 @@ static int ath12k_wmi_tlv_services_parser(struct ath12k_base *ab,
 			   ev->wmi_service_segment_bitmap[3]);
 		break;
 	case WMI_TAG_ARRAY_UINT32:
-		wmi_ext2_service_bitmap = (u32 *)ptr;
+		wmi_ext2_service_bitmap = (__le32 *)ptr;
 		for (i = 0, j = WMI_MAX_EXT_SERVICE;
 		     i < WMI_SERVICE_SEGMENT_BM_SIZE32 && j < WMI_MAX_EXT2_SERVICE;
 		     i++) {
 			do {
-				if (wmi_ext2_service_bitmap[i] &
+				if (__le32_to_cpu(wmi_ext2_service_bitmap[i]) &
 				    BIT(j % WMI_AVAIL_SERVICE_BITS_IN_SIZE32))
 					set_bit(j, ab->wmi_ab.svc_map);
 			} while (++j % WMI_AVAIL_SERVICE_BITS_IN_SIZE32);
@@ -6348,8 +6348,10 @@ static int ath12k_wmi_tlv_services_parser(struct ath12k_base *ab,
 
 		ath12k_dbg(ab, ATH12K_DBG_WMI,
 			   "wmi_ext2_service_bitmap 0x%04x 0x%04x 0x%04x 0x%04x",
-			   wmi_ext2_service_bitmap[0], wmi_ext2_service_bitmap[1],
-			   wmi_ext2_service_bitmap[2], wmi_ext2_service_bitmap[3]);
+			   __le32_to_cpu(wmi_ext2_service_bitmap[0]),
+			   __le32_to_cpu(wmi_ext2_service_bitmap[1]),
+			   __le32_to_cpu(wmi_ext2_service_bitmap[2]),
+			   __le32_to_cpu(wmi_ext2_service_bitmap[3]));
 		break;
 	}
 	return 0;
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +4 -4
index c708ae91c3ce..e883cf80f506 100644
@@ -1541,10 +1541,6 @@ brcmf_cfg80211_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
 		return -EAGAIN;
 	}
 
-	/* If scan req comes for p2p0, send it over primary I/F */
-	if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif)
-		vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif;
-
 	brcmf_dbg(SCAN, "START ESCAN\n");
 
 	cfg->scan_request = request;
@@ -1560,6 +1556,10 @@ brcmf_cfg80211_scan(struct wiphy *wiphy, struct cfg80211_scan_request *request)
 	if (err)
 		goto scan_out;
 
+	/* If scan req comes for p2p0, send it over primary I/F */
+	if (vif == cfg->p2p.bss_idx[P2PAPI_BSSCFG_DEVICE].vif)
+		vif = cfg->p2p.bss_idx[P2PAPI_BSSCFG_PRIMARY].vif;
+
 	err = brcmf_do_escan(vif->ifp, request);
 	if (err)
 		goto scan_out;
drivers/net/wireless/intel/iwlwifi/dvm/main.c +9 -2
index a873be109f43..b490a88b97ca 100644
@@ -1048,9 +1048,11 @@ static void iwl_bg_restart(struct work_struct *data)
  *
  *****************************************************************************/
 
-static void iwl_setup_deferred_work(struct iwl_priv *priv)
+static int iwl_setup_deferred_work(struct iwl_priv *priv)
 {
 	priv->workqueue = alloc_ordered_workqueue(DRV_NAME, 0);
+	if (!priv->workqueue)
+		return -ENOMEM;
 
 	INIT_WORK(&priv->restart, iwl_bg_restart);
 	INIT_WORK(&priv->beacon_update, iwl_bg_beacon_update);
@@ -1067,6 +1069,8 @@ static void iwl_setup_deferred_work(struct iwl_priv *priv)
 	timer_setup(&priv->statistics_periodic, iwl_bg_statistics_periodic, 0);
 
 	timer_setup(&priv->ucode_trace, iwl_bg_ucode_trace, 0);
+
+	return 0;
 }
 
 void iwl_cancel_deferred_work(struct iwl_priv *priv)
@@ -1456,7 +1460,9 @@ static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans,
 	/********************
 	 * 6. Setup services
 	 ********************/
-	iwl_setup_deferred_work(priv);
+	if (iwl_setup_deferred_work(priv))
+		goto out_uninit_drv;
+
 	iwl_setup_rx_handlers(priv);
 
 	iwl_power_initialize(priv);
@@ -1494,6 +1500,7 @@ static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans,
 	iwl_cancel_deferred_work(priv);
 	destroy_workqueue(priv->workqueue);
 	priv->workqueue = NULL;
+out_uninit_drv:
 	iwl_uninit_drv(priv);
 out_free_eeprom_blob:
 	kfree(priv->eeprom_blob);
drivers/net/wireless/intel/iwlwifi/mvm/ops.c +3 -1
index b2cf5aeff7e3..d2dbbc9fe384 100644
@@ -65,8 +65,10 @@ static int __init iwl_mvm_init(void)
 	}
 
 	ret = iwl_opmode_register("iwlmvm", &iwl_mvm_ops);
-	if (ret)
+	if (ret) {
 		pr_err("Unable to register MVM op_mode: %d\n", ret);
+		iwl_mvm_rate_control_unregister();
+	}
 
 	return ret;
 }
drivers/net/wireless/marvell/mwl8k.c +4 -0
index c0ecd769ada7..1a48914e6f82 100644
@@ -1222,6 +1222,10 @@ static int rxq_refill(struct ieee80211_hw *hw, int index, int limit)
 
 		addr = dma_map_single(&priv->pdev->dev, skb->data,
 				      MWL8K_RX_MAXSZ, DMA_FROM_DEVICE);
+		if (dma_mapping_error(&priv->pdev->dev, addr)) {
+			kfree_skb(skb);
+			break;
+		}
 
 		rxq->rxd_count++;
 		rx = rxq->tail++;
drivers/net/wireless/purelifi/plfxlc/mac.c +6 -5
index 7ebc0df0944c..f9f7532c32fd 100644
@@ -100,11 +100,6 @@ int plfxlc_mac_init_hw(struct ieee80211_hw *hw)
 	return r;
 }
 
-void plfxlc_mac_release(struct plfxlc_mac *mac)
-{
-	plfxlc_chip_release(&mac->chip);
-}
-
 int plfxlc_op_start(struct ieee80211_hw *hw)
 {
 	plfxlc_hw_mac(hw)->chip.usb.initialized = 1;
@@ -752,3 +747,9 @@ struct ieee80211_hw *plfxlc_mac_alloc_hw(struct usb_interface *intf)
 	SET_IEEE80211_DEV(hw, &intf->dev);
 	return hw;
 }
+
+void plfxlc_mac_release_hw(struct ieee80211_hw *hw)
+{
+	plfxlc_chip_release(&plfxlc_hw_mac(hw)->chip);
+	ieee80211_free_hw(hw);
+}
drivers/net/wireless/purelifi/plfxlc/mac.h +1 -1
index 49b92413729b..c0445932b2e8 100644
@@ -168,7 +168,7 @@ static inline u8 *plfxlc_mac_get_perm_addr(struct plfxlc_mac *mac)
 }
 
 struct ieee80211_hw *plfxlc_mac_alloc_hw(struct usb_interface *intf);
-void plfxlc_mac_release(struct plfxlc_mac *mac);
+void plfxlc_mac_release_hw(struct ieee80211_hw *hw);
 
 int plfxlc_mac_preinit_hw(struct ieee80211_hw *hw, const u8 *hw_address);
 int plfxlc_mac_init_hw(struct ieee80211_hw *hw);
drivers/net/wireless/purelifi/plfxlc/usb.c +14 -15
index 8151bc5e00cc..901e0139969e 100644
@@ -604,7 +604,7 @@ static int probe(struct usb_interface *intf,
 	r = plfxlc_upload_mac_and_serial(intf, hw_address, serial_number);
 	if (r) {
 		dev_err(&intf->dev, "MAC and Serial upload failed (%d)\n", r);
-		goto error;
+		goto error_free_hw;
 	}
 
 	chip->unit_type = STA;
@@ -613,13 +613,13 @@ static int probe(struct usb_interface *intf,
 	r = plfxlc_mac_preinit_hw(hw, hw_address);
 	if (r) {
 		dev_err(&intf->dev, "Init mac failed (%d)\n", r);
-		goto error;
+		goto error_free_hw;
 	}
 
 	r = ieee80211_register_hw(hw);
 	if (r) {
 		dev_err(&intf->dev, "Register device failed (%d)\n", r);
-		goto error;
+		goto error_free_hw;
 	}
 
 	if ((le16_to_cpu(interface_to_usbdev(intf)->descriptor.idVendor) ==
@@ -632,7 +632,7 @@ static int probe(struct usb_interface *intf,
 	}
 	if (r != 0) {
 		dev_err(&intf->dev, "FPGA download failed (%d)\n", r);
-		goto error;
+		goto error_unreg_hw;
 	}
 
 	tx->mac_fifo_full = 0;
@@ -642,21 +642,21 @@ static int probe(struct usb_interface *intf,
 	r = plfxlc_usb_init_hw(usb);
 	if (r < 0) {
 		dev_err(&intf->dev, "usb_init_hw failed (%d)\n", r);
-		goto error;
+		goto error_unreg_hw;
 	}
 
 	msleep(PLF_MSLEEP_TIME);
 	r = plfxlc_chip_switch_radio(chip, PLFXLC_RADIO_ON);
 	if (r < 0) {
 		dev_dbg(&intf->dev, "chip_switch_radio_on failed (%d)\n", r);
-		goto error;
+		goto error_unreg_hw;
 	}
 
 	msleep(PLF_MSLEEP_TIME);
 	r = plfxlc_chip_set_rate(chip, 8);
 	if (r < 0) {
 		dev_dbg(&intf->dev, "chip_set_rate failed (%d)\n", r);
-		goto error;
+		goto error_unreg_hw;
 	}
 
 	msleep(PLF_MSLEEP_TIME);
@@ -664,7 +664,7 @@ static int probe(struct usb_interface *intf,
 			    hw_address, ETH_ALEN, USB_REQ_MAC_WR);
 	if (r < 0) {
 		dev_dbg(&intf->dev, "MAC_WR failure (%d)\n", r);
-		goto error;
+		goto error_unreg_hw;
 	}
 
 	plfxlc_chip_enable_rxtx(chip);
@@ -691,12 +691,12 @@ static int probe(struct usb_interface *intf,
 	plfxlc_mac_init_hw(hw);
 	usb->initialized = true;
 	return 0;
+
+error_unreg_hw:
+	ieee80211_unregister_hw(hw);
+error_free_hw:
+	plfxlc_mac_release_hw(hw);
 error:
-	if (hw) {
-		plfxlc_mac_release(plfxlc_hw_mac(hw));
-		ieee80211_unregister_hw(hw);
-		ieee80211_free_hw(hw);
-	}
 	dev_err(&intf->dev, "pureLifi:Device error");
 	return r;
 }
@@ -730,8 +730,7 @@ static void disconnect(struct usb_interface *intf)
 	 */
 	usb_reset_device(interface_to_usbdev(intf));
 
-	plfxlc_mac_release(mac);
-	ieee80211_free_hw(hw);
+	plfxlc_mac_release_hw(hw);
 }
 
 static void plfxlc_usb_resume(struct plfxlc_usb *usb)
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +2 -1
index 04945f905d6d..f6528469022b 100644
@@ -1041,10 +1041,11 @@ static void rtl8187_stop(struct ieee80211_hw *dev)
 	rtl818x_iowrite8(priv, &priv->map->CONFIG4, reg | RTL818X_CONFIG4_VCOOFF);
 	rtl818x_iowrite8(priv, &priv->map->EEPROM_CMD, RTL818X_EEPROM_CMD_NORMAL);
 
+	usb_kill_anchored_urbs(&priv->anchored);
+
 	while ((skb = skb_dequeue(&priv->b_tx_status.queue)))
 		dev_kfree_skb_any(skb);
 
-	usb_kill_anchored_urbs(&priv->anchored);
 	mutex_unlock(&priv->conf_mutex);
 
 	if (!priv->is_rtl8187b)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +1 -1
index 05e77d2bda37..03aacb7a4317 100644
@@ -6501,7 +6501,7 @@ static int rtl8xxxu_submit_rx_urb(struct rtl8xxxu_priv *priv,
 		skb_size = fops->rx_agg_buf_size;
 		skb_size += (rx_desc_sz + sizeof(struct rtl8723au_phy_stats));
 	} else {
-		skb_size = IEEE80211_MAX_FRAME_LEN;
+		skb_size = IEEE80211_MAX_FRAME_LEN + rx_desc_sz;
 	}
 
 	skb = __netdev_alloc_skb(NULL, skb_size, GFP_KERNEL);
drivers/net/wireless/realtek/rtw89/core.c +5 -0
index d1d8fd812cbf..21e9ec8768b5 100644
@@ -1597,6 +1597,11 @@ static void rtw89_core_cancel_6ghz_probe_tx(struct rtw89_dev *rtwdev,
 	if (rx_status->band != NL80211_BAND_6GHZ)
 		return;
 
+	if (unlikely(!(rtwdev->chip->support_bands & BIT(NL80211_BAND_6GHZ)))) {
+		rtw89_debug(rtwdev, RTW89_DBG_UNEXP, "invalid rx on unsupported 6 GHz\n");
+		return;
+	}
+
 	ssid_ie = cfg80211_find_ie(WLAN_EID_SSID, ies, skb->len);
 
 	list_for_each_entry(info, &pkt_list[NL80211_BAND_6GHZ], list) {
drivers/pci/controller/pcie-rockchip-host.c +1 -1
index afbbdccd195d..6ff20d585396 100644
@@ -436,7 +436,7 @@ static irqreturn_t rockchip_pcie_subsys_irq_handler(int irq, void *arg)
 			dev_dbg(dev, "malformed TLP received from the link\n");
 
 		if (sub_reg & PCIE_CORE_INT_UCR)
-			dev_dbg(dev, "malformed TLP received from the link\n");
+			dev_dbg(dev, "Unexpected Completion received from the link\n");
 
 		if (sub_reg & PCIE_CORE_INT_FCE)
 			dev_dbg(dev, "an error was observed in the flow control advertisements from the other side\n");
drivers/pci/endpoint/functions/pci-epf-vntb.c +2 -2
index 3368f483f818..33c3f9b980e6 100644
@@ -531,7 +531,7 @@ static int epf_ntb_db_bar_init(struct epf_ntb *ntb)
 	struct device *dev = &ntb->epf->dev;
 	int ret;
 	struct pci_epf_bar *epf_bar;
-	void __iomem *mw_addr;
+	void *mw_addr;
 	enum pci_barno barno;
 	size_t size = sizeof(u32) * ntb->db_count;
 
@@ -711,7 +711,7 @@ static int epf_ntb_init_epc_bar(struct epf_ntb *ntb)
 		barno = pci_epc_get_next_free_bar(epc_features, barno);
 		if (barno < 0) {
 			dev_err(dev, "Fail to get NTB function BAR\n");
-			return barno;
+			return -ENOENT;
 		}
 		ntb->epf_ntb_bar[bar] = barno;
 	}
drivers/pci/hotplug/pnv_php.c +211 -22

338 lines not on this page · raw message

drivers/pinctrl/pinmux.c +9 -11
index 97e8af88df85..ab853d6c586b 100644
@@ -238,18 +238,7 @@ static const char *pin_free(struct pinctrl_dev *pctldev, int pin,
 			if (desc->mux_usecount)
 				return NULL;
 		}
-	}
-
-	/*
-	 * If there is no kind of request function for the pin we just assume
-	 * we got it by default and proceed.
-	 */
-	if (gpio_range && ops->gpio_disable_free)
-		ops->gpio_disable_free(pctldev, gpio_range, pin);
-	else if (ops->free)
-		ops->free(pctldev, pin);
 
-	scoped_guard(mutex, &desc->mux_lock) {
 		if (gpio_range) {
 			owner = desc->gpio_owner;
 			desc->gpio_owner = NULL;
@@ -260,6 +249,15 @@ static const char *pin_free(struct pinctrl_dev *pctldev, int pin,
 		}
 	}
 
+	/*
+	 * If there is no kind of request function for the pin we just assume
+	 * we got it by default and proceed.
+	 */
+	if (gpio_range && ops->gpio_disable_free)
+		ops->gpio_disable_free(pctldev, gpio_range, pin);
+	else if (ops->free)
+		ops->free(pctldev, pin);
+
 	module_put(pctldev->owner);
 
 	return owner;
drivers/pinctrl/sunxi/pinctrl-sunxi.c +8 -3
index 73bcf806af0e..fc11c3d55fa8 100644
@@ -395,6 +395,7 @@ static int sunxi_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
 	const char *function, *pin_prop;
 	const char *group;
 	int ret, npins, nmaps, configlen = 0, i = 0;
+	struct pinctrl_map *new_map;
 
 	*map = NULL;
 	*num_maps = 0;
@@ -469,9 +470,13 @@ static int sunxi_pctrl_dt_node_to_map(struct pinctrl_dev *pctldev,
 	 * We know have the number of maps we need, we can resize our
 	 * map array
 	 */
-	*map = krealloc(*map, i * sizeof(struct pinctrl_map), GFP_KERNEL);
-	if (!*map)
-		return -ENOMEM;
+	new_map = krealloc(*map, i * sizeof(struct pinctrl_map), GFP_KERNEL);
+	if (!new_map) {
+		ret = -ENOMEM;
+		goto err_free_map;
+	}
+
+	*map = new_map;
 
 	return 0;
 
drivers/power/supply/cpcap-charger.c +2 -3
index be9764541d52..05a3f4b208a4 100644
@@ -689,9 +689,8 @@ static void cpcap_usb_detect(struct work_struct *work)
 		struct power_supply *battery;
 
 		battery = power_supply_get_by_name("battery");
-		if (IS_ERR_OR_NULL(battery)) {
-			dev_err(ddata->dev, "battery power_supply not available %li\n",
-					PTR_ERR(battery));
+		if (!battery) {
+			dev_err(ddata->dev, "battery power_supply not available\n");
 			return;
 		}
 
drivers/power/supply/max14577_charger.c +2 -2
index 96f9de775043..daa5a6d41bb4 100644
@@ -501,7 +501,7 @@ static struct max14577_charger_platform_data *max14577_charger_dt_init(
 static struct max14577_charger_platform_data *max14577_charger_dt_init(
 		struct platform_device *pdev)
 {
-	return NULL;
+	return ERR_PTR(-ENODATA);
 }
 #endif /* CONFIG_OF */
 
@@ -572,7 +572,7 @@ static int max14577_charger_probe(struct platform_device *pdev)
 	chg->max14577 = max14577;
 
 	chg->pdata = max14577_charger_dt_init(pdev);
-	if (IS_ERR_OR_NULL(chg->pdata))
+	if (IS_ERR(chg->pdata))
 		return PTR_ERR(chg->pdata);
 
 	ret = max14577_charger_reg_init(chg);
drivers/powercap/dtpm_cpu.c +2 -0
index ae7ee611978b..99a82060ead9 100644
@@ -93,6 +93,8 @@ static u64 get_pd_power_uw(struct dtpm *dtpm)
 	int i;
 
 	pd = em_cpu_get(dtpm_cpu->cpu);
+	if (!pd)
+		return 0;
 
 	pd_mask = em_span_cpus(pd);
 
drivers/pps/pps.c +9 -2
index 63f96357eb9f..e1689957736d 100644
@@ -41,6 +41,9 @@ static __poll_t pps_cdev_poll(struct file *file, poll_table *wait)
 
 	poll_wait(file, &pps->queue, wait);
 
+	if (pps->last_fetched_ev == pps->last_ev)
+		return 0;
+
 	return EPOLLIN | EPOLLRDNORM;
 }
 
@@ -186,9 +189,11 @@ static long pps_cdev_ioctl(struct file *file,
 		if (err)
 			return err;
 
-		/* Return the fetched timestamp */
+		/* Return the fetched timestamp and save last fetched event  */
 		spin_lock_irq(&pps->lock);
 
+		pps->last_fetched_ev = pps->last_ev;
+
 		fdata.info.assert_sequence = pps->assert_sequence;
 		fdata.info.clear_sequence = pps->clear_sequence;
 		fdata.info.assert_tu = pps->assert_tu;
@@ -272,9 +277,11 @@ static long pps_cdev_compat_ioctl(struct file *file,
 		if (err)
 			return err;
 
-		/* Return the fetched timestamp */
+		/* Return the fetched timestamp and save last fetched event  */
 		spin_lock_irq(&pps->lock);
 
+		pps->last_fetched_ev = pps->last_ev;
+
 		compat.info.assert_sequence = pps->assert_sequence;
 		compat.info.clear_sequence = pps->clear_sequence;
 		compat.info.current_mode = pps->current_mode;
drivers/rtc/rtc-ds1307.c +1 -1
index 0c7845196092..e14981383c01 100644
@@ -1461,7 +1461,7 @@ static long ds3231_clk_sqw_round_rate(struct clk_hw *hw, unsigned long rate,
 			return ds3231_clk_sqw_rates[i];
 	}
 
-	return 0;
+	return ds3231_clk_sqw_rates[ARRAY_SIZE(ds3231_clk_sqw_rates) - 1];
 }
 
 static int ds3231_clk_sqw_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/rtc/rtc-hym8563.c +1 -1
index b018535c842b..b873918042e3 100644
@@ -294,7 +294,7 @@ static long hym8563_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
 		if (clkout_rates[i] <= rate)
 			return clkout_rates[i];
 
-	return 0;
+	return clkout_rates[0];
 }
 
 static int hym8563_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/rtc/rtc-nct3018y.c +1 -1
index c4533c0f5389..5e7a8c7ad58c 100644
@@ -342,7 +342,7 @@ static long nct3018y_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
 		if (clkout_rates[i] <= rate)
 			return clkout_rates[i];
 
-	return 0;
+	return clkout_rates[0];
 }
 
 static int nct3018y_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/rtc/rtc-pcf85063.c +1 -1
index 73848f764559..2b4921c23467 100644
@@ -410,7 +410,7 @@ static long pcf85063_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
 		if (clkout_rates[i] <= rate)
 			return clkout_rates[i];
 
-	return 0;
+	return clkout_rates[0];
 }
 
 static int pcf85063_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/rtc/rtc-pcf8563.c +1 -1
index ea82b89d8929..61be91c25cf1 100644
@@ -386,7 +386,7 @@ static long pcf8563_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
 		if (clkout_rates[i] <= rate)
 			return clkout_rates[i];
 
-	return 0;
+	return clkout_rates[0];
 }
 
 static int pcf8563_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/rtc/rtc-rv3028.c +1 -1
index 2f001c59c61d..86b7f821e937 100644
@@ -738,7 +738,7 @@ static long rv3028_clkout_round_rate(struct clk_hw *hw, unsigned long rate,
 		if (clkout_rates[i] <= rate)
 			return clkout_rates[i];
 
-	return 0;
+	return clkout_rates[0];
 }
 
 static int rv3028_clkout_set_rate(struct clk_hw *hw, unsigned long rate,
drivers/scsi/elx/efct/efct_lio.c +1 -1
index a982b9cf9870..49d7fe150684 100644
@@ -382,7 +382,7 @@ efct_lio_sg_unmap(struct efct_io *io)
 		return;
 
 	dma_unmap_sg(&io->efct->pci->dev, cmd->t_data_sg,
-		     ocp->seg_map_cnt, cmd->data_direction);
+		     cmd->t_data_nents, cmd->data_direction);
 	ocp->seg_map_cnt = 0;
 }
 
drivers/scsi/ibmvscsi_tgt/libsrp.c +4 -2
index 8a0e28aec928..0ecad398ed3d 100644
@@ -184,7 +184,8 @@ static int srp_direct_data(struct ibmvscsis_cmd *cmd, struct srp_direct_buf *md,
 	err = rdma_io(cmd, sg, nsg, md, 1, dir, len);
 
 	if (dma_map)
-		dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL);
+		dma_unmap_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents,
+			     DMA_BIDIRECTIONAL);
 
 	return err;
 }
@@ -256,7 +257,8 @@ static int srp_indirect_data(struct ibmvscsis_cmd *cmd, struct srp_cmd *srp_cmd,
 	err = rdma_io(cmd, sg, nsg, md, nmd, dir, len);
 
 	if (dma_map)
-		dma_unmap_sg(iue->target->dev, sg, nsg, DMA_BIDIRECTIONAL);
+		dma_unmap_sg(iue->target->dev, sg, cmd->se_cmd.t_data_nents,
+			     DMA_BIDIRECTIONAL);
 
 free_mem:
 	if (token && dma_map) {
drivers/scsi/isci/request.c +1 -1
index 7162a5029b37..3841db665fe4 100644
@@ -2907,7 +2907,7 @@ static void isci_request_io_request_complete(struct isci_host *ihost,
 					 task->total_xfer_len, task->data_dir);
 		else  /* unmap the sgl dma addresses */
 			dma_unmap_sg(&ihost->pdev->dev, task->scatter,
-				     request->num_sg_entries, task->data_dir);
+				     task->num_scatter, task->data_dir);
 		break;
 	case SAS_PROTOCOL_SMP: {
 		struct scatterlist *sg = &task->smp_task.smp_req;
drivers/scsi/mpt3sas/mpt3sas_scsih.c +1 -2
index f270b0d829f6..0afa485fb300 100644
@@ -10818,8 +10818,7 @@ _mpt3sas_fw_work(struct MPT3SAS_ADAPTER *ioc, struct fw_event_work *fw_event)
 		break;
 	case MPI2_EVENT_PCIE_TOPOLOGY_CHANGE_LIST:
 		_scsih_pcie_topology_change_event(ioc, fw_event);
-		ioc->current_event = NULL;
-		return;
+		break;
 	}
 out:
 	fw_event_work_put(fw_event);
drivers/scsi/mvsas/mv_sas.c +2 -2
index 1444b1f1c4c8..d6897432cf0f 100644
@@ -828,7 +828,7 @@ static int mvs_task_prep(struct sas_task *task, struct mvs_info *mvi, int is_tmf
 	dev_printk(KERN_ERR, mvi->dev, "mvsas prep failed[%d]!\n", rc);
 	if (!sas_protocol_ata(task->task_proto))
 		if (n_elem)
-			dma_unmap_sg(mvi->dev, task->scatter, n_elem,
+			dma_unmap_sg(mvi->dev, task->scatter, task->num_scatter,
 				     task->data_dir);
 prep_out:
 	return rc;
@@ -874,7 +874,7 @@ static void mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task,
 	if (!sas_protocol_ata(task->task_proto))
 		if (slot->n_elem)
 			dma_unmap_sg(mvi->dev, task->scatter,
-				     slot->n_elem, task->data_dir);
+				     task->num_scatter, task->data_dir);
 
 	switch (task->task_proto) {
 	case SAS_PROTOCOL_SMP:
drivers/scsi/scsi_transport_iscsi.c +2 -0
index f2c31e74d8ed..22bec2453bac 100644
@@ -2169,6 +2169,8 @@ static int iscsi_iter_destroy_conn_fn(struct device *dev, void *data)
 		return 0;
 
 	iscsi_remove_conn(iscsi_dev_to_conn(dev));
+	iscsi_put_conn(iscsi_dev_to_conn(dev));
+
 	return 0;
 }
 
drivers/scsi/sd.c +3 -1
index fe694fec16b5..873c920eb0cf 100644
@@ -3895,7 +3895,9 @@ static void sd_shutdown(struct device *dev)
 	if ((system_state != SYSTEM_RESTART &&
 	     sdkp->device->manage_system_start_stop) ||
 	    (system_state == SYSTEM_POWER_OFF &&
-	     sdkp->device->manage_shutdown)) {
+	     sdkp->device->manage_shutdown) ||
+	    (system_state == SYSTEM_RUNNING &&
+	     sdkp->device->manage_runtime_start_stop)) {
 		sd_printk(KERN_NOTICE, sdkp, "Stopping disk\n");
 		sd_start_stop_device(sdkp, 0);
 	}
drivers/soc/qcom/pmic_glink.c +7 -2
index 7e50eeb4cc6f..2222ca4fa6e2 100644
@@ -145,7 +145,10 @@ static int pmic_glink_rpmsg_callback(struct rpmsg_device *rpdev, void *data,
 	return 0;
 }
 
-static void pmic_glink_aux_release(struct device *dev) {}
+static void pmic_glink_aux_release(struct device *dev)
+{
+	of_node_put(dev->of_node);
+}
 
 static int pmic_glink_add_aux_device(struct pmic_glink *pg,
 				     struct auxiliary_device *aux,
@@ -159,8 +162,10 @@ static int pmic_glink_add_aux_device(struct pmic_glink *pg,
 	aux->dev.release = pmic_glink_aux_release;
 	device_set_of_node_from_dev(&aux->dev, parent);
 	ret = auxiliary_device_init(aux);
-	if (ret)
+	if (ret) {
+		of_node_put(aux->dev.of_node);
 		return ret;
+	}
 
 	ret = auxiliary_device_add(aux);
 	if (ret)
drivers/soc/qcom/qmi_encdec.c +38 -8

88 lines not on this page · raw message

drivers/soc/tegra/cbb/tegra234-cbb.c +2 -0
index 5cf0e8c34164..e8cc46874c72 100644
@@ -185,6 +185,8 @@ static void tegra234_cbb_error_clear(struct tegra_cbb *cbb)
 {
 	struct tegra234_cbb *priv = to_tegra234_cbb(cbb);
 
+	writel(0, priv->mon + FABRIC_MN_MASTER_ERR_FORCE_0);
+
 	writel(0x3f, priv->mon + FABRIC_MN_MASTER_ERR_STATUS_0);
 	dsb(sy);
 }
drivers/soundwire/stream.c +1 -1
index 68d54887992d..8ebfa44078e8 100644
@@ -1409,7 +1409,7 @@ static int _sdw_prepare_stream(struct sdw_stream_runtime *stream,
 		if (ret < 0) {
 			dev_err(bus->dev, "Prepare port(s) failed ret = %d\n",
 				ret);
-			return ret;
+			goto restore_params;
 		}
 	}
 
drivers/spi/spi-stm32.c +7 -1
index 40680b5fffc9..211d9c76665b 100644
@@ -1808,9 +1808,15 @@ static int stm32_spi_probe(struct platform_device *pdev)
 	struct resource *res;
 	struct reset_control *rst;
 	struct device_node *np = pdev->dev.of_node;
+	const struct stm32_spi_cfg *cfg;
 	bool device_mode;
 	int ret;
-	const struct stm32_spi_cfg *cfg = of_device_get_match_data(&pdev->dev);
+
+	cfg = of_device_get_match_data(&pdev->dev);
+	if (!cfg) {
+		dev_err(&pdev->dev, "Failed to get match data for platform\n");
+		return -ENODEV;
+	}
 
 	device_mode = of_property_read_bool(np, "spi-slave");
 	if (!cfg->has_device_mode && device_mode) {
drivers/staging/fbtft/fbtft-core.c +1 -0
index eac1d570f437..dce721f440c5 100644
@@ -744,6 +744,7 @@ struct fb_info *fbtft_framebuffer_alloc(struct fbtft_display *display,
 	return info;
[… more lines in the raw message]

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

drivers/staging/nvec/nvec_power.c +1 -1
index 9943b1fff190..573521e1703b 100644

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

drivers/ufs/core/ufshcd.c +9 -1
index da20bd3d46bc..7dcdaac31546 100644

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

drivers/usb/early/xhci-dbc.c +4 -0
index 341408410ed9..41118bba9197 100644

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

drivers/usb/gadget/composite.c +5 -0
index 4f326988be86..22231ad96d61 100644

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

drivers/usb/host/xhci-plat.c +1 -1
index 749ba3596c2b..b350ee080236 100644

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

drivers/usb/misc/apple-mfi-fastcharge.c +21 -3
index ac8695195c13..8e852f4b8262 100644

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

drivers/usb/serial/option.c +2 -0
index 6c6387d39db8..ac72b04c997b 100644

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

drivers/vfio/group.c +3 -4
index 610a429c6191..54c3079031e1 100644

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

drivers/vfio/iommufd.c +4 -0
index 82eba6966fa5..02852899c2ae 100644

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

drivers/vfio/pci/pds/vfio_dev.c +1 -0
index a286ebcc7112..69d1bcefd7c3 100644

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

drivers/vfio/pci/vfio_pci_core.c +1 -1
index fa168b434239..3f139360752e 100644

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

drivers/vfio/vfio_main.c +2 -1
index 40732e8ed4c6..edb631e5e7ec 100644

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

drivers/vhost/scsi.c +1 -3
index 662351511157..90a3c0fc5ab0 100644

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

drivers/video/fbdev/core/fbcon.c +2 -2
index 9d095fe03e18..ed68ba89b80b 100644

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

drivers/video/fbdev/imxfb.c +7 -2
index 7042a43b81d8..5f9e98423d65 100644

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

drivers/watchdog/ziirave_wdt.c +3 -0
index 5ed33df68e9a..e611d60316c6 100644

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

drivers/xen/gntdev-common.h +4 -0
index 9c286b2a1900..ac8ce3179ba2 100644

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

drivers/xen/gntdev.c +50 -21

71 lines not on this page · raw message

fs/f2fs/data.c +5 -2
index a123bb26acd8..d37104aa847a 100644

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

fs/f2fs/extent_cache.c +1 -1
index bfa2d89dc9ea..6a77581106a9 100644

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

fs/f2fs/f2fs.h +1 -1
index 2d9a86129bd8..7329f706da83 100644

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

fs/f2fs/inode.c +19 -2
index 66721c2093c0..76ec2899cbe8 100644

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

fs/f2fs/segment.h +2 -3
index cd2ec6acc717..a51a56bd0b61 100644

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

fs/gfs2/util.c +11 -20
index 268ff47b0396..fd921e07e12b 100644

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

fs/hfs/inode.c +1 -0
index 61ed76d10392..6a89f22d8967 100644

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

fs/hfsplus/extents.c +0 -3
index 9c51867dddc5..f6ac98b0d44f 100644

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

fs/hfsplus/inode.c +1 -0
index c65c8c4b03dd..73ff191ff2ad 100644

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

fs/jfs/jfs_dmap.c +3 -1
index 35e063c9f3a4..5a877261c3fe 100644

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

fs/nfs/dir.c +1 -3
index 389186384235..385baf871800 100644

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

fs/nfs/export.c +9 -2
index be686b8e0c54..aeb17adcb2b6 100644

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

fs/nfs/flexfilelayout/flexfilelayout.c +16 -10
index 0a26444fe202..7354b6b10478 100644

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

fs/nfs/flexfilelayout/flexfilelayoutdev.c +3 -3
index d21c5ecfbf1c..95d5dca67145 100644

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

fs/nfs/internal.h +6 -3
index c29ad2e1d416..8870c72416ac 100644

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

fs/nfs/nfs4proc.c +6 -4
index 3085a2faab2d..89d88d37e0cc 100644

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

fs/notify/fanotify/fanotify.c +7 -1
index 9dac7f6e72d2..723ff9cad9ed 100644

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

fs/ntfs3/file.c +4 -1
index 4aea45821611..a7fe2e02c32e 100644

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

fs/ntfs3/frecord.c +3 -4
index 3c876c468c2c..5c45fec832b0 100644

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

fs/ntfs3/namei.c +3 -7
index 61c4da8e6c3d..f5901c23ab93 100644

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

fs/ntfs3/ntfs_fs.h +1 -2
index c98e6868bfba..72810d8f62ee 100644

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

fs/orangefs/orangefs-debugfs.c +3 -3
index fa41db088488..b57140ebfad0 100644

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

fs/proc/generic.c +2 -0
index c8785d68e870..2187d9ca351c 100644

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

fs/proc/inode.c +1 -1
index 4b3ae7e0def3..92772702d369 100644

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

fs/proc/internal.h +5 -0
index 445c74a39a93..fe3781360120 100644

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

fs/smb/client/cifs_debug.c +1 -1
index 4a20e92474b2..50ad8246ed18 100644

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

fs/smb/client/cifsacl.c +1 -1
index bf32bc22ebd6..7bd29e827c8f 100644

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

fs/smb/client/cifsacl.h +1 -1
index cbaed8038e36..05b3650ba0ae 100644

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

fs/smb/client/cifsencrypt.c +1 -1
index b0473c2567fe..da3d003cb43d 100644

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

fs/smb/client/cifsfs.c +2 -2
index bbb0ef18d7b8..a1ab95f382d5 100644

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

fs/smb/client/cifsglob.h +1 -1
index c9b37f2ebde8..4bafb1adfb22 100644

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

fs/smb/client/cifspdu.h +2 -2
index 763178b77454..f4cfb082dfd1 100644

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

fs/smb/client/cifssmb.c +3 -3
index db35e68e8a58..81d425f571e2 100644

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

fs/smb/client/file.c +1 -1
index 99a8c6fbd41a..7a2b81fbd9cf 100644

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

fs/smb/client/fs_context.h +1 -1
index 52ee72e562f5..90ebff5d0199 100644

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

fs/smb/client/misc.c +1 -1
index bbbe48447765..ad77952f6d81 100644

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

fs/smb/client/netmisc.c +1 -1
index 1b52e6ac431c..2a8d71221e5e 100644

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

fs/smb/client/readdir.c +2 -2
index 0be16f8acd9a..5febf8afaab0 100644

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

fs/smb/client/smb2ops.c +2 -2
index 2385e570e331..d0734aa1961a 100644

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

fs/smb/client/smb2pdu.c +2 -2
index 357abb0170c4..e58cad5d735a 100644

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

fs/smb/client/smb2transport.c +1 -1
index 4a43802375b3..99081e9d6283 100644

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

fs/smb/client/smbdirect.c +163 -130

293 lines not on this page · raw message

fs/smb/client/smbdirect.h +5 -9
index 83f239f376f0..c881e58c639d 100644

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

fs/smb/common/smbdirect/smbdirect_socket.h new file +41 -0

41 lines not on this page · raw message

fs/smb/server/connection.h +1 -0
index 47e6a8694c0f..c769fe3859b3 100644

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

fs/smb/server/smb2pdu.c +16 -6
index e25c2ca56461..d3dd3b9b4005 100644

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

fs/smb/server/smb_common.c +1 -1
index 23537e1b3468..2839c704110c 100644

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

fs/smb/server/transport_rdma.c +35 -62

97 lines not on this page · raw message

fs/smb/server/transport_tcp.c +17 -0
index 64941a49438f..e86bc4a46068 100644

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

fs/smb/server/vfs.c +2 -1
index de813700f3d4..067b346921b6 100644

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

include/linux/audit.h +4 -5
index 51b1b7054a23..335e1ba5a232 100644

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

include/linux/fs_context.h +1 -1
index c13e99cbbf81..c9eae7117001 100644

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

include/linux/moduleparam.h +2 -3
index 962cd41a2cb5..061e19c94a6b 100644

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

include/linux/pps_kernel.h +1 -0
index c7abce28ed29..aab0aebb529e 100644

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

include/linux/proc_fs.h +1 -0
index 1aca3f332d9c..85672adc7349 100644

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

include/linux/psi_types.h +2 -4
index f1fd3a8044e0..dd10c22299ab 100644

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

include/linux/sched.h +0 -2
index 393c300347de..cb38eee732fd 100644

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

include/linux/skbuff.h +23 -0
index f7d392d849be..7b7222b4f611 100644

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

include/linux/usb/usbnet.h +1 -0
index 0b9f1e598e3a..4bc6bb01a0eb 100644

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

include/linux/wait_bit.h +60 -0

60 lines not on this page · raw message

include/net/bluetooth/hci.h +1 -0
index e4a97b2d0998..4c084a03d6bb 100644

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

include/net/dst.h +2 -2
index 16b7b99b5f30..60fb5d2faf43 100644

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

include/net/lwtunnel.h +4 -4
index 53bd2d02a4f0..09791f5d9b6e 100644

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

include/net/tc_act/tc_ctinfo.h +3 -3
index f071c1d70a25..a04bcac7adf4 100644

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

include/net/udp.h +18 -6
index 488a6d2babcc..89eeb187667b 100644

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

kernel/audit.h +1 -1
index a60d2840559e..5156ecd35457 100644

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

kernel/auditsc.c +1 -1
index 6f0d6fb6523f..d48830c7e4be 100644

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

kernel/bpf/preload/Kconfig +0 -1
index c9d45c9d6918..f9b11d01c3b5 100644

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

kernel/events/core.c +17 -3
index 3a33d9c1b1b2..b73f5c44113d 100644

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

kernel/freezer.c +20 -31

51 lines not on this page · raw message

kernel/kcsan/kcsan_test.c +1 -1
index 0ddbdab5903d..9d8c95defdd6 100644

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

kernel/module/main.c +4 -2
index b00e31721a73..9711ad14825b 100644

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

kernel/sched/core.c +15 -16
index 760a6c3781cb..1b5e4389f788 100644

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

kernel/sched/psi.c +65 -58

123 lines not on this page · raw message

kernel/trace/preemptirq_delay_test.c +9 -4
index cb0871fbdb07..8af92dbe98f0 100644

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

kernel/ucount.c +1 -1
index 3456018730b6..a7fd89693bd2 100644

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

mm/hmm.c +1 -1
index 277ddcab4947..a36e1b4046db 100644

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

net/bluetooth/hci_event.c +6 -2
index 8516ba62c545..3b22ce3aa95b 100644

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

net/caif/cfctrl.c +144 -150

294 lines not on this page · raw message

net/core/dst.c +2 -2
index aad197e761cb..2513665696f6 100644

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

net/core/filter.c +3 -0
index 3e10b4c8338f..7afb7658c388 100644

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

net/core/netpoll.c +7 -0
index 1a4d2a61b060..2bdb1e84c6c8 100644

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

net/core/skmsg.c +7 -0
index c3169e1e6352..6225547808a6 100644

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

net/ipv4/route.c +2 -2
index 8ee1ad2d8c13..6ee77f7f9114 100644

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

net/ipv4/tcp_input.c +3 -1
index f7b95bc8ad60..c6d00817ad3f 100644

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

net/ipv6/ip6_fib.c +15 -9
index 023ac39041a2..c44136cbbaa1 100644

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

net/ipv6/ip6_offload.c +3 -1
index 7f014a8969fb..84b17eeaa57c 100644

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

net/ipv6/ip6mr.c +2 -1
index 7f19868d7d6c..18451dfeae68 100644

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

net/ipv6/route.c +32 -24

56 lines not on this page · raw message

net/mac80211/cfg.c +1 -1
index a3c5d4d995db..3ff7f38394a6 100644

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

net/mac80211/tdls.c +1 -1
index a4af3b7675ef..f3cdbd2133f6 100644

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

net/mac80211/tx.c +12 -2
index ec5469add68a..7eddcb6f9645 100644

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

net/netfilter/nf_bpf_link.c +4 -1
index 2aad0562a413..658e401b7937 100644

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

net/netfilter/nf_tables_api.c +2 -27
index 18ae39cf4188..4ffb5ef79ca1 100644

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

net/netfilter/xt_nfacct.c +2 -2
index 7c6bf1c16813..0ca1cdfc4095 100644

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

net/packet/af_packet.c +6 -6
index 9cac7cb78c0f..9620f160be70 100644

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

net/sched/act_ctinfo.c +11 -8
index 4d15b6a6169c..8792244620b9 100644

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

net/sched/sch_mqprio.c +1 -1
index 793009f445c0..a0e3f3bae536 100644

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

net/sched/sch_netem.c +40 -0
index 447d3e836a24..0ad231e94e14 100644

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

net/sched/sch_taprio.c +18 -3
index d162e2dd8602..a01d17d03bf5 100644

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

net/sunrpc/svcsock.c +35 -8

43 lines not on this page · raw message

net/sunrpc/xprtsock.c +30 -10
index f90d84492bbe..99bb3e762af4 100644

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

net/tls/tls_sw.c +13 -0
index 4a9a3aed5d6d..4905a81c4ac1 100644

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

net/vmw_vsock/af_vsock.c +2 -1
index f20b117e5255..f95ac11a7e0d 100644

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

samples/mei/mei-amt-version.c +1 -1
index 867debd3b912..1d7254bcb44c 100644

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

scripts/kconfig/qconf.cc +1 -1
index 4f3ba3debc08..119997c8bf1f 100644

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

security/apparmor/include/match.h +3 -5
index 58fbf67139b9..e59305abb85a 100644

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

security/apparmor/match.c +12 -11
index b97ef5e1db73..3667b79e9366 100644

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

sound/pci/hda/patch_ca0132.c +4 -1
index 27e48fdbbf3a..94b452595f30 100644

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

sound/soc/amd/yc/acp6x-mach.c +21 -0
index 66ef8f4fd02c..24919e68b346 100644

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

sound/soc/fsl/fsl_xcvr.c +20 -0
index c46f64557a7f..1d7791c7fb4e 100644

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

sound/soc/intel/boards/Kconfig +1 -1
index 0ae6eecc8851..033be4d3e02d 100644

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

sound/soc/mediatek/common/mtk-afe-platform-driver.c +3 -1
index 52495c930ca3..56a704ec2ea9 100644

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

sound/soc/mediatek/common/mtk-base-afe.h +1 -0
index f51578b6c50a..a406f2e3e7a8 100644

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

sound/soc/mediatek/mt8173/mt8173-afe-pcm.c +7 -0
index 06269f7e3756..240b2f041a3f 100644

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

sound/soc/mediatek/mt8183/mt8183-afe-pcm.c +7 -0
index 90422ed2bbcc..cbee5a8764c3 100644

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

sound/soc/mediatek/mt8186/mt8186-afe-pcm.c +7 -0
index b86159f70a33..9ee431304a43 100644

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

sound/soc/mediatek/mt8192/mt8192-afe-pcm.c +7 -0
index d0520e7e1d79..364e43da0e24 100644

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

sound/soc/soc-dai.c +9 -7
index 507743c87e40..5a0fa8d1f38b 100644

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

sound/soc/soc-ops.c +15 -11
index eff1355cc3df..5be32c37bb8a 100644

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

sound/usb/mixer_scarlett2.c +7 -0
index 90480b9b9b08..316f1abefd51 100644

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

sound/x86/intel_hdmi_audio.c +1 -1
index ab95fb34a635..7b9292cf839f 100644

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

tools/bpf/bpftool/net.c +9 -6
index 28e9417a5c2e..c2ca82fc21e2 100644

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

tools/lib/subcmd/help.c +7 -5
index 8561b0f01a24..9ef569492560 100644

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

tools/perf/.gitignore +0 -2
index f533e76fb480..5a8617eb5419 100644

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

tools/perf/builtin-sched.c +38 -3

41 lines not on this page · raw message

tools/perf/tests/bp_account.c +1 -0
index 6f921db33cf9..855b81c3326c 100644

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

tools/perf/util/evsel.c +11 -0
index 6d2b056232f6..2a6295f1ac1b 100644

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

tools/perf/util/evsel.h +2 -0
index 848534ec74fa..ac396d6f95cb 100644

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

tools/perf/util/symbol.c +1 -0
index ea24f21aafc3..4f0bbebcb6d6 100644

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

tools/testing/selftests/arm64/fp/sve-ptrace.c +1 -1
index 6d61992fe8a0..c6228176dd1a 100644

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

tools/testing/selftests/bpf/prog_tests/sockmap_listen.c +2 -0
index 84d59419e4eb..a6d8aa8c2a9a 100644

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

tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc +26 -2
index b7c8f29c09a9..65916bb55dfb 100644

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

tools/testing/selftests/net/rtnetlink.sh +6 -0
index 855505c40ed8..c9ba4d269c38 100755

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

tools/testing/selftests/perf_events/.gitignore +1 -0
index 790c47001e77..4858977dd55b 100644

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

tools/testing/selftests/perf_events/Makefile +1 -1
index db93c4ff081a..913854914ae4 100644

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

tools/testing/selftests/perf_events/mmap.c new file +236 -0

236 lines not on this page · raw message

tools/testing/selftests/syscall_user_dispatch/sud_test.c +25 -25

50 lines not on this page · raw message

tools/verification/rv/src/in_kernel.c +2 -2
index f04479ecc96c..ced72950cb1e 100644

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.