Linux 6.6.143
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.6.143 kernel.
All users of the 6.6 kernel series must upgrade.
The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/arch/arm64/silicon-errata.rst | 48 ++ Makefile | 2 arch/arm/include/asm/io.h | 15 arch/arm/kernel/entry-armv.S | 2 arch/arm/mach-socfpga/platsmp.c | 1 arch/arm64/Kconfig | 50 ++ arch/arm64/include/asm/cputype.h | 6 arch/arm64/include/asm/io.h | 25 - arch/arm64/include/asm/kvm_mmu.h | 5 arch/arm64/include/asm/tlb.h | 2 arch/arm64/include/asm/tlbflush.h | 64 +- arch/arm64/kernel/acpi.c | 2 arch/arm64/kernel/cpu_errata.c | 34 + arch/arm64/kernel/sys_compat.c | 2 arch/arm64/kvm/hyp/nvhe/mm.c | 2 arch/arm64/kvm/hyp/nvhe/pkvm.c | 2 arch/arm64/kvm/hyp/nvhe/tlb.c | 69 --- arch/arm64/kvm/hyp/pgtable.c | 2 arch/arm64/kvm/hyp/vhe/tlb.c | 21 arch/arm64/kvm/pmu-emul.c | 4 arch/arm64/mm/ioremap.c | 8 arch/mips/dec/platform.c | 109 ++++ arch/x86/kernel/Makefile | 14 arch/x86/kernel/cpu/amd.c | 33 - arch/x86/kernel/setup.c | 6 arch/x86/kvm/svm/avic.c | 35 + arch/x86/mm/Makefile | 2 drivers/auxdisplay/line-display.c | 2 drivers/base/bus.c | 11 drivers/block/zram/zram_drv.c | 2 drivers/bluetooth/btusb.c | 8 drivers/bluetooth/hci_qca.c | 38 - drivers/char/ipmi/ipmi_msghandler.c | 2 drivers/char/ipmi/ipmi_ssif.c | 29 - drivers/clk/qcom/dispcc-sc8280xp.c | 4 drivers/comedi/drivers/comedi_test.c | 5 drivers/counter/counter-core.c | 3 drivers/gpio/gpio-mvebu.c | 4 drivers/gpio/gpio-mxc.c | 2 drivers/gpio/gpio-rockchip.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 10 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 10 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 49 +- drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 3 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 5 drivers/gpu/drm/amd/display/dc/basics/vector.c | 4 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 54 +- drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c | 3 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c | 4 drivers/gpu/drm/bridge/sil-sii8620.c | 1 drivers/gpu/drm/drm_fb_helper.c | 12 drivers/gpu/drm/hyperv/hyperv_drm_proto.c | 113 ++++- drivers/gpu/drm/i915/display/intel_display_types.h | 1 drivers/gpu/drm/i915/display/intel_dpcd.h | 15 drivers/gpu/drm/i915/display/intel_psr.c | 34 + drivers/gpu/drm/i915/gem/i915_gem_phys.c | 19 drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 28 - drivers/gpu/drm/imx/dcss/dcss-scaler.c | 3 drivers/gpu/drm/vc4/vc4_validate_shaders.c | 13 drivers/gpu/drm/virtio/virtgpu_drv.c | 5 drivers/gpu/drm/virtio/virtgpu_submit.c | 4 drivers/hid/bpf/hid_bpf_dispatch.c | 3 drivers/hid/hid-core.c | 35 + drivers/hid/hid-gfrm.c | 4 drivers/hid/hid-ids.h | 1 drivers/hid/hid-logitech-hidpp.c | 2 drivers/hid/hid-multitouch.c | 2 drivers/hid/hid-picolcd_cir.c | 1 drivers/hid/hid-primax.c | 2 drivers/hid/hid-quirks.c | 1 drivers/hid/hid-vivaldi-common.c | 2 drivers/hid/wacom_sys.c | 19 drivers/hid/wacom_wac.h | 1 drivers/hwmon/pmbus/adm1266.c | 47 +- drivers/hwmon/pmbus/pmbus_core.c | 117 ++++- drivers/i2c/busses/i2c-qcom-cci.c | 2 drivers/i2c/busses/i2c-stm32f7.c | 6 drivers/i2c/busses/i2c-tegra.c | 53 +- drivers/i2c/i2c-dev.c | 9 drivers/iio/adc/npcm_adc.c | 31 - 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 | 16 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/magnetometer/st_magn_core.c | 13 drivers/iio/temperature/tsys01.c | 2 drivers/infiniband/core/Makefile | 2 drivers/infiniband/core/iter.c | 43 + drivers/infiniband/core/umem.c | 16 drivers/infiniband/core/verbs.c | 38 - 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/erdma/erdma_verbs.c | 2 drivers/infiniband/hw/hns/hns_roce_alloc.c | 2 drivers/infiniband/hw/hns/hns_roce_mr.c | 4 drivers/infiniband/hw/irdma/main.h | 2 drivers/infiniband/hw/irdma/verbs.c | 4 drivers/infiniband/hw/mana/mana_ib.h | 2 drivers/infiniband/hw/mlx4/mr.c | 5 drivers/infiniband/hw/mlx5/mem.c | 1 drivers/infiniband/hw/mlx5/mr.c | 4 drivers/infiniband/hw/mlx5/umr.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_qp.c | 7 drivers/infiniband/sw/rxe/rxe_verbs.c | 5 drivers/infiniband/ulp/isert/ib_isert.c | 6 drivers/infiniband/ulp/srp/ib_srp.c | 30 + drivers/input/joystick/xpad.c | 14 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/md/bcache/super.c | 3 drivers/md/dm-cache-policy-smq.c | 12 drivers/media/cec/core/cec-core.c | 2 drivers/media/common/siano/smsir.c | 1 drivers/media/i2c/ir-kbd-i2c.c | 2 drivers/media/pci/bt8xx/bttv-input.c | 3 drivers/media/pci/cx23885/cx23885-input.c | 1 drivers/media/pci/cx88/cx88-input.c | 3 drivers/media/pci/dm1105/dm1105.c | 1 drivers/media/pci/mantis/mantis_input.c | 1 drivers/media/pci/saa7134/saa7134-input.c | 1 drivers/media/pci/smipcie/smipcie-ir.c | 1 drivers/media/pci/ttpci/budget-ci.c | 1 drivers/media/rc/ati_remote.c | 6 drivers/media/rc/ene_ir.c | 2 drivers/media/rc/fintek-cir.c | 3 drivers/media/rc/igorplugusb.c | 3 drivers/media/rc/iguanair.c | 1 drivers/media/rc/img-ir/img-ir-hw.c | 3 drivers/media/rc/img-ir/img-ir-raw.c | 3 drivers/media/rc/imon.c | 3 drivers/media/rc/ir-hix5hd2.c | 2 drivers/media/rc/ir_toy.c | 1 drivers/media/rc/ite-cir.c | 2 drivers/media/rc/mceusb.c | 1 drivers/media/rc/rc-ir-raw.c | 5 drivers/media/rc/rc-loopback.c | 1 drivers/media/rc/rc-main.c | 6 drivers/media/rc/redrat3.c | 4 drivers/media/rc/st_rc.c | 2 drivers/media/rc/streamzap.c | 7 drivers/media/rc/sunxi-cir.c | 1 drivers/media/rc/ttusbir.c | 4 drivers/media/rc/winbond-cir.c | 2 drivers/media/rc/xbox_remote.c | 5 drivers/media/usb/au0828/au0828-input.c | 1 drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 1 drivers/media/usb/dvb-usb/dvb-usb-remote.c | 6 drivers/media/usb/em28xx/em28xx-input.c | 1 drivers/misc/fastrpc.c | 107 +++- drivers/mmc/core/mmc.c | 4 drivers/mmc/host/litex_mmc.c | 20 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 drivers/mmc/host/sdhci.c | 1 drivers/net/bonding/bond_main.c | 12 drivers/net/ethernet/amd/pcnet32.c | 4 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 2 drivers/net/ethernet/freescale/fec_main.c | 3 drivers/net/ethernet/intel/ice/ice_virtchnl.c | 2 drivers/net/ethernet/marvell/mv643xx_eth.c | 2 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 75 ++- drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 13 drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 2 drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 1 drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c | 32 - drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 2 drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c | 2 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 drivers/net/ethernet/mellanox/mlx4/cq.c | 9 drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 6 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 13 drivers/net/ethernet/mellanox/mlx5/core/vport.c | 72 ++- drivers/net/ethernet/microchip/lan743x_main.c | 32 + drivers/net/ethernet/microchip/lan743x_main.h | 1 drivers/net/ethernet/microsoft/mana/mana_en.c | 70 +-- drivers/net/ethernet/ti/cpsw_new.c | 4 drivers/net/hyperv/netvsc.c | 19 drivers/net/macsec.c | 3 drivers/net/phy/mscc/mscc.h | 8 drivers/net/phy/mscc/mscc_main.c | 23 - drivers/net/phy/phy_device.c | 6 drivers/net/tap.c | 2 drivers/net/tun.c | 5 drivers/net/usb/r8152.c | 7 drivers/net/vxlan/vxlan_core.c | 4 drivers/net/vxlan/vxlan_vnifilter.c | 5 drivers/net/wireguard/send.c | 20 drivers/nfc/nxp-nci/i2c.c | 21 drivers/nvmem/layouts/onie-tlv.c | 3 drivers/of/kexec.c | 15 drivers/parport/share.c | 11 drivers/platform/x86/intel/vsec.c | 34 - drivers/ptp/ptp_vclock.c | 14 drivers/scsi/fcoe/fcoe_ctlr.c | 2 drivers/scsi/scsi_lib.c | 27 + drivers/scsi/scsi_transport_fc.c | 77 +-- drivers/slimbus/qcom-ngd-ctrl.c | 5 drivers/soc/qcom/ice.c | 36 + drivers/soc/tegra/pmc.c | 104 +++- drivers/staging/greybus/hid.c | 2 drivers/staging/media/av7110/av7110_ir.c | 1 drivers/target/iscsi/iscsi_target.c | 6 drivers/target/iscsi/iscsi_target_auth.c | 19 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/tee/optee/supp.c | 107 +++- drivers/thunderbolt/property.c | 38 + drivers/thunderbolt/xdomain.c | 14 drivers/tty/serdev/core.c | 23 - drivers/tty/serial/altera_jtaguart.c | 7 drivers/tty/serial/dz.c | 171 +++---- drivers/tty/serial/fsl_lpuart.c | 15 drivers/tty/serial/pch_uart.c | 19 drivers/tty/serial/qcom_geni_serial.c | 17 drivers/tty/serial/samsung_tty.c | 129 ++--- drivers/tty/serial/sh-sci.c | 2 drivers/tty/serial/zs.c | 226 +++------- drivers/tty/serial/zs.h | 1 drivers/usb/cdns3/cdns3-gadget.c | 12 drivers/usb/cdns3/cdns3-plat.c | 11 drivers/usb/chipidea/core.c | 16 drivers/usb/class/cdc-acm.c | 2 drivers/usb/class/cdc-acm.h | 2 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/dwc3-xilinx.c | 26 - drivers/usb/gadget/composite.c | 5 drivers/usb/gadget/function/f_fs.c | 2 drivers/usb/gadget/function/f_hid.c | 3 drivers/usb/gadget/function/f_ncm.c | 35 + drivers/usb/gadget/function/f_uvc.c | 26 - drivers/usb/gadget/function/u_ether.c | 28 + drivers/usb/gadget/function/u_ether.h | 26 + drivers/usb/gadget/function/u_ncm.h | 2 drivers/usb/gadget/udc/dummy_hcd.c | 4 drivers/usb/gadget/udc/net2280.c | 4 drivers/usb/host/xhci-tegra.c | 79 +-- drivers/usb/musb/omap2430.c | 3 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/tcpci_maxim_core.c | 9 drivers/usb/typec/tcpm/wcove.c | 13 drivers/usb/typec/ucsi/displayport.c | 4 drivers/usb/typec/ucsi/ucsi.c | 24 - drivers/usb/typec/ucsi/ucsi_ccg.c | 5 drivers/usb/usbip/vudc_dev.c | 1 drivers/usb/usbip/vudc_transfer.c | 3 drivers/video/fbdev/Kconfig | 1 drivers/video/fbdev/core/fbcon.c | 9 drivers/video/fbdev/vt8500lcdfb.c | 4 fs/fcntl.c | 8 fs/fuse/dev.c | 9 fs/hpfs/alloc.c | 2 fs/iomap/buffered-io.c | 4 fs/smb/client/netlink.c | 6 fs/smb/server/oplock.c | 15 fs/smb/server/smb2pdu.c | 143 ++++-- fs/smb/server/smbacl.c | 51 ++ fs/smb/server/smbacl.h | 2 include/drm/display/drm_dp.h | 1 include/drm/drm_fourcc.h | 5 include/linux/compat.h | 4 include/linux/compiler-clang.h | 6 include/linux/compiler_attributes.h | 11 include/linux/compiler_types.h | 4 include/linux/hid.h | 15 include/linux/hid_bpf.h | 4 include/linux/hugetlb.h | 16 include/linux/ima.h | 1 include/linux/mlx5/vport.h | 4 include/linux/mm.h | 8 include/linux/parport.h | 1 include/linux/serdev.h | 1 include/linux/syscalls.h | 4 include/media/rc-core.h | 2 include/net/act_api.h | 1 include/net/bluetooth/l2cap.h | 1 include/net/genetlink.h | 9 include/net/inet_frag.h | 18 include/net/ip_vs.h | 3 include/net/ipv6_frag.h | 9 include/net/netfilter/nf_conntrack_core.h | 5 include/net/netfilter/nf_conntrack_helper.h | 1 include/net/netfilter/nf_tables.h | 7 include/net/sock.h | 1 include/net/xfrm.h | 3 include/rdma/ib_umem.h | 44 - include/rdma/ib_verbs.h | 48 -- include/rdma/iter.h | 88 +++ include/uapi/linux/netfilter/nf_tables.h | 18 ipc/shm.c | 10 ipc/util.c | 2 kernel/cgroup/cpuset.c | 8 kernel/events/core.c | 16 kernel/pid.c | 8 kernel/signal.c | 1 kernel/time/time.c | 2 kernel/trace/trace_probe.c | 2 lib/debugobjects.c | 2 mm/damon/ops-common.c | 4 mm/damon/sysfs-schemes.c | 8 mm/gup.c | 2 mm/huge_memory.c | 2 mm/hugetlb.c | 118 +++-- mm/memfd.c | 12 mm/memory-failure.c | 96 ++-- mm/memory.c | 2 mm/memory_hotplug.c | 2 mm/mempolicy.c | 2 mm/migrate.c | 18 mm/page_alloc.c | 1 net/6lowpan/iphc.c | 4 net/802/garp.c | 2 net/802/mrp.c | 9 net/batman-adv/bat_iv_ogm.c | 82 ++- net/batman-adv/bat_v_ogm.c | 59 +- net/batman-adv/bridge_loop_avoidance.c | 57 +- net/batman-adv/soft-interface.c | 1 net/batman-adv/tp_meter.c | 67 +- net/batman-adv/translation-table.c | 43 + net/batman-adv/tvlv.c | 28 - net/batman-adv/tvlv.h | 2 net/batman-adv/types.h | 42 + net/bluetooth/6lowpan.c | 2 net/bluetooth/bnep/core.c | 50 +- net/bluetooth/hci_conn.c | 8 net/bluetooth/hci_sync.c | 9 net/bluetooth/hci_sysfs.c | 6 net/bluetooth/hidp/core.c | 23 - net/bluetooth/iso.c | 12 net/bluetooth/l2cap_core.c | 87 +++ net/bluetooth/l2cap_sock.c | 16 net/bluetooth/mgmt.c | 17 net/bluetooth/rfcomm/core.c | 67 ++ net/bluetooth/rfcomm/sock.c | 26 - net/bridge/netfilter/ebt_snat.c | 3 net/bridge/netfilter/ebtables.c | 30 + net/core/drop_monitor.c | 2 net/core/filter.c | 17 net/core/skbuff.c | 20 net/core/sock.c | 13 net/ethtool/eeprom.c | 10 net/hsr/hsr_forward.c | 4 net/hsr/hsr_framereg.c | 10 net/ieee802154/6lowpan/tx.c | 5 net/ipv4/ah4.c | 2 net/ipv4/esp4.c | 4 net/ipv4/inet_fragment.c | 54 ++ net/ipv4/ip_fragment.c | 21 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/nf_nat_h323.c | 2 net/ipv4/netfilter/nft_fib_ipv4.c | 2 net/ipv4/sysctl_net_ipv4.c | 2 net/ipv4/udp.c | 8 net/ipv6/addrconf.c | 53 +- net/ipv6/ah6.c | 2 net/ipv6/datagram.c | 54 ++ net/ipv6/esp6.c | 4 net/ipv6/exthdrs.c | 35 + net/ipv6/ioam6.c | 8 net/ipv6/ip6_input.c | 2 net/ipv6/ip6_vti.c | 25 - net/ipv6/mcast.c | 22 net/ipv6/ndisc.c | 18 net/ipv6/netfilter/ip6_tables.c | 15 net/ipv6/netfilter/ip6t_eui64.c | 7 net/ipv6/netfilter/nft_fib_ipv6.c | 2 net/ipv6/route.c | 5 net/ipv6/seg6_hmac.c | 8 net/ipv6/sit.c | 1 net/iucv/af_iucv.c | 20 net/key/af_key.c | 58 +- net/mctp/device.c | 1 net/mctp/neigh.c | 1 net/mctp/route.c | 1 net/mptcp/options.c | 73 +-- net/mptcp/pm.c | 49 +- net/mptcp/pm_netlink.c | 18 net/mptcp/protocol.c | 102 +++- net/mptcp/protocol.h | 17 net/mptcp/sockopt.c | 8 net/mptcp/subflow.c | 20 net/netfilter/ipset/ip_set_bitmap_ipmac.c | 5 net/netfilter/ipset/ip_set_hash_ipmac.c | 9 net/netfilter/ipset/ip_set_hash_mac.c | 5 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/nf_conntrack_ecache.c | 2 net/netfilter/nf_conntrack_expect.c | 10 net/netfilter/nf_conntrack_helper.c | 19 net/netfilter/nf_conntrack_irc.c | 4 net/netfilter/nf_conntrack_netlink.c | 28 - net/netfilter/nf_conntrack_proto_tcp.c | 3 net/netfilter/nf_log_syslog.c | 12 net/netfilter/nf_nat_core.c | 2 net/netfilter/nf_nat_sip.c | 1 net/netfilter/nf_synproxy_core.c | 26 - net/netfilter/nft_bitwise.c | 184 ++++++-- net/netfilter/nft_byteorder.c | 13 net/netfilter/nft_ct.c | 8 net/netfilter/nft_ct_fast.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/netfilter/xt_mac.c | 4 net/netlabel/netlabel_unlabeled.c | 30 - net/netlink/af_netlink.c | 11 net/netlink/genetlink.c | 4 net/nfc/hci/core.c | 10 net/nfc/llcp_core.c | 11 net/nfc/llcp_sock.c | 2 net/nfc/nci/hci.c | 10 net/openvswitch/datapath.c | 1 net/psample/psample.c | 2 net/qrtr/af_qrtr.c | 4 net/rds/ib_cm.c | 1 net/rds/ib_send.c | 2 net/rds/info.c | 2 net/rxrpc/ar-internal.h | 12 net/rxrpc/call_event.c | 27 - net/rxrpc/call_object.c | 2 net/rxrpc/conn_event.c | 32 - net/rxrpc/insecure.c | 8 net/rxrpc/recvmsg.c | 68 ++- net/rxrpc/rxkad.c | 115 +---- net/sched/act_api.c | 7 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 | 21 net/socket.c | 11 net/unix/af_unix.c | 38 - net/vmw_vsock/af_vsock.c | 49 +- net/vmw_vsock/hyperv_transport.c | 9 net/vmw_vsock/virtio_transport_common.c | 14 net/vmw_vsock/vmci_transport.c | 12 net/wireless/nl80211.c | 3 net/xfrm/espintcp.c | 4 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/integrity/ima/ima_kexec.c | 35 + security/landlock/errata/abi-1.h | 16 security/landlock/fs.c | 40 + sound/core/pcm_native.c | 7 sound/core/timer.c | 1 sound/firewire/motu/motu-register-dsp-message-parser.c | 14 sound/pci/hda/patch_hdmi.c | 1 sound/soc/codecs/simple-mux.c | 2 sound/soc/codecs/wm_adsp.c | 3 sound/soc/fsl/fsl_sai.c | 2 sound/soc/intel/boards/bytcht_es8316.c | 29 + sound/soc/qcom/qdsp6/q6asm-dai.c | 43 + tools/testing/selftests/ftrace/test.d/dynevent/eprobes_syntax_errors.tc | 2 tools/testing/selftests/mm/hmm-tests.c | 50 ++ tools/testing/selftests/net/mptcp/mptcp_connect.sh | 6 tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 tools/testing/selftests/ptp/testptp.c | 62 -- tools/verification/rv/src/in_kernel.c | 2 virt/kvm/kvm_main.c | 3 506 files changed, 5434 insertions(+), 2724 deletions(-)
Aaron Erhardt (1):
ALSA: hda/hdmi: Add quirk for TUXEDO IBS14G6
Abdurrahman Hussain (2):
hwmon: (pmbus/adm1266) serialize GPIO PMBus accesses with pmbus_lock
hwmon: (pmbus/adm1266) serialize NVMEM blackbox read with pmbus_lock
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
Advait Dhamorikar (1):
iio: magnetometer: st_magn: fix default DRDY pin selection for LIS2MDL
Akhil R (1):
i2c: tegra: Fix NOIRQ suspend/resume
Aldo Conte (1):
iio: light: cm3323: fix reg_conf not being initialized correctly
Aleksandr Nogikh (2):
x86/kexec: Disable KCOV instrumentation after load_segments()
signal: clear JOBCTL_PENDING_MASK for caller in zap_other_threads()
Alexander A. Klimov (1):
drm/vc4: fix krealloc() memory leak
Alexander Stein (1):
gpio: mxc: fix irq_high handling
Alexandra Winter (1):
net/smc: Do not re-initialize smc hashtables
Alexandru Hossu (1):
scsi: target: iscsi: Validate CHAP_R length before base64 decode
Ali Ganiyev (1):
ksmbd: OOB read regression in smb_check_perm_dacl() ACE-walk loops
Alistair Popple (1):
mm/memory: fix spurious warning when unmapping device-private/exclusive pages
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
Andre Heider (1):
nvmem: layouts: onie-tlv: fix hang on unknown types
Andrew Martin (1):
drm/amdkfd: Fix buffer overflow in SDMA queue checkpoint/restore on GFX11
Andy Roulin (2):
vxlan: vnifilter: send notification on VNI add
vxlan: vnifilter: fix spurious notification on VNI update
Anton Leontev (1):
hv_netvsc: use kmap_local_page in netvsc_copy_to_send_buf
Antoniu Miclaus (2):
iio: gyro: adis16260: fix division by zero in write_raw
iio: chemical: scd30: 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
Asim Viladi Oglu Manizada (1):
ksmbd: fix OOB write in QUERY_INFO for compound requests
Bartosz Golaszewski (2):
net: mv643xx: fix OF node refcount
slimbus: qcom-ngd-ctrl: fix OF node refcount
Ben Hutchings (1):
parport: Fix race between port and client registration
Benjamin Tissoires (1):
HID: pass the buffer size to hid_report_raw_event
Berkant Koc (2):
drm/hyperv: validate resolution_count and fix WIN8 fallback drm/hyperv: validate VMBus packet size in receive callback
Bharath Reddy (1):
Bluetooth: fix memory leak in error path of hci_alloc_dev()
Bjorn Andersson (1):
slimbus: qcom-ngd-ctrl: Avoid ABBA on tx_lock/ctrl->lock
Borislav Petkov (AMD) (3):
x86/CPU/AMD: Move the Zen3 BTC_NO detection to the Zen3 init function x86/CPU/AMD: Call the spectral chicken in the Zen2 init function x86/CPU/AMD: Rename init_amd_zn() to init_amd_zen_common()
Breno Leitao (2):
net/iucv: fix locking in .getsockopt
rds: mark snapshot pages dirty in rds_info_getsockopt()
Brian Foster (1):
iomap: don't revert iov_iter on partially completed buffered writes
Carl Lee (1):
nfc: nxp-nci: i2c: use rising-edge IRQ on ACPI systems
Carlos Eduardo Gallo Filho (1):
drm: Remove plane hsub/vsub alignment requirement for core helpers
Chancel Liu (1):
ASoC: fsl_sai: Fix 32 slots TDM broken by integer shift UB in xMR write
Chenguang Zhao (1):
netlabel: validate unlabeled address and mask attribute lengths
Chih Kai Hsu (1):
r8152: handle the return value of usb_reset_device()
Chris Mason (1):
netfilter: synproxy: refresh tcphdr after skb_ensure_writable
Christian Brauner (1):
pidfd: refuse access to tasks that have started exiting harder
Christian König (1):
drm/amdgpu: restart the CS if some parts of the VM are still invalidated
Christofer Jonason (1):
iio: adc: xilinx-xadc: Fix sequencer mode in postdisable for dual mux
Corey Minyard (2):
ipmi:ssif: Remove unnecessary indention
ipmi:ssif: NULL thread on error
Cryolitia PukNgae (1):
Input: atkbd - skip deactivate for HONOR BCC-N's internal keyboard
Cunlong Li (1):
zram: fix use-after-free in zram_bvec_write_partial()
Cássio Gabriel (3):
ASoC: Intel: bytcht_es8316: Fix MCLK leak on init errors
ASoC: codecs: simple-mux: Fix enum control bounds check
ALSA: firewire-motu: Protect register DSP event queue positions
Dan Carpenter (1):
usb: dwc2: Fix use after free in debug code
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 mm/hugetlb: restore reservation on error in hugetlb folio copy paths
iio: adc: npcm: fix unbalanced clk_disable_unprepare()
David Francis (1):
drm/amdkfd: Check for pdd drm file first in CRIU restore path
David Hildenbrand (3):
mm/hugetlb: rename isolate_hugetlb() to folio_isolate_hugetlb() mm/migrate: don't call folio_putback_active_hugetlb() on dst hugetlb folio mm/hugetlb: rename folio_putback_active_hugetlb() to folio_putback_hugetlb()
David Howells (2):
rxrpc: Fix DATA decrypt vs splice() by copying data to buffer in recvmsg
rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer
David Jeffery (1):
scsi: core: Run queues for all non-SDEV_DEL devices from scsi_run_host_queues
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):
octeontx2-af: fix memory leak in rvu_setup_hw_resources()
octeontx2-pf: avoid double free of pool->stack on AQ init failure
Dipayaan Roy (1):
net: mana: Add NULL guards in teardown path to prevent panic on attach failure
Dmitriy Zharov (1):
Input: xpad - add support for ASUS ROG RAIKIRI II
Dmitry Osipenko (1):
drm/virtio: Fix driver removal with disabled KMS
Dmitry Torokhov (3):
Input: xpad - fix out-of-bounds access for Share button
Input: elan_i2c - validate firmware size before use
Input: atmel_mxt_ts - fix boundary check in mxt_prepare_cfg_mem
Doruk Tan Ozturk (1):
Bluetooth: hci_sync: fix UAF in hci_le_create_cis_sync
Dragos Tatulea (1):
net/mlx5: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list
Dudu Lu (1):
Bluetooth: bnep: fix incorrect length parsing in bnep_rx_frame() extension handling
Eric Dumazet (9):
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()
tcp: restrict SO_ATTACH_FILTER to priv users
ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup() ipv6/addrconf: annotate data-races around devconf fields (II)
Eric Huang (2):
drm/amdkfd: fix NULL pointer bug in svm_range_set_attr drm/amdkfd: fix a vulnerability of integer overflow in kfd debugger
Felix Gu (1):
iio: buffer: hw-consumer: fix use-after-free in error path
Fernando Fernandez Mancera (3):
netfilter: nf_tables: fix dst corruption in same register operation
netfilter: xt_NFQUEUE: prefer raw_smp_processor_id
netfilter: synproxy: add mutex to guard hook reference counting
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
Gabriele Monaco (1):
tools/rv: Fix cleanup after failed trace setup
Gil Portnoy (2):
ksmbd: fix NULL-deref of opinfo->conn in oplock/lease break notifiers
ksmbd: fix use-after-free of a deferred file_lock on double SMB2_CANCEL
Greg Kroah-Hartman (9):
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()
usb: typec: tcpm/tcpci_maxim: validate header NDO against RX_BYTE_CNT
usb: typec: ucsi: validate connector number in ucsi_connector_change() Linux 6.6.143
Guangshuo Li (4):
counter: Fix refcount leak in counter_alloc() error path
usb: gadget: net2280: Fix double free in probe error path
usb: gadget: f_hid: fix device reference leak in hidg_alloc() dm cache policy smq: check allocation under invalidate lock
Guenter Roeck (1):
hwmon: (pmbus/core) Protect regulator operations with mutex
Guillermo Rodríguez (1):
i2c: stm32f7: fix timing computation ignoring i2c-analog-filter
Guopeng Zhang (1):
cgroup/cpuset: Reset DL migration state on can_attach() failure
Hamza Mahfooz (1):
netfilter: conntrack: tcp: do not force CLOSE on invalid-seq RST without direction check
Harry Wentland (5):
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: Clamp VBIOS HDMI retimer register count to array size drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs drm/amd/display: Use krealloc_array() in dal_vector_reserve()
Harshit Mogalapalli (3):
ima: verify the previous kernel's IMA buffer lies in addressable RAM of/kexec: refactor ima_get_kexec_buffer() to use ima_validate_range() x86/kexec: add a sanity check on previous kernel's ima kexec buffer
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
Horatiu Vultur (1):
phy: mscc: Use PHY_ID_MATCH_EXACT for VSC8584, VSC8582, VSC8575, VSC856X
HyeongJun An (1):
USB: serial: kl5kusb105: fix bulk-out buffer overflow
Hyunwoo Kim (1):
inet: frags: fix use-after-free caused by the fqdir_pre_exit() flush
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()
Ido Schimmel (3):
ipv6: mcast: Fix use-after-free when processing MLD queries
ipv6: Fix a potential NPD in cleanup_prefix_route()
genetlink: Use internal flags for multicast groups
Ilya Maximets (2):
net: netlink: fix sending unassigned nsid after assigned one
net: netlink: don't set nsid on local notifications
Inochi Amaoto (2):
mmc: litex_mmc: Use DIV_ROUND_UP for more accurate clock calculation
mmc: litex_mmc: Set mandatory idle clocks before CMD0
Jack Wu (1):
USB: serial: option: add usb-id for Dell Wireless DW5826e-m
Jakub Kicinski (4):
ethtool: eeprom: add missing ethnl_ops_begin() / _complete() during fallback
ethtool: eeprom: add more safeties to EEPROM Netlink fallback
inet: frags: add inet_frag_queue_flush()
inet: frags: flush pending skbs in fqdir_pre_exit()
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
Jane Chu (1):
mm/memory-failure: fix missing ->mf_stats count in hugetlb poison
Jann Horn (2):
fuse: reject fuse_notify() pagecache ops on directories
af_unix: Fix UAF read of tail->len in unix_stream_data_wait()
Janusz Krzysztofik (1):
drm/i915: Fix potential UAF in TTM object purge
Jason A. Donenfeld (1):
wireguard: send: append trailer after expanding head
Jason Gunthorpe (2):
RDMA: During rereg_mr ensure that REREG_ACCESS is compatible RDMA/umem: Fix truncation for block sizes >= 4G
Jeremy Erazo (1):
usb: gadget: composite: fix integer underflow in WebUSB GET_URL handling
Jeremy Kerr (1):
net: mctp: ensure our nlmsg responses are initialised
Jeremy Sowden (2):
netfilter: bitwise: rename some boolean operation functions
netfilter: bitwise: add support for doing AND, OR and XOR directly
Ji'an Zhou (1):
ALSA: PCM: Fix wait queue list corruption in snd_pcm_drain() on linked streams
Jiayuan Chen (3):
ipv6: fix possible infinite loop in rt6_fill_node()
ipv6: fix possible infinite loop in fib6_select_path()
netfilter: nft_ct: bail out on template ct in get eval
Jingguo Tan (1):
xfrm: esp: restore combined single-frag length gate
Jisheng Zhang (1):
mmc: sdhci: add signal voltage switch in sdhci_resume_host
Johan Hovold (9):
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 driver core: reject devices with unregistered buses
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
Jouni Högander (3):
drm/i915/psr: Add defininitions for INTEL_WA_REGISTER_CAPS DPCD register drm/i915/psr: Read Intel DPCD workaround register drm/i915/psr: Apply Intel DPCD workaround when SDP on prior line used
Julian Anastasov (2):
ipvs: clear the svc scheduler ptr early on edit
ipvs: skip ipv6 extension headers for csum checks
Junrui Luo (2):
macsec: fix replay protection at XPN lower-PN wrap
misc: fastrpc: fix DMA address corruption due to find_vma misuse
Justin Iurman (2):
ipv6: exthdrs: refresh nh pointer after ipv6_hop_jumbo()
ipv6: ioam: add NULL check for idev in ipv6_hop_ioam()
Justin Stitt (1):
octeontx2-af: replace deprecated strncpy with strscpy
Kai Aizen (1):
usb: gadget: uvc: hold opts->lock across XU walks in uvc_function_bind
Kamal Dasu (1):
mmc: core: Fix host controller programming for fixed driver type
Karl Mehltretter (2):
ARM: 9474/1: io: avoid KASAN instrumentation of raw halfword I/O
ARM: 9475/1: entry: use byte load for KASAN VMAP stack shadow
Kevin Hao (1):
net: cpsw_new: Fix potential unregister of netdev that has not been registered yet
Kuen-Han Tsai (2):
usb: gadget: f_ncm: Fix net_device lifecycle with device_move
usb: gadget: u_ether: Fix NULL pointer deref in eth_get_drvinfo
Kuniyuki Iwashima (5):
ip6: vti: Use ip6_tnl.net in vti6_changelink().
bpf: Free reuseport cBPF prog after RCU grace period.
net: Annotate sk->sk_write_space() for UDP SOCKMAP.
hsr: Remove WARN_ONCE() in hsr_addr_is_self().
af_unix: Cache state->msg in unix_stream_read_generic().
Kurt Kanzenbach (1):
ptp: vclock: Switch from RCU to SRCU
Kyle Meyer (1):
bnxt_en: Fix NULL pointer dereference
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):
mmc: renesas_sdhi: Add OF entry for RZ/G2H SoC
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
Li Xiasong (1):
mptcp: pm: fix ADD_ADDR timer infinite retry on option space insufficient
Linpu Yu (1):
ipc: limit next_id allocation to the valid ID range
Lorenzo Bianconi (2):
net: ethernet: mtk_eth_soc: Fix use-after-free in metadata dst teardown
net: mvpp2: Add metadata support for xdp mode
Lorenzo Stoakes (1):
mm/hugetlb: avoid false positive lockdep assertion
Luiz Augusto von Dentz (2):
Bluetooth: L2CAP: Fix possible crash on l2cap_ecred_conn_rsp
Bluetooth: MGMT: Fix backward compatibility with userspace
Luka Gejak (1):
net: hsr: fix potential OOB access in supervision frame handling
Lukas Wunner (1):
platform/x86/intel/vsec: Fix enable_cnt imbalance on PCIe error recovery
Maciej W. Rozycki (7):
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
serial: dz: Convert to use a platform device
serial: zs: Convert to use a platform device
Manivannan Sadhasivam (1):
soc: qcom: ice: Fix race between qcom_ice_probe() and of_qcom_ice_get()
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
Marco Scardovi (1):
gpio: rockchip: convert bank->clk to devm_clk_get_enabled()
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
Masami Hiramatsu (Google) (1):
tracing/probes: Point the error offset correctly for eprobe argument error
Matthieu Baerts (NGI0) (3):
mptcp: sockopt: check timestamping ret value
selftests: mptcp: drop nanoseconds width specifier
mptcp: add-addr: always drop other suboptions
Maxime Chevallier (1):
net: phy: clean the sfp upstream if phy probing fails
Michael Bommarito (21):
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
usb: gadget: f_fs: copy only received bytes on short ep0 read
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
scsi: scsi_transport_fc: Widen FPIN pname walker counter to u32
scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf
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: Validate XDomain request packet size before type cast
thunderbolt: Limit XDomain response copy to actual frame size
smb: client: require net admin for CIFS SWN netlink
net: hsr: defer node table free until after RCU readers
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
Mickaël Salaün (1):
landlock: Fix handling of disconnected directories
Mikhail Gavrilov (1):
mm/page_alloc: clear page->private in free_pages_prepare()
Mikulas Patocka (1):
hpfs: fix a crash if hpfs_map_dnode_bitmap fails
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
Mingzhe Zou (1):
bcache: fix uninitialized closure object
Minh Nguyen (1):
net: skbuff: fix missing zerocopy reference in pskb_carve helpers
Muhammad Bilal (4):
Bluetooth: HIDP: fix missing length checks in hidp_input_report()
Bluetooth: ISO: fix UAF in iso_recv_frame
Bluetooth: ISO: serialize iso_sock_clear_timer with socket lock drm/amdkfd: fix NULL dereference in get_queue_ids()
Mukesh Ojha (1):
misc: fastrpc: Fix NULL pointer dereference in rpmsg callback
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 (2):
HID: core: Fix size_t specifier in hid_report_raw_event() 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
Nicolò Coccia (1):
net/smc: fix sleep-inside-lock in __smc_setsockopt() causing local DoS
Nikolay Kuratov (1):
net/mlx5: Reorder completion before putting command entry in cmd_work_handler
Nithin Dabilpuram (1):
octeontx2-af: npc: Fix CPT channel mask in npc_install_flow
Oliver Hartkopp (1):
bonding: refuse to enslave CAN devices
Oliver Neukum (1):
media: rc: ttusbir: fix inverted error logic
Oscar Maes (1):
pcnet32: stop holding device spin lock during napi_complete_done
Pablo Neira Ayuso (1):
netfilter: ctnetlink: ensure safe access to master conntrack
Paolo Abeni (9):
mptcp: fix retransmission loop when csum is enabled
mptcp: close TOCTOU race while computing rcv_wnd
mptcp: allow subflow rcv wnd to shrink
mptcp: use plain bool instead of custom binary enum
mptcp: cleanup fallback dummy mapping generation
mptcp: reset rcv wnd on disconnect
mptcp: introduce the mptcp_init_skb helper
mptcp: handle first subflow closing consistently
mptcp: fix missing wakeups in edge scenarios
Pauli Virtanen (1):
Bluetooth: hci_conn: fix potential UAF in set_cig_params_sync
Pavel Begunkov (1):
net: skbuff: fix pskb_carve leaking zcopy pages
Pengyu Luo (1):
clk: qcom: dispcc-sc8280xp: Don't park mdp_clk_src at registration time
Peter Chen (2):
usb: cdns3: plat: fix unbalanced pm_runtime_forbid() call permanently leaks the runtime PM usage counter across bind/unbind cycles
usb: cdns3: plat: fix leaked usb2_phy initialization on usb3_phy acquisition failure
Petr Machata (1):
Revert "selftest/ptp: update ptp selftest to exercise the gettimex options"
Prasanna S (1):
serial: qcom-geni: fix UART_RX_PAR_EN bit position
Prathamesh Shete (1):
soc/tegra: pmc: Fix unsafe generic_handle_irq() call
Pratyush Yadav (Google) (1):
memfd: deny writeable mappings when implying SEAL_WRITE
Qbeliw Tanaka (1):
Input: xpad - add "Nova 2 Lite" from GameSir
Qi Tang (1):
ipv6: validate extension header length before copying to cmsg
Qiang Ma (1):
KVM: arm64: PMU: Preserve AArch32 counter low bits
Radhey Shyam Pandey (1):
usb: dwc3: xilinx: fix error handling in zynqmp init error paths
Raf Dickson (1):
vsock/vmci: fix sk_ack_backlog leak on failed handshake
Rahul Chandelkar (1):
ipv6: rpl: fix hdrlen overflow in ipv6_rpl_srh_decompress()
Randy Dunlap (1):
RDMA/umem: fix kernel-doc warnings
Ricardo B. Marliere (1):
serdev: make serdev_bus_type const
Richard Fitzgerald (1):
ASoC: wm_adsp: Fix NULL dereference when removing firmware controls
Rodrigo Alencar (3):
iio: dac: ad5686: fix input raw value check
iio: dac: ad5686: acquire lock when doing powerdown control
iio: dac: ad5686: fix ref bit initialization for single-channel parts
Rui Qi (1):
ipmi: Fix rcu_read_unlock to srcu_read_unlock in handle_read_event_rsp
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
Sanghyun Park (1):
xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()
Sanjay Chitroda (1):
iio: ssp_sensors: cancel delayed work_refresh on remove
Sean Christopherson (2):
KVM: SVM: Flush the current TLB when transitioning from xAVIC => x2AVIC
KVM: Don't WARN if memory is dirtied without a vCPU when the VM is dying
Sean Shen (1):
ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE
Sean Young (1):
media: rc: fix race between unregister and urb/irq callbacks
Sechang Lim (1):
udp: clear skb->dev before running a sockmap verdict
SeongJae Park (2):
mm/damon/ops-common: call folio_test_lru() after folio_get() mm/damon/sysfs-schemes: delete tried region in regions_rmdirs()
SeungJu Cheon (1):
Bluetooth: RFCOMM: validate skb length in MCC handlers
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
Siwei Zhang (2):
Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen()
Bluetooth: L2CAP: fix chan ref leak in l2cap_chan_timeout() on !conn
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
Stepan Ionichev (1):
auxdisplay: line-display: fix OOB read on zero-length message_store()
Stephen J. Fuhry (1):
USB: quirks: add NO_LPM for Lenovo ThinkPad USB-C Dock Gen2 hub controllers
Suraj Kandpal (1):
drm/dp: Add eDP 1.5 bit definition
Sven Eckelmann (11):
batman-adv: v: stop OGMv2 on disabled interface
batman-adv: tvlv: abort OGM send on tvlv append failure
batman-adv: tt: reject oversized local TVLV buffers
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: avoid role confusion in tp_list
batman-adv: tp_meter: directly shut down timer on cleanup
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
Takashi Iwai (1):
ALSA: timer: Fix UAF at snd_timer_user_params()
Tao Cui (1):
selftests: mptcp: add test for extra_subflows underflow on userspace PM
Tapio Reijonen (1):
net: fec: fix pinctrl default state restore order on resume
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 (3):
drm/fbdev-helper: Set and clear VGA switcheroo client from fb_info drm, fbcon, vga_switcheroo: Avoid race condition in fbcon setup fbdev/vt8500lcdfb: Initialize fb_ops with fbdev macros
Til Kaiser (4):
net: mvpp2: sync RX data at the hardware packet offset
net: mvpp2: limit XDP frame size to the RX buffer
net: mvpp2: refill RX buffers before XDP or skb use
net: mvpp2: build skb from XDP-adjusted data on XDP_PASS
Timur Kristóf (1):
drm/amd/pm/si: Disregard vblank time when no displays are connected
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
Uwe Kleine-König (3):
iio: adc: npcm: Convert to platform remove callback returning void
serdev: Provide a bustype shutdown function
Bluetooth: hci_qca: Migrate to serdev specific shutdown function
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
Viken Dadhaniya (1):
serial: qcom_geni: fix kfifo underflow when flush precedes DMA completion IRQ
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
Wei-Cheng Chen (1):
xhci: tegra: Fix ghost USB device on dual-role port unplug
Weiming Shi (5):
tun: free page on short-frame rejection in tun_xdp_one()
tun: free page on build_skb failure in tun_xdp_one()
tap: free page on error paths in tap_get_user_xdp()
net/rds: fix NULL deref in rds_ib_send_cqe_handler() on masked atomic completion
netfilter: nf_conntrack: destroy stale expectfn expectations on unregister
Wentao Guan (1):
USB: cdc-acm: Fix bit overlap and move quirk definitions to header
Wentao Liang (2):
drm/virtio: fix dma_fence refcount leak on error in virtio_gpu_dma_fence_wait()
usb: musb: omap2430: Fix use-after-free in omap2430_probe()
Will Deacon (3):
arm64: io: Rename ioremap_prot() to __ioremap_prot()
arm64: io: Extract user memory type in ioremap_prot()
arm64: errata: Mitigate TLBI errata on Microsoft Azure Cobalt 100 CPU
Wupeng Ma (1):
mm/memory-failure: fix hugetlb_lock AA deadlock in get_huge_page_for_hwpoison
Wyatt Feng (2):
xfrm: espintcp: do not reuse an in-progress partial send
sctp: stream: fully roll back denied add-stream state
Xiang Mei (2):
netfilter: nf_log: validate MAC header was set before dumping it
net: bonding: fix use-after-free in bond_xmit_broadcast()
Xin Long (1):
sctp: purge outqueue on stale COOKIE-ECHO handling
Xu Yang (1):
usb: chipidea: core: convert ci_role_switch to local variable
Yao Sang (1):
net/mlx4: avoid GCC 10 __bad_copy_from() false positive
Yeoreum Yun (1):
perf: Fix dangling cgroup pointer in cpuctx
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
Yongchao Wu (1):
usb: cdns3: gadget: fix request skipping after clearing halt
Yuho Choi (1):
ARM: socfpga: Fix OF node refcount leak in SMP setup
Yun Zhou (1):
gpio: mvebu: fix NULL pointer dereference in suspend/resume
Yuqi Xu (4):
bpf: sockmap: fix tail fragment offset in bpf_msg_push_data
Bluetooth: hci_sync: reject oversized Broadcast Announcement prepend
wifi: nl80211: reject oversized EMA RNR lists
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 (5):
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
Bluetooth: bnep: reject short frames before parsing
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 (4):
net: af_key: zero aligned sockaddr tail in PF_KEY exports
ipv6: exthdrs: refresh nh after handling HAO option
xfrm: input: hold netns during deferred transport reinjection
netfilter: require Ethernet MAC header before using eth_hdr()
Zhenghang Xiao (3):
Bluetooth: l2cap: clear chan->ident on ECRED reconfiguration success
sctp: fix race between sctp_wait_for_connect and peeloff
misc: fastrpc: fix use-after-free race in fastrpc_map_create
Zhu Yanjun (1):
RDMA/rxe: Fix "trying to register non-static key in rxe_qp_do_cleanup" bug
Ziyu Zhang (1):
vsock: keep poll shutdown state consistent
hlleng (1):
HID: quirks: Add ALWAYS_POLL quirk for SIGMACHIP USB mouse
Greg Kroah-Hartman
maintainerDocumentation/arch/arm64/silicon-errata.rst +48 -0
@@ -123,14 +123,26 @@ 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-A710 | #2119858 | ARM64_ERRATUM_2119858 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A710 | #2054223 | ARM64_ERRATUM_2054223 |
@@ -139,6 +151,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A710 | #3324338 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A710 | #4193788 | ARM64_ERRATUM_4118414 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A715 | #2645198 | ARM64_ERRATUM_2645198 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A715 | #3456084 | ARM64_ERRATUM_3194386 |
@@ -149,20 +163,32 @@ 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 | #2119858 | ARM64_ERRATUM_2119858 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-X2 | #2224489 | ARM64_ERRATUM_2224489 | +----------------+-----------------+-----------------+-----------------------------+ | 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 |
@@ -171,6 +197,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N1 | #3324349 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Neoverse-N1 | #4193800 | ARM64_ERRATUM_4118414 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N2 | #2139208 | ARM64_ERRATUM_2139208 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Neoverse-N2 | #2067961 | ARM64_ERRATUM_2067961 |
@@ -179,16 +207,32 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | 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-Pro | #4193714 | ARM64_ERRATUM_4193714 | ++----------------+-----------------+-----------------+-----------------------------+ +| ARM | C1-Ultra | #4193780 | ARM64_ERRATUM_4118414 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | MMU-500 | #841119,826419 | N/A | +----------------+-----------------+-----------------+-----------------------------+ | ARM | MMU-600 | #1076982,1209401| N/A |
@@ -230,6 +274,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | NVIDIA | Carmel Core | N/A | NVIDIA_CARMEL_CNP_ERRATUM | +----------------+-----------------+-----------------+-----------------------------+ +| NVIDIA | Olympus core | T410-OLY-1029 | ARM64_ERRATUM_4118414 | ++----------------+-----------------+-----------------+-----------------------------+ | NVIDIA | T241 GICv3/4.x | T241-FABRIC-4 | N/A | +----------------+-----------------+-----------------+-----------------------------+ +----------------+-----------------+-----------------+-----------------------------+
@@ -289,3 +335,5 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | Microsoft | Azure Cobalt 100| #3324339 | ARM64_ERRATUM_3194386 | +----------------+-----------------+-----------------+-----------------------------+ +| Microsoft | Azure Cobalt 100| #4193789 | ARM64_ERRATUM_4118414 | ++----------------+-----------------+-----------------+-----------------------------+
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 6 -SUBLEVEL = 142 +SUBLEVEL = 143 EXTRAVERSION = NAME = Pinguïn Aangedreven
arch/arm/include/asm/io.h +13 -2
@@ -56,8 +56,19 @@ void __raw_readsl(const volatile void __iomem *addr, void *data, int longlen);* the bus. Rather than special-case the machine, just let the compiler * generate the access for CPUs prior to ARMv6. */ -#define __raw_readw (a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a)) -#define __raw_writew (v,a) ((void)(__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (v))) +#define __raw_writew __raw_writew +static __no_kasan_or_inline void __raw_writew(u16 val, volatile void __iomem *addr) +{ +__chk_io_ptr (addr); + *(volatile unsigned short __force *)addr = val; +} + +#define __raw_readw __raw_readw +static __no_kasan_or_inline u16 __raw_readw(const volatile void __iomem *addr) +{ +__chk_io_ptr (addr); +return *(const volatile unsigned short __force *)addr; +}#else /* * When running under a hypervisor, we want to avoid I/O accesses with
arch/arm/kernel/entry-armv.S +1 -1
@@ -561,7 +561,7 @@ ENTRY(__switch_to) @ are using KASAN mov_l r2, KASAN_SHADOW_OFFSET add r2, r2, ip, lsr #KASAN_SHADOW_SCALE_SHIFT - ldr r2, [r2] + ldrb r2, [r2] #endif #endif
arch/arm/mach-socfpga/platsmp.c +1 -0
@@ -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 +6 -0
@@ -97,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_XGENE 0x000#define APM_CPU_VAR_POTENZA 0x00
@@ -129,6 +131,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
@@ -185,7 +188,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)
@@ -209,6 +214,7 @@#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_HISI_HIP09 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_HIP09)
arch/arm64/include/asm/io.h +20 -5
@@ -139,14 +139,29 @@ extern void __memset_io(volatile void __iomem *, int, size_t);* I/O memory mapping functions. */ -#define ioremap_prot ioremap_prot +void __iomem *__ioremap_prot (phys_addr_t phys,size_t size,pgprot_t prot); + +static inline void __iomem *ioremap_prot (phys_addr_t phys,size_t size, +unsigned long user_prot) +{ +pgprot_t prot; +pteval_t user_prot_val =pgprot_val (__pgprot (user_prot)); -#define _PAGE_IOREMAP PROT_DEVICE_nGnRE +if (WARN_ON_ONCE (!(user_prot_val &PTE_USER ))) +return NULL ; + + prot =__pgprot_modify (PAGE_KERNEL ,PTE_ATTRINDX_MASK , + user_prot_val &PTE_ATTRINDX_MASK ); +return __ioremap_prot (phys, size, prot); +} +#define ioremap_prot ioremap_prot +#define ioremap (addr, size) \ + __ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRE))#define ioremap_wc (addr, size) \ - ioremap_prot((addr), (size), PROT_NORMAL_NC) + __ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))#define ioremap_np (addr, size) \ - ioremap_prot((addr), (size), PROT_DEVICE_nGnRnE) + __ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))/* * io{read,write}{16,32,64}be() macros
@@ -167,7 +182,7 @@ static inline void __iomem *ioremap_cache(phys_addr_t addr, size_t size)if (pfn_is_map_memory (__phys_to_pfn (addr)))return (void __iomem *)__phys_to_virt (addr); -return ioremap_prot (addr, size,PROT_NORMAL ); +return __ioremap_prot (addr, size,__pgprot (PROT_NORMAL )); }/*
arch/arm64/include/asm/kvm_mmu.h +2 -3
@@ -229,9 +229,8 @@ static inline void __invalidate_icache_guest_page(void *va, size_t size)if (icache_is_aliasing ()) {/* any kind of VIPT cache */ icache_inval_all_pou (); - }else if (read_sysreg (CurrentEL) != CurrentEL_EL1 || - !icache_is_vpipt ()) { -/* PIPT or VPIPT at EL2 (see comment in __kvm_tlb_flush_vmid_ipa) */ + }else { +/* PIPT */ icache_inval_pou ((unsigned long )va, (unsigned long )va + size); } }
arch/arm64/include/asm/tlb.h +1 -1
@@ -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 +37 -27
125 lines not on this page · raw message
arch/arm64/kernel/acpi.c +1 -1
@@ -352,7 +352,7 @@ void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size) prot =__acpi_get_writethrough_mem_attribute (); } } -return ioremap_prot (phys, size,pgprot_val (prot)); +return __ioremap_prot (phys, size, prot); }/*
arch/arm64/kernel/cpu_errata.c +32 -2
@@ -241,7 +241,37 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = { ERRATA_MIDR_RANGE(MIDR_CORTEX_A510, 0, 0, 1, 1), }, #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
@@ -569,7 +599,7 @@ const struct arm64_cpu_capabilities arm64_errata[] = {#endif #ifdef CONFIG_ARM64_WORKAROUND_REPEAT_TLBI { - .desc = "Qualcomm erratum 1009, or ARM erratum 1286807, 2441009", + .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
@@ -37,7 +37,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 =caches_clean_inval_user_pou (start, start + chunk);
arch/arm64/kvm/hyp/nvhe/mm.c +1 -1
@@ -261,7 +261,7 @@ static void fixmap_clear_slot(struct hyp_fixmap_slot *slot)*/ dsb (ishst);__tlbi_level (vale2is,__TLBI_VADDR (addr,0 ), (KVM_PGTABLE_MAX_LEVELS -1 )); -dsb (ish); +__tlbi_sync_s1ish_hyp ();isb (); }
arch/arm64/kvm/hyp/nvhe/pkvm.c +1 -1
@@ -12,7 +12,7 @@#include <nvhe/pkvm.h> #include <nvhe/trap_handler.h> -/* Used by icache_is_vpipt(). */ +/* Used by icache_is_aliasing(). */ unsigned long __icache_flags;/* Used by kvm_get_vttbr(). */
arch/arm64/kvm/hyp/nvhe/tlb.c +4 -65
101 lines not on this page · raw message
arch/arm64/kvm/hyp/pgtable.c +1 -1
@@ -534,7 +534,7 @@ static int hyp_unmap_walker(const struct kvm_pgtable_visit_ctx *ctx, *unmapped += granule; } -dsb (ish); +__tlbi_sync_s1ish_hyp ();isb (); mm_ops->put_page (ctx->ptep);
arch/arm64/kvm/hyp/vhe/tlb.c +4 -17
@@ -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);
@@ -165,7 +165,7 @@ void __kvm_tlb_flush_vmid_range(struct kvm_s2_mmu *mmu,dsb (ish);__tlbi (vmalle1is); -dsb (ish); +__tlbi_sync_s1ish_hyp ();isb ();__tlb_switch_to_host (&cxt);
@@ -181,7 +181,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);
@@ -206,18 +206,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 ()) - asmvolatile ("ic ialluis" ); - -dsb (ish); +__tlbi_sync_s1ish_hyp (); }
arch/arm64/kvm/pmu-emul.c +2 -2
@@ -146,8 +146,8 @@ static void kvm_pmu_set_pmc_value(struct kvm_pmc *pmc, u64 val, bool force)* action is to use PMCR.P, which will reset them to * 0 (the only use of the 'force' parameter). */ - val =__vcpu_sys_reg (vcpu, reg) &GENMASK (63 ,32 ); - val |=lower_32_bits (val); + val = (__vcpu_sys_reg (vcpu, reg) &GENMASK (63 ,32 )) | +lower_32_bits (val); }__vcpu_sys_reg (vcpu, reg) = val;
arch/arm64/mm/ioremap.c +4 -4
@@ -3,8 +3,8 @@#include <linux/mm.h> #include <linux/io.h> -void __iomem *ioremap_prot (phys_addr_t phys_addr,size_t size, -unsigned long prot) +void __iomem *__ioremap_prot (phys_addr_t phys_addr,size_t size, +pgprot_t pgprot) {unsigned long last_addr = phys_addr + size -1 ;
@@ -16,9 +16,9 @@ void __iomem *ioremap_prot(phys_addr_t phys_addr, size_t size,if (WARN_ON (pfn_is_map_memory (__phys_to_pfn (phys_addr))))return NULL ; -return generic_ioremap_prot (phys_addr, size,__pgprot (prot)); +return generic_ioremap_prot (phys_addr, size, pgprot); } -EXPORT_SYMBOL (ioremap_prot); +EXPORT_SYMBOL (__ioremap_prot);/* * Must be called after early_fixmap_init
arch/mips/dec/platform.c +108 -1
125 lines not on this page · raw message
arch/x86/kernel/Makefile +14 -0
@@ -39,6 +39,20 @@ KMSAN_SANITIZE_nmi.o := n KCOV_INSTRUMENT_head$(BITS).o := n KCOV_INSTRUMENT_sev.o := n +# Disable KCOV to prevent crashes during kexec: load_segments() invalidates +# the GS base, which KCOV relies on for per-CPU data. +# +# As KCOV and KEXEC compatibility should be preserved (e.g. syzkaller is +# using it to collect crash dumps during kernel fuzzing), disabling +# KCOV for KEXEC kernels is not an option. Selectively disabling KCOV +# instrumentation for individual affected functions can be fragile, while +# adding more checks to KCOV would slow it down. +# +# As a compromise solution, disable KCOV instrumentation for the whole +# source code file. If its coverage is ever needed, other approaches +# should be considered. +KCOV_INSTRUMENT_machine_kexec_64.o := n + CFLAGS_irq.o := -I $(srctree)/$(src)/../include/asm/trace obj-y += head_$(BITS).o
arch/x86/kernel/cpu/amd.c +18 -15
@@ -1060,10 +1060,8 @@ void init_spectral_chicken(struct cpuinfo_x86 *c)* * This suppresses speculation from the middle of a basic block, i.e. it * suppresses non-branch predictions. -* -* We use STIBP as a heuristic to filter out Zen2 from the rest of F17H */ -if (!cpu_has (c,X86_FEATURE_HYPERVISOR ) &&cpu_has (c,X86_FEATURE_AMD_STIBP )) { +if (!cpu_has (c,X86_FEATURE_HYPERVISOR )) {if (!rdmsrl_safe (MSR_ZEN2_SPECTRAL_CHICKEN , &value)) { value |=MSR_ZEN2_SPECTRAL_CHICKEN_BIT ;wrmsrl_safe (MSR_ZEN2_SPECTRAL_CHICKEN , value);
@@ -1072,7 +1070,7 @@ void init_spectral_chicken(struct cpuinfo_x86 *c)#endif } -static void init_amd_zn (struct cpuinfo_x86 *c) +static void init_amd_zen_common (void ) {setup_force_cpu_cap (X86_FEATURE_ZEN );#ifdef CONFIG_NUMA
@@ -1082,6 +1080,7 @@ static void init_amd_zn(struct cpuinfo_x86 *c)static void init_amd_zen1 (struct cpuinfo_x86 *c) { +init_amd_zen_common ();fix_erratum_1386 (c);/* Fix up CPUID bits, but only if not virtualised. */
@@ -1090,14 +1089,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 DIV0 bug detected. Disable SMT for full protection.\n" );
@@ -1153,10 +1144,13 @@ static void zen2_zenbleed_check(struct cpuinfo_x86 *c) }else {msr_clear_bit (MSR_AMD64_DE_CFG ,MSR_AMD64_DE_CFG_ZEN2_FP_BACKUP_FIX_BIT ); } + }static void init_amd_zen2 (struct cpuinfo_x86 *c) { +init_amd_zen_common (); +init_spectral_chicken (c);fix_erratum_1386 (c);zen2_zenbleed_check (c);
@@ -1173,10 +1167,22 @@ 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) { +init_amd_zen_common (); }static void init_amd (struct cpuinfo_x86 *c)
@@ -1212,9 +1218,6 @@ static void init_amd(struct cpuinfo_x86 *c)case 0x12 :init_amd_ln (c);break ;case 0x15 :init_amd_bd (c);break ;case 0x16 :init_amd_jg (c);break ; -case 0x17 :init_spectral_chicken (c); - fallthrough; -case 0x19 :init_amd_zn (c);break ; }if (boot_cpu_has (X86_FEATURE_ZEN1 ))
arch/x86/kernel/setup.c +6 -0
@@ -372,9 +372,15 @@ int __init ima_free_kexec_buffer(void)int __init ima_get_kexec_buffer (void **addr,size_t *size) { +int ret; +if (!ima_kexec_buffer_size)return -ENOENT ; + ret =ima_validate_range (ima_kexec_buffer_phys, ima_kexec_buffer_size); +if (ret) +return ret; + *addr =__va (ima_kexec_buffer_phys); *size = ima_kexec_buffer_size;
arch/x86/kvm/svm/avic.c +29 -6
@@ -110,6 +110,35 @@ static void avic_activate_vmcb(struct vcpu_svm *svm)svm_clr_intercept (svm,INTERCEPT_CR8_WRITE ); +/* +* Flush the TLB when enabling (x2)AVIC and when transitioning between +* xAVIC and x2AVIC, as the CPU may have inserted a TLB entry for the +* "wrong" mapping. +* +* KVM uses a per-VM "scratch" page to back the APIC memslot, because +* KVM also uses per-VM page tables *and* maintains the page table (NPT +* or shadow page) mappings for said memslot even if one or more vCPUs +* have their local APIC hardware-disabled or are in x2APIC mode, i.e. +* even if one or more vCPUs' APIC MMIO BAR is effectively disabled. +* +* If xAVIC is fully enabled, hardware ignores the physical address in +* KVM's page tables, i.e. in the leaf SPTE for the APIC memslot, and +* instead redirects the access to the AVIC backing page, i.e. to the +* vCPU's virtual APIC page. If xAVIC is not enabled (APIC is either +* hardware-disabled or in x2APIC mode), then guest accesses will use +* the page table mapping verbatim, i.e. will access the per-VM scratch +* page, as normal memory. +* +* In both cases, the CPU is allowed to cache TLB entries for the APIC +* base GPA. So, KVM needs to flush the TLB when enabling xAVIC, as +* accesses need to be redirected to the virtual APIC page, but the TLB +* may contain entries pointing at the scratch page. KVM also needs to +* flush the TLB when enabling x2AVIC, as accesses need to go to the +* scratch page, but the TLB may contain entries tagged as xAVIC, i.e. +* entries pointing to the vCPU's virtual APIC page. +*/ +kvm_make_request (KVM_REQ_TLB_FLUSH_CURRENT , &svm->vcpu); +/* * Note: KVM supports hybrid-AVIC mode, where KVM emulates x2APIC MSR * accesses, while interrupt injection to a running vCPU can be
@@ -123,12 +152,6 @@ static void avic_activate_vmcb(struct vcpu_svm *svm)/* Disabling MSR intercept for x2APIC registers */ svm_set_x2apic_msr_interception (svm, false); }else { -/* -* Flush the TLB, the guest may have inserted a non-APIC -* mapping into the TLB while AVIC was disabled. -*/ -kvm_make_request (KVM_REQ_TLB_FLUSH_CURRENT , &svm->vcpu); -/* Enabling MSR intercept for x2APIC registers */ svm_set_x2apic_msr_interception (svm, true); }
arch/x86/mm/Makefile +2 -0
@@ -5,6 +5,8 @@ KCOV_INSTRUMENT_mem_encrypt.o := n KCOV_INSTRUMENT_mem_encrypt_amd.o := n KCOV_INSTRUMENT_mem_encrypt_identity.o := n KCOV_INSTRUMENT_pgprot.o := n +# See the "Disable KCOV" comment in arch/x86/kernel/Makefile. +KCOV_INSTRUMENT_physaddr.o := n KASAN_SANITIZE_mem_encrypt.o := n KASAN_SANITIZE_mem_encrypt_amd.o := n
drivers/auxdisplay/line-display.c +1 -1
@@ -80,7 +80,7 @@ static int linedisp_display(struct linedisp *linedisp, const char *msg, count =strlen (msg);/* if the string ends with a newline, trim it */ -if (msg[count -1 ] =='\n' ) +if (count && msg[count -1 ] =='\n' ) count--;if (!count) {
drivers/base/bus.c +9 -2
@@ -503,10 +503,10 @@ static const struct attribute_group driver_override_dev_group = {*/ int bus_add_device (struct device *dev) { -struct subsys_private *sp =bus_to_subsys (dev->bus); +struct subsys_private *sp;int error; -if (!sp) { +if (!dev->bus) {/* * This is a normal operation for many devices that do not * have a bus assigned to them, just say that all went
@@ -515,6 +515,13 @@ int bus_add_device(struct device *dev)return 0 ; } + sp =bus_to_subsys (dev->bus); +if (!sp) { +pr_err ("%s: cannot add device '%s' to unregistered bus '%s'\n" , + __func__,dev_name (dev), dev->bus->name); +return -EINVAL ; + } +/* * Reference in sp is now incremented and will be dropped when * the device is removed from the bus
drivers/block/zram/zram_drv.c +1 -1
@@ -1569,7 +1569,7 @@ static int zram_bvec_write_partial(struct zram *zram, struct bio_vec *bvec,if (!page)return -ENOMEM ; - ret =zram_read_page (zram, page, index, bio); + ret =zram_read_page (zram, page, index,NULL );if (!ret) {memcpy_from_bvec (page_address (page) + offset, bvec); ret =zram_write_page (zram, page, index);
drivers/bluetooth/btusb.c +7 -1
@@ -3667,7 +3667,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 +18 -20
@@ -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
@@ -1077,7 +1076,7 @@ static void qca_controller_memdump(struct work_struct *work)queue_delayed_work (qca->workqueue, &qca->ctrl_memdump_timeout, -msecs_to_jiffies (MEMDUMP_TIMEOUT_MS )); +MEMDUMP_TIMEOUT );skb_pull (skb,sizeof (qca_memdump->ram_dump_size)); qca_memdump->current_seq_no =0 ; qca_memdump->received_dump =0 ;
@@ -1349,7 +1348,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 */ switch (qca_soc_type (hu)) {
@@ -1380,8 +1379,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
@@ -1583,7 +1582,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); }
@@ -2425,11 +2424,10 @@ static void qca_serdev_remove(struct serdev_device *serdev)hci_uart_unregister_device (&qcadev->serdev_hu); } -static void qca_serdev_shutdown (struct device *dev) +static void qca_serdev_shutdown (struct serdev_device *serdev) {int ret; -int timeout =msecs_to_jiffies (CMD_TRANS_TIMEOUT_MS ); -struct serdev_device *serdev =to_serdev_device (dev); +int timeout =CMD_TRANS_TIMEOUT ;struct qca_serdev *qcadev =serdev_device_get_drvdata (serdev);struct hci_uart *hu = &qcadev->serdev_hu;struct hci_dev *hdev = hu->hdev;
@@ -2486,7 +2484,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);
@@ -2507,15 +2505,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" );
@@ -2567,7 +2565,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); }
@@ -2576,7 +2574,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;
@@ -2650,11 +2648,11 @@ static void hciqca_coredump(struct device *dev)static struct serdev_device_driver qca_serdev_driver = { .probe = qca_serdev_probe, .remove = qca_serdev_remove, + .shutdown = qca_serdev_shutdown, .driver = { .name ="hci_uart_qca" , .of_match_table =of_match_ptr (qca_bluetooth_of_match), .acpi_match_table =ACPI_PTR (qca_bluetooth_acpi_match), - .shutdown = qca_serdev_shutdown, .pm = &qca_pm_ops, #ifdef CONFIG_DEV_COREDUMP .coredump = hciqca_coredump,
drivers/char/ipmi/ipmi_msghandler.c +1 -1
@@ -4396,7 +4396,7 @@ static int handle_read_event_rsp(struct ipmi_smi *intf, recv_msg =ipmi_alloc_recv_msg (user);if (IS_ERR (recv_msg)) { -rcu_read_unlock (); +srcu_read_unlock (&intf->users_srcu, index);list_for_each_entry_safe (recv_msg, recv_msg2, &msgs, link) {list_del (&recv_msg->link);
drivers/char/ipmi/ipmi_ssif.c +13 -16
@@ -1667,6 +1667,7 @@ static int ssif_probe(struct i2c_client *client)int len =0 ;int i;u8 slave_addr =0 ; +unsigned int thread_num;struct ssif_addr_info *addr_info =NULL ;mutex_lock (&ssif_infos_mutex);
@@ -1875,22 +1876,18 @@ static int ssif_probe(struct i2c_client *client) ssif_info->handlers.request_events = request_events; ssif_info->handlers.set_need_watch = ssif_set_need_watch; - { -unsigned int thread_num; - - thread_num = ((i2c_adapter_id (ssif_info->client->adapter) - <<8 ) | - ssif_info->client->addr); -init_completion (&ssif_info->wake_thread); - ssif_info->thread =kthread_run (ipmi_ssif_thread, ssif_info, -"kssif%4.4x" , thread_num); -if (IS_ERR (ssif_info->thread)) { - rv =PTR_ERR (ssif_info->thread); -dev_notice (&ssif_info->client->dev, -"Could not start kernel thread: error %d\n" , - rv); - goto out; - } + thread_num = ((i2c_adapter_id (ssif_info->client->adapter) <<8 ) | + ssif_info->client->addr); +init_completion (&ssif_info->wake_thread); + ssif_info->thread =kthread_run (ipmi_ssif_thread, ssif_info, +"kssif%4.4x" , thread_num); +if (IS_ERR (ssif_info->thread)) { + rv =PTR_ERR (ssif_info->thread); + ssif_info->thread =NULL ; +dev_notice (&ssif_info->client->dev, +"Could not start kernel thread: error %d\n" , + rv); + goto out; }dev_set_drvdata (&ssif_info->client->dev, ssif_info);
drivers/clk/qcom/dispcc-sc8280xp.c +2 -2
@@ -978,7 +978,7 @@ static struct clk_rcg2 disp0_cc_mdss_mdp_clk_src = { .name = "disp0_cc_mdss_mdp_clk_src", .parent_data = disp0_cc_parent_data_5, .num_parents = ARRAY_SIZE(disp0_cc_parent_data_5), - .ops = &clk_rcg2_shared_ops, + .ops = &clk_rcg2_shared_no_init_park_ops, }, };
@@ -992,7 +992,7 @@ static struct clk_rcg2 disp1_cc_mdss_mdp_clk_src = { .name = "disp1_cc_mdss_mdp_clk_src", .parent_data = disp1_cc_parent_data_5, .num_parents = ARRAY_SIZE(disp1_cc_parent_data_5), - .ops = &clk_rcg2_shared_ops, + .ops = &clk_rcg2_shared_no_init_park_ops, }, };
drivers/comedi/drivers/comedi_test.c +3 -2
@@ -273,6 +273,7 @@ static int waveform_ai_cmdtest(struct comedi_device *dev,/* Step 2a : make sure trigger sources are unique */ err |=comedi_check_trigger_is_unique (cmd->convert_src); + err |=comedi_check_trigger_is_unique (cmd->scan_begin_src); err |=comedi_check_trigger_is_unique (cmd->stop_src);/* Step 2b : and mutually compatible */
@@ -323,10 +324,10 @@ static int waveform_ai_cmdtest(struct comedi_device *dev, arg =min (arg,rounddown (UINT_MAX , (unsigned int )NSEC_PER_USEC )); arg =NSEC_PER_USEC *DIV_ROUND_CLOSEST (arg,NSEC_PER_USEC ); -if (cmd->scan_begin_arg ==TRIG_TIMER ) { +if (cmd->scan_begin_src ==TRIG_TIMER ) {/* limit convert_arg to keep scan_begin_arg in range */ limit =UINT_MAX / cmd->scan_end_arg; - limit =rounddown (limit, (unsigned int )NSEC_PER_SEC ); + limit =rounddown (limit, (unsigned int )NSEC_PER_USEC ); arg =min (arg, limit); } err |=comedi_check_trigger_arg_is (&cmd->convert_arg, arg);
drivers/counter/counter-core.c +2 -1
@@ -123,7 +123,8 @@ struct counter_device *counter_alloc(size_t sizeof_priv) err_dev_set_name: -counter_chrdev_remove (counter); +put_device (dev); +return NULL ; err_chrdev_add:ida_free (&counter_ida, dev->id);
drivers/gpio/gpio-mvebu.c +2 -2
@@ -1002,7 +1002,7 @@ static int mvebu_gpio_suspend(struct platform_device *pdev, pm_message_t state)BUG (); } -if (IS_REACHABLE (CONFIG_PWM )) +if (IS_REACHABLE (CONFIG_PWM ) && mvchip->mvpwm)mvebu_pwm_suspend (mvchip);return 0 ;
@@ -1054,7 +1054,7 @@ static int mvebu_gpio_resume(struct platform_device *pdev)BUG (); } -if (IS_REACHABLE (CONFIG_PWM )) +if (IS_REACHABLE (CONFIG_PWM ) && mvchip->mvpwm)mvebu_pwm_resume (mvchip);return 0 ;
drivers/gpio/gpio-mxc.c +1 -1
@@ -473,7 +473,7 @@ static int mxc_gpio_probe(struct platform_device *pdev)* the handler is needed only once, but doing it for every port * is more robust and easier. */ - port->irq_high =-1 ; + port->irq_high =0 ; port->mx_irq_handler = mx2_gpio_irq_handler; }else port->mx_irq_handler = mx3_gpio_irq_handler;
drivers/gpio/gpio-rockchip.c +1 -5
@@ -647,11 +647,10 @@ static int rockchip_get_bank_data(struct rockchip_pin_bank *bank)if (!bank->irq)return -EINVAL ; - bank->clk =of_clk_get (bank->of_node,0 ); + bank->clk =devm_clk_get_enabled (bank->dev,NULL );if (IS_ERR (bank->clk))return PTR_ERR (bank->clk); -clk_prepare_enable (bank->clk); id =readl (bank->reg_base + gpio_regs_v2.version_id);/* If not gpio v2, that is default to v1. */
@@ -661,7 +660,6 @@ static int rockchip_get_bank_data(struct rockchip_pin_bank *bank) bank->db_clk =of_clk_get (bank->of_node,1 );if (IS_ERR (bank->db_clk)) {dev_err (bank->dev,"cannot find debounce clk\n" ); -clk_disable_unprepare (bank->clk);return -EINVAL ; } }else {
@@ -735,7 +733,6 @@ static int rockchip_gpio_probe(struct platform_device *pdev) ret =rockchip_gpiolib_register (bank);if (ret) { -clk_disable_unprepare (bank->clk);mutex_unlock (&bank->deferred_lock);return ret; }
@@ -776,7 +773,6 @@ static int rockchip_gpio_remove(struct platform_device *pdev) {struct rockchip_pin_bank *bank =platform_get_drvdata (pdev); -clk_disable_unprepare (bank->clk);gpiochip_remove (&bank->gpio_chip);return 0 ;
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +3 -1
@@ -1272,6 +1272,7 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p, {struct amdgpu_fpriv *fpriv = p->filp->driver_priv;struct amdgpu_job *leader = p->gang_leader; +struct amdgpu_vm *vm = &fpriv->vm;struct amdgpu_bo_list_entry *e;struct drm_gem_object *gobj;unsigned long index;
@@ -1317,7 +1318,8 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p, e->range); e->range =NULL ; } -if (r) { + +if (r || !list_empty (&vm->invalidated)) { r = -EAGAIN ;mutex_unlock (&p->adev->notifier_lock);return r;
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +5 -5
@@ -2265,6 +2265,11 @@ static int criu_restore_devices(struct kfd_process *p, ret = -EINVAL ; goto exit; } + +if (pdd->drm_file) { + ret = -EINVAL ; + goto exit; + } pdd->user_gpu_id = device_buckets[i].user_gpu_id; drm_file =fget (device_buckets[i].drm_fd);
@@ -2275,11 +2280,6 @@ static int criu_restore_devices(struct kfd_process *p, goto exit; } -if (pdd->drm_file) { - ret = -EINVAL ; - goto exit; - } -/* create the vm using render nodes for kfd pdd */ if (kfd_process_device_init_vm (pdd, drm_file)) {pr_err ("could not init vm for given pdd\n" );
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +6 -4
@@ -2786,12 +2786,14 @@ static void copy_context_work_handler (struct work_struct *work)static uint32_t *get_queue_ids (uint32_t num_queues,uint32_t *usr_queue_id_array) { -size_t array_size = num_queues *sizeof (uint32_t ); -if (!usr_queue_id_array) -return NULL ; +return num_queues ?ERR_PTR (-EINVAL ) :NULL ; + +if (num_queues >KFD_MAX_NUM_OF_QUEUES_PER_PROCESS ) +return ERR_PTR (-EINVAL ); -return memdup_user (usr_queue_id_array, array_size); +return memdup_user (usr_queue_id_array, +array_size (num_queues,sizeof (uint32_t ))); } int resume_queues(struct kfd_process *p,
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c +41 -8
71 lines not on this page · raw message
drivers/gpu/drm/amd/amdkfd/kfd_svm.c +3 -0
@@ -3567,6 +3567,9 @@ svm_range_set_attr(struct kfd_process *p, struct mm_struct *mm, svms = &p->svms; +if (!process_info) +return -EINVAL ; +mutex_lock (&process_info->lock);svm_range_list_lock_and_flush_work (svms, mm);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +5 -0
@@ -1230,8 +1230,13 @@ static ssize_t dp_sdp_message_debugfs_write(struct file *f, const char __user *bif (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/basics/vector.c +2 -2
@@ -288,8 +288,8 @@ bool dal_vector_reserve(struct vector *vector, uint32_t capacity)if (capacity <= vector->capacity)return true; - new_container =krealloc (vector->container, - capacity * vector->struct_size,GFP_KERNEL ); + new_container =krealloc_array (vector->container, + capacity, vector->struct_size,GFP_KERNEL );if (new_container) { vector->container = new_container;
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +36 -18
156 lines not on this page · raw message
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c +2 -1
@@ -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/amd/pm/legacy-dpm/si_dpm.c +4 -0
@@ -3062,6 +3062,10 @@ static bool si_dpm_vblank_too_short(void *handle)/* we never hit the non-gddr5 limit so disable it */ u32 switch_limit = adev->gmc.vram_type ==AMDGPU_VRAM_TYPE_GDDR5 ?450 :0 ; +/* Disregard vblank time when there are no displays connected */ +if (!adev->pm.pm_display_cfg.num_display) +return false; +/* Consider zero vblank time too short and disable MCLK switching. * Note that the vblank time is set to maximum when no displays are attached, * so we'll still enable MCLK switching in that case.
drivers/gpu/drm/bridge/sil-sii8620.c +1 -0
@@ -2220,6 +2220,7 @@ static void sii8620_detach(struct drm_bridge *bridge)return ;rc_unregister_device (ctx->rc_dev); +rc_free_device (ctx->rc_dev); } static int sii8620_is_packing_required(struct sii8620 *ctx,
drivers/gpu/drm/drm_fb_helper.c +2 -10
@@ -30,9 +30,7 @@#define pr_fmt (fmt) KBUILD_MODNAME ": " fmt#include <linux/console.h> -#include <linux/pci.h> #include <linux/sysrq.h> -#include <linux/vga_switcheroo.h> #include <drm/drm_atomic.h> #include <drm/drm_drv.h>
@@ -567,7 +565,7 @@ EXPORT_SYMBOL(drm_fb_helper_release_info);/** * drm_fb_helper_unregister_info - unregister fb_info framebuffer device -* @fb_helper: driver-allocated fbdev helper, can be NULL +* @fb_helper: driver-allocated fbdev helper, must not be NULL * * A wrapper around unregister_framebuffer, to release the fb_info * framebuffer device. This must be called before releasing all resources for
@@ -575,8 +573,7 @@ EXPORT_SYMBOL(drm_fb_helper_release_info);*/ void drm_fb_helper_unregister_info (struct drm_fb_helper *fb_helper) { -if (fb_helper && fb_helper->info) -unregister_framebuffer (fb_helper->info); +unregister_framebuffer (fb_helper->info); }EXPORT_SYMBOL (drm_fb_helper_unregister_info);
@@ -1668,7 +1665,6 @@ static int drm_fb_helper_find_sizes(struct drm_fb_helper *fb_helper,static int drm_fb_helper_single_fb_probe (struct drm_fb_helper *fb_helper) {struct drm_client_dev *client = &fb_helper->client; -struct drm_device *dev = fb_helper->dev;struct drm_fb_helper_surface_size sizes;int ret;
@@ -1687,10 +1683,6 @@ static int drm_fb_helper_single_fb_probe(struct drm_fb_helper *fb_helper)strcpy (fb_helper->fb->comm,"[fbcon]" ); -/* Set the fb info for vgaswitcheroo clients. Does nothing otherwise. */ -if (dev_is_pci (dev->dev)) -vga_switcheroo_client_fb_set (to_pci_dev (dev->dev), fb_helper->info); -return 0 ; }
drivers/gpu/drm/hyperv/hyperv_drm_proto.c +97 -16
153 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -1719,6 +1719,7 @@ struct intel_dp {u8 lttpr_phy_caps[DP_MAX_LTTPR_COUNT ][DP_LTTPR_PHY_CAP_SIZE ];u8 fec_capable;u8 pcon_dsc_dpcd[DP_PCON_DSC_ENCODER_CAP_SIZE ]; +u8 intel_wa_dpcd;/* source rates */ int num_source_rates;const int *source_rates;
drivers/gpu/drm/i915/display/intel_dpcd.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2026 Intel Corporation +*/ + +#ifndef __INTEL_DPCD_H__ +#define __INTEL_DPCD_H__ + +#define INTEL_DPCD_INTEL_WA_REGISTER_CAPS 0x3f0 +# define INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_EARLYSCANLINE_SDP_SUPPORT_MASK REG_GENMASK(1, 0) +# define INTEL_DPCD_INTEL_WA_REGISTER_CAPS_FALL_BACK_TO_PSR1 0 +# define INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_WITH_EARLY_SCANLINE 1 +# define INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_WITHOUT_EARLY_SCANLINE 2 + +#endif /* __INTEL_DPCD_H__ */
drivers/gpu/drm/i915/display/intel_psr.c +33 -1
@@ -31,6 +31,7 @@#include "intel_de.h" #include "intel_display_types.h" #include "intel_dp.h" +#include "intel_dpcd.h" #include "intel_dp_aux.h" #include "intel_hdmi.h" #include "intel_psr.h"
@@ -528,6 +529,12 @@ void intel_psr_init_dpcd(struct intel_dp *intel_dp)intel_dp_get_su_granularity (intel_dp); } } + +if (intel_dp->psr.sink_psr2_support) +drm_dp_dpcd_read (&intel_dp->aux, +INTEL_DPCD_INTEL_WA_REGISTER_CAPS , + &intel_dp->intel_wa_dpcd, +sizeof (intel_dp->intel_wa_dpcd)); }static void hsw_psr_setup_aux (struct intel_dp *intel_dp)
@@ -1000,6 +1007,30 @@ static bool psr2_granularity_check(struct intel_dp *intel_dp,return true; } +static bool apply_scanline_indication_wa (struct intel_dp *intel_dp, +struct intel_crtc_state *crtc_state) +{ +u8 early_scanline_support = intel_dp->intel_wa_dpcd & +INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_EARLYSCANLINE_SDP_SUPPORT_MASK ; + +if (intel_dp->edp_dpcd[0 ] >=DP_EDP_15 ) +return true; + +switch (early_scanline_support) { +case INTEL_DPCD_INTEL_WA_REGISTER_CAPS_FALL_BACK_TO_PSR1 : + crtc_state->req_psr2_sdp_prior_scanline = false; +return false; +case INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_WITH_EARLY_SCANLINE : +return true; +case INTEL_DPCD_INTEL_WA_REGISTER_CAPS_PSR2_WITHOUT_EARLY_SCANLINE : + crtc_state->req_psr2_sdp_prior_scanline = false; +return true; +default : +MISSING_CASE (early_scanline_support); +return false; + } +} +static bool _compute_psr2_sdp_prior_scanline_indication (struct intel_dp *intel_dp,struct intel_crtc_state *crtc_state) {
@@ -1021,7 +1052,8 @@ static bool _compute_psr2_sdp_prior_scanline_indication(struct intel_dp *intel_dreturn false; crtc_state->req_psr2_sdp_prior_scanline = true; -return true; + +return apply_scanline_indication_wa (intel_dp, crtc_state); } static bool _compute_psr2_wake_times(struct intel_dp *intel_dp,
drivers/gpu/drm/i915/gem/i915_gem_phys.c +15 -4
@@ -17,6 +17,17 @@#include "i915_gem_tiling.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;
@@ -57,7 +68,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;
@@ -101,7 +112,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);
@@ -144,7 +155,7 @@ i915_gem_object_put_pages_phys(struct drm_i915_gem_object *obj,int i915_gem_object_pwrite_phys (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);struct drm_i915_private *i915 =to_i915 (obj->base.dev);int err;
@@ -175,7 +186,7 @@ int i915_gem_object_pwrite_phys(struct drm_i915_gem_object *obj,int i915_gem_object_pread_phys (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/i915/gem/i915_gem_ttm.c +16 -12
@@ -423,8 +423,6 @@ void i915_ttm_free_cached_io_rsgt(struct drm_i915_gem_object *obj)int i915_ttm_purge (struct drm_i915_gem_object *obj) {struct ttm_buffer_object *bo =i915_gem_to_ttm (obj); -struct i915_ttm_tt *i915_tt = -container_of (bo->ttm,typeof (*i915_tt), ttm);struct ttm_operation_ctx ctx = { .interruptible = true, .no_wait_gpu = false,
@@ -439,16 +437,22 @@ int i915_ttm_purge(struct drm_i915_gem_object *obj)if (ret)return ret; -if (bo->ttm && i915_tt->filp) { -/* -* The below fput(which eventually calls shmem_truncate) might -* be delayed by worker, so when directly called to purge the -* pages(like by the shrinker) we should try to be more -* aggressive and release the pages immediately. -*/ -shmem_truncate_range (file_inode (i915_tt->filp), -0 , (loff_t)-1 ); -fput (fetch_and_zero (&i915_tt->filp)); +if (bo->ttm) { +struct i915_ttm_tt *i915_tt = +container_of (bo->ttm,typeof (*i915_tt), ttm); + +if (i915_tt->filp) { +/* +* The below fput(which eventually calls shmem_truncate) +* might be delayed by worker, so when directly called +* to purge the pages(like by the shrinker) we should +* try to be more aggressive and release the pages +* immediately. +*/ +shmem_truncate_range (file_inode (i915_tt->filp), +0 , (loff_t)-1 ); +fput (fetch_and_zero (&i915_tt->filp)); + } } obj->write_domain =0 ;
drivers/gpu/drm/imx/dcss/dcss-scaler.c +3 -0
@@ -166,6 +166,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,
@@ -262,7 +263,9 @@ static void dcss_scaler_nearest_neighbor_filter(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/vc4/vc4_validate_shaders.c +7 -6
@@ -288,15 +288,16 @@ static bool require_uniform_address_uniform(struct vc4_validated_shader_info *va {uint32_t o = validated_shader->num_uniform_addr_offsets;uint32_t num_uniforms = validated_shader->uniforms_size /4 ; +u32 *offsets; - validated_shader->uniform_addr_offsets = -krealloc (validated_shader->uniform_addr_offsets, - (o +1 ) * -sizeof (*validated_shader->uniform_addr_offsets), -GFP_KERNEL ); -if (!validated_shader->uniform_addr_offsets) + offsets =krealloc_array (validated_shader->uniform_addr_offsets, + o +1 , +sizeof (*validated_shader->uniform_addr_offsets), +GFP_KERNEL ); +if (!offsets)return false; + validated_shader->uniform_addr_offsets = offsets; validated_shader->uniform_addr_offsets[o] = num_uniforms; validated_shader->num_uniform_addr_offsets++;
drivers/gpu/drm/virtio/virtgpu_drv.c +4 -1
@@ -118,7 +118,10 @@ static void virtio_gpu_remove(struct virtio_device *vdev)struct drm_device *dev = vdev->priv;drm_dev_unplug (dev); -drm_atomic_helper_shutdown (dev); + +if (drm_core_check_feature (dev,DRIVER_ATOMIC )) +drm_atomic_helper_shutdown (dev); +virtio_gpu_deinit (dev);drm_dev_put (dev); }
drivers/gpu/drm/virtio/virtgpu_submit.c +3 -1
@@ -65,8 +65,10 @@ static int virtio_gpu_dma_fence_wait(struct virtio_gpu_submit *submit,dma_fence_unwrap_for_each (f, &itr, fence) { err =virtio_gpu_do_fence_wait (submit, f); -if (err) +if (err) { +dma_fence_put (itr.chain);return err; + } }return 0 ;
drivers/hid/bpf/hid_bpf_dispatch.c +2 -1
@@ -47,7 +47,7 @@ __weak noinline int hid_bpf_device_event(struct hid_bpf_ctx *ctx)u8 *dispatch_hid_bpf_device_event (struct hid_device *hdev,enum hid_report_type type,u8 *data, -u32 *size,int interrupt) +size_t *buf_size,u32 *size,int interrupt) {struct hid_bpf_ctx_kern ctx_kern = { .ctx = {
@@ -81,6 +81,7 @@ dispatch_hid_bpf_device_event(struct hid_device *hdev, enum hid_report_type type *size = ret; } + *buf_size = ctx_kern.ctx.allocated_size;return ctx_kern.data; }EXPORT_SYMBOL_GPL (dispatch_hid_bpf_device_event);
drivers/hid/hid-core.c +25 -10
@@ -1986,24 +1986,32 @@ 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,enum hid_report_type type,u8 *data,u32 size, -int interrupt) +int hid_report_raw_event (struct hid_device *hid,enum hid_report_type type,u8 *data, +size_t bufsize,u32 size,int interrupt) {struct hid_report_enum *report_enum = hid->report_enum + type;struct hid_report *report;struct hid_driver *hdrv;int max_buffer_size =HID_MAX_BUFFER_SIZE ;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);
@@ -2016,9 +2024,15 @@ int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *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); }
@@ -2027,7 +2041,7 @@ int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *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) {
@@ -2039,7 +2053,7 @@ int hid_report_raw_event(struct hid_device *hid, enum hid_report_type type, u8 *if (hid->claimed &HID_CLAIMED_INPUT )hidinput_report_event (hid, report); -out: +return ret; }EXPORT_SYMBOL_GPL (hid_report_raw_event);
@@ -2055,12 +2069,13 @@ EXPORT_SYMBOL_GPL(hid_report_raw_event);* * This is data entry for lower layers. */ -int hid_input_report (struct hid_device *hid,enum hid_report_type type,u8 *data,u32 size, -int interrupt) +int hid_input_report (struct hid_device *hid,enum hid_report_type type,u8 *data, +u32 size,int interrupt) {struct hid_report_enum *report_enum;struct hid_driver *hdrv;struct hid_report *report; +size_t bufsize = size;int ret =0 ;if (!hid)
@@ -2076,7 +2091,7 @@ int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data report_enum = hid->report_enum + type; hdrv = hid->driver; - data =dispatch_hid_bpf_device_event (hid, type, data, &size, interrupt); + data =dispatch_hid_bpf_device_event (hid, type, data, &bufsize, &size, interrupt);if (IS_ERR (data)) { ret =PTR_ERR (data); goto unlock;
@@ -2105,7 +2120,7 @@ int hid_input_report(struct hid_device *hid, enum hid_report_type type, u8 *data 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
@@ -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-ids.h +1 -0
@@ -1212,6 +1212,7 @@#define USB_VENDOR_ID_SIGMA_MICRO 0x1c4f#define USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD 0x0002 +#define USB_DEVICE_ID_SIGMA_MICRO_USB_MOUSE 0x0034#define USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD2 0x0059#define USB_VENDOR_ID_SIGMATEL 0x066F
drivers/hid/hid-logitech-hidpp.c +1 -1
@@ -3692,7 +3692,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
@@ -479,7 +479,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-picolcd_cir.c +1 -0
@@ -134,5 +134,6 @@ void picolcd_exit_cir(struct picolcd_data *data) data->rc_dev =NULL ;rc_unregister_device (rdev); +rc_free_device (rdev); }
drivers/hid/hid-primax.c +1 -1
@@ -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-quirks.c +1 -0
@@ -186,6 +186,7 @@ static const struct hid_device_id hid_quirks[] = { { HID_USB_DEVICE(USB_VENDOR_ID_SEMICO, USB_DEVICE_ID_SEMICO_USB_KEYKOARD), HID_QUIRK_NO_INIT_REPORTS }, { HID_USB_DEVICE(USB_VENDOR_ID_SENNHEISER, USB_DEVICE_ID_SENNHEISER_BTD500USB), HID_QUIRK_NOGET }, { HID_USB_DEVICE(USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD), HID_QUIRK_NO_INIT_REPORTS }, + { HID_USB_DEVICE(USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_USB_MOUSE), HID_QUIRK_ALWAYS_POLL }, { HID_USB_DEVICE(USB_VENDOR_ID_SIGMATEL, USB_DEVICE_ID_SIGMATEL_STMP3780), HID_QUIRK_NOGET }, { HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS1030_TOUCH), HID_QUIRK_NOGET }, { HID_USB_DEVICE(USB_VENDOR_ID_SIS_TOUCH, USB_DEVICE_ID_SIS817_TOUCH), HID_QUIRK_NOGET },
drivers/hid/hid-vivaldi-common.c +1 -1
@@ -85,7 +85,7 @@ 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
@@ -74,7 +74,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);
@@ -319,7 +319,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 {
@@ -341,6 +341,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 :
@@ -380,7 +381,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__);
@@ -556,9 +557,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 ; }
@@ -2810,6 +2816,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
@@ -297,6 +297,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/hwmon/pmbus/adm1266.c +41 -6
118 lines not on this page · raw message
drivers/hwmon/pmbus/pmbus_core.c +91 -26
203 lines not on this page · raw message
drivers/i2c/busses/i2c-qcom-cci.c +1 -1
@@ -683,8 +683,8 @@ static void 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-stm32f7.c +3 -3
@@ -680,6 +680,9 @@ static int stm32f7_i2c_setup_timing(struct stm32f7_i2c_dev *i2c_dev,if (!of_property_read_bool (i2c_dev->dev->of_node,"i2c-digital-filter" )) i2c_dev->dnf_dt =STM32F7_I2C_DNF_DEFAULT ; + i2c_dev->analog_filter =of_property_read_bool (i2c_dev->dev->of_node, +"i2c-analog-filter" ); + do { ret = stm32f7_i2c_compute_timing(i2c_dev, setup, &i2c_dev->timing);
@@ -701,9 +704,6 @@ static int stm32f7_i2c_setup_timing(struct stm32f7_i2c_dev *i2c_dev,return ret; } - i2c_dev->analog_filter =of_property_read_bool (i2c_dev->dev->of_node, -"i2c-analog-filter" ); -dev_dbg (i2c_dev->dev,"I2C Speed(%i), Clk Source(%i)\n" , setup->speed_freq, setup->clock_src); dev_dbg(i2c_dev->dev, "I2C Rise(%i) and Fall(%i) Time\n",
drivers/i2c/busses/i2c-tegra.c +30 -23
83 lines not on this page · raw message
drivers/i2c/i2c-dev.c +5 -4
@@ -476,12 +476,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 +10 -21
@@ -231,7 +231,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);
@@ -244,17 +244,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 = irq; - goto err_disable_clk; - } +if (irq <0 ) +return irq; 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" );
@@ -262,7 +258,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,
@@ -272,10 +268,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,
@@ -314,13 +308,11 @@ 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; } -static int npcm_adc_remove (struct platform_device *pdev) +static void npcm_adc_remove (struct platform_device *pdev) {struct iio_dev *indio_dev =platform_get_drvdata (pdev);struct npcm_adc *info =iio_priv (indio_dev);
@@ -332,14 +324,11 @@ 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 ; }static struct platform_driver npcm_adc_driver = { .probe = npcm_adc_probe, - .remove = npcm_adc_remove, + .remove_new = npcm_adc_remove, .driver = { .name ="npcm_adc" , .of_match_table = npcm_adc_match,
drivers/iio/adc/viperboard_adc.c +3 -1
@@ -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
@@ -818,6 +818,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;
@@ -825,6 +826,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)
@@ -835,11 +842,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
@@ -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
87 lines not on this page · raw message
drivers/iio/common/ssp_sensors/ssp_dev.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/magnetometer/st_magn_core.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/infiniband/core/iter.c new file +43 -0
43 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/qplib_res.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/erdma/erdma_verbs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_alloc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_mr.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/mthca/mthca_provider.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/vmw_pvrdma/pvrdma.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/ulp/isert/ib_isert.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/input/touchscreen/atmel_mxt_ts.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/input/touchscreen/usbtouchscreen.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/media/pci/cx23885/cx23885-input.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/pci/mantis/mantis_input.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/pci/saa7134/saa7134-input.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/au0828/au0828-input.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/dvb-usb/dvb-usb-remote.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/media/usb/em28xx/em28xx-input.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/misc/fastrpc.c +68 -39
107 lines not on this page · raw message
drivers/mmc/host/renesas_sdhi_internal_dmac.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fec_main.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_virtchnl.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mv643xx_eth.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +47 -28
75 lines not on this page · raw message
drivers/net/ethernet/marvell/octeontx2/af/cgx.c +8 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c +16 -16
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_eth_soc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/cq.c +8 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/cmd.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c +3 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/vport.c +54 -18
72 lines not on this page · raw message
drivers/net/ethernet/microchip/lan743x_main.c +32 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/lan743x_main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microsoft/mana/mana_en.c +41 -29
70 lines not on this page · raw message
drivers/scsi/scsi_transport_fc.c +41 -36
77 lines not on this page · raw message
drivers/soc/tegra/pmc.c +74 -30
104 lines not on this page · raw message
drivers/staging/media/av7110/av7110_ir.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/target/iscsi/iscsi_target_auth.c +18 -1
Lines of this file are not shown. View the raw message.
drivers/target/iscsi/iscsi_target_nego.c +6 -1
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
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/tty/serial/dz.c +88 -83
171 lines not on this page · raw message
drivers/tty/serial/samsung_tty.c +60 -69
129 lines not on this page · raw message
drivers/tty/serial/zs.c +83 -143
226 lines not on this page · raw message
drivers/usb/host/xhci-tegra.c +45 -34
79 lines not on this page · raw message
drivers/usb/typec/altmodes/displayport.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/usb/typec/tcpm/tcpci_maxim_core.c +9 -0
Lines of this file are not shown. View the raw message.
fs/smb/server/smb2pdu.c +111 -32
143 lines not on this page · raw message
fs/smb/server/smbacl.c +47 -4
51 lines not on this page · raw message
include/net/netfilter/nf_conntrack_core.h +5 -0
Lines of this file are not shown. View the raw message.
include/net/netfilter/nf_conntrack_helper.h +1 -0
Lines of this file are not shown. View the raw message.
include/rdma/ib_umem.h +12 -32
44 lines not on this page · raw message
include/rdma/ib_verbs.h +0 -48
48 lines not on this page · raw message
include/rdma/iter.h new file +88 -0
88 lines not on this page · raw message
include/uapi/linux/netfilter/nf_tables.h +15 -3
Lines of this file are not shown. View the raw message.
mm/hugetlb.c +80 -38
118 lines not on this page · raw message
mm/memory-failure.c +58 -38
96 lines not on this page · 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 +39 -18
57 lines not on this page · raw message
net/batman-adv/tp_meter.c +37 -30
67 lines not on this page · raw message
net/batman-adv/translation-table.c +33 -10
43 lines not on this page · raw message
net/batman-adv/types.h +34 -8
42 lines not on this page · raw message
net/bluetooth/bnep/core.c +36 -14
50 lines not on this page · raw message
net/bluetooth/l2cap_core.c +79 -8
87 lines not on this page · raw message
net/bluetooth/rfcomm/core.c +49 -18
67 lines not on this page · raw message
net/ipv4/inet_fragment.c +51 -3
54 lines not on this page · raw message
net/ipv6/addrconf.c +29 -24
53 lines not on this page · raw message
net/ipv6/datagram.c +46 -8
54 lines not on this page · raw message
net/key/af_key.c +37 -21
58 lines not on this page · raw message
net/mptcp/options.c +32 -41
73 lines not on this page · raw message
net/mptcp/pm.c +34 -15
49 lines not on this page · raw message
net/mptcp/protocol.c +68 -34
102 lines not on this page · raw message
net/netfilter/ipset/ip_set_bitmap_ipmac.c +3 -2
Lines of this file are not shown. View the raw message.
net/netfilter/ipset/ip_set_hash_ipmac.c +5 -4
Lines of this file are not shown. View the raw message.
net/netfilter/nft_bitwise.c +153 -31
184 lines not on this page · raw message
net/rxrpc/recvmsg.c +55 -13
68 lines not on this page · raw message
net/rxrpc/rxkad.c +42 -73
115 lines not on this page · raw message
net/vmw_vsock/af_vsock.c +32 -17
49 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c +9 -5
Lines of this file are not shown. View the raw message.
security/landlock/errata/abi-1.h new file +16 -0
Lines of this file are not shown. View the raw message.
sound/firewire/motu/motu-register-dsp-message-parser.c +7 -7
Lines of this file are not shown. View the raw message.
sound/soc/intel/boards/bytcht_es8316.c +27 -2
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
tools/testing/selftests/ftrace/test.d/dynevent/eprobes_syntax_errors.tc +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/mm/hmm-tests.c +50 -0
50 lines not on this page · raw message
tools/testing/selftests/net/mptcp/mptcp_connect.sh +3 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/mptcp/mptcp_join.sh +4 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ptp/testptp.c +5 -57
62 lines not on this page · 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.