Skip to contentSkip to conversation

Linux 5.10.259

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Jun 19 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.259 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.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/arm64/silicon-errata.rst                    |   48 +
 Makefile                                                  |    2 
 arch/arm/mach-socfpga/platsmp.c                           |    1 
 arch/arm64/Kconfig                                        |   50 +
 arch/arm64/include/asm/cputype.h                          |   10 
 arch/arm64/include/asm/kvm_mmu.h                          |    4 
 arch/arm64/include/asm/tlb.h                              |    2 
 arch/arm64/include/asm/tlbflush.h                         |   55 +
 arch/arm64/kernel/cpu_errata.c                            |   34 -
 arch/arm64/kernel/sys_compat.c                            |    2 
 arch/arm64/kvm/hyp/nvhe/tlb.c                             |   41 -
 arch/arm64/kvm/hyp/vhe/tlb.c                              |   19 
 arch/arm64/mm/mmu.c                                       |   36 -
 arch/x86/kernel/cpu/amd.c                                 |   18 
 arch/x86/kernel/cpu/microcode/intel.c                     |    2 
 crypto/testmgr.c                                          |    4 
 drivers/acpi/power.c                                      |    2 
 drivers/acpi/scan.c                                       |    2 
 drivers/base/power/domain.c                               |   10 
 drivers/block/drbd/drbd_main.c                            |    2 
 drivers/block/drbd/drbd_receiver.c                        |    2 
 drivers/block/loop.c                                      |   14 
 drivers/block/nbd.c                                       |   10 
 drivers/bluetooth/btusb.c                                 |    8 
 drivers/bluetooth/hci_qca.c                               |   33 -
 drivers/char/random.c                                     |    4 
 drivers/crypto/caam/caamalg_qi2.c                         |    4 
 drivers/crypto/caam/caamhash.c                            |    4 
 drivers/fsi/fsi-sbefifo.c                                 |    6 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c |    5 
 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c        |    6 
 drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c       |    3 
 drivers/gpu/drm/i915/gem/i915_gem_phys.c                  |   19 
 drivers/gpu/drm/imx/dcss/dcss-scaler.c                    |    3 
 drivers/gpu/drm/nouveau/nouveau_gem.c                     |    2 
 drivers/hid/hid-core.c                                    |   29 
 drivers/hid/hid-gfrm.c                                    |    4 
 drivers/hid/hid-logitech-hidpp.c                          |    2 
 drivers/hid/hid-multitouch.c                              |    2 
 drivers/hid/hid-primax.c                                  |    2 
 drivers/hid/hid-vivaldi.c                                 |    2 
 drivers/hid/wacom_sys.c                                   |   19 
 drivers/hid/wacom_wac.h                                   |    1 
 drivers/i2c/busses/i2c-qcom-cci.c                         |    2 
 drivers/i2c/busses/i2c-tegra.c                            |   53 -
 drivers/i2c/i2c-dev.c                                     |    9 
 drivers/iio/adc/npcm_adc.c                                |   26 
 drivers/iio/adc/viperboard_adc.c                          |    4 
 drivers/iio/adc/xilinx-xadc-core.c                        |   11 
 drivers/iio/buffer/industrialio-hw-consumer.c             |    4 
 drivers/iio/chemical/scd30_core.c                         |   65 --
 drivers/iio/common/ssp_sensors/ssp_dev.c                  |    1 
 drivers/iio/dac/ad5686.c                                  |    8 
 drivers/iio/dac/ad5686.h                                  |    1 
 drivers/iio/dac/max5821.c                                 |    9 
 drivers/iio/gyro/adis16260.c                              |    3 
 drivers/iio/gyro/itg3200_buffer.c                         |    2 
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c            |    2 
 drivers/iio/light/cm3323.c                                |    5 
 drivers/iio/temperature/tsys01.c                          |    2 
 drivers/infiniband/core/Makefile                          |    2 
 drivers/infiniband/core/iter.c                            |   43 +
 drivers/infiniband/core/verbs.c                           |   37 -
 drivers/infiniband/hw/bnxt_re/qplib_res.c                 |    2 
 drivers/infiniband/hw/cxgb4/mem.c                         |    2 
 drivers/infiniband/hw/efa/efa_verbs.c                     |    2 
 drivers/infiniband/hw/hns/hns_roce_alloc.c                |    2 
 drivers/infiniband/hw/i40iw/i40iw_verbs.c                 |    1 
 drivers/infiniband/hw/mlx4/mr.c                           |    1 
 drivers/infiniband/hw/mlx5/mem.c                          |    1 
 drivers/infiniband/hw/mthca/mthca_provider.c              |    2 
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c               |    2 
 drivers/infiniband/hw/qedr/verbs.c                        |    2 
 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h                 |    2 
 drivers/infiniband/sw/rxe/rxe_srq.c                       |    3 
 drivers/infiniband/ulp/isert/ib_isert.c                   |    6 
 drivers/infiniband/ulp/rtrs/rtrs-clt.c                    |    2 
 drivers/infiniband/ulp/srp/ib_srp.c                       |   30 
 drivers/input/keyboard/atkbd.c                            |   15 
 drivers/input/misc/ims-pcu.c                              |    2 
 drivers/input/mouse/elan_i2c_core.c                       |    5 
 drivers/input/mouse/synaptics.c                           |    1 
 drivers/input/touchscreen/atmel_mxt_ts.c                  |    2 
 drivers/input/touchscreen/usbtouchscreen.c                |    5 
 drivers/iommu/io-pgtable-arm-v7s.c                        |   18 
 drivers/isdn/mISDN/l1oip_core.c                           |    2 
 drivers/md/dm-cache-policy-smq.c                          |   12 
 drivers/md/persistent-data/dm-btree-remove.c              |    8 
 drivers/md/persistent-data/dm-btree.c                     |  451 +++++++++++++-
 drivers/md/persistent-data/dm-transaction-manager.c       |    9 
 drivers/md/persistent-data/dm-transaction-manager.h       |   10 
 drivers/media/rc/igorplugusb.c                            |   19 
 drivers/media/rc/ttusbir.c                                |   13 
 drivers/misc/fastrpc.c                                    |   75 +-
 drivers/misc/vmw_vmci/vmci_queue_pair.c                   |    6 
 drivers/mmc/core/mmc.c                                    |    4 
 drivers/mmc/host/sdhci.c                                  |    1 
 drivers/mtd/spi-nor/sst.c                                 |   13 
 drivers/net/bonding/bond_main.c                           |   11 
 drivers/net/can/usb/ucan.c                                |    6 
 drivers/net/ethernet/amd/pcnet32.c                        |    4 
 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c          |    2 
 drivers/net/ethernet/marvell/mv643xx_eth.c                |    2 
 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c           |    7 
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c           |   20 
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h          |    1 
 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c  |    2 
 drivers/net/ethernet/microchip/lan743x_main.c             |   32 
 drivers/net/ethernet/microchip/lan743x_main.h             |    1 
 drivers/net/ethernet/qlogic/qed/qed_cxt.c                 |   26 
 drivers/net/hyperv/netvsc.c                               |   19 
 drivers/net/macsec.c                                      |    3 
 drivers/net/ppp/ppp_generic.c                             |    2 
 drivers/net/tap.c                                         |    2 
 drivers/net/team/team.c                                   |   23 
 drivers/net/tun.c                                         |    5 
 drivers/net/usb/usbnet.c                                  |    2 
 drivers/net/vxlan/vxlan_core.c                            |    4 
 drivers/net/wireguard/send.c                              |   20 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c   |    4 
 drivers/net/wireless/marvell/mwifiex/init.c               |    2 
 drivers/nfc/nxp-nci/i2c.c                                 |   21 
 drivers/nvme/host/tcp.c                                   |    4 
 drivers/nvme/target/io-cmd-file.c                         |    4 
 drivers/nvme/target/tcp.c                                 |    2 
 drivers/parport/share.c                                   |   11 
 drivers/phy/renesas/phy-rcar-gen3-usb2.c                  |    2 
 drivers/phy/tegra/xusb-tegra186.c                         |   38 -
 drivers/phy/tegra/xusb.h                                  |    1 
 drivers/scsi/fcoe/fcoe_ctlr.c                             |    2 
 drivers/scsi/sg.c                                         |    2 
 drivers/spi/spi-lantiq-ssc.c                              |    8 
 drivers/spi/spi-meson-spicc.c                             |    2 
 drivers/spi/spi-qup.c                                     |  165 ++---
 drivers/spi/spi-st-ssc4.c                                 |    8 
 drivers/spi/spi-sun4i.c                                   |   10 
 drivers/spi/spi-sun6i.c                                   |   10 
 drivers/spi/spi-synquacer.c                               |    8 
 drivers/spi/spi-tegra114.c                                |    8 
 drivers/spi/spi-tegra20-sflash.c                          |    8 
 drivers/spi/spi-ti-qspi.c                                 |   11 
 drivers/spi/spi-topcliff-pch.c                            |    7 
 drivers/spi/spi-uniphier.c                                |    8 
 drivers/spi/spi-zynq-qspi.c                               |   15 
 drivers/staging/comedi/drivers/comedi_test.c              |    5 
 drivers/staging/greybus/hid.c                             |    2 
 drivers/target/iscsi/iscsi_target.c                       |    6 
 drivers/target/iscsi/iscsi_target_nego.c                  |    7 
 drivers/target/iscsi/iscsi_target_parameters.c            |   62 +
 drivers/target/iscsi/iscsi_target_parameters.h            |    2 
 drivers/target/iscsi/iscsi_target_util.c                  |    4 
 drivers/target/target_core_file.c                         |    2 
 drivers/tee/optee/supp.c                                  |  107 ++-
 drivers/thermal/thermal_core.c                            |    7 
 drivers/thunderbolt/property.c                            |   38 -
 drivers/thunderbolt/xdomain.c                             |    6 
 drivers/tty/serial/altera_jtaguart.c                      |   18 
 drivers/tty/serial/dz.c                                   |   58 +
 drivers/tty/serial/fsl_lpuart.c                           |   15 
 drivers/tty/serial/pch_uart.c                             |   19 
 drivers/tty/serial/qcom_geni_serial.c                     |   77 --
 drivers/tty/serial/samsung_tty.c                          |  103 +--
 drivers/tty/serial/sh-sci.c                               |    2 
 drivers/tty/serial/zs.c                                   |   40 -
 drivers/tty/serial/zs.h                                   |    2 
 drivers/usb/cdns3/gadget.c                                |   12 
 drivers/usb/chipidea/core.c                               |   16 
 drivers/usb/class/usbtmc.c                                |   14 
 drivers/usb/core/config.c                                 |    9 
 drivers/usb/core/hcd.c                                    |    4 
 drivers/usb/core/quirks.c                                 |    4 
 drivers/usb/dwc2/hcd.c                                    |    4 
 drivers/usb/dwc3/core.c                                   |   12 
 drivers/usb/gadget/function/f_hid.c                       |   20 
 drivers/usb/gadget/udc/dummy_hcd.c                        |    4 
 drivers/usb/gadget/udc/net2280.c                          |    4 
 drivers/usb/host/xhci-tegra.c                             |   78 +-
 drivers/usb/serial/belkin_sa.c                            |    3 
 drivers/usb/serial/cypress_m8.c                           |   20 
 drivers/usb/serial/digi_acceleport.c                      |   23 
 drivers/usb/serial/io_ti.c                                |   11 
 drivers/usb/serial/keyspan.c                              |    4 
 drivers/usb/serial/kl5kusb105.c                           |    4 
 drivers/usb/serial/mct_u232.c                             |   26 
 drivers/usb/serial/mxuport.c                              |    8 
 drivers/usb/serial/omninet.c                              |    9 
 drivers/usb/serial/option.c                               |   12 
 drivers/usb/serial/safe_serial.c                          |   11 
 drivers/usb/storage/unusual_uas.h                         |    7 
 drivers/usb/typec/altmodes/displayport.c                  |    2 
 drivers/usb/typec/tcpm/wcove.c                            |   13 
 drivers/usb/typec/ucsi/displayport.c                      |    4 
 drivers/usb/typec/ucsi/ucsi.c                             |   13 
 drivers/usb/typec/ucsi/ucsi_ccg.c                         |    5 
 drivers/usb/usbip/usbip_common.c                          |    2 
 drivers/usb/usbip/vudc_dev.c                              |    1 
 drivers/usb/usbip/vudc_transfer.c                         |    3 
 drivers/vhost/net.c                                       |    6 
 drivers/vhost/scsi.c                                      |   10 
 drivers/vhost/vhost.c                                     |    6 
 drivers/vhost/vringh.c                                    |    4 
 drivers/vhost/vsock.c                                     |    4 
 drivers/video/fbdev/core/fbcon_rotate.c                   |    5 
 drivers/video/fbdev/vt8500lcdfb.c                         |    2 
 drivers/xen/pvcalls-back.c                                |    8 
 fs/9p/vfs_addr.c                                          |    4 
 fs/9p/vfs_dir.c                                           |    2 
 fs/9p/xattr.c                                             |    4 
 fs/afs/cmservice.c                                        |    2 
 fs/afs/internal.h                                         |    4 
 fs/afs/rxrpc.c                                            |   12 
 fs/aio.c                                                  |    4 
 fs/btrfs/inode.c                                          |    2 
 fs/btrfs/ioctl.c                                          |    5 
 fs/ceph/dir.c                                             |    6 
 fs/ceph/file.c                                            |    4 
 fs/cifs/cifsacl.c                                         |    1 
 fs/cifs/connect.c                                         |    6 
 fs/cifs/file.c                                            |    4 
 fs/cifs/smb2ops.c                                         |   10 
 fs/cifs/smb2transport.c                                   |   36 -
 fs/cifs/smbdirect.c                                       |    4 
 fs/cifs/transport.c                                       |    6 
 fs/erofs/dir.c                                            |   30 
 fs/ext4/extents.c                                         |   15 
 fs/f2fs/data.c                                            |    4 
 fs/f2fs/inline.c                                          |   13 
 fs/fcntl.c                                                |    8 
 fs/fuse/dev.c                                             |    9 
 fs/hfsplus/bfind.c                                        |   51 +
 fs/hfsplus/catalog.c                                      |    4 
 fs/hfsplus/dir.c                                          |    2 
 fs/hfsplus/hfsplus_fs.h                                   |    9 
 fs/hfsplus/super.c                                        |    6 
 fs/hpfs/alloc.c                                           |    2 
 fs/nfsd/nfsctl.c                                          |    9 
 fs/nfsd/stats.c                                           |    4 
 fs/nfsd/stats.h                                           |    2 
 fs/nfsd/vfs.c                                             |    4 
 fs/ocfs2/cluster/tcp.c                                    |    2 
 fs/orangefs/inode.c                                       |    6 
 fs/read_write.c                                           |   12 
 fs/seq_file.c                                             |    2 
 fs/splice.c                                               |   10 
 fs/udf/super.c                                            |    4 
 include/linux/compat.h                                    |    4 
 include/linux/compiler-clang.h                            |   28 
 include/linux/compiler_attributes.h                       |   11 
 include/linux/compiler_types.h                            |    4 
 include/linux/hid.h                                       |   15 
 include/linux/parport.h                                   |    1 
 include/linux/printk.h                                    |   13 
 include/linux/syscalls.h                                  |    4 
 include/linux/uio.h                                       |    3 
 include/net/act_api.h                                     |    1 
 include/net/bluetooth/bluetooth.h                         |    3 
 include/net/bluetooth/hci_core.h                          |    2 
 include/net/bluetooth/l2cap.h                             |    1 
 include/net/ip_vs.h                                       |    3 
 include/net/netfilter/nf_queue.h                          |    1 
 include/net/sock.h                                        |    1 
 include/net/xfrm.h                                        |    3 
 include/rdma/ib_umem.h                                    |   23 
 include/rdma/ib_verbs.h                                   |   47 -
 include/rdma/iter.h                                       |   80 ++
 io_uring/io_uring.c                                       |    4 
 ipc/shm.c                                                 |   10 
 ipc/util.c                                                |    2 
 kernel/pid.c                                              |    8 
 kernel/sched/core.c                                       |    2 
 kernel/sched/rt.c                                         |    2 
 kernel/sched/sched.h                                      |    2 
 kernel/signal.c                                           |    1 
 kernel/time/time.c                                        |    2 
 kernel/trace/trace_probe.c                                |    5 
 kernel/trace/trace_probe.h                                |    4 
 kernel/tracepoint.c                                       |    2 
 lib/debugobjects.c                                        |    2 
 lib/mpi/mpicoder.c                                        |    2 
 mm/huge_memory.c                                          |    2 
 mm/hugetlb.c                                              |    1 
 mm/madvise.c                                              |    2 
 mm/page_io.c                                              |    2 
 mm/process_vm_access.c                                    |    2 
 net/6lowpan/iphc.c                                        |    4 
 net/802/garp.c                                            |    2 
 net/802/mrp.c                                             |    9 
 net/9p/client.c                                           |    2 
 net/batman-adv/bat_iv_ogm.c                               |   82 ++
 net/batman-adv/bat_v_ogm.c                                |   59 +
 net/batman-adv/bridge_loop_avoidance.c                    |   63 +
 net/batman-adv/distributed-arp-table.c                    |    3 
 net/batman-adv/gateway_client.c                           |    3 
 net/batman-adv/main.c                                     |    1 
 net/batman-adv/multicast.c                                |    9 
 net/batman-adv/originator.c                               |   12 
 net/batman-adv/soft-interface.c                           |    1 
 net/batman-adv/tp_meter.c                                 |  198 ++++--
 net/batman-adv/tp_meter.h                                 |    1 
 net/batman-adv/translation-table.c                        |   44 -
 net/batman-adv/tvlv.c                                     |   28 
 net/batman-adv/tvlv.h                                     |    2 
 net/batman-adv/types.h                                    |   56 +
 net/bluetooth/6lowpan.c                                   |    4 
 net/bluetooth/a2mp.c                                      |    2 
 net/bluetooth/af_bluetooth.c                              |  142 +++-
 net/bluetooth/bnep/sock.c                                 |   10 
 net/bluetooth/hci_core.c                                  |   34 -
 net/bluetooth/hci_event.c                                 |   18 
 net/bluetooth/hci_sock.c                                  |   10 
 net/bluetooth/hidp/sock.c                                 |   10 
 net/bluetooth/l2cap_core.c                                |   87 ++
 net/bluetooth/l2cap_sock.c                                |   86 +-
 net/bluetooth/mgmt.c                                      |   12 
 net/bluetooth/rfcomm/sock.c                               |   48 +
 net/bluetooth/sco.c                                       |   19 
 net/bluetooth/smp.c                                       |    2 
 net/bridge/br_arp_nd_proxy.c                              |    8 
 net/bridge/br_fdb.c                                       |   28 
 net/bridge/netfilter/ebt_snat.c                           |    3 
 net/bridge/netfilter/ebtables.c                           |   30 
 net/can/raw.c                                             |    8 
 net/core/dev.c                                            |    6 
 net/core/drop_monitor.c                                   |    6 
 net/core/dst.c                                            |    6 
 net/core/filter.c                                         |   17 
 net/core/neighbour.c                                      |   15 
 net/core/page_pool.c                                      |   39 +
 net/core/skbuff.c                                         |   10 
 net/ethtool/netlink.c                                     |    6 
 net/hsr/hsr_framereg.c                                    |    6 
 net/ieee802154/6lowpan/tx.c                               |    5 
 net/ieee802154/nl-phy.c                                   |    3 
 net/ieee802154/nl802154.c                                 |    3 
 net/ieee802154/socket.c                                   |    3 
 net/ipv4/ah4.c                                            |    2 
 net/ipv4/esp4.c                                           |    4 
 net/ipv4/fib_semantics.c                                  |    4 
 net/ipv4/ip_options.c                                     |    4 
 net/ipv4/ip_tunnel_core.c                                 |   22 
 net/ipv4/netfilter/arp_tables.c                           |   15 
 net/ipv4/netfilter/ip_tables.c                            |   15 
 net/ipv4/netfilter/nft_fib_ipv4.c                         |    2 
 net/ipv4/route.c                                          |    3 
 net/ipv4/sysctl_net_ipv4.c                                |    2 
 net/ipv4/tcp.c                                            |    2 
 net/ipv6/addrconf.c                                       |    6 
 net/ipv6/ah6.c                                            |    2 
 net/ipv6/datagram.c                                       |   54 +
 net/ipv6/esp6.c                                           |    4 
 net/ipv6/exthdrs.c                                        |    4 
 net/ipv6/ip6_vti.c                                        |   25 
 net/ipv6/ip6mr.c                                          |    3 
 net/ipv6/netfilter/ip6_tables.c                           |   15 
 net/ipv6/netfilter/nft_fib_ipv6.c                         |    2 
 net/ipv6/route.c                                          |    3 
 net/ipv6/sit.c                                            |    1 
 net/iucv/af_iucv.c                                        |   20 
 net/key/af_key.c                                          |    6 
 net/mac80211/tdls.c                                       |    2 
 net/mptcp/pm_netlink.c                                    |    8 
 net/mptcp/protocol.c                                      |   22 
 net/netfilter/ipvs/ip_vs_ctl.c                            |   13 
 net/netfilter/ipvs/ip_vs_proto_sctp.c                     |   18 
 net/netfilter/ipvs/ip_vs_proto_tcp.c                      |   21 
 net/netfilter/ipvs/ip_vs_proto_udp.c                      |   20 
 net/netfilter/ipvs/ip_vs_sched.c                          |   14 
 net/netfilter/ipvs/ip_vs_sync.c                           |    2 
 net/netfilter/nf_conntrack_irc.c                          |    4 
 net/netfilter/nf_conntrack_proto_tcp.c                    |    3 
 net/netfilter/nf_queue.c                                  |   28 
 net/netfilter/nf_synproxy_core.c                          |   26 
 net/netfilter/nfnetlink_queue.c                           |    2 
 net/netfilter/nft_exthdr.c                                |    3 
 net/netfilter/nft_fib.c                                   |    6 
 net/netfilter/nft_tunnel.c                                |    2 
 net/netfilter/xt_NFQUEUE.c                                |    2 
 net/netfilter/xt_cpu.c                                    |    2 
 net/netlabel/netlabel_unlabeled.c                         |   36 -
 net/netlink/af_netlink.c                                  |   11 
 net/netrom/nr_loopback.c                                  |    3 
 net/netrom/nr_route.c                                     |    3 
 net/nfc/hci/core.c                                        |   10 
 net/nfc/llcp_core.c                                       |   11 
 net/nfc/llcp_sock.c                                       |   12 
 net/nfc/nci/hci.c                                         |   10 
 net/openvswitch/datapath.c                                |    1 
 net/packet/af_packet.c                                    |   40 -
 net/phonet/af_phonet.c                                    |    3 
 net/phonet/pn_dev.c                                       |    6 
 net/phonet/socket.c                                       |    3 
 net/qrtr/af_qrtr.c                                        |    4 
 net/qrtr/ns.c                                             |  180 ++---
 net/rds/ib_cm.c                                           |    1 
 net/rds/ib_send.c                                         |    2 
 net/rds/info.c                                            |    2 
 net/sched/act_api.c                                       |    7 
 net/sched/act_mirred.c                                    |    6 
 net/sched/cls_fw.c                                        |    6 
 net/sched/sch_sfb.c                                       |    2 
 net/sctp/diag.c                                           |   17 
 net/sctp/input.c                                          |    8 
 net/sctp/sm_statefuns.c                                   |    6 
 net/sctp/socket.c                                         |    2 
 net/sctp/stream.c                                         |    6 
 net/smc/af_smc.c                                          |    4 
 net/smc/smc_clc.c                                         |    6 
 net/smc/smc_pnet.c                                        |    3 
 net/socket.c                                              |   23 
 net/sunrpc/socklib.c                                      |    6 
 net/sunrpc/svcsock.c                                      |    4 
 net/sunrpc/xprtsock.c                                     |    6 
 net/tipc/topsrv.c                                         |    2 
 net/tls/tls_device.c                                      |    4 
 net/vmw_vsock/vmci_transport.c                            |    4 
 net/wireless/nl80211.c                                    |   16 
 net/wireless/scan.c                                       |    3 
 net/xfrm/espintcp.c                                       |    6 
 net/xfrm/xfrm_input.c                                     |   16 
 net/xfrm/xfrm_policy.c                                    |   15 
 net/xfrm/xfrm_state.c                                     |   23 
 net/xfrm/xfrm_user.c                                      |    5 
 security/apparmor/policy_unpack.c                         |   27 
 security/keys/keyctl.c                                    |    4 
 sound/aoa/codecs/onyx.c                                   |  104 ---
 sound/aoa/codecs/tas.c                                    |  113 +--
 sound/aoa/core/gpio-feature.c                             |   20 
 sound/aoa/core/gpio-pmf.c                                 |   26 
 sound/aoa/soundbus/i2sbus/core.c                          |    3 
 sound/aoa/soundbus/i2sbus/pcm.c                           |  143 ++--
 sound/core/misc.c                                         |   14 
 sound/core/pcm_native.c                                   |    7 
 sound/core/timer.c                                        |    1 
 sound/drivers/aloop.c                                     |   40 -
 sound/pci/hda/patch_hdmi.c                                |    1 
 sound/soc/intel/boards/bytcht_es8316.c                    |   29 
 sound/soc/qcom/qdsp6/q6asm-dai.c                          |   43 -
 sound/usb/clock.c                                         |    6 
 tools/testing/ktest/ktest.pl                              |  186 ++---
 tools/testing/selftests/net/forwarding/lib.sh             |   56 +
 tools/testing/selftests/net/mptcp/mptcp_connect.sh        |    6 
 441 files changed, 4418 insertions(+), 2359 deletions(-)

Aaron Erhardt (1):
ALSA: hda/hdmi: Add quirk for TUXEDO IBS14G6

Adrian Korwel (2):
USB: serial: io_ti: fix heap overflow in get_manuf_info()
USB: serial: io_ti: fix heap overflow in build_i2c_fw_hdr()

Adrian Moreno (1):
net: openvswitch: fix possible kfree_skb of ERR_PTR

Akhil R (1):
i2c: tegra: Fix NOIRQ suspend/resume

Al Viro (1):
use less confusing names for iov_iter direction initializers

Aldo Conte (1):
iio: light: cm3323: fix reg_conf not being initialized correctly

Aleksandr Nogikh (1):
signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()

Alexandra Winter (1):
net/smc: Do not re-initialize smc hashtables

Amirreza Zarrabi (1):
tee: optee: prevent use-after-free when the client exits before the supplicant

Anandu Krishnan E (1):
misc: fastrpc: fix use-after-free of fastrpc_user in workqueue context

Anshuman Khandual (1):
arm64/mm: Enable batched TLB flush in unmap_hotplug_range()

Anton Leontev (1):
hv_netvsc: use kmap_local_page in netvsc_copy_to_send_buf

Antoniu Miclaus (2):
iio: chemical: scd30: fix division by zero in write_raw
iio: gyro: adis16260: fix division by zero in write_raw

Arnd Bergmann (1):
iommu, debugobjects: avoid gcc-16.1 section mismatch warnings

Ashutosh Desai (1):
nfc: hci: fix out-of-bounds read in HCP header parsing

Bartosz Golaszewski (3):
net: mv643xx: fix OF node refcount
tty: serial: qcom-geni-serial: remove unused symbols
tty: serial: qcom-geni-serial: align #define values

Ben Hutchings (4):
Revert "RDMA/rxe: Fix double free in rxe_srq_from_init"
parport: Fix race between port and client registration
fbdev: vt8500lcdfb: Fix dma_free_coherent() cpu_addr parameter
apparmor: validate default DFA states are in bounds

Benjamin Tissoires (1):
HID: pass the buffer size to hid_report_raw_event

Bingquan Chen (1):
net/packet: fix TOCTOU race on mmap'd vnet_hdr in tpacket_snd()

Borislav Petkov (AMD) (1):
x86/CPU/AMD: Move the Zen3 BTC_NO detection to the Zen3 init function

Breno Leitao (2):
net/iucv: fix locking in .getsockopt
rds: mark snapshot pages dirty in rds_info_getsockopt()

Carl Lee (1):
nfc: nxp-nci: i2c: use rising-edge IRQ on ACPI systems

Chengfeng Ye (1):
ALSA: usb-audio: fix null pointer dereference on pointer cs_desc

Chenguang Zhao (1):
netlabel: validate unlabeled address and mask attribute lengths

Chris Mason (1):
netfilter: synproxy: refresh tcphdr after skb_ensure_writable

Christian Brauner (1):
pidfd: refuse access to tasks that have started exiting harder

Christofer Jonason (1):
iio: adc: xilinx-xadc: Fix sequencer mode in postdisable for dual mux

Christophe JAILLET (1):
qed: Use the bitmap API to simplify some functions

Cryolitia PukNgae (1):
Input: atkbd - skip deactivate for HONOR BCC-N's internal keyboard

Cássio Gabriel (3):
ASoC: Intel: bytcht_es8316: Fix MCLK leak on init errors
ALSA: aoa: i2sbus: clear stale prepared state
ALSA: aloop: Fix peer runtime UAF during format-change stop

Dan Carpenter (1):
usb: dwc2: Fix use after free in debug code

Daniel Hodges (1):
wifi: mwifiex: fix use-after-free in mwifiex_adapter_cleanup()

David Ahern (1):
xfrm: Check for underflow in xfrm_state_mtu

David Carlier (3):
iio: gyro: itg3200: fix i2c read into the wrong stack location
tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func()
iio: adc: npcm: fix unbalanced clk_disable_unprepare()

David Thompson (1):
net: lan743x: permit VLAN-tagged packets up to configured MTU

Davide Caratti (1):
net/sched: cls_fw: fix NULL dereference of "old" filters before change()

Davide Ornaghi (1):
netfilter: nft_fib: fix stale stack leak via the OIFNAME register

Dawei Feng (2):
qed: fix double free in qed_cxt_tables_alloc()
octeontx2-pf: avoid double free of pool->stack on AQ init failure

Deepanshu Kartikey (2):
wifi: mac80211: check tdls flag in ieee80211_tdls_oper
hfsplus: fix uninit-value by validating catalog record size

Dmitry Torokhov (2):
Input: elan_i2c - validate firmware size before use
Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem

Dong Chenchen (1):
page_pool: Fix use-after-free in page_pool_recycle_in_ring

Easwar Hariharan (1):
arm64: Subscribe Microsoft Azure Cobalt 100 to ARM Neoverse N2 errata

Eric Dumazet (8):
ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table()
tunnels: load network headers after skb_cow() in iptunnel_pmtud_build_icmp[v6]()
vxlan: do not reuse cached ip_hdr() value after skb_tunnel_check_pmtu()
tunnels: do not assume transport header in iptunnel_pmtud_check_icmp()
ipv4: restrict IPOPT_SSRR and IPOPT_LSRR options
ieee802154: 6lowpan: only accept IPv6 packets in lowpan_xmit()
bonding: limit BOND_MODE_8023AD to Ethernet devices
ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()

Felix Gu (2):
iio: buffer: hw-consumer: fix use-after-free in error path
spi: meson-spicc: Fix double-put in remove path

Fernando Fernandez Mancera (2):
netfilter: xt_NFQUEUE: prefer raw_smp_processor_id
netfilter: synproxy: add mutex to guard hook reference counting

Filipe Manana (1):
btrfs: fix missing last_unlink_trans update when removing a directory

Florian Westphal (4):
netfilter: xt_cpu: prefer raw_smp_processor_id
netfilter: ebtables: fix OOB read in compat_mtw_from_user
netfilter: conntrack_irc: fix possible out-of-bounds read
netfilter: nft_exthdr: fix register tracking for F_PRESENT flag

Gao Xiang (1):
erofs: fix the out-of-bounds nameoff handling for trailing dirents

Greg Kroah-Hartman (8):
Input: usbtouchscreen - clamp NEXIO data_len/x_len to URB buffer size
iio: imu: st_lsm6dsx: fix stack leak in tagged FIFO buffer
usb: typec: ucsi: ccg: reject firmware images without a ':' record header
usb: typec: ucsi: displayport: NAK DP_CMD_CONFIGURE without a payload VDO
usb: typec: altmodes/displayport: validate count before reading Status Update VDO
usb: typec: wcove: don't write past struct pd_message in wcove_read_rx_buffer() drm/nouveau: fix u32 overflow in pushbuf reloc bounds check
Linux 5.10.259

Guangshuo Li (4):
usb: gadget: net2280: Fix double free in probe error path dm cache policy smq: check allocation under invalidate lock
ACPI: scan: Use acpi_dev_put() in object add error paths
usb: gadget: f_hid: fix device reference leak in hidg_alloc()

Hamza Mahfooz (1):
netfilter: conntrack: tcp: do not force CLOSE on invalid-seq RST without direction check

Haoze Xie (1):

      netfilter: nf_queue: hold bridge skb->dev while queued

Hariprasad Kelam (1):
octeontx2-af: Add validation for lmac type

Harry Wentland (3):
drm/amd/display: Reject gpio_bitshift >= 32 in bios_parser_get_gpio_pin_info() drm/amd/display: Clamp HDMI HDCP2 rx_id_list read to buffer size drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs

Heitor Alves de Siqueira (2):
usb: usbtmc: check URB actual_length for interrupt-IN notifications
usb: usbtmc: reject interrupt endpoints with small wMaxPacketSize

Henri A (1):
media: rc: igorplugusb: fix control request setup packet

Hongling Zeng (1):
serial: sh-sci: fix memory region release in error path

HyeongJun An (1):
USB: serial: kl5kusb105: fix bulk-out buffer overflow

Ian Abbott (2):
comedi: comedi_test: fix check for valid scan_begin_src in waveform_ai_cmdtest()
comedi: comedi_test: Fix limiting of convert_arg in waveform_ai_cmdtest()

Ilya Maximets (2):
net: netlink: fix sending unassigned nsid after assigned one
net: netlink: don't set nsid on local notifications

Jack Wu (1):
USB: serial: option: add usb-id for Dell Wireless DW5826e-m

Jamal Hadi Salim (1):
net/sched: act_api: use RCU with deferred freeing for action lifecycle

Jan Volckaert (1):
USB: serial: option: add MeiG SRM813Q

Jann Horn (1):
fuse: reject fuse_notify() pagecache ops on directories

Jason A. Donenfeld (1):
wireguard: send: append trailer after expanding head

Jason Gunthorpe (1):
RDMA/umem: Fix truncation for block sizes >= 4G

Jeff Layton (1):
nfsd: don't ignore the return code of svc_proc_register()

Ji'an Zhou (1):
ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams

Jiasheng Jiang (1):
RDMA/rxe: Fix double free in rxe_srq_from_init

Jiexun Wang (2):
batman-adv: stop tp_meter sessions during mesh teardown
Bluetooth: serialize accept_q access

Jingguo Tan (1):
xfrm: esp: restore combined single-frag length gate

Jisheng Zhang (1):
mmc: sdhci: add signal voltage switch in sdhci_resume_host

Joe Thornber (1):
dm btree: improve btree residency

Johan Hovold (21):
USB: serial: safe_serial: fix memory corruption with small endpoint
USB: serial: omninet: fix memory corruption with small endpoint
USB: serial: keyspan: fix missing indat transfer sanity check
USB: serial: mxuport: fix memory corruption with small endpoint
USB: serial: mct_u232: fix missing interrupt-in transfer sanity check
USB: serial: cypress_m8: fix memory corruption with small endpoint
USB: serial: digi_acceleport: fix memory corruption with small endpoints
USB: serial: mct_u232: fix memory corruption with small endpoint
can: ucan: fix devres lifetime
spi: syncuacer: fix controller deregistration
spi: sun4i: fix controller deregistration
spi: ti-qspi: fix controller deregistration
spi: zynq-qspi: fix controller deregistration
spi: sun6i: fix controller deregistration
spi: tegra20-sflash: fix controller deregistration
spi: tegra114: fix controller deregistration
spi: uniphier: fix controller deregistration
spi: topcliff-pch: fix controller deregistration
spi: st-ssc4: fix controller deregistration
spi: lantiq-ssc: fix controller deregistration
spi: qup: fix error pointer deref after DMA setup failure

John 'Warthog9' Hawley (VMware) (1):
ktest: Fixing indentation to match expected pattern

John Keeping (1):
usb: gadget: f_hid: tidy error handling in hidg_alloc

Jonathan Cameron (1):
iio: chemical: scd30: Use guard(mutex) to allow early returns

Joonas Lahtinen (1):
drm/i915/gem: Fix phys BO pread/pwrite with offset

Jose Ignacio Tornos Martinez (1):
ice: fix VF queue configuration with low MTU values

Joseph Salisbury (1):
sched: Use u64 for bandwidth ratio calculations

Julia Lawall (1):
can: ucan: fix typos in comments

Julian Anastasov (2):
ipvs: clear the svc scheduler ptr early on edit
ipvs: skip ipv6 extension headers for csum checks

Junrui Luo (1):
macsec: fix replay protection at XPN lower-PN wrap

Justin Iurman (1):
ipv6: exthdrs: refresh nh pointer after ipv6_hop_jumbo()

Justin Stitt (1):
octeontx2-af: replace deprecated strncpy with strscpy

Kamal Dasu (1):
mmc: core: Fix host controller programming for fixed driver type

Krzysztof Kozlowski (1):
nfc: llcp: protect nfc_llcp_sock_unlink() calls

Kuniyuki Iwashima (3):
ip6: vti: Use ip6_tnl.net in vti6_changelink().
Bluetooth: hci_core: Fix use-after-free in vhci_flush()
bpf: Free reuseport cBPF prog after RCU grace period.

Kyle Zeng (3):
ipv6: sit: reload inner IPv6 header after GSO offloads
net: guard timestamp cmsgs to real error queue skbs
netfilter: x_tables: avoid leaking percpu counter pointers

Lad Prabhakar (1):
serial: altera_jtaguart: Use platform_get_irq_optional() to get the interrupt

Lee Jones (3):
nfc: llcp: Fix use-after-free in llcp_sock_release()
nfc: llcp: Fix use-after-free race in nfc_llcp_recv_cc()
HID: wacom: Fix OOB write in wacom_hid_set_device_mode()

Leon Romanovsky (1):
RDMA: Move DMA block iterator logic into dedicated files

Linpu Yu (1):
ipc: limit next_id allocation to the valid ID range

Longxuan Yu (1):
io_uring/poll: fix signed comparison in io_poll_get_ownership()

Luiz Augusto von Dentz (3):
Bluetooth: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp
Bluetooth: Consolidate code around sk_alloc into a helper function
Bluetooth: Init sk_peer_* on bt_sock_alloc

Lukas Wunner (1):
lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()

Maciej W. Rozycki (5):
serial: zs: Fix swapped RI/DSR modem line transition counting
serial: dz: Fix bootconsole message clobbering at chip reset
serial: zs: Fix bootconsole handover lockup
serial: zs: Switch to using channel reset
serial: dz: Fix bootconsole handover lockup

Manivannan Sadhasivam (3):
net: qrtr: ns: Limit the maximum number of lookups
net: qrtr: ns: Free the node during ctrl_cmd_bye()
net: qrtr: ns: Limit the total number of nodes

Maoyi Xie (2):
ip6: vti: Use ip6_tnl.net in vti6_siocdevprivate().
xfrm: route MIGRATE notifications to caller's netns

Marc Zyngier (1):
KVM: arm64: Remove VPIPT I-cache handling

Marek Szyprowski (1):
wifi: brcmfmac: Fix potential use-after-free issue when stopping watchdog task

Mark Rutland (5):
arm64: tlb: Allow XZR argument to TLBI ops
arm64: tlb: Optimize ARM64_WORKAROUND_REPEAT_TLBI
arm64: cputype: Add C1-Ultra definitions
arm64: cputype: Add C1-Premium definitions
arm64: errata: Mitigate TLBI errata on various Arm CPUs

Matthieu Baerts (NGI0) (2):
mptcp: pm: ADD_ADDR rtx: fix potential data-race
selftests: mptcp: drop nanoseconds width specifier

Max Kellermann (1):
ceph: only d_add() negative dentries when they are unhashed

Michael Bommarito (19):
xfrm: ah: use skb_to_full_sk in async output callbacks
usbip: vudc: Fix use after free bug in vudc_remove due to race condition
thunderbolt: property: Reject u32 wrap in tb_property_entry_valid()
thunderbolt: property: Reject dir_len < 4 to prevent size_t underflow
scsi: fcoe: Reject FIP descriptors with zero fip_dlen in CVL walker
sctp: fix uninit-value in __sctp_rcv_asconf_lookup()
Bluetooth: L2CAP: reject BR/EDR signaling packets over MTUsig RDMA/srp: bound SRP_RSP sense copy by the received length
IB/isert: Reject login PDUs shorter than ISER_HEADERS_LEN
thunderbolt: Reject zero-length property entries in validator
thunderbolt: Bound root directory content to block size
thunderbolt: Clamp XDomain response data copy to allocation size
thunderbolt: Limit XDomain response copy to actual frame size
smb: client: require a full NFS mode SID before reading mode bits
smb: client: fix OOB read in smb2_ioctl_query_info QUERY_INFO path
net: hsr: defer node table free until after RCU readers
scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf
thunderbolt: property: Cap recursion depth in __tb_property_parse_dir()
scsi: target: iscsi: Fix CRC overread and double-free in iscsit_handle_text_cmd()

Michal Pecio (2):
usb: core: Fix up Interrupt IN endpoints with bogus wBytesPerInterval
usb: core: Fix SuperSpeed root hub wMaxPacketSize

Mikulas Patocka (2):
hpfs: fix a crash if hpfs_map_dnode_bitmap fails
dm-thin: fix metadata refcount underflow

Mingyu Wang (3):
i2c: dev: prevent integer overflow in I2C_TIMEOUT ioctl
net: qrtr: fix refcount saturation and potential UAF in qrtr_port_remove fs/fcntl: fix SOFTIRQ-unsafe lock order in fasync signaling

Minh Nguyen (1):
net: skbuff: fix missing zerocopy reference in pskb_carve helpers

Myeonghun Pak (1):
serial: altera_jtaguart: handle uart_add_one_port() failures

Myrrh Periwinkle (2):
usb: typec: ucsi: Check if power role change actually happened before handling
usb: typec: ucsi: Don't update power_supply on power role change if not connected

Nathan Chancellor (3):
HID: core: Fix size_t specifier in hid_report_raw_event() compiler-clang.h: Add __diag infrastructure for clang Disable -Wattribute-alias for clang-23 and newer

Naveen Kumar Chaudhary (1):
time: Fix off-by-one in settimeofday() usec validation

Nicolás Bazaes (1):
Input: synaptics - add LEN2058 to SMBus passlist for ThinkPad E490

Nikola Z. Ivanov (1):
team: Move team device type change at the end of team_port_add

Nobuhiro Iwamatsu (1):
phy: renesas: rcar-gen3-usb2: Fix the use of msleep during spinlock

Oliver Neukum (3):
media: rc: ttusbir: respect DMA coherency rules
media: rc: igorplugusb: heed coherency rules
media: rc: ttusbir: fix inverted error logic

Oscar Maes (1):
pcnet32: stop holding device spin lock during napi_complete_done

Pavel Begunkov (1):
io_uring: prevent opcode speculation

Petr Machata (1):
selftests: forwarding: lib: Add helpers for checksum handling

Piyush Sachdeva (1):
smb: client: Use FullSessionKey for AES-256 encryption key derivation

Prasanna S (1):
serial: qcom-geni: fix UART_RX_PAR_EN bit position

Qi Tang (1):
ipv6: validate extension header length before copying to cmsg

Raf Dickson (1):
vsock/vmci: fix sk_ack_backlog leak on failed handshake

Rafael J. Wysocki (1):
thermal: core: Fix thermal zone governor cleanup issues

Rahul Chandelkar (1):
ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()

Randy Dunlap (1):
RDMA/umem: fix kernel-doc warnings

Rodrigo Alencar (2):
iio: dac: ad5686: fix input raw value check
iio: dac: ad5686: fix ref bit initialization for single-channel parts

Safa Karakuş (1):
Bluetooth: fix UAF in l2cap_sock_cleanup_listen() vs l2cap_conn_del()

Salah Triki (3):
iio: dac: max5821: fix return value check in powerdown sync
iio: adc: viperboard: Fix error handling in vprbrd_iio_read_raw
iio: temperature: tsys01: fix broken PROM checksum validation

Sam Burkels (1):
usb: storage: Add quirks for PNY Elite Portable SSD

Sam Daly (1):
octeontx2-af: CGX: add bounds check to cgx_speed_mbps index

Sang-Heon Jeon (1):
mm/hugetlb_cma: round up per_node before logging it

Sanghyun Park (1):
xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()

Sanjaikumar V S (1):
mtd: spi-nor: sst: Fix write enable before AAI sequence

Sanjay Chitroda (1):
iio: ssp_sensors: cancel delayed work_refresh on remove

Selvarasu Ganesan (1):
usb: dwc3: Move GUID programming after PHY initialization

Seohyeon Maeng (1):
udf: fix partition descriptor append bookkeeping

Seungjin Bae (1):
usb: gadget: dummy_hcd: Reject hub port requests for non-existent ports

Shanker Donthineni (2):
arm64: cputype: Add NVIDIA Olympus definitions
arm64: errata: Mitigate TLBI errata on NVIDIA Olympus CPU

Shardul Bankar (1):
mptcp: do not drop partial packets

Shitalkumar Gandhi (1):
serial: fsl_lpuart: fix rx buffer and DMA map leaks in start_rx_dma

Shuai Zhang (2):
Bluetooth: btusb: Allow firmware re-download when version matches
Bluetooth: hci_qca: Convert timeout from jiffies to ms

Shuvam Pandey (1):
Bluetooth: hci_event: fix potential UAF in SSP passkey handlers

Siwei Zhang (2):
Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn
Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen()

Srinivas Kandagatla (3):
ASoC: qcom: q6asm-dai: fix error handling in prepare and set_params
ASoC: qcom: q6asm-dai: close stream only when running
ASoC: qcom: q6asm-dai: do not set stream state in event and trigger callbacks

Stefan Metzmacher (1):
smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path

Stephen J. Fuhry (1):
USB: quirks: add NO_LPM for Lenovo ThinkPad USB-C Dock Gen2 hub controllers

Steven Rostedt (2):
ktest: Fix the month in the name of the failure directory tracing/probes: Limit size of event probe to 3K

Sven Eckelmann (11):
batman-adv: v: stop OGMv2 on disabled interface
batman-adv: tvlv: abort OGM send on tvlv append failure
batman-adv: bla: avoid NULL-ptr deref for claim via dropped interface
batman-adv: tvlv: reject oversized TVLV packets
batman-adv: iv: recover OGM scheduling after forward packet error
batman-adv: tp_meter: fix race condition in send error reporting
batman-adv: tp_meter: avoid role confusion in tp_list
batman-adv: tt: fix TOCTOU race for reported vlans
batman-adv: tt: avoid empty VLAN responses
batman-adv: bla: avoid double decrement of bla.num_requests
batman-adv: tp_meter: fix tp_num leak on kmalloc failure

Takashi Iwai (3):
ALSA: timer: Fix UAF at snd_timer_user_params()
ALSA: aoa: Use guard() for mutex locks
ALSA: core: Fix potential data race at fasync handling

Tejas Bharambe (1):
ext4: validate p_idx bounds in ext4_ext_correct_indexes

Thomas Fourier (1):
Input: ims-pcu - fix usb_free_coherent() size in ims_pcu_buffers_free()

Thomas Gleixner (1):
serial: samsung_tty: Use port lock wrappers

Thomas Zimmermann (1):
fbcon: Avoid OOB font access if console rotation fails

Thorsten Blum (3):
ALSA: aoa: Skip devices with no codecs in i2sbus_resume()
printk: add print_hex_dump_devel()
crypto: caam - guard HMAC key hex dumps in hash_digest_key

Til Kaiser (1):
net: mvpp2: sync RX data at the hardware packet offset

Tristan Madani (1):
netfilter: nft_tunnel: fix use-after-free on object destroy

Tudor Ambarus (2):
tty: serial: samsung: use u32 for register interactions
tty: serial: samsung: Remove redundant port lock acquisition in rx helpers

Ulf Hansson (1):
pmdomain: core: Fix detach procedure for virtual devices in genpd

Vicki Pfau (1):
HID: core: Add printk_ratelimited variants to hid_warn() etc

Victor Nogueria (1):
net/sched: sch_sfb: Replace direct dequeue call with peek and qdisc_dequeue_peeked

Vignesh Viswanathan (1):
net: qrtr: ns: Change servers radix tree to xarray

Vladimir Zapolskiy (1):
i2c: qcom-cci: Fix NULL pointer dereference in cci_remove()

Wanquan Zhong (1):
USB: serial: option: add missing RSVD(5) flag for Rolling RW135R-GL

Wayne Chang (2):
phy: tegra: xusb: Disable trk clk when not in use
phy: tegra: xusb: Fix per-pad high-speed termination calibration

Wei-Cheng Chen (1):
xhci: tegra: Fix ghost USB device on dual-role port unplug

Weiming Shi (4):
tun: free page on short-frame rejection in tun_xdp_one()
tap: free page on error paths in tap_get_user_xdp()
tun: free page on build_skb failure in tun_xdp_one()
net/rds: fix NULL deref in rds_ib_send_cqe_handler() on masked atomic completion

Will Deacon (1):
arm64: errata: Mitigate TLBI errata on Microsoft Azure Cobalt 100 CPU

Wyatt Feng (2):
xfrm: espintcp: do not reuse an in-progress partial send
sctp: stream: fully roll back denied add-stream state

Xin Long (1):
sctp: purge outqueue on stale COOKIE-ECHO handling

Xu Yang (1):
usb: chipidea: core: convert ci_role_switch to local variable

Yajun Deng (1):
net: Remove redundant if statements

Yang Yingliang (1):
spi: qup: switch to use modern name

Yicong Hui (1):
drm/imx: Fix three kernel-doc warnings in dcss-scaler.c

Yilin Zhu (1):
ipc/shm: serialize orphan cleanup with shm_nattch updates

Yiming Qian (1):
netfilter: bridge: make ebt_snat ARP rewrite writable

Yin Tirui (1):
mm/huge_memory: update file PMD counter before folio_put()

Yizhou Zhao (3):
6lowpan: fix off-by-one in multicast context address compression
net: garp: fix unsigned integer underflow in garp_pdu_parse_attr net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr

Yochai Eisenrich (1):
btrfs: fix btrfs_ioctl_space_info() slot_count TOCTOU which can lead to info-leak

Yongchao Wu (1):
usb: cdns3: gadget: fix request skipping after clearing halt

Yongpeng Yang (2):
f2fs: fix UAF caused by decrementing sbi->nr_pages[] in f2fs_write_end_io()
f2fs: fix incorrect file address mapping when inline inode is unwritten

Yuho Choi (1):
ARM: socfpga: Fix OF node refcount leak in SMP setup

Yuqi Xu (2):
bpf: sockmap: fix tail fragment offset in bpf_msg_push_data
net: rds: clear i_sends on setup unwind

Zeng Heng (1):
arm64: tlb: Flush walk cache when unsharing PMD tables

Zeyu WANG (1):
Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK)

Zhang Cen (4):
USB: serial: belkin_sa: validate interrupt status length
USB: serial: cypress_m8: validate interrupt packet headers
Bluetooth: RFCOMM: hold listener socket in rfcomm_connect_ind()
Bluetooth: MGMT: validate advertising TLV before type checks

Zhao Dongdong (1):
Bluetooth: 6lowpan: check skb_clone() return value in send_mcast_pkt()

Zhao Zhang (1):
sctp: diag: reject stale associations in dump_one path

ZhaoJinming (1):
net: bonding: fix NULL pointer dereference in bond_do_ioctl()

Zhaoyang Yu (1):
tty: serial: pch_uart: add check for dma_alloc_coherent()

Zhengchuan Liang (2):
net: bridge: use a stable FDB dst snapshot in RCU readers
xfrm: input: hold netns during deferred transport reinjection

Zhenghang Xiao (2):
Bluetooth: l2cap: clear chan->ident on ECRED reconfiguration success
sctp: fix race between sctp_wait_for_connect and peeloff

Zilin Guan (1):
hfsplus: fix held lock freed on hfsplus_fill_super()

Zqiang (1):
usbnet: Fix using smp_processor_id() in preemptible code warnings

author maintainer
#1 lore raw
Documentation/arm64/silicon-errata.rst +48 -0
index 02169bedae45..98d794cc16d7 100644
@@ -96,18 +96,32 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A76      | #3324349        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A76      | #4193800        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A76AE    | #4193801        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A77      | #1508412        | ARM64_ERRATUM_1508412       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A77      | #3324348        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A77      | #4193798        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A78      | #3324344        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A78      | #4193791        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A78AE    | #4193793        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A78C     | #3324346,3324347| ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A78C     | #4193794        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A510     | #2457168        | ARM64_ERRATUM_2457168       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A710     | #3324338        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A710     | #4193788        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A715     | #3456084        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A720     | #3456091        | ARM64_ERRATUM_3194386       |
@@ -116,16 +130,28 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X1       | #3324344        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X1       | #4193791        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X1C      | #3324346        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X1C      | #4193792        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X2       | #3324338        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X2       | #4193788        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X3       | #3324335        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X3       | #4193786        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X4       | #3194386        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X4       | #4118414        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-X925     | #3324334        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-X925     | #4193781        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #1188873,1418040| ARM64_ERRATUM_1418040       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #1349291        | N/A                         |
@@ -134,18 +160,34 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N1     | #3324349        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-N1     | #4193800        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N2     | #3324339        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-N2     | #4193789        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N3     | #3456111        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V1     | #3324341        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V1     | #4193790        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V2     | #3324336        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V2     | #4193787        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V3     | #3312417        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V3     | #4193784        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V3AE   | #3312417        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-V3AE   | #4193784        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | C1-Premium      | #4193780        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
+| ARM            | C1-Ultra        | #4193780        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | MMU-500         | #841119,826419  | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
@@ -178,6 +220,9 @@ stable kernels.
 | Marvell        | ARM-MMU-500     | #582743         | N/A                         |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
+| NVIDIA         | Olympus core    | T410-OLY-1029   | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
++----------------+-----------------+-----------------+-----------------------------+
 | Freescale/NXP  | LS2080A/LS1043A | A-008585        | FSL_ERRATUM_A008585         |
 +----------------+-----------------+-----------------+-----------------------------+
 +----------------+-----------------+-----------------+-----------------------------+
@@ -217,3 +262,6 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | Fujitsu        | A64FX           | E#010001        | FUJITSU_ERRATUM_010001      |
 +----------------+-----------------+-----------------+-----------------------------+
++----------------+-----------------+-----------------+-----------------------------+
+| Microsoft      | Azure Cobalt 100| #4193789        | ARM64_ERRATUM_4118414       |
++----------------+-----------------+-----------------+-----------------------------+
Makefile +1 -1
index 20aa57694b1f..6ff0a90a6e30 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 258
+SUBLEVEL = 259
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/arm/mach-socfpga/platsmp.c +1 -0
index 201191cf68f3..349e6c54518e 100644
@@ -78,6 +78,7 @@ static void __init socfpga_smp_prepare_cpus(unsigned int max_cpus)
 	}
 
 	socfpga_scu_base_addr = of_iomap(np, 0);
+	of_node_put(np);
 	if (!socfpga_scu_base_addr)
 		return;
 	scu_enable(socfpga_scu_base_addr);
arch/arm64/Kconfig +50 -0

56 lines not on this page · raw message

arch/arm64/include/asm/cputype.h +10 -0
index 9974ef7c788d..e2e3580441a5 100644
@@ -61,6 +61,7 @@
 #define ARM_CPU_IMP_HISI		0x48
 #define ARM_CPU_IMP_APPLE		0x61
 #define ARM_CPU_IMP_AMPERE		0xC0
+#define ARM_CPU_IMP_MICROSOFT		0x6D
 
 #define ARM_CPU_PART_AEM_V8		0xD0F
 #define ARM_CPU_PART_FOUNDATION		0xD00
@@ -96,7 +97,9 @@
 #define ARM_CPU_PART_NEOVERSE_V3	0xD84
 #define ARM_CPU_PART_CORTEX_X925	0xD85
 #define ARM_CPU_PART_CORTEX_A725	0xD87
+#define ARM_CPU_PART_C1_ULTRA		0xD8C
 #define ARM_CPU_PART_NEOVERSE_N3	0xD8E
+#define ARM_CPU_PART_C1_PREMIUM		0xD90
 
 #define APM_CPU_PART_POTENZA		0x000
 
@@ -120,6 +123,7 @@
 
 #define NVIDIA_CPU_PART_DENVER		0x003
 #define NVIDIA_CPU_PART_CARMEL		0x004
+#define NVIDIA_CPU_PART_OLYMPUS		0x010
 
 #define FUJITSU_CPU_PART_A64FX		0x001
 
@@ -130,6 +134,8 @@
 
 #define AMPERE_CPU_PART_AMPERE1		0xAC3
 
+#define MICROSOFT_CPU_PART_AZURE_COBALT_100	0xD49 /* Based on r0p0 of ARM Neoverse N2 */
+
 #define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53)
 #define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57)
 #define MIDR_CORTEX_A72 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A72)
@@ -162,7 +168,9 @@
 #define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
 #define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
 #define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
+#define MIDR_C1_ULTRA MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_C1_ULTRA)
 #define MIDR_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
+#define MIDR_C1_PREMIUM MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_C1_PREMIUM)
 #define MIDR_THUNDERX	MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
 #define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
 #define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)
@@ -180,11 +188,13 @@
 #define MIDR_QCOM_KRYO_4XX_SILVER MIDR_CPU_MODEL(ARM_CPU_IMP_QCOM, QCOM_CPU_PART_KRYO_4XX_SILVER)
 #define MIDR_NVIDIA_DENVER MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_DENVER)
 #define MIDR_NVIDIA_CARMEL MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_CARMEL)
+#define MIDR_NVIDIA_OLYMPUS MIDR_CPU_MODEL(ARM_CPU_IMP_NVIDIA, NVIDIA_CPU_PART_OLYMPUS)
 #define MIDR_FUJITSU_A64FX MIDR_CPU_MODEL(ARM_CPU_IMP_FUJITSU, FUJITSU_CPU_PART_A64FX)
 #define MIDR_HISI_TSV110 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_TSV110)
 #define MIDR_APPLE_M1_ICESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_ICESTORM)
 #define MIDR_APPLE_M1_FIRESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM)
 #define MIDR_AMPERE1 MIDR_CPU_MODEL(ARM_CPU_IMP_AMPERE, AMPERE_CPU_PART_AMPERE1)
+#define MIDR_MICROSOFT_AZURE_COBALT_100 MIDR_CPU_MODEL(ARM_CPU_IMP_MICROSOFT, MICROSOFT_CPU_PART_AZURE_COBALT_100)
 
 /* Fujitsu Erratum 010001 affects A64FX 1.0 and 1.1, (v0r0 and v1r0) */
 #define MIDR_FUJITSU_ERRATUM_010001		MIDR_FUJITSU_A64FX
arch/arm64/include/asm/kvm_mmu.h +2 -2
index 47dafd6ab3a3..c700bf9241fc 100644
@@ -162,8 +162,8 @@ static inline void __invalidate_icache_guest_page(kvm_pfn_t pfn,
 	if (icache_is_aliasing()) {
 		/* any kind of VIPT cache */
 		__flush_icache_all();
-	} else if (is_kernel_in_hyp_mode() || !icache_is_vpipt()) {
-		/* PIPT or VPIPT at EL2 (see comment in __kvm_tlb_flush_vmid_ipa) */
+	} else {
+		/* PIPT */
 		void *va = page_address(pfn_to_page(pfn));
 
 		invalidate_icache_range((unsigned long)va,
arch/arm64/include/asm/tlb.h +1 -1
index c995d1f4594f..cd6997187104 100644
@@ -53,7 +53,7 @@ static inline int tlb_get_level(struct mmu_gather *tlb)
 static inline void tlb_flush(struct mmu_gather *tlb)
 {
 	struct vm_area_struct vma = TLB_FLUSH_VMA(tlb->mm, 0);
-	bool last_level = !tlb->freed_tables;
+	bool last_level = !(tlb->freed_tables || tlb->unshared_tables);
 	unsigned long stride = tlb_get_unmap_size(tlb);
 	int tlb_level = tlb_get_level(tlb);
 
arch/arm64/include/asm/tlbflush.h +39 -16

106 lines not on this page · raw message

arch/arm64/kernel/cpu_errata.c +32 -2
index 6269a4e56f40..201a7e29fa11 100644
@@ -226,7 +226,37 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = {
 		ERRATA_MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xe),
 	},
 #endif
-	{},
+#ifdef CONFIG_ARM64_ERRATUM_4118414
+	{
+		ERRATA_MIDR_RANGE_LIST(((const struct midr_range[]) {
+			MIDR_ALL_VERSIONS(MIDR_C1_PREMIUM),
+			MIDR_ALL_VERSIONS(MIDR_C1_ULTRA),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A76),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A76AE),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A77),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A78),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A78AE),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A78C),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_A710),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X1),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X1C),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X2),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X4),
+			MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
+			MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3AE),
+			MIDR_ALL_VERSIONS(MIDR_NVIDIA_OLYMPUS),
+			MIDR_ALL_VERSIONS(MIDR_MICROSOFT_AZURE_COBALT_100),
+			{}
+		})),
+	},
+#endif
+	{}
 };
 #endif
 
@@ -476,7 +506,7 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
 #endif
 #ifdef CONFIG_ARM64_WORKAROUND_REPEAT_TLBI
 	{
-		.desc = "Qualcomm erratum 1009, or ARM erratum 1286807",
+		.desc = "Broken broadcast TLBI completion",
 		.capability = ARM64_WORKAROUND_REPEAT_TLBI,
 		.type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM,
 		.matches = cpucap_multi_entry_cap_matches,
arch/arm64/kernel/sys_compat.c +1 -1
index 51274bab2565..a42266f495d4 100644
@@ -38,7 +38,7 @@ __do_compat_cache_op(unsigned long start, unsigned long end)
 			 * We pick the reserved-ASID to minimise the impact.
 			 */
 			__tlbi(aside1is, __TLBI_VADDR(0, 0));
-			dsb(ish);
+			__tlbi_sync_s1ish();
 		}
 
 		ret = __flush_cache_user_range(start, start + chunk);
arch/arm64/kvm/hyp/nvhe/tlb.c +3 -38

59 lines not on this page · raw message

arch/arm64/kvm/hyp/vhe/tlb.c +3 -16
index 66f17349f0c3..ac695f43f651 100644
@@ -105,7 +105,7 @@ void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu,
 	 */
 	dsb(ish);
 	__tlbi(vmalle1is);
-	dsb(ish);
+	__tlbi_sync_s1ish_hyp();
 	isb();
 
 	__tlb_switch_to_host(&cxt);
@@ -121,7 +121,7 @@ void __kvm_tlb_flush_vmid(struct kvm_s2_mmu *mmu)
 	__tlb_switch_to_guest(mmu, &cxt);
 
 	__tlbi(vmalls12e1is);
-	dsb(ish);
+	__tlbi_sync_s1ish_hyp();
 	isb();
 
 	__tlb_switch_to_host(&cxt);
@@ -146,18 +146,5 @@ void __kvm_flush_vm_context(void)
 {
 	dsb(ishst);
 	__tlbi(alle1is);
-
-	/*
-	 * VIPT and PIPT caches are not affected by VMID, so no maintenance
-	 * is necessary across a VMID rollover.
-	 *
-	 * VPIPT caches constrain lookup and maintenance to the active VMID,
-	 * so we need to invalidate lines with a stale VMID to avoid an ABA
-	 * race after multiple rollovers.
-	 *
-	 */
-	if (icache_is_vpipt())
-		asm volatile("ic ialluis");
-
-	dsb(ish);
+	__tlbi_sync_s1ish_hyp();
 }
arch/arm64/mm/mmu.c +20 -16
index b584bf200619..ff16cc7251b4 100644
@@ -862,10 +862,14 @@ static void unmap_hotplug_pte_range(pmd_t *pmdp, unsigned long addr,
 
 		WARN_ON(!pte_present(pte));
 		pte_clear(&init_mm, addr, ptep);
-		flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
-		if (free_mapped)
+		if (free_mapped) {
+			/* CONT blocks are not supported in the vmemmap */
+			WARN_ON(pte_cont(pte));
+			flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
 			free_hotplug_page_range(pte_page(pte),
 						PAGE_SIZE, altmap);
+		}
+		/* unmap_hotplug_range() flushes TLB for !free_mapped */
 	} while (addr += PAGE_SIZE, addr < end);
 }
 
@@ -886,15 +890,14 @@ static void unmap_hotplug_pmd_range(pud_t *pudp, unsigned long addr,
 		WARN_ON(!pmd_present(pmd));
 		if (pmd_sect(pmd)) {
 			pmd_clear(pmdp);
-
-			/*
-			 * One TLBI should be sufficient here as the PMD_SIZE
-			 * range is mapped with a single block entry.
-			 */
-			flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
-			if (free_mapped)
+			if (free_mapped) {
+				/* CONT blocks are not supported in the vmemmap */
+				WARN_ON(pmd_val(pmd) & PMD_SECT_CONT);
+				flush_tlb_kernel_range(addr, addr + PMD_SIZE);
 				free_hotplug_page_range(pmd_page(pmd),
 							PMD_SIZE, altmap);
+			}
+			/* unmap_hotplug_range() flushes TLB for !free_mapped */
 			continue;
 		}
 		WARN_ON(!pmd_table(pmd));
@@ -919,15 +922,12 @@ static void unmap_hotplug_pud_range(p4d_t *p4dp, unsigned long addr,
 		WARN_ON(!pud_present(pud));
 		if (pud_sect(pud)) {
 			pud_clear(pudp);
-
-			/*
-			 * One TLBI should be sufficient here as the PUD_SIZE
-			 * range is mapped with a single block entry.
-			 */
-			flush_tlb_kernel_range(addr, addr + PAGE_SIZE);
-			if (free_mapped)
+			if (free_mapped) {
+				flush_tlb_kernel_range(addr, addr + PUD_SIZE);
 				free_hotplug_page_range(pud_page(pud),
 							PUD_SIZE, altmap);
+			}
+			/* unmap_hotplug_range() flushes TLB for !free_mapped */
 			continue;
 		}
 		WARN_ON(!pud_table(pud));
@@ -957,6 +957,7 @@ static void unmap_hotplug_p4d_range(pgd_t *pgdp, unsigned long addr,
 static void unmap_hotplug_range(unsigned long addr, unsigned long end,
 				bool free_mapped, struct vmem_altmap *altmap)
 {
+	unsigned long start = addr;
 	unsigned long next;
 	pgd_t *pgdp, pgd;
 
@@ -978,6 +979,9 @@ static void unmap_hotplug_range(unsigned long addr, unsigned long end,
 		WARN_ON(!pgd_present(pgd));
 		unmap_hotplug_p4d_range(pgdp, addr, next, free_mapped, altmap);
 	} while (addr = next, addr < end);
+
+	if (!free_mapped)
+		flush_tlb_kernel_range(start, end);
 }
 
 static void free_empty_pte_table(pmd_t *pmdp, unsigned long addr,
arch/x86/kernel/cpu/amd.c +10 -8
index 519e388083b2..0ded215bcaf6 100644
@@ -1138,14 +1138,6 @@ static void init_amd_zen1(struct cpuinfo_x86 *c)
 		/* Erratum 1076: CPB feature bit not being set in CPUID. */
 		if (!cpu_has(c, X86_FEATURE_CPB))
 			set_cpu_cap(c, X86_FEATURE_CPB);
-
-		/*
-		 * Zen3 (Fam19 model < 0x10) parts are not susceptible to
-		 * Branch Type Confusion, but predate the allocation of the
-		 * BTC_NO bit.
-		 */
-		if (c->x86 == 0x19 && !cpu_has(c, X86_FEATURE_BTC_NO))
-			set_cpu_cap(c, X86_FEATURE_BTC_NO);
 	}
 
 	pr_notice_once("AMD Zen1 FPDSS bug detected, enabling mitigation.\n");
@@ -1205,6 +1197,16 @@ static void init_amd_zen2(struct cpuinfo_x86 *c)
 static void init_amd_zen3(struct cpuinfo_x86 *c)
 {
 	init_amd_zen_common();
+
+	if (!cpu_has(c, X86_FEATURE_HYPERVISOR)) {
+		/*
+		 * Zen3 (Fam19 model < 0x10) parts are not susceptible to
+		 * Branch Type Confusion, but predate the allocation of the
+		 * BTC_NO bit.
+		 */
+		if (!cpu_has(c, X86_FEATURE_BTC_NO))
+			set_cpu_cap(c, X86_FEATURE_BTC_NO);
+	}
 }
 
 static void init_amd_zen4(struct cpuinfo_x86 *c)
arch/x86/kernel/cpu/microcode/intel.c +1 -1
index 1ba590e6ef7b..b647b1182182 100644
@@ -940,7 +940,7 @@ static enum ucode_state request_microcode_fw(int cpu, struct device *device,
 
 	kvec.iov_base = (void *)firmware->data;
 	kvec.iov_len = firmware->size;
-	iov_iter_kvec(&iter, WRITE, &kvec, 1, firmware->size);
+	iov_iter_kvec(&iter, ITER_SOURCE, &kvec, 1, firmware->size);
 	ret = generic_load_microcode(cpu, &iter);
 
 	release_firmware(firmware);
crypto/testmgr.c +2 -2
index a64a639eddfa..28a368e346f7 100644
@@ -747,7 +747,7 @@ static int build_cipher_test_sglists(struct cipher_test_sglists *tsgls,
 	struct iov_iter input;
 	int err;
 
-	iov_iter_kvec(&input, WRITE, inputs, nr_inputs, src_total_len);
+	iov_iter_kvec(&input, ITER_SOURCE, inputs, nr_inputs, src_total_len);
 	err = build_test_sglist(&tsgls->src, cfg->src_divs, alignmask,
 				cfg->inplace ?
 					max(dst_total_len, src_total_len) :
@@ -1130,7 +1130,7 @@ static int build_hash_sglist(struct test_sglist *tsgl,
 
 	kv.iov_base = (void *)vec->plaintext;
 	kv.iov_len = vec->psize;
-	iov_iter_kvec(&input, WRITE, &kv, 1, vec->psize);
+	iov_iter_kvec(&input, ITER_SOURCE, &kv, 1, vec->psize);
 	return build_test_sglist(tsgl, cfg->src_divs, alignmask, vec->psize,
 				 &input, divs);
 }
drivers/acpi/power.c +1 -1
index 61115ed8b93f..b00bb1b899e7 100644
@@ -977,7 +977,7 @@ int acpi_add_power_resource(acpi_handle handle)
 	return 0;
 
  err:
-	acpi_release_power_resource(&device->dev);
+	acpi_dev_put(device);
 	return result;
 }
 
drivers/acpi/scan.c +1 -1
index f17f48bc13bc..08a43d1393e0 100644
@@ -1679,7 +1679,7 @@ static int acpi_add_single_object(struct acpi_device **child,
 
 	result = acpi_device_add(device, acpi_device_release);
 	if (result) {
-		acpi_device_release(&device->dev);
+		acpi_dev_put(device);
 		return result;
 	}
 
drivers/base/power/domain.c +9 -1
index 7a76f0c53f54..e67040e1d3cd 100644
@@ -2525,6 +2525,7 @@ static struct bus_type genpd_bus_type = {
 static void genpd_dev_pm_detach(struct device *dev, bool power_off)
 {
 	struct generic_pm_domain *pd;
+	bool is_virt_dev;
 	unsigned int i;
 	int ret = 0;
 
@@ -2534,6 +2535,13 @@ static void genpd_dev_pm_detach(struct device *dev, bool power_off)
 
 	dev_dbg(dev, "removing from PM domain %s\n", pd->name);
 
+	/* Check if the device was created by genpd at attach. */
+	is_virt_dev = dev->bus == &genpd_bus_type;
+
+	/* Disable runtime PM if we enabled it at attach. */
+	if (is_virt_dev)
+		pm_runtime_disable(dev);
+
 	for (i = 1; i < GENPD_RETRY_MAX_MS; i <<= 1) {
 		ret = genpd_remove_device(pd, dev);
 		if (ret != -EAGAIN)
@@ -2553,7 +2561,7 @@ static void genpd_dev_pm_detach(struct device *dev, bool power_off)
 	genpd_queue_power_off_work(pd);
 
 	/* Unregister the device if it was created by genpd. */
-	if (dev->bus == &genpd_bus_type)
+	if (is_virt_dev)
 		device_unregister(dev);
 }
 
drivers/block/drbd/drbd_main.c +1 -1
index 28ee47d71f1c..69fab2a09c30 100644
@@ -1857,7 +1857,7 @@ int drbd_send(struct drbd_connection *connection, struct socket *sock,
 
 	/* THINK  if (signal_pending) return ... ? */
 
-	iov_iter_kvec(&msg.msg_iter, WRITE, &iov, 1, size);
+	iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, &iov, 1, size);
 
 	if (sock == connection->data.socket) {
 		rcu_read_lock();
drivers/block/drbd/drbd_receiver.c +1 -1
index b4d4e4a41b08..47d54e69e44e 100644
@@ -505,7 +505,7 @@ static int drbd_recv_short(struct socket *sock, void *buf, size_t size, int flag
 	struct msghdr msg = {
 		.msg_flags = (flags ? flags : MSG_WAITALL | MSG_NOSIGNAL)
 	};
-	iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, size);
+	iov_iter_kvec(&msg.msg_iter, ITER_DEST, &iov, 1, size);
 	return sock_recvmsg(sock, &msg, msg.msg_flags);
 }
 
drivers/block/loop.c +7 -7
index b30f4d525bc8..3db4dad0d072 100644
@@ -265,7 +265,7 @@ static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos)
 	struct iov_iter i;
 	ssize_t bw;
 
-	iov_iter_bvec(&i, WRITE, bvec, 1, bvec->bv_len);
+	iov_iter_bvec(&i, ITER_SOURCE, bvec, 1, bvec->bv_len);
 
 	file_start_write(file);
 	bw = vfs_iter_write(file, &i, ppos, 0);
@@ -343,7 +343,7 @@ static int lo_read_simple(struct loop_device *lo, struct request *rq,
 	ssize_t len;
 
 	rq_for_each_segment(bvec, rq, iter) {
-		iov_iter_bvec(&i, READ, &bvec, 1, bvec.bv_len);
+		iov_iter_bvec(&i, ITER_DEST, &bvec, 1, bvec.bv_len);
 		len = vfs_iter_read(lo->lo_backing_file, &i, &pos, 0);
 		if (len < 0)
 			return len;
@@ -384,7 +384,7 @@ static int lo_read_transfer(struct loop_device *lo, struct request *rq,
 		b.bv_offset = 0;
 		b.bv_len = bvec.bv_len;
 
-		iov_iter_bvec(&i, READ, &b, 1, b.bv_len);
+		iov_iter_bvec(&i, ITER_DEST, &b, 1, b.bv_len);
 		len = vfs_iter_read(lo->lo_backing_file, &i, &pos, 0);
 		if (len < 0) {
 			ret = len;
@@ -508,7 +508,7 @@ static void lo_rw_aio_complete(struct kiocb *iocb, long ret, long ret2)
 }
 
 static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd,
-		     loff_t pos, bool rw)
+		     loff_t pos, int rw)
 {
 	struct iov_iter iter;
 	struct req_iterator rq_iter;
@@ -566,7 +566,7 @@ static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd,
 	if (cmd->css)
 		kthread_associate_blkcg(cmd->css);
 
-	if (rw == WRITE)
+	if (rw == ITER_SOURCE)
 		ret = call_write_iter(file, &cmd->iocb, &iter);
 	else
 		ret = call_read_iter(file, &cmd->iocb, &iter);
@@ -611,14 +611,14 @@ static int do_req_filebacked(struct loop_device *lo, struct request *rq)
 		if (lo->transfer)
 			return lo_write_transfer(lo, rq, pos);
 		else if (cmd->use_aio)
-			return lo_rw_aio(lo, cmd, pos, WRITE);
+			return lo_rw_aio(lo, cmd, pos, ITER_SOURCE);
 		else
 			return lo_write_simple(lo, rq, pos);
 	case REQ_OP_READ:
 		if (lo->transfer)
 			return lo_read_transfer(lo, rq, pos);
 		else if (cmd->use_aio)
-			return lo_rw_aio(lo, cmd, pos, READ);
+			return lo_rw_aio(lo, cmd, pos, ITER_DEST);
 		else
 			return lo_read_simple(lo, rq, pos);
 	default:
drivers/block/nbd.c +5 -5
index 649a1e881265..4c401a0721a6 100644
@@ -543,7 +543,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 	u32 nbd_cmd_flags = 0;
 	int sent = nsock->sent, skip = 0;
 
-	iov_iter_kvec(&from, WRITE, &iov, 1, sizeof(request));
+	iov_iter_kvec(&from, ITER_SOURCE, &iov, 1, sizeof(request));
 
 	type = req_to_nbd_cmd_type(req);
 	if (type == U32_MAX)
@@ -629,7 +629,7 @@ static int nbd_send_cmd(struct nbd_device *nbd, struct nbd_cmd *cmd, int index)
 
 			dev_dbg(nbd_to_dev(nbd), "request %p: sending %d bytes data\n",
 				req, bvec.bv_len);
-			iov_iter_bvec(&from, WRITE, &bvec, 1, bvec.bv_len);
+			iov_iter_bvec(&from, ITER_SOURCE, &bvec, 1, bvec.bv_len);
 			if (skip) {
 				if (skip >= iov_iter_count(&from)) {
 					skip -= iov_iter_count(&from);
@@ -681,7 +681,7 @@ static int nbd_read_reply(struct nbd_device *nbd, int index,
 	int result;
 
 	reply->magic = 0;
-	iov_iter_kvec(&to, READ, &iov, 1, sizeof(*reply));
+	iov_iter_kvec(&to, ITER_DEST, &iov, 1, sizeof(*reply));
 	result = sock_xmit(nbd, index, 0, &to, MSG_WAITALL, NULL);
 	if (result < 0) {
 		if (!nbd_disconnected(nbd->config))
@@ -758,7 +758,7 @@ static struct nbd_cmd *nbd_handle_reply(struct nbd_device *nbd, int index,
 		struct iov_iter to;
 
 		rq_for_each_segment(bvec, req, iter) {
-			iov_iter_bvec(&to, READ, &bvec, 1, bvec.bv_len);
+			iov_iter_bvec(&to, ITER_DEST, &bvec, 1, bvec.bv_len);
 			result = sock_xmit(nbd, index, 0, &to, MSG_WAITALL, NULL);
 			if (result < 0) {
 				dev_err(disk_to_dev(nbd->disk), "Receive data failed (result %d)\n",
@@ -1206,7 +1206,7 @@ static void send_disconnects(struct nbd_device *nbd)
 	for (i = 0; i < config->num_connections; i++) {
 		struct nbd_sock *nsock = config->socks[i];
 
-		iov_iter_kvec(&from, WRITE, &iov, 1, sizeof(request));
+		iov_iter_kvec(&from, ITER_SOURCE, &iov, 1, sizeof(request));
 		mutex_lock(&nsock->tx_lock);
 		ret = sock_xmit(nbd, i, 1, &from, 0, NULL);
 		if (ret < 0)
drivers/bluetooth/btusb.c +7 -1
index a27a6ab6c2b6..17c85cd8a66e 100644
@@ -3744,7 +3744,13 @@ static int btusb_setup_qca_load_rampatch(struct hci_dev *hdev,
 		    "firmware rome 0x%x build 0x%x",
 		    rver_rom, rver_patch, ver_rom, ver_patch);
 
-	if (rver_rom != ver_rom || rver_patch <= ver_patch) {
+	/* Allow rampatch when the patch version equals the firmware version.
+	 * A firmware download may be aborted by a transient USB error (e.g.
+	 * disconnect) after the controller updates version info but before
+	 * completion.
+	 * Allowing equal versions enables re-flashing during recovery.
+	 */
+	if (rver_rom != ver_rom || rver_patch < ver_patch) {
 		bt_dev_err(hdev, "rampatch file version did not match with firmware");
 		err = -EINVAL;
 		goto done;
drivers/bluetooth/hci_qca.c +16 -17
index 24cfc552e6a8..043f71269466 100644
@@ -46,13 +46,12 @@
 #define HCI_MAX_IBS_SIZE	10
 
 #define IBS_WAKE_RETRANS_TIMEOUT_MS	100
-#define IBS_BTSOC_TX_IDLE_TIMEOUT_MS	200
+#define IBS_BTSOC_TX_IDLE_TIMEOUT	msecs_to_jiffies(200)
 #define IBS_HOST_TX_IDLE_TIMEOUT_MS	2000
-#define CMD_TRANS_TIMEOUT_MS		100
-#define MEMDUMP_TIMEOUT_MS		8000
-#define IBS_DISABLE_SSR_TIMEOUT_MS \
-	(MEMDUMP_TIMEOUT_MS + FW_DOWNLOAD_TIMEOUT_MS)
-#define FW_DOWNLOAD_TIMEOUT_MS		3000
+#define CMD_TRANS_TIMEOUT		msecs_to_jiffies(100)
+#define MEMDUMP_TIMEOUT			msecs_to_jiffies(8000)
+#define FW_DOWNLOAD_TIMEOUT		msecs_to_jiffies(3000)
+#define IBS_DISABLE_SSR_TIMEOUT		(MEMDUMP_TIMEOUT + FW_DOWNLOAD_TIMEOUT)
 
 /* susclk rate */
 #define SUSCLK_RATE_32KHZ	32768
@@ -1041,7 +1040,7 @@ static void qca_controller_memdump(struct work_struct *work)
 				    dump_size);
 			queue_delayed_work(qca->workqueue,
 					   &qca->ctrl_memdump_timeout,
-					   msecs_to_jiffies(MEMDUMP_TIMEOUT_MS)
+					   MEMDUMP_TIMEOUT
 					  );
 
 			skb_pull(skb, sizeof(dump_size));
@@ -1309,7 +1308,7 @@ static int qca_set_baudrate(struct hci_dev *hdev, uint8_t baudrate)
 
 	if (hu->serdev)
 		serdev_device_wait_until_sent(hu->serdev,
-		      msecs_to_jiffies(CMD_TRANS_TIMEOUT_MS));
+		      CMD_TRANS_TIMEOUT);
 
 	/* Give the controller time to process the request */
 	if (qca_is_wcn399x(qca_soc_type(hu)))
@@ -1330,8 +1329,8 @@ static inline void host_set_baudrate(struct hci_uart *hu, unsigned int speed)
 
 static int qca_send_power_pulse(struct hci_uart *hu, bool on)
 {
+	int timeout = CMD_TRANS_TIMEOUT;
 	int ret;
-	int timeout = msecs_to_jiffies(CMD_TRANS_TIMEOUT_MS);
 	u8 cmd = on ? QCA_WCN3990_POWERON_PULSE : QCA_WCN3990_POWEROFF_PULSE;
 
 	/* These power pulses are single byte command which are sent
@@ -1490,7 +1489,7 @@ static void qca_wait_for_dump_collection(struct hci_dev *hdev)
 	struct qca_data *qca = hu->priv;
 
 	wait_on_bit_timeout(&qca->flags, QCA_MEMDUMP_COLLECTION,
-			    TASK_UNINTERRUPTIBLE, MEMDUMP_TIMEOUT_MS);
+			    TASK_UNINTERRUPTIBLE, MEMDUMP_TIMEOUT);
 
 	clear_bit(QCA_MEMDUMP_COLLECTION, &qca->flags);
 }
@@ -2071,7 +2070,7 @@ static void qca_serdev_remove(struct serdev_device *serdev)
 static void qca_serdev_shutdown(struct device *dev)
 {
 	int ret;
-	int timeout = msecs_to_jiffies(CMD_TRANS_TIMEOUT_MS);
+	int timeout = CMD_TRANS_TIMEOUT;
 	struct serdev_device *serdev = to_serdev_device(dev);
 	struct qca_serdev *qcadev = serdev_device_get_drvdata(serdev);
 	struct hci_uart *hu = &qcadev->serdev_hu;
@@ -2129,7 +2128,7 @@ static int __maybe_unused qca_suspend(struct device *dev)
 	bool tx_pending = false;
 	int ret = 0;
 	u8 cmd;
-	u32 wait_timeout = 0;
+	unsigned long wait_timeout = 0;
 
 	set_bit(QCA_SUSPENDING, &qca->flags);
 
@@ -2150,15 +2149,15 @@ static int __maybe_unused qca_suspend(struct device *dev)
 	if (test_bit(QCA_IBS_DISABLED, &qca->flags) ||
 	    test_bit(QCA_SSR_TRIGGERED, &qca->flags)) {
 		wait_timeout = test_bit(QCA_SSR_TRIGGERED, &qca->flags) ?
-					IBS_DISABLE_SSR_TIMEOUT_MS :
-					FW_DOWNLOAD_TIMEOUT_MS;
+					IBS_DISABLE_SSR_TIMEOUT :
+					FW_DOWNLOAD_TIMEOUT;
 
 		/* QCA_IBS_DISABLED flag is set to true, During FW download
 		 * and during memory dump collection. It is reset to false,
 		 * After FW download complete.
 		 */
 		wait_on_bit_timeout(&qca->flags, QCA_IBS_DISABLED,
-			    TASK_UNINTERRUPTIBLE, msecs_to_jiffies(wait_timeout));
+			    TASK_UNINTERRUPTIBLE, wait_timeout);
 
 		if (test_bit(QCA_IBS_DISABLED, &qca->flags)) {
 			bt_dev_err(hu->hdev, "SSR or FW download time out");
@@ -2210,7 +2209,7 @@ static int __maybe_unused qca_suspend(struct device *dev)
 
 	if (tx_pending) {
 		serdev_device_wait_until_sent(hu->serdev,
-					      msecs_to_jiffies(CMD_TRANS_TIMEOUT_MS));
+					      CMD_TRANS_TIMEOUT);
 		serial_clock_vote(HCI_IBS_TX_VOTE_CLOCK_OFF, hu);
 	}
 
@@ -2219,7 +2218,7 @@ static int __maybe_unused qca_suspend(struct device *dev)
 	 */
 	ret = wait_event_interruptible_timeout(qca->suspend_wait_q,
 			qca->rx_ibs_state == HCI_IBS_RX_ASLEEP,
-			msecs_to_jiffies(IBS_BTSOC_TX_IDLE_TIMEOUT_MS));
+			IBS_BTSOC_TX_IDLE_TIMEOUT);
 	if (ret == 0) {
 		ret = -ETIMEDOUT;
 		goto error;
drivers/char/random.c +2 -2
index b54481e66730..f60a4b2ef10d 100644
@@ -1237,7 +1237,7 @@ SYSCALL_DEFINE3(getrandom, char __user *, ubuf, size_t, len, unsigned int, flags
 			return ret;
 	}
 
-	ret = import_single_range(READ, ubuf, len, &iov, &iter);
+	ret = import_single_range(ITER_DEST, ubuf, len, &iov, &iter);
 	if (unlikely(ret))
 		return ret;
 	return get_random_bytes_user(&iter);
@@ -1348,7 +1348,7 @@ static long random_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
 			return -EINVAL;
 		if (get_user(len, p++))
 			return -EFAULT;
-		ret = import_single_range(WRITE, p, len, &iov, &iter);
+		ret = import_single_range(ITER_SOURCE, p, len, &iov, &iter);
 		if (unlikely(ret))
 			return ret;
 		ret = write_pool_user(&iter);
drivers/crypto/caam/caamalg_qi2.c +2 -2
index 43bed47ce59b..c895bd861100 100644
@@ -3261,7 +3261,7 @@ static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
 	dpaa2_fl_set_addr(out_fle, key_dma);
 	dpaa2_fl_set_len(out_fle, digestsize);
 
-	print_hex_dump_debug("key_in@" __stringify(__LINE__)": ",
+	print_hex_dump_devel("key_in@" __stringify(__LINE__)": ",
 			     DUMP_PREFIX_ADDRESS, 16, 4, key, *keylen, 1);
 	print_hex_dump_debug("shdesc@" __stringify(__LINE__)": ",
 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
@@ -3281,7 +3281,7 @@ static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
 		/* in progress */
 		wait_for_completion(&result.completion);
 		ret = result.err;
-		print_hex_dump_debug("digested key@" __stringify(__LINE__)": ",
+		print_hex_dump_devel("digested key@" __stringify(__LINE__)": ",
 				     DUMP_PREFIX_ADDRESS, 16, 4, key,
 				     digestsize, 1);
 	}
drivers/crypto/caam/caamhash.c +2 -2
index e8a6d8bc43b5..0ddd50cdaddd 100644
@@ -390,7 +390,7 @@ static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
 	append_seq_store(desc, digestsize, LDST_CLASS_2_CCB |
 			 LDST_SRCDST_BYTE_CONTEXT);
 
-	print_hex_dump_debug("key_in@"__stringify(__LINE__)": ",
+	print_hex_dump_devel("key_in@"__stringify(__LINE__)": ",
 			     DUMP_PREFIX_ADDRESS, 16, 4, key, *keylen, 1);
 	print_hex_dump_debug("jobdesc@"__stringify(__LINE__)": ",
 			     DUMP_PREFIX_ADDRESS, 16, 4, desc, desc_bytes(desc),
@@ -405,7 +405,7 @@ static int hash_digest_key(struct caam_hash_ctx *ctx, u32 *keylen, u8 *key,
 		wait_for_completion(&result.completion);
 		ret = result.err;
 
-		print_hex_dump_debug("digested key@"__stringify(__LINE__)": ",
+		print_hex_dump_devel("digested key@"__stringify(__LINE__)": ",
 				     DUMP_PREFIX_ADDRESS, 16, 4, key,
 				     digestsize, 1);
 	}
drivers/fsi/fsi-sbefifo.c +3 -3
index 97045a8d9422..8572fac30051 100644
@@ -640,7 +640,7 @@ static void sbefifo_collect_async_ffdc(struct sbefifo *sbefifo)
 	}
         ffdc_iov.iov_base = ffdc;
 	ffdc_iov.iov_len = SBEFIFO_MAX_FFDC_SIZE;
-        iov_iter_kvec(&ffdc_iter, READ, &ffdc_iov, 1, SBEFIFO_MAX_FFDC_SIZE);
+        iov_iter_kvec(&ffdc_iter, ITER_DEST, &ffdc_iov, 1, SBEFIFO_MAX_FFDC_SIZE);
 	cmd[0] = cpu_to_be32(2);
 	cmd[1] = cpu_to_be32(SBEFIFO_CMD_GET_SBE_FFDC);
 	rc = sbefifo_do_command(sbefifo, cmd, 2, &ffdc_iter);
@@ -737,7 +737,7 @@ int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len,
 	rbytes = (*resp_len) * sizeof(__be32);
 	resp_iov.iov_base = response;
 	resp_iov.iov_len = rbytes;
-        iov_iter_kvec(&resp_iter, READ, &resp_iov, 1, rbytes);
+        iov_iter_kvec(&resp_iter, ITER_DEST, &resp_iov, 1, rbytes);
 
 	/* Perform the command */
 	mutex_lock(&sbefifo->lock);
@@ -817,7 +817,7 @@ static ssize_t sbefifo_user_read(struct file *file, char __user *buf,
 	/* Prepare iov iterator */
 	resp_iov.iov_base = buf;
 	resp_iov.iov_len = len;
-	iov_iter_init(&resp_iter, READ, &resp_iov, 1, len);
+	iov_iter_init(&resp_iter, ITER_DEST, &resp_iov, 1, len);
 
 	/* Perform the command */
 	mutex_lock(&sbefifo->lock);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +5 -0
index f4a1ad8959b7..8b27ccae62b3 100644
@@ -895,8 +895,13 @@ static ssize_t dp_sdp_message_debugfs_write(struct file *f, const char __user *b
 	if (size == 0)
 		return 0;
 
+	if (!connector->base.state || !connector->base.state->crtc)
+		return -ENODEV;
+
 	acrtc_state = to_dm_crtc_state(connector->base.state->crtc->state);
 
+	write_size = min_t(size_t, size, sizeof(data));
+
 	r = copy_from_user(data, buf, write_size);
 
 	write_size -= r;
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +4 -2
index 3cc61bb6f896..2ad367212124 100644
@@ -546,8 +546,10 @@ static enum bp_result bios_parser_get_gpio_pin_info(
 		info->offset_en = info->offset + 1;
 		info->offset_mask = info->offset - 1;
 
-		info->mask = (uint32_t) (1 <<
-			header->gpio_pin[i].gpio_bitshift);
+		if (header->gpio_pin[i].gpio_bitshift >= 32)
+			return BP_RESULT_BADBIOSTABLE;
+
+		info->mask = 1u << header->gpio_pin[i].gpio_bitshift;
 		info->mask_y = info->mask + 2;
 		info->mask_en = info->mask + 1;
 		info->mask_mask = info->mask - 1;
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c +2 -1
index 40286e8dd4e1..65ed5b5a1935 100644
@@ -533,7 +533,8 @@ enum mod_hdcp_status mod_hdcp_read_rx_id_list(struct mod_hdcp *hdcp)
 	} else {
 		status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_REPEATER_AUTH_SEND_RECEIVERID_LIST,
 				hdcp->auth.msg.hdcp2.rx_id_list,
-				hdcp->auth.msg.hdcp2.rx_id_list_size);
+				MIN(hdcp->auth.msg.hdcp2.rx_id_list_size,
+				    sizeof(hdcp->auth.msg.hdcp2.rx_id_list)));
 	}
 	return status;
 }
drivers/gpu/drm/i915/gem/i915_gem_phys.c +15 -4
index 3a4dfe2ef1da..f110b78e4773 100644
@@ -17,6 +17,17 @@
 #include "i915_gem_region.h"
 #include "i915_scatterlist.h"
 
+/* Abuse scatterlist to store pointer instead of struct page. */
+static inline void __set_phys_vaddr(struct scatterlist *sg, void *vaddr)
+{
+	sg_assign_page(sg, (struct page *)vaddr);
+}
+
+static inline void *__get_phys_vaddr(struct scatterlist *sg)
+{
+	return (void *)sg_page(sg);
+}
+
 static int i915_gem_object_get_pages_phys(struct drm_i915_gem_object *obj)
 {
 	struct address_space *mapping = obj->base.filp->f_mapping;
@@ -52,7 +63,7 @@ static int i915_gem_object_get_pages_phys(struct drm_i915_gem_object *obj)
 	sg->offset = 0;
 	sg->length = obj->base.size;
 
-	sg_assign_page(sg, (struct page *)vaddr);
+	__set_phys_vaddr(sg, vaddr);
 	sg_dma_address(sg) = dma;
 	sg_dma_len(sg) = obj->base.size;
 
@@ -94,7 +105,7 @@ i915_gem_object_put_pages_phys(struct drm_i915_gem_object *obj,
 			       struct sg_table *pages)
 {
 	dma_addr_t dma = sg_dma_address(pages->sgl);
-	void *vaddr = sg_page(pages->sgl);
+	void *vaddr = __get_phys_vaddr(pages->sgl);
 
 	__i915_gem_object_release_shmem(obj, pages, false);
 
@@ -138,7 +149,7 @@ static int
 phys_pwrite(struct drm_i915_gem_object *obj,
 	    const struct drm_i915_gem_pwrite *args)
 {
-	void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset;
+	void *vaddr = __get_phys_vaddr(obj->mm.pages->sgl) + args->offset;
 	char __user *user_data = u64_to_user_ptr(args->data_ptr);
 	int err;
 
@@ -169,7 +180,7 @@ static int
 phys_pread(struct drm_i915_gem_object *obj,
 	   const struct drm_i915_gem_pread *args)
 {
-	void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset;
+	void *vaddr = __get_phys_vaddr(obj->mm.pages->sgl) + args->offset;
 	char __user *user_data = u64_to_user_ptr(args->data_ptr);
 	int err;
 
drivers/gpu/drm/imx/dcss/dcss-scaler.c +3 -0
index cd21905de580..d156cc60c3f4 100644
@@ -164,6 +164,7 @@ static int exp_approx_q(int x)
  * dcss_scaler_gaussian_filter() - Generate gaussian prototype filter.
  * @fc_q: fixed-point cutoff frequency normalized to range [0, 1]
  * @use_5_taps: indicates whether to use 5 taps or 7 taps
+ * @phase0_identity: whether to override phase 0 coefficients with identity filter
  * @coef: output filter coefficients
  */
 static void dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps,
@@ -249,7 +250,9 @@ static void dcss_scaler_gaussian_filter(int fc_q, bool use_5_taps,
  * @src_length: length of input
  * @dst_length: length of output
  * @use_5_taps: 0 for 7 taps per phase, 1 for 5 taps
+ * @phase0_identity: whether to override phase 0 coefficients with identity filter
  * @coef: output coefficients
+ * @nn_interpolation: whether to use nearest neighbor instead of gaussian filter
  */
 static void dcss_scaler_filter_design(int src_length, int dst_length,
 				      bool use_5_taps, bool phase0_identity,
drivers/gpu/drm/nouveau/nouveau_gem.c +1 -1
index 567b43aa4a31..93c1afff5e90 100644
@@ -618,7 +618,7 @@ nouveau_gem_pushbuf_reloc_apply(struct nouveau_cli *cli,
 		}
 		nvbo = (void *)(unsigned long)bo[r->reloc_bo_index].user_priv;
 
-		if (unlikely(r->reloc_bo_offset + 4 >
+		if (unlikely((u64)r->reloc_bo_offset + 4 >
 			     nvbo->bo.mem.num_pages << PAGE_SHIFT)) {
 			NV_PRINTK(err, cli, "reloc outside of bo\n");
 			ret = -EINVAL;
drivers/hid/hid-core.c +22 -7
index aa9ae6ccb28a..918c66d5bc93 100644
@@ -1775,8 +1775,8 @@ int __hid_request(struct hid_device *hid, struct hid_report *report,
 }
 EXPORT_SYMBOL_GPL(__hid_request);
 
-int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
-		int interrupt)
+int hid_report_raw_event(struct hid_device *hid, int type, u8 *data,
+			 size_t bufsize, u32 size, int interrupt)
 {
 	struct hid_report_enum *report_enum = hid->report_enum + type;
 	struct hid_report *report;
@@ -1784,16 +1784,24 @@ int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
 	int max_buffer_size = HID_MAX_BUFFER_SIZE;
 	unsigned int a;
 	u32 rsize, csize = size;
+	size_t bsize = bufsize;
 	u8 *cdata = data;
 	int ret = 0;
 
 	report = hid_get_report(report_enum, data);
 	if (!report)
-		goto out;
+		return 0;
+
+	if (unlikely(bsize < csize)) {
+		hid_warn_ratelimited(hid, "Event data for report %d is incorrect (%d vs %zu)\n",
+				     report->id, csize, bsize);
+		return -EINVAL;
+	}
 
 	if (report_enum->numbered) {
 		cdata++;
 		csize--;
+		bsize--;
 	}
 
 	rsize = hid_compute_report_size(report);
@@ -1806,9 +1814,15 @@ int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
 	else if (rsize > max_buffer_size)
 		rsize = max_buffer_size;
 
+	if (bsize < rsize) {
+		hid_warn_ratelimited(hid, "Event data for report %d was too short (%d vs %zu)\n",
+				     report->id, rsize, bsize);
+		return -EINVAL;
+	}
+
 	if (csize < rsize) {
 		dbg_hid("report %d is too short, (%d < %d)\n", report->id,
-				csize, rsize);
+			csize, rsize);
 		memset(cdata + csize, 0, rsize - csize);
 	}
 
@@ -1817,7 +1831,7 @@ int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
 	if (hid->claimed & HID_CLAIMED_HIDRAW) {
 		ret = hidraw_report_event(hid, data, size);
 		if (ret)
-			goto out;
+			return ret;
 	}
 
 	if (hid->claimed != HID_CLAIMED_HIDRAW && report->maxfield) {
@@ -1830,7 +1844,7 @@ int hid_report_raw_event(struct hid_device *hid, int type, u8 *data, u32 size,
 
 	if (hid->claimed & HID_CLAIMED_INPUT)
 		hidinput_report_event(hid, report);
-out:
+
 	return ret;
 }
 EXPORT_SYMBOL_GPL(hid_report_raw_event);
@@ -1851,6 +1865,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, u32 size, int i
 	struct hid_report_enum *report_enum;
 	struct hid_driver *hdrv;
 	struct hid_report *report;
+	size_t bufsize = size;
 	int ret = 0;
 
 	if (!hid)
@@ -1889,7 +1904,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, u32 size, int i
 			goto unlock;
 	}
 
-	ret = hid_report_raw_event(hid, type, data, size, interrupt);
+	ret = hid_report_raw_event(hid, type, data, bufsize, size, interrupt);
 
 unlock:
 	up(&hid->driver_input_lock);
drivers/hid/hid-gfrm.c +2 -2
index 699186ff2349..d2a56bf92b41 100644
@@ -66,7 +66,7 @@ static int gfrm_raw_event(struct hid_device *hdev, struct hid_report *report,
 	switch (data[1]) {
 	case GFRM100_SEARCH_KEY_DOWN:
 		ret = hid_report_raw_event(hdev, HID_INPUT_REPORT, search_key_dn,
-					   sizeof(search_key_dn), 1);
+					   sizeof(search_key_dn), sizeof(search_key_dn), 1);
 		break;
 
 	case GFRM100_SEARCH_KEY_AUDIO_DATA:
@@ -74,7 +74,7 @@ static int gfrm_raw_event(struct hid_device *hdev, struct hid_report *report,
 
 	case GFRM100_SEARCH_KEY_UP:
 		ret = hid_report_raw_event(hdev, HID_INPUT_REPORT, search_key_up,
-					   sizeof(search_key_up), 1);
+					   sizeof(search_key_up), sizeof(search_key_up), 1);
 		break;
 
 	default:
drivers/hid/hid-logitech-hidpp.c +1 -1
index 98562a0ed0c3..d31f2737b13d 100644
@@ -3176,7 +3176,7 @@ static int hidpp10_consumer_keys_raw_event(struct hidpp_device *hidpp,
 	memcpy(&consumer_report[1], &data[3], 4);
 	/* We are called from atomic context */
 	hid_report_raw_event(hidpp->hid_dev, HID_INPUT_REPORT,
-			     consumer_report, 5, 1);
+			     consumer_report, sizeof(consumer_report), 5, 1);
 
 	return 1;
 }
drivers/hid/hid-multitouch.c +1 -1
index 948bd59ab5d2..c3bcc23d7c7c 100644
@@ -449,7 +449,7 @@ static void mt_get_feature(struct hid_device *hdev, struct hid_report *report)
 		}
 
 		ret = hid_report_raw_event(hdev, HID_FEATURE_REPORT, buf,
-					   size, 0);
+					   size, size, 0);
 		if (ret)
 			dev_warn(&hdev->dev, "failed to report feature\n");
 	}
drivers/hid/hid-primax.c +1 -1
index 1e6413d07cae..16e2a811eda9 100644
@@ -44,7 +44,7 @@ static int px_raw_event(struct hid_device *hid, struct hid_report *report,
 			data[0] |= (1 << (data[idx] - 0xE0));
 			data[idx] = 0;
 		}
-		hid_report_raw_event(hid, HID_INPUT_REPORT, data, size, 0);
+		hid_report_raw_event(hid, HID_INPUT_REPORT, data, size, size, 0);
 		return 1;
 
 	default:	/* unknown report */
drivers/hid/hid-vivaldi.c +1 -1
index d57ec1767037..fdfea1355ee7 100644
@@ -126,7 +126,7 @@ static void vivaldi_feature_mapping(struct hid_device *hdev,
 	}
 
 	ret = hid_report_raw_event(hdev, HID_FEATURE_REPORT, report_data,
-				   report_len, 0);
+				   report_len, report_len, 0);
 	if (ret) {
 		dev_warn(&hdev->dev, "failed to report feature %d\n",
 			 field->report->id);
drivers/hid/wacom_sys.c +13 -6
index abbfb53bb7dc..5043bc809aae 100644
@@ -79,7 +79,7 @@ static void wacom_wac_queue_flush(struct hid_device *hdev,
 		int err;
 
 		size = kfifo_out(fifo, buf, sizeof(buf));
-		err = hid_report_raw_event(hdev, HID_INPUT_REPORT, buf, size, false);
+		err = hid_report_raw_event(hdev, HID_INPUT_REPORT, buf, size, size, false);
 		if (err) {
 			hid_warn(hdev, "%s: unable to flush event due to error %d\n",
 				 __func__, err);
@@ -324,7 +324,7 @@ static void wacom_feature_mapping(struct hid_device *hdev,
 					       data, n, WAC_CMD_RETRIES);
 			if (ret == n && features->type == HID_GENERIC) {
 				ret = hid_report_raw_event(hdev,
-					HID_FEATURE_REPORT, data, n, 0);
+					HID_FEATURE_REPORT, data, n, n, 0);
 			} else if (ret == 2 && features->type != HID_GENERIC) {
 				features->touch_max = data[1];
 			} else {
@@ -346,6 +346,7 @@ static void wacom_feature_mapping(struct hid_device *hdev,
 
 		hid_data->inputmode = field->report->id;
 		hid_data->inputmode_index = usage->usage_index;
+		hid_data->inputmode_field_index = field->index;
 		break;
 
 	case HID_UP_DIGITIZER:
@@ -385,7 +386,7 @@ static void wacom_feature_mapping(struct hid_device *hdev,
 					data, n, WAC_CMD_RETRIES);
 		if (ret == n) {
 			ret = hid_report_raw_event(hdev, HID_FEATURE_REPORT,
-						   data, n, 0);
+						   data, n, n, 0);
 		} else {
 			hid_warn(hdev, "%s: could not retrieve sensor offsets\n",
 				 __func__);
@@ -561,9 +562,14 @@ static int wacom_hid_set_device_mode(struct hid_device *hdev)
 
 	re = &(hdev->report_enum[HID_FEATURE_REPORT]);
 	r = re->report_id_hash[hid_data->inputmode];
-	if (r) {
-		r->field[0]->value[hid_data->inputmode_index] = 2;
-		hid_hw_request(hdev, r, HID_REQ_SET_REPORT);
+	if (r && hid_data->inputmode_field_index >= 0 &&
+	    hid_data->inputmode_field_index < r->maxfield) {
+		struct hid_field *field = r->field[hid_data->inputmode_field_index];
+
+		if (field && hid_data->inputmode_index < field->report_count) {
+			field->value[hid_data->inputmode_index] = 2;
+			hid_hw_request(hdev, r, HID_REQ_SET_REPORT);
+		}
 	}
 	return 0;
 }
@@ -2815,6 +2821,7 @@ static int wacom_probe(struct hid_device *hdev,
 		return error;
 
 	wacom_wac->hid_data.inputmode = -1;
+	wacom_wac->hid_data.inputmode_field_index = -1;
 	wacom_wac->mode_report = -1;
 
 	if (hid_is_usb(hdev)) {
drivers/hid/wacom_wac.h +1 -0
index d393f96626fb..0de34c13e7a1 100644
@@ -296,6 +296,7 @@ struct wacom_shared {
 struct hid_data {
 	__s16 inputmode;	/* InputMode HID feature, -1 if non-existent */
 	__s16 inputmode_index;	/* InputMode HID feature index in the report */
+	__s16 inputmode_field_index; /* InputMode HID feature field index in the report */
 	bool sense_state;
 	bool inrange_state;
 	bool invert_state;
drivers/i2c/busses/i2c-qcom-cci.c +1 -1
index 06c87c79bae7..7e3e1514416d 100644
@@ -683,8 +683,8 @@ static int cci_remove(struct platform_device *pdev)
 		if (cci->master[i].cci) {
 			i2c_del_adapter(&cci->master[i].adap);
 			of_node_put(cci->master[i].adap.dev.of_node);
+			cci_halt(cci, i);
 		}
-		cci_halt(cci, i);
 	}
 
 	disable_irq(cci->irq);
drivers/i2c/busses/i2c-tegra.c +30 -23

83 lines not on this page · raw message

drivers/i2c/i2c-dev.c +5 -4
index f0bd4ae19df6..25438ba6bdfb 100644
@@ -477,12 +477,13 @@ static long i2cdev_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 		client->adapter->retries = arg;
 		break;
 	case I2C_TIMEOUT:
-		if (arg > INT_MAX)
+		/*
+		 * For historical reasons, user-space sets the timeout value in
+		 * units of 10 ms.
+		 */
+		if (arg > INT_MAX / 10)
 			return -EINVAL;
 
-		/* For historical reasons, user-space sets the timeout
-		 * value in units of 10 ms.
-		 */
 		client->adapter->timeout = msecs_to_jiffies(arg * 10);
 		break;
 	default:
drivers/iio/adc/npcm_adc.c +8 -18
index d9d105920001..c06de95716c8 100644
@@ -180,7 +180,6 @@ static int npcm_adc_probe(struct platform_device *pdev)
 	u32 reg_con;
 	struct npcm_adc *info;
 	struct iio_dev *indio_dev;
-	struct device *dev = &pdev->dev;
 
 	indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*info));
 	if (!indio_dev)
@@ -197,7 +196,7 @@ static int npcm_adc_probe(struct platform_device *pdev)
 	if (IS_ERR(info->reset))
 		return PTR_ERR(info->reset);
 
-	info->adc_clk = devm_clk_get(&pdev->dev, NULL);
+	info->adc_clk = devm_clk_get_enabled(&pdev->dev, NULL);
 	if (IS_ERR(info->adc_clk)) {
 		dev_warn(&pdev->dev, "ADC clock failed: can't read clk\n");
 		return PTR_ERR(info->adc_clk);
@@ -210,17 +209,13 @@ static int npcm_adc_probe(struct platform_device *pdev)
 	info->adc_sample_hz = clk_get_rate(info->adc_clk) / ((div + 1) * 2);
 
 	irq = platform_get_irq(pdev, 0);
-	if (irq <= 0) {
-		ret = -EINVAL;
-		goto err_disable_clk;
-	}
+	if (irq <= 0)
+		return -EINVAL;
 
 	ret = devm_request_irq(&pdev->dev, irq, npcm_adc_isr, 0,
 			       "NPCM_ADC", indio_dev);
-	if (ret < 0) {
-		dev_err(dev, "failed requesting interrupt\n");
-		goto err_disable_clk;
-	}
+	if (ret < 0)
+		return ret;
 
 	reg_con = ioread32(info->regs + NPCM_ADCCON);
 	info->vref = devm_regulator_get_optional(&pdev->dev, "vref");
@@ -228,7 +223,7 @@ static int npcm_adc_probe(struct platform_device *pdev)
 		ret = regulator_enable(info->vref);
 		if (ret) {
 			dev_err(&pdev->dev, "Can't enable ADC reference voltage\n");
-			goto err_disable_clk;
+			return ret;
 		}
 
 		iowrite32(reg_con & ~NPCM_ADCCON_REFSEL,
@@ -238,10 +233,8 @@ static int npcm_adc_probe(struct platform_device *pdev)
 		 * Any error which is not ENODEV indicates the regulator
 		 * has been specified and so is a failure case.
 		 */
-		if (PTR_ERR(info->vref) != -ENODEV) {
-			ret = PTR_ERR(info->vref);
-			goto err_disable_clk;
-		}
+		if (PTR_ERR(info->vref) != -ENODEV)
+			return PTR_ERR(info->vref);
 
 		/* Use internal reference */
 		iowrite32(reg_con | NPCM_ADCCON_REFSEL,
@@ -280,8 +273,6 @@ static int npcm_adc_probe(struct platform_device *pdev)
 	iowrite32(reg_con & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON);
 	if (!IS_ERR(info->vref))
 		regulator_disable(info->vref);
-err_disable_clk:
-	clk_disable_unprepare(info->adc_clk);
 
 	return ret;
 }
@@ -298,7 +289,6 @@ static int npcm_adc_remove(struct platform_device *pdev)
 	iowrite32(regtemp & ~NPCM_ADCCON_ADC_EN, info->regs + NPCM_ADCCON);
 	if (!IS_ERR(info->vref))
 		regulator_disable(info->vref);
-	clk_disable_unprepare(info->adc_clk);
 
 	return 0;
 }
drivers/iio/adc/viperboard_adc.c +3 -1
index 1028b101cf56..8723b21c0230 100644
@@ -70,8 +70,10 @@ static int vprbrd_iio_read_raw(struct iio_dev *iio_dev,
 			VPRBRD_USB_TYPE_OUT, 0x0000, 0x0000, admsg,
 			sizeof(struct vprbrd_adc_msg), VPRBRD_USB_TIMEOUT_MS);
 		if (ret != sizeof(struct vprbrd_adc_msg)) {
-			dev_err(&iio_dev->dev, "usb send error on adc read\n");
+			mutex_unlock(&vb->lock);
 			error = -EREMOTEIO;
+			dev_err(&iio_dev->dev, "usb send error on adc read\n");
+			goto error;
 		}
 
 		ret = usb_control_msg(vb->usb_dev,
drivers/iio/adc/xilinx-xadc-core.c +9 -2
index 30b5a17ce41a..017638a4af6c 100644
@@ -770,6 +770,7 @@ static int xadc_postdisable(struct iio_dev *indio_dev)
 {
 	struct xadc *xadc = iio_priv(indio_dev);
 	unsigned long scan_mask;
+	int seq_mode;
 	int ret;
 	int i;
 
@@ -777,6 +778,12 @@ static int xadc_postdisable(struct iio_dev *indio_dev)
 	for (i = 0; i < indio_dev->num_channels; i++)
 		scan_mask |= BIT(indio_dev->channels[i].scan_index);
 
+	/*
+	 * Use the correct sequencer mode for the idle state: simultaneous
+	 * mode for dual external mux configurations, continuous otherwise.
+	 */
+	seq_mode = xadc_get_seq_mode(xadc, scan_mask);
+
 	/* Enable all channels and calibration */
 	ret = xadc_write_adc_reg(xadc, XADC_REG_SEQ(0), scan_mask & 0xffff);
 	if (ret)
@@ -787,11 +794,11 @@ static int xadc_postdisable(struct iio_dev *indio_dev)
 		return ret;
 
 	ret = xadc_update_adc_reg(xadc, XADC_REG_CONF1, XADC_CONF1_SEQ_MASK,
-		XADC_CONF1_SEQ_CONTINUOUS);
+				  seq_mode);
 	if (ret)
 		return ret;
 
-	return xadc_power_adc_b(xadc, XADC_CONF1_SEQ_CONTINUOUS);
+	return xadc_power_adc_b(xadc, seq_mode);
 }
 
 static int xadc_preenable(struct iio_dev *indio_dev)
drivers/iio/buffer/industrialio-hw-consumer.c +2 -2
index f2d27788f666..bef48f8a168b 100644
@@ -82,7 +82,7 @@ static struct hw_consumer_buffer *iio_hw_consumer_get_buffer(
  */
 struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev)
 {
-	struct hw_consumer_buffer *buf;
+	struct hw_consumer_buffer *buf, *tmp;
 	struct iio_hw_consumer *hwc;
 	struct iio_channel *chan;
 	int ret;
@@ -113,7 +113,7 @@ struct iio_hw_consumer *iio_hw_consumer_alloc(struct device *dev)
 	return hwc;
 
 err_put_buffers:
-	list_for_each_entry(buf, &hwc->buffers, head)
+	list_for_each_entry_safe(buf, tmp, &hwc->buffers, head)
 		iio_buffer_put(&buf->buffer);
 	iio_channel_release_all(hwc->channels);
 err_free_hwc:
drivers/iio/chemical/scd30_core.c +29 -36

147 lines not on this page · raw message

drivers/iio/common/ssp_sensors/ssp_dev.c +1 -0
index dd0e8dc2377a..79487c1e5ff5 100644
@@ -602,6 +602,7 @@ static int ssp_remove(struct spi_device *spi)
 	ssp_clean_pending_list(data);
 
 	free_irq(data->spi->irq, data);
+	cancel_delayed_work_sync(&data->work_refresh);
 
 	del_timer_sync(&data->wdt_timer);
 	cancel_work_sync(&data->work_wdt);
drivers/iio/dac/ad5686.c +4 -4
index 3f10bb872c79..badeb91d6648 100644
@@ -154,7 +154,7 @@ static int ad5686_write_raw(struct iio_dev *indio_dev,
 
 	switch (mask) {
 	case IIO_CHAN_INFO_RAW:
-		if (val > (1 << chan->scan_type.realbits) || val < 0)
+		if (val >= (1 << chan->scan_type.realbits) || val < 0)
 			return -EINVAL;
 
 		mutex_lock(&st->lock);
@@ -488,7 +488,7 @@ int ad5686_probe(struct device *dev,
 		break;
 	case AD5686_REGMAP:
 		cmd = AD5686_CMD_INTERNAL_REFER_SETUP;
-		ref_bit_msk = 0;
+		ref_bit_msk = AD5686_REF_BIT_MSK;
 		break;
 	case AD5693_REGMAP:
 		cmd = AD5686_CMD_CONTROL_REG;
@@ -500,9 +500,9 @@ int ad5686_probe(struct device *dev,
 		goto error_disable_reg;
 	}
 
-	val = (voltage_uv | ref_bit_msk);
+	val = voltage_uv ? ref_bit_msk : 0;
 
-	ret = st->write(st, cmd, 0, !!val);
+	ret = st->write(st, cmd, 0, val);
 	if (ret)
 		goto error_disable_reg;
 
drivers/iio/dac/ad5686.h +1 -0
index a15f2970577e..8aa0300bd404 100644
@@ -44,6 +44,7 @@
 
 #define AD5310_REF_BIT_MSK			BIT(8)
 #define AD5683_REF_BIT_MSK			BIT(12)
+#define AD5686_REF_BIT_MSK			BIT(0)
 #define AD5693_REF_BIT_MSK			BIT(12)
 
 /**
drivers/iio/dac/max5821.c +8 -1
index d6bb24db49c4..dbf8b0448841 100644
@@ -91,6 +91,7 @@ static int max5821_sync_powerdown_mode(struct max5821_data *data,
 				       const struct iio_chan_spec *chan)
 {
 	u8 outbuf[2];
+	int ret;
 
 	outbuf[0] = MAX5821_EXTENDED_COMMAND_MODE;
 
@@ -104,7 +105,13 @@ static int max5821_sync_powerdown_mode(struct max5821_data *data,
 	else
 		outbuf[1] |= MAX5821_EXTENDED_POWER_UP;
 
-	return i2c_master_send(data->client, outbuf, 2);
+	ret = i2c_master_send(data->client, outbuf, sizeof(outbuf));
+	if (ret < 0)
+		return ret;
+	if (ret != sizeof(outbuf))
+		return -EIO;
+
+	return 0;
 }
 
 static ssize_t max5821_write_dac_powerdown(struct iio_dev *indio_dev,
drivers/iio/gyro/adis16260.c +3 -0
index 1e45d93de5b7..27f5ee4148ff 100644
@@ -293,6 +293,9 @@ static int adis16260_write_raw(struct iio_dev *indio_dev,
 		addr = adis16260_addresses[chan->scan_index][1];
 		return adis_write_reg_16(adis, addr, val);
 	case IIO_CHAN_INFO_SAMP_FREQ:
+		if (val <= 0)
+			return -EINVAL;
+
 		mutex_lock(&adis->state_lock);
 		if (spi_get_device_id(adis->spi)->driver_data)
 			t = 256 / val;
drivers/iio/gyro/itg3200_buffer.c +1 -1
index 98b3f021f0be..d6687a7e0498 100644
@@ -34,7 +34,7 @@ static int itg3200_read_all_channels(struct i2c_client *i2c, __be16 *buf)
 			.addr = i2c->addr,
 			.flags = i2c->flags | I2C_M_RD,
 			.len = ITG3200_SCAN_ELEMENTS * sizeof(s16),
-			.buf = (char *)&buf,
+			.buf = (char *)buf,
 		},
 	};
 
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c +1 -1
index 579c6a2d4d37..4ca104b0e19a 100644
@@ -585,7 +585,7 @@ int st_lsm6dsx_read_tagged_fifo(struct st_lsm6dsx_hw *hw)
 	 * must be passed a buffer that is aligned to 8 bytes so
 	 * as to allow insertion of a naturally aligned timestamp.
 	 */
-	u8 iio_buff[ST_LSM6DSX_IIO_BUFF_SIZE] __aligned(8);
+	u8 iio_buff[ST_LSM6DSX_IIO_BUFF_SIZE] __aligned(8) = { };
 	u8 tag;
 	bool reset_ts = false;
 	int i, err, read_len;
drivers/iio/light/cm3323.c +2 -3
index 6d1b0ffd144b..a785a697803c 100644
@@ -89,15 +89,14 @@ static int cm3323_init(struct iio_dev *indio_dev)
 
 	/* enable sensor and set auto force mode */
 	ret &= ~(CM3323_CONF_SD_BIT | CM3323_CONF_AF_BIT);
+	data->reg_conf = ret;
 
-	ret = i2c_smbus_write_word_data(data->client, CM3323_CMD_CONF, ret);
+	ret = i2c_smbus_write_word_data(data->client, CM3323_CMD_CONF, data->reg_conf);
 	if (ret < 0) {
 		dev_err(&data->client->dev, "Error writing reg_conf\n");
 		return ret;
 	}
 
-	data->reg_conf = ret;
-
 	return 0;
 }
 
drivers/iio/temperature/tsys01.c +1 -1
index bbfbad9a8767..0350b066dc8f 100644
@@ -119,7 +119,7 @@ static bool tsys01_crc_valid(u16 *n_prom)
 	u8 sum = 0;
 
 	for (cnt = 0; cnt < TSYS01_PROM_WORDS_NB; cnt++)
-		sum += ((n_prom[0] >> 8) + (n_prom[0] & 0xFF));
+		sum += ((n_prom[cnt] >> 8) + (n_prom[cnt] & 0xFF));
 
 	return (sum == 0);
 }
drivers/infiniband/core/Makefile +1 -1
index ccf2670ef45e..b19200130fb4 100644
@@ -12,7 +12,7 @@ ib_core-y :=			packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \
 				roce_gid_mgmt.o mr_pool.o addr.o sa_query.o \
 				multicast.o mad.o smi.o agent.o mad_rmpp.o \
 				nldev.o restrack.o counters.o ib_core_uverbs.o \
-				trace.o lag.o
+				trace.o lag.o iter.o
 
 ib_core-$(CONFIG_SECURITY_INFINIBAND) += security.o
 ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o
drivers/infiniband/core/iter.c new file +43 -0

43 lines not on this page · raw message

drivers/infiniband/core/verbs.c +0 -37
index 4a28f30c39f1..1fdaffd0b988 100644
@@ -2896,40 +2896,3 @@ int rdma_init_netdev(struct ib_device *device, u8 port_num,
 					     netdev, params.param);
 }
 EXPORT_SYMBOL(rdma_init_netdev);
-
-void __rdma_block_iter_start(struct ib_block_iter *biter,
-			     struct scatterlist *sglist, unsigned int nents,
-			     unsigned long pgsz)
-{
-	memset(biter, 0, sizeof(struct ib_block_iter));
-	biter->__sg = sglist;
-	biter->__sg_nents = nents;
-
-	/* Driver provides best block size to use */
-	biter->__pg_bit = __fls(pgsz);
-}
-EXPORT_SYMBOL(__rdma_block_iter_start);
-
-bool __rdma_block_iter_next(struct ib_block_iter *biter)
-{
-	unsigned int block_offset;
-	unsigned int sg_delta;
-
-	if (!biter->__sg_nents || !biter->__sg)
-		return false;
-
-	biter->__dma_addr = sg_dma_address(biter->__sg) + biter->__sg_advance;
-	block_offset = biter->__dma_addr & (BIT_ULL(biter->__pg_bit) - 1);
-	sg_delta = BIT_ULL(biter->__pg_bit) - block_offset;
-
-	if (sg_dma_len(biter->__sg) - biter->__sg_advance > sg_delta) {
-		biter->__sg_advance += sg_delta;
-	} else {
-		biter->__sg_advance = 0;
-		biter->__sg = sg_next(biter->__sg);
-		biter->__sg_nents--;
-	}
-
-	return true;
-}
-EXPORT_SYMBOL(__rdma_block_iter_next);
drivers/infiniband/hw/bnxt_re/qplib_res.c +1 -1
index 8547a8512541..49e6b9fae36e 100644
@@ -46,7 +46,7 @@
 #include <linux/if_vlan.h>
 #include <linux/vmalloc.h>
 #include <rdma/ib_verbs.h>
-#include <rdma/ib_umem.h>
+#include <rdma/iter.h>
 
 #include "roce_hsi.h"
 #include "qplib_res.h"
drivers/infiniband/hw/cxgb4/mem.c +1 -1
index 42234df896fb..02fb7c314ab4 100644
@@ -32,9 +32,9 @@
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
-#include <rdma/ib_umem.h>
 #include <linux/atomic.h>
 #include <rdma/ib_user_verbs.h>
+#include <rdma/iter.h>
 
 #include "iw_cxgb4.h"
 
drivers/infiniband/hw/efa/efa_verbs.c +1 -1
index be6c5d484487..15086856581f 100644
@@ -7,9 +7,9 @@
 #include <linux/log2.h>
 
 #include <rdma/ib_addr.h>
-#include <rdma/ib_umem.h>
 #include <rdma/ib_user_verbs.h>
 #include <rdma/ib_verbs.h>
+#include <rdma/iter.h>
 #include <rdma/uverbs_ioctl.h>
 
 #include "efa.h"
drivers/infiniband/hw/hns/hns_roce_alloc.c +1 -1
index 4bcaaa0524b1..37cdcd6ba17b 100644
@@ -34,7 +34,7 @@
 #include <linux/platform_device.h>
 #include <linux/vmalloc.h>
 #include "hns_roce_device.h"
-#include <rdma/ib_umem.h>
+#include <rdma/iter.h>
 
 int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, unsigned long *obj)
 {
drivers/infiniband/hw/i40iw/i40iw_verbs.c +1 -0
index 89654dc91d81..ac37914a1ee2 100644
@@ -45,6 +45,7 @@
 #include <rdma/iw_cm.h>
 #include <rdma/ib_user_verbs.h>
 #include <rdma/ib_umem.h>
+#include <rdma/iter.h>
 #include <rdma/uverbs_ioctl.h>
 #include "i40iw.h"
 
drivers/infiniband/hw/mlx4/mr.c +1 -0
index 811b4bb34524..0f303e8aa137 100644
@@ -33,6 +33,7 @@
 
 #include <linux/slab.h>
 #include <rdma/ib_user_verbs.h>
+#include <rdma/iter.h>
 
 #include "mlx4_ib.h"
 
drivers/infiniband/hw/mlx5/mem.c +1 -0
index 13de3d2edd34..47aca791cbf9 100644
@@ -33,6 +33,7 @@
 #include <linux/module.h>
 #include <rdma/ib_umem.h>
 #include <rdma/ib_umem_odp.h>
+#include <rdma/iter.h>
 #include "mlx5_ib.h"
 #include <linux/jiffies.h>
 
drivers/infiniband/hw/mthca/mthca_provider.c +1 -1
index c48e3be67540..d4d7e34f173b 100644
@@ -35,8 +35,8 @@
  */
 
 #include <rdma/ib_smi.h>
-#include <rdma/ib_umem.h>
 #include <rdma/ib_user_verbs.h>
+#include <rdma/iter.h>
 #include <rdma/uverbs_ioctl.h>
 
 #include <linux/sched.h>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c +1 -1
index 2a691dc30a12..700bd4b968ae 100644
@@ -44,9 +44,9 @@
 #include <rdma/ib_verbs.h>
 #include <rdma/ib_user_verbs.h>
 #include <rdma/iw_cm.h>
-#include <rdma/ib_umem.h>
 #include <rdma/ib_addr.h>
 #include <rdma/ib_cache.h>
+#include <rdma/iter.h>
 #include <rdma/uverbs_ioctl.h>
 
 #include "ocrdma.h"
drivers/infiniband/hw/qedr/verbs.c +1 -1
index d382ac21159c..ee215fa7168d 100644
@@ -39,9 +39,9 @@
 #include <rdma/ib_verbs.h>
 #include <rdma/ib_user_verbs.h>
 #include <rdma/iw_cm.h>
-#include <rdma/ib_umem.h>
 #include <rdma/ib_addr.h>
 #include <rdma/ib_cache.h>
+#include <rdma/iter.h>
 #include <rdma/uverbs_ioctl.h>
 
 #include <linux/qed/common_hsi.h>
drivers/infiniband/hw/vmw_pvrdma/pvrdma.h +1 -1
index de57f2fed743..bd85a4380bf1 100644
@@ -53,8 +53,8 @@
 #include <linux/pci.h>
 #include <linux/semaphore.h>
 #include <linux/workqueue.h>
-#include <rdma/ib_umem.h>
 #include <rdma/ib_verbs.h>
+#include <rdma/iter.h>
 #include <rdma/vmw_pvrdma-abi.h>
 
 #include "pvrdma_ring.h"
drivers/infiniband/sw/rxe/rxe_srq.c +0 -3
index 9d9baca26949..4e523d91e7dc 100644
@@ -98,8 +98,6 @@ int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq,
 		return -ENOMEM;
 	}
 
-	srq->rq.queue = q;
-
 	err = do_mmap_info(rxe, uresp ? &uresp->mi : NULL, udata, q->buf,
 			   q->buf_size, &q->ip);
 	if (err) {
@@ -117,7 +115,6 @@ int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq,
 	}
 
 	srq->rq.queue = q;
-	init->attr.max_wr = srq->rq.max_wr;
 
 	return 0;
 }
drivers/infiniband/ulp/isert/ib_isert.c +6 -0
index ed375f517e8a..9f8d6113efb4 100644
@@ -1388,6 +1388,12 @@ isert_login_recv_done(struct ib_cq *cq, struct ib_wc *wc)
 	ib_dma_sync_single_for_cpu(ib_dev, isert_conn->login_desc->dma_addr,
 			ISER_RX_SIZE, DMA_FROM_DEVICE);
 
+	if (unlikely(wc->byte_len < ISER_HEADERS_LEN)) {
+		isert_dbg("login request length %u is too short\n",
+			  wc->byte_len);
+		return;
+	}
+
 	isert_conn->login_req_len = wc->byte_len - ISER_HEADERS_LEN;
 
 	if (isert_conn->conn) {
drivers/infiniband/ulp/rtrs/rtrs-clt.c +1 -1
index e8b2b58cc9bc..adeb2782d70b 100644
@@ -902,7 +902,7 @@ static void rtrs_clt_init_req(struct rtrs_clt_io_req *req,
 	req->need_inv_comp = false;
 	req->inv_errno = 0;
 
-	iov_iter_kvec(&iter, WRITE, vec, 1, usr_len);
+	iov_iter_kvec(&iter, ITER_SOURCE, vec, 1, usr_len);
 	len = _copy_from_iter(req->iu->buf, usr_len, &iter);
 	WARN_ON(len != usr_len);
 
drivers/infiniband/ulp/srp/ib_srp.c +24 -6
index 68df080263f2..ba5d4149b3bf 100644
@@ -1929,7 +1929,8 @@ static int srp_post_recv(struct srp_rdma_ch *ch, struct srp_iu *iu)
 	return ib_post_recv(ch->qp, &wr, NULL);
 }
 
-static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp)
+static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp,
+			    u32 byte_len)
 {
 	struct srp_target_port *target = ch->target;
 	struct srp_request *req;
@@ -1970,10 +1971,27 @@ static void srp_process_rsp(struct srp_rdma_ch *ch, struct srp_rsp *rsp)
 		scmnd->result = rsp->status;
 
 		if (rsp->flags & SRP_RSP_FLAG_SNSVALID) {
-			memcpy(scmnd->sense_buffer, rsp->data +
-			       be32_to_cpu(rsp->resp_data_len),
-			       min_t(int, be32_to_cpu(rsp->sense_data_len),
-				     SCSI_SENSE_BUFFERSIZE));
+			u32 resp_len = be32_to_cpu(rsp->resp_data_len);
+			u32 sense_len = be32_to_cpu(rsp->sense_data_len);
+
+			/*
+			 * The sense data starts resp_data_len bytes past the
+			 * response data area; both lengths come from the
+			 * target-controlled response.  Copy the sense data
+			 * only if it has not been truncated, that is, only if
+			 * the full sense region fits within the bytes actually
+			 * received.  Otherwise the copy source would run past
+			 * the receive buffer (sized to the target-chosen
+			 * max_ti_iu_len), reading out of bounds.
+			 */
+			if (sizeof(*rsp) + (u64)resp_len + sense_len <= byte_len)
+				memcpy(scmnd->sense_buffer,
+				       rsp->data + resp_len,
+				       min(sense_len, SCSI_SENSE_BUFFERSIZE));
+			else
+				shost_printk(KERN_ERR, target->scsi_host,
+					     "dropping truncated sense data (resp_data_len %u sense_data_len %u, %u bytes received)\n",
+					     resp_len, sense_len, byte_len);
 		}
 
 		if (unlikely(rsp->flags & SRP_RSP_FLAG_DIUNDER))
@@ -2083,7 +2101,7 @@ static void srp_recv_done(struct ib_cq *cq, struct ib_wc *wc)
 
 	switch (opcode) {
 	case SRP_RSP:
-		srp_process_rsp(ch, iu->buf);
+		srp_process_rsp(ch, iu->buf, wc->byte_len);
 		break;
 
 	case SRP_CRED_REQ:
drivers/input/keyboard/atkbd.c +15 -0
index 26526924ffd2..50199d95919f 100644
@@ -1939,6 +1939,21 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
 		},
 		.callback = atkbd_deactivate_fixup,
 	},
+	{
+		/* Lenovo Yoga Air 14 (83QK) */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "BCC-N"),
+		},
+		.callback = atkbd_deactivate_fixup,
+	},
 	{ }
 };
 
drivers/input/misc/ims-pcu.c +1 -1
index 7ced98d07431..0e1efd65204a 100644
@@ -1598,7 +1598,7 @@ static void ims_pcu_buffers_free(struct ims_pcu *pcu)
 	usb_kill_urb(pcu->urb_in);
 	usb_free_urb(pcu->urb_in);
 
-	usb_free_coherent(pcu->udev, pcu->max_out_size,
+	usb_free_coherent(pcu->udev, pcu->max_in_size,
 			  pcu->urb_in_buf, pcu->read_dma);
 
 	kfree(pcu->urb_out_buf);
drivers/input/mouse/elan_i2c_core.c +5 -0
index 14c2c66414f4..9518fe902e2b 100644
@@ -608,6 +608,11 @@ static ssize_t elan_sysfs_update_fw(struct device *dev,
 		return error;
 	}
 
+	if (fw->size < data->fw_signature_address + sizeof(signature)) {
+		dev_err(dev, "firmware file too small\n");
+		return -EBADF;
+	}
+
 	/* Firmware file must match signature data */
 	fw_signature = &fw->data[data->fw_signature_address];
 	if (memcmp(fw_signature, signature, sizeof(signature)) != 0) {
drivers/input/mouse/synaptics.c +1 -0
index 284eb7e4a2ae..044b59a6ad56 100644
@@ -187,6 +187,7 @@ static const char * const smbus_pnp_ids[] = {
 	"LEN2044", /* L470  */
 	"LEN2054", /* E480 */
 	"LEN2055", /* E580 */
+	"LEN2058", /* E490 */
 	"LEN2068", /* T14 Gen 1 */
 	"SYN1221", /* TUXEDO InfinityBook Pro 14 v5 */
 	"SYN3003", /* HP EliteBook 850 G1 */
drivers/input/touchscreen/atmel_mxt_ts.c +1 -1
index 449dfc7d75cb..901a054d1cc9 100644
@@ -1400,7 +1400,7 @@ static int mxt_prepare_cfg_mem(struct mxt_data *data, struct mxt_cfg *cfg)
 			}
 			cfg->raw_pos += offset;
 
-			if (i > mxt_obj_size(object))
+			if (i >= mxt_obj_size(object))
 				continue;
 
 			byte_offset = reg + i - cfg->start_ofs;
drivers/input/touchscreen/usbtouchscreen.c +5 -0
index 544a8f40b81f..68d0db16ef65 100644
@@ -1060,6 +1060,11 @@ static int nexio_read_data(struct usbtouch_usb *usbtouch, unsigned char *pkt)
 	if (x_len > 0xff)
 		x_len -= 0x80;
 
+	if (data_len > usbtouch->data_size - sizeof(*packet))
+		data_len = usbtouch->data_size - sizeof(*packet);
+	if (x_len > data_len)
+		x_len = data_len;
+
 	/* send ACK */
 	ret = usb_submit_urb(priv->ack, GFP_ATOMIC);
 
drivers/iommu/io-pgtable-arm-v7s.c +12 -6
index 3bcd3afe9778..1b77baac19f8 100644
@@ -848,21 +848,27 @@ struct io_pgtable_init_fns io_pgtable_arm_v7s_init_fns = {
 
 static struct io_pgtable_cfg *cfg_cookie __initdata;
 
-static void __init dummy_tlb_flush_all(void *cookie)
+/*
+ * __noipa prevents gcc from turning indirect iommu_flush_ops calls
+ * into direct calls from a specialized __arm_v7s_unmap() that triggers
+ * a build time section mismatch assertion.
+ */
+static __noipa void __init dummy_tlb_flush_all(void *cookie)
 {
 	WARN_ON(cookie != cfg_cookie);
 }
 
-static void __init dummy_tlb_flush(unsigned long iova, size_t size,
-				   size_t granule, void *cookie)
+static __noipa void __init dummy_tlb_flush(unsigned long iova, size_t size,
+					   size_t granule, void *cookie)
 {
 	WARN_ON(cookie != cfg_cookie);
 	WARN_ON(!(size & cfg_cookie->pgsize_bitmap));
 }
 
-static void __init dummy_tlb_add_page(struct iommu_iotlb_gather *gather,
-				      unsigned long iova, size_t granule,
-				      void *cookie)
+static __noipa void __init dummy_tlb_add_page(struct iommu_iotlb_gather *gather,
+					      unsigned long iova,
+					      size_t granule,
+					      void *cookie)
 {
 	dummy_tlb_flush(iova, granule, granule, cookie);
 }
drivers/isdn/mISDN/l1oip_core.c +1 -1
index aec4f2a69c3b..cfd1d643b443 100644
@@ -706,7 +706,7 @@ l1oip_socket_thread(void *data)
 		printk(KERN_DEBUG "%s: socket created and open\n",
 		       __func__);
 	while (!signal_pending(current)) {
-		iov_iter_kvec(&msg.msg_iter, READ, &iov, 1, recvbuf_size);
+		iov_iter_kvec(&msg.msg_iter, ITER_DEST, &iov, 1, recvbuf_size);
 		recvlen = sock_recvmsg(socket, &msg, 0);
 		if (recvlen > 0) {
 			l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen);
drivers/md/dm-cache-policy-smq.c +8 -4
index 95b0670c32ac..e5c4d7ff2c65 100644
@@ -1585,18 +1585,22 @@ static int smq_invalidate_mapping(struct dm_cache_policy *p, dm_cblock_t cblock)
 	struct smq_policy *mq = to_smq_policy(p);
 	struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
 	unsigned long flags;
-
-	if (!e->allocated)
-		return -ENODATA;
+	int r = 0;
 
 	spin_lock_irqsave(&mq->lock, flags);
+	if (!e->allocated) {
+		r = -ENODATA;
+		goto out;
+	}
 	// FIXME: what if this block has pending background work?
 	del_queue(mq, e);
 	h_remove(&mq->table, e);
 	free_entry(&mq->cache_alloc, e);
+
+out:
 	spin_unlock_irqrestore(&mq->lock, flags);
 
-	return 0;
+	return r;
 }
 
 static uint32_t smq_get_hint(struct dm_cache_policy *p, dm_cblock_t cblock)
drivers/md/persistent-data/dm-btree-remove.c +8 -0
index 63f2baed3c8a..1cf31861020b 100644
@@ -415,12 +415,20 @@ static int rebalance_children(struct shadow_spine *s,
 
 	if (le32_to_cpu(n->header.nr_entries) == 1) {
 		struct dm_block *child;
+		int is_shared;
 		dm_block_t b = value64(n, 0);
 
+		r = dm_tm_block_is_shared(info->tm, b, &is_shared);
+		if (r)
+			return r;
+
 		r = dm_tm_read_lock(info->tm, b, &btree_node_validator, &child);
 		if (r)
 			return r;
 
+		if (is_shared)
+			inc_children(info->tm, dm_block_data(child), vt);
+
 		memcpy(n, dm_block_data(child),
 		       dm_bm_block_size(dm_tm_get_bm(info->tm)));
 
drivers/md/persistent-data/dm-btree.c +422 -29

511 lines not on this page · raw message

drivers/md/persistent-data/dm-transaction-manager.c +9 -0
index abe2c5dd0993..4353e1146d73 100644
@@ -379,6 +379,15 @@ int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b,
 	return dm_sm_get_count(tm->sm, b, result);
 }
 
+int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b,
+			  int *result)
+{
+	if (tm->is_clone)
+		return -EWOULDBLOCK;
+
+	return dm_sm_count_is_more_than_one(tm->sm, b, result);
+}
+
 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm)
 {
 	return tm->bm;
drivers/md/persistent-data/dm-transaction-manager.h +8 -2
index f3a18be68f30..3d75cc59bbb8 100644
@@ -103,8 +103,14 @@ void dm_tm_inc(struct dm_transaction_manager *tm, dm_block_t b);
 
 void dm_tm_dec(struct dm_transaction_manager *tm, dm_block_t b);
 
-int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b,
-	      uint32_t *result);
+int dm_tm_ref(struct dm_transaction_manager *tm, dm_block_t b, uint32_t *result);
+
+/*
+ * Finds out if a given block is shared (ie. has a reference count higher
+ * than one).
+ */
+int dm_tm_block_is_shared(struct dm_transaction_manager *tm, dm_block_t b,
+			  int *result);
 
 struct dm_block_manager *dm_tm_get_bm(struct dm_transaction_manager *tm);
 
drivers/media/rc/igorplugusb.c +13 -6
index 3e9988ee785f..2c4aceb2a592 100644
@@ -14,6 +14,7 @@
 #include <linux/device.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/slab.h>
 #include <linux/usb.h>
 #include <linux/usb/input.h>
 #include <media/rc-core.h>
@@ -34,7 +35,7 @@ struct igorplugusb {
 	struct device *dev;
 
 	struct urb *urb;
-	struct usb_ctrlrequest request;
+	struct usb_ctrlrequest *request;
 
 	struct timer_list timer;
 
@@ -123,7 +124,7 @@ static void igorplugusb_cmd(struct igorplugusb *ir, int cmd)
 {
 	int ret;
 
-	ir->request.bRequest = cmd;
+	ir->request->bRequest = cmd;
 	ir->urb->transfer_flags = 0;
 	ret = usb_submit_urb(ir->urb, GFP_ATOMIC);
 	if (ret)
@@ -165,20 +166,24 @@ static int igorplugusb_probe(struct usb_interface *intf,
 	if (!ir)
 		return -ENOMEM;
 
+	ir->request = kzalloc(sizeof(*ir->request), GFP_KERNEL);
+	if (!ir->request)
+		goto fail;
+
 	ir->dev = &intf->dev;
 
 	timer_setup(&ir->timer, igorplugusb_timer, 0);
 
-	ir->request.bRequest = GET_INFRACODE;
-	ir->request.bRequestType = USB_TYPE_VENDOR | USB_DIR_IN;
-	ir->request.wLength = cpu_to_le16(sizeof(ir->buf_in));
+	ir->request->bRequest = GET_INFRACODE;
+	ir->request->bRequestType = USB_TYPE_VENDOR | USB_DIR_IN;
+	ir->request->wLength = cpu_to_le16(sizeof(ir->buf_in));
 
 	ir->urb = usb_alloc_urb(0, GFP_KERNEL);
 	if (!ir->urb)
 		goto fail;
 
 	usb_fill_control_urb(ir->urb, udev,
-		usb_rcvctrlpipe(udev, 0), (uint8_t *)&ir->request,
+		usb_rcvctrlpipe(udev, 0), (uint8_t *)ir->request,
 		ir->buf_in, sizeof(ir->buf_in), igorplugusb_callback, ir);
 
 	usb_make_path(udev, ir->phys, sizeof(ir->phys));
@@ -223,6 +228,7 @@ static int igorplugusb_probe(struct usb_interface *intf,
 	rc_free_device(ir->rc);
 	usb_free_urb(ir->urb);
 	del_timer(&ir->timer);
+	kfree(ir->request);
 
 	return ret;
 }
@@ -236,6 +242,7 @@ static void igorplugusb_disconnect(struct usb_interface *intf)
 	usb_set_intfdata(intf, NULL);
 	usb_kill_urb(ir->urb);
 	usb_free_urb(ir->urb);
+	kfree(ir->request);
 }
 
 static const struct usb_device_id igorplugusb_table[] = {
drivers/media/rc/ttusbir.c +9 -4
index 629787d53ee1..f429316bb423 100644
@@ -32,7 +32,7 @@ struct ttusbir {
 
 	struct led_classdev led;
 	struct urb *bulk_urb;
-	uint8_t bulk_buffer[5];
+	u8 *bulk_buffer;
 	int bulk_out_endp, iso_in_endp;
 	bool led_on, is_led_on;
 	atomic_t led_complete;
@@ -188,13 +188,16 @@ static int ttusbir_probe(struct usb_interface *intf,
 	struct rc_dev *rc;
 	int i, j, ret;
 	int altsetting = -1;
+	u8 *buffer;
 
 	tt = kzalloc(sizeof(*tt), GFP_KERNEL);
+	buffer = kzalloc(5, GFP_KERNEL);
 	rc = rc_allocate_device(RC_DRIVER_IR_RAW);
-	if (!tt || !rc) {
+	if (!tt || !rc || !buffer) {
 		ret = -ENOMEM;
 		goto out;
 	}
+	tt->bulk_buffer = buffer;
 
 	/* find the correct alt setting */
 	for (i = 0; i < intf->num_altsetting && altsetting == -1; i++) {
@@ -283,8 +286,8 @@ static int ttusbir_probe(struct usb_interface *intf,
 	tt->bulk_buffer[3] = 0x01;
 
 	usb_fill_bulk_urb(tt->bulk_urb, tt->udev, usb_sndbulkpipe(tt->udev,
-		tt->bulk_out_endp), tt->bulk_buffer, sizeof(tt->bulk_buffer),
-						ttusbir_bulk_complete, tt);
+			  tt->bulk_out_endp), tt->bulk_buffer, 5,
+			  ttusbir_bulk_complete, tt);
 
 	tt->led.name = "ttusbir:green:power";
 	tt->led.default_trigger = "rc-feedback";
@@ -353,6 +356,7 @@ static int ttusbir_probe(struct usb_interface *intf,
 		kfree(tt);
 	}
 	rc_free_device(rc);
+	kfree(buffer);
 
 	return ret;
 }
@@ -375,6 +379,7 @@ static void ttusbir_disconnect(struct usb_interface *intf)
 	}
 	usb_kill_urb(tt->bulk_urb);
 	usb_free_urb(tt->bulk_urb);
+	kfree(tt->bulk_buffer);
 	usb_set_intfdata(intf, NULL);
 	kfree(tt);
 }
drivers/misc/fastrpc.c +52 -23

134 lines not on this page · raw message

drivers/misc/vmw_vmci/vmci_queue_pair.c +3 -3
index d4d388f021cc..8f4abb1a5c3c 100644
@@ -3028,7 +3028,7 @@ ssize_t vmci_qpair_enqueue(struct vmci_qp *qpair,
 	if (!qpair || !buf)
 		return VMCI_ERROR_INVALID_ARGS;
 
-	iov_iter_kvec(&from, WRITE, &v, 1, buf_size);
+	iov_iter_kvec(&from, ITER_SOURCE, &v, 1, buf_size);
 
 	qp_lock(qpair);
 
@@ -3072,7 +3072,7 @@ ssize_t vmci_qpair_dequeue(struct vmci_qp *qpair,
 	if (!qpair || !buf)
 		return VMCI_ERROR_INVALID_ARGS;
 
-	iov_iter_kvec(&to, READ, &v, 1, buf_size);
+	iov_iter_kvec(&to, ITER_DEST, &v, 1, buf_size);
 
 	qp_lock(qpair);
 
@@ -3117,7 +3117,7 @@ ssize_t vmci_qpair_peek(struct vmci_qp *qpair,
 	if (!qpair || !buf)
[… more lines in the raw message]

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

drivers/mmc/core/mmc.c +3 -1
index 2059cd226cbd..652a6e027e80 100644

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

drivers/mmc/host/sdhci.c +1 -0
index bb4856407c0c..f3b481fa777c 100644

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

drivers/mtd/spi-nor/sst.c +13 -0
index 0ab07624fb73..777c8225f5bd 100644

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

drivers/net/bonding/bond_main.c +9 -2
index 812e1792c232..1c90724603d6 100644

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

drivers/net/can/usb/ucan.c +3 -3
index c8b2b814bafe..64dcbeef7a7c 100644

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

drivers/net/ethernet/amd/pcnet32.c +3 -1
index f78daba60b35..ce5b8e6aa976 100644

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

drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c +1 -1
index a980d337861d..107cfa93a80f 100644

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

drivers/net/ethernet/marvell/mv643xx_eth.c +1 -1
index 735b76effc49..81cba9b69af0 100644

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

drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +4 -3
index e4e80c2b1ce4..6d672afc73d5 100644

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

drivers/net/ethernet/marvell/octeontx2/af/cgx.c +16 -4
index 1eaf728d5e79..7511745d65d8 100644

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

drivers/net/ethernet/marvell/octeontx2/af/mbox.h +1 -0
index ccd58d378fe4..dba8825ff3ad 100644

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

drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c +2 -0
index 2b6baf0ad3f7..fe562961b920 100644

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

drivers/net/ethernet/microchip/lan743x_main.c +32 -0
index 26a230c60efb..f280fda24f7f 100644

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

drivers/net/ethernet/microchip/lan743x_main.h +1 -0
index 2a40cc827b18..3062c54faffd 100644

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

drivers/net/ethernet/qlogic/qed/qed_cxt.c +7 -19
index 1c3737921b6c..2585d36b94f2 100644

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

drivers/net/hyperv/netvsc.c +15 -4
index 03333a4136bf..6972601820e4 100644

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

drivers/net/macsec.c +2 -1
index e6a013da6680..a8fd213b586d 100644

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

drivers/net/ppp/ppp_generic.c +1 -1
index 262d9be4f449..7f1a76059f08 100644

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

drivers/net/tap.c +2 -0
index 18f19fc66c64..6f5c996d3ed2 100644

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

drivers/net/team/team.c +15 -8
index 03cc3da8c3c1..0b62e204c7bb 100644

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

drivers/net/tun.c +4 -1
index 3a89f9457fa2..d960b261dbe4 100644

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

drivers/net/usb/usbnet.c +2 -0
index 4a83228a2db5..4b34544d88aa 100644

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

drivers/net/vxlan/vxlan_core.c +2 -2
index 5e5dfa9579d3..053cc74bd904 100644

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

drivers/net/wireguard/send.c +10 -10
index 26e09c30d596..67d01478eb76 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +4 -0
index 68fbb38c63d5..6ac2132c3064 100644

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

drivers/net/wireless/marvell/mwifiex/init.c +1 -1
index f006a3d72b40..6ba7082d65b6 100644

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

drivers/nfc/nxp-nci/i2c.c +20 -1
index 237b344a30bb..989b4a0e5b19 100644

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

drivers/nvme/host/tcp.c +2 -2
index 26ede87e95cd..7d9ebd4f7947 100644

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

drivers/nvme/target/io-cmd-file.c +2 -2
index c81690b2a681..9d1acc4a5253 100644

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

drivers/nvme/target/tcp.c +1 -1
index 6db9dcdbb3c3..edcc0662c3e5 100644

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

drivers/parport/share.c +9 -2
index 7fec4fefe151..70e544b351cd 100644

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

drivers/phy/renesas/phy-rcar-gen3-usb2.c +1 -1
index 5166a115879e..90f2a0e5b2aa 100644

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

drivers/phy/tegra/xusb-tegra186.c +29 -9
index d55ba7699334..4f5dd7efcc16 100644

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

drivers/phy/tegra/xusb.h +1 -0
index ea35af747066..211f9884e57b 100644

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

drivers/scsi/fcoe/fcoe_ctlr.c +1 -1
index bbc5d6b9be73..c8eb9d55cc76 100644

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

drivers/scsi/sg.c +1 -1
index 3c06c035b85c..2cd54e48dfa2 100644

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

drivers/spi/spi-lantiq-ssc.c +7 -1
index bcb52601804a..e09e54b02dc0 100644

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

drivers/spi/spi-meson-spicc.c +0 -2
index 6974a1c947aa..ae818e7df791 100644

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

drivers/spi/spi-qup.c +84 -81

165 lines not on this page · raw message

drivers/spi/spi-st-ssc4.c +7 -1
index 6c44dda9ee8c..f453e3c1a26b 100644

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

drivers/spi/spi-sun4i.c +9 -1
index a8fba310d700..ab99cc743865 100644

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

drivers/spi/spi-sun6i.c +9 -1
index 803d92f8d031..c0c43290eacb 100644

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

drivers/spi/spi-synquacer.c +7 -1
index dc188f9202c9..4422fe9d92ff 100644

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

drivers/spi/spi-tegra114.c +7 -1
index ed42665b1224..d68babc5f3b8 100644

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

drivers/spi/spi-tegra20-sflash.c +7 -1
index 62e50830b7f9..762316ec7fbf 100644

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

drivers/spi/spi-ti-qspi.c +6 -5
index cefe525d1fd0..6f292157415a 100644

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

drivers/spi/spi-topcliff-pch.c +6 -1
index 26e2d355bd19..a47cb334e2b4 100644

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

drivers/spi/spi-uniphier.c +7 -1
index ad0088e39472..1b9a8d7ff091 100644

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

drivers/spi/spi-zynq-qspi.c +11 -4
index 2be764d5460d..99d0ad2ecadd 100644

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

drivers/staging/comedi/drivers/comedi_test.c +3 -2
index f5199474c0e9..55114cf4a09a 100644

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

drivers/staging/greybus/hid.c +1 -1
index ed706f39e87a..d68f60da0dd1 100644

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

drivers/target/iscsi/iscsi_target.c +4 -2
index 48fe53323f84..c7941130db84 100644

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

drivers/target/iscsi/iscsi_target_nego.c +6 -1
index 393156501888..ad60d28d7034 100644

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

drivers/target/iscsi/iscsi_target_parameters.c +48 -14

62 lines not on this page · raw message

drivers/target/iscsi/iscsi_target_parameters.h +1 -1
index 240c4c4344f6..6d02d19eb8cf 100644

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

drivers/target/iscsi/iscsi_target_util.c +2 -2
index 29ad78fcdd5f..f81cbfe760fa 100644

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

drivers/target/target_core_file.c +1 -1
index eb3eae8f799a..69547cea2538 100644

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

drivers/tee/optee/supp.c +74 -33

107 lines not on this page · raw message

drivers/thermal/thermal_core.c +4 -3
index 1cf49912dc96..7b4d31df0e0d 100644

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

drivers/thunderbolt/property.c +29 -9
index d5b0cdb8f0b1..3c47f7104a07 100644

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

drivers/thunderbolt/xdomain.c +5 -1
index c00ad817042e..8e79c20e4807 100644

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

drivers/tty/serial/altera_jtaguart.c +13 -5
index d0ca9cf29b62..97209abc288a 100644

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

drivers/tty/serial/dz.c +34 -24

58 lines not on this page · raw message

drivers/tty/serial/fsl_lpuart.c +12 -3
index 110d98fed726..530071d3f8e1 100644

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

drivers/tty/serial/pch_uart.c +13 -6
index e96aff583dc8..57581af8a2e1 100644

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

drivers/tty/serial/qcom_geni_serial.c +31 -46

77 lines not on this page · raw message

drivers/tty/serial/samsung_tty.c +48 -55

103 lines not on this page · raw message

drivers/tty/serial/sh-sci.c +1 -1
index 2e1783ae8a9b..6ed78838ce1c 100644

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

drivers/tty/serial/zs.c +14 -26
index 4b4f604646a7..0609944fe246 100644

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

drivers/tty/serial/zs.h +1 -1
index 26ef8eafa1c1..8e51f847bc03 100644

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

drivers/usb/cdns3/gadget.c +11 -1
index 45b5a909e190..61388e2089f5 100644

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

drivers/usb/chipidea/core.c +6 -10
index b8bb4cdadff8..2050cc6693b3 100644

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

drivers/usb/class/usbtmc.c +14 -0
index fcd5c5b533e9..af1b90f529dc 100644

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

drivers/usb/core/config.c +8 -1
index 93eaeea87660..c26b2b1e8994 100644

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

drivers/usb/core/hcd.c +1 -3
index 0a77717d6af2..0e54f6f18348 100644

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

drivers/usb/core/quirks.c +4 -0
index 4d56b186fcc4..f1ab65806ff7 100644

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

drivers/usb/dwc2/hcd.c +3 -1
index bea83020a938..4c73d06e1a14 100644

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

drivers/usb/dwc3/core.c +6 -6
index 77be06b68091..a115fd874cee 100644

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

drivers/usb/gadget/function/f_hid.c +10 -10
index e3738a1aa9f4..d5ff9f06c686 100644

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

drivers/usb/gadget/udc/dummy_hcd.c +4 -0
index bbcd5923ce5e..e0cc520e21b3 100644

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

drivers/usb/gadget/udc/net2280.c +1 -3
index fc9f99fe7f37..3ecc7d3b1f8c 100644

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

drivers/usb/host/xhci-tegra.c +44 -34

78 lines not on this page · raw message

drivers/usb/serial/belkin_sa.c +3 -0
index 5a6ba8bc7d9e..a93b8052a424 100644

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

drivers/usb/serial/cypress_m8.c +19 -1
index cc028601c388..e924fb212f5b 100644

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

drivers/usb/serial/digi_acceleport.c +21 -2
index 0d606fa9fdca..d03bba38d802 100644

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

drivers/usb/serial/io_ti.c +11 -0
index 03bcab3b9bd0..7e174efd2c08 100644

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

drivers/usb/serial/keyspan.c +4 -0
index 451759f38b57..5f43b370ec20 100644

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

drivers/usb/serial/kl5kusb105.c +2 -2
index 5f6b82ebccc5..1534ba2b88b4 100644

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

drivers/usb/serial/mct_u232.c +16 -10
index 7887c312d9a9..8842a1db72b3 100644

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

drivers/usb/serial/mxuport.c +8 -0
index 5d38c2a0f590..217b114db6bf 100644

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

drivers/usb/serial/omninet.c +5 -4
index ff02eff70416..651fa787329a 100644

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

drivers/usb/serial/option.c +11 -1
index dadc6862c01b..26eff7ac28f5 100644

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

drivers/usb/serial/safe_serial.c +11 -0
index 6accbecb6318..f9332b2c3560 100644

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

drivers/usb/storage/unusual_uas.h +7 -0
index 939a98c2d3f7..d6f86d5db3bf 100644

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

drivers/usb/typec/altmodes/displayport.c +2 -0
index 70a21451c58b..dc89890f54aa 100644

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

drivers/usb/typec/tcpm/wcove.c +8 -5
index 22fe8d60fe36..01a4689d59b5 100644

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

drivers/usb/typec/ucsi/displayport.c +4 -0
index 60c871fa58d6..5f6753d12130 100644

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

drivers/usb/typec/ucsi/ucsi.c +11 -2
index 60339c746694..db5628526b8a 100644

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

drivers/usb/typec/ucsi/ucsi_ccg.c +5 -0
index dffdb5eb506b..68a693d92dd0 100644

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

drivers/usb/usbip/usbip_common.c +1 -1
index 171c15a4d72b..0e6efb8bf03e 100644

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

drivers/usb/usbip/vudc_dev.c +1 -0
index 2bc428f2e261..dcbfed30806d 100644

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

drivers/usb/usbip/vudc_transfer.c +2 -1
index 7e801fee33bf..94b9549c14cb 100644

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

drivers/vhost/net.c +3 -3
index dbc222893926..2790bf6c38ef 100644

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

drivers/vhost/scsi.c +5 -5
index 6956b4e0b9be..ec9691f6594d 100644

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

drivers/vhost/vhost.c +3 -3
index 97e00c481870..95db8232e997 100644

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

drivers/vhost/vringh.c +2 -2
index 48f4ec2ba40a..61fcef5a3b03 100644

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

drivers/vhost/vsock.c +2 -2
index 4b678dbaa93a..bc3aaa35b468 100644

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

drivers/video/fbdev/core/fbcon_rotate.c +4 -1
index ef1d421c261a..c1beb4a83708 100644

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

drivers/video/fbdev/vt8500lcdfb.c +1 -1
index ccd316aac467..1608d21a51ae 100644

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

drivers/xen/pvcalls-back.c +4 -4
index 3c435e1bca12..f43a4a3591b2 100644

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

fs/9p/vfs_addr.c +2 -2
index cce9ace651a2..1ab795bf5b74 100644

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

fs/9p/vfs_dir.c +1 -1
index 674d22bf4f6f..67438cef1d34 100644

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

fs/9p/xattr.c +2 -2
index ac8ff8ca4c11..bc197159d4a3 100644

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

fs/afs/cmservice.c +1 -1
index 2a528b70478c..6761a0b5f398 100644

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

fs/afs/internal.h +2 -2
index 31c7a562147c..e53de40333d8 100644

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

fs/afs/rxrpc.c +6 -6
index 1820b53657a6..8db3dc9bb5f1 100644

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

fs/aio.c +2 -2
index 93b6bbf01d71..22b6e2032274 100644

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

fs/btrfs/inode.c +2 -0
index 3631d0574607..3c61f540597d 100644

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

fs/btrfs/ioctl.c +3 -2
index 574a00db258a..16c397062809 100644

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

fs/ceph/dir.c +4 -2
index 398a5da2cb9a..852bcbd8b88f 100644

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

fs/ceph/file.c +2 -2
index e08805426c80..fcc9b1ad314a 100644

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

fs/cifs/cifsacl.c +1 -0
index ef4784e72b1d..472a110158ec 100644

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

fs/cifs/connect.c +3 -3
index 3ce86a88fad4..7603d77963e6 100644

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

fs/cifs/file.c +2 -2
index 0191ae0ff8c1..0da9c11cae27 100644

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

fs/cifs/smb2ops.c +8 -2
index 5e11362ecc47..62ec542871ec 100644

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

fs/cifs/smb2transport.c +26 -10
index c02e57d8e228..e4cea6c2d835 100644

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

fs/cifs/smbdirect.c +3 -1
index ae332f3771f6..e273f3b9efcb 100644

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

fs/cifs/transport.c +3 -3
index c6fd4223b3be..9b0fa5fd965a 100644

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

fs/erofs/dir.c +16 -14
index 2776bb832127..79c83218e956 100644

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

fs/ext4/extents.c +15 -0
index 6d37805d3155..388e47dfb7aa 100644

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

fs/f2fs/data.c +2 -2
index 35be155a284e..52b20b9165b6 100644

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

fs/f2fs/inline.c +9 -4
index df1a0cbfa1be..8cd6383be332 100644

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

fs/fcntl.c +4 -4
index 4a65d3689620..a06b51f1af5c 100644

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

fs/fuse/dev.c +8 -1
index e6cbed7aedcb..9c8a7fdb34dd 100644

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

fs/hfsplus/bfind.c +51 -0

51 lines not on this page · raw message

fs/hfsplus/catalog.c +2 -2
index 35472cba750e..136aa1017af2 100644

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

fs/hfsplus/dir.c +1 -1
index 292cc06206a1..e74662198185 100644

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

fs/hfsplus/hfsplus_fs.h +9 -0
index 27fcadf4e9f8..6408a760ca3e 100644

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

fs/hfsplus/super.c +4 -2
index ff9998be089a..fdc07f67d4d3 100644

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

fs/hpfs/alloc.c +1 -1
index 66617b1557c6..f5150372618e 100644

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

fs/nfsd/nfsctl.c +8 -1
index 8178d7d01648..5cd264171dae 100644

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

fs/nfsd/stats.c +2 -2
index 7a58dba0045c..6d1c6067c80e 100644

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

fs/nfsd/stats.h +1 -1
index 14525e854cba..b9329285bc1d 100644

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

fs/nfsd/vfs.c +2 -2
index 7739a47356e7..194681424866 100644

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

fs/ocfs2/cluster/tcp.c +1 -1
index 79a231719460..ddb7ff09312a 100644

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

fs/orangefs/inode.c +3 -3
index cd70ded309e4..a06d714a50c4 100644

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

fs/read_write.c +6 -6
index 0066acb6b380..51387a6c8f4e 100644

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

fs/seq_file.c +1 -1
index 472714716be6..804c5cd6d4ca 100644

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

fs/splice.c +5 -5
index 474fb8b5562a..5b15c25f3052 100644

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

fs/udf/super.c +3 -1
index 723184b1201f..33d66da17922 100644

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

include/linux/compat.h +4 -0
index 8dffffe846ce..93c9bbec96ac 100644

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

include/linux/compiler-clang.h +28 -0
index d9376e327d66..a8953f9c766b 100644

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

include/linux/compiler_attributes.h +11 -0
index 79d306092b48..9b75be769645 100644

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

include/linux/compiler_types.h +4 -0
index 9cecd02c1280..88cc4457297d 100644

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

include/linux/hid.h +13 -2
index 03627c96d814..aaae2fecd4ae 100644

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

include/linux/parport.h +1 -0
index 1fb508c19e83..47f02293d134 100644

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

include/linux/printk.h +13 -0
index c3f1f7be301d..e31a3da5627a 100644

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

include/linux/syscalls.h +4 -0
index a96e924c7b45..339a35aad839 100644

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

include/linux/uio.h +3 -0
index cedb68e49e4f..1b57a7ac9eb6 100644

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

include/net/act_api.h +1 -0
index 2c88b8af3cdb..bbc4ab5e04f7 100644

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

include/net/bluetooth/bluetooth.h +3 -0
index 7d2bd562da4b..43b4386018e2 100644

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

include/net/bluetooth/hci_core.h +2 -0
index fe62943a35dd..bc4e2856f235 100644

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

include/net/bluetooth/l2cap.h +1 -0
index 17ad4577f53a..f22698713bd0 100644

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

include/net/ip_vs.h +1 -2
index c02c3bb0fe09..7891c17ff8b6 100644

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

include/net/netfilter/nf_queue.h +1 -0
index b1d43894296a..6b4de68a762e 100644

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

include/net/sock.h +1 -0
index 4e5386cdb09c..f0e391afb511 100644

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

include/net/xfrm.h +2 -1
index 411949a66a83..22f66b689e82 100644

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

include/rdma/ib_umem.h +0 -23
index 70597508c765..a68ba94fe799 100644

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

include/rdma/ib_verbs.h +0 -47

47 lines not on this page · raw message

include/rdma/iter.h new file +80 -0

80 lines not on this page · raw message

io_uring/io_uring.c +3 -1
index 2ca09e2dbd3d..01eff1694d8c 100644

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

ipc/shm.c +6 -4
index 323a5810a947..aef1c05edb63 100644

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

ipc/util.c +1 -1
index 7c3601dad9bd..9fd65095e91b 100644

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

kernel/pid.c +5 -3
index a5a08476f375..833a1232c138 100644

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

kernel/sched/core.c +1 -1
index e5173a48eb9b..bcb313b1e1fd 100644

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

kernel/sched/rt.c +1 -1
index cc6950fc6061..2c49da90566b 100644

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

kernel/sched/sched.h +1 -1
index 5f17507bd66b..2a43d95dad38 100644

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

kernel/signal.c +1 -0
index 7a9af6d4f2b0..463b798651b6 100644

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

kernel/time/time.c +1 -1
index 37c381607f37..808ce6f49535 100644

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

kernel/trace/trace_probe.c +5 -0
index 698eb997b37e..48f5ca60c68d 100644

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

kernel/trace/trace_probe.h +3 -1
index 9be69ba07cd2..5d4dc7ac3d19 100644

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

kernel/tracepoint.c +2 -0
index 2dff7f1a27ec..7642926517cf 100644

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

lib/debugobjects.c +1 -1
index 49fc61c08ee3..92e804d4d6bb 100644

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

lib/mpi/mpicoder.c +1 -1
index 7054311d7879..5d0a92fb3128 100644

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

mm/huge_memory.c +2 -0
index 92550e398e5d..fdcf89e3b1d2 100644

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

mm/hugetlb.c +1 -0
index 27fe947b8c69..ef556f6fe970 100644

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

mm/madvise.c +1 -1
index 370d0ef719eb..8b6ed35c1d26 100644

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

mm/page_io.c +1 -1
index f0ada4455895..1c17cece99f3 100644

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

mm/process_vm_access.c +1 -1
index c90d722c6181..32a37a8a842c 100644

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

net/6lowpan/iphc.c +2 -2
index 52fad5dad9f7..d762c49e722f 100644

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

net/802/garp.c +1 -1
index f6012f8e59f0..2c456b362621 100644

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

net/802/mrp.c +9 -0
index c10a432a5b43..017839c14184 100644

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

net/9p/client.c +1 -1
index 3e63f99db725..f49f5fd98ad8 100644

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

net/batman-adv/bat_iv_ogm.c +65 -17

82 lines not on this page · raw message

net/batman-adv/bat_v_ogm.c +35 -24

59 lines not on this page · raw message

net/batman-adv/bridge_loop_avoidance.c +41 -22

63 lines not on this page · raw message

net/batman-adv/distributed-arp-table.c +1 -2
index e2b94d144267..9d27d7d7b2b4 100644

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

net/batman-adv/gateway_client.c +1 -2
index 45b8c484e575..01c3699762e1 100644

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

net/batman-adv/main.c +1 -0
index d9719d807d6a..70c373f5572e 100644

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

net/batman-adv/multicast.c +3 -6
index c8a341cd652c..36f2e8481709 100644

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

net/batman-adv/originator.c +4 -8
index f5ae82cd476d..5418d4d12f4c 100644

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

net/batman-adv/soft-interface.c +1 -0
index 0e6d0a5e6841..c8c62b0cd54c 100644

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

net/batman-adv/tp_meter.c +141 -57

198 lines not on this page · raw message

net/batman-adv/tp_meter.h +1 -0
index 140105215aa2..76a1a28400cb 100644

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

net/batman-adv/translation-table.c +31 -13

44 lines not on this page · raw message

net/batman-adv/tvlv.c +20 -8
index 99fc48efde54..8da8184a2ebd 100644

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

net/batman-adv/tvlv.h +1 -1
index d509d00c7a23..4823f4963df5 100644

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

net/batman-adv/types.h +43 -13

56 lines not on this page · raw message

net/bluetooth/6lowpan.c +3 -1
index 9486d6686326..096f6fc5d30b 100644

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

net/bluetooth/a2mp.c +1 -1
index 463bad58478b..882805df735c 100644

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

net/bluetooth/af_bluetooth.c +120 -22

142 lines not on this page · raw message

net/bluetooth/bnep/sock.c +1 -9
index d515571b2afb..59762d82761c 100644

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

net/bluetooth/hci_core.c +30 -4
index 9787a4c55113..a718e38f3da3 100644

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

net/bluetooth/hci_event.c +14 -4
index a2995dcb0ffe..a7bc6600f3dc 100644

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

net/bluetooth/hci_sock.c +2 -8
index 04db39f67c90..78c583dd64a6 100644

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

net/bluetooth/hidp/sock.c +1 -9
index 595fb3c9d6c3..19c932673bf1 100644

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

net/bluetooth/l2cap_core.c +79 -8

87 lines not on this page · raw message

net/bluetooth/l2cap_sock.c +49 -37

86 lines not on this page · raw message

net/bluetooth/mgmt.c +6 -6
index b768abbf2b12..3647e51d3106 100644

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

net/bluetooth/rfcomm/sock.c +33 -15

48 lines not on this page · raw message

net/bluetooth/sco.c +9 -10
index ce084a184a1c..01a01d6f01c3 100644

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

net/bluetooth/smp.c +1 -1
index 64c8dd279932..22b5e8180850 100644

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

net/bridge/br_arp_nd_proxy.c +5 -3
index de80939d1e10..742b3a24f9c8 100644

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

net/bridge/br_fdb.c +18 -10
index 8751571a3cb0..f94eda446c31 100644

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

net/bridge/netfilter/ebt_snat.c +3 -0
index 7dfbcdfc30e5..c9e229af0366 100644

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

net/bridge/netfilter/ebtables.c +30 -0
index 14a06d8b1a2d..e86695f1ed95 100644

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

net/can/raw.c +2 -6
index b2cf2a6fc058..7bcbcea60b1d 100644

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

net/core/dev.c +2 -4
index 9e1e87536c1e..9183fbc434d2 100644

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

net/core/drop_monitor.c +2 -4
index c8a3d6056365..66112797f1aa 100644

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

net/core/dst.c +2 -4
index 5bb143857336..6d74b4663085 100644

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

net/core/filter.c +13 -4
index b8d891f79b98..27550e8b05a6 100644

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

net/core/neighbour.c +5 -10
index 37f7bcbc2adc..e99accbf8db1 100644

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

net/core/page_pool.c +33 -6
index 15ad99330bb9..09d98fcf669f 100644

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

net/core/skbuff.c +7 -3
index f7100f5af37c..e4a39e0f55f2 100644

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

net/ethtool/netlink.c +2 -4
index 25a55086d2b6..fc969d120636 100644

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

net/hsr/hsr_framereg.c +4 -2
index fc9fb3e5ae3e..eadf44811f3c 100644

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

net/ieee802154/6lowpan/tx.c +5 -0
index 0c07662b44c0..4df76ff50699 100644

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

net/ieee802154/nl-phy.c +1 -2
index 88215b5c93aa..dd5a45f8a78a 100644

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

net/ieee802154/nl802154.c +1 -2
index a493965f157f..e5156a92186d 100644

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

net/ieee802154/socket.c +1 -2
index c8b9efc92b45..5ea87f4f76c8 100644

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

net/ipv4/ah4.c +1 -1
index 36ed85bf2ad5..1f428531291c 100644

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

net/ipv4/esp4.c +2 -2
index 00bb4c6c86a0..496c7d40facf 100644

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

net/ipv4/fib_semantics.c +1 -3
index 48516a403a9b..e1a8e00658ba 100644

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

net/ipv4/ip_options.c +4 -0
index da1b5038bdfd..4afdaaab6162 100644

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

net/ipv4/ip_tunnel_core.c +14 -8
index 3cdb546dbc8d..712555c56a18 100644

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

net/ipv4/netfilter/arp_tables.c +6 -9
index d5f3b6260da0..bc8a5b6eccc3 100644

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

net/ipv4/netfilter/ip_tables.c +6 -9
index 22e9ff592cd7..55798e12fb37 100644

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

net/ipv4/netfilter/nft_fib_ipv4.c +1 -1
index 273b64e3f2f9..37d948d64f77 100644

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

net/ipv4/route.c +1 -2
index cee8580cbbe0..fe29a7d6bd1b 100644

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

net/ipv4/sysctl_net_ipv4.c +1 -1
index 59ba518a85b9..56c60af2a32f 100644

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

net/ipv4/tcp.c +1 -1
index b5752cdefb4d..33efa08eb263 100644

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

net/ipv6/addrconf.c +2 -4
index 758cea239e61..251164ee6469 100644

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

net/ipv6/ah6.c +1 -1
index 4bc6767c7e13..aa34a07271c8 100644

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

net/ipv6/datagram.c +46 -8

54 lines not on this page · raw message

net/ipv6/esp6.c +2 -2
index 748f8771d8bf..f743d7474bdc 100644

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

net/ipv6/exthdrs.c +3 -1
index 924f3d7901f0..0230fa98a348 100644

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

net/ipv6/ip6_vti.c +18 -7
index 162ba065d476..e471a5821b0d 100644

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

net/ipv6/ip6mr.c +1 -2
index 926baaf8661c..c6fc951b0147 100644

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

net/ipv6/netfilter/ip6_tables.c +6 -9
index df7cd3d285e4..da136d25701a 100644

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

net/ipv6/netfilter/nft_fib_ipv6.c +1 -1
index b7e543d4d57b..a8343877fdf7 100644

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

net/ipv6/route.c +1 -2
index 27736b584737..9726c5002dbd 100644

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

net/ipv6/sit.c +1 -0
index 9806bd56b95f..387b48ba4aac 100644

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

net/iucv/af_iucv.c +14 -6
index 3d0424e4ae6c..8c08f07ce465 100644

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

net/key/af_key.c +3 -3
index 95f7e363c2f6..84d4ff127344 100644

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

net/mac80211/tdls.c +1 -1
index e01e4daeb8cd..66e32f1d0a98 100644

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

net/mptcp/pm_netlink.c +8 -0
index b88246b8f21c..d4d56f0af3e0 100644

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

net/mptcp/protocol.c +19 -3
index 70bc440c615d..b02c4885adbb 100644

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

net/netfilter/ipvs/ip_vs_ctl.c +8 -5
index 4c9ef2ae4d68..0805c9083eaa 100644

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

net/netfilter/ipvs/ip_vs_proto_sctp.c +6 -12
index 83e452916403..63c78a1f3918 100644

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

net/netfilter/ipvs/ip_vs_proto_tcp.c +7 -14
index 7da51390cea6..ede4fa3b63f5 100644

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

net/netfilter/ipvs/ip_vs_proto_udp.c +7 -13
index 68260d91c988..ffbebda547fc 100644

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

net/netfilter/ipvs/ip_vs_sched.c +7 -7
index d4903723be7e..49b2e5d2b2c8 100644

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

net/netfilter/ipvs/ip_vs_sync.c +1 -1
index 87b1cf69b9c2..bfb1d04b0151 100644

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

net/netfilter/nf_conntrack_irc.c +2 -2
index 65b5b05fe38d..24533bee001b 100644

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

net/netfilter/nf_conntrack_proto_tcp.c +2 -1
index c43d9819df06..133e17715bbc 100644

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

net/netfilter/nf_queue.c +11 -17
index bb8607ff94bc..d9d35658a357 100644

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

net/netfilter/nf_synproxy_core.c +20 -6
index 2dfc5dae0656..4a742dda15da 100644

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

net/netfilter/nfnetlink_queue.c +2 -0
index bfe909267c9d..1541d6801001 100644

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

net/netfilter/nft_exthdr.c +3 -0
index 5bde436b8754..be8ff8b53557 100644

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

net/netfilter/nft_fib.c +6 -0
index 1fd4b2054e8f..6b4dc8d9eb67 100644

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

net/netfilter/nft_tunnel.c +1 -1
index 95f823032228..b2c6e30ccd76 100644

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

net/netfilter/xt_NFQUEUE.c +1 -1
index 466da23e36ff..b32d153e3a18 100644

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

net/netfilter/xt_cpu.c +1 -1
index 3bdc302a0f91..9cb259902a58 100644

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

net/netlabel/netlabel_unlabeled.c +12 -24
index 3049fff0b7f8..e6b34be6fc28 100644

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

net/netlink/af_netlink.c +8 -3
index 42b7b8574f09..e091b65c9d2b 100644

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

net/netrom/nr_loopback.c +1 -2
index a880dd33e901..511819fbfa67 100644

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

net/netrom/nr_route.c +1 -2
index 9ea038b5d6ca..f8896c6cfa61 100644

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

net/nfc/hci/core.c +10 -0
index 43811b5219b5..9a3a89a35b21 100644

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

net/nfc/llcp_core.c +11 -0
index e04634f22b49..c7de44637e01 100644

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

net/nfc/llcp_sock.c +7 -5
index 6e1fba208493..57dea580c029 100644

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

net/nfc/nci/hci.c +10 -0
index f8140488b08a..8ea17eacef85 100644

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

net/openvswitch/datapath.c +1 -0
index 1c69aa986633..5fb74fbcb2f3 100644

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

net/packet/af_packet.c +20 -20
index 1c9b2d67c3ed..793720e50679 100644

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

net/phonet/af_phonet.c +1 -2
index ca6ae4c59433..65218b7ce9f9 100644

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

net/phonet/pn_dev.c +2 -4
index ac0fae06cc15..7e0752f34ce7 100644

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

net/phonet/socket.c +1 -2
index 2599235d592e..71e2caf6ab85 100644

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

net/qrtr/af_qrtr.c +2 -2
index fdb7a5a12f03..fb0398903e4f 100644

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

net/qrtr/ns.c +68 -112

180 lines not on this page · raw message

net/rds/ib_cm.c +1 -0
index f5cbe963cd8f..f643d1f59c3b 100644

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

net/rds/ib_send.c +2 -0
index 92b4a8689aae..6c20526f71a1 100644

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

net/rds/info.c +1 -1
index b6b46a8214a0..b3ee5f8238c4 100644

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

net/sched/act_api.c +1 -6
index bf98bb602a9d..c724eea8cf8c 100644

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

net/sched/act_mirred.c +2 -4
index 07b9f8335f05..270b9fc07ee0 100644

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

net/sched/cls_fw.c +5 -1
index 23cf4f711117..1dfbae9dc050 100644

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

net/sched/sch_sfb.c +1 -1
index 1b04e760e47d..ce6c7e34e3c4 100644

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

net/sctp/diag.c +9 -8
index 2cf5ee7a698e..dccf4509190c 100644

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

net/sctp/input.c +8 -0
index 079b1bfc7d31..3c7761199f20 100644

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

net/sctp/sm_statefuns.c +1 -5
index af75b9408556..7ac3ad83ddd5 100644

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

net/sctp/socket.c +2 -0
index 8c7bdf01e32a..150235d86141 100644

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

net/sctp/stream.c +5 -1
index 0527728aee98..d38e5431f359 100644

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

net/smc/af_smc.c +2 -2
index d64cfd651c7a..8e1e38bc0df4 100644

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

net/smc/smc_clc.c +3 -3
index 2e1551c24699..bdbe82b306c5 100644

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

net/smc/smc_pnet.c +1 -2
index 7824b32cdb66..83ab8e293c67 100644

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

net/socket.c +12 -11
index 2a48aa89c035..de838c3b0048 100644

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

net/sunrpc/socklib.c +3 -3
index d52313af82bc..eabb95360885 100644

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

net/sunrpc/svcsock.c +2 -2
index cb0cfcd8a814..fc16b4a2f5a8 100644

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

net/sunrpc/xprtsock.c +3 -3
index 79ce634017f9..5dccad3271fe 100644

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

net/tipc/topsrv.c +1 -1
index d914c5eb2517..93f8ee3446bf 100644

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

net/tls/tls_device.c +2 -2
index 8e89ff403073..6118859b2a51 100644

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

net/vmw_vsock/vmci_transport.c +3 -1
index d31f47176b16..aa6f2a142966 100644

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

net/wireless/nl80211.c +5 -11
index 9d84e7c845bc..33e2c29fbd3f 100644

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

net/wireless/scan.c +1 -2
index 1cf62bd9b8f6..2b64bf73cbcf 100644

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

net/xfrm/espintcp.c +5 -1
index 24ca49ecebea..2ee078156ded 100644

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

net/xfrm/xfrm_input.c +12 -4
index 0c3fa01ec67a..7a2d7048a491 100644

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

net/xfrm/xfrm_policy.c +3 -12
index c4ebfaa0b2ed..e17faf51f325 100644

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

net/xfrm/xfrm_state.c +18 -5
index 02d1d8d1fdea..61a0a5b843d9 100644

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

net/xfrm/xfrm_user.c +2 -3
index e046f7894fee..6141dc68b1bc 100644

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

security/apparmor/policy_unpack.c +15 -12
index a512fde9267e..e1f4a3f70097 100644

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

security/keys/keyctl.c +2 -2
index c283474ecea5..07811bd74d3a 100644

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

sound/aoa/codecs/onyx.c +32 -72

104 lines not on this page · raw message

sound/aoa/codecs/tas.c +39 -74

113 lines not on this page · raw message

sound/aoa/core/gpio-feature.c +7 -13
index 39bb409b27f6..19ed0e6907da 100644

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

sound/aoa/core/gpio-pmf.c +9 -17
index 37866039d1ea..e76bde25e41a 100644

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

sound/aoa/soundbus/i2sbus/core.c +3 -0
index 0c1056efbe02..14631e65aa70 100644

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

sound/aoa/soundbus/i2sbus/pcm.c +72 -71

143 lines not on this page · raw message

sound/core/misc.c +11 -3
index c3f3d94b5197..057bb390e679 100644

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

sound/core/pcm_native.c +3 -4
index 09b4ad414ffb..51e5dd9ee793 100644

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

sound/core/timer.c +1 -0
index 7e6fd86df41c..a0b0a60f48b8 100644

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

sound/drivers/aloop.c +27 -13
index fb45a32d99cd..314ced32efbb 100644

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

sound/pci/hda/patch_hdmi.c +1 -0
index 9b6e686e45f0..77192df4d95f 100644

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

sound/soc/intel/boards/bytcht_es8316.c +27 -2
index a258a410dd8d..ebb63194c443 100644

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

sound/soc/qcom/qdsp6/q6asm-dai.c +23 -20

43 lines not on this page · raw message

sound/usb/clock.c +6 -0
index 197a6b7d8ad6..8759e20c419e 100644

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

tools/testing/ktest/ktest.pl +92 -94

186 lines not on this page · raw message

tools/testing/selftests/net/forwarding/lib.sh +56 -0

56 lines not on this page · raw message

tools/testing/selftests/net/mptcp/mptcp_connect.sh +3 -3
index fb89298bdde4..4e7c82eddf71 100755

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.