Linux 5.15.198
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.15.198 kernel.
All users of the 5.15 kernel series must upgrade.
The updated 5.15.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.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/devicetree/bindings/pci/amlogic,axg-pcie.yaml | 134 ++++ Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt | 70 -- Documentation/filesystems/mount_api.rst | 1 Documentation/process/2.Process.rst | 6 Makefile | 2 arch/alpha/include/uapi/asm/ioctls.h | 8 arch/arm/Kconfig | 2 arch/arm/boot/dts/imx6q-ba16.dtsi | 2 arch/arm/boot/dts/sama7g5.dtsi | 4 arch/arm/include/asm/word-at-a-time.h | 10 arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi | 11 arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 1 arch/arm64/kvm/Makefile | 3 arch/arm64/net/bpf_jit_comp.c | 2 arch/csky/mm/fault.c | 4 arch/parisc/kernel/asm-offsets.c | 2 arch/parisc/kernel/entry.S | 16 arch/powerpc/boot/addnote.c | 7 arch/powerpc/include/asm/book3s/64/mmu-hash.h | 1 arch/powerpc/kernel/entry_32.S | 10 arch/powerpc/kernel/process.c | 5 arch/powerpc/mm/book3s64/internal.h | 1 arch/powerpc/mm/book3s64/mmu_context.c | 2 arch/powerpc/mm/book3s64/slb.c | 88 -- arch/powerpc/mm/ptdump/hashpagetable.c | 6 arch/powerpc/platforms/pseries/cmm.c | 5 arch/s390/kernel/smp.c | 1 arch/x86/crypto/blake2s-core.S | 4 arch/x86/events/core.c | 2 arch/x86/events/intel/core.c | 4 arch/x86/include/asm/ptrace.h | 20 arch/x86/include/asm/uaccess.h | 10 arch/x86/kernel/dumpstack.c | 35 - arch/x86/kernel/stacktrace.c | 2 arch/x86/kernel/unwind_frame.c | 11 arch/x86/kvm/lapic.c | 32 - arch/x86/kvm/svm/nested.c | 5 arch/x86/kvm/svm/svm.c | 20 arch/x86/kvm/svm/svm.h | 7 arch/x86/kvm/vmx/nested.c | 2 arch/x86/kvm/vmx/vmx.c | 2 arch/x86/kvm/vmx/vmx.h | 1 arch/x86/kvm/x86.c | 2 arch/x86/lib/usercopy.c | 2 block/blk-mq.c | 18 block/blk-throttle.c | 16 block/genhd.c | 2 crypto/af_alg.c | 5 crypto/algif_hash.c | 3 crypto/algif_rng.c | 3 crypto/asymmetric_keys/asymmetric_type.c | 14 crypto/seqiv.c | 8 drivers/acpi/acpica/nswalk.c | 9 drivers/acpi/apei/ghes.c | 16 drivers/acpi/cppc_acpi.c | 3 drivers/acpi/processor_core.c | 2 drivers/acpi/property.c | 9 drivers/amba/tegra-ahb.c | 1 drivers/atm/he.c | 3 drivers/base/power/runtime.c | 22 drivers/block/floppy.c | 2 drivers/block/nbd.c | 92 +- drivers/block/ps3disk.c | 4 drivers/bluetooth/btusb.c | 14 drivers/bus/ti-sysc.c | 11 drivers/char/applicom.c | 5 drivers/char/ipmi/ipmi_msghandler.c | 20 drivers/char/tpm/tpm-chip.c | 1 drivers/char/tpm/tpm1-cmd.c | 5 drivers/char/tpm/tpm2-cmd.c | 8 drivers/char/virtio_console.c | 2 drivers/clk/mvebu/cp110-system-controller.c | 20 drivers/clk/renesas/r9a06g032-clocks.c | 7 drivers/comedi/comedi_fops.c | 42 + drivers/comedi/drivers/c6xdigio.c | 46 + drivers/comedi/drivers/multiq3.c | 9 drivers/comedi/drivers/pcl818.c | 5 drivers/counter/interrupt-cnt.c | 3 drivers/cpufreq/cpufreq-nforce2.c | 3 drivers/cpufreq/s5pv210-cpufreq.c | 6 drivers/crypto/ccree/cc_buffer_mgr.c | 6 drivers/crypto/hisilicon/qm.c | 14 drivers/firewire/nosy.c | 10 drivers/firmware/arm_scmi/notify.c | 1 drivers/firmware/efi/cper-arm.c | 52 - drivers/firmware/efi/cper.c | 60 + drivers/firmware/imx/imx-scu-irq.c | 26 drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c | 8 drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 2 drivers/gpu/drm/gma500/framebuffer.c | 42 - drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c | 4 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 2 drivers/gpu/drm/mediatek/mtk_disp_ccorr.c | 23 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 drivers/gpu/drm/nouveau/dispnv50/atom.h | 13 drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 drivers/gpu/drm/panel/panel-visionox-rm69299.c | 2 drivers/gpu/drm/pl111/pl111_drv.c | 2 drivers/gpu/drm/ttm/ttm_bo_vm.c | 6 drivers/gpu/drm/vgem/vgem_fence.c | 2 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 17 drivers/gpu/host1x/syncpt.c | 4 drivers/hid/hid-core.c | 7 drivers/hid/hid-elecom.c | 6 drivers/hid/hid-ids.h | 3 drivers/hid/hid-input.c | 18 drivers/hid/hid-logitech-dj.c | 56 - drivers/hid/hid-quirks.c | 12 drivers/hwmon/max16065.c | 7 drivers/hwmon/w83791d.c | 17 drivers/hwmon/w83l786ng.c | 26 drivers/hwtracing/coresight/coresight-core.c | 20 drivers/hwtracing/coresight/coresight-etm4x-core.c | 270 ++++++-- drivers/hwtracing/coresight/coresight-etm4x.h | 9 drivers/hwtracing/coresight/coresight-self-hosted-trace.h | 31 + drivers/hwtracing/intel_th/core.c | 20 drivers/i2c/busses/i2c-amd-mp2-pci.c | 5 drivers/i3c/master.c | 8 drivers/i3c/master/svc-i3c-master.c | 22 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h | 24 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c | 71 +- drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 32 - drivers/infiniband/core/addr.c | 33 - drivers/infiniband/core/cma.c | 3 drivers/infiniband/core/device.c | 5 drivers/infiniband/core/verbs.c | 2 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 7 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 2 drivers/infiniband/hw/bnxt_re/qplib_res.c | 8 drivers/infiniband/hw/efa/efa_verbs.c | 4 drivers/infiniband/hw/irdma/ctrl.c | 3 drivers/infiniband/hw/irdma/pble.c | 6 drivers/infiniband/hw/irdma/utils.c | 3 drivers/infiniband/ulp/rtrs/rtrs-clt.c | 1 drivers/infiniband/ulp/rtrs/rtrs-srv.c | 2 drivers/input/serio/i8042-acpipnpio.h | 7 drivers/input/touchscreen/ti_am335x_tsc.c | 2 drivers/iommu/amd/init.c | 28 drivers/iommu/apple-dart.c | 2 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 27 drivers/iommu/arm/arm-smmu/qcom_iommu.c | 10 drivers/iommu/exynos-iommu.c | 9 drivers/iommu/ipmmu-vmsa.c | 2 drivers/iommu/mtk_iommu.c | 2 drivers/iommu/mtk_iommu_v1.c | 2 drivers/iommu/omap-iommu.c | 2 drivers/iommu/omap-iommu.h | 2 drivers/iommu/sun50i-iommu.c | 2 drivers/iommu/tegra-smmu.c | 5 drivers/irqchip/qcom-irq-combiner.c | 2 drivers/leds/flash/leds-aat1290.c | 2 drivers/leds/led-class.c | 2 drivers/leds/leds-lp50xx.c | 12 drivers/leds/leds-netxbig.c | 36 - drivers/leds/leds-spi-byte.c | 11 drivers/macintosh/mac_hid.c | 3 drivers/md/dm-ebs-target.c | 2 drivers/md/dm-log-writes.c | 1 drivers/md/dm-raid.c | 2 drivers/media/cec/core/cec-core.c | 1 drivers/media/i2c/adv7604.c | 4 drivers/media/i2c/adv7842.c | 11 drivers/media/i2c/msp3400-kthreads.c | 2 drivers/media/i2c/tda1997x.c | 1 drivers/media/platform/davinci/vpif_capture.c | 4 drivers/media/platform/exynos4-is/media-dev.c | 10 drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c | 4 drivers/media/platform/rcar_drif.c | 1 drivers/media/rc/st_rc.c | 2 drivers/media/test-drivers/vidtv/vidtv_channel.c | 3 drivers/media/usb/dvb-usb/dtv5100.c | 5 drivers/media/usb/pvrusb2/pvrusb2-hdw.c | 2 drivers/mfd/altera-sysmgr.c | 2 drivers/mfd/da9055-core.c | 1 drivers/mfd/max77620.c | 15 drivers/mfd/mt6358-irq.c | 1 drivers/mfd/mt6397-irq.c | 1 drivers/misc/mei/hw-me-regs.h | 2 drivers/misc/mei/pci-me.c | 2 drivers/misc/vmw_balloon.c | 3 drivers/mmc/core/bus.c | 9 drivers/mmc/core/bus.h | 3 drivers/mmc/core/mmc.c | 16 drivers/mmc/core/sd.c | 25 drivers/mmc/core/sdio.c | 5 drivers/mmc/core/sdio_bus.c | 7 drivers/mmc/host/Kconfig | 4 drivers/mmc/host/sdhci-msm.c | 27 drivers/mtd/lpddr/lpddr_cmds.c | 8 drivers/net/dsa/b53/b53_common.c | 3 drivers/net/ethernet/3com/3c59x.c | 2 drivers/net/ethernet/broadcom/b44.c | 3 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 87 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 4 drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c | 5 drivers/net/ethernet/freescale/enetc/enetc.h | 4 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 7 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 4 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 4 drivers/net/ethernet/intel/e1000/e1000_main.c | 10 drivers/net/ethernet/intel/i40e/i40e.h | 15 drivers/net/ethernet/intel/i40e/i40e_client.c | 20 drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12 drivers/net/ethernet/intel/i40e/i40e_main.c | 15 drivers/net/ethernet/intel/i40e/i40e_txrx.c | 10 drivers/net/ethernet/intel/i40e/i40e_txrx.h | 2 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 4 drivers/net/ethernet/intel/iavf/iavf_main.c | 4 drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c | 8 drivers/net/ethernet/marvell/prestera/prestera_devlink.c | 2 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c | 122 +++ drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h | 2 drivers/net/ethernet/mellanox/mlx5/core/port.c | 3 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c | 2 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 17 drivers/net/ethernet/mscc/ocelot.c | 6 drivers/net/ethernet/realtek/r8169_main.c | 5 drivers/net/ethernet/smsc/smc91x.c | 10 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 drivers/net/fjes/fjes_hw.c | 12 drivers/net/ipvlan/ipvlan_core.c | 3 drivers/net/mdio/mdio-aspeed.c | 77 +- drivers/net/phy/mscc/mscc_main.c | 6 drivers/net/team/team.c | 2 drivers/net/usb/asix_common.c | 5 drivers/net/usb/pegasus.c | 2 drivers/net/usb/rtl8150.c | 2 drivers/net/usb/sr9700.c | 4 drivers/net/wireless/mediatek/mt76/eeprom.c | 37 - drivers/net/wireless/mediatek/mt76/mt7615/mcu.c | 4 drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c | 9 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c | 27 drivers/net/wireless/st/cw1200/bh.c | 6 drivers/nfc/pn533/usb.c | 2 drivers/nvme/host/fc.c | 6 drivers/parisc/gsc.c | 4 drivers/pci/controller/dwc/pci-keystone.c | 2 drivers/pci/controller/dwc/pcie-designware.h | 2 drivers/pci/controller/pcie-brcmstb.c | 10 drivers/pci/pci-driver.c | 4 drivers/phy/broadcom/phy-bcm63xx-usbh.c | 6 drivers/pinctrl/pinctrl-single.c | 25 drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 3 drivers/pinctrl/qcom/pinctrl-msm.c | 2 drivers/pinctrl/stm32/pinctrl-stm32.c | 2 drivers/platform/chrome/cros_ec_ishtp.c | 1 drivers/platform/x86/acer-wmi.c | 4 drivers/platform/x86/asus-wmi.c | 8 drivers/platform/x86/huawei-wmi.c | 4 drivers/platform/x86/ibm_rtl.c | 2 drivers/platform/x86/intel/hid.c | 12 drivers/platform/x86/msi-laptop.c | 3 drivers/power/supply/apm_power.c | 3 drivers/power/supply/wm831x_power.c | 10 drivers/powercap/powercap_sys.c | 22 drivers/pwm/pwm-bcm2835.c | 28 drivers/pwm/pwm-stm32.c | 3 drivers/regulator/core.c | 37 - drivers/remoteproc/qcom_q6v5_wcss.c | 8 drivers/rpmsg/qcom_glink_native.c | 8 drivers/s390/crypto/ap_bus.c | 8 drivers/scsi/aic94xx/aic94xx_init.c | 3 drivers/scsi/ipr.c | 28 drivers/scsi/libsas/sas_internal.h | 14 drivers/scsi/qla2xxx/qla_def.h | 1 drivers/scsi/qla2xxx/qla_gbl.h | 2 drivers/scsi/qla2xxx/qla_isr.c | 32 - drivers/scsi/qla2xxx/qla_mbx.c | 2 drivers/scsi/qla2xxx/qla_mid.c | 4 drivers/scsi/qla2xxx/qla_os.c | 14 drivers/scsi/sg.c | 20 drivers/scsi/sim710.c | 2 drivers/scsi/stex.c | 1 drivers/soc/amlogic/meson-canvas.c | 5 drivers/soc/qcom/ocmem.c | 2 drivers/spi/spi-fsl-spi.c | 2 drivers/spi/spi-imx.c | 15 drivers/spi/spi-tegra210-quad.c | 307 +++++++++- drivers/spi/spi-xilinx.c | 2 drivers/staging/fbtft/fbtft-core.c | 4 drivers/staging/media/hantro/hantro_g2_hevc_dec.c | 15 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 13 drivers/target/target_core_configfs.c | 1 drivers/target/target_core_transport.c | 1 drivers/tty/serial/8250/8250_pci.c | 37 + drivers/tty/serial/sprd_serial.c | 6 drivers/uio/uio_fsl_elbc_gpcm.c | 7 drivers/usb/core/message.c | 2 drivers/usb/dwc2/platform.c | 16 drivers/usb/dwc3/dwc3-of-simple.c | 7 drivers/usb/dwc3/gadget.c | 2 drivers/usb/dwc3/host.c | 2 drivers/usb/gadget/legacy/raw_gadget.c | 3 drivers/usb/gadget/udc/core.c | 17 drivers/usb/gadget/udc/lpc32xx_udc.c | 20 drivers/usb/gadget/udc/tegra-xudc.c | 6 drivers/usb/host/ohci-nxp.c | 20 drivers/usb/host/xhci-dbgcap.h | 1 drivers/usb/host/xhci-dbgtty.c | 52 + drivers/usb/host/xhci-hub.c | 2 drivers/usb/host/xhci-mem.c | 10 drivers/usb/host/xhci-ring.c | 8 drivers/usb/host/xhci.h | 16 drivers/usb/misc/chaoskey.c | 16 drivers/usb/phy/phy-isp1301.c | 7 drivers/usb/phy/phy.c | 4 drivers/usb/renesas_usbhs/pipe.c | 2 drivers/usb/serial/belkin_sa.c | 28 drivers/usb/serial/ftdi_sio.c | 72 -- drivers/usb/serial/kobil_sct.c | 18 drivers/usb/serial/option.c | 22 drivers/usb/storage/unusual_uas.h | 2 drivers/usb/typec/ucsi/ucsi.c | 6 drivers/usb/usbip/vhci_hcd.c | 6 drivers/vdpa/vdpa.c | 231 +++++++ drivers/vhost/vdpa.c | 10 drivers/vhost/vsock.c | 15 drivers/video/backlight/led_bl.c | 18 drivers/video/fbdev/gbefb.c | 5 drivers/video/fbdev/pxafb.c | 12 drivers/video/fbdev/ssd1307fb.c | 4 drivers/video/fbdev/tcx.c | 2 drivers/virtio/virtio_balloon.c | 4 drivers/virtio/virtio_vdpa.c | 6 drivers/watchdog/via_wdt.c | 1 drivers/watchdog/wdat_wdt.c | 65 +- fs/bfs/inode.c | 19 fs/btrfs/ioctl.c | 4 fs/btrfs/scrub.c | 5 fs/btrfs/volumes.c | 1 fs/exfat/super.c | 19 fs/ext4/ext4.h | 1 fs/ext4/ialloc.c | 1 fs/ext4/inline.c | 14 fs/ext4/inode.c | 6 fs/ext4/mballoc.c | 58 + fs/ext4/move_extent.c | 18 fs/ext4/orphan.c | 4 fs/ext4/super.c | 65 +- fs/ext4/xattr.c | 38 - fs/ext4/xattr.h | 10 fs/f2fs/f2fs.h | 3 fs/f2fs/file.c | 3 fs/f2fs/namei.c | 6 fs/f2fs/recovery.c | 9 fs/f2fs/super.c | 53 + fs/f2fs/xattr.c | 32 - fs/f2fs/xattr.h | 10 fs/fuse/file.c | 26 fs/hfsplus/bnode.c | 4 fs/hfsplus/dir.c | 7 fs/hfsplus/inode.c | 32 - fs/jbd2/journal.c | 14 fs/jbd2/transaction.c | 21 fs/lockd/svc4proc.c | 4 fs/lockd/svclock.c | 21 fs/lockd/svcproc.c | 5 fs/locks.c | 13 fs/nfs/Kconfig | 1 fs/nfs/dir.c | 133 +++- fs/nfs/internal.h | 2 fs/nfs/namespace.c | 11 fs/nfs/nfs2xdr.c | 70 -- fs/nfs/nfs3xdr.c | 108 --- fs/nfs/nfs4proc.c | 21 fs/nfs/nfs4trace.h | 1 fs/nfs/nfs4xdr.c | 44 + fs/nfs/pnfs.c | 1 fs/nfs/super.c | 26 fs/nfs_common/Makefile | 2 fs/nfs_common/common.c | 66 ++ fs/nfsd/Kconfig | 1 fs/nfsd/blocklayout.c | 7 fs/nfsd/export.c | 2 fs/nfsd/netns.h | 2 fs/nfsd/nfs4proc.c | 2 fs/nfsd/nfs4state.c | 46 + fs/nfsd/nfs4xdr.c | 5 fs/nfsd/nfsctl.c | 3 fs/nfsd/nfsd.h | 1 fs/nfsd/state.h | 2 fs/nfsd/vfs.c | 2 fs/nls/nls_base.c | 27 fs/notify/fsnotify.c | 9 fs/ntfs3/frecord.c | 49 + fs/ntfs3/fsntfs.c | 18 fs/ntfs3/inode.c | 4 fs/ntfs3/namei.c | 2 fs/ntfs3/ntfs_fs.h | 12 fs/ntfs3/record.c | 22 fs/ntfs3/run.c | 6 fs/ntfs3/super.c | 2 fs/ocfs2/alloc.c | 1 fs/ocfs2/move_extents.c | 8 fs/ocfs2/suballoc.c | 10 fs/xfs/xfs_buf_item.c | 1 include/linux/balloon_compaction.h | 65 -- include/linux/blk_types.h | 5 include/linux/compiler-clang.h | 23 include/linux/compiler-gcc.h | 14 include/linux/coresight.h | 4 include/linux/cper.h | 12 include/linux/fs_context.h | 1 include/linux/genalloc.h | 1 include/linux/ieee80211.h | 4 include/linux/if_bridge.h | 6 include/linux/netdevice.h | 3 include/linux/nfs_common.h | 16 include/linux/nfs_fs.h | 9 include/linux/nfs_fs_sb.h | 2 include/linux/nfs_xdr.h | 2 include/linux/platform_data/lp855x.h | 4 include/linux/rculist_nulls.h | 59 + include/linux/security.h | 2 include/linux/tpm.h | 9 include/linux/usb/gadget.h | 5 include/linux/vdpa.h | 22 include/linux/virtio_config.h | 2 include/media/v4l2-mem2mem.h | 3 include/net/netfilter/nf_conntrack_count.h | 16 include/net/sock.h | 13 include/net/xfrm.h | 13 include/sound/snd_wavefront.h | 4 include/trace/misc/nfs.h | 3 include/uapi/linux/mptcp.h | 1 include/uapi/linux/nfs.h | 1 include/uapi/linux/vdpa.h | 6 include/uapi/sound/asound.h | 2 io_uring/io_uring.c | 2 kernel/dma/pool.c | 2 kernel/livepatch/core.c | 8 kernel/locking/spinlock_debug.c | 4 kernel/sched/cpudeadline.c | 34 - kernel/sched/cpudeadline.h | 4 kernel/sched/deadline.c | 8 kernel/scs.c | 2 kernel/trace/trace_events.c | 2 lib/crypto/aes.c | 4 lib/idr.c | 2 lib/vsprintf.c | 6 mm/balloon_compaction.c | 15 mm/damon/core-test.h | 73 ++ mm/damon/vaddr-test.h | 26 net/bridge/br_ioctl.c | 36 + net/bridge/br_private.h | 4 net/bridge/br_vlan_tunnel.c | 11 net/caif/cffrml.c | 9 net/can/j1939/transport.c | 2 net/ceph/messenger_v2.c | 2 net/ceph/mon_client.c | 2 net/ceph/osd_client.c | 11 net/ceph/osdmap.c | 140 ++-- net/core/dev_ioctl.c | 15 net/core/page_pool.c | 16 net/core/sock.c | 7 net/ethtool/ioctl.c | 134 ++-- net/hsr/hsr_forward.c | 2 net/ipv4/arp.c | 7 net/ipv4/fib_trie.c | 7 net/ipv4/inet_hashtables.c | 8 net/ipv4/ip_output.c | 3 net/ipv4/ipcomp.c | 2 net/ipv4/ping.c | 4 net/ipv4/raw.c | 3 net/ipv6/calipso.c | 3 net/ipv6/ip6_gre.c | 9 net/ipv6/ip6_output.c | 3 net/ipv6/ipcomp6.c | 2 net/ipv6/xfrm6_tunnel.c | 2 net/key/af_key.c | 2 net/mac80211/rx.c | 5 net/mptcp/pm_netlink.c | 3 net/netfilter/ipvs/ip_vs_xmit.c | 3 net/netfilter/nf_conncount.c | 211 ++++-- net/netfilter/nf_tables_api.c | 3 net/netfilter/nft_connlimit.c | 34 - net/netfilter/nft_flow_offload.c | 9 net/netfilter/nft_synproxy.c | 6 net/netfilter/xt_connlimit.c | 14 net/netrom/nr_out.c | 4 net/nfc/core.c | 9 net/openvswitch/conntrack.c | 16 net/openvswitch/flow_netlink.c | 13 net/openvswitch/vport-netdev.c | 17 net/rose/af_rose.c | 2 net/sched/sch_cake.c | 58 + net/sched/sch_ets.c | 6 net/sched/sch_qfq.c | 2 net/sctp/socket.c | 5 net/socket.c | 19 net/sunrpc/auth_gss/svcauth_gss.c | 3 net/sunrpc/xprtrdma/svc_rdma_rw.c | 5 net/wireless/wext-core.c | 4 net/wireless/wext-priv.c | 4 net/xfrm/xfrm_ipcomp.c | 1 net/xfrm/xfrm_state.c | 41 - net/xfrm/xfrm_user.c | 2 scripts/Makefile.modinst | 2 security/integrity/ima/ima_policy.c | 2 security/keys/trusted-keys/trusted_tpm2.c | 6 security/smack/smack_lsm.c | 41 - sound/firewire/dice/dice-extension.c | 4 sound/isa/wavefront/wavefront.c | 61 + sound/isa/wavefront/wavefront_fx.c | 36 - sound/isa/wavefront/wavefront_midi.c | 17 sound/isa/wavefront/wavefront_synth.c | 198 +++--- sound/pcmcia/pdaudiocf/pdaudiocf.c | 8 sound/pcmcia/vx/vxpocket.c | 8 sound/soc/bcm/bcm63xx-pcm-whistler.c | 4 sound/soc/codecs/ak4458.c | 10 sound/soc/codecs/ak5558.c | 10 sound/soc/fsl/fsl_sai.c | 3 sound/soc/fsl/fsl_xcvr.c | 199 ++++-- sound/soc/fsl/fsl_xcvr.h | 28 sound/soc/intel/catpt/pcm.c | 4 sound/soc/qcom/qdsp6/q6adm.c | 146 ++-- sound/soc/qcom/qdsp6/q6asm-dai.c | 7 sound/soc/stm/stm32_i2s.c | 62 -- sound/soc/stm/stm32_sai.c | 51 - sound/soc/stm/stm32_sai_sub.c | 59 + sound/soc/stm/stm32_spdifrx.c | 44 - sound/usb/mixer_us16x08.c | 20 tools/perf/util/symbol.c | 4 tools/testing/ktest/config-bisect.pl | 4 tools/testing/nvdimm/test/nfit.c | 7 tools/testing/radix-tree/idr-test.c | 21 tools/testing/selftests/bpf/prog_tests/perf_branches.c | 22 tools/testing/selftests/bpf/prog_tests/send_signal.c | 5 tools/testing/selftests/bpf/progs/test_perf_branches.c | 3 tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc | 5 tools/testing/selftests/net/test_vxlan_under_vrf.sh | 2 532 files changed, 5374 insertions(+), 2958 deletions(-)
Abdun Nihaal (3):
wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper()
wifi: rtl818x: Fix potential memory leaks in rtl8180_init_rx_ring()
fbdev: ssd1307fb: fix potential page leak in ssd1307fb_probe()
Ahelenia Ziemiańska (1):
power: supply: apm_power: only unset own apm_get_power_status
Akhil P Oommen (1):
drm/msm/a6xx: Fix out of bound IO access in a6xx_get_gmu_registers
Alan Stern (1):
HID: core: Harden s32ton() against conversion to 0 bits
Alex Deucher (1):
drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state()
Alexander Potapenko (2):
kmsan: introduce __no_sanitize_memory and __no_kmsan_checks
x86: kmsan: don't instrument stack walking functions
Alexander Stein (1):
ASoC: fsl_sai: Add missing registers to cache default
Alexander Sverdlin (2):
locking/spinlock/debug: Fix data-race in do_raw_write_lock
counter: interrupt-cnt: Drop IRQF_NO_THREAD flag
Alexander Usyskin (1):
mei: me: add nova lake point S DID
Alexandre Knecht (1):
bridge: fix C-VLAN preservation in 802.1ad vlan_tunnel egress
Alexandru Gagniuc (1):
remoteproc: qcom_q6v5_wcss: fix parsing of qcom,halt-regs
Alexei Starovoitov (1):
selftests/bpf: Fix failure paths in send_signal test
Alexey Kodanev (1):
net: stmmac: fix rx limit check in stmmac_rx_zc()
Alexey Nepomnyashih (1):
ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock()
Alexey Simakov (2):
dm-raid: fix possible NULL dereference with undefined raid type
broadcom: b44: prevent uninitialized value usage
Alison Schofield (1):
tools/testing/nvdimm: Use per-DIMM device handle
Alok Tiwari (4):
virtio_vdpa: fix misleading return in void function RDMA/bnxt_re: Fix incorrect BAR check in bnxt_qplib_map_creq_db() RDMA/bnxt_re: Fix IB_SEND_IP_CSUM handling in post_send
net: marvell: prestera: fix NULL dereference on devlink_alloc() failure
Alvaro Gamez Machado (1):
spi: xilinx: increase number of retries before declaring stall
Amir Goldstein (1):
fsnotify: do not generate ACCESS/MODIFY events on child for special files
Amitai Gottlieb (1):
firmware: arm_scmi: Fix unused notifier-block in unregister
Andrea Righi (1):
selftests: net: test_vxlan_under_vrf: fix HV connectivity test
Andres J Rosa (1):
ALSA: uapi: Fix typo in asound.h comment
Andrew Morton (1):
genalloc.h: fix htmldocs warning
Andrey Vatoropin (1):
scsi: target: Reset t_task_cdb pointer in error case
Andrzej Hajda (1):
drm/i915/selftests: fix subtraction overflow bug
Andy Shevchenko (3):
lib/vsprintf: Check pointer before dereferencing in time_and_date()
nfsd: Mark variable __maybe_unused to avoid W=1 build break
pinctrl: qcom: lpass-lpi: Remove duplicate assignment of of_gpio_n_cells
Anshumali Gaur (1):
octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"
Anton Khirnov (1):
platform/x86: asus-wmi: use brightness_set_blocking() for kbd led
Armin Wolf (3):
platform/x86: acer-wmi: Ignore backlight event
fs/nls: Fix utf16 to utf8 conversion
fs/nls: Fix inconsistency between utf8_to_utf32() and utf32_to_utf8()
Arnd Bergmann (1):
x86: remove __range_not_ok()
Azeem Shaikh (1):
leds: Replace all non-returning strlcpy with strscpy
Bagas Sanjaya (2):
Documentation: process: Also mention Sasha Levin as stable tree maintainer
net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct
Baokun Li (1):
ext4: align max orphan file size with e2fsprogs limit
Bart Van Assche (1):
scsi: target: Do not write NUL characters into ASCII configfs output
Bartosz Golaszewski (1):
pinctrl: qcom: lpass-lpi: mark the GPIO controller as sleeping
Ben Collins (1):
powerpc/addnote: Fix overflow on 32-bit builds
Byungchul Park (1):
jbd2: use a weaker annotation in journal handling
Cezary Rojewski (1):
ASoC: Intel: catpt: Fix error path in hw_params()
Chancel Liu (1):
ASoC: fsl_xcvr: Add support for i.MX93 platform
Chao Yu (5):
f2fs: fix return value of f2fs_recover_fsync_data()
f2fs: fix to detect recoverable inode during dryrun of find_fsync_dnodes()
f2fs: use global inline_xattr_slab instead of per-sb slab cache
f2fs: fix to propagate error from f2fs_enable_checkpoint()
f2fs: fix to avoid updating zero-sized extent in extent cache
Chen Changcheng (2):
usb: usb-storage: No additional quirks need to be added to the EL-R12 optical drive.
usb: usb-storage: Maintain minimal modifications to the bcdDevice range.
Chen Hanxiao (1):
NFS: trace: show TIMEDOUT instead of 0x6e
Chia-Lin Kao (AceLan) (1):
platform/x86/intel/hid: Add Dell Pro Rugged 10/12 tablet to VGBS DMI quirks
Christian Hitz (2):
leds: leds-lp50xx: Allow LED 0 to be added to module bank
leds: leds-lp50xx: LP5009 supports 3 modules for a total of 9 LEDsChristoffer Sandberg (1):
Input: i8042 - add TUXEDO InfinityBook Max Gen10 AMD to i8042 quirk table
Christophe JAILLET (1):
ASoC: stm32: sai: Use the devm_clk_get_optional() helper
Christophe Leroy (2):
powerpc/32: Fix unpaired stwcx. on interrupt exit
spi: fsl-cpm: Check length parity before switching to 16 bit mode
Chuck Lever (3):
NFSD: Clear SECLABEL in the suppattr_exclcreat bitmap
NFSD: NFSv4 file creation neglects setting ACL
NFSD: Remove NFSERR_EAGAIN
Colin Ian King (1):
media: pvrusb2: Fix incorrect variable used in trace message
Cong Zhang (1):
blk-mq: Abort suspend when wakeup events are pending
Cryolitia PukNgae (1):
ACPICA: Avoid walking the Namespace if start_node is NULL
Dai Ngo (1):
NFSD: use correct reservation type in nfsd4_scsi_fence_client
Dan Carpenter (2):
drm/amd/display: Fix logical vs bitwise bug in get_embedded_panel_info_v2_1()
nfc: pn533: Fix error code in pn533_acr122_poweron_rdr()
Daniel Wagner (1):
nvme-fc: don't hold rport lock when putting ctrl
Daniil Tatianin (2):
net/ethtool/ioctl: remove if n_stats checks from ethtool_get_phy_stats net/ethtool/ioctl: split ethtool_get_phy_stats into multiple helpers
Dapeng Mi (1):
perf/x86/intel: Correct large PEBS flag check
Dave Kleikamp (1):
dma/pool: eliminate alloc_pages warning in atomic_pool_expand
David Hildenbrand (4):
powerpc/pseries/cmm: call balloon_devinfo_init() also without CONFIG_BALLOON_COMPACTION mm/balloon_compaction: we cannot have isolated pages in the balloon list mm/balloon_compaction: convert balloon_page_delete() to balloon_page_finalize() powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages
Deepakkumar Karn (1):
net: usb: rtl8150: fix memory leak on usb_submit_urb() failure
Deepanshu Kartikey (5):
ext4: refresh inline data size before write operations
btrfs: fix memory leak of fs_devices in degraded seed device path
f2fs: invalidate dentry cache on failed whiteout creation
net: usb: asix: validate PHY address before use
net: nfc: fix deadlock between nfc_unregister_device and rfkill_fop_write
Di Zhu (1):
netdev: preserve NETIF_F_ALL_FOR_ALL across TSO updates
Diogo Ivo (1):
usb: phy: Initialize struct usb_phy list_head
Dmitry Antipov (2):
ocfs2: relax BUG() to ocfs2_error() in __ocfs2_move_extent()
ocfs2: fix memory leak in ocfs2_merge_rec_left()
Dmitry Skorodumov (1):
ipvlan: Ignore PACKET_LOOPBACK in handle_mode_l2()
Donet Tom (1):
powerpc/64s/slb: Fix SLB multihit issue during SLB preload
Dong Chenchen (1):
page_pool: Fix use-after-free in page_pool_recycle_in_ring
Dongli Zhang (1):
KVM: nVMX: Immediately refresh APICv controls as needed on nested VM-Exit
Doug Berger (1):
sched/deadline: only set free_cpus for online runqueues
Duoming Zhou (3):
media: TDA1997x: Remove redundant cancel_delayed_work in probe
media: i2c: ADV7604: Remove redundant cancel_delayed_work in probe
media: i2c: adv7842: Remove redundant cancel_delayed_work in probe
Edward Adam Davis (3):
ntfs3: init run lock for extend inode fs/ntfs3: out1 also needs to put mi fs/ntfs3: Prevent memory leaks in add sub record
Eli Cohen (1):
vdpa: Sync calls set/get config/status with cf_mutex
Eric Biggers (2):
lib/crypto: x86/blake2s: Fix 32-bit arg treated as 64-bit lib/crypto: aes: Fix missing MMU protection for AES S-box
Eric Dumazet (3):
ip6_gre: make ip6gre_header() robust
wifi: avoid kernel-infoleak from struct iw_point
arp: do not assume dev_hard_header() does not change skb->head
Eric Whitney (1):
ext4: minor defrag code improvements
Ethan Nelson-Moore (1):
net: usb: sr9700: fix incorrect command used to write single register
Fabio Porcedda (2):
USB: serial: option: add Telit Cinterion FE910C04 new compositions
USB: serial: option: move Telit 0x10c7 composition in the right place
Fernando Fernandez Mancera (5):
netfilter: nf_conncount: rework API to use sk_buff directly
netfilter: nft_connlimit: update the count if add was skipped
netfilter: nf_conncount: fix leaked ct in error paths
netfilter: nft_synproxy: avoid possible data-race on update operation
netfilter: nf_conncount: update last_gc only when GC has been performed
Francesco Lavra (1):
iio: imu: st_lsm6dsx: Fix measurement unit for odr struct member
Frank Li (1):
i3c: fix refcount inconsistency in i3c_master_register
Gabor Juhos (1):
regulator: core: disable supply if enabling main regulator fails
Gabriel Krisman Bertazi (1):
ext4: fix error message when rejecting the default hash
Gal Pressman (2):
ethtool: Avoid overflowing userspace buffer on stats query net/mlx5e: Don't print error message due to invalid module
Gongwei Li (1):
Bluetooth: btusb: Add new VID/PID 13d3/3533 for RTL8821CE
Gopi Krishna Menon (1):
usb: raw-gadget: cap raw_io transfer length to KMALLOC_MAX_SIZE
Greg Kroah-Hartman (2):
Revert "iommu/amd: Skip enabling command/event buffers for kdump" Linux 5.15.198
Gregory Herrero (1):
i40e: validate ring_len parameter against hardware-specific values
Guangshuo Li (1):
e1000: fix OOB in e1000_tbi_should_accept()
Gui-Dong Han (3):
hwmon: (max16065) Use local variable to avoid TOCTOU
hwmon: (w83791d) Convert macros to functions to avoid TOCTOU
hwmon: (w83l786ng) Convert macros to functions to avoid TOCTOU
Guido Günther (1):
drm/panel: visionox-rm69299: Don't clear all mode flags
Haibo Chen (2):
ext4: clear i_state_flags when alloc inode
arm64: dts: add off-on-delay-us for usdhc2 regulator
Hans de Goede (1):
HID: logitech-dj: Remove duplicate error logging
Hao Chen (1):
net: hns3: Align type of some variables with their print type
Haotian Zhang (18):
pinctrl: stm32: fix hwspinlock resource leak in probe function
mfd: da9055: Fix missing regmap_del_irq_chip() in error path
scsi: stex: Fix reboot_notifier leak in probe error path
clk: renesas: r9a06g032: Fix memory leak in error path
ACPI: property: Fix fwnode refcount leak in acpi_fwnode_graph_parse_endpoint()
scsi: sim710: Fix resource leak by adding missing ioport_unmap() calls
leds: netxbig: Fix GPIO descriptor leak in error paths
watchdog: wdat_wdt: Fix ACPI table leak in probe function
mfd: mt6397-irq: Fix missing irq_domain_remove() in error path
mfd: mt6358-irq: Fix missing irq_domain_remove() in error path
crypto: ccree - Correctly handle return of sg_nents_for_len
pinctrl: single: Fix incorrect type for error return variable
ASoC: bcm: bcm63xx-pcm-whistler: Check return value of of_dma_configure() dm log-writes: Add missing set_freezable() for freezable kthread
ALSA: vxpocket: Fix resource leak in vxpocket_probe error path
ALSA: pcmcia: Fix resource leak in snd_pdacf_probe error path
media: rc: st_rc: Fix reset control resource leak
media: cec: Fix debugfs leak on bus_register() failure
Haotien Hsu (1):
usb: gadget: tegra-xudc: Always reinitialize data toggle when clear halt
Haoxiang Li (5):
usb: renesas_usbhs: Fix a resource leak in usbhs_pipe_malloc()
fjes: Add missing iounmap in fjes_hw_init()
nfsd: Drop the client reference in client_states_open()
xfs: fix a memory leak in xfs_buf_item_init()
media: mediatek: vcodec: Fix a reference leak in mtk_vcodec_fw_vpu_init()
Heiko Carstens (2):
s390/smp: Fix fallback CPU detection
s390/ap: Don't leak debug feature files if AP instructions are not available
Helge Deller (1):
parisc: Do not reprogram affinitiy on ASP chip
Herbert Xu (1):
crypto: seqiv - Do not use req->iv after crypto_aead_encrypt
Honggang LI (1):
RDMA/rtrs: Fix clt_path::max_pages_per_mr calculation
Hongyu Xie (1):
usb: xhci: limit run_graceperiod for only usb 3.0 devices
Horatiu Vultur (1):
phy: mscc: Fix PTP for VSC8574 and VSC8572
Ian Abbott (1):
comedi: c6xdigio: Fix invalid PNP driver unregistration
Ian Ray (1):
ARM: dts: imx6q-ba16: fix RTC interrupt level
Ido Schimmel (3):
mlxsw: spectrum_router: Fix neighbour use-after-free
mlxsw: spectrum_mr: Fix use-after-free when updating multicast route stats
ipv4: Fix reference count leak when using error routes with nexthop objects
Ilya Dryomov (4):
libceph: make decode_pool() more resilient against corrupted osdmaps
libceph: replace overzealous BUG_ON in osdmap_apply_incremental()
libceph: return the handler error from mon_handle_auth_done()
libceph: make calc_target() set t->paused, not just clear it
Ilya Maximets (1):
net: openvswitch: fix middle attribute validation in push_nsh() action
Ivan Abramov (3):
power: supply: wm831x: Check wm831x_set_bits() return value
media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
media: msp3400: Avoid possible out-of-bounds array accesses in msp3400c_thread()
Ivan Stepchenko (1):
mtd: lpddr_cmds: fix signed shifts in lpddr_cmds
Ivan Vecera (2):
i40e: Refactor argument of several client notification functions
i40e: Refactor argument of i40e_detect_recover_hung()
Jacky Chou (1):
net: mdio: aspeed: add dummy read to avoid read-after-write issue
Jakub Kicinski (1):
eth: bnxt: move and rename reset helpers
Jamal Hadi Salim (1):
net/sched: ets: Always remove class from active list before deleting in ets_qdisc_change
Jang Ingyu (1):
RDMA/core: Fix logic error in ib_get_gids_from_rdma_hdr()
Janusz Krzysztofik (1):
drm/vgem-fence: Fix potential deadlock on release
Jared Kangas (1):
mmc: sdhci-esdhc-imx: add alternate ARCH_S32 dependency to Kconfig
Jarkko Sakkinen (2):
KEYS: trusted: Fix a memory leak in tpm2_load_cmd
tpm: Cap the number of PCR banks
Jason Gunthorpe (2):
RDMA/core: Check for the presence of LS_NLA_TYPE_DGID correctly RDMA/cm: Fix leaking the multicast GID table reference
Jason Yan (1):
ext4: factor out ext4_hash_info_init()
Jay Liu (1):
drm/mediatek: Fix CCORR mtk_ctm_s31_32_to_s1_n function issue
Jeongjun Park (2):
media: dvb-usb: dtv5100: fix out-of-bounds in dtv5100_i2c_msg()
media: vidtv: initialize local pointers upon transfer of memory ownership
Jerry Wu (1):
net: mscc: ocelot: Fix crash when adding interface under a lag
Jia Ston (1):
platform/x86: huawei-wmi: add keys for HONOR models
Jian Shen (3):
net: hns3: using the num_tqps in the vf driver to apply for resources
net: hns3: using the num_tqps to check whether tqp_index is out of range when vf get ring info from mbx
net: hns3: add VLAN id validation before using
Jianglei Nie (1):
staging: fbtft: core: fix potential memory leak in fbtft_probe_common()
Jim Mattson (1):
KVM: SVM: Mark VMCB_NPT as dirty on nested VMRUN
Jim Quinlan (1):
PCI: brcmstb: Fix disabling L0s capability
Jimmy Hu (1):
usb: gadget: udc: fix use-after-free in usb_gadget_state_work
Jinhui Guo (2):
ipmi: Fix the race between __scan_channels() and deliver_response()
ipmi: Fix __scan_channels() failing to rescan channels
Jiri Pirko (1):
team: fix check for port enabled in team_queue_override_port_prio_changed()
Jisheng Zhang (3):
usb: dwc2: disable platform lowlevel hw resources during shutdown
usb: dwc2: fix hang during shutdown if set as peripheral
usb: dwc2: fix hang during suspend if set as peripheral
Joanne Koong (1):
fuse: fix readahead reclaim deadlock
Johan Hovold (25):
USB: serial: ftdi_sio: match on interface number for jtag
USB: serial: belkin_sa: fix TIOCMBIS and TIOCMBIC
USB: serial: kobil_sct: fix TIOCMBIS and TIOCMBIC irqchip/qcom-irq-combiner: Fix section mismatch
phy: broadcom: bcm63xx-usbh: fix section mismatches
usb: phy: isp1301: fix non-OF device reference imbalance
amba: tegra-ahb: Fix device leak on SMMU enable
soc: qcom: ocmem: fix device leak on lookup
soc: amlogic: canvas: fix device leak on lookup
ASoC: stm32: sai: fix device leak on probe iommu/apple-dart: fix device leak on of_xlate() iommu/exynos: fix device leak on of_xlate() iommu/ipmmu-vmsa: fix device leak on of_xlate() iommu/mediatek-v1: fix device leak on probe_device() iommu/mediatek: fix device leak on of_xlate() iommu/omap: fix device leaks on probe_device() iommu/sun50i: fix device leak on of_xlate() iommu/tegra: fix device leak on probe_device()
mfd: altera-sysmgr: Fix device leak on sysmgr regmap lookup
usb: ohci-nxp: fix device leak on probe failure
media: vpif_capture: fix section mismatch iommu/qcom: fix device leak on of_xlate()
ASoC: stm32: sai: fix clk prepare imbalance on probe failure
ASoC: stm32: sai: fix OF node leak on probe
usb: gadget: lpc32xx_udc: fix clock imbalance in error path
Jonas Gorski (1):
net: dsa: b53: skip multicast entries for fdb_dump()
Jonathan Curley (1):
NFSv4/pNFS: Clear NFS_INO_LAYOUTCOMMIT in pnfs_mark_layout_stateid_invalid
Josef Bacik (1):
btrfs: don't rewrite ret from inode_permission
Joshua Rogers (3):
svcrdma: return 0 on success from svc_rdma_copy_inline_range
svcrdma: bound check rq_pages index in inline path
SUNRPC: svcauth_gss: avoid NULL deref on zero length gss_token in gss_read_proxy_verf
Josua Mayer (1):
clk: mvebu: cp110 add CLK_IGNORE_UNUSED to pcie_x10, pcie_x11 & pcie_x4
Jouni Malinen (1):
wifi: mac80211: Discard Beacon frames to non-broadcast address
Junjie Cao (1):
Input: ti_am335x_tsc - fix off-by-one error in wire_order validation
Junrui Luo (6):
ALSA: dice: fix buffer overflow in detect_stream_formats()
caif: fix integer underflow in cffrml_receive()
scsi: aic94xx: fix use-after-free in device removal path platform/x86: ibm_rtl: fix EBDA signature search pointer arithmetic
ALSA: wavefront: Clear substream pointers on close
ALSA: wavefront: Fix integer overflow in sample size validation
Justin Stitt (1):
KVM: arm64: sys_regs: disable -Wuninitialized-const-pointer warning
Kai Song (1):
drm/i915/selftests: Fix inconsistent IS_ERR and PTR_ERR
Kalesh AP (1):
RDMA/bnxt_re: Fix to use correct page size for PDE table
Karina Yankevich (1):
ext4: xattr: fix null pointer deref in ext4_raw_inode()
Kees Cook (1):
compiler-gcc.h: Define __SANITIZE_ADDRESS__ under hwaddress sanitizer
Kemeng Shi (1):
ext4: remove unused return value of __mb_check_buddy
Kohei Enju (1):
iavf: fix off-by-one issues in iavf_config_rss_reg()
Konstantin Andreev (1):
smack: fix bug: unprivileged task can create labels
Konstantin Komarov (5):
fs/ntfs3: Remove unused mi_mark_free
fs/ntfs3: Add new argument is_mft to ntfs_mark_rec_free fs/ntfs3: Make ni_ins_new_attr return error fs/ntfs3: Support timestamps prior to epoch fs/ntfs3: fix mount failure for sparse runs in run_unpack()
Krishna Yarlagadda (4):
spi: tegra210-quad: use device_reset method
spi: tegra210-quad: add new chips to compatible
spi: tegra210-quad: combined sequence mode
spi: tegra210-quad: Fix validate combined sequence
Krzysztof Czurylo (2):
RDMA/irdma: Fix data race in irdma_sc_ccq_arm RDMA/irdma: Fix data race in irdma_free_pble
Krzysztof Kozlowski (1):
mfd: max77620: Fix potential IRQ chip conflict when probing two devices
Kuninori Morimoto (1):
ASoC: stm: Use dev_err_probe() helper
Kuniyuki Iwashima (1):
sctp: Defer SCTP_DBG_OBJCNT_DEC() to sctp_destroy_sock().
Laibin Qiu (1):
blk-throttle: Set BIO_THROTTLED when bio has been throttled
Laurent Pinchart (1):
media: v4l2-mem2mem: Fix outdated documentation
Leo Yan (3):
coresight: etm4x: Extract the trace unit controlling
coresight: etm4x: Add context synchronization before enabling trace
coresight: etm4x: Correct polling IDLE bit
Li Chen (1):
block: rate-limit capacity change info log
Li Qiang (2):
uio: uio_fsl_elbc_gpcm:: Add null pointer check to uio_fsl_elbc_gpcm_probe
via_wdt: fix critical boot hang due to unnamed resource allocation
Liu Xinpeng (1):
watchdog: wdat_wdt: Stop watchdog when uninstalling module
Liyuan Pang (1):
ARM: 9464/1: fix input-only operand modification in load_unaligned_zeropad()
Lizhi Xu (2):
usbip: Fix locking bug in RT-enabled kernels
ext4: filesystems without casefold feature cannot be mounted with siphash
Long Li (1):
macintosh/mac_hid: fix race condition in mac_hid_toggle_emumouse
Lorenzo Bianconi (2):
iio: imu: st_lsm6dsx: introduce st_lsm6dsx_device_set_enable routine
iio: imu: st_lsm6dsx: discard samples during filters settling time
Luca Ceresoli (1):
backlight: led-bl: Add devlink to supplier LEDs
Lukas Wunner (1):
PCI/PM: Reinstate clearing state_saved in legacy and !PM codepaths
Lyude Paul (1):
drm/nouveau/dispnv50: Don't call drm_atomic_get_crtc_state() in prepare_fb
Ma Ke (4):
RDMA/rtrs: server: Fix error handling in get_or_create_srv
USB: lpc32xx_udc: Fix error handling in probe
intel_th: Fix error handling in intel_th_output_open
i2c: amd-mp2: fix reference leak in MP2 PCI device
Magne Bruno (1):
serial: add support of CPCI cards
Mainak Sen (1):
gpu: host1x: Fix race in syncpt alloc/free
Manivannan Sadhasivam (1):
dt-bindings: PCI: amlogic: Fix the register name of the DBI region
Mans Rullgard (1):
backlight: led_bl: Take led_access lock when required
Marek Szyprowski (1):
media: samsung: exynos4-is: fix potential ABBA deadlock on init
Mark Pearson (1):
usb: typec: ucsi: Handle incorrect num_connectors capability
Martin Nybo Andersen (1):
kbuild: Use CRC32 and a 1MiB dictionary for XZ compressed modules
Mathias Nyman (1):
xhci: dbgtty: use IDR to support several dbc instances.
Matt Bobrowski (2):
selftests/bpf: skip test_perf_branches_hw() on unsupported platforms selftests/bpf: Improve reliability of test_perf_branches_no_hw()
Matthew Wilcox (Oracle) (1):
idr: fix idr_alloc() returning an ID out of range
Matthias Schiffer (1):
ti-sysc: allow OMAP2 and OMAP4 timers to be reserved on AM33xx
Matthieu Baerts (NGI0) (1):
mptcp: pm: ignore unknown endpoint flags
Matthijs Kooijman (1):
pinctrl: single: Fix PIN_CONFIG_BIAS_DISABLE handling
Mauro Carvalho Chehab (3):
efi/cper: Add a new helper function to print bitmasks efi/cper: Adjust infopfx size to accept an extra space efi/cper: align ARM CPER type with UEFI 2.9A/2.10 specs
Maximilian Immanuel Brandtner (1):
virtio_console: fix order of fields cols and rows
Miaohe Lin (1):
mm/balloon_compaction: make balloon page compaction callbacks static
Miaoqian Lin (4):
usb: dwc3: of-simple: fix clock resource leak in dwc3_of_simple_probe
cpufreq: nforce2: fix reference count leak in nforce2
media: renesas: rcar_drif: fix device node reference leak in rcar_drif_bond_enabled drm/pl111: Fix error handling in pl111_amba_probe
Michael Margolin (1):
RDMA/efa: Remove possible negative shift
Michael S. Tsirkin (1):
virtio: fix virtqueue_set_affinity() docs
Michal Pecio (1):
usb: xhci: Apply the link chain quirk on NEC isoc endpoints
Michal Rábek (1):
scsi: sg: Fix occasional bogus elapsed time that exceeds timeout
Michal Schmidt (1):
RDMA/irdma: avoid invalid read in irdma_net_event
Mike Snitzer (1):
nfs_common: factor out nfs_errtbl and nfs_stat_to_errno
Morduan Zang (1):
efi/cper: Fix cper_bits_to_str buffer handling and return value
Namhyung Kim (1):
perf tools: Fix split kallsyms DSO counting
Naoki Ueki (1):
HID: elecom: Add support for ELECOM M-XT3URBK (018F)
Navaneeth K (2):
staging: rtl8723bs: fix stack buffer overflow in OnAssocReq IE parsing
staging: rtl8723bs: fix out-of-bounds read in OnBeacon ESR IE parsing
Neil Armstrong (1):
dt-bindings: PCI: convert amlogic,meson-pcie.txt to dt-schema
NeilBrown (5):
NFS: don't unhash dentry during unlink/rename
lockd: fix vfs_test_lock() calls
nfsd: provide locking for v4_end_grace
NFS: unlink/rmdir shouldn't call d_delete() twice on ENOENT
NFS: add barriers when testing for NFS_FSDATA_BLOCKED
Nicklas Bo Jensen (1):
netfilter: nf_conncount: garbage collection is not skipped when jiffies wrap around
Nicolas Dufresne (1):
media: verisilicon: Protect G2 HEVC decoder against invalid DPB index
Nicolas Ferre (1):
ARM: dts: microchip: sama7g5: fix uart fifo size to 32
Nikita Zhandarovich (3):
comedi: pcl818: fix null-ptr-deref in pcl818_ai_cancel()
comedi: multiq3: sanitize config options in multiq3_attach()
comedi: check device's attached status in compat ioctls
Niklas Neronin (1):
usb: xhci: move link chain bit quirk checks into one helper function.
Oliver Neukum (1):
usb: chaoskey: fix locking for O_NONBLOCK
Ondrej Mosnacek (2):
fs_context: drop the unused lsm_flags member bpf, arm64: Do not audit capability check in do_jit()
Pablo Neira Ayuso (1):
netfilter: flowtable: check for maximum number of encapsulations in bridge vlan
Parav Pandit (2):
vdpa: Introduce and use vdpa device get, set config helpers
vdpa: Introduce query of device config layout
Peng Fan (3):
firmware: imx: scu-irq: fix OF node leak in
firmware: imx: scu-irq: Init workqueue before request mbox channel
firmware: imx: scu-irq: Set mu_resource_id before get handle
Pengjie Zhang (1):
ACPI: CPPC: Fix missing PCC check for guaranteed_perf
Peter Zijlstra (1):
x86/ptrace: Always inline trivial accessors
Petko Manolov (1):
net: usb: pegasus: fix memory leak in update_eth_regs_async()
Ping Cheng (1):
HID: input: map HID_GD_Z to ABS_DISTANCE for stylus/pen
Potin Lai (1):
net: mdio: aspeed: move reg accessing part into separate functions
Praveen Talari (1):
pinctrl: qcom: msm: Fix deadlock in pinmux configuration
Prithvi Tambewagh (2):
ocfs2: fix kernel BUG in ocfs2_find_victim_chain
io_uring: fix filename leak in __io_openat_prep()
Przemyslaw Korba (1):
i40e: fix scheduling in set_rx_mode
Pwnverse (1):
net: rose: fix invalid array index in rose_kill_by_device()
Qu Wenruo (1):
btrfs: scrub: always update btrfs_scrub_progress::last_physical
Rafael J. Wysocki (1):
PM: runtime: Do not clear needs_force_resume with enabled runtime PM
Randy Dunlap (1):
backlight: lp855x: Fix lp855x.h kernel-doc warnings
Raphael Pinsonneault-Thibeault (2):
ntfs3: fix uninit memory after failed mi_read in mi_format_new
Bluetooth: btusb: revert use of devm_kzalloc in btusb
Rene Rebe (3):
ps3disk: use memcpy_{from,to}_bvec index
floppy: fix for PAGE_SIZE != 4KB
fbdev: gbefb: fix to use physical address instead of dma address
René Rebe (4):
ACPI: processor_core: fix map_x2apic_id for amd-pstate on am4
fbdev: tcx.c fix mem_map to correct smem_start offset
r8169: fix RTL8117 Wake-on-Lan in DASH mode
HID: quirks: work around VID/PID conflict for appledisplay
Ria Thomas (1):
wifi: ieee80211: correct FILS status codes
Ritesh Harjani (IBM) (1):
powerpc/64s/ptdump: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format
Robert-Ionut Alexa (1):
dpaa2-mac: bail if the dpmacs fwnode is not found
Robin Gong (1):
spi: imx: keep dma request disabled before dma transfer setup
Sabrina Dubroca (4):
xfrm: delete x->tunnel as we delete x
Revert "xfrm: destroy xfrm_state synchronously on net exit path"
xfrm: also call xfrm_state_delete_tunnel at destroy time for states that were never added
xfrm: flush all states in xfrm_state_fini
Sakari Ailus (1):
ACPI: property: Use ACPI functions in acpi_graph_get_next_endpoint() only
Sam James (1):
alpha: don't reference obsolete termio struct for TC* constants
Sarthak Garg (1):
mmc: sdhci-msm: Avoid early clock doubling during HS400 transition
Scott Mayhew (1):
NFSv4: ensure the open stateid seqid doesn't go backwards
Sean Christopherson (4):
KVM: x86: WARN if hrtimer callback for periodic APIC timer fires with period=0
KVM: nSVM: Set exit_code_hi to -1 when synthesizing SVM_EXIT_ERR (failed VMRUN)
KVM: nSVM: Clear exit_code_hi in VMCB when synthesizing nested VM-Exits
KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
Sean Nyekjaer (1):
pwm: stm32: Always program polarity
Sebastian Andrzej Siewior (1):
ARM: 9461/1: Disable HIGHPTE on PREEMPT_RT kernels
SeongJae Park (10):
mm/damon/tests/vaddr-kunit: handle alloc failures in damon_test_split_evenly_fail() mm/damon/tests/vaddr-kunit: handle alloc failures on damon_do_test_apply_three_regions() mm/damon/tests/vaddr-kunit: handle alloc failures on damon_test_split_evenly_succ() mm/damon/tests/core-kunit: handle allocation failures in damon_test_regions() mm/damon/tests/core-kunit: handle alloc failures on damon_test_split_at() mm/damon/tests/core-kunit: handle alloc failures on dasmon_test_merge_regions_of() mm/damon/tests/core-kunit: handle alloc failures on damon_test_merge_two() mm/damon/tests/core-kunit: handle memory failure from damon_test_target() mm/damon/tests/core-kunit: handle alloc failures on damon_test_split_regions_of() mm/damon/tests/core-kunit: handle memory alloc failure from damon_test_aggregate()
Sergey Bashirov (1):
NFSD/blocklayout: Fix minlength check in proc_layoutget
Sergey Shtylyov (1):
mmc: core: use sysfs_emit() instead of sprintf()
Seungjin Bae (2):
USB: Fix descriptor count when handling invalid MBIM extended descriptor
wifi: rtl818x: rtl8187: Fix potential buffer underflow in rtl8187_rx_cb()
Shaurya Rane (1):
net/hsr: fix NULL pointer dereference in prp_get_untagged_frame()
Shawn Lin (1):
PCI: dwc: Fix wrong PORT_LOGIC_LTSSM_STATE_MASK definition
Shay Drory (3):
net/mlx5: fw_tracer, Add support for unrecognized string net/mlx5: fw_tracer, Validate format string parameters net/mlx5: fw_tracer, Handle escaped percent properly
Shengjiu Wang (5):
ASoC: fsl_xcvr: Add Counter registers
ASoC: fsl_xcvr: clear the channel status control memory
ASoC: ak4458: Disable regulator when error happens
ASoC: ak5558: Disable regulator when error happens
ASoC: fsl_xcvr: get channel status data when PHY is not exists
Shigeru Yoshida (2):
ipv6: Fix potential uninit-value access in __ip6_make_skb()
ipv4: Fix uninit-value access in __ip_make_skb()
Shipei Qu (1):
ALSA: usb-mixer: us16x08: validate meter packet indices
Shivani Agarwal (1):
crypto: af_alg - zero initialize memory allocated via sock_kmalloc
Shuhao Fu (1):
cpufreq: s5pv210: fix refcount leak
Siddharth Vadapalli (1):
PCI: keystone: Exit ks_pcie_probe() for invalid mode
Sidharth Seela (1):
ntfs3: Fix uninit buffer allocated by __getname()
Simon Richter (1):
drm/ttm: Avoid NULL pointer deref for evicted BOs
Slark Xiao (1):
USB: serial: option: add Foxconn T99W760
Slavin Liu (1):
ipvs: fix ipv4 null-ptr-deref in route error path
Song Liu (1):
livepatch: Match old_sympos 0 and 1 in klp_find_func()
Srijit Bose (1):
bnxt_en: Fix potential data corruption with HW GRO/LRO
Srinivas Kandagatla (4):
rpmsg: glink: fix rpmsg device leak
ASoC: qcom: q6asm-dai: perform correct state check before closing
ASoC: qcom: q6adm: the the copp device only during last instance
ASoC: qcom: qdsp6: q6asm-dai: set 10 ms period and buffer alignment.
Stanley Chu (1):
i3c: master: svc: Prevent incomplete IBI transaction
Stefan Kalscheuer (1):
leds: spi-byte: Use devm_led_classdev_register_ext()
Stefano Garzarella (1):
vhost/vsock: improve RCU read sections around vhost_vsock_get()
Stephan Gerhold (1):
iommu/arm-smmu-qcom: Enable use of all SMR groups when running bare-metal
Steven Rostedt (2):
ktest.pl: Fix uninitialized var in config-bisect.pl
tracing: Do not register unsupported perf events
Su Hui (1):
net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
Sumeet Pawnikar (2):
powercap: fix race condition in register_control_type()
powercap: fix sscanf() error return value handling
Sun Ke (1):
NFS: Fix missing unlock in nfs_unlink()
Suzuki K Poulose (2):
coresight: etm4x: Save restore TRFCR_EL1
coresight: etm4x: Use Trace Filtering controls dynamically
Sven Eckelmann (Plasma Cloud) (1):
wifi: mt76: Fix DTS power-limits on little endian systems
Sven Schnelle (2):
parisc: entry.S: fix space adjustment on interruption for 64-bit userspace
parisc: entry: set W bit for !compat tasks in syscall_restore_rfi()
Takashi Iwai (1):
ALSA: wavefront: Use standard print API
Tengda Wu (1):
x86/dumpstack: Prevent KASAN false positive warnings in __show_regs()
Tetsuo Handa (3):
bfs: Reconstruct file type when loading from disk
hfsplus: Verify inode mode when loading from disk
can: j1939: make j1939_session_activate() fail if device is no longer registered
Thadeu Lima de Souza Cascardo (1):
net: Remove RTNL dance for SIOCBRADDIF and SIOCBRDELIF.
Thomas Fourier (5):
platform/x86: msi-laptop: add missing sysfs_remove_group()
firewire: nosy: Fix dma_free_coherent() size RDMA/bnxt_re: fix dma_free_coherent() pointer
atm: Fix dma_free_coherent() size
net: 3com: 3c59x: fix possible null dereference in vortex_probe1()
Thomas Zimmermann (1):
drm/gma500: Remove unused helper psb_fbdev_fb_setcolreg()
Thorsten Blum (2):
crypto: asymmetric_keys - prevent overflow in asymmetric_key_generate_id
fbdev: pxafb: Fix multiple clamped values in pxafb_adjust_timing
Tianchu Chen (1):
char: applicom: fix NULL pointer dereference in ac_ioctl
Tim Harvey (1):
arm64: dts: imx8mm-venice-gw72xx: remove unused sdhc1 pinctrl
Toke Høiland-Jørgensen (1):
net: openvswitch: Avoid needlessly taking the RTNL on vport destroy
Tom Rix (1):
ethtool: use phydev variable
Tony Battersby (4):
scsi: qla2xxx: Fix lost interrupts with qlini_mode=disabled
scsi: qla2xxx: Fix initiator mode with qlini_mode=exclusive
scsi: qla2xxx: Use reinit_completion on mbx_intr_comp
scsi: Revert "scsi: qla2xxx: Perform lockless command completion in abort path"
Trond Myklebust (10):
NFS: Label the dentry with a verifier in nfs_rmdir() and nfs_unlink()
NFS: Avoid changing nlink when file removes and attribute updates race
NFSv4: Add some support for case insensitive filesystems
NFS: Fix the verifier for case sensitive filesystem in nfs_atomic_open()
NFS: Initialise verifiers for visible dentries in nfs_atomic_open() Revert "nfs: ignore SB_RDONLY when remounting nfs"
Revert "nfs: clear SB_RDONLY before getting superblock" Revert "nfs: ignore SB_RDONLY when mounting nfs"
NFS: Automounted filesystems should inherit ro,noexec,nodev,sync flags
NFS: Fix up the automount fs_context to use the correct cred
Tuo Li (1):
libceph: make free_choose_arg_map() resilient to partial allocation
Tzung-Bi Shih (1):
platform/chrome: cros_ec_ishtp: Fix UAF after unbinding driver
Udipto Goswami (1):
usb: dwc3: keep susphy enabled during exit to avoid controller faults
Uladzislau Rezki (Sony) (1):
dm-ebs: Mark full buffer dirty even on partial write
Uwe Kleine-König (1):
pwm: bcm2835: Make sure the channel is enabled after pwm_request()
Viacheslav Dubeyko (2):
hfsplus: fix volume corruption issue for generic/070
hfsplus: fix volume corruption issue for generic/073
Victor Nogueira (1):
net/sched: ets: Remove drr class from the active list if it changes to strict
Vishwaroop A (3):
spi: tegra210-quad: modify chip select (CS) deactivation
spi: tegra210-quad: Fix timeout handling
spi: tegra210-quad: Fix X1_X2_X4 encoding and support x4 transfers
Wang Liang (1):
netrom: Fix memory leak in nr_sendmsg()
Wei Fang (1):
net: enetc: fix build warning when PAGE_SIZE is greater than 128K
Weiming Shi (1):
net: sock: fix hardened usercopy panic in sock_recv_errqueue
Wen Xiong (1):
scsi: ipr: Enable/disable IRQD_NO_BALANCING during reset
Wenhua Lin (1):
serial: sprd: Return -EPROBE_DEFER when uart clock is not ready
Will Rosenberg (1):
ipv6: BUG() in pskb_expand_head() as part of calipso_skbuff_setattr()
William Tu (1):
netfilter: nf_conncount: reduce unnecessary GC
Xiang Mei (2):
net/sched: sch_cake: Fix incorrect qlen reduction in cake_drop net/sched: sch_qfq: Fix NULL deref when deactivating inactive aggregate in qfq_reset
Xingui Yang (1):
scsi: Revert "scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed"
Xuanqiang Luo (2):
rculist: Add hlist_nulls_replace_rcu() and hlist_nulls_replace_init_rcu()
inet: Avoid ehash lookup race in inet_ehash_insert()
Yang Chenzhi (1):
hfsplus: fix missing hfs_bnode_get() in __hfs_bnode_create
Yang Li (1):
csky: fix csky_cmpxchg_fixup not working
Ye Bin (4):
jbd2: avoid bug_on in jbd2_journal_get_create_access() when file system corrupted
jbd2: fix the inconsistency between checksum and data in memory for journal sb
ext4: introduce ITAIL helper
ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all()
Yeoreum Yun (1):
smc91x: fix broken irq-context in PREEMPT_RT
Yipeng Zou (1):
selftests/ftrace: traceonoff_triggers: strip off names
Yongjian Sun (2):
ext4: improve integrity checking in __mb_check_buddy by enhancing order-0 validation
ext4: fix incorrect group number assertion in mb_check_buddy
Yosry Ahmed (1):
KVM: nSVM: Propagate SVM_EXIT_CR0_SEL_WRITE correctly for LMSW emulation
Yu Kuai (2):
nbd: clean up return value checking of sock_xmit()
nbd: partition nbd_read_stat() into nbd_read_reply() and nbd_handle_reply()
Yuanfang Zhang (1):
coresight-etm4x: add isb() before reading the TRCSTATR
Yuezhang Mo (1):
exfat: fix remount failure in different process environments
Zack Rusin (1):
drm/vmwgfx: Fix a null-ptr access in the cursor snooper
Zhang Yi (1):
ext4: correct the checking of quota files before moving extents
Zhang Zekun (1):
usb: ohci-nxp: Use helper function devm_clk_get_enabled()
Zhao Yipeng (1):
ima: Handle error code returned by ima_filter_rule_match()
Zheng Qixing (2):
nbd: defer config put in recv_work
nbd: defer config unlock in nbd_genl_connect
Zhichi Lin (1):
scs: fix a wrong parameter in __scs_magic
Zhu Yanjun (1):
RDMA/core: Fix "KASAN: slab-use-after-free Read in ib_register_device" problem
Zilin Guan (2):
mt76: mt7615: Fix memory leak in mt7615_mcu_wtbl_sta_add()
netfilter: nf_tables: fix memory leak in nf_tables_newrule()
fuqiang wang (2):
KVM: x86: Explicitly set new periodic hrtimer expiration in apic_timer_fn()
KVM: x86: Fix VM hard lockup after prolonged inactivity with periodic HV timer
nieweiqiang (1):
crypto: hisilicon/qm - restore original qos values
shechenglong (1):
block: fix comment for op_is_zone_mgmt() to include RESET_ALL
sparkhuang (1):
regulator: core: Protect regulator_supply_alias_list with regulator_list_mutex
yuan.gao (1):
inet: ping: Fix icmp out counting
ziming zhang (1):
libceph: prevent potential out-of-bounds reads in handle_auth_done()
Łukasz Bartosik (1):
xhci: dbgtty: fix device unregister
Greg Kroah-Hartman
maintainerDocumentation/devicetree/bindings/pci/amlogic,axg-pcie.yaml new file +134 -0
@@ -0,0 +1,134 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/amlogic,axg-pcie.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic Meson AXG DWC PCIe SoC controller + +maintainers: + - Neil Armstrong <[email protected]> + +description: + Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. + +allOf: + - $ref: /schemas/pci/pci-bus.yaml# + - $ref: /schemas/pci/snps,dw-pcie-common.yaml# + +# We need a select here so we don't match all nodes with 'snps,dw-pcie' +select: + properties: + compatible: + enum: + - amlogic,axg-pcie + - amlogic,g12a-pcie + required: + - compatible + +properties: + compatible: + items: + - enum: + - amlogic,axg-pcie + - amlogic,g12a-pcie + - const: snps,dw-pcie + + reg: + items: + - description: Data Bus Interface registers + - description: Meson designed configuration registers + - description: PCIe configuration space + + reg-names: + items: + - const: dbi + - const: cfg + - const: config + + interrupts: + maxItems: 1 + + clocks: + items: + - description: PCIe GEN 100M PLL clock + - description: PCIe RC clock gate + - description: PCIe PHY clock + + clock-names: + items: + - const: pclk + - const: port + - const: general + + phys: + maxItems: 1 + + phy-names: + const: pcie + + resets: + items: + - description: Port Reset + - description: Shared APB reset + + reset-names: + items: + - const: port + - const: apb + + num-lanes: + const: 1 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - clock + - clock-names + - "#address-cells" + - "#size-cells" + - "#interrupt-cells" + - interrupt-map + - interrupt-map-mask + - ranges + - bus-range + - device_type + - num-lanes + - phys + - phy-names + - resets + - reset-names + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + pcie: pcie@f9800000 { + compatible = "amlogic,axg-pcie", "snps,dw-pcie"; + reg = <0xf9800000 0x400000>, <0xff646000 0x2000>, <0xf9f00000 0x100000>; + reg-names = "dbi", "cfg", "config"; + interrupts = <GIC_SPI 177 IRQ_TYPE_EDGE_RISING>; + clocks = <&pclk>, <&clk_port>, <&clk_phy>; + clock-names = "pclk", "port", "general"; + resets = <&reset_pcie_port>, <&reset_pcie_apb>; + reset-names = "port", "apb"; + phys = <&pcie_phy>; + phy-names = "pcie"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 179 IRQ_TYPE_EDGE_RISING>; + bus-range = <0x0 0xff>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + num-lanes = <1>; + ranges = <0x82000000 0 0 0xf9c00000 0 0x00300000>; + }; +...
Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt deleted +0 -70
70 lines not on this page · raw message
Documentation/filesystems/mount_api.rst +0 -1
@@ -79,7 +79,6 @@ context. This is represented by the fs_context structure:: unsigned int sb_flags; unsigned int sb_flags_mask; unsigned int s_iflags; - unsigned int lsm_flags; enum fs_context_purpose purpose:8; ... };
Documentation/process/2.Process.rst +4 -2
@@ -104,8 +104,10 @@ kernels go out with a handful of known regressions though, hopefully, none of them are serious. Once a stable release is made, its ongoing maintenance is passed off to the -"stable team," currently Greg Kroah-Hartman. The stable team will release -occasional updates to the stable release using the 5.x.y numbering scheme. +"stable team," currently consists of Greg Kroah-Hartman and Sasha Levin. The +stable team will release occasional updates to the stable release using the +5.x.y numbering scheme. + To be considered for an update release, a patch must (1) fix a significant bug, and (2) already be merged into the mainline for the next development kernel. Kernels will typically receive stable updates for a little more
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 15 -SUBLEVEL = 197 +SUBLEVEL = 198 EXTRAVERSION = NAME = Trick or Treat
arch/alpha/include/uapi/asm/ioctls.h +4 -4
@@ -23,10 +23,10 @@#define TCSETSW _IOW('t', 21, struct termios)#define TCSETSF _IOW('t', 22, struct termios) -#define TCGETA _IOR('t', 23, struct termio) -#define TCSETA _IOW('t', 24, struct termio) -#define TCSETAW _IOW('t', 25, struct termio) -#define TCSETAF _IOW('t', 28, struct termio) +#define TCGETA 0x40127417 +#define TCSETA 0x80127418 +#define TCSETAW 0x80127419 +#define TCSETAF 0x8012741c#define TCSBRK _IO('t', 29)#define TCXONC _IO('t', 30)
arch/arm/Kconfig +1 -1
@@ -1473,7 +1473,7 @@ config HIGHMEM config HIGHPTE bool "Allocate 2nd-level pagetables from highmem" if EXPERT - depends on HIGHMEM + depends on HIGHMEM && !PREEMPT_RT default y help The VM uses one page of physical memory for each page table.
arch/arm/boot/dts/imx6q-ba16.dtsi +1 -1
@@ -335,7 +335,7 @@ rtc@32 { pinctrl-0 = <&pinctrl_rtc>; reg = <0x32>; interrupt-parent = <&gpio4>; - interrupts = <10 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; }; };
arch/arm/boot/dts/sama7g5.dtsi +2 -2
@@ -375,7 +375,7 @@ uart4: serial@200 { dma-names = "tx", "rx"; atmel,use-dma-rx; atmel,use-dma-tx; - atmel,fifo-size = <16>; + atmel,fifo-size = <32>; status = "disabled"; }; };
@@ -400,7 +400,7 @@ uart7: serial@200 { dma-names = "tx", "rx"; atmel,use-dma-rx; atmel,use-dma-tx; - atmel,fifo-size = <16>; + atmel,fifo-size = <32>; status = "disabled"; }; };
arch/arm/include/asm/word-at-a-time.h +5 -5
@@ -66,7 +66,7 @@ static inline unsigned long find_zero(unsigned long mask)*/ static inline unsigned long load_unaligned_zeropad (const void *addr) { -unsigned long ret, offset; +unsigned long ret, tmp;/* Load word from unaligned pointer addr */ asm(
@@ -74,9 +74,9 @@ static inline unsigned long load_unaligned_zeropad(const void *addr)"2:\n" " .pushsection .text.fixup,\"ax\"\n" " .align 2\n" -"3: and %1, %2, #0x3\n" -" bic %2, %2, #0x3\n" -" ldr %0, [%2]\n" +"3: bic %1, %2, #0x3\n" +" ldr %0, [%1]\n" +" and %1, %2, #0x3\n" " lsl %1, %1, #0x3\n" #ifndef __ARMEB__" lsr %0, %0, %1\n"
@@ -89,7 +89,7 @@ static inline unsigned long load_unaligned_zeropad(const void *addr)" .align 3\n" " .long 1b, 3b\n" " .popsection" - : "=&r" (ret), "=&r" (offset) + : "=&r" (ret), "=&r" (tmp) : "r" (addr), "Qo" (*(unsigned long *)addr)); return ret;
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx.dtsi +0 -11
@@ -259,17 +259,6 @@ MX8MM_IOMUXC_UART4_TXD_UART4_DCE_TX 0x140 >; }; - pinctrl_usdhc1: usdhc1grp { - fsl,pins = < - MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 - MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 - MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 - MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 - MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 - MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 - >; - }; - pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190
arch/arm64/boot/dts/freescale/imx8qm-mek.dts +1 -0
@@ -34,6 +34,7 @@ reg_usdhc2_vmmc: usdhc2-vmmc { regulator-max-microvolt = <3000000>; gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>; enable-active-high; + off-on-delay-us = <4800>; }; };
arch/arm64/kvm/Makefile +3 -0
@@ -25,3 +25,6 @@ kvm-y := $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o \ vgic/vgic-its.o vgic/vgic-debug.o kvm-$(CONFIG_HW_PERF_EVENTS) += pmu-emul.o + +# Work around a false positive Clang 22 -Wuninitialized-const-pointer warning +CFLAGS_sys_regs.o := $(call cc-disable-warning, uninitialized-const-pointer)
arch/arm64/net/bpf_jit_comp.c +1 -1
@@ -341,7 +341,7 @@ static void __maybe_unused build_bhb_mitigation(struct jit_ctx *ctx) arm64_get_spectre_v2_state() == SPECTRE_VULNERABLE)return ; -if (capable (CAP_SYS_ADMIN )) +if (ns_capable_noaudit (&init_user_ns,CAP_SYS_ADMIN ))return ;if (supports_clearbhb (SCOPE_SYSTEM )) {
arch/csky/mm/fault.c +2 -2
@@ -45,8 +45,8 @@ static inline void csky_cmpxchg_fixup(struct pt_regs *regs)if (trap_no (regs) !=VEC_TLBMODIFIED )return ; -if (instruction_pointer (regs) == csky_cmpxchg_stw) -instruction_pointer_set (regs, csky_cmpxchg_ldw); +if (instruction_pointer (regs) == (unsigned long )&csky_cmpxchg_stw) +instruction_pointer_set (regs, (unsigned long )&csky_cmpxchg_ldw); return; }#endif
arch/parisc/kernel/asm-offsets.c +2 -0
@@ -260,6 +260,8 @@ int main(void)BLANK ();DEFINE (TIF_BLOCKSTEP_PA_BIT ,31 -TIF_BLOCKSTEP );DEFINE (TIF_SINGLESTEP_PA_BIT ,31 -TIF_SINGLESTEP ); +DEFINE (TIF_32BIT_PA_BIT ,31 -TIF_32BIT ); +BLANK ();DEFINE (ASM_PMD_SHIFT ,PMD_SHIFT );DEFINE (ASM_PGDIR_SHIFT ,PGDIR_SHIFT );
arch/parisc/kernel/entry.S +12 -4
@@ -1072,8 +1072,6 @@ ENTRY_CFI(intr_save) /* for os_hpmc */ STREG %r17, PT_IOR(%r29) #if defined(CONFIG_64BIT) - b,n intr_save2 - skip_save_ior: /* We have a itlb miss, and when executing code above 4 Gb on ILP64, we * need to adjust iasq/iaoq here in the same way we adjusted isr/ior
@@ -1082,10 +1080,17 @@ skip_save_ior: bb,COND(>=),n %r8,PSW_W_BIT,intr_save2 LDREG PT_IASQ0(%r29), %r16 LDREG PT_IAOQ0(%r29), %r17 - /* adjust iasq/iaoq */ + /* adjust iasq0/iaoq0 */ space_adjust %r16,%r17,%r1 STREG %r16, PT_IASQ0(%r29) STREG %r17, PT_IAOQ0(%r29) + + LDREG PT_IASQ1(%r29), %r16 + LDREG PT_IAOQ1(%r29), %r17 + /* adjust iasq1/iaoq1 */ + space_adjust %r16,%r17,%r1 + STREG %r16, PT_IASQ1(%r29) + STREG %r17, PT_IAOQ1(%r29) #else skip_save_ior: #endif
@@ -1908,6 +1913,10 @@ syscall_restore_rfi: extru,= %r19,TIF_BLOCKSTEP_PA_BIT,1,%r0 depi -1,7,1,%r20 /* T bit */ +#ifdef CONFIG_64BIT + extru,<> %r19,TIF_32BIT_PA_BIT,1,%r0 + depi -1,4,1,%r20 /* W bit */ +#endif STREG %r20,TASK_PT_PSW(%r1) /* Always store space registers, since sr3 can be changed (e.g. fork) */
@@ -1921,7 +1930,6 @@ syscall_restore_rfi: STREG %r25,TASK_PT_IASQ0(%r1) STREG %r25,TASK_PT_IASQ1(%r1) - /* XXX W bit??? */ /* Now if old D bit is clear, it means we didn't save all registers * on syscall entry, so do that now. This only happens on TRACEME * calls, or if someone attached to us while we were on a syscall.
arch/powerpc/boot/addnote.c +4 -3
@@ -68,8 +68,8 @@ static int e_class = ELFCLASS32;#define PUT_16BE (off, v)(buf[off] = ((v) >> 8) & 0xff, \ buf[(off) + 1] = (v) & 0xff)#define PUT_32BE (off, v)(PUT_16BE((off), (v) >> 16L), PUT_16BE((off) + 2, (v))) -#define PUT_64BE (off, v)((PUT_32BE((off), (v) >> 32L), \ - PUT_32BE((off) + 4, (v)))) +#define PUT_64BE (off, v)((PUT_32BE((off), (unsigned long long)(v) >> 32L), \ + PUT_32BE((off) + 4, (unsigned long long)(v))))#define GET_16LE (off) ((buf[off]) + (buf[(off)+1] << 8))#define GET_32LE (off) (GET_16LE(off) + (GET_16LE((off)+2U) << 16U))
@@ -78,7 +78,8 @@ static int e_class = ELFCLASS32;#define PUT_16LE (off, v) (buf[off] = (v) & 0xff, \ buf[(off) + 1] = ((v) >> 8) & 0xff)#define PUT_32LE (off, v) (PUT_16LE((off), (v)), PUT_16LE((off) + 2, (v) >> 16L)) -#define PUT_64LE (off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L)) +#define PUT_64LE (off, v) (PUT_32LE((off), (unsigned long long)(v)), \ + PUT_32LE((off) + 4, (unsigned long long)(v) >> 32L))#define GET_16 (off) (e_data == ELFDATA2MSB ? GET_16BE(off) : GET_16LE(off))#define GET_32 (off) (e_data == ELFDATA2MSB ? GET_32BE(off) : GET_32LE(off))
arch/powerpc/include/asm/book3s/64/mmu-hash.h +0 -1
@@ -524,7 +524,6 @@ void slb_dump_contents(struct slb_entry *slb_ptr);extern void slb_vmalloc_update (void );extern void slb_set_size (u16 size); -void preload_new_slb_context (unsigned long start,unsigned long sp);#endif /* __ASSEMBLY__ */ /*
arch/powerpc/kernel/entry_32.S +4 -6
@@ -314,10 +314,9 @@ interrupt_return: mtspr SPRN_SRR1,r12 BEGIN_FTR_SECTION + lwarx r0,0,r1 +END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX) stwcx. r0,0,r1 /* to clear the reservation */ -FTR_SECTION_ELSE - lwarx r0,0,r1 -ALT_FTR_SECTION_END_IFCLR(CPU_FTR_STCX_CHECKS_ADDRESS) lwz r3,_CCR(r1) lwz r4,_LINK(r1)
@@ -360,10 +359,9 @@ ALT_FTR_SECTION_END_IFCLR(CPU_FTR_STCX_CHECKS_ADDRESS) mtspr SPRN_SRR1,r12 BEGIN_FTR_SECTION + lwarx r0,0,r1 +END_FTR_SECTION_IFSET(CPU_FTR_NEED_PAIRED_STWCX) stwcx. r0,0,r1 /* to clear the reservation */ -FTR_SECTION_ELSE - lwarx r0,0,r1 -ALT_FTR_SECTION_END_IFCLR(CPU_FTR_STCX_CHECKS_ADDRESS) lwz r3,_LINK(r1) lwz r4,_CTR(r1)
arch/powerpc/kernel/process.c +0 -5
@@ -1794,8 +1794,6 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,return 0 ; } -void preload_new_slb_context (unsigned long start,unsigned long sp); -/* * Set up a thread for executing a new program */
@@ -1803,9 +1801,6 @@ void start_thread(struct pt_regs *regs, unsigned long start, unsigned long sp) {#ifdef CONFIG_PPC64 unsigned long load_addr = regs->gpr[2 ];/* saved by ELF_PLAT_INIT */ - -if (IS_ENABLED (CONFIG_PPC_BOOK3S_64 ) && !radix_enabled ()) -preload_new_slb_context (start, sp);#endif #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
arch/powerpc/mm/book3s64/internal.h +0 -1
@@ -13,7 +13,6 @@ static inline bool stress_slb(void)return static_branch_unlikely (&stress_slb_key); } -void slb_setup_new_exec (void );void exit_lazy_flush_tlb (struct mm_struct *mm,bool always_flush);
arch/powerpc/mm/book3s64/mmu_context.c +0 -2
@@ -147,8 +147,6 @@ static int hash__init_new_context(struct mm_struct *mm)void hash__setup_new_exec (void ) {slice_setup_new_exec (); - -slb_setup_new_exec (); }static int radix__init_new_context (struct mm_struct *mm)
arch/powerpc/mm/book3s64/slb.c +0 -88
94 lines not on this page · raw message
arch/powerpc/mm/ptdump/hashpagetable.c +6 -0
@@ -216,6 +216,8 @@ static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64 vpn =hpt_vpn (ea, vsid, ssize); hash =hpt_hash (vpn, shift, ssize); want_v =hpte_encode_avpn (vpn, psize, ssize); +if (cpu_has_feature (CPU_FTR_ARCH_300 )) + want_v =hpte_old_to_new_v (want_v);/* to check in the secondary hash table, we invert the hash */ if (!primary)
@@ -229,6 +231,10 @@ static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64/* HPTE matches */ *v =be64_to_cpu (hptep->v); *r =be64_to_cpu (hptep->r); +if (cpu_has_feature (CPU_FTR_ARCH_300 )) { + *v =hpte_new_to_old_v (*v, *r); + *r =hpte_new_to_old_r (*r); + }return 0 ; } ++hpte_group;
arch/powerpc/platforms/pseries/cmm.c +3 -2
@@ -550,7 +550,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,spin_lock_irqsave (&b_dev_info->pages_lock, flags);balloon_page_insert (b_dev_info, newpage); -balloon_page_delete (page); +__count_vm_event (BALLOON_MIGRATE ); b_dev_info->isolated_pages--;spin_unlock_irqrestore (&b_dev_info->pages_lock, flags);
@@ -560,6 +560,7 @@ static int cmm_migratepage(struct balloon_dev_info *b_dev_info,*/ plpar_page_set_active (page); +balloon_page_finalize (page);/* balloon page list reference */ put_page (page);
@@ -570,7 +571,6 @@ static int cmm_balloon_compaction_init(void) {int rc; -balloon_devinfo_init (&b_dev_info); b_dev_info.migratepage = cmm_migratepage; balloon_mnt =kern_mount (&balloon_fs);
@@ -624,6 +624,7 @@ static int cmm_init(void)if (!firmware_has_feature (FW_FEATURE_CMO ) && !simulate)return -EOPNOTSUPP ; +balloon_devinfo_init (&b_dev_info); rc =cmm_balloon_compaction_init ();if (rc)return rc;
arch/s390/kernel/smp.c +1 -0
@@ -754,6 +754,7 @@ static void __ref smp_get_core_info(struct sclp_core_info *info, int early)continue ; info->core[info->configured].core_id = address >> smp_cpu_mt_shift; + info->core[info->configured].type = boot_core_type; info->configured++; } info->combined = info->configured;
arch/x86/crypto/blake2s-core.S +2 -2
@@ -54,7 +54,7 @@ SYM_FUNC_START(blake2s_compress_ssse3) movdqa ROT16(%rip),%xmm12 movdqa ROR328(%rip),%xmm13 movdqu 0x20(%rdi),%xmm14 - movq %rcx,%xmm15 + movd %ecx,%xmm15 leaq SIGMA+0xa0(%rip),%r8 jmp .Lbeginofloop .align 32
@@ -179,7 +179,7 @@ SYM_FUNC_START(blake2s_compress_avx512) vmovdqu (%rdi),%xmm0 vmovdqu 0x10(%rdi),%xmm1 vmovdqu 0x20(%rdi),%xmm4 - vmovq %rcx,%xmm5 + vmovd %ecx,%xmm5 vmovdqa IV(%rip),%xmm14 vmovdqa IV+16(%rip),%xmm15 jmp .Lblake2s_compress_avx512_mainloop
arch/x86/events/core.c +1 -1
@@ -2790,7 +2790,7 @@ perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *restatic inline int valid_user_frame (const void __user *fp,unsigned long size) { -return (__range_not_ok (fp, size,TASK_SIZE ) ==0 ); +return __access_ok (fp, size); }static unsigned long get_segment_base (unsigned int segment)
arch/x86/events/intel/core.c +3 -1
@@ -3639,7 +3639,9 @@ static unsigned long intel_pmu_large_pebs_flags(struct perf_event *event)if (!event->attr.exclude_kernel) flags &= ~PERF_SAMPLE_REGS_USER ;if (event->attr.sample_regs_user & ~PEBS_GP_REGS ) - flags &= ~(PERF_SAMPLE_REGS_USER |PERF_SAMPLE_REGS_INTR ); + flags &= ~PERF_SAMPLE_REGS_USER ; +if (event->attr.sample_regs_intr & ~PEBS_GP_REGS ) + flags &= ~PERF_SAMPLE_REGS_INTR ;return flags; }
arch/x86/include/asm/ptrace.h +10 -10
@@ -109,12 +109,12 @@ convert_ip_to_linear(struct task_struct *child, struct pt_regs *regs);extern void send_sigtrap (struct pt_regs *regs,int error_code,int si_code); -static inline unsigned long regs_return_value (struct pt_regs *regs) +static __always_inline unsigned long regs_return_value (struct pt_regs *regs) {return regs->ax; } -static inline void regs_set_return_value (struct pt_regs *regs,unsigned long rc) +static __always_inline void regs_set_return_value(struct pt_regs *regs, unsigned long rc) { regs->ax = rc; }
@@ -195,34 +195,34 @@ static inline bool ip_within_syscall_gap(struct pt_regs *regs) }#endif -static inline unsigned long kernel_stack_pointer (struct pt_regs *regs) +static __always_inline unsigned long kernel_stack_pointer (struct pt_regs *regs) {return regs->sp; } -static inline unsigned long instruction_pointer (struct pt_regs *regs) +static __always_inline unsigned long instruction_pointer (struct pt_regs *regs) {return regs->ip; } -static inline void instruction_pointer_set (struct pt_regs *regs, -unsigned long val) +static __always_inline +void instruction_pointer_set(struct pt_regs *regs, unsigned long val) { regs->ip = val; } -static inline unsigned long frame_pointer (struct pt_regs *regs) +static __always_inline unsigned long frame_pointer (struct pt_regs *regs) {return regs->bp; } -static inline unsigned long user_stack_pointer (struct pt_regs *regs) +static __always_inline unsigned long user_stack_pointer (struct pt_regs *regs) {return regs->sp; } -static inline void user_stack_pointer_set (struct pt_regs *regs, -unsigned long val) +static __always_inline +void user_stack_pointer_set(struct pt_regs *regs, unsigned long val) { regs->sp = val; }
arch/x86/include/asm/uaccess.h +6 -4
@@ -16,8 +16,10 @@* Test whether a block of memory is a valid user space address. * Returns 0 if the range is valid, nonzero otherwise. */ -static inline bool __chk_range_not_ok (unsigned long addr,unsigned long size,unsigned long limit) +static inline bool __chk_range_not_ok (unsigned long addr,unsigned long size) { +unsigned long limit =TASK_SIZE_MAX ; +/* * If we have used "sizeof()" for the size, * we know it won't overflow the limit (but
@@ -35,10 +37,10 @@ static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unreturn unlikely (addr > limit); } -#define __range_not_ok (addr, size, limit) \ +#define __access_ok (addr, size) \ ({ \ __chk_user_ptr(addr); \ - __chk_range_not_ok((unsigned long __force)(addr), size, limit); \ + !__chk_range_not_ok((unsigned long __force)(addr), size); \ })#ifdef CONFIG_DEBUG_ATOMIC_SLEEP
@@ -69,7 +71,7 @@ static inline bool pagefault_disabled(void);#define access_ok (addr, size) \ ({ \ WARN_ON_IN_IRQ(); \ - likely(!__range_not_ok(addr, size, TASK_SIZE_MAX)); \ + likely(__access_ok(addr, size)); \ })extern int __get_user_1 (void );
arch/x86/kernel/dumpstack.c +27 -8
@@ -81,12 +81,6 @@ static int copy_code(struct pt_regs *regs, u8 *buf, unsigned long src,/* The user space code from other tasks cannot be accessed. */ if (regs !=task_pt_regs (current))return -EPERM ; -/* -* Make sure userspace isn't trying to trick us into dumping kernel -* memory by pointing the userspace instruction pointer at it. -*/ -if (__chk_range_not_ok (src, nbytes,TASK_SIZE_MAX )) -return -EINVAL ;/* * Even if named copy_from_user_nmi() this can be invoked from
@@ -183,8 +177,14 @@ static void show_regs_if_on_stack(struct stack_info *info, struct pt_regs *regs, } } -static void show_trace_log_lvl (struct task_struct *task,struct pt_regs *regs, -unsigned long *stack,const char *log_lvl) +/* +* This function reads pointers from the stack and dereferences them. The +* pointers may not have their KMSAN shadow set up properly, which may result +* in false positive reports. Disable instrumentation to avoid those. +*/ +__no_kmsan_checks +static void __show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs, +unsigned long *stack,const char *log_lvl) {struct unwind_state state;struct stack_info stack_info = {0 };
@@ -305,6 +305,25 @@ static void show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs, } } +static void show_trace_log_lvl (struct task_struct *task,struct pt_regs *regs, +unsigned long *stack,const char *log_lvl) +{ +/* +* Disable KASAN to avoid false positives during walking another +* task's stacks, as values on these stacks may change concurrently +* with task execution. +*/ +bool disable_kasan = task && task != current; + +if (disable_kasan) +kasan_disable_current (); + +__show_trace_log_lvl (task, regs, stack, log_lvl); + +if (disable_kasan) +kasan_enable_current (); +} +void show_stack (struct task_struct *task,unsigned long *sp,const char *loglvl) {
arch/x86/kernel/stacktrace.c +1 -1
@@ -90,7 +90,7 @@ copy_stack_frame(const struct stack_frame_user __user *fp, {int ret; -if (__range_not_ok (fp,sizeof (*frame),TASK_SIZE )) +if (!__access_ok (fp,sizeof (*frame)))return 0 ; ret =1 ;
arch/x86/kernel/unwind_frame.c +11 -0
@@ -183,6 +183,16 @@ static struct pt_regs *decode_frame_pointer(unsigned long *bp) }#endif +/* +* While walking the stack, KMSAN may stomp on stale locals from other +* functions that were marked as uninitialized upon function exit, and +* now hold the call frame information for the current function (e.g. the frame +* pointer). Because KMSAN does not specifically mark call frames as +* initialized, false positive reports are possible. To prevent such reports, +* we mark the functions scanning the stack (here and below) with +* __no_kmsan_checks. +*/ +__no_kmsan_checks static bool update_stack_state(struct unwind_state *state,unsigned long *next_bp) {
@@ -251,6 +261,7 @@ static bool update_stack_state(struct unwind_state *state,return true; } +__no_kmsan_checks bool unwind_next_frame(struct unwind_state *state) {struct pt_regs *regs;
arch/x86/kvm/lapic.c +25 -7
@@ -1803,15 +1803,33 @@ static void advance_periodic_target_expiration(struct kvm_lapic *apic)ktime_t delta;/* -* Synchronize both deadlines to the same time source or -* differences in the periods (caused by differences in the -* underlying clocks or numerical approximation errors) will -* cause the two to drift apart over time as the errors -* accumulate. +* Use kernel time as the time source for both the hrtimer deadline and +* TSC-based deadline so that they stay synchronized. Computing each +* deadline independently will cause the two deadlines to drift apart +* over time as differences in the periods accumulate, e.g. due to +* differences in the underlying clocks or numerical approximation errors. */ apic->lapic_timer.target_expiration =ktime_add_ns (apic->lapic_timer.target_expiration, apic->lapic_timer.period); + +/* +* If the new expiration is in the past, e.g. because userspace stopped +* running the VM for an extended duration, then force the expiration +* to "now" and don't try to play catch-up with the missed events. KVM +* will only deliver a single interrupt regardless of how many events +* are pending, i.e. restarting the timer with an expiration in the +* past will do nothing more than waste host cycles, and can even lead +* to a hard lockup in extreme cases. +*/ +if (ktime_before (apic->lapic_timer.target_expiration, now)) + apic->lapic_timer.target_expiration = now; + +/* +* Note, ensuring the expiration isn't in the past also prevents delta +* from going negative, which could cause the TSC deadline to become +* excessively large due to it an unsigned value. +*/ delta =ktime_sub (apic->lapic_timer.target_expiration, now); apic->lapic_timer.tscdeadline =kvm_read_l1_tsc (apic->vcpu, tscl) +nsec_to_cycles (apic->vcpu, delta);
@@ -2449,9 +2467,9 @@ static enum hrtimer_restart apic_timer_fn(struct hrtimer *data)apic_timer_expired (apic, true); -if (lapic_is_periodic (apic)) { +if (lapic_is_periodic (apic) && !WARN_ON_ONCE (!apic->lapic_timer.period)) {advance_periodic_target_expiration (apic); -hrtimer_add_expires_ns (&ktimer->timer, ktimer->period); +hrtimer_set_expires (&ktimer->timer, ktimer->target_expiration);return HRTIMER_RESTART ; }else return HRTIMER_NORESTART ;
arch/x86/kvm/svm/nested.c +3 -2
@@ -456,6 +456,7 @@ static void nested_vmcb02_prepare_save(struct vcpu_svm *svm, struct vmcb *vmcb12bool new_vmcb12 = false;nested_vmcb02_compute_g_pat (svm); +vmcb_mark_dirty (svm->vmcb,VMCB_NPT );/* Load the nested guest state */ if (svm->nested.vmcb12_gpa != svm->nested.last_vmcb12_gpa) {
@@ -667,7 +668,7 @@ int nested_svm_vmrun(struct kvm_vcpu *vcpu)if (!nested_vmcb_valid_sregs (vcpu, &vmcb12->save) || !nested_vmcb_check_controls (vcpu, &svm->nested.ctl)) { vmcb12->control.exit_code =SVM_EXIT_ERR ; - vmcb12->control.exit_code_hi =0 ; + vmcb12->control.exit_code_hi =-1u ; vmcb12->control.exit_info_1 =0 ; vmcb12->control.exit_info_2 =0 ; goto out;
@@ -698,7 +699,7 @@ int nested_svm_vmrun(struct kvm_vcpu *vcpu) svm->nested.nested_run_pending =0 ; svm->vmcb->control.exit_code =SVM_EXIT_ERR ; - svm->vmcb->control.exit_code_hi =0 ; + svm->vmcb->control.exit_code_hi =-1u ; svm->vmcb->control.exit_info_1 =0 ; svm->vmcb->control.exit_info_2 =0 ;
arch/x86/kvm/svm/svm.c +11 -9
@@ -2496,6 +2496,7 @@ static bool check_selective_cr0_intercepted(struct kvm_vcpu *vcpu,if (cr0 ^ val) { svm->vmcb->control.exit_code =SVM_EXIT_CR0_SEL_WRITE ; + svm->vmcb->control.exit_code_hi =0 ; ret = (nested_svm_exit_handled (svm) ==NESTED_EXIT_DONE ); }
@@ -4214,20 +4215,20 @@ static int svm_check_intercept(struct kvm_vcpu *vcpu, INTERCEPT_SELECTIVE_CR0)))break ; - cr0 = vcpu->arch.cr0 & ~SVM_CR0_SELECTIVE_MASK ; - val = info->src_val & ~SVM_CR0_SELECTIVE_MASK ; - +/* LMSW always triggers INTERCEPT_SELECTIVE_CR0 */ if (info->intercept == x86_intercept_lmsw) { - cr0 &=0xfUL ; - val &=0xfUL ; -/* lmsw can't clear PE - catch this here */ -if (cr0 &X86_CR0_PE ) - val |=X86_CR0_PE ; + icpt_info.exit_code =SVM_EXIT_CR0_SEL_WRITE ; +break ; } +/* +* MOV-to-CR0 only triggers INTERCEPT_SELECTIVE_CR0 if any bit +* other than SVM_CR0_SELECTIVE_MASK is changed. +*/ + cr0 = vcpu->arch.cr0 & ~SVM_CR0_SELECTIVE_MASK ; + val = info->src_val & ~SVM_CR0_SELECTIVE_MASK ;if (cr0 ^ val) icpt_info.exit_code =SVM_EXIT_CR0_SEL_WRITE ; -break ; }case SVM_EXIT_READ_DR0 :
@@ -4288,6 +4289,7 @@ static int svm_check_intercept(struct kvm_vcpu *vcpu,if (static_cpu_has (X86_FEATURE_NRIPS )) vmcb->control.next_rip = info->next_rip; vmcb->control.exit_code = icpt_info.exit_code; + vmcb->control.exit_code_hi =0 ; vmexit =nested_svm_exit_handled (svm); ret = (vmexit == NESTED_EXIT_DONE) ? X86EMUL_INTERCEPTED
arch/x86/kvm/svm/svm.h +4 -3
@@ -474,9 +474,10 @@ int nested_svm_vmexit(struct vcpu_svm *svm);static inline int nested_svm_simple_vmexit (struct vcpu_svm *svm,u32 exit_code) { - svm->vmcb->control.exit_code = exit_code; - svm->vmcb->control.exit_info_1 =0 ; - svm->vmcb->control.exit_info_2 =0 ; + svm->vmcb->control.exit_code = exit_code; + svm->vmcb->control.exit_code_hi =0 ; + svm->vmcb->control.exit_info_1 =0 ; + svm->vmcb->control.exit_info_2 =0 ;return nested_svm_vmexit (svm); }
arch/x86/kvm/vmx/nested.c +1 -1
@@ -4684,7 +4684,7 @@ void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 vm_exit_reason,if (vmx->nested.update_vmcs01_apicv_status) { vmx->nested.update_vmcs01_apicv_status = false; -kvm_make_request (KVM_REQ_APICV_UPDATE , vcpu); +vmx_refresh_apicv_exec_ctrl (vcpu); } if ((vm_exit_reason != -1) &&
arch/x86/kvm/vmx/vmx.c +1 -1
@@ -4217,7 +4217,7 @@ static u32 vmx_vmexit_ctrl(void) ~(VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL |VM_EXIT_LOAD_IA32_EFER ); } -static void vmx_refresh_apicv_exec_ctrl (struct kvm_vcpu *vcpu) +void vmx_refresh_apicv_exec_ctrl (struct kvm_vcpu *vcpu) {struct vcpu_vmx *vmx =to_vmx (vcpu);
arch/x86/kvm/vmx/vmx.h +1 -0
@@ -386,6 +386,7 @@ void __vmx_set_segment(struct kvm_vcpu *vcpu, struct kvm_segment *var, int seg);u64 construct_eptp (struct kvm_vcpu *vcpu,hpa_t root_hpa,int root_level);bool vmx_guest_inject_ac (struct kvm_vcpu *vcpu); +void vmx_refresh_apicv_exec_ctrl (struct kvm_vcpu *vcpu);void vmx_update_exception_bitmap (struct kvm_vcpu *vcpu);bool vmx_nmi_blocked (struct kvm_vcpu *vcpu);bool __vmx_interrupt_blocked (struct kvm_vcpu *vcpu);
arch/x86/kvm/x86.c +2 -0
@@ -5294,7 +5294,9 @@ long kvm_arch_vcpu_ioctl(struct file *filp,if (copy_from_user (&events, argp,sizeof (struct kvm_vcpu_events )))break ; + vcpu->srcu_idx =srcu_read_lock (&vcpu->kvm->srcu); r =kvm_vcpu_ioctl_x86_set_vcpu_events (vcpu, &events); +srcu_read_unlock (&vcpu->kvm->srcu, vcpu->srcu_idx);break ; }case KVM_GET_DEBUGREGS : {
arch/x86/lib/usercopy.c +1 -1
@@ -32,7 +32,7 @@ copy_from_user_nmi(void *to, const void __user *from, unsigned long n) {unsigned long ret; -if (__range_not_ok (from, n,TASK_SIZE )) +if (!__access_ok (from, n))return n;if (!nmi_uaccess_okay ())
block/blk-mq.c +16 -2
@@ -23,6 +23,7 @@#include <linux/sched/sysctl.h> #include <linux/sched/topology.h> #include <linux/sched/signal.h> +#include <linux/suspend.h> #include <linux/delay.h> #include <linux/crash_dump.h> #include <linux/prefetch.h>
@@ -2585,6 +2586,7 @@ static int blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node) {struct blk_mq_hw_ctx *hctx =hlist_entry_safe (node, struct blk_mq_hw_ctx, cpuhp_online); +int ret =0 ;if (!cpumask_test_cpu (cpu, hctx->cpumask) || !blk_mq_last_cpu_in_hctx (cpu, hctx))
@@ -2606,12 +2608,24 @@ static int blk_mq_hctx_notify_offline(unsigned int cpu, struct hlist_node *node)* frozen and there are no requests. */ if (percpu_ref_tryget (&hctx->queue->q_usage_counter)) { -while (blk_mq_hctx_has_requests (hctx)) +while (blk_mq_hctx_has_requests (hctx)) { +/* +* The wakeup capable IRQ handler of block device is +* not called during suspend. Skip the loop by checking +* pm_wakeup_pending to prevent the deadlock and improve +* suspend latency. +*/ +if (pm_wakeup_pending ()) { +clear_bit (BLK_MQ_S_INACTIVE , &hctx->state); + ret = -EBUSY ; +break ; + }msleep (5 ); + }percpu_ref_put (&hctx->queue->q_usage_counter); } -return 0 ; +return ret; }static int blk_mq_hctx_notify_online (unsigned int cpu,struct hlist_node *node)
block/blk-throttle.c +10 -6
@@ -2222,8 +2222,10 @@ bool blk_throtl_bio(struct bio *bio)rcu_read_lock ();/* see throtl_charge_bio() */ -if (bio_flagged (bio,BIO_THROTTLED )) - goto out; +if (bio_flagged (bio,BIO_THROTTLED )) { +rcu_read_unlock (); +return false; + }if (!cgroup_subsys_on_dfl (io_cgrp_subsys)) { blkg_rwstat_add(&tg->stat_bytes, bio->bi_opf,
@@ -2231,8 +2233,10 @@ bool blk_throtl_bio(struct bio *bio)blkg_rwstat_add (&tg->stat_ios, bio->bi_opf,1 ); } -if (!tg->has_rules[rw]) - goto out; +if (!tg->has_rules[rw]) { +rcu_read_unlock (); +return false; + }spin_lock_irq (&q->queue_lock);
@@ -2316,14 +2320,14 @@ bool blk_throtl_bio(struct bio *bio) } out_unlock: -spin_unlock_irq (&q->queue_lock); -out:bio_set_flag (bio,BIO_THROTTLED );#ifdef CONFIG_BLK_DEV_THROTTLING_LOW if (throttled || !td->track_bio_latency) bio->bi_issue.value |=BIO_ISSUE_THROTL_SKIP_LATENCY ;#endif +spin_unlock_irq (&q->queue_lock); +rcu_read_unlock ();return throttled; }
block/genhd.c +1 -1
@@ -83,7 +83,7 @@ bool set_capacity_and_notify(struct gendisk *disk, sector_t size) (disk->flags & GENHD_FL_HIDDEN))return false; -pr_info ("%s: detected capacity change from %lld to %lld\n" , +pr_info_ratelimited ("%s: detected capacity change from %lld to %lld\n" , disk->disk_name, capacity, size);/*
crypto/af_alg.c +2 -3
@@ -1139,14 +1139,13 @@ struct af_alg_async_req *af_alg_alloc_areq(struct sock *sk,if (unlikely (!areq))return ERR_PTR (-ENOMEM ); +memset (areq,0 , areqlen); + ctx->inflight = true; areq->areqlen = areqlen; areq->sk = sk; - areq->last_rsgl =NULL ;INIT_LIST_HEAD (&areq->rsgl_list); - areq->tsgl =NULL ; - areq->tsgl_entries =0 ;return areq; }
crypto/algif_hash.c +1 -2
@@ -423,9 +423,8 @@ static int hash_accept_parent_nokey(void *private, struct sock *sk)if (!ctx)return -ENOMEM ; - ctx->result =NULL ; +memset (ctx,0 , len); ctx->len = len; - ctx->more = false;crypto_init_wait (&ctx->wait); ask->private = ctx;
crypto/algif_rng.c +1 -2
@@ -250,9 +250,8 @@ static int rng_accept_parent(void *private, struct sock *sk)if (!ctx)return -ENOMEM ; +memset (ctx,0 , len); ctx->len = len; - ctx->addtl =NULL ; - ctx->addtl_len =0 ;/* * No seeding done at that point -- if multiple accepts are
crypto/asymmetric_keys/asymmetric_type.c +10 -4
@@ -11,6 +11,7 @@#include <crypto/public_key.h> #include <linux/seq_file.h> #include <linux/module.h> +#include <linux/overflow.h> #include <linux/slab.h> #include <linux/ctype.h> #include <keys/system_keyring.h>
@@ -138,12 +139,17 @@ struct asymmetric_key_id *asymmetric_key_generate_id(const void *val_1, size_t len_2) {struct asymmetric_key_id *kid; - - kid =kmalloc (sizeof (struct asymmetric_key_id ) + len_1 + len_2, -GFP_KERNEL ); +size_t kid_sz; +size_t len; + +if (check_add_overflow (len_1, len_2, &len)) +return ERR_PTR (-EOVERFLOW ); +if (check_add_overflow (sizeof (struct asymmetric_key_id ), len, &kid_sz)) +return ERR_PTR (-EOVERFLOW ); + kid =kmalloc (kid_sz,GFP_KERNEL );if (!kid)return ERR_PTR (-ENOMEM ); - kid->len = len_1 + len_2; + kid->len = len;memcpy (kid->data, val_1, len_1);memcpy (kid->data + len_1, val_2, len_2);return kid;
crypto/seqiv.c +5 -3
@@ -51,6 +51,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)struct aead_geniv_ctx *ctx =crypto_aead_ctx (geniv);struct aead_request *subreq =aead_request_ctx (req);crypto_completion_t compl; +bool unaligned_info;void *data;u8 *info;unsigned int ivsize =8 ;
@@ -80,8 +81,9 @@ static int seqiv_aead_encrypt(struct aead_request *req)return err; } -if (unlikely (!IS_ALIGNED ((unsigned long )info, -crypto_aead_alignmask (geniv) +1 ))) { + unaligned_info = !IS_ALIGNED ((unsigned long )info, +crypto_aead_alignmask (geniv) +1 ); +if (unlikely (unaligned_info)) { info =kmemdup (req->iv, ivsize, req->base.flags &CRYPTO_TFM_REQ_MAY_SLEEP ?GFP_KERNEL :GFP_ATOMIC );
@@ -101,7 +103,7 @@ static int seqiv_aead_encrypt(struct aead_request *req)scatterwalk_map_and_copy (info, req->dst, req->assoclen, ivsize,1 ); err =crypto_aead_encrypt (subreq); -if (unlikely (info != req->iv)) +if (unlikely (unaligned_info))seqiv_aead_encrypt_complete2 (req, err);return err; }
drivers/acpi/acpica/nswalk.c +6 -3
@@ -169,9 +169,12 @@ acpi_ns_walk_namespace(acpi_object_type type,if (start_node ==ACPI_ROOT_OBJECT ) { start_node = acpi_gbl_root_node; -if (!start_node) { -return_ACPI_STATUS (AE_NO_NAMESPACE ); - } + } + +/* Avoid walking the namespace if the StartNode is NULL */ + +if (!start_node) { +return_ACPI_STATUS (AE_NO_NAMESPACE ); }/* Null child means "get first node" */
drivers/acpi/apei/ghes.c +10 -6
@@ -22,6 +22,7 @@#include <linux/moduleparam.h> #include <linux/init.h> #include <linux/acpi.h> +#include <linux/bitfield.h> #include <linux/io.h> #include <linux/interrupt.h> #include <linux/timer.h>
@@ -500,6 +501,7 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, {struct cper_sec_proc_arm *err =acpi_hest_get_payload (gdata);int flags = sync ?MF_ACTION_REQUIRED :0 ; +char error_type[120 ];bool queued = false;int sec_sev, i;char *p;
@@ -513,9 +515,8 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, p = (char *)(err +1 );for (i =0 ; i < err->err_info_num; i++) {struct cper_arm_err_info *err_info = (struct cper_arm_err_info *)p; -bool is_cache = (err_info->type ==CPER_ARM_CACHE_ERROR ); +bool is_cache = err_info->type &CPER_ARM_CACHE_ERROR ;bool has_pa = (err_info->validation_bits &CPER_ARM_INFO_VALID_PHYSICAL_ADDR ); -const char *error_type ="unknown error" ;/* * The field (err_info->error_info & BIT(26)) is fixed to set to
@@ -529,12 +530,15 @@ static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata,continue ; } -if (err_info->type <ARRAY_SIZE (cper_proc_error_type_strs)) - error_type = cper_proc_error_type_strs[err_info->type]; +cper_bits_to_str (error_type,sizeof (error_type), +FIELD_GET (CPER_ARM_ERR_TYPE_MASK , err_info->type), + cper_proc_error_type_strs, +ARRAY_SIZE (cper_proc_error_type_strs)); pr_warn_ratelimited(FW_WARN GHES_PFX -"Unhandled processor error type: %s\n" , - error_type); +"Unhandled processor error type 0x%02x: %s%s\n" , + err_info->type, error_type, + (err_info->type & ~CPER_ARM_ERR_TYPE_MASK) ? " with reserved bit(s)" : ""); p += err_info->length; }
drivers/acpi/cppc_acpi.c +2 -1
@@ -1198,7 +1198,8 @@ int cppc_get_perf_caps(int cpunum, struct cppc_perf_caps *perf_caps)/* Are any of the regs PCC ?*/ if (CPC_IN_PCC (highest_reg) ||CPC_IN_PCC (lowest_reg) ||CPC_IN_PCC (lowest_non_linear_reg) ||CPC_IN_PCC (nominal_reg) || -CPC_IN_PCC (low_freq_reg) ||CPC_IN_PCC (nom_freq_reg)) { +CPC_IN_PCC (low_freq_reg) ||CPC_IN_PCC (nom_freq_reg) || +CPC_IN_PCC (guaranteed_reg)) {if (pcc_ss_id <0 ) {pr_debug ("Invalid pcc_ss_id\n" );return -ENODEV ;
drivers/acpi/processor_core.c +1 -1
@@ -54,7 +54,7 @@ static int map_x2apic_id(struct acpi_subtable_header *entry,if (!(apic->lapic_flags &ACPI_MADT_ENABLED ))return -ENODEV ; -if (device_declaration && (apic->uid == acpi_id)) { +if (apic->uid == acpi_id && (device_declaration || acpi_id <255 )) { *apic_id = apic->local_apic_id;return 0 ; }
drivers/acpi/property.c +5 -4
@@ -1168,7 +1168,7 @@ static struct fwnode_handle *acpi_graph_get_next_endpoint(if (!prev) { do { - port = fwnode_get_next_child_node(fwnode, port); + port = acpi_get_next_subnode(fwnode, port); /* * The names of the port nodes begin with "port@" * followed by the number of the port node and they also
@@ -1186,13 +1186,13 @@ static struct fwnode_handle *acpi_graph_get_next_endpoint(if (!port)return NULL ; - endpoint =fwnode_get_next_child_node (port, prev); + endpoint =acpi_get_next_subnode (port, prev);while (!endpoint) { - port =fwnode_get_next_child_node (fwnode, port); + port =acpi_get_next_subnode (fwnode, port);if (!port)break ;if (is_acpi_graph_node (port,"port" )) - endpoint =fwnode_get_next_child_node (port,NULL ); + endpoint =acpi_get_next_subnode (port,NULL ); }/*
@@ -1402,6 +1402,7 @@ static int acpi_fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,if (fwnode_property_read_u32 (fwnode,"reg" , &endpoint->id))fwnode_property_read_u32 (fwnode,"endpoint" , &endpoint->id); +fwnode_handle_put (port_fwnode);return 0 ; }
drivers/amba/tegra-ahb.c +1 -0
@@ -144,6 +144,7 @@ int tegra_ahb_enable_smmu(struct device_node *dn)if (!dev)return -EPROBE_DEFER ; ahb =dev_get_drvdata (dev); +put_device (dev); val =gizmo_readl (ahb,AHB_ARBITRATION_XBAR_CTRL ); val |=AHB_ARBITRATION_XBAR_CTRL_SMMU_INIT_DONE ;gizmo_writel (ahb, val,AHB_ARBITRATION_XBAR_CTRL );
drivers/atm/he.c +2 -1
@@ -1590,7 +1590,8 @@ he_stop(struct he_dev *he_dev) he_dev->tbrq_base, he_dev->tbrq_phys);if (he_dev->tpdrq_base) -dma_free_coherent (&he_dev->pci_dev->dev,CONFIG_TBRQ_SIZE *sizeof (struct he_tbrq ), +dma_free_coherent (&he_dev->pci_dev->dev, +CONFIG_TPDRQ_SIZE *sizeof (struct he_tpdrq ), he_dev->tpdrq_base, he_dev->tpdrq_phys);dma_pool_destroy (he_dev->tpd_pool);
drivers/base/power/runtime.c +12 -10
@@ -1747,16 +1747,18 @@ void pm_runtime_init(struct device *dev)*/ void pm_runtime_reinit (struct device *dev) { -if (!pm_runtime_enabled (dev)) { -if (dev->power.runtime_status ==RPM_ACTIVE ) -pm_runtime_set_suspended (dev); -if (dev->power.irq_safe) { -spin_lock_irq (&dev->power.lock); - dev->power.irq_safe =0 ; -spin_unlock_irq (&dev->power.lock); -if (dev->parent) -pm_runtime_put (dev->parent); - } +if (pm_runtime_enabled (dev)) +return ; + +if (dev->power.runtime_status ==RPM_ACTIVE ) +pm_runtime_set_suspended (dev); + +if (dev->power.irq_safe) { +spin_lock_irq (&dev->power.lock); + dev->power.irq_safe =0 ; +spin_unlock_irq (&dev->power.lock); +if (dev->parent) +pm_runtime_put (dev->parent); }/* * Clear power.needs_force_resume in case it has been set by
drivers/block/floppy.c +1 -1
@@ -331,7 +331,7 @@ static bool initialized;* This default is used whenever the current disk size is unknown. * [Now it is rather a minimum] */ -#define MAX_DISK_SIZE 4/* 3984 */ +#define MAX_DISK_SIZE (PAGE_SIZE / 1024)/* * globals used by 'result()'
drivers/block/nbd.c +54 -38
186 lines not on this page · raw message
drivers/block/ps3disk.c +4 -0
@@ -85,10 +85,14 @@ static void ps3disk_scatter_gather(struct ps3_storage_device *dev,struct bio_vec bvec;rq_for_each_segment (bvec, req, iter) { +dev_dbg (&dev->sbd.core,"%s:%u: %u sectors from %llu\n" , + __func__, __LINE__,bio_sectors (iter.bio), + iter.bio->bi_iter.bi_sector);if (gather)memcpy_from_bvec (dev->bounce_buf + offset, &bvec);else memcpy_to_bvec (&bvec, dev->bounce_buf + offset); + offset += bvec.bv_len; } }
drivers/bluetooth/btusb.c +11 -3
@@ -403,6 +403,8 @@ static const struct usb_device_id blacklist_table[] = {/* Realtek 8821CE Bluetooth devices */ { USB_DEVICE(0x13d3, 0x3529), .driver_info = BTUSB_REALTEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x13d3, 0x3533), .driver_info = BTUSB_REALTEK | + BTUSB_WIDEBAND_SPEECH }, /* Realtek 8822CE Bluetooth devices */ { USB_DEVICE(0x0bda, 0xb00c), .driver_info = BTUSB_REALTEK |
@@ -3786,7 +3788,7 @@ static int btusb_probe(struct usb_interface *intf,return -ENODEV ; } - data =devm_kzalloc (&intf->dev,sizeof (*data),GFP_KERNEL ); + data =kzalloc (sizeof (*data),GFP_KERNEL );if (!data)return -ENOMEM ;
@@ -3809,8 +3811,10 @@ static int btusb_probe(struct usb_interface *intf, } } -if (!data->intr_ep || !data->bulk_tx_ep || !data->bulk_rx_ep) +if (!data->intr_ep || !data->bulk_tx_ep || !data->bulk_rx_ep) { +kfree (data);return -ENODEV ; + }if (id->driver_info &BTUSB_AMP ) { data->cmdreq_type =USB_TYPE_CLASS |0x01 ;
@@ -3853,8 +3857,10 @@ static int btusb_probe(struct usb_interface *intf, data->recv_acl = hci_recv_frame; hdev =hci_alloc_dev_priv (priv_size); -if (!hdev) +if (!hdev) { +kfree (data);return -ENOMEM ; + } hdev->bus =HCI_USB ;hci_set_drvdata (hdev, data);
@@ -4102,6 +4108,7 @@ static int btusb_probe(struct usb_interface *intf,if (data->reset_gpio)gpiod_put (data->reset_gpio);hci_free_dev (hdev); +kfree (data);return err; }
@@ -4147,6 +4154,7 @@ static void btusb_disconnect(struct usb_interface *intf) }hci_free_dev (hdev); +kfree (data); }#ifdef CONFIG_PM
drivers/bus/ti-sysc.c +9 -2
@@ -37,6 +37,7 @@ enum sysc_soc {SOC_UNKNOWN ,SOC_2420 ,SOC_2430 , +SOC_AM33 ,SOC_3430 ,SOC_AM35 , SOC_3630,
@@ -2946,6 +2947,7 @@ static void ti_sysc_idle(struct work_struct *work)static const struct soc_device_attribute sysc_soc_match[] = {SOC_FLAG ("OMAP242*" ,SOC_2420 ),SOC_FLAG ("OMAP243*" ,SOC_2430 ), +SOC_FLAG ("AM33*" ,SOC_AM33 ),SOC_FLAG ("AM35*" ,SOC_AM35 ),SOC_FLAG ("OMAP3[45]*" ,SOC_3430 ),SOC_FLAG ("OMAP3[67]*" ,SOC_3630 ),
@@ -3153,10 +3155,15 @@ static int sysc_check_active_timer(struct sysc *ddata)* can be dropped if we stop supporting old beagleboard revisions * A to B4 at some point. */ -if (sysc_soc->soc ==SOC_3430 || sysc_soc->soc ==SOC_AM35 ) +switch (sysc_soc->soc) { +case SOC_AM33 : +case SOC_3430 : +case SOC_AM35 : error = -ENXIO ; -else +break ; +default : error = -EBUSY ; + }if ((ddata->cfg.quirks &SYSC_QUIRK_NO_RESET_ON_INIT ) && (ddata->cfg.quirks &SYSC_QUIRK_NO_IDLE ))
drivers/char/applicom.c +4 -1
@@ -836,7 +836,10 @@ static long ac_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ret = -ENOTTY ;break ; } - Dummy =readb (apbs[IndexCard].RamIO +VERS ); + +if (cmd !=6 ) + Dummy =readb (apbs[IndexCard].RamIO +VERS ); +kfree (adgl);mutex_unlock (&ac_mutex);return ret;
drivers/char/ipmi/ipmi_msghandler.c +13 -7
@@ -593,7 +593,8 @@ static void __ipmi_bmc_unregister(struct ipmi_smi *intf);static int __ipmi_bmc_register (struct ipmi_smi *intf,struct ipmi_device_id *id,bool guid_set,guid_t *guid,int intf_num); -static int __scan_channels (struct ipmi_smi *intf,struct ipmi_device_id *id); +static int __scan_channels (struct ipmi_smi *intf, +struct ipmi_device_id *id,bool rescan);/**
@@ -2543,7 +2544,7 @@ static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,if (__ipmi_bmc_register (intf, &id, guid_set, &guid, intf_num))need_waiter (intf);/* Retry later on an error. */ else -__scan_channels (intf, &id); +__scan_channels (intf, &id, false);if (!intf_set) {
@@ -2563,7 +2564,7 @@ static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc, goto out_noprocessing; }else if (memcmp (&bmc->fetch_id, &bmc->id,sizeof (bmc->id)))/* Version info changes, scan the channels again. */ -__scan_channels (intf, &bmc->fetch_id); +__scan_channels (intf, &bmc->fetch_id, true); bmc->dyn_id_expiry = jiffies +IPMI_DYN_DEV_ID_EXPIRY ;
@@ -3292,8 +3293,6 @@ channel_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg) intf->channels_ready = true;wake_up (&intf->waitq); }else { - intf->channel_list = intf->wchannels + set; - intf->channels_ready = true; rv =send_channel_info_cmd (intf, intf->curr_channel); }
@@ -3315,10 +3314,17 @@ channel_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg)/* * Must be holding intf->bmc_reg_mutex to call this. */ -static int __scan_channels (struct ipmi_smi *intf,struct ipmi_device_id *id) +static int __scan_channels (struct ipmi_smi *intf, +struct ipmi_device_id *id, +bool rescan) {int rv; +if (rescan) { +/* Clear channels_ready to force channels rescan. */ + intf->channels_ready = false; + } +if (ipmi_version_major (id) >1 || (ipmi_version_major (id) ==1 &&ipmi_version_minor (id) >=5 )) {
@@ -3490,7 +3496,7 @@ int ipmi_add_smi(struct module *owner, }mutex_lock (&intf->bmc_reg_mutex); - rv =__scan_channels (intf, &id); + rv =__scan_channels (intf, &id, false);mutex_unlock (&intf->bmc_reg_mutex);if (rv) goto out_err_bmc_reg;
drivers/char/tpm/tpm-chip.c +0 -1
@@ -269,7 +269,6 @@ static void tpm_dev_release(struct device *dev)kfree (chip->work_space.context_buf);kfree (chip->work_space.session_buf); -kfree (chip->allocated_banks);kfree (chip); }
drivers/char/tpm/tpm1-cmd.c +0 -5
@@ -794,11 +794,6 @@ int tpm1_pm_suspend(struct tpm_chip *chip, u32 tpm_suspend_pcr)*/ int tpm1_get_pcr_allocation (struct tpm_chip *chip) { - chip->allocated_banks =kcalloc (1 ,sizeof (*chip->allocated_banks), -GFP_KERNEL ); -if (!chip->allocated_banks) -return -ENOMEM ; - chip->allocated_banks[0 ].alg_id =TPM_ALG_SHA1 ; chip->allocated_banks[0 ].digest_size = hash_digest_size[HASH_ALGO_SHA1 ]; chip->allocated_banks[0 ].crypto_id =HASH_ALGO_SHA1 ;
drivers/char/tpm/tpm2-cmd.c +3 -5
@@ -574,11 +574,9 @@ ssize_t tpm2_get_pcr_allocation(struct tpm_chip *chip) nr_possible_banks =be32_to_cpup ( (__be32 *)&buf.data[TPM_HEADER_SIZE +5 ]); - - chip->allocated_banks =kcalloc (nr_possible_banks, -sizeof (*chip->allocated_banks), -GFP_KERNEL ); -if (!chip->allocated_banks) { +if (nr_possible_banks >TPM2_MAX_PCR_BANKS ) { +pr_err ("tpm: out of bank capacity: %u > %u\n" , + nr_possible_banks,TPM2_MAX_PCR_BANKS ); rc = -ENOMEM ; goto out; }
drivers/char/virtio_console.c +1 -1
@@ -1614,8 +1614,8 @@ static void handle_control_message(struct virtio_device *vdev,break ;case VIRTIO_CONSOLE_RESIZE : {struct { -__virtio16 rows;__virtio16 cols; +__virtio16 rows; } size;if (!is_console_port (port))
drivers/clk/mvebu/cp110-system-controller.c +20 -0
@@ -110,6 +110,25 @@ static const char * const gate_base_names[] = { [CP110_GATE_EIP197 ] ="eip197" }; +static unsigned long gate_flags (const u8 bit_idx) +{ +switch (bit_idx) { +case CP110_GATE_PCIE_X1_0 : +case CP110_GATE_PCIE_X1_1 : +case CP110_GATE_PCIE_X4 : +/* +* If a port had an active link at boot time, stopping +* the clock creates a failed state from which controller +* driver can not recover. +* Prevent stopping this clock till after a driver has taken +* ownership. +*/ +return CLK_IGNORE_UNUSED ; +default : +return 0 ; + } +}; +struct cp110_gate_clk {struct clk_hw hw;struct regmap *regmap;
@@ -171,6 +190,7 @@ static struct clk_hw *cp110_register_gate(const char *name, init.ops = &cp110_gate_ops; init.parent_names = &parent_name; init.num_parents =1 ; + init.flags =gate_flags (bit_idx); gate->regmap = regmap; gate->bit_idx = bit_idx;
drivers/clk/renesas/r9a06g032-clocks.c +4 -3
@@ -918,9 +918,10 @@ static int __init r9a06g032_clocks_probe(struct platform_device *pdev)if (IS_ERR (mclk))return PTR_ERR (mclk); - clocks->reg =of_iomap (np,0 ); -if (WARN_ON (!clocks->reg)) -return -ENOMEM ; + clocks->reg =devm_of_iomap (dev, np,0 ,NULL ); +if (IS_ERR (clocks->reg)) +return PTR_ERR (clocks->reg); +for (i =0 ; i <ARRAY_SIZE (r9a06g032_clocks); ++i) {const struct r9a06g032_clkdesc *d = &r9a06g032_clocks[i]; const char *parent_name = d->source ?
drivers/comedi/comedi_fops.c +36 -6
78 lines not on this page · raw message
drivers/comedi/drivers/c6xdigio.c +35 -11
63 lines not on this page · raw message
drivers/comedi/drivers/multiq3.c +9 -0
@@ -68,6 +68,11 @@#define MULTIQ3_TRSFRCNTR_OL 0x10/* xfer CNTR to OL (x and y) */ #define MULTIQ3_EFLAG_RESET 0x06/* reset E bit of flag reg */ +/* +* Limit on the number of optional encoder channels +*/ +#define MULTIQ3_MAX_ENC_CHANS 8 +static void multiq3_set_ctrl (struct comedi_device *dev,unsigned int bits) {/*
@@ -313,6 +318,10 @@ static int multiq3_attach(struct comedi_device *dev, s->insn_read = multiq3_encoder_insn_read; s->insn_config = multiq3_encoder_insn_config; +/* sanity check for number of encoder channels */ +if (s->n_chan >MULTIQ3_MAX_ENC_CHANS ) + s->n_chan =MULTIQ3_MAX_ENC_CHANS ; +for (i =0 ; i < s->n_chan; i++)multiq3_encoder_reset (dev, i);
drivers/comedi/drivers/pcl818.c +2 -3
@@ -1113,10 +1113,9 @@ static void pcl818_detach(struct comedi_device *dev) {struct pcl818_private *devpriv = dev->private; -if (devpriv) { -pcl818_ai_cancel (dev, dev->read_subdev); +if (devpriv)pcl818_reset (dev); - } +pcl818_free_dma (dev);comedi_legacy_detach (dev); }
drivers/counter/interrupt-cnt.c +1 -2
@@ -208,8 +208,7 @@ static int interrupt_cnt_probe(struct platform_device *pdev)irq_set_status_flags (priv->irq,IRQ_NOAUTOEN ); ret =devm_request_irq (dev, priv->irq, interrupt_cnt_isr, -IRQF_TRIGGER_RISING |IRQF_NO_THREAD , -dev_name (dev), priv); +IRQF_TRIGGER_RISING ,dev_name (dev), priv);if (ret)return ret;
drivers/cpufreq/cpufreq-nforce2.c +3 -0
@@ -145,6 +145,8 @@ static unsigned int nforce2_fsb_read(int bootfsb)pci_read_config_dword (nforce2_sub5,NFORCE2_BOOTFSB , &fsb); fsb /=1000000 ; +pci_dev_put (nforce2_sub5); +/* Check if PLL register is already set */ pci_read_config_byte (nforce2_dev,NFORCE2_PLLENABLE , (u8 *)&temp);
@@ -432,6 +434,7 @@ static int __init nforce2_init(void) static void __exit nforce2_exit(void) {cpufreq_unregister_driver (&nforce2_driver); +pci_dev_put (nforce2_dev); }module_init (nforce2_init);
drivers/cpufreq/s5pv210-cpufreq.c +4 -2
@@ -518,7 +518,7 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)if (policy->cpu !=0 ) { ret = -EINVAL ; - goto out_dmc1; + goto out; }/*
@@ -530,7 +530,7 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)if ((mem_type !=LPDDR ) && (mem_type !=LPDDR2 )) {pr_err ("CPUFreq doesn't support this memory type\n" ); ret = -EINVAL ; - goto out_dmc1; + goto out; }/* Find current refresh counter and frequency each DMC */
@@ -544,6 +544,8 @@ static int s5pv210_cpu_init(struct cpufreq_policy *policy)cpufreq_generic_init (policy, s5pv210_freq_table,40000 );return 0 ; +out: +clk_put (dmc1_clk); out_dmc1:clk_put (dmc0_clk); out_dmc0:
drivers/crypto/ccree/cc_buffer_mgr.c +5 -1
@@ -1235,6 +1235,7 @@ int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx,int rc =0 ;u32 dummy =0 ;u32 mapped_nents =0 ; +int sg_nents;dev_dbg (dev," update params : curr_buff=%pK curr_buff_cnt=0x%X nbytes=0x%X src=%pK curr_index=%u\n" , curr_buff, *curr_buff_cnt, nbytes, src, areq_ctx->buff_index);
@@ -1248,7 +1249,10 @@ int cc_map_hash_request_update(struct cc_drvdata *drvdata, void *ctx,if (total_in_len < block_size) {dev_dbg (dev," less than one block: curr_buff=%pK *curr_buff_cnt=0x%X copy_to=%pK\n" , curr_buff, *curr_buff_cnt, &curr_buff[*curr_buff_cnt]); - areq_ctx->in_nents =sg_nents_for_len (src, nbytes); + sg_nents =sg_nents_for_len (src, nbytes); +if (sg_nents <0 ) +return sg_nents; + areq_ctx->in_nents = sg_nents;sg_copy_to_buffer (src, areq_ctx->in_nents, &curr_buff[*curr_buff_cnt], nbytes); *curr_buff_cnt += nbytes;
drivers/crypto/hisilicon/qm.c +13 -1
@@ -4010,6 +4010,7 @@ static int qm_clear_vft_config(struct hisi_qm *qm)static int qm_func_shaper_enable (struct hisi_qm *qm,u32 fun_index,u32 qos) {struct device *dev = &qm->pdev->dev; +struct qm_shaper_factor t_factor;u32 ir = qos *QM_QOS_RATE ;int ret, total_vfs, i;
@@ -4017,6 +4018,7 @@ static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos)if (fun_index > total_vfs)return -EINVAL ; +memcpy (&t_factor, &qm->factor[fun_index],sizeof (t_factor)); qm->factor[fun_index].func_qos = qos; ret =qm_get_shaper_para (ir, &qm->factor[fun_index]);
@@ -4030,11 +4032,21 @@ static int qm_func_shaper_enable(struct hisi_qm *qm, u32 fun_index, u32 qos) ret =qm_set_vft_common (qm,SHAPER_VFT , fun_index, i,1 );if (ret) {dev_err (dev,"type: %d, failed to set shaper vft!\n" , i); -return -EINVAL ; + goto back_func_qos; } }return 0 ; + +back_func_qos: +memcpy (&qm->factor[fun_index], &t_factor,sizeof (t_factor)); +for (i--; i >=ALG_TYPE_0 ; i--) { + ret =qm_set_vft_common (qm,SHAPER_VFT , fun_index, i,1 ); +if (ret) +dev_err (dev,"failed to restore shaper vft during rollback!\n" ); + } + +return -EINVAL ; }static u32 qm_get_shaper_vft_qos (struct hisi_qm *qm,u32 fun_index)
drivers/firewire/nosy.c +5 -5
@@ -36,6 +36,8 @@static char driver_name[] =KBUILD_MODNAME ; +#define RCV_BUFFER_SIZE (16 * 1024) +/* this is the physical layout of a PCL, its size is 128 bytes */ struct pcl {__le32 next;
@@ -517,16 +519,14 @@ remove_card(struct pci_dev *dev) lynx->rcv_start_pcl, lynx->rcv_start_pcl_bus);dma_free_coherent (&lynx->pci_device->dev,sizeof (struct pcl ), lynx->rcv_pcl, lynx->rcv_pcl_bus); -dma_free_coherent (&lynx->pci_device->dev,PAGE_SIZE , lynx->rcv_buffer, - lynx->rcv_buffer_bus); +dma_free_coherent (&lynx->pci_device->dev,RCV_BUFFER_SIZE , + lynx->rcv_buffer, lynx->rcv_buffer_bus);iounmap (lynx->registers);pci_disable_device (dev);lynx_put (lynx); } -#define RCV_BUFFER_SIZE (16 * 1024) -static int add_card (struct pci_dev *dev,const struct pci_device_id *unused) {
@@ -680,7 +680,7 @@ add_card(struct pci_dev *dev, const struct pci_device_id *unused)dma_free_coherent (&lynx->pci_device->dev,sizeof (struct pcl ), lynx->rcv_pcl, lynx->rcv_pcl_bus);if (lynx->rcv_buffer) -dma_free_coherent (&lynx->pci_device->dev,PAGE_SIZE , +dma_free_coherent (&lynx->pci_device->dev,RCV_BUFFER_SIZE , lynx->rcv_buffer, lynx->rcv_buffer_bus);iounmap (lynx->registers);
drivers/firmware/arm_scmi/notify.c +1 -0
@@ -1539,6 +1539,7 @@ static int scmi_devm_notifier_unregister(struct scmi_device *sdev, dres.handle = sdev->handle; dres.proto_id = proto_id; dres.evt_id = evt_id; + dres.nb = nb;if (src_id) { dres.__src_id = *src_id; dres.src_id = &dres.__src_id;
drivers/firmware/efi/cper-arm.c +25 -27
99 lines not on this page · raw message
drivers/firmware/efi/cper.c +60 -0
72 lines not on this page · raw message
drivers/firmware/imx/imx-scu-irq.c +14 -12
@@ -137,6 +137,18 @@ int imx_scu_enable_general_irq_channel(struct device *dev)struct mbox_chan *ch;int ret =0 , i =0 ; +if (!of_parse_phandle_with_args (dev->of_node,"mboxes" , +"#mbox-cells" ,0 , &spec)) { + i =of_alias_get_id (spec.np,"mu" ); +of_node_put (spec.np); + } + +/* use mu1 as general mu irq channel if failed */ +if (i <0 ) + i =1 ; + + mu_resource_id =IMX_SC_R_MU_0A + i; + ret =imx_scu_get_handle (&imx_sc_irq_ipc_handle);if (ret)return ret;
@@ -148,6 +160,8 @@ int imx_scu_enable_general_irq_channel(struct device *dev) cl->dev = dev; cl->rx_callback = imx_scu_irq_callback; +INIT_WORK (&imx_sc_irq_work, imx_scu_irq_work_handler); +/* SCU general IRQ uses general interrupt channel 3 */ ch =mbox_request_channel_byname (cl,"gip3" );if (IS_ERR (ch)) {
@@ -157,18 +171,6 @@ int imx_scu_enable_general_irq_channel(struct device *dev)return ret; } -INIT_WORK (&imx_sc_irq_work, imx_scu_irq_work_handler); - -if (!of_parse_phandle_with_args (dev->of_node,"mboxes" , -"#mbox-cells" ,0 , &spec)) - i =of_alias_get_id (spec.np,"mu" ); - -/* use mu1 as general mu irq channel if failed */ -if (i <0 ) - i =1 ; - - mu_resource_id =IMX_SC_R_MU_0A + i; -return ret; }EXPORT_SYMBOL (imx_scu_enable_general_irq_channel);
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c +4 -4
@@ -1156,10 +1156,10 @@ static enum bp_result get_embedded_panel_info_v2_1(/* not provided by VBIOS */ info->lcd_timing.misc_info.HORIZONTAL_CUT_OFF =0 ; - info->lcd_timing.misc_info.H_SYNC_POLARITY = ~(uint32_t ) (lvds->lcd_timing.miscinfo - &ATOM_HSYNC_POLARITY ); - info->lcd_timing.misc_info.V_SYNC_POLARITY = ~(uint32_t ) (lvds->lcd_timing.miscinfo - &ATOM_VSYNC_POLARITY ); + info->lcd_timing.misc_info.H_SYNC_POLARITY = !(lvds->lcd_timing.miscinfo & +ATOM_HSYNC_POLARITY ); + info->lcd_timing.misc_info.V_SYNC_POLARITY = !(lvds->lcd_timing.miscinfo & +ATOM_VSYNC_POLARITY );/* not provided by VBIOS */ info->lcd_timing.misc_info.VERTICAL_CUT_OFF =0 ;
drivers/gpu/drm/amd/display/dc/core/dc_surface.c +1 -1
@@ -104,7 +104,7 @@ void enable_surface_flip_reporting(struct dc_plane_state *plane_state,struct dc_plane_state *dc_create_plane_state (struct dc *dc) {struct dc_plane_state *plane_state =kvzalloc (sizeof (*plane_state), -GFP_KERNEL ); +GFP_ATOMIC );if (NULL == plane_state)return NULL ;
drivers/gpu/drm/gma500/framebuffer.c +0 -42
54 lines not on this page · raw message
drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c +2 -2
@@ -102,7 +102,7 @@ static int igt_dmabuf_import_same_driver_lmem(void *arg) obj =__i915_gem_object_create_user (i915,PAGE_SIZE , &lmem,1 );if (IS_ERR (obj)) {pr_err ("__i915_gem_object_create_user failed with err=%ld\n" , -PTR_ERR (dmabuf)); +PTR_ERR (obj)); err =PTR_ERR (obj); goto out_ret; }
@@ -158,7 +158,7 @@ static int igt_dmabuf_import_same_driver(struct drm_i915_private *i915, regions, num_regions);if (IS_ERR (obj)) {pr_err ("__i915_gem_object_create_user failed with err=%ld\n" , -PTR_ERR (dmabuf)); +PTR_ERR (obj)); err =PTR_ERR (obj); goto out_ret; }
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c +1 -1
@@ -715,7 +715,7 @@ static int pot_hole(struct i915_address_space *vm,u64 addr;for (addr =round_up (hole_start +I915_GTT_PAGE_SIZE , step) -I915_GTT_PAGE_SIZE ; - addr <=round_down (hole_end -2 *I915_GTT_PAGE_SIZE , step) -I915_GTT_PAGE_SIZE ; + hole_end > addr && hole_end - addr >=2 *I915_GTT_PAGE_SIZE ; addr += step) { err =i915_vma_pin (vma,0 ,0 , addr | flags);if (err) {
drivers/gpu/drm/mediatek/mtk_disp_ccorr.c +1 -22
@@ -85,27 +85,6 @@ void mtk_ccorr_stop(struct device *dev)writel_relaxed (0x0 , ccorr->regs +DISP_CCORR_EN ); } -/* Converts a DRM S31.32 value to the HW S1.n format. */ -static u16 mtk_ctm_s31_32_to_s1_n (u64 in,u32 n) -{ -u16 r; - -/* Sign bit. */ - r = in &BIT_ULL (63 ) ?BIT (n +1 ) :0 ; - -if ((in &GENMASK_ULL (62 ,33 )) >0 ) { -/* identity value 0x100000000 -> 0x400(mt8183), */ -/* identity value 0x100000000 -> 0x800(mt8192), */ -/* if bigger this, set it to max 0x7ff. */ - r |=GENMASK (n,0 ); - }else { -/* take the n+1 most important bits. */ - r |= (in >> (32 - n)) &GENMASK (n,0 ); - } - -return r; -} -void mtk_ccorr_ctm_set (struct device *dev,struct drm_crtc_state *state) {struct mtk_disp_ccorr *ccorr =dev_get_drvdata (dev);
@@ -124,7 +103,7 @@ void mtk_ccorr_ctm_set(struct device *dev, struct drm_crtc_state *state) input = ctm->matrix;for (i =0 ; i <ARRAY_SIZE (coeffs); i++) - coeffs[i] =mtk_ctm_s31_32_to_s1_n (input[i], matrix_bits); + coeffs[i] =drm_color_ctm_s31_32_to_qm_n (input[i],2 , matrix_bits);mtk_ddp_write (cmdq_pkt, coeffs[0 ] <<16 | coeffs[1 ], &ccorr->cmdq_reg, ccorr->regs,DISP_CCORR_COEF_0 );
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +1 -1
@@ -794,7 +794,7 @@ static void a6xx_get_gmu_registers(struct msm_gpu *gpu,return ;/* Set the fence to ALLOW mode so we can access the registers */ -gpu_write (gpu,REG_A6XX_GMU_AO_AHB_FENCE_CTRL ,0 ); +gmu_write (&a6xx_gpu->gmu,REG_A6XX_GMU_AO_AHB_FENCE_CTRL ,0 );_a6xx_get_gmu_registers (gpu, a6xx_state, &a6xx_gmu_reglist[2 ], &a6xx_state->gmu_registers[2 ], false);
drivers/gpu/drm/nouveau/dispnv50/atom.h +13 -0
@@ -152,8 +152,21 @@ static inline struct nv50_head_atom * nv50_head_atom_get(struct drm_atomic_state *state, struct drm_crtc *crtc) { struct drm_crtc_state *statec = drm_atomic_get_crtc_state(state, crtc); +if (IS_ERR (statec))return (void *)statec; + +return nv50_head_atom (statec); +} + +static inline struct nv50_head_atom * +nv50_head_atom_get_new (struct drm_atomic_state *state,struct drm_crtc *crtc) +{ +struct drm_crtc_state *statec =drm_atomic_get_new_crtc_state (state, crtc); + +if (!statec) +return NULL ; +return nv50_head_atom (statec); }
drivers/gpu/drm/nouveau/dispnv50/wndw.c +1 -1
@@ -565,7 +565,7 @@ nv50_wndw_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state) asyw->image.offset[0 ] = nvbo->offset;if (wndw->func->prepare) { - asyh =nv50_head_atom_get (asyw->state.state, asyw->state.crtc); + asyh =nv50_head_atom_get_new (asyw->state.state, asyw->state.crtc);if (IS_ERR (asyh))return PTR_ERR (asyh);
drivers/gpu/drm/panel/panel-visionox-rm69299.c +1 -1
@@ -64,7 +64,7 @@ static int visionox_rm69299_unprepare(struct drm_panel *panel)struct visionox_rm69299 *ctx =panel_to_ctx (panel);int ret; - ctx->dsi->mode_flags =0 ; + ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM ; ret =mipi_dsi_dcs_write (ctx->dsi,MIPI_DCS_SET_DISPLAY_OFF ,NULL ,0 );if (ret <0 )
drivers/gpu/drm/pl111/pl111_drv.c +1 -1
@@ -297,7 +297,7 @@ static int pl111_amba_probe(struct amba_device *amba_dev, variant->name, priv);if (ret !=0 ) {dev_err (dev,"%s failed irq %d\n" , __func__, ret); -return ret; + goto dev_put; } ret =pl111_modeset_init (drm);
drivers/gpu/drm/ttm/ttm_bo_vm.c +6 -0
@@ -427,6 +427,11 @@ int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr,if (ret)return ret; +if (!bo->resource) { + ret = -ENODATA ; + goto unlock; + } +switch (bo->resource->mem_type) {case TTM_PL_SYSTEM : fallthrough;
@@ -441,6 +446,7 @@ int ttm_bo_vm_access(struct vm_area_struct *vma, unsigned long addr, ret = -EIO ; } +unlock:ttm_bo_unreserve (bo);return ret;
drivers/gpu/drm/vgem/vgem_fence.c +1 -1
@@ -94,7 +94,7 @@ static struct dma_fence *vgem_fence_create(struct vgem_file *vfile,dma_fence_init (&fence->base, &vgem_fence_ops, &fence->lock,dma_fence_context_alloc (1 ),1 ); -timer_setup (&fence->timer, vgem_fence_timeout,0 ); +timer_setup (&fence->timer, vgem_fence_timeout,TIMER_IRQSAFE );/* We force the fence to expire within 10s to prevent driver hangs */ mod_timer (&fence->timer, jiffies +VGEM_FENCE_TIMEOUT );
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c +12 -5
@@ -1525,6 +1525,7 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv, SVGA3dCmdHeader *header) {struct vmw_buffer_object *vmw_bo =NULL ; +struct vmw_resource *res;struct vmw_surface *srf =NULL ;VMW_DECLARE_CMD_VAR (*cmd, SVGA3dCmdSurfaceDMA);int ret;
@@ -1560,18 +1561,24 @@ static int vmw_cmd_dma(struct vmw_private *dev_priv, dirty = (cmd->body.transfer ==SVGA3D_WRITE_HOST_VRAM ) ?VMW_RES_DIRTY_SET :0 ; - ret =vmw_cmd_res_check (dev_priv, sw_context, vmw_res_surface, - dirty, user_surface_converter, - &cmd->body.host.sid,NULL ); + ret =vmw_cmd_res_check (dev_priv, sw_context, vmw_res_surface, dirty, + user_surface_converter, &cmd->body.host.sid, +NULL );if (unlikely (ret !=0 )) {if (unlikely (ret != -ERESTARTSYS ))VMW_DEBUG_USER ("could not find surface for DMA.\n" );return ret; } - srf =vmw_res_to_srf (sw_context->res_cache[vmw_res_surface].res); + res = sw_context->res_cache[vmw_res_surface].res; +if (!res) { +VMW_DEBUG_USER ("Invalid DMA surface.\n" ); +return -EINVAL ; + } -vmw_kms_cursor_snoop (srf, sw_context->fp->tfile, &vmw_bo->base, header); + srf =vmw_res_to_srf (res); +vmw_kms_cursor_snoop (srf, sw_context->fp->tfile, &vmw_bo->base, + header);return 0 ; }
drivers/gpu/host1x/syncpt.c +1 -3
@@ -394,8 +394,6 @@ static void syncpt_release(struct kref *ref) sp->locked = false; -mutex_lock (&sp->host->syncpt_mutex); -host1x_syncpt_base_free (sp->base);kfree (sp->name); sp->base =NULL ;
@@ -418,7 +416,7 @@ void host1x_syncpt_put(struct host1x_syncpt *sp)if (!sp)return ; -kref_put (&sp->ref, syncpt_release); +kref_put_mutex (&sp->ref, syncpt_release, &sp->host->syncpt_mutex); }EXPORT_SYMBOL (host1x_syncpt_put);
drivers/hid/hid-core.c +6 -1
@@ -1349,7 +1349,12 @@ EXPORT_SYMBOL_GPL(hid_snto32);static u32 s32ton (__s32 value,unsigned n) { -s32 a = value >> (n -1 ); +s32 a; + +if (!value || !n) +return 0 ; + + a = value >> (n -1 );if (a && a !=-1 )return value <0 ?1 << (n -1 ) : (1 << (n -1 )) -1 ;return value & ((1 << n) -1 );
drivers/hid/hid-elecom.c +4 -2
@@ -75,7 +75,8 @@ static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc,*/ mouse_button_fixup (hdev, rdesc, *rsize,20 ,28 ,22 ,14 ,8 );break ; -case USB_DEVICE_ID_ELECOM_M_XT3URBK : +case USB_DEVICE_ID_ELECOM_M_XT3URBK_00FB : +case USB_DEVICE_ID_ELECOM_M_XT3URBK_018F :case USB_DEVICE_ID_ELECOM_M_XT3DRBK :case USB_DEVICE_ID_ELECOM_M_XT4DRBK :/*
@@ -117,7 +118,8 @@ static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc,static const struct hid_device_id elecom_devices[] = { {HID_BLUETOOTH_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_BM084 ) }, {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XGL20DLBK ) }, - {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XT3URBK ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XT3URBK_00FB ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XT3URBK_018F ) }, {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XT3DRBK ) }, {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_XT4DRBK ) }, {HID_USB_DEVICE (USB_VENDOR_ID_ELECOM ,USB_DEVICE_ID_ELECOM_M_DT1URBK ) },
drivers/hid/hid-ids.h +2 -1
@@ -415,7 +415,8 @@#define USB_VENDOR_ID_ELECOM 0x056e#define USB_DEVICE_ID_ELECOM_BM084 0x0061#define USB_DEVICE_ID_ELECOM_M_XGL20DLBK 0x00e6 -#define USB_DEVICE_ID_ELECOM_M_XT3URBK 0x00fb +#define USB_DEVICE_ID_ELECOM_M_XT3URBK_00FB 0x00fb +#define USB_DEVICE_ID_ELECOM_M_XT3URBK_018F 0x018f#define USB_DEVICE_ID_ELECOM_M_XT3DRBK 0x00fc#define USB_DEVICE_ID_ELECOM_M_XT4DRBK 0x00fd#define USB_DEVICE_ID_ELECOM_M_DT1URBK 0x00fe
drivers/hid/hid-input.c +17 -1
@@ -752,7 +752,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fielswitch (usage->hid) {/* These usage IDs map directly to the usage codes. */ -case HID_GD_X :case HID_GD_Y :case HID_GD_Z : +case HID_GD_X :case HID_GD_Y :case HID_GD_RX :case HID_GD_RY :case HID_GD_RZ :if (field->flags &HID_MAIN_ITEM_RELATIVE )map_rel (usage->hid &0xf );
@@ -760,6 +760,22 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fielmap_abs_clear (usage->hid &0xf );break ; +case HID_GD_Z : +/* HID_GD_Z is mapped to ABS_DISTANCE for stylus/pen */ +if (field->flags &HID_MAIN_ITEM_RELATIVE ) { +map_rel (usage->hid &0xf ); + }else { +if (field->application ==HID_DG_PEN || + field->physical ==HID_DG_PEN || + field->logical ==HID_DG_STYLUS || + field->physical ==HID_DG_STYLUS || + field->application ==HID_DG_DIGITIZER ) +map_abs_clear (ABS_DISTANCE ); +else +map_abs_clear (usage->hid &0xf ); + } +break ; +case HID_GD_WHEEL :if (field->flags &HID_MAIN_ITEM_RELATIVE ) {set_bit (REL_WHEEL , input->relbit);
drivers/hid/hid-logitech-dj.c +23 -33
123 lines not on this page · raw message
drivers/hid/hid-quirks.c +11 -1
@@ -220,6 +220,15 @@ static const struct hid_device_id hid_quirks[] = {* used as a driver. See hid_scan_report(). */ static const struct hid_device_id hid_have_special_driver[] = { +#if IS_ENABLED(CONFIG_APPLEDISPLAY) + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x9218 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x9219 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x921c ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x921d ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x9222 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x9226 ) }, + {HID_USB_DEVICE (USB_VENDOR_ID_APPLE ,0x9236 ) }, +#endif #if IS_ENABLED(CONFIG_HID_A4TECH) {HID_USB_DEVICE (USB_VENDOR_ID_A4TECH ,USB_DEVICE_ID_A4TECH_WCP32PU ) }, { HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
@@ -382,7 +391,8 @@ static const struct hid_device_id hid_have_special_driver[] = { #if IS_ENABLED(CONFIG_HID_ELECOM) { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_BM084) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XGL20DLBK) }, - { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK_00FB) }, + { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3URBK_018F) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT3DRBK) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_XT4DRBK) }, { HID_USB_DEVICE(USB_VENDOR_ID_ELECOM, USB_DEVICE_ID_ELECOM_M_DT1URBK) },
drivers/hwmon/max16065.c +4 -3
@@ -216,12 +216,13 @@ static ssize_t max16065_current_show(struct device *dev, struct device_attribute *da, char *buf) { struct max16065_data *data = max16065_update_device(dev); +int curr_sense = data->curr_sense; -if (unlikely (data->curr_sense <0 )) -return data->curr_sense; +if (unlikely (curr_sense <0 )) +return curr_sense;return sysfs_emit (buf,"%d\n" , -ADC_TO_CURR (data->curr_sense, data->curr_gain)); +ADC_TO_CURR (curr_sense, data->curr_gain)); } static ssize_t max16065_limit_store(struct device *dev,
drivers/hwmon/w83791d.c +11 -6
@@ -218,9 +218,14 @@ static u8 fan_to_reg(long rpm, int div)return clamp_val ((1350000 + rpm * div /2 ) / (rpm * div),1 ,254 ); } -#define FAN_FROM_REG (val, div) ((val) == 0 ? -1 : \ - ((val) == 255 ? 0 : \ - 1350000 / ((val) * (div)))) +static int fan_from_reg (int val,int div) +{ +if (val ==0 ) +return -1 ; +if (val ==255 ) +return 0 ; +return 1350000 / (val * div); +}/* for temp1 which is 8-bit resolution, LSB = 1 degree Celsius */ #define TEMP1_FROM_REG (val) ((val) * 1000)
@@ -521,7 +526,7 @@ static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \struct w83791d_data *data =w83791d_update_device (dev); \int nr = sensor_attr->index; \return sprintf (buf,"%d\n" , \ -FAN_FROM_REG (data->reg[nr],DIV_FROM_REG (data->fan_div[nr]))); \ +fan_from_reg (data->reg[nr],DIV_FROM_REG (data->fan_div[nr]))); \ }show_fan_reg (fan);
@@ -585,10 +590,10 @@ static ssize_t store_fan_div(struct device *dev, struct device_attribute *attr,if (err)return err; +mutex_lock (&data->update_lock);/* Save fan_min */ - min =FAN_FROM_REG (data->fan_min[nr],DIV_FROM_REG (data->fan_div[nr])); + min =fan_from_reg (data->fan_min[nr],DIV_FROM_REG (data->fan_div[nr])); -mutex_lock (&data->update_lock); data->fan_div[nr] =div_to_reg (nr, val);switch (nr) {
drivers/hwmon/w83l786ng.c +18 -8
@@ -77,15 +77,25 @@ FAN_TO_REG(long rpm, int div)return clamp_val ((1350000 + rpm * div /2 ) / (rpm * div),1 ,254 ); } -#define FAN_FROM_REG (val, div) ((val) == 0 ? -1 : \ - ((val) == 255 ? 0 : \ - 1350000 / ((val) * (div)))) +static int fan_from_reg (int val,int div) +{ +if (val ==0 ) +return -1 ; +if (val ==255 ) +return 0 ; +return 1350000 / (val * div); +}/* for temp */ #define TEMP_TO_REG (val) (clamp_val(((val) < 0 ? (val) + 0x100 * 1000 \ : (val)) / 1000, 0, 0xff)) -#define TEMP_FROM_REG (val) (((val) & 0x80 ? \ - (val) - 0x100 : (val)) * 1000) + +static int temp_from_reg (int val) +{ +if (val &0x80 ) +return (val -0x100 ) *1000 ; +return val *1000 ; +}/* * The analog voltage inputs have 8mV LSB. Since the sysfs output is
@@ -281,7 +291,7 @@ static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \int nr =to_sensor_dev_attr (attr)->index; \struct w83l786ng_data *data =w83l786ng_update_device (dev); \return sprintf (buf,"%d\n" , \ -FAN_FROM_REG (data->reg[nr],DIV_FROM_REG (data->fan_div[nr]))); \ +fan_from_reg (data->reg[nr],DIV_FROM_REG (data->fan_div[nr]))); \ }show_fan_reg (fan);
@@ -348,7 +358,7 @@ store_fan_div(struct device *dev, struct device_attribute *attr,/* Save fan_min */ mutex_lock (&data->update_lock); - min =FAN_FROM_REG (data->fan_min[nr],DIV_FROM_REG (data->fan_div[nr])); + min =fan_from_reg (data->fan_min[nr],DIV_FROM_REG (data->fan_div[nr])); data->fan_div[nr] =DIV_TO_REG (val);
@@ -410,7 +420,7 @@ show_temp(struct device *dev, struct device_attribute *attr, char *buf)int nr = sensor_attr->nr;int index = sensor_attr->index;struct w83l786ng_data *data =w83l786ng_update_device (dev); -return sprintf (buf,"%d\n" ,TEMP_FROM_REG (data->temp[nr][index])); +return sprintf (buf,"%d\n" ,temp_from_reg (data->temp[nr][index])); } static ssize_t
drivers/hwtracing/coresight/coresight-core.c +15 -5
@@ -1454,18 +1454,20 @@ static void coresight_remove_conns(struct coresight_device *csdev) }/** -* coresight_timeout - loop until a bit has changed to a specific register -* state. +* coresight_timeout_action - loop until a bit has changed to a specific register +* state, with a callback after every trial. * @csa: coresight device access for the device * @offset: Offset of the register from the base of the device. * @position: the position of the bit of interest. * @value: the value the bit should have. +* @cb: Call back after each trial. * * Return: 0 as soon as the bit has taken the desired state or -EAGAIN if * TIMEOUT_US has elapsed, which ever happens first. */ -int coresight_timeout (struct csdev_access *csa,u32 offset, -int position,int value) +int coresight_timeout_action (struct csdev_access *csa,u32 offset, +int position,int value, +coresight_timeout_cb_t cb) {int i;u32 val;
@@ -1481,7 +1483,8 @@ int coresight_timeout(struct csdev_access *csa, u32 offset,if (!(val &BIT (position)))return 0 ; } - +if (cb) +cb (csa, offset, position, value);/* * Delay is arbitrary - the specification doesn't say how long * we are expected to wait. Extra check required to make sure
@@ -1493,6 +1496,13 @@ int coresight_timeout(struct csdev_access *csa, u32 offset,return -EAGAIN ; } +EXPORT_SYMBOL_GPL (coresight_timeout_action); + +int coresight_timeout (struct csdev_access *csa,u32 offset, +int position,int value) +{ +return coresight_timeout_action (csa, offset, position, value,NULL ); +}EXPORT_SYMBOL_GPL (coresight_timeout);u32 coresight_relaxed_read32 (struct coresight_device *csdev,u32 offset)
drivers/hwtracing/coresight/coresight-etm4x-core.c +199 -71
50 lines not on this page · raw message
drivers/hwtracing/coresight/coresight-etm4x.h +7 -2
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-self-hosted-trace.h new file +31 -0
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h +23 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_buffer.c +52 -19
71 lines not on this page · raw message
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c +20 -12
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/ib_verbs.c +1 -6
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_res.c +3 -5
Lines of this file are not shown. View the raw message.
drivers/input/touchscreen/ti_am335x_tsc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +17 -10
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu/qcom_iommu.c +4 -6
Lines of this file are not shown. View the raw message.
drivers/media/platform/davinci/vpif_capture.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/media-dev.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_vpu.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vidtv/vidtv_channel.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/pvrusb2/pvrusb2-hdw.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +48 -39
87 lines not on this page · raw message
drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000/e1000_main.c +9 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e.h +13 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_client.c +10 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_ethtool.c +0 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +7 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_txrx.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_txrx.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/prestera/prestera_devlink.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c +107 -15
122 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/port.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +9 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/r8169_main.c +1 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/mdio/mdio-aspeed.c +45 -32
77 lines not on this page · raw message
drivers/net/wireless/mediatek/mt76/eeprom.c +24 -13
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c +2 -7
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +19 -8
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pci-keystone.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-designware.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/phy/broadcom/phy-bcm63xx-usbh.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_ishtp.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/spi/spi-tegra210-quad.c +285 -22
307 lines not on this page · raw message
drivers/staging/media/hantro/hantro_g2_hevc_dec.c +13 -2
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +9 -4
Lines of this file are not shown. View the raw message.
drivers/usb/host/xhci-dbgtty.c +45 -7
52 lines not on this page · raw message
drivers/usb/serial/ftdi_sio.c +24 -48
72 lines not on this page · raw message
drivers/vdpa/vdpa.c +231 -0
231 lines not on this page · raw message
drivers/watchdog/wdat_wdt.c +44 -21
65 lines not on this page · raw message
fs/ext4/mballoc.c +37 -21
58 lines not on this page · raw message
fs/ext4/super.c +45 -20
65 lines not on this page · raw message
fs/f2fs/super.c +31 -22
53 lines not on this page · raw message
fs/nfs/dir.c +106 -27
133 lines not on this page · raw message
fs/nfs/nfs2xdr.c +1 -69
70 lines not on this page · raw message
fs/nfs/nfs3xdr.c +20 -88
108 lines not on this page · raw message
fs/nfs/nfs4xdr.c +41 -3
44 lines not on this page · raw message
fs/nfs_common/common.c new file +66 -0
66 lines not on this page · raw message
fs/nfsd/nfs4state.c +43 -3
46 lines not on this page · raw message
fs/ntfs3/frecord.c +37 -12
49 lines not on this page · raw message
include/linux/balloon_compaction.h +16 -49
65 lines not on this page · raw message
include/linux/rculist_nulls.h +59 -0
59 lines not on this page · raw message
include/net/netfilter/nf_conntrack_count.h +8 -8
Lines of this file are not shown. View the raw message.
mm/damon/core-test.h +72 -1
73 lines not on this page · raw message
net/ceph/osdmap.c +67 -73
140 lines not on this page · raw message
net/ethtool/ioctl.c +92 -42
134 lines not on this page · raw message
net/netfilter/nf_conncount.c +146 -65
211 lines not on this page · raw message
net/sched/sch_cake.c +32 -26
58 lines not on this page · raw message
net/xfrm/xfrm_state.c +17 -24
41 lines not on this page · raw message
security/keys/trusted-keys/trusted_tpm2.c +4 -2
Lines of this file are not shown. View the raw message.
security/smack/smack_lsm.c +27 -14
41 lines not on this page · raw message
sound/isa/wavefront/wavefront.c +31 -30
61 lines not on this page · raw message
sound/isa/wavefront/wavefront_synth.c +100 -98
198 lines not on this page · raw message
sound/soc/fsl/fsl_xcvr.c +153 -46
199 lines not on this page · raw message
sound/soc/qcom/qdsp6/q6adm.c +71 -75
146 lines not on this page · raw message
sound/soc/stm/stm32_i2s.c +21 -41
62 lines not on this page · raw message
sound/soc/stm/stm32_sai.c +17 -34
51 lines not on this page · raw message
sound/soc/stm/stm32_sai_sub.c +35 -24
59 lines not on this page · raw message
sound/soc/stm/stm32_spdifrx.c +15 -29
44 lines not on this page · raw message
tools/testing/selftests/bpf/prog_tests/perf_branches.c +17 -5
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/send_signal.c +5 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/test_perf_branches.c +3 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/ftrace/func_traceonoff_triggers.tc +3 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/test_vxlan_under_vrf.sh +2 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.