Linux 5.15.75
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.15.75 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/ABI/testing/sysfs-bus-iio | 2 Documentation/arm64/silicon-errata.rst | 2 Documentation/filesystems/vfs.rst | 3 Makefile | 8 arch/arm/Kconfig | 1 arch/arm/boot/compressed/vmlinux.lds.S | 2 arch/arm/boot/dts/armada-385-turris-omnia.dts | 4 arch/arm/boot/dts/exynos4412-midas.dtsi | 2 arch/arm/boot/dts/exynos4412-origen.dts | 2 arch/arm/boot/dts/imx6dl.dtsi | 3 arch/arm/boot/dts/imx6q.dtsi | 3 arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi | 6 arch/arm/boot/dts/imx6qp.dtsi | 6 arch/arm/boot/dts/imx6sl.dtsi | 3 arch/arm/boot/dts/imx6sll.dtsi | 3 arch/arm/boot/dts/imx6sx.dtsi | 6 arch/arm/boot/dts/imx7d-sdb.dts | 7 arch/arm/boot/dts/kirkwood-lsxl.dtsi | 16 arch/arm/mm/dump.c | 2 arch/arm/mm/kasan_init.c | 9 arch/arm/mm/mmu.c | 4 arch/arm64/Kconfig | 17 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 1 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 10 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 11 arch/arm64/kernel/cpu_errata.c | 5 arch/arm64/kernel/ftrace.c | 17 arch/arm64/kernel/topology.c | 40 - arch/ia64/mm/numa.c | 1 arch/mips/bcm47xx/prom.c | 4 arch/mips/sgi-ip27/ip27-xtalk.c | 74 ++- arch/powerpc/Makefile | 2 arch/powerpc/boot/Makefile | 1 arch/powerpc/boot/dts/fsl/e500v1_power_isa.dtsi | 51 ++ arch/powerpc/boot/dts/fsl/mpc8540ads.dts | 2 arch/powerpc/boot/dts/fsl/mpc8541cds.dts | 2 arch/powerpc/boot/dts/fsl/mpc8555cds.dts | 2 arch/powerpc/boot/dts/fsl/mpc8560ads.dts | 2 arch/powerpc/configs/pseries_defconfig | 1 arch/powerpc/include/asm/syscalls.h | 12 arch/powerpc/kernel/kprobes.c | 8 arch/powerpc/kernel/pci_dn.c | 1 arch/powerpc/kernel/sys_ppc32.c | 14 arch/powerpc/kernel/syscalls.c | 4 arch/powerpc/math-emu/math_efp.c | 1 arch/powerpc/platforms/powernv/opal.c | 1 arch/powerpc/platforms/pseries/vas.c | 2 arch/powerpc/sysdev/fsl_msi.c | 2 arch/riscv/Kconfig | 2 arch/riscv/Makefile | 2 arch/riscv/include/asm/io.h | 16 arch/riscv/kernel/setup.c | 4 arch/riscv/kernel/smpboot.c | 3 arch/riscv/kernel/sys_riscv.c | 3 arch/riscv/mm/fault.c | 3 arch/sh/include/asm/sections.h | 2 arch/sh/kernel/machvec.c | 10 arch/um/kernel/um_arch.c | 2 arch/x86/include/asm/hyperv-tlfs.h | 4 arch/x86/include/asm/microcode.h | 1 arch/x86/kernel/cpu/feat_ctl.c | 2 arch/x86/kernel/cpu/mce/apei.c | 13 arch/x86/kernel/cpu/microcode/amd.c | 3 arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 12 arch/x86/kvm/emulate.c | 2 arch/x86/kvm/vmx/nested.c | 37 + arch/x86/kvm/vmx/vmx.c | 12 arch/x86/xen/enlighten_pv.c | 3 block/blk-throttle.c | 8 block/blk-wbt.c | 10 crypto/akcipher.c | 8 drivers/acpi/acpi_fpdt.c | 22 + drivers/acpi/acpi_video.c | 16 drivers/acpi/apei/ghes.c | 2 drivers/acpi/x86/utils.c | 19 drivers/ata/libahci_platform.c | 14 drivers/base/arch_topology.c | 19 drivers/block/nbd.c | 6 drivers/bluetooth/btintel.c | 17 drivers/bluetooth/btusb.c | 14 drivers/bluetooth/hci_ldisc.c | 7 drivers/bluetooth/hci_serdev.c | 10 drivers/char/hw_random/arm_smccc_trng.c | 4 drivers/char/hw_random/imx-rngc.c | 14 drivers/clk/baikal-t1/ccu-div.c | 65 +++ drivers/clk/baikal-t1/ccu-div.h | 10 drivers/clk/baikal-t1/clk-ccu-div.c | 26 + drivers/clk/bcm/clk-bcm2835.c | 43 +- drivers/clk/berlin/bg2.c | 5 drivers/clk/berlin/bg2q.c | 6 drivers/clk/clk-ast2600.c | 2 drivers/clk/clk-oxnas.c | 6 drivers/clk/clk-qoriq.c | 10 drivers/clk/clk-versaclock5.c | 2 drivers/clk/imx/clk-scu.c | 6 drivers/clk/mediatek/clk-mt8183-mfgcfg.c | 6 drivers/clk/meson/meson-aoclk.c | 5 drivers/clk/meson/meson-eeclk.c | 5 drivers/clk/meson/meson8b.c | 5 drivers/clk/qcom/Kconfig | 1 drivers/clk/qcom/apss-ipq6018.c | 2 drivers/clk/qcom/gcc-sm6115.c | 46 +- drivers/clk/sprd/common.c | 9 drivers/clk/tegra/clk-tegra114.c | 1 drivers/clk/tegra/clk-tegra20.c | 1 drivers/clk/tegra/clk-tegra210.c | 1 drivers/clk/ti/clk-dra7-atl.c | 9 drivers/clk/zynqmp/clkc.c | 7 drivers/clk/zynqmp/pll.c | 31 - drivers/cpufreq/intel_pstate.c | 1 drivers/crypto/cavium/cpt/cptpf_main.c | 6 drivers/crypto/ccp/ccp-dmaengine.c | 6 drivers/crypto/hisilicon/qm.c | 6 drivers/crypto/hisilicon/zip/zip_crypto.c | 4 drivers/crypto/inside-secure/safexcel_hash.c | 8 drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c | 18 drivers/crypto/qat/qat_common/adf_gen4_hw_data.h | 2 drivers/crypto/qat/qat_common/qat_algs.c | 18 drivers/crypto/sahara.c | 18 drivers/dma-buf/udmabuf.c | 9 drivers/dma/hisi_dma.c | 28 - drivers/dma/ioat/dma.c | 6 drivers/dma/mxs-dma.c | 11 drivers/dma/ti/k3-udma.c | 25 - drivers/firmware/efi/libstub/fdt.c | 8 drivers/firmware/google/gsmi.c | 9 drivers/fpga/dfl.c | 2 drivers/fsi/fsi-core.c | 3 drivers/gpio/gpio-rockchip.c | 7 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 7 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 14 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 5 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 67 +-- drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c | 6 drivers/gpu/drm/amd/display/dc/core/dc.c | 16 drivers/gpu/drm/amd/display/dc/dc_stream.h | 6 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 35 - drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h | 3 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 8 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 4 drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 21 - drivers/gpu/drm/arm/display/komeda/komeda_kms.h | 2 drivers/gpu/drm/bridge/adv7511/adv7511.h | 5 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 4 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 4 drivers/gpu/drm/bridge/lontium-lt9611.c | 3 drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 4 drivers/gpu/drm/bridge/parade-ps8640.c | 4 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 13 drivers/gpu/drm/drm_bridge.c | 4 drivers/gpu/drm/drm_dp_helper.c | 9 drivers/gpu/drm/drm_dp_mst_topology.c | 6 drivers/gpu/drm/drm_ioctl.c | 8 drivers/gpu/drm/drm_mipi_dsi.c | 1 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 drivers/gpu/drm/i915/intel_pm.c | 10 drivers/gpu/drm/meson/meson_drv.c | 10 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 12 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c | 29 - drivers/gpu/drm/msm/dp/dp_catalog.c | 2 drivers/gpu/drm/nouveau/nouveau_bo.c | 4 drivers/gpu/drm/nouveau/nouveau_connector.c | 3 drivers/gpu/drm/nouveau/nouveau_prime.c | 1 drivers/gpu/drm/omapdrm/dss/dss.c | 3 drivers/gpu/drm/pl111/pl111_versatile.c | 1 drivers/gpu/drm/tiny/bochs.c | 2 drivers/gpu/drm/udl/udl_modeset.c | 3 drivers/gpu/drm/vc4/vc4_vec.c | 4 drivers/gpu/drm/virtio/virtgpu_object.c | 3 drivers/gpu/drm/virtio/virtgpu_plane.c | 6 drivers/gpu/drm/virtio/virtgpu_vq.c | 2 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 1 drivers/hid/hid-multitouch.c | 8 drivers/hid/hid-roccat.c | 4 drivers/hsi/controllers/omap_ssi_core.c | 1 drivers/hsi/controllers/omap_ssi_port.c | 8 drivers/hwmon/gsc-hwmon.c | 1 drivers/hwmon/pmbus/mp2888.c | 13 drivers/hwmon/sht4x.c | 2 drivers/i2c/busses/i2c-designware-core.h | 7 drivers/i2c/busses/i2c-designware-master.c | 13 drivers/i2c/busses/i2c-mlxbf.c | 44 +- drivers/iio/adc/ad7923.c | 4 drivers/iio/adc/at91-sama5d2_adc.c | 28 - drivers/iio/adc/ltc2497.c | 13 drivers/iio/dac/ad5593r.c | 46 +- drivers/iio/inkern.c | 8 drivers/iio/magnetometer/yamaha-yas530.c | 2 drivers/iio/pressure/dps310.c | 262 ++++++++----- drivers/infiniband/core/cm.c | 14 drivers/infiniband/core/uverbs_cmd.c | 5 drivers/infiniband/core/verbs.c | 2 drivers/infiniband/hw/hns/hns_roce_mr.c | 1 drivers/infiniband/hw/irdma/defs.h | 1 drivers/infiniband/hw/irdma/hw.c | 51 +- drivers/infiniband/hw/irdma/type.h | 1 drivers/infiniband/hw/irdma/user.h | 1 drivers/infiniband/hw/irdma/utils.c | 3 drivers/infiniband/hw/irdma/verbs.c | 2 drivers/infiniband/hw/mlx4/mr.c | 1 drivers/infiniband/hw/mlx5/main.c | 3 drivers/infiniband/hw/mlx5/odp.c | 3 drivers/infiniband/sw/rxe/rxe_qp.c | 10 drivers/infiniband/sw/rxe/rxe_queue.c | 12 drivers/infiniband/sw/siw/siw.h | 1 drivers/infiniband/sw/siw/siw_qp.c | 2 drivers/infiniband/sw/siw/siw_qp_rx.c | 27 - drivers/infiniband/sw/siw/siw_verbs.c | 3 drivers/infiniband/ulp/srp/ib_srp.c | 4 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 21 + drivers/iommu/omap-iommu-debug.c | 6 drivers/isdn/mISDN/l1oip.h | 1 drivers/isdn/mISDN/l1oip_core.c | 13 drivers/leds/flash/leds-lm3601x.c | 2 drivers/mailbox/bcm-flexrm-mailbox.c | 8 drivers/mailbox/mailbox-mpfs.c | 25 - drivers/md/bcache/writeback.c | 73 ++- drivers/md/raid0.c | 2 drivers/md/raid5.c | 15 drivers/media/pci/cx88/cx88-vbi.c | 9 drivers/media/pci/cx88/cx88-video.c | 43 +- drivers/media/platform/exynos4-is/fimc-is.c | 1 drivers/media/platform/meson/ge2d/ge2d.c | 1 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 1 drivers/media/platform/s5p-mfc/s5p_mfc.c | 3 drivers/media/platform/xilinx/xilinx-vipp.c | 9 drivers/media/usb/uvc/uvc_ctrl.c | 83 ++-- drivers/media/usb/uvc/uvc_driver.c | 8 drivers/memory/of_memory.c | 2 drivers/memory/pl353-smc.c | 1 drivers/mfd/fsl-imx25-tsadc.c | 34 + drivers/mfd/intel_soc_pmic_core.c | 1 drivers/mfd/lp8788-irq.c | 3 drivers/mfd/lp8788.c | 12 drivers/mfd/sm501.c | 7 drivers/misc/ocxl/file.c | 2 drivers/mmc/host/au1xmmc.c | 3 drivers/mmc/host/sdhci-msm.c | 1 drivers/mmc/host/sdhci-sprd.c | 2 drivers/mmc/host/wmt-sdmmc.c | 5 drivers/mtd/devices/docg3.c | 7 drivers/mtd/nand/raw/atmel/nand-controller.c | 1 drivers/mtd/nand/raw/fsl_elbc_nand.c | 28 - drivers/mtd/nand/raw/intel-nand-controller.c | 12 drivers/mtd/nand/raw/meson_nand.c | 4 drivers/net/can/usb/kvaser_usb/kvaser_usb.h | 2 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 3 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c | 2 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c | 79 +++ drivers/net/ethernet/atheros/alx/main.c | 5 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 1 drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 2 drivers/net/ethernet/intel/iavf/iavf_main.c | 177 ++++++-- drivers/net/ethernet/intel/ice/ice_ethtool.c | 1 drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c | 10 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 13 drivers/net/ethernet/ti/Kconfig | 1 drivers/net/ethernet/ti/davinci_mdio.c | 242 +++++++++++- drivers/net/hyperv/hyperv_net.h | 3 drivers/net/hyperv/netvsc.c | 4 drivers/net/hyperv/netvsc_drv.c | 19 drivers/net/thunderbolt.c | 28 - drivers/net/usb/r8152.c | 4 drivers/net/wireless/ath/ath10k/mac.c | 54 +- drivers/net/wireless/ath/ath11k/mac.c | 25 - drivers/net/wireless/ath/ath9k/htc_hst.c | 43 +- drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c | 3 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c | 12 drivers/net/wireless/mediatek/mt76/mt7615/main.c | 4 drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 6 drivers/net/wireless/mediatek/mt76/mt7921/main.c | 1 drivers/net/wireless/mediatek/mt76/sdio.c | 2 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 34 + drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 75 +++ drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c | 9 drivers/net/wireless/realtek/rtw88/main.c | 8 drivers/net/wwan/iosm/iosm_ipc_wwan.c | 5 drivers/nvme/host/core.c | 3 drivers/nvme/host/multipath.c | 1 drivers/nvme/host/pci.c | 3 drivers/nvme/target/tcp.c | 11 drivers/nvmem/core.c | 15 drivers/pci/setup-res.c | 11 drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.c | 6 drivers/phy/mediatek/phy-mtk-tphy.c | 7 drivers/phy/qualcomm/phy-qcom-usb-hsic.c | 6 drivers/pinctrl/pinctrl-rockchip.c | 13 drivers/platform/chrome/chromeos_laptop.c | 24 - drivers/platform/chrome/cros_ec.c | 8 drivers/platform/chrome/cros_ec_chardev.c | 3 drivers/platform/chrome/cros_ec_proto.c | 32 + drivers/platform/chrome/cros_ec_typec.c | 2 drivers/platform/x86/msi-laptop.c | 14 drivers/power/supply/adp5061.c | 6 drivers/powercap/intel_rapl_common.c | 4 drivers/regulator/core.c | 2 drivers/regulator/qcom_rpm-regulator.c | 24 - drivers/scsi/3w-9xxx.c | 2 drivers/scsi/cxgbi/libcxgbi.c | 2 drivers/scsi/iscsi_tcp.c | 140 +++++- drivers/scsi/iscsi_tcp.h | 5 drivers/scsi/libiscsi.c | 41 +- drivers/scsi/libsas/sas_expander.c | 2 drivers/scsi/qedf/qedf_main.c | 21 + drivers/slimbus/Kconfig | 3 drivers/slimbus/qcom-ngd-ctrl.c | 14 drivers/soc/qcom/smem_state.c | 3 drivers/soc/qcom/smsm.c | 20 drivers/soc/tegra/Kconfig | 1 drivers/soundwire/cadence_master.c | 9 drivers/soundwire/intel.c | 1 drivers/spi/spi-dw-bt1.c | 4 drivers/spi/spi-meson-spicc.c | 6 drivers/spi/spi-mt7621.c | 8 drivers/spi/spi-omap-100k.c | 1 drivers/spi/spi-qup.c | 21 - drivers/spi/spi-s3c64xx.c | 9 drivers/spi/spi.c | 2 drivers/spmi/spmi-pmic-arb.c | 13 drivers/staging/greybus/audio_helper.c | 11 drivers/staging/media/meson/vdec/vdec_hevc.c | 6 drivers/staging/media/sunxi/cedrus/cedrus.c | 4 drivers/staging/media/sunxi/cedrus/cedrus_h265.c | 5 drivers/staging/rtl8723bs/core/rtw_cmd.c | 16 drivers/staging/rtl8723bs/os_dep/os_intfs.c | 60 +- drivers/staging/vt6655/device_main.c | 8 drivers/thermal/cpufreq_cooling.c | 10 drivers/thermal/intel/intel_powerclamp.c | 4 drivers/thermal/qcom/tsens-v0_1.c | 2 drivers/thunderbolt/nhi.c | 49 ++ drivers/thunderbolt/switch.c | 24 + drivers/thunderbolt/tb.h | 1 drivers/thunderbolt/tb_regs.h | 1 drivers/thunderbolt/usb4.c | 20 drivers/tty/serial/8250/8250_core.c | 16 drivers/tty/serial/8250/8250_pci.c | 5 drivers/tty/serial/8250/8250_port.c | 18 drivers/tty/serial/fsl_lpuart.c | 2 drivers/tty/serial/jsm/jsm_driver.c | 3 drivers/tty/serial/xilinx_uartps.c | 2 drivers/usb/common/debug.c | 96 +++- drivers/usb/core/quirks.c | 4 drivers/usb/dwc3/core.c | 17 drivers/usb/dwc3/core.h | 4 drivers/usb/gadget/function/f_printer.c | 12 drivers/usb/host/xhci-dbgcap.c | 2 drivers/usb/host/xhci-mem.c | 7 drivers/usb/host/xhci-plat.c | 18 drivers/usb/host/xhci.c | 3 drivers/usb/host/xhci.h | 1 drivers/usb/misc/idmouse.c | 8 drivers/usb/mtu3/mtu3_core.c | 2 drivers/usb/mtu3/mtu3_plat.c | 2 drivers/usb/musb/musb_gadget.c | 3 drivers/usb/storage/unusual_devs.h | 6 drivers/vhost/vsock.c | 2 drivers/video/fbdev/smscufx.c | 14 drivers/video/fbdev/stifb.c | 2 drivers/xen/gntdev-common.h | 3 drivers/xen/gntdev.c | 80 ++- fs/btrfs/extent-tree.c | 3 fs/btrfs/free-space-cache.c | 6 fs/btrfs/qgroup.c | 15 fs/btrfs/scrub.c | 36 + fs/btrfs/super.c | 11 fs/cifs/file.c | 9 fs/cifs/smb2pdu.c | 7 fs/cifs/smb2transport.c | 10 fs/dlm/ast.c | 6 fs/dlm/lock.c | 16 fs/dlm/lowcomms.c | 4 fs/eventfd.c | 10 fs/ext2/super.c | 6 fs/ext4/fast_commit.c | 40 + fs/ext4/file.c | 6 fs/ext4/inode.c | 14 fs/ext4/namei.c | 17 fs/ext4/resize.c | 2 fs/ext4/super.c | 25 - fs/f2fs/checkpoint.c | 47 +- fs/f2fs/data.c | 4 fs/f2fs/extent_cache.c | 3 fs/f2fs/f2fs.h | 9 fs/f2fs/gc.c | 10 fs/f2fs/recovery.c | 23 - fs/f2fs/segment.c | 2 fs/f2fs/super.c | 15 fs/file_table.c | 7 fs/fs-writeback.c | 37 + fs/internal.h | 10 fs/io-wq.c | 2 fs/io_uring.c | 43 +- fs/jbd2/commit.c | 2 fs/jbd2/journal.c | 10 fs/jbd2/recovery.c | 1 fs/jbd2/transaction.c | 6 fs/ksmbd/server.c | 4 fs/ksmbd/smb2pdu.c | 13 fs/ksmbd/smb_common.c | 6 fs/nfsd/nfs3proc.c | 11 fs/nfsd/nfs4proc.c | 19 fs/nfsd/nfs4recover.c | 4 fs/nfsd/nfs4state.c | 5 fs/nfsd/nfs4xdr.c | 13 fs/nfsd/nfsproc.c | 6 fs/nfsd/xdr4.h | 3 fs/ntfs3/inode.c | 2 fs/ntfs3/xattr.c | 102 ----- fs/open.c | 11 fs/quota/quota_tree.c | 38 + fs/splice.c | 10 fs/userfaultfd.c | 4 fs/xfs/xfs_super.c | 10 include/linux/ata.h | 39 + include/linux/bpf_verifier.h | 11 include/linux/dynamic_debug.h | 11 include/linux/eventfd.h | 2 include/linux/fs.h | 9 include/linux/iova.h | 2 include/linux/once.h | 28 + include/linux/ring_buffer.h | 2 include/linux/sched.h | 2 include/linux/serial_8250.h | 1 include/linux/serial_core.h | 3 include/linux/skbuff.h | 2 include/linux/sunrpc/svc.h | 19 include/linux/tcp.h | 2 include/linux/trace.h | 36 + include/linux/trace_events.h | 1 include/net/ieee802154_netdev.h | 12 include/net/tcp.h | 5 include/scsi/libiscsi.h | 6 include/uapi/rdma/mlx5-abi.h | 1 kernel/bpf/bpf_local_storage.c | 4 kernel/bpf/bpf_task_storage.c | 8 kernel/bpf/btf.c | 2 kernel/bpf/hashtab.c | 30 + kernel/bpf/syscall.c | 2 kernel/bpf/verifier.c | 42 +- kernel/cgroup/cgroup.c | 6 kernel/cgroup/cpuset.c | 18 kernel/gcov/gcc_4_7.c | 18 kernel/livepatch/transition.c | 18 kernel/rcu/tasks.h | 2 kernel/rcu/tree.c | 17 kernel/rcu/tree_plugin.h | 3 kernel/trace/ftrace.c | 8 kernel/trace/kprobe_event_gen_test.c | 49 ++ kernel/trace/ring_buffer.c | 87 ++++ kernel/trace/trace.c | 66 +++ kernel/trace/trace_eprobe.c | 60 -- kernel/trace/trace_events_synth.c | 23 - kernel/trace/trace_kprobe.c | 60 -- kernel/trace/trace_osnoise.c | 3 kernel/trace/trace_probe_kernel.h | 115 +++++ lib/Kconfig.debug | 8 lib/dynamic_debug.c | 45 -- lib/once.c | 30 + mm/damon/vaddr.c | 10 mm/hugetlb.c | 37 - mm/mmap.c | 5 net/bluetooth/hci_core.c | 34 + net/bluetooth/hci_sysfs.c | 3 net/bluetooth/l2cap_core.c | 17 net/bluetooth/rfcomm/sock.c | 3 net/can/bcm.c | 7 net/core/skmsg.c | 12 net/core/stream.c | 3 net/ieee802154/socket.c | 4 net/ipv4/inet_hashtables.c | 4 net/ipv4/netfilter/nft_fib_ipv4.c | 3 net/ipv4/tcp.c | 16 net/ipv4/tcp_output.c | 19 net/ipv6/netfilter/nft_fib_ipv6.c | 6 net/mac80211/cfg.c | 3 net/netfilter/nf_conntrack_core.c | 18 net/openvswitch/datapath.c | 18 net/rds/tcp.c | 2 net/sctp/auth.c | 18 net/unix/garbage.c | 20 net/vmw_vsock/virtio_transport_common.c | 2 net/xdp/xsk.c | 22 - net/xdp/xsk_queue.h | 22 - net/xfrm/xfrm_input.c | 18 net/xfrm/xfrm_ipcomp.c | 1 scripts/Kbuild.include | 23 + scripts/package/mkspec | 4 scripts/selinux/install_policy.sh | 2 security/Kconfig.hardening | 13 security/integrity/ima/ima_appraise.c | 12 sound/core/pcm_dmaengine.c | 8 sound/core/rawmidi.c | 2 sound/core/sound_oss.c | 13 sound/pci/hda/hda_beep.c | 15 sound/pci/hda/hda_beep.h | 1 sound/pci/hda/patch_hdmi.c | 6 sound/pci/hda/patch_realtek.c | 11 sound/pci/hda/patch_sigmatel.c | 25 - sound/soc/codecs/da7219.c | 5 sound/soc/codecs/lpass-tx-macro.c | 13 sound/soc/codecs/mt6359-accdet.c | 6 sound/soc/codecs/mt6660.c | 8 sound/soc/codecs/tas2764.c | 78 +-- sound/soc/codecs/wcd9335.c | 2 sound/soc/codecs/wcd934x.c | 2 sound/soc/codecs/wm5102.c | 6 sound/soc/codecs/wm5110.c | 6 sound/soc/codecs/wm8997.c | 6 sound/soc/fsl/eukrea-tlv320.c | 8 sound/soc/sh/rcar/ctu.c | 6 sound/soc/sh/rcar/dvc.c | 6 sound/soc/sh/rcar/mix.c | 6 sound/soc/sh/rcar/src.c | 5 sound/soc/sh/rcar/ssi.c | 4 sound/soc/sof/sof-pci-dev.c | 2 sound/usb/card.c | 32 + sound/usb/endpoint.c | 6 sound/usb/quirks.c | 42 -- sound/usb/quirks.h | 2 sound/usb/usbaudio.h | 1 tools/bpf/bpftool/btf_dumper.c | 2 tools/bpf/bpftool/main.c | 10 tools/lib/bpf/xsk.c | 6 tools/objtool/elf.c | 7 tools/perf/util/intel-pt.c | 9 tools/testing/selftests/arm64/signal/testcases/testcases.c | 2 tools/testing/selftests/tpm2/tpm2.py | 4 529 files changed, 4804 insertions(+), 2195 deletions(-)
Adam Skladowski (1):
clk: qcom: gcc-sm6115: Override default Alpha PLL regs
Adrian Hunter (1):
perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
Adrián Larumbe (2):
drm/meson: reorder driver deinit sequence to fix use-after-free bug drm/meson: explicitly remove aggregate driver at module unload time
Aharon Landau (1):
RDMA/mlx5: Don't compare mkey tags in DEVX indirect mkey
Albert Briscoe (1):
usb: gadget: function: fix dangling pnp_string in f_printer.c
Alex Sverdlin (1):
ARM: 9242/1: kasan: Only map modules if CONFIG_KASAN_VMALLOC=n
Alexander Aring (5):
fs: dlm: fix race between test_bit() and queue_work()
fs: dlm: handle -EBUSY first in lock arg validation
fs: dlm: fix race in lowcomms
net: ieee802154: return -EINVAL for unknown addr type Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
Alexander Coffin (1):
wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
Alexander Stein (7):
ARM: dts: imx6q: add missing properties for sram
ARM: dts: imx6dl: add missing properties for sram
ARM: dts: imx6qp: add missing properties for sram
ARM: dts: imx6sl: add missing properties for sram
ARM: dts: imx6sll: add missing properties for sram
ARM: dts: imx6sx: add missing properties for sram
arm64: dts: imx8mp: Add snps,gfladj-refclk-lpm-sel quirk to USB nodes
Alvin Šipraga (2):
drm: bridge: adv7511: fix CEC power down control register offset
drm: bridge: adv7511: unregister cec i2c device after cec adapter
Amir Goldstein (1):
locks: fix TOCTOU race when granting write lease
Andreas Pape (1):
ALSA: dmaengine: increment buffer pointer atomically
Andrew Bresticker (2):
riscv: Allow PROT_WRITE-only mmap()
riscv: Make VM_WRITE imply VM_READ
Andrew Gaul (1):
r8152: Rate limit overflow messages
Andrew Perepechko (1):
jbd2: wake up journal waiters in FIFO order, not LIFO
Andri Yngvason (1):
HID: multitouch: Add memory barriers
Anna Schumaker (1):
NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
Anssi Hannula (4):
can: kvaser_usb: Fix use of uninitialized completion
can: kvaser_usb_leaf: Fix overread with an invalid command
can: kvaser_usb_leaf: Fix TX queue out of sync after restart
can: kvaser_usb_leaf: Fix CAN state after restart
Antoine Tenart (2):
netfilter: conntrack: fix the gc rescheduling delay
netfilter: conntrack: revisit the gc initial rescheduling bias
Ard Biesheuvel (1):
efi: libstub: drop pointless get_memory_map() call
Aric Cyr (1):
drm/amd/display: Remove interface for periodic interrupt 1
Arun Easi (1):
scsi: tracing: Fix compile error in trace_array calls when TRACING is disabled
Arvid Norlander (1):
ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
Asmaa Mnebhi (1):
i2c: mlxbf: support lock mechanism
Baokun Li (1):
ext4: fix null-ptr-deref in ext4_write_info
Baolin Wang (1):
mm/damon: validate if the pmd entry is present before accessing
Bart Van Assche (1):
RDMA/srp: Fix srp_abort()
Bernard Metzler (2):
RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall. RDMA/siw: Fix QP destroy to wait for all references dropped.
Bitterblue Smith (4):
wifi: rtl8xxxu: Fix skb misuse in TX queue selection
wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask
wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM
Bob Pearson (1):
RDMA/rxe: Fix resize_finish() in rxe_queue.c
Callum Osmotherly (1):
ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
Carlos Llamas (1):
mm/mmap: undo ->mmap() when arch_validate_flags() fails
Chao Qin (1):
powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
Chao Yu (3):
f2fs: fix to do sanity check on destination blkaddr during recovery
f2fs: fix to do sanity check on summary info
f2fs: fix to account FS_CP_DATA_IO correctly
Chen-Yu Tsai (2):
drm/bridge: parade-ps8640: Fix regulator supply order
clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
Christian Brauner (1):
ntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers
Christophe JAILLET (10):
MIPS: SGI-IP27: Free some unused memory
nfsd: Fix a memory leak in an error handling path
spi: mt7621: Fix an error message in mt7621_spi_probe()
mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()
mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
mfd: lp8788: Fix an error handling path in lp8788_probe()
mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
Chuck Lever (7):
NFSD: Protect against send buffer overflow in NFSv3 READDIR
NFSD: Protect against send buffer overflow in NFSv2 READ
NFSD: Protect against send buffer overflow in NFSv3 READ
SUNRPC: Fix svcxdr_init_decode's end-of-buffer calculation
SUNRPC: Fix svcxdr_init_encode's buflen calculation
NFSD: Protect against send buffer overflow in NFSv2 READDIR
NFSD: Fix handling of oversized NFSv4 COMPOUND requests
Chunfeng Yun (2):
phy: phy-mtk-tphy: fix the phy type setting issue
usb: mtu3: fix failed runtime suspend in host only mode
Claudiu Beznea (4):
iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
iio: adc: at91-sama5d2_adc: check return status for pressure and touch
iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume
Coly Li (1):
bcache: fix set_at_max_writeback_rate() for multiple attached devices
Conor Dooley (4):
arm64: topology: move store_cpu_topology() to shared code
riscv: topology: fix default topology reporting
mailbox: mpfs: fix handling of the reg property
mailbox: mpfs: account for mbox offsets while sending
Dai Ngo (1):
NFSD: fix use-after-free on source server when doing inter-server copy
Daisuke Matsuda (1):
IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
Damian Muszynski (1):
crypto: qat - fix DMA transfer direction
Dan Carpenter (11):
wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse() drm/bridge: Avoid uninitialized variable warning
ASoC: mt6359: fix tests for platform_get_irq() failure platform/chrome: fix memory corruption in ioctl
fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
drivers: serial: jsm: fix some leaks in probe
mfd: fsl-imx25: Fix check for platform_get_irq() errors iommu/omap: Fix buffer overflow in debugfs
crypto: marvell/octeontx - prevent integer overflows
crypto: cavium - prevent integer overflow loading firmware
Dang Huynh (1):
clk: qcom: sm6115: Select QCOM_GDSC
Daniel Golle (5):
wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
wifi: rt2x00: set VGC gain for both chains of MT7620
wifi: rt2x00: set SoC wmac clock register
wifi: rt2x00: correctly set BBP register 86 for MT7620
Dario Binacchi (1):
dmaengine: mxs: use platform_driver_register
Dave Jiang (1):
dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
David Collins (1):
spmi: pmic-arb: correct duplicate APID to PPID mapping logic
David Gow (1):
drm/amd/display: fix overflow on MIN_I64 definition
David Sloan (1):
md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
Dmitry Baryshkov (1):
drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
Dmitry Osipenko (7):
drm/virtio: Check whether transferred 2D BO is shmem drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()
media: cedrus: Set the platform driver data earlier
media: cedrus: Fix endless loop in cedrus_h265_skip_bits() drm/virtio: Correct drm_gem_shmem_get_sg_table() error handling soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
Dmitry Torokhov (2):
ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
Dongliang Mu (2):
phy: qualcomm: call clk_disable_unprepare in the error handling
usb: idmouse: fix an uninit-value in idmouse_open
Doug Smythies (1):
cpufreq: intel_pstate: Add Tigerlake support in no-HWP mode
Duoming Zhou (2):
mISDN: fix use-after-free bugs in l1oip timer handlers
scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
Dylan Yudaken (1):
eventfd: guard wake_up in eventfd fs calls as well
Eddie James (2):
iio: pressure: dps310: Refactor startup procedure
iio: pressure: dps310: Reset chip after timeout
Enzo Matsumiya (1):
cifs: return correct error in ->calc_signature()
Eric Dumazet (2):
once: add DO_ONCE_SLOW() for sleepable contexts
tcp: annotate data-race around tcp_md5sig_pool_populated
Fangrui Song (1):
riscv: Pass -mno-relax only on lld < 15.0.0
Filipe Manana (1):
btrfs: fix race between quota enable and quota rescan ioctl
Gaosheng Cui (1):
nvmem: core: Fix memleak in nvmem_register()
Gaurav Kohli (1):
hv_netvsc: Fix race between VF offering and VF association message from host
Geert Uytterhoeven (1):
ARM: Drop CMDLINE_* dependency on ATAGS
Gerd Hoffmann (1):
drm/bochs: fix blanking
Greg Kroah-Hartman (3):
staging: greybus: audio_helper: remove unused and wrong debugfs usage
selinux: use "grep -E" instead of "egrep"
Linux 5.15.75
Guilherme G. Piccoli (1):
firmware: google: Test spinlock on panic path to avoid lockups
Haibo Chen (1):
ARM: dts: imx7d-sdb: config the max pressure for tsc2046
Hamza Mahfooz (1):
Revert "drm/amdgpu: use dirty framebuffer helper"
Hangyu Hua (2):
misc: ocxl: fix possible refcount leak in afu_ioctl()
media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc
Hans de Goede (4):
platform/x86: msi-laptop: Fix old-ec check for backlight registering platform/x86: msi-laptop: Fix resource cleanup
ACPI: tables: FPDT: Don't call acpi_os_map_memory() on invalid phys address platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
Haren Myneni (1):
powerpc/pseries/vas: Pass hw_cpu_id to node associativity HCALL
Hari Chandrakanthan (1):
wifi: mac80211: allow bw change during channel switch in mesh
Helge Deller (1):
parisc: fbdev/stifb: Align graphics memory size to 4MB
Hou Tao (3):
bpf: Disable preemption when increasing per-cpu map_locked
bpf: Propagate error from htab_lock_bucket() to userspace
bpf: Use this_cpu_{inc|dec|inc_return} for bpf_task_storage_busy
Howard Hsu (1):
wifi: mt76: mt7915: do not check state before configuring implicit beamform
Huacai Chen (1):
UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
Hyunwoo Kim (2):
fbdev: smscufx: Fix use-after-free in ufx_ops_open()
HID: roccat: Fix use-after-free in roccat_read()
Ian Nam (1):
clk: zynqmp: Fix stack-out-of-bounds in strncpy`
Ian Rogers (1):
selftests/xsk: Avoid use-after-free on ctx
Ignat Korchagin (1):
crypto: akcipher - default implementation for setting a private key
Ilpo Järvinen (1):
serial: 8250: Toggle IER bits on only after irq has been set up
Ivan T. Ivanov (1):
clk: bcm2835: Round UART input clock up
Jack Wang (2):
HSI: omap_ssi_port: Fix dma_map_sg error check
mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
Jacob Keller (1):
ice: set tx_tstamps when creating new Tx rings via ethtool
Jaegeuk Kim (3):
f2fs: complete checkpoints during remount
f2fs: flush pending checkpoints when freezing super
f2fs: increase the limit for reserve_root
Jairaj Arava (1):
ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
Jakob Hauser (1):
iio: magnetometer: yas530: Change data type of hard_offsets to signed
Jakub Kicinski (1):
eth: alx: take rtnl_lock on resume
James Cowgill (1):
hwrng: arm-smccc-trng - fix NO_ENTROPY handling
James Morse (1):
arm64: errata: Add Cortex-A55 to the repeat tlbi list
Jameson Thies (1):
platform/chrome: cros_ec: Notify the PM of wake events during resume
Jan Kara (3):
ext4: avoid crash when inline data creation follows DIO write
ext4: fix check for block being out of directory size
ext2: Use kvmalloc() for group descriptor array
Jane Chu (1):
x86/mce: Retrieve poison range from hardware
Janis Schoetterl-Glausch (1):
kbuild: rpm-pkg: fix breakage when V=1 is used
Jarkko Nikula (1):
i2c: designware: Fix handling of real but unexpected device interrupts
Jason A. Donenfeld (1):
hwmon: (sht4x) do not overflow clamping operation on 32-bit platforms
Javier Martinez Canillas (2):
drm: Use size_t type for len variable in drm_copy_field()
drm: Prevent drm_copy_field() to attempt copying a NULL pointer
Jean-Francois Le Fillatre (1):
usb: add quirks for Lenovo OneLink+ Dock
Jerry Lee 李修賢 (1):
ext4: continue to expand file system when the target size doesn't reach
Jesus Fernandez Manzano (1):
wifi: ath11k: fix number of VHT beamformee spatial streams
Jianglei Nie (4):
drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
bnx2x: fix potential memory leak in bnx2x_tpa_stop() drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
Jiasheng Jiang (3):
ASoC: rsnd: Add check for rsnd_mod_power_on
fsi: core: Check error number after calling ida_simple_get
mfd: sm501: Add check for platform_driver_register()
Jie Hai (3):
dmaengine: hisilicon: Disable channels when unregister hisi_dma
dmaengine: hisilicon: Fix CQ head update
dmaengine: hisilicon: Add multi-thread support for a DMA channel
Jim Cromie (4):
dyndbg: fix static_branch manipulation
dyndbg: fix module.dyndbg handling
dyndbg: let query-modname override actual module name
dyndbg: drop EXPORTed dynamic_debug_exec_queries
Jinke Han (1):
ext4: place buffer head allocation before handle start
Joel Stanley (1):
clk: ast2600: BCLK comes from EPLL
Jonathan Cameron (1):
iio: ABI: Fix wrong format of differential capacitance channel ABI.
Josh Triplett (1):
ext4: don't run ext4lazyinit for read-only filesystems
José Expósito (1):
media: uvcvideo: Fix memory leak in uvc_gpio_parse
Junichi Uekawa (1):
vhost/vsock: Use kvmalloc/kvfree for larger packets.
Justin Chen (2):
usb: host: xhci-plat: suspend and resume clocks
usb: host: xhci-plat: suspend/resume clks for brcm
Kees Cook (7):
hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZERO
hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zero
sh: machvec: Use char[] for section boundaries x86/microcode/AMD: Track patch allocation size explicitly
MIPS: BCM47XX: Cast memcmp() of function to (void *)
ARM: decompressor: Include .data.rel.ro.local
x86/entry: Work around Clang __bdos() bug
Keith Busch (1):
nvme: copy firmware_rev on each init
Khaled Almahallawy (1):
drm/dp: Don't rewrite link config when setting phy test pattern
Khalid Masum (1):
xfrm: Update ipcomp_scratches with NULL when freed
Kiran K (1):
Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk
Koba Ko (1):
crypto: ccp - Release dma channels before dmaengine unrgister
Kohei Tarumizu (1):
x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
Krzysztof Kozlowski (5):
ASoC: wcd9335: fix order of Slimbus unprepare/disable
ASoC: wcd934x: fix order of Slimbus unprepare/disable
slimbus: qcom-ngd: use correct error in message of pdr_add_lookup() failure
slimbus: qcom-ngd: cleanup in probe error path
slimbus: qcom-ngd-ctrl: allow compile testing without QCOM_RPROC_COMMON
Kshitiz Varshney (1):
hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()
Kumar Kartikeya Dwivedi (1):
bpf: Fix reference state management for synchronous callbacks
Kuogee Hsieh (1):
drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()
Lalith Rajendran (1):
ext4: make ext4_lazyinit_thread freezable
Lam Thai (1):
bpftool: Fix a wrong type cast in btf_dumper_int
Lee Jones (1):
bpf: Ensure correct locking around vulnerable function find_vpid()
Letu Ren (1):
scsi: 3w-9xxx: Avoid disabling device if failing to enable it
Li Huafei (1):
powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()
Liang He (18):
hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API
drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node() drm/omap: dss: Fix refcount leak bugs
ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
memory: of: Fix refcount leak bug in of_get_ddr_timings()
memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
soc: qcom: smem_state: Add refcounting for the 'state->of_node'
clk: meson: Hold reference returned by of_get_parent()
clk: oxnas: Hold reference returned by of_get_parent()
clk: qoriq: Hold reference returned by of_get_parent()
clk: berlin: Add of_node_put() for of_get_parent()
clk: sprd: Hold reference returned by of_get_parent()
media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent() powerpc/sysdev/fsl_msi: Add missing of_node_put()
powerpc/pci_dn: Add missing of_node_put()
Lin Yujun (2):
MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()
clk: imx: scu: fix memleak on platform_device_add() fails
Linus Walleij (1):
regulator: qcom_rpm: Fix circular deferral regression
Liu Jian (3):
skmsg: Schedule psock work if the cached skb exists on the psock
xfrm: Reinject transport-mode packets through workqueue
net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
Liu Shixin (1):
mm: hugetlb: fix UAF in hugetlb_handle_userfault
Liviu Dudau (1):
drm/komeda: Fix handling of atomic commits in the atomic_commit_tail hook
Logan Gunthorpe (2):
md/raid5: Ensure stripe_fill happens on non-read IO with journal md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
Lorenz Bauer (1):
bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
Lorenzo Bianconi (1):
wifi: mt76: mt7615: add mt7615_mutex_acquire/release in mt7615_sta_set_decap_offload
Lucas Segarra Fernandez (1):
crypto: qat - fix default value of WDT timer
Lucas Stach (2):
ARM: dts: imx6qdl-kontron-samx6i: hook up DDC i2c bus
drm: bridge: dw_hdmi: only trigger hotplug event on link change
Luciano Leão (1):
x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype
Luiz Augusto von Dentz (4):
Bluetooth: RFCOMM: Fix possible deadlock on socket shutdown/release
Bluetooth: hci_core: Fix not handling link timeouts propertly
Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
Bluetooth: L2CAP: Fix user-after-free
Lukas Czerner (2):
fs: record I_DIRTY_TIME even if inode already has I_DIRTY_INODE
ext4: don't increase iversion counter for ea_inodes
Luke D. Jones (2):
ALSA: hda/realtek: Correct pin configs for ASUS G533Z
ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
Lyude Paul (1):
drm/nouveau/kms/nv140-: Disable interlacing
M. Vefa Bicakci (2):
xen/gntdev: Prevent leaking grants
xen/gntdev: Accommodate VMA splitting
Maciej Fijalkowski (1):
xsk: Fix backpressure mechanism on Tx
Maciej S. Szmigiero (1):
btrfs: don't print information about space cache or tree every remount
Maciej W. Rozycki (4):
RISC-V: Make port I/O string accessors actually work
PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
serial: 8250: Let drivers request full 16550A feature probing
serial: 8250: Request full 16550A feature probing for OxSemi PCIe devices
Marek Behún (1):
ARM: dts: turris-omnia: Fix mpp26 pin name and comment
Marek Szyprowski (1):
spi: Ensure that sg_table won't be used after being freed
Mario Limonciello (3):
thunderbolt: Explicitly enable lane adapter hotplug events at startup
xhci: Don't show warning for reinit on known broken suspend
ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
Mark Brown (1):
kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT
Mark Rutland (1):
arm64: ftrace: fix module PLTs with mcount
Mark Zhang (1):
RDMA/cm: Use SLID in the work completion as the DLID in responder side
Martin Blumenstingl (2):
mtd: rawnand: intel: Read the chip-select line from the correct OF node
mtd: rawnand: intel: Remove undocumented compatible string
Martin Liska (1):
gcov: support GCC 12.1 and newer compilers
Martin Povišer (3):
ASoC: tas2764: Allow mono streams
ASoC: tas2764: Drop conflicting set_bias_level power setting
ASoC: tas2764: Fix mute/unmute
Masahiro Yamada (3):
kbuild: remove the target in signal traps when interrupted Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5 Kconfig.debug: add toolchain checks for DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT
Mateusz Kwiatkowski (1):
drm/vc4: vec: Fix timings for VEC modes
Matt Ranostay (1):
arm64: dts: ti: k3-j7200: fix main pinmux range
Maxim Mikityanskiy (1):
net: wwan: iosm: Call mutex_init before locking it
Maxime Ripard (2):
drm/mipi-dsi: Detach devices when removing the host
clk: bcm2835: Make peripheral PLLC critical
Maya Matuszczyk (1):
drm: panel-orientation-quirks: Add quirk for Anbernic Win600
Miaoqian Lin (6):
clk: tegra: Fix refcount leak in tegra210_clock_init
clk: tegra: Fix refcount leak in tegra114_clock_init
clk: tegra20: Fix refcount leak in tegra20_clock_init
HSI: omap_ssi: Fix refcount leak in ssi_probe
media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
Michael Ellerman (1):
powerpc/configs: Properly enable PAPR_SCM in pseries_defconfig
Michael Hennerich (1):
iio: dac: ad5593r: Fix i2c read protocol requirements
Michael Walle (2):
ARM: dts: kirkwood: lsxl: fix serial line
ARM: dts: kirkwood: lsxl: remove first ethernet port
Michal Hocko (1):
rcu: Back off upon fill_page_cache_func() allocation failure
Michal Jaron (1):
iavf: Fix race between iavf_close and iavf_reset_task
Michal Koutný (1):
cgroup: Honor caller's cgroup NS when resolving path
Michal Luczaj (1):
KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
Mickaël Salaün (1):
ksmbd: Fix user namespace mapping
Mika Westerberg (2):
net: thunderbolt: Enable DMA paths only after rings are enabled
thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround
Mike Christie (4):
scsi: iscsi: Rename iscsi_conn_queue_work()
scsi: iscsi: Add recv workqueue helpers
scsi: iscsi: Run recv path from workqueue
scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()
Mike Pattrick (2):
openvswitch: Fix double reporting of drops in dropwatch
openvswitch: Fix overreporting of drops in dropwatch
Mimi Zohar (1):
ima: fix blocking of security.ima xattrs of unsupported algorithms
Nam Cao (2):
staging: vt6655: fix some erroneous memory clean-up loops
staging: vt6655: fix potential memory leak
Namjae Jeon (1):
ksmbd: fix endless loop when encryption for response fails
Nathan Chancellor (3):
powerpc/math_emu/efp: Include module.h
drm/amd/display: Fix build breakage with CONFIG_DEBUG_FS=n lib/Kconfig.debug: Add check for non-constant .{s,u}leb128 support to DWARF5
Neal Cardwell (1):
tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
Neil Armstrong (1):
spi: meson-spicc: do not rely on busy flag in pow2 clk ops
Nicholas Piggin (1):
powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
Nico Pache (1):
tracing/osnoise: Fix possible recursive locking in stop_per_cpu_kthreads
Niklas Cassel (4):
ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
ata: fix ata_id_has_devslp()
ata: fix ata_id_has_ncq_autosense()
ata: fix ata_id_has_dipm()
Nuno Sá (3):
iio: adc: ad7923: fix channel readings for some variants
iio: inkern: only release the device node when done with it
iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
Oleksandr Shamray (1):
hwmon: (pmbus/mp2888) Fix sensors readouts for MPS Multi-phase mp2888 controller
Ondrej Mosnacek (1):
userfaultfd: open userfaultfds with O_RDONLY
Pali Rohár (4):
powerpc/boot: Explicitly disable usage of SPE instructions
mtd: rawnand: fsl_elbc: Fix none ECC mode
serial: 8250: Fix restoring termios speed after suspend
powerpc: Fix SPE Power ISA properties for e500v1 platforms
Patrick Rudolph (1):
regulator: core: Prevent integer underflow
Patryk Duda (1):
platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure
Pavel Begunkov (6):
io_uring/net: don't update msg_name if not provided io_uring/af_unix: defer registered files gc to io_uring release
io_uring: correct pinned_vm accounting
io_uring/rw: fix short rw error handling io_uring/rw: fix error'ed retry return values io_uring/rw: fix unexpected link breakage
Peter Harliman Liem (1):
crypto: inside-secure - Change swab to swab32
Phil Sutter (1):
netfilter: nft_fib: Fix for rpath check with VRF devices
Pierre-Louis Bossart (1):
soundwire: intel: fix error handling on dai registration issues
Ping-Ke Shih (1):
wifi: rtlwifi: 8192de: correct checking of IQK reload
Piyush Mehta (1):
usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug
Prashant Malani (1):
platform/chrome: cros_ec_typec: Correct alt mode index
Qu Wenruo (2):
btrfs: dump extra info if one free space cache has more bitmaps than it should
btrfs: scrub: try to fix super block errors
Quanyang Wang (1):
clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
Quentin Monnet (1):
bpftool: Clear errno after libcap's checks
Quentin Schulz (2):
gpio: rockchip: request GPIO mux to pinctrl when setting direction
pinctrl: rockchip: add pinmux_ops.gpio_set_direction callback
Rafael J. Wysocki (1):
thermal: intel_powerclamp: Use first online CPU as control_cpu
Rafael Mendonca (4):
xhci: dbc: Fix memory leak in xhci_alloc_dbc() drm/amdgpu: Fix memory leak in hpd_rx_irq_create_workqueue() drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
io-wq: Fix memory leak in worker creation
Randy Dunlap (2):
ia64: export memory_add_physaddr_to_nid to fix cxl build error
net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses
Ravi Gunasekaran (1):
net: ethernet: ti: davinci_mdio: Add workaround for errata i2329
Richard Acayan (1):
mmc: sdhci-msm: add compatible string check for sdm670
Richard Fitzgerald (1):
soundwire: cadence: Don't overwrite msg->buf during write commands
Rik van Riel (1):
livepatch: fix race between fork and KLP transition
Rishabh Bhatnagar (1):
nvme-pci: set min_align_mask before calculating max_hw_sectors
Robert Marko (1):
clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
Robin Guo (1):
usb: musb: Fix musb_gadget.c rxstate overflow bug
Robin Murphy (1):
iommu/iova: Fix module config properly
Rohan McLure (1):
powerpc: Fix fallocate and fadvise64_64 compat parameter combination
Ronnie Sahlberg (1):
cifs: destage dirty pages before re-reading them for cache=none
Russell King (Oracle) (1):
net: mvpp2: fix mvpp2 debugfs leak
Rustam Subkhankulov (1):
platform/chrome: fix double-free in chromeos_laptop_prepare()
Sagi Grimberg (1):
nvme-multipath: fix possible hang in live ns resize with ANA access
Sami Tolvanen (1):
objtool: Preserve special st_shndx indexes in elf_update_symbol
Saranya Gopal (1):
ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
Sasha Levin (1):
Revert "fs: check FMODE_LSEEK to control internal pipe splicing"
Saurabh Sengar (1):
md: Replace snprintf with scnprintf
Saurav Kashyap (1):
scsi: qedf: Populate sysfs attributes for vport
Sean Christopherson (3):
KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02
KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
Sean Wang (2):
Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend
wifi: mt76: mt7921: reset msta->airtime_ac while clearing up hw value
Sebastian Krzyszkowiak (1):
arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply
Serge Semin (5):
clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD
clk: baikal-t1: Fix invalid xGMAC PTP clock divider
clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent
clk: baikal-t1: Add SATA internal ref clock buffer
ata: libahci_platform: Sanity check the DT child nodes number
Sherry Sun (1):
tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
Shigeru Yoshida (1):
nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
Shuai Xue (1):
ACPI: APEI: do not add task_work to kernel thread to avoid memory leak
Shubhrajyoti Datta (1):
tty: xilinx_uartps: Fix the ignore_status
Simon Ser (1):
drm/dp_mst: fix drm_dp_dpcd_read return value checks
Sindhu-Devale (1):
RDMA/irdma: Align AE id codes to correct flush code and event
Srinivas Kandagatla (1):
ASoC: codecs: tx-macro: fix kcontrol put
Srinivas Pandruvada (1):
thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
Stefan Berger (1):
selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle
Stefan Wahren (1):
clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
Steve French (1):
smb3: must initialize two ACL struct fields to zero
Steven Rostedt (Google) (11):
ring-buffer: Allow splice to read previous partially read pages
ring-buffer: Have the shortest_full queue be the shortest not longest
ring-buffer: Check pending waiters when doing wake ups as well
ring-buffer: Add ring_buffer_wake_waiters()
ring-buffer: Fix race between reset page and reading page
tracing: Wake up ring buffer waiters on closing of the file
tracing: Wake up waiters when tracing is disabled
tracing: Add ioctl() to force ring buffer waiters to wake up
tracing: Move duplicate code of trace_kprobe/eprobe.c into header
tracing: Add "(fault)" name injection to kernel probes
tracing: Fix reading strings from synthetic events
Takashi Iwai (9):
ALSA: oss: Fix potential deadlock at unregistration
ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
ALSA: usb-audio: Fix potential memory leaks
ALSA: usb-audio: Fix NULL dererence at error path drm/udl: Restore display mode on resume
ALSA: hda: beep: Simplify keep-power-at-enable behavior
ALSA: hda/hdmi: Don't skip notification handling during PM operation
ALSA: usb-audio: Register card at the last interface
ALSA: usb-audio: Fix last interface check for registration
Tetsuo Handa (7):
btrfs: set generation before calling btrfs_clean_tree_block in btrfs_init_new_buffer
Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure
net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks() net/ieee802154: reject zero-sized raw_sendmsg()
wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create() net/ieee802154: don't warn zero-sized raw_sendmsg()
Thinh Nguyen (1):
usb: common: debug: Check non-standard control requests
Tudor Ambarus (1):
mtd: rawnand: atmel: Unmap streaming DMA mappings
Uwe Kleine-König (2):
iio: ltc2497: Fix reading conversion results
leds: lm3601x: Don't use mutex after it was destroyed
Vaishnav Achath (1):
dmaengine: ti: k3-udma: Reset UDMA_CHAN_RT byte counters to prevent overflow
Varun Prakash (1):
nvmet-tcp: add bounds check on Transfer Tag
Ville Syrjälä (3):
drm/i915: Fix watermark calculations for gen12+ RC CCS modifier drm/i915: Fix watermark calculations for gen12+ MC CCS modifier drm/i915: Fix watermark calculations for gen12+ CCS+CC modifier
Vincent Knecht (1):
thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
Vincent Whitchurch (1):
spi: s3c64xx: Fix large transfers with DMA
Vitaly Kuznetsov (1):
x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
Vivek Kasireddy (1):
udmabuf: Set ubuf->sg = NULL if the creation of sg table fails
Waiman Long (2):
tracing: Disable interrupt or preemption before acquiring arch_spinlock_t cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
Wang Kefeng (2):
ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()
ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
Wei Yongjun (1):
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
Weili Qian (1):
crypto: hisilicon/qm - fix missing put dfx access
Wen Gong (1):
wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
Wenchao Chen (1):
mmc: sdhci-sprd: Fix minimum clock limit
Wenting Zhang (1):
riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb
William Dean (1):
mtd: devices: docg3: check the return value of devm_ioremap() in the probe
Wright Feng (1):
wifi: brcmfmac: fix invalid address access when enabling SCAN log level
Xiaoke Wang (2):
staging: rtl8723bs: fix potential memory leak in rtw_init_drv_sw()
staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
Xin Long (1):
sctp: handle the error returned from sctp_auth_asoc_init_active_key
Xu Qiang (3):
spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()
Xuewen Yan (1):
thermal: cpufreq_cooling: Check the policy first in cpufreq_cooling_register()
YN Chen (1):
wifi: mt76: sdio: fix transmitting packet hangs
Yang Yingliang (2):
wifi: rtw88: add missing destroy_workqueue() on error path in rtw_core_init() drm/amdgpu: add missing pci_disable_device() in amdgpu_pmops_runtime_resume()
Ye Bin (7):
jbd2: fix potential buffer head reference count leak
jbd2: fix potential use-after-free in jbd2_fc_wait_bufs
jbd2: add miss release buffer head in fc_do_one_pass()
ext4: fix miss release buffer head in ext4_fc_write_inode
ext4: fix potential memory leak in ext4_fc_record_modified_inode()
ext4: fix potential memory leak in ext4_fc_record_regions()
ext4: update 'state->fc_regions_size' after successful memory allocation
Ye Weihua (1):
crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr
Yicong Yang (1):
iommu/arm-smmu-v3: Make default domain type of HiSilicon PTT device to identity
Yipeng Zou (2):
tracing: kprobe: Fix kprobe event gen test module on exit
tracing: kprobe: Make gen test module work in arm and riscv
Yu Kuai (3):
blk-wbt: call rq_qos_add() after wb_normal is initialized
blk-throttle: prevent overflow while calculating wait time
blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()
Yunke Cao (1):
media: uvcvideo: Use entity get_cur in uvc_ctrl_set
Yunxiang Li (1):
drm/amd/display: Fix vblank refcount in vrr transition
Zeng Jingxiang (1):
gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()
Zhang Qilong (7):
spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe
f2fs: fix race condition on setting FI_NO_EXTENT flag
Zhang Rui (1):
powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
Zhang Xiaoxu (2):
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
ksmbd: Fix wrong return value and message length check in smb2_ioctl()
Zhang Yi (1):
ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate
Zheng Yejian (1):
ftrace: Properly unset FTRACE_HASH_FL_MOD
Zheng Yongjun (2):
net: fs_enet: Fix wrong check in do_pd_setup powerpc/powernv: add missing of_node_put() in opal_export_attrs()
Zhengchao Shao (1):
crypto: sahara - don't sleep when in softirq
Zheyu Ma (2):
drm/bridge: megachips: Fix a null pointer dereference bug
media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
Zhihao Cheng (2):
quota: Check next/prev free block number after reading from quota file
ext4: fix dir corruption when ext4_dx_add_entry() fails
Zhu Yanjun (2):
RDMA/rxe: Fix "kernel NULL pointer dereference" error RDMA/rxe: Fix the error caused by qp->sk
Ziyang Xuan (1):
can: bcm: check the result of can_send() in bcm_can_tx()
Zqiang (2):
rcu: Avoid triggering strict-GP irq-work when RCU is idle
rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()
hongao (1):
drm/amdgpu: fix initial connector audio value
sunghwan jung (1):
Revert "usb: storage: Add quirk for Samsung Fit flash"
Greg Kroah-Hartman
maintainerDocumentation/ABI/testing/sysfs-bus-iio +1 -1
@@ -188,7 +188,7 @@ Description: Raw capacitance measurement from channel Y. Units after application of scale and offset are nanofarads. -What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw +What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw KernelVersion: 3.2 Contact: [email protected] Description:
Documentation/arm64/silicon-errata.rst +2 -0
@@ -68,6 +68,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A55 | #1530923 | ARM64_ERRATUM_1530923 | +----------------+-----------------+-----------------+-----------------------------+ +| ARM | Cortex-A55 | #2441007 | ARM64_ERRATUM_2441007 | ++----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A57 | #832075 | ARM64_ERRATUM_832075 | +----------------+-----------------+-----------------+-----------------------------+ | ARM | Cortex-A57 | #852523 | N/A |
Documentation/filesystems/vfs.rst +3 -0
@@ -274,6 +274,9 @@ or bottom half). This is specifically for the inode itself being marked dirty, not its data. If the update needs to be persisted by fdatasync(), then I_DIRTY_DATASYNC will be set in the flags argument. + I_DIRTY_TIME will be set in the flags in case lazytime is enabled + and struct inode has times updated since the last ->dirty_inode + call. ``write_inode`` this method is called when the VFS needs to write an inode to
Makefile +4 -4
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 15 -SUBLEVEL = 74 +SUBLEVEL = 75 EXTRAVERSION = NAME = Trick or Treat
@@ -844,12 +844,12 @@ endif # Initialize all stack variables with a zero value. ifdef CONFIG_INIT_STACK_ALL_ZERO -# Future support for zero initialization is still being debated, see -# https://bugs.llvm.org/show_bug.cgi?id=45497. These flags are subject to being -# renamed or dropped. KBUILD_CFLAGS += -ftrivial-auto-var-init=zero +ifdef CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_ENABLER +# https://github.com/llvm/llvm-project/issues/44842 KBUILD_CFLAGS += -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang endif +endif # While VLAs have been removed, GCC produces unreachable stack probes # for the randomize_kstack_offset feature. Disable it for all compilers.
arch/arm/Kconfig +0 -1
@@ -1741,7 +1741,6 @@ config CMDLINE choice prompt "Kernel command line type" if CMDLINE != "" default CMDLINE_FROM_BOOTLOADER - depends on ATAGS config CMDLINE_FROM_BOOTLOADER bool "Use bootloader kernel arguments if available"
arch/arm/boot/compressed/vmlinux.lds.S +2 -0
@@ -23,6 +23,7 @@ SECTIONS *(.ARM.extab*) *(.note.*) *(.rel.*) + *(.printk_index) /* * Discard any r/w data - this produces a link error if we have any, * which is required for PIC decompression. Local data generates
@@ -57,6 +58,7 @@ SECTIONS *(.rodata) *(.rodata.*) *(.data.rel.ro) + *(.data.rel.ro.*) } .piggydata : { *(.piggydata)
arch/arm/boot/dts/armada-385-turris-omnia.dts +2 -2
@@ -471,7 +471,7 @@ spi0cs0_pins: spi0cs0-pins { marvell,function = "spi0"; }; - spi0cs1_pins: spi0cs1-pins { + spi0cs2_pins: spi0cs2-pins { marvell,pins = "mpp26"; marvell,function = "spi0"; };
@@ -506,7 +506,7 @@ partition@100000 { }; }; - /* MISO, MOSI, SCLK and CS1 are routed to pin header CN11 */ + /* MISO, MOSI, SCLK and CS2 are routed to pin header CN11 */ }; &uart0 {
arch/arm/boot/dts/exynos4412-midas.dtsi +1 -1
@@ -585,7 +585,7 @@ image-sensor@10 { clocks = <&camera 1>; clock-names = "extclk"; samsung,camclk-out = <1>; - gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>; + gpios = <&gpm1 6 GPIO_ACTIVE_LOW>; port { is_s5k6a3_ep: endpoint {
arch/arm/boot/dts/exynos4412-origen.dts +1 -1
@@ -95,7 +95,7 @@ &exynos_usbphy { }; &ehci { - samsung,vbus-gpio = <&gpx3 5 1>; + samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>; status = "okay"; phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>; phy-names = "hsic0", "hsic1";
arch/arm/boot/dts/imx6dl.dtsi +3 -0
@@ -84,6 +84,9 @@ soc { ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6QDL_CLK_OCRAM>; };
arch/arm/boot/dts/imx6q.dtsi +3 -0
@@ -163,6 +163,9 @@ soc { ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x40000>; + ranges = <0 0x00900000 0x40000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6QDL_CLK_OCRAM>; };
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi +5 -1
@@ -263,6 +263,10 @@ &fec { phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; }; +&hdmi { + ddc-i2c-bus = <&i2c2>; +}; + &i2c_intern { pmic@8 { compatible = "fsl,pfuze100";
@@ -387,7 +391,7 @@ &i2c1 { /* HDMI_CTRL */ &i2c2 { - clock-frequency = <375000>; + clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; };
arch/arm/boot/dts/imx6qp.dtsi +6 -0
@@ -9,12 +9,18 @@ soc { ocram2: sram@940000 { compatible = "mmio-sram"; reg = <0x00940000 0x20000>; + ranges = <0 0x00940000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6QDL_CLK_OCRAM>; }; ocram3: sram@960000 { compatible = "mmio-sram"; reg = <0x00960000 0x20000>; + ranges = <0 0x00960000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6QDL_CLK_OCRAM>; };
arch/arm/boot/dts/imx6sl.dtsi +3 -0
@@ -117,6 +117,9 @@ soc { ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6SL_CLK_OCRAM>; };
arch/arm/boot/dts/imx6sll.dtsi +3 -0
@@ -117,6 +117,9 @@ soc { ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; }; intc: interrupt-controller@a01000 {
arch/arm/boot/dts/imx6sx.dtsi +6 -0
@@ -164,12 +164,18 @@ soc { ocram_s: sram@8f8000 { compatible = "mmio-sram"; reg = <0x008f8000 0x4000>; + ranges = <0 0x008f8000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6SX_CLK_OCRAM_S>; }; ocram: sram@900000 { compatible = "mmio-sram"; reg = <0x00900000 0x20000>; + ranges = <0 0x00900000 0x20000>; + #address-cells = <1>; + #size-cells = <1>; clocks = <&clks IMX6SX_CLK_OCRAM>; };
arch/arm/boot/dts/imx7d-sdb.dts +1 -6
@@ -206,12 +206,7 @@ tsc2046@0 { interrupt-parent = <&gpio2>; interrupts = <29 0>; pendown-gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>; - ti,x-min = /bits/ 16 <0>; - ti,x-max = /bits/ 16 <0>; - ti,y-min = /bits/ 16 <0>; - ti,y-max = /bits/ 16 <0>; - ti,pressure-max = /bits/ 16 <0>; - ti,x-plate-ohms = /bits/ 16 <400>; + touchscreen-max-pressure = <255>; wakeup-source; }; };
arch/arm/boot/dts/kirkwood-lsxl.dtsi +5 -11
@@ -10,6 +10,11 @@ chosen { ocp@f1000000 { pinctrl: pin-controller@10000 { + /* Non-default UART pins */ + pmx_uart0: pmx-uart0 { + marvell,pins = "mpp4", "mpp5"; + }; + pmx_power_hdd: pmx-power-hdd { marvell,pins = "mpp10"; marvell,function = "gpo";
@@ -213,22 +218,11 @@ hdd_power: regulator@2 { &mdio { status = "okay"; - ethphy0: ethernet-phy@0 { - reg = <0>; - }; - ethphy1: ethernet-phy@8 { reg = <8>; }; }; -ð0 { - status = "okay"; - ethernet0-port@0 { - phy-handle = <ðphy0>; - }; -}; - ð1 { status = "okay"; ethernet1-port@0 {
arch/arm/mm/dump.c +1 -1
@@ -346,7 +346,7 @@ static void walk_pmd(struct pg_state *st, pud_t *pud, unsigned long start) addr = start + i *PMD_SIZE ; domain =get_domain_name (pmd);if (pmd_none (*pmd) ||pmd_large (*pmd) || !pmd_present (*pmd)) -note_page (st, addr,3 ,pmd_val (*pmd), domain); +note_page (st, addr,4 ,pmd_val (*pmd), domain);else walk_pte (st, pmd, addr, domain);
arch/arm/mm/kasan_init.c +7 -2
@@ -264,12 +264,17 @@ void __init kasan_init(void)/* * 1. The module global variables are in MODULES_VADDR ~ MODULES_END, -* so we need to map this area. +* so we need to map this area if CONFIG_KASAN_VMALLOC=n. With +* VMALLOC support KASAN will manage this region dynamically, +* refer to kasan_populate_vmalloc() and ARM's implementation of +* module_alloc(). * 2. PKMAP_BASE ~ PKMAP_BASE+PMD_SIZE's shadow and MODULES_VADDR * ~ MODULES_END's shadow is in the same PMD_SIZE, so we can't * use kasan_populate_zero_shadow. */ -create_mapping ((void *)MODULES_VADDR , (void *)(PKMAP_BASE +PMD_SIZE )); +if (!IS_ENABLED (CONFIG_KASAN_VMALLOC ) &&IS_ENABLED (CONFIG_MODULES )) +create_mapping ((void *)MODULES_VADDR , (void *)(MODULES_END )); +create_mapping ((void *)PKMAP_BASE , (void *)(PKMAP_BASE +PMD_SIZE ));/* * KAsan may reuse the contents of kasan_early_shadow_pte directly, so
arch/arm/mm/mmu.c +4 -0
@@ -300,7 +300,11 @@ static struct mem_type mem_types[] __ro_after_init = { .prot_pte = L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_DIRTY | L_PTE_XN | L_PTE_RDONLY, .prot_l1 =PMD_TYPE_TABLE , +#ifdef CONFIG_ARM_LPAE + .prot_sect = PMD_TYPE_SECT | L_PMD_SECT_RDONLY | PMD_SECT_AP2, +#else .prot_sect = PMD_TYPE_SECT, +#endif .domain = DOMAIN_KERNEL, }, [MT_ROM] = {
arch/arm64/Kconfig +17 -0
@@ -596,6 +596,23 @@ config ARM64_ERRATUM_1530923 config ARM64_WORKAROUND_REPEAT_TLBI bool +config ARM64_ERRATUM_2441007 + bool "Cortex-A55: Completion of affected memory accesses might not be guaranteed by completion of a TLBI" + default y + select ARM64_WORKAROUND_REPEAT_TLBI + help + This option adds a workaround for ARM Cortex-A55 erratum #2441007. + + Under very rare circumstances, affected Cortex-A55 CPUs + may not handle a race between a break-before-make sequence on one + CPU, and another CPU accessing the same page. This could allow a + store to a page that has been unmapped. + + Work around this by adding the affected CPUs to the list that needs + TLB sequences to be done twice. + + If unsure, say Y. + config ARM64_ERRATUM_1286807 bool "Cortex-A76: Modification of the translation table for a virtual address might lead to read-after-read ordering violation" default y
arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -2
@@ -912,7 +912,7 @@ usb_dwc3_0: usb@38100000 { interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; phys = <&usb3_phy0>, <&usb3_phy0>; phy-names = "usb2-phy", "usb3-phy"; - snps,dis-u2-freeclk-exists-quirk; + snps,gfladj-refclk-lpm-sel-quirk; }; };
@@ -953,7 +953,7 @@ usb_dwc3_1: usb@38200000 { interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; phys = <&usb3_phy1>, <&usb3_phy1>; phy-names = "usb2-phy", "usb3-phy"; - snps,dis-u2-freeclk-exists-quirk; + snps,gfladj-refclk-lpm-sel-quirk; }; };
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +1 -0
@@ -967,6 +967,7 @@ bat: fuel-gauge@36 { interrupts = <20 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gauge>; + power-supplies = <&bq25895>; maxim,over-heat-temp = <700>; maxim,over-volt = <4500>; maxim,rsns-microohm = <5000>;
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +6 -4
@@ -131,15 +131,17 @@ J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */ >; }; - main_usbss0_pins_default: main-usbss0-pins-default { + vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { pinctrl-single,pins = < - J721E_IOPAD(0x120, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */ + J721E_IOPAD(0xd0, PIN_OUTPUT, 7) /* (T5) SPI0_D1.GPIO0_55 */ >; }; +}; - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { +&main_pmx1 { + main_usbss0_pins_default: main-usbss0-pins-default { pinctrl-single,pins = < - J721E_IOPAD(0xd0, PIN_OUTPUT, 7) /* (T5) SPI0_D1.GPIO0_55 */ + J721E_IOPAD(0x04, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */ >; }; };
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +10 -1
@@ -295,7 +295,16 @@ cpts@310d0000 { main_pmx0: pinctrl@11c000 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ - reg = <0x00 0x11c000 0x00 0x2b4>; + reg = <0x00 0x11c000 0x00 0x10c>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + main_pmx1: pinctrl@11c11c { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x11c11c 0x00 0xc>; #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0xffffffff>;
arch/arm64/kernel/cpu_errata.c +5 -0
@@ -214,6 +214,11 @@ static const struct arm64_cpu_capabilities arm64_repeat_tlbi_list[] = { ERRATA_MIDR_RANGE(MIDR_QCOM_KRYO_4XX_GOLD, 0xc, 0xe, 0xf, 0xe), },#endif +#ifdef CONFIG_ARM64_ERRATUM_2441007 + { + ERRATA_MIDR_ALL_VERSIONS(MIDR_CORTEX_A55), + }, +#endif #ifdef CONFIG_ARM64_ERRATUM_2441009 {/* Cortex-A510 r0p0 -> r1p1. Fixed in r1p2 */
arch/arm64/kernel/ftrace.c +16 -1
@@ -217,11 +217,26 @@ int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec,unsigned long pc = rec->ip;u32 old =0 , new; + new =aarch64_insn_gen_nop (); + +/* +* When using mcount, callsites in modules may have been initalized to +* call an arbitrary module PLT (which redirects to the _mcount stub) +* rather than the ftrace PLT we'll use at runtime (which redirects to +* the ftrace trampoline). We can ignore the old PLT when initializing +* the callsite. +* +* Note: 'mod' is only set at module load time. +*/ +if (!IS_ENABLED (CONFIG_DYNAMIC_FTRACE_WITH_REGS ) && +IS_ENABLED (CONFIG_ARM64_MODULE_PLTS ) && mod) { +return aarch64_insn_patch_text_nosync ((void *)pc, new); + } +if (!ftrace_find_callable_addr (rec, mod, &addr))return -EINVAL ; old =aarch64_insn_gen_branch_imm (pc, addr,AARCH64_INSN_BRANCH_LINK ); - new =aarch64_insn_gen_nop ();return ftrace_modify_code (pc, old, new, true); }
arch/arm64/kernel/topology.c +0 -40
@@ -22,46 +22,6 @@#include <asm/cputype.h> #include <asm/topology.h> -void store_cpu_topology (unsigned int cpuid) -{ -struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; -u64 mpidr; - -if (cpuid_topo->package_id !=-1 ) - goto topology_populated; - - mpidr =read_cpuid_mpidr (); - -/* Uniprocessor systems can rely on default topology values */ -if (mpidr &MPIDR_UP_BITMASK ) -return ; - -/* -* This would be the place to create cpu topology based on MPIDR. -* -* However, it cannot be trusted to depict the actual topology; some -* pieces of the architecture enforce an artificial cap on Aff0 values -* (e.g. GICv3's ICC_SGI1R_EL1 limits it to 15), leading to an -* artificial cycling of Aff1, Aff2 and Aff3 values. IOW, these end up -* having absolutely no relationship to the actual underlying system -* topology, and cannot be reasonably used as core / package ID. -* -* If the MT bit is set, Aff0 *could* be used to define a thread ID, but -* we still wouldn't be able to obtain a sane core ID. This means we -* need to entirely ignore MPIDR for any topology deduction. -*/ - cpuid_topo->thread_id =-1 ; - cpuid_topo->core_id = cpuid; - cpuid_topo->package_id =cpu_to_node (cpuid); - -pr_debug ("CPU%u: cluster %d core %d thread %d mpidr %#016llx\n" , - cpuid, cpuid_topo->package_id, cpuid_topo->core_id, - cpuid_topo->thread_id, mpidr); - -topology_populated: -update_siblings_masks (cpuid); -} -#ifdef CONFIG_ACPI static bool __init acpi_cpu_is_threaded (int cpu) {
arch/ia64/mm/numa.c +1 -0
@@ -75,5 +75,6 @@ int memory_add_physaddr_to_nid(u64 addr)return 0 ;return nid; } +EXPORT_SYMBOL (memory_add_physaddr_to_nid);#endif #endif
arch/mips/bcm47xx/prom.c +2 -2
@@ -86,7 +86,7 @@ static __init void prom_init_mem(void)pr_debug ("Assume 128MB RAM\n" );break ; } -if (!memcmp (prom_init, prom_init + mem,32 )) +if (!memcmp ((void *)prom_init, (void *)prom_init + mem,32 ))break ; } lowmem = mem;
@@ -159,7 +159,7 @@ void __init bcm47xx_prom_highmem_init(void) off =EXTVBASE +__pa (off);for (extmem =128 <<20 ; extmem <512 <<20 ; extmem <<=1 ) { -if (!memcmp (prom_init, (void *)(off + extmem),16 )) +if (!memcmp ((void *)prom_init, (void *)(off + extmem),16 ))break ; } extmem -= lowmem;
arch/mips/sgi-ip27/ip27-xtalk.c +54 -20
104 lines not on this page · raw message
arch/powerpc/Makefile +1 -1
@@ -154,7 +154,7 @@ CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power8 CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power9,-mtune=power8) else CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,$(call cc-option,-mtune=power5)) -CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mcpu=power5,-mcpu=power4) +CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power4 endif else ifdef CONFIG_PPC_BOOK3E_64 CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=powerpc64
arch/powerpc/boot/Makefile +1 -0
@@ -34,6 +34,7 @@ endif BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -O2 -msoft-float -mno-altivec -mno-vsx \ + $(call cc-option,-mno-spe) $(call cc-option,-mspe=no) \ -pipe -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \ $(LINUXINCLUDE)
arch/powerpc/boot/dts/fsl/e500v1_power_isa.dtsi new file +51 -0
51 lines not on this page · raw message
arch/powerpc/boot/dts/fsl/mpc8540ads.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -/include/ "e500v2_power_isa.dtsi" +/include/ "e500v1_power_isa.dtsi" / { model = "MPC8540ADS";
arch/powerpc/boot/dts/fsl/mpc8541cds.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -/include/ "e500v2_power_isa.dtsi" +/include/ "e500v1_power_isa.dtsi" / { model = "MPC8541CDS";
arch/powerpc/boot/dts/fsl/mpc8555cds.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -/include/ "e500v2_power_isa.dtsi" +/include/ "e500v1_power_isa.dtsi" / { model = "MPC8555CDS";
arch/powerpc/boot/dts/fsl/mpc8560ads.dts +1 -1
@@ -7,7 +7,7 @@ /dts-v1/; -/include/ "e500v2_power_isa.dtsi" +/include/ "e500v1_power_isa.dtsi" / { model = "MPC8560ADS";
arch/powerpc/configs/pseries_defconfig +1 -0
@@ -41,6 +41,7 @@ CONFIG_DTL=y CONFIG_SCANLOG=m CONFIG_PPC_SMLPAR=y CONFIG_IBMEBUS=y +CONFIG_LIBNVDIMM=m CONFIG_PAPR_SCM=m CONFIG_PPC_SVM=y # CONFIG_PPC_PMAC is not set
arch/powerpc/include/asm/syscalls.h +12 -0
@@ -8,6 +8,18 @@#include <linux/types.h> #include <linux/compat.h> +/* +* long long munging: +* The 32 bit ABI passes long longs in an odd even register pair. +* High and low parts are swapped depending on endian mode, +* so define a macro (similar to mips linux32) to handle that. +*/ +#ifdef __LITTLE_ENDIAN__ +#define merge_64 (low, high) (((u64)high << 32) | low) +#else +#define merge_64 (high, low) (((u64)high << 32) | low) +#endif +struct rtas_args ; asmlinkage long sys_mmap(unsigned long addr, size_t len,
arch/powerpc/kernel/kprobes.c +7 -1
@@ -140,7 +140,13 @@ int arch_prepare_kprobe(struct kprobe *p)preempt_disable (); prev =get_kprobe (p->addr -1 );preempt_enable_no_resched (); -if (prev &&ppc_inst_prefixed (ppc_inst_read (prev->ainsn.insn))) { + +/* +* When prev is a ftrace-based kprobe, we don't have an insn, and it +* doesn't probe for prefixed instruction. +*/ +if (prev && !kprobe_ftrace (prev) && +ppc_inst_prefixed (ppc_inst_read (prev->ainsn.insn))) {printk ("Cannot register a kprobe on the second word of prefixed instruction\n" ); ret = -EINVAL ; }
arch/powerpc/kernel/pci_dn.c +1 -0
@@ -330,6 +330,7 @@ struct pci_dn *pci_add_device_node_info(struct pci_controller *hose,INIT_LIST_HEAD (&pdn->list); parent =of_get_parent (dn); pdn->parent = parent ?PCI_DN (parent) :NULL ; +of_node_put (parent);if (pdn->parent)list_add_tail (&pdn->list, &pdn->parent->child_list);
arch/powerpc/kernel/sys_ppc32.c +1 -13
@@ -56,18 +56,6 @@ unsigned long compat_sys_mmap2(unsigned long addr, size_t len,return sys_mmap (addr, len, prot, flags, fd, pgoff <<12 ); } -/* -* long long munging: -* The 32 bit ABI passes long longs in an odd even register pair. -* High and low parts are swapped depending on endian mode, -* so define a macro (similar to mips linux32) to handle that. -*/ -#ifdef __LITTLE_ENDIAN__ -#define merge_64 (low, high) ((u64)high << 32) | low -#else -#define merge_64 (high, low) ((u64)high << 32) | low -#endif -compat_ssize_t compat_sys_pread64 (unsigned int fd,char __user *ubuf,compat_size_t count,u32 reg6,u32 pos1,u32 pos2) {
@@ -94,7 +82,7 @@ asmlinkage int compat_sys_truncate64(const char __user * path, u32 reg4,asmlinkage long compat_sys_fallocate (int fd,int mode,u32 offset1,u32 offset2,u32 len1,u32 len2) { -return ksys_fallocate (fd, mode, ((loff_t )offset1 <<32 ) | offset2, +return ksys_fallocate (fd, mode,merge_64 (offset1, offset2),merge_64 (len1, len2)); }
arch/powerpc/kernel/syscalls.c +2 -2
@@ -99,8 +99,8 @@ long ppc64_personality(unsigned long personality)long ppc_fadvise64_64 (int fd,int advice,u32 offset_high,u32 offset_low,u32 len_high,u32 len_low) { -return ksys_fadvise64_64 (fd, (u64 )offset_high <<32 | offset_low, - (u64 )len_high <<32 | len_low, advice); +return ksys_fadvise64_64 (fd,merge_64 (offset_high, offset_low), +merge_64 (len_high, len_low), advice); }SYSCALL_DEFINE0 (switch_endian)
arch/powerpc/math-emu/math_efp.c +1 -0
@@ -17,6 +17,7 @@#include <linux/types.h> #include <linux/prctl.h> +#include <linux/module.h> #include <linux/uaccess.h> #include <asm/reg.h>
arch/powerpc/platforms/powernv/opal.c +1 -0
@@ -892,6 +892,7 @@ static void opal_export_attrs(void) kobj =kobject_create_and_add ("exports" , opal_kobj);if (!kobj) {pr_warn ("kobject_create_and_add() of exports failed\n" ); +of_node_put (np);return ; }
arch/powerpc/platforms/pseries/vas.c +1 -1
@@ -324,7 +324,7 @@ static struct vas_window *vas_allocate_window(int vas_id, u64 flags,* So no unpacking needs to be done. */ rc =plpar_hcall9 (H_HOME_NODE_ASSOCIATIVITY , domain, -VPHN_FLAG_VCPU ,smp_processor_id ()); +VPHN_FLAG_VCPU ,hard_smp_processor_id ());if (rc !=H_SUCCESS ) {pr_err ("H_HOME_NODE_ASSOCIATIVITY error: %d\n" , rc); goto out;
arch/powerpc/sysdev/fsl_msi.c +2 -0
@@ -211,8 +211,10 @@ static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)dev_err (&pdev->dev,"node %pOF has an invalid fsl,msi phandle %u\n" , hose->dn, np->phandle); +of_node_put (np);return -EINVAL ; } +of_node_put (np); }for_each_pci_msi_entry (entry, pdev) {
arch/riscv/Kconfig +1 -1
@@ -46,7 +46,7 @@ config RISCV select CLINT_TIMER if !MMU select COMMON_CLK select EDAC_SUPPORT - select GENERIC_ARCH_TOPOLOGY if SMP + select GENERIC_ARCH_TOPOLOGY select GENERIC_ATOMIC64 if !64BIT select GENERIC_CLOCKEVENTS_BROADCAST if SMP select GENERIC_EARLY_IOREMAP
arch/riscv/Makefile +2 -0
@@ -39,6 +39,7 @@ else endif ifeq ($(CONFIG_LD_IS_LLD),y) +ifeq ($(shell test $(CONFIG_LLD_VERSION) -lt 150000; echo $$?),0) KBUILD_CFLAGS += -mno-relax KBUILD_AFLAGS += -mno-relax ifndef CONFIG_AS_IS_LLVM
@@ -46,6 +47,7 @@ ifndef CONFIG_AS_IS_LLVM KBUILD_AFLAGS += -Wa,-mno-relax endif endif +endif # ISA string setting riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
arch/riscv/include/asm/io.h +8 -8
@@ -101,9 +101,9 @@ __io_reads_ins(reads, u32, l, __io_br(), __io_ar(addr)) __io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr)) __io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr)) __io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr)) -#define insb (addr, buffer, count) __insb((void __iomem *)(long)addr, buffer, count) -#define insw (addr, buffer, count) __insw((void __iomem *)(long)addr, buffer, count) -#define insl (addr, buffer, count) __insl((void __iomem *)(long)addr, buffer, count) +#define insb (addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) +#define insw (addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) +#define insl (addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) __io_writes_outs(writes, u8, b, __io_bw(), __io_aw())__io_writes_outs (writes, u16, w,__io_bw (),__io_aw ())
@@ -115,22 +115,22 @@ __io_writes_outs(writes, u32, l, __io_bw(), __io_aw()) __io_writes_outs(outs, u8, b, __io_pbw(), __io_paw()) __io_writes_outs(outs, u16, w, __io_pbw(), __io_paw()) __io_writes_outs(outs, u32, l, __io_pbw(), __io_paw()) -#define outsb (addr, buffer, count) __outsb((void __iomem *)(long)addr, buffer, count) -#define outsw (addr, buffer, count) __outsw((void __iomem *)(long)addr, buffer, count) -#define outsl (addr, buffer, count) __outsl((void __iomem *)(long)addr, buffer, count) +#define outsb (addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) +#define outsw (addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count) +#define outsl (addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count)#ifdef CONFIG_64BIT __io_reads_ins(reads, u64, q, __io_br(), __io_ar(addr))#define readsq (addr, buffer, count) __readsq(addr, buffer, count) __io_reads_ins(ins, u64, q, __io_pbr(), __io_par(addr)) -#define insq (addr, buffer, count) __insq((void __iomem *)addr, buffer, count) +#define insq (addr, buffer, count) __insq(PCI_IOBASE + (addr), buffer, count) __io_writes_outs(writes, u64, q, __io_bw(), __io_aw())#define writesq (addr, buffer, count) __writesq(addr, buffer, count) __io_writes_outs(outs, u64, q, __io_pbr(), __io_paw()) -#define outsq (addr, buffer, count) __outsq((void __iomem *)addr, buffer, count) +#define outsq (addr, buffer, count) __outsq(PCI_IOBASE + (addr), buffer, count)#endif #include <asm-generic/io.h>
arch/riscv/kernel/setup.c +2 -2
@@ -260,10 +260,10 @@ static void __init parse_dtb(void)pr_info ("Machine model: %s\n" , name);dump_stack_set_arch_desc ("%s (DT)" , name); } -return ; + }else { +pr_err ("No DTB passed to the kernel\n" ); } -pr_err ("No DTB passed to the kernel\n" );#ifdef CONFIG_CMDLINE_FORCE strscpy (boot_command_line,CONFIG_CMDLINE ,COMMAND_LINE_SIZE );pr_info ("Forcing kernel command line to: %s\n" , boot_command_line);
arch/riscv/kernel/smpboot.c +2 -1
@@ -53,6 +53,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)unsigned int curr_cpuid; curr_cpuid =smp_processor_id (); +store_cpu_topology (curr_cpuid);numa_store_cpu_info (curr_cpuid);numa_add_cpu (curr_cpuid);
@@ -165,9 +166,9 @@ asmlinkage __visible void smp_callin(void)mmgrab (mm); current->active_mm = mm; +store_cpu_topology (curr_cpuid);notify_cpu_starting (curr_cpuid);numa_add_cpu (curr_cpuid); -update_siblings_masks (curr_cpuid);set_cpu_online (curr_cpuid,1 );/*
arch/riscv/kernel/sys_riscv.c +0 -3
@@ -18,9 +18,6 @@ static long riscv_sys_mmap(unsigned long addr, unsigned long len,if (unlikely (offset & (~PAGE_MASK >> page_shift_offset)))return -EINVAL ; -if (unlikely ((prot &PROT_WRITE ) && !(prot &PROT_READ ))) -return -EINVAL ; -return ksys_mmap_pgoff (addr, len, prot, flags, fd, offset >> (PAGE_SHIFT - page_shift_offset)); }
arch/riscv/mm/fault.c +2 -1
@@ -188,7 +188,8 @@ static inline bool access_error(unsigned long cause, struct vm_area_struct *vma) }break ;case EXC_LOAD_PAGE_FAULT : -if (!(vma->vm_flags &VM_READ )) { +/* Write implies read */ +if (!(vma->vm_flags & (VM_READ |VM_WRITE ))) {return true; }break ;
arch/sh/include/asm/sections.h +1 -1
@@ -4,7 +4,7 @@#include <asm-generic/sections.h> -extern long __machvec_start, __machvec_end; +extern char __machvec_start[], __machvec_end[];extern char __uncached_start, __uncached_end;extern char __start_eh_frame[], __stop_eh_frame[];
arch/sh/kernel/machvec.c +5 -5
@@ -20,8 +20,8 @@#define MV_NAME_SIZE 32#define for_each_mv (mv) \ - for ((mv) = (struct sh_machine_vector *)&__machvec_start; \ - (mv) && (unsigned long)(mv) < (unsigned long)&__machvec_end; \ + for ((mv) = (struct sh_machine_vector *)__machvec_start; \ + (mv) && (unsigned long)(mv) < (unsigned long)__machvec_end; \ (mv)++)static struct sh_machine_vector *__init get_mv_byname (const char *name)
@@ -87,8 +87,8 @@ void __init sh_mv_setup(void)if (!machvec_selected) {unsigned long machvec_size; - machvec_size = ((unsigned long )&__machvec_end - - (unsigned long )&__machvec_start); + machvec_size = ((unsigned long )__machvec_end - + (unsigned long )__machvec_start);/* * Sanity check for machvec section alignment. Ensure
@@ -102,7 +102,7 @@ void __init sh_mv_setup(void)* vector (usually the only one) from .machvec.init. */ if (machvec_size >=sizeof (struct sh_machine_vector )) - sh_mv = *(struct sh_machine_vector *)&__machvec_start; + sh_mv = *(struct sh_machine_vector *)__machvec_start; }pr_notice ("Booting machvec: %s\n" ,get_system_type ());
arch/um/kernel/um_arch.c +1 -1
@@ -94,7 +94,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)static void *c_start (struct seq_file *m,loff_t *pos) { -return *pos <NR_CPUS ? cpu_data + *pos :NULL ; +return *pos < nr_cpu_ids ? cpu_data + *pos :NULL ; }static void *c_next (struct seq_file *m,void *v,loff_t *pos)
arch/x86/include/asm/hyperv-tlfs.h +2 -2
@@ -529,7 +529,7 @@ struct hv_enlightened_vmcs {u64 guest_rip;u32 hv_clean_fields; -u32 hv_padding_32; +u32 padding32_1;u32 hv_synthetic_controls;struct {u32 nested_flush_hypercall:1 ;
@@ -537,7 +537,7 @@ struct hv_enlightened_vmcs { u32 reserved:30; }__packed hv_enlightenments_control;u32 hv_vp_id; - +u32 padding32_2;u64 hv_vm_id;u64 partition_assist_page;u64 padding64_4[4 ];
arch/x86/include/asm/microcode.h +1 -0
@@ -9,6 +9,7 @@struct ucode_patch {struct list_head plist;void *data;/* Intel uses only this one */ +unsigned int size;u32 patch_id;u16 equiv_cpu; };
arch/x86/kernel/cpu/feat_ctl.c +1 -1
@@ -1,11 +1,11 @@// SPDX-License-Identifier: GPL-2.0 #include <linux/tboot.h> +#include <asm/cpu.h> #include <asm/cpufeature.h> #include <asm/msr-index.h> #include <asm/processor.h> #include <asm/vmx.h> -#include "cpu.h" #undef pr_fmt#define pr_fmt (fmt) "x86/cpu: " fmt
arch/x86/kernel/cpu/mce/apei.c +12 -1
@@ -29,15 +29,26 @@void apei_mce_report_mem_error (int severity,struct cper_sec_mem_err *mem_err) {struct mce m; +int lsb;if (!(mem_err->validation_bits &CPER_MEM_VALID_PA ))return ; +/* +* Even if the ->validation_bits are set for address mask, +* to be extra safe, check and reject an error radius '0', +* and fall back to the default page size. +*/ +if (mem_err->validation_bits &CPER_MEM_VALID_PA_MASK ) + lsb =find_first_bit ((void *)&mem_err->physical_addr_mask,PAGE_SHIFT ); +else + lsb =PAGE_SHIFT ; +mce_setup (&m); m.bank =-1 ;/* Fake a memory read error with unknown channel */ m.status =MCI_STATUS_VAL |MCI_STATUS_EN |MCI_STATUS_ADDRV |MCI_STATUS_MISCV |0x9f ; - m.misc = (MCI_MISC_ADDR_PHYS <<6 ) |PAGE_SHIFT ; + m.misc = (MCI_MISC_ADDR_PHYS <<6 ) | lsb;if (severity >=GHES_SEV_RECOVERABLE ) m.status |=MCI_STATUS_UC ;
arch/x86/kernel/cpu/microcode/amd.c +2 -1
@@ -782,6 +782,7 @@ static int verify_and_add_patch(u8 family, u8 *fw, unsigned int leftover,kfree (patch);return -EINVAL ; } + patch->size = *patch_size; mc_hdr = (struct microcode_header_amd *)(fw +SECTION_HDR_SIZE ); proc_id = mc_hdr->processor_rev_id;
@@ -863,7 +864,7 @@ load_microcode_amd(bool save, u8 family, const u8 *data, size_t size)return ret;memset (amd_ucode_patch,0 ,PATCH_MAX_SIZE ); -memcpy (amd_ucode_patch, p->data,min_t (u32,ksize (p->data),PATCH_MAX_SIZE )); +memcpy (amd_ucode_patch, p->data,min_t (u32, p->size,PATCH_MAX_SIZE ));return ret; }
arch/x86/kernel/cpu/resctrl/pseudo_lock.c +9 -3
@@ -420,6 +420,7 @@ static int pseudo_lock_fn(void *_rdtgrp)struct pseudo_lock_region *plr = rdtgrp->plr;u32 rmid_p, closid_p;unsigned long i; +u64 saved_msr;#ifdef CONFIG_KASAN /* * The registers used for local register variables are also used
@@ -463,6 +464,7 @@ static int pseudo_lock_fn(void *_rdtgrp)* the buffer and evict pseudo-locked memory read earlier from the * cache. */ + saved_msr =__rdmsr (MSR_MISC_FEATURE_CONTROL );__wrmsr (MSR_MISC_FEATURE_CONTROL , prefetch_disable_bits,0x0 ); closid_p =this_cpu_read (pqr_state.cur_closid); rmid_p =this_cpu_read (pqr_state.cur_rmid);
@@ -514,7 +516,7 @@ static int pseudo_lock_fn(void *_rdtgrp)__wrmsr (IA32_PQR_ASSOC , rmid_p, closid_p);/* Re-enable the hardware prefetcher(s) */ -wrmsr (MSR_MISC_FEATURE_CONTROL ,0x0 ,0x0 ); +wrmsrl (MSR_MISC_FEATURE_CONTROL , saved_msr);local_irq_enable (); plr->thread_done =1 ;
@@ -871,6 +873,7 @@ bool rdtgroup_pseudo_locked_in_hierarchy(struct rdt_domain *d)static int measure_cycles_lat_fn (void *_plr) {struct pseudo_lock_region *plr = _plr; +u32 saved_low, saved_high;unsigned long i;u64 start, end;void *mem_r;
@@ -879,6 +882,7 @@ static int measure_cycles_lat_fn(void *_plr)/* * Disable hardware prefetchers. */ +rdmsr (MSR_MISC_FEATURE_CONTROL , saved_low, saved_high);wrmsr (MSR_MISC_FEATURE_CONTROL , prefetch_disable_bits,0x0 ); mem_r =READ_ONCE (plr->kmem);/*
@@ -895,7 +899,7 @@ static int measure_cycles_lat_fn(void *_plr) end =rdtsc_ordered ();trace_pseudo_lock_mem_latency ((u32)(end - start)); } -wrmsr (MSR_MISC_FEATURE_CONTROL ,0x0 ,0x0 ); +wrmsr (MSR_MISC_FEATURE_CONTROL , saved_low, saved_high);local_irq_enable (); plr->thread_done =1 ;wake_up_interruptible (&plr->lock_thread_wq);
@@ -940,6 +944,7 @@ static int measure_residency_fn(struct perf_event_attr *miss_attr,u64 hits_before =0 , hits_after =0 , miss_before =0 , miss_after =0 ;struct perf_event *miss_event, *hit_event;int hit_pmcnum, miss_pmcnum; +u32 saved_low, saved_high;unsigned int line_size;unsigned int size;unsigned long i;
@@ -973,6 +978,7 @@ static int measure_residency_fn(struct perf_event_attr *miss_attr,/* * Disable hardware prefetchers. */ +rdmsr (MSR_MISC_FEATURE_CONTROL , saved_low, saved_high);wrmsr (MSR_MISC_FEATURE_CONTROL , prefetch_disable_bits,0x0 );/* Initialize rest of local variables */
@@ -1031,7 +1037,7 @@ static int measure_residency_fn(struct perf_event_attr *miss_attr,*/ rmb ();/* Re-enable hardware prefetchers */ -wrmsr (MSR_MISC_FEATURE_CONTROL ,0x0 ,0x0 ); +wrmsr (MSR_MISC_FEATURE_CONTROL , saved_low, saved_high);local_irq_enable (); out_hit:perf_event_release_kernel (hit_event);
arch/x86/kvm/emulate.c +1 -1
@@ -1936,7 +1936,7 @@ static int em_pop_sreg(struct x86_emulate_ctxt *ctxt)if (rc !=X86EMUL_CONTINUE )return rc; -if (ctxt->modrm_reg ==VCPU_SREG_SS ) +if (seg ==VCPU_SREG_SS ) ctxt->interruptibility =KVM_X86_SHADOW_INT_MOV_SS ;if (ctxt->op_bytes >2 )rsp_increment (ctxt, ctxt->op_bytes -2 );
arch/x86/kvm/vmx/nested.c +27 -10
@@ -2313,9 +2313,14 @@ static void prepare_vmcs02_early(struct vcpu_vmx *vmx, struct loaded_vmcs *vmcs0* are emulated by vmx_set_efer() in prepare_vmcs02(), but speculate * on the related bits (if supported by the CPU) in the hope that * we can avoid VMWrites during vmx_set_efer(). +* +* Similarly, take vmcs01's PERF_GLOBAL_CTRL in the hope that if KVM is +* loading PERF_GLOBAL_CTRL via the VMCS for L1, then KVM will want to +* do the same for L2. */ exec_control =__vm_entry_controls_get (vmcs01); - exec_control |= vmcs12->vm_entry_controls; + exec_control |= (vmcs12->vm_entry_controls & + ~VM_ENTRY_LOAD_IA32_PERF_GLOBAL_CTRL ); exec_control &= ~(VM_ENTRY_IA32E_MODE |VM_ENTRY_LOAD_IA32_EFER );if (cpu_has_load_ia32_efer ()) {if (guest_efer &EFER_LMA )
@@ -3821,7 +3826,16 @@ static void nested_vmx_inject_exception_vmexit(struct kvm_vcpu *vcpu,u32 intr_info = nr |INTR_INFO_VALID_MASK ;if (vcpu->arch.exception.has_error_code) { - vmcs12->vm_exit_intr_error_code = vcpu->arch.exception.error_code; +/* +* Intel CPUs do not generate error codes with bits 31:16 set, +* and more importantly VMX disallows setting bits 31:16 in the +* injected error code for VM-Entry. Drop the bits to mimic +* hardware and avoid inducing failure on nested VM-Entry if L1 +* chooses to inject the exception back to L2. AMD CPUs _do_ +* generate "full" 32-bit error codes, so KVM allows userspace +* to inject exception error codes with bits 31:16 set. +*/ + vmcs12->vm_exit_intr_error_code = (u16 )vcpu->arch.exception.error_code; intr_info |=INTR_INFO_DELIVER_CODE_MASK ; }
@@ -4251,14 +4265,6 @@ static void prepare_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12,nested_vmx_abort (vcpu,VMX_ABORT_SAVE_GUEST_MSR_FAIL ); } - -/* -* Drop what we picked up for L2 via vmx_complete_interrupts. It is -* preserved above and would only end up incorrectly in L1. -*/ - vcpu->arch.nmi_injected = false; -kvm_clear_exception_queue (vcpu); -kvm_clear_interrupt_queue (vcpu); }/*
@@ -4598,6 +4604,17 @@ void nested_vmx_vmexit(struct kvm_vcpu *vcpu, u32 vm_exit_reason,WARN_ON_ONCE (nested_early_check); } +/* +* Drop events/exceptions that were queued for re-injection to L2 +* (picked up via vmx_complete_interrupts()), as well as exceptions +* that were pending for L2. Note, this must NOT be hoisted above +* prepare_vmcs12(), events/exceptions queued for re-injection need to +* be captured in vmcs12 (see vmcs12_save_pending_event()). +*/ + vcpu->arch.nmi_injected = false; +kvm_clear_exception_queue (vcpu); +kvm_clear_interrupt_queue (vcpu); +vmx_switch_vmcs (vcpu, &vmx->vmcs01);/* Update any VMCS fields that might have changed while L2 ran */
arch/x86/kvm/vmx/vmx.c +11 -1
@@ -1676,7 +1676,17 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu)kvm_deliver_exception_payload (vcpu);if (has_error_code) { -vmcs_write32 (VM_ENTRY_EXCEPTION_ERROR_CODE , error_code); +/* +* Despite the error code being architecturally defined as 32 +* bits, and the VMCS field being 32 bits, Intel CPUs and thus +* VMX don't actually supporting setting bits 31:16. Hardware +* will (should) never provide a bogus error code, but AMD CPUs +* do generate error codes with bits 31:16 set, and so KVM's +* ABI lets userspace shove in arbitrary 32-bit values. Drop +* the upper bits to avoid VM-Fail, losing information that +* does't really exist is preferable to killing the VM. +*/ +vmcs_write32 (VM_ENTRY_EXCEPTION_ERROR_CODE , (u16 )error_code); intr_info |=INTR_INFO_DELIVER_CODE_MASK ; }
arch/x86/xen/enlighten_pv.c +2 -1
@@ -759,6 +759,7 @@ static void xen_load_idt(const struct desc_ptr *desc) {static DEFINE_SPINLOCK (lock);static struct trap_info traps[257 ]; +static const struct trap_info zero = { };unsigned out;trace_xen_cpu_load_idt (desc);
@@ -768,7 +769,7 @@ static void xen_load_idt(const struct desc_ptr *desc)memcpy (this_cpu_ptr (&idt_desc), desc,sizeof (idt_desc)); out =xen_convert_trap_info (desc, traps, false); -memset (&traps[out],0 ,sizeof (traps[0 ])); + traps[out] = zero;xen_mc_flush ();if (HYPERVISOR_set_trap_table (traps))
block/blk-throttle.c +3 -5
@@ -950,7 +950,7 @@ static bool tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, u64 bps_limit, unsigned long *wait) { bool rw = bio_data_dir(bio); -u64 bytes_allowed, extra_bytes, tmp; +u64 bytes_allowed, extra_bytes;unsigned long jiffy_elapsed, jiffy_wait, jiffy_elapsed_rnd;unsigned int bio_size =throtl_bio_data_size (bio);
@@ -967,10 +967,8 @@ static bool tg_with_in_bps_limit(struct throtl_grp *tg, struct bio *bio, jiffy_elapsed_rnd = tg->td->throtl_slice; jiffy_elapsed_rnd =roundup (jiffy_elapsed_rnd, tg->td->throtl_slice); - - tmp = bps_limit * jiffy_elapsed_rnd; -do_div (tmp,HZ ); - bytes_allowed = tmp; + bytes_allowed =mul_u64_u64_div_u64 (bps_limit, (u64 )jiffy_elapsed_rnd, + (u64 )HZ );if (tg->bytes_disp[rw] + bio_size <= bytes_allowed) {if (wait)
block/blk-wbt.c +4 -6
@@ -841,8 +841,11 @@ int wbt_init(struct request_queue *q) rwb->last_comp = rwb->last_issue = jiffies; rwb->win_nsec =RWB_WINDOW_NSEC ; rwb->enable_state =WBT_STATE_ON_DEFAULT ; - rwb->wc =1 ; + rwb->wc =test_bit (QUEUE_FLAG_WC , &q->queue_flags); rwb->rq_depth.default_depth =RWB_DEF_DEPTH ; + rwb->min_lat_nsec =wbt_default_latency_nsec (q); + +wbt_queue_depth_changed (&rwb->rqos);/* * Assign rwb and add the stats callback.
@@ -853,11 +856,6 @@ int wbt_init(struct request_queue *q)blk_stat_add_callback (q, rwb->cb); - rwb->min_lat_nsec =wbt_default_latency_nsec (q); - -wbt_queue_depth_changed (&rwb->rqos); -wbt_set_write_cache (q,test_bit (QUEUE_FLAG_WC , &q->queue_flags)); -return 0 ; err_free:
crypto/akcipher.c +8 -0
@@ -120,6 +120,12 @@ static int akcipher_default_op(struct akcipher_request *req)return -ENOSYS ; } +static int akcipher_default_set_key (struct crypto_akcipher *tfm, +const void *key,unsigned int keylen) +{ +return -ENOSYS ; +} +int crypto_register_akcipher (struct akcipher_alg *alg) {struct crypto_alg *base = &alg->base;
@@ -132,6 +138,8 @@ int crypto_register_akcipher(struct akcipher_alg *alg) alg->encrypt = akcipher_default_op;if (!alg->decrypt) alg->decrypt = akcipher_default_op; +if (!alg->set_priv_key) + alg->set_priv_key = akcipher_default_set_key;akcipher_prepare_alg (alg);return crypto_register_alg (base);
drivers/acpi/acpi_fpdt.c +22 -0
@@ -143,6 +143,23 @@ static const struct attribute_group boot_attr_group = {static struct kobject *fpdt_kobj; +#if definedCONFIG_X86 && definedCONFIG_PHYS_ADDR_T_64BIT +#include <linux/processor.h> +static bool fpdt_address_valid (u64 address) +{ +/* +* On some systems the table contains invalid addresses +* with unsuppored high address bits set, check for this. +*/ +return !(address >> boot_cpu_data.x86_phys_bits); +} +#else +static bool fpdt_address_valid (u64 address) +{ +return true; +} +#endif +static int fpdt_process_subtable (u64 address,u32 subtable_type) {struct fpdt_subtable_header *subtable_header;
@@ -151,6 +168,11 @@ static int fpdt_process_subtable(u64 address, u32 subtable_type)u32 length, offset;int result; +if (!fpdt_address_valid (address)) { +pr_info (FW_BUG "invalid physical address: 0x%llx!\n" , address); +return -EINVAL ; + } + subtable_header =acpi_os_map_memory (address,sizeof (*subtable_header));if (!subtable_header)return -ENOMEM ;
drivers/acpi/acpi_video.c +16 -0
@@ -496,6 +496,22 @@ static const struct dmi_system_id video_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE R830"), }, }, + { + .callback = video_disable_backlight_sysfs_if, + .ident = "Toshiba Satellite Z830", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), + DMI_MATCH(DMI_PRODUCT_NAME, "SATELLITE Z830"), + }, + }, + { + .callback = video_disable_backlight_sysfs_if, + .ident = "Toshiba Portege Z830", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"), + DMI_MATCH(DMI_PRODUCT_NAME, "PORTEGE Z830"), + }, + }, /* * Some machine's _DOD IDs don't have bit 31(Device ID Scheme) set * but the IDs actually follow the Device ID Scheme.
drivers/acpi/apei/ghes.c +1 -1
@@ -985,7 +985,7 @@ static void ghes_proc_in_irq(struct irq_work *irq_work)ghes_estatus_cache_add (generic, estatus); } -if (task_work_pending && current->mm != &init_mm) { +if (task_work_pending && current->mm) { estatus_node->task_work.func = ghes_kick_task_work; estatus_node->task_work_cpu =smp_processor_id (); ret = task_work_add(current, &estatus_node->task_work,
drivers/acpi/x86/utils.c +18 -1
@@ -198,7 +198,24 @@ static const struct x86_cpu_id storage_d3_cpu_ids[] = { {} }; +static const struct dmi_system_id force_storage_d3_dmi[] = { + { +/* +* _ADR is ambiguous between GPP1.DEV0 and GPP1.NVME +* but .NVME is needed to get StorageD3Enable node +* https://bugzilla.kernel.org/show_bug.cgi?id=216440 +*/ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"Dell Inc." ), +DMI_MATCH (DMI_PRODUCT_NAME ,"Inspiron 14 7425 2-in-1" ), + } + }, + {} +}; +bool force_storage_d3 (void ) { -return x86_match_cpu (storage_d3_cpu_ids); +const struct dmi_system_id *dmi_id =dmi_first_match (force_storage_d3_dmi); + +return dmi_id ||x86_match_cpu (storage_d3_cpu_ids); }
drivers/ata/libahci_platform.c +12 -2
@@ -451,14 +451,24 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev, } } - hpriv->nports = child_nodes =of_get_child_count (dev->of_node); +/* +* Too many sub-nodes most likely means having something wrong with +* the firmware. +*/ + child_nodes =of_get_child_count (dev->of_node); +if (child_nodes >AHCI_MAX_PORTS ) { + rc = -EINVAL ; + goto err_out; + }/* * If no sub-node was found, we still need to set nports to * one in order to be able to use the * ahci_platform_[en|dis]able_[phys|regulators] functions. */ -if (!child_nodes) +if (child_nodes) + hpriv->nports = child_nodes; +else hpriv->nports =1 ; hpriv->phys =devm_kcalloc (dev, hpriv->nports,sizeof (*hpriv->phys),GFP_KERNEL );
drivers/base/arch_topology.c +19 -0
@@ -690,4 +690,23 @@ void __init init_cpu_topology(void) else if (of_have_populated_dt() && parse_dt_topology()) reset_cpu_topology(); } + +void store_cpu_topology (unsigned int cpuid) +{ +struct cpu_topology *cpuid_topo = &cpu_topology[cpuid]; + +if (cpuid_topo->package_id !=-1 ) + goto topology_populated; + + cpuid_topo->thread_id =-1 ; + cpuid_topo->core_id = cpuid; + cpuid_topo->package_id =cpu_to_node (cpuid); + +pr_debug ("CPU%u: package %d core %d thread %d\n" , + cpuid, cpuid_topo->package_id, cpuid_topo->core_id, + cpuid_topo->thread_id); + +topology_populated: +update_siblings_masks (cpuid); +}#endif
drivers/block/nbd.c +4 -2
@@ -1351,10 +1351,12 @@ static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *bmutex_unlock (&nbd->config_lock); ret =wait_event_interruptible (config->recv_wq,atomic_read (&config->recv_threads) ==0 ); -if (ret) +if (ret) {sock_shutdown (nbd); -flush_workqueue (nbd->recv_workq); +nbd_clear_que (nbd); + } +flush_workqueue (nbd->recv_workq);mutex_lock (&nbd->config_lock);nbd_bdev_reset (bdev);/* user requested, ignore socket errors */
drivers/bluetooth/btintel.c +8 -9
@@ -2274,15 +2274,20 @@ static int btintel_setup_combined(struct hci_dev *hdev) INTEL_ROM_LEGACY_NO_WBS_SUPPORT)) set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks); +if (ver.hw_variant ==0x08 && ver.fw_variant ==0x22 ) +set_bit (HCI_QUIRK_VALID_LE_STATES , + &hdev->quirks); err =btintel_legacy_rom_setup (hdev, &ver);break ;case 0x0b :/* SfP */ -case 0x0c :/* WsP */ case 0x11 :/* JfP */ case 0x12 :/* ThP */ case 0x13 :/* HrP */ case 0x14 :/* CcP */ +set_bit (HCI_QUIRK_VALID_LE_STATES , &hdev->quirks); + fallthrough; +case 0x0c :/* WsP */ /* Apply the device specific HCI quirks * * All Legacy bootloader devices support WBS
@@ -2290,11 +2295,6 @@ static int btintel_setup_combined(struct hci_dev *hdev)set_bit (HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED , &hdev->quirks); -/* Valid LE States quirk for JfP/ThP familiy */ -if (ver.hw_variant ==0x11 || ver.hw_variant ==0x12 ) -set_bit (HCI_QUIRK_VALID_LE_STATES , - &hdev->quirks); -/* Setup MSFT Extension support */ btintel_set_msft_opcode (hdev, ver.hw_variant);
@@ -2361,9 +2361,8 @@ static int btintel_setup_combined(struct hci_dev *hdev)*/ set_bit (HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED , &hdev->quirks); -/* Valid LE States quirk for JfP/ThP familiy */ -if (ver.hw_variant ==0x11 || ver.hw_variant ==0x12 ) -set_bit (HCI_QUIRK_VALID_LE_STATES , &hdev->quirks); +/* Set Valid LE States quirk */ +set_bit (HCI_QUIRK_VALID_LE_STATES , &hdev->quirks);/* Setup MSFT Extension support */ btintel_set_msft_opcode (hdev, ver.hw_variant);
drivers/bluetooth/btusb.c +14 -0
@@ -2435,15 +2435,29 @@ static int btusb_mtk_hci_wmt_sync(struct hci_dev *hdev,set_bit (BTUSB_TX_WAIT_VND_EVT , &data->flags); +/* WMT cmd/event doesn't follow up the generic HCI cmd/event handling, +* it needs constantly polling control pipe until the host received the +* WMT event, thus, we should require to specifically acquire PM counter +* on the USB to prevent the interface from entering auto suspended +* while WMT cmd/event in progress. +*/ + err =usb_autopm_get_interface (data->intf); +if (err <0 ) + goto err_free_wc; + err =__hci_cmd_send (hdev,0xfc6f , hlen, wc);if (err <0 ) {clear_bit (BTUSB_TX_WAIT_VND_EVT , &data->flags); +usb_autopm_put_interface (data->intf); goto err_free_wc; }/* Submit control IN URB on demand to process the WMT event */ err =btusb_mtk_submit_wmt_recv_urb (hdev); + +usb_autopm_put_interface (data->intf); +if (err <0 ) goto err_free_wc;
drivers/bluetooth/hci_ldisc.c +5 -2
@@ -490,6 +490,11 @@ static int hci_uart_tty_open(struct tty_struct *tty)BT_ERR ("Can't allocate control structure" );return -ENFILE ; } +if (percpu_init_rwsem (&hu->proto_lock)) { +BT_ERR ("Can't allocate semaphore structure" ); +kfree (hu); +return -ENOMEM ; + } tty->disc_data = hu; hu->tty = tty;
@@ -502,8 +507,6 @@ static int hci_uart_tty_open(struct tty_struct *tty)INIT_WORK (&hu->init_ready, hci_uart_init_work);INIT_WORK (&hu->write_work, hci_uart_write_work); -percpu_init_rwsem (&hu->proto_lock); -/* Flush any pending characters in the driver */ tty_driver_flush_buffer (tty);
drivers/bluetooth/hci_serdev.c +7 -3
@@ -301,11 +301,12 @@ int hci_uart_register_device(struct hci_uart *hu,serdev_device_set_client_ops (hu->serdev, &hci_serdev_client_ops); +if (percpu_init_rwsem (&hu->proto_lock)) +return -ENOMEM ; + err =serdev_device_open (hu->serdev);if (err) -return err; - -percpu_init_rwsem (&hu->proto_lock); + goto err_rwsem; err = p->open (hu);if (err)
@@ -378,6 +379,8 @@ int hci_uart_register_device(struct hci_uart *hu, p->close (hu); err_open:serdev_device_close (hu->serdev); +err_rwsem: +percpu_free_rwsem (&hu->proto_lock);return err; }EXPORT_SYMBOL_GPL (hci_uart_register_device);
@@ -399,5 +402,6 @@ void hci_uart_unregister_device(struct hci_uart *hu)clear_bit (HCI_UART_PROTO_READY , &hu->flags);serdev_device_close (hu->serdev); } +percpu_free_rwsem (&hu->proto_lock); }EXPORT_SYMBOL_GPL (hci_uart_unregister_device);
drivers/char/hw_random/arm_smccc_trng.c +2 -2
@@ -71,8 +71,6 @@ static int smccc_trng_read(struct hwrng *rng, void *data, size_t max, bool wait) MAX_BITS_PER_CALL);arm_smccc_1_1_invoke (ARM_SMCCC_TRNG_RND , bits, &res); -if ((int )res.a0 <0 ) -return (int )res.a0;switch ((int )res.a0) {case SMCCC_RET_SUCCESS :
@@ -88,6 +86,8 @@ static int smccc_trng_read(struct hwrng *rng, void *data, size_t max, bool wait)return copied;cond_resched ();break ; +default : +return -EIO ; } }
drivers/char/hw_random/imx-rngc.c +7 -7
@@ -270,13 +270,6 @@ static int imx_rngc_probe(struct platform_device *pdev) goto err; } - ret =devm_request_irq (&pdev->dev, - irq, imx_rngc_irq,0 , pdev->name, (void *)rngc); -if (ret) { -dev_err (rngc->dev,"Can't get interrupt working.\n" ); - goto err; - } -init_completion (&rngc->rng_op_done); rngc->rng.name = pdev->name;
@@ -290,6 +283,13 @@ static int imx_rngc_probe(struct platform_device *pdev)imx_rngc_irq_mask_clear (rngc); + ret =devm_request_irq (&pdev->dev, + irq, imx_rngc_irq,0 , pdev->name, (void *)rngc); +if (ret) { +dev_err (rngc->dev,"Can't get interrupt working.\n" ); +return ret; + } +if (self_test) { ret =imx_rngc_self_test (rngc);if (ret) {
drivers/clk/baikal-t1/ccu-div.c +65 -0
119 lines not on this page · raw message
drivers/clk/baikal-t1/ccu-div.h +10 -0
@@ -13,6 +13,14 @@#include <linux/bits.h> #include <linux/of.h> +/* +* CCU Divider private clock IDs +* @CCU_SYS_SATA_CLK: CCU SATA internal clock +* @CCU_SYS_XGMAC_CLK: CCU XGMAC internal clock +*/ +#define CCU_SYS_SATA_CLK -1 +#define CCU_SYS_XGMAC_CLK -2 +/* * CCU Divider private flags * @CCU_DIV_SKIP_ONE: Due to some reason divider can't be set to 1.
@@ -31,11 +39,13 @@* enum ccu_div_type - CCU Divider types * @CCU_DIV_VAR: Clocks gate with variable divider. * @CCU_DIV_GATE: Clocks gate with fixed divider. +* @CCU_DIV_BUF: Clock gate with no divider. * @CCU_DIV_FIXED: Ungateable clock with fixed divider. */ enum ccu_div_type {CCU_DIV_VAR ,CCU_DIV_GATE , +CCU_DIV_BUF ,CCU_DIV_FIXED };
drivers/clk/baikal-t1/clk-ccu-div.c +22 -4
@@ -76,6 +76,16 @@ .divider = _divider \ } +#define CCU_DIV_BUF_INFO (_id, _name, _pname, _base, _flags) \ + { \ + .id = _id, \ + .name = _name, \ + .parent_name = _pname, \ + .base = _base, \ + .type = CCU_DIV_BUF, \ + .flags = _flags \ + } +#define CCU_DIV_FIXED_INFO (_id, _name, _pname, _divider) \ { \ .id = _id, \
@@ -188,11 +198,14 @@ static const struct ccu_div_rst_map axi_rst_map[] = {* for the SoC devices registers IO-operations. */ static const struct ccu_div_info sys_info[] = { -CCU_DIV_VAR_INFO (CCU_SYS_SATA_REF_CLK ,"sys_sata_ref_clk" , +CCU_DIV_VAR_INFO (CCU_SYS_SATA_CLK ,"sys_sata_clk" ,"sata_clk" ,CCU_SYS_SATA_REF_BASE ,4 ,CLK_SET_RATE_GATE ,CCU_DIV_SKIP_ONE |CCU_DIV_LOCK_SHIFTED |CCU_DIV_RESET_DOMAIN ), +CCU_DIV_BUF_INFO (CCU_SYS_SATA_REF_CLK ,"sys_sata_ref_clk" , +"sys_sata_clk" ,CCU_SYS_SATA_REF_BASE , +CLK_SET_RATE_PARENT ),CCU_DIV_VAR_INFO (CCU_SYS_APB_CLK ,"sys_apb_clk" ,"pcie_clk" ,CCU_SYS_APB_BASE ,5 ,CLK_IS_CRITICAL ,CCU_DIV_RESET_DOMAIN ),
@@ -204,10 +217,12 @@ static const struct ccu_div_info sys_info[] = { "eth_clk", CCU_SYS_GMAC1_BASE, 5),CCU_DIV_FIXED_INFO (CCU_SYS_GMAC1_PTP_CLK ,"sys_gmac1_ptp_clk" ,"eth_clk" ,10 ), -CCU_DIV_GATE_INFO (CCU_SYS_XGMAC_REF_CLK ,"sys_xgmac_ref_clk" , -"eth_clk" ,CCU_SYS_XGMAC_BASE ,8 ), +CCU_DIV_GATE_INFO (CCU_SYS_XGMAC_CLK ,"sys_xgmac_clk" , +"eth_clk" ,CCU_SYS_XGMAC_BASE ,1 ), +CCU_DIV_FIXED_INFO (CCU_SYS_XGMAC_REF_CLK ,"sys_xgmac_ref_clk" , +"sys_xgmac_clk" ,8 ),CCU_DIV_FIXED_INFO (CCU_SYS_XGMAC_PTP_CLK ,"sys_xgmac_ptp_clk" , -"eth_clk" ,10 ), +"sys_xgmac_clk" ,8 ),CCU_DIV_GATE_INFO (CCU_SYS_USB_CLK ,"sys_usb_clk" ,"eth_clk" ,CCU_SYS_USB_BASE ,10 ), CCU_DIV_VAR_INFO(CCU_SYS_PVT_CLK, "sys_pvt_clk",
@@ -396,6 +411,9 @@ static int ccu_div_clk_register(struct ccu_div_data *data) init.base = info->base; init.sys_regs = data->sys_regs; init.divider = info->divider; + }else if (init.type ==CCU_DIV_BUF ) { + init.base = info->base; + init.sys_regs = data->sys_regs; }else { init.divider = info->divider; }
drivers/clk/bcm/clk-bcm2835.c +37 -6
91 lines not on this page · raw message
drivers/clk/berlin/bg2.c +4 -1
@@ -500,12 +500,15 @@ static void __init berlin2_clock_setup(struct device_node *np)int n, ret; clk_data =kzalloc (struct_size (clk_data, hws,MAX_CLKS ),GFP_KERNEL ); -if (!clk_data) +if (!clk_data) { +of_node_put (parent_np);return ; + } clk_data->num =MAX_CLKS ; hws = clk_data->hws; gbase =of_iomap (parent_np,0 ); +of_node_put (parent_np);if (!gbase)return ;
drivers/clk/berlin/bg2q.c +5 -1
@@ -286,19 +286,23 @@ static void __init berlin2q_clock_setup(struct device_node *np)int n, ret; clk_data =kzalloc (struct_size (clk_data, hws,MAX_CLKS ),GFP_KERNEL ); -if (!clk_data) +if (!clk_data) { +of_node_put (parent_np);return ; + } clk_data->num =MAX_CLKS ; hws = clk_data->hws; gbase =of_iomap (parent_np,0 );if (!gbase) { +of_node_put (parent_np);pr_err ("%pOF: Unable to map global base\n" , np);return ; }/* BG2Q CPU PLL is not part of global registers */ cpupll_base =of_iomap (parent_np,1 ); +of_node_put (parent_np);if (!cpupll_base) {pr_err ("%pOF: Unable to map cpupll base\n" , np);iounmap (gbase);
drivers/clk/clk-ast2600.c +1 -1
@@ -622,7 +622,7 @@ static int aspeed_g6_clk_probe(struct platform_device *pdev)regmap_write (map,0x308 ,0x12000 );/* 3x3 = 9 */ /* P-Bus (BCLK) clock divider */ - hw =clk_hw_register_divider_table (dev,"bclk" ,"hpll" ,0 , + hw =clk_hw_register_divider_table (dev,"bclk" ,"epll" ,0 , scu_g6_base +ASPEED_G6_CLK_SELECTION1 ,20 ,3 ,0 , ast2600_div_table, &aspeed_g6_clk_lock);
drivers/clk/clk-oxnas.c +4 -2
@@ -207,7 +207,7 @@ static const struct of_device_id oxnas_stdclk_dt_ids[] = {static int oxnas_stdclk_probe (struct platform_device *pdev) { -struct device_node *np = pdev->dev.of_node; +struct device_node *np = pdev->dev.of_node, *parent_np;const struct oxnas_stdclk_data *data;const struct of_device_id *id;struct regmap *regmap;
@@ -219,7 +219,9 @@ static int oxnas_stdclk_probe(struct platform_device *pdev)return -ENODEV ; data = id->data; - regmap =syscon_node_to_regmap (of_get_parent (np)); + parent_np =of_get_parent (np); + regmap =syscon_node_to_regmap (parent_np); +of_node_put (parent_np);if (IS_ERR (regmap)) {dev_err (&pdev->dev,"failed to have parent regmap\n" );return PTR_ERR (regmap);
drivers/clk/clk-qoriq.c +8 -2
@@ -1063,8 +1063,13 @@ static void __init _clockgen_init(struct device_node *np, bool legacy);*/ static void __init legacy_init_clockgen (struct device_node *np) { -if (!clockgen.node) -_clockgen_init (of_get_parent (np), true); +if (!clockgen.node) { +struct device_node *parent_np; + + parent_np =of_get_parent (np); +_clockgen_init (parent_np, true); +of_node_put (parent_np); + } }/* Legacy node */
@@ -1159,6 +1164,7 @@ static struct clk * __init create_sysclk(const char *name) sysclk =of_get_child_by_name (clockgen.node,"sysclk" );if (sysclk) { clk =sysclk_from_fixed (sysclk, name); +of_node_put (sysclk);if (!IS_ERR (clk))return clk; }
drivers/clk/clk-versaclock5.c +1 -1
@@ -1204,7 +1204,7 @@ static const struct vc5_chip_info idt_5p49v6901_info = { .model = IDT_VC6_5P49V6901, .clk_fod_cnt = 4, .clk_out_cnt = 5, - .flags = VC5_HAS_PFD_FREQ_DBL, + .flags = VC5_HAS_PFD_FREQ_DBL | VC5_HAS_BYPASS_SYNC_BIT, };static const struct vc5_chip_info idt_5p49v6965_info = {
drivers/clk/imx/clk-scu.c +5 -1
@@ -690,7 +690,11 @@ struct clk_hw *imx_clk_scu_alloc_dev(const char *name,pr_warn ("%s: failed to attached the power domain %d\n" , name, ret); -platform_device_add (pdev); + ret =platform_device_add (pdev); +if (ret) { +platform_device_put (pdev); +return ERR_PTR (ret); + }/* For API backwards compatiblilty, simply return NULL for success */ return NULL ;
drivers/clk/mediatek/clk-mt8183-mfgcfg.c +3 -3
@@ -18,9 +18,9 @@ static const struct mtk_gate_regs mfg_cg_regs = { .sta_ofs = 0x0, }; -#define GATE_MFG (_id, _name, _parent, _shift) \ - GATE_MTK(_id, _name, _parent, &mfg_cg_regs, _shift, \ - &mtk_clk_gate_ops_setclr) +#define GATE_MFG (_id, _name, _parent, _shift) \ + GATE_MTK_FLAGS(_id, _name, _parent, &mfg_cg_regs, _shift, \ + &mtk_clk_gate_ops_setclr, CLK_SET_RATE_PARENT)static const struct mtk_gate mfg_clks[] = {GATE_MFG (CLK_MFG_BG3D ,"mfg_bg3d" ,"mfg_sel" ,0 )
drivers/clk/meson/meson-aoclk.c +4 -1
@@ -38,6 +38,7 @@ int meson_aoclkc_probe(struct platform_device *pdev)struct meson_aoclk_reset_controller *rstc;struct meson_aoclk_data *data;struct device *dev = &pdev->dev; +struct device_node *np;struct regmap *regmap;int ret, clkid;
@@ -49,7 +50,9 @@ int meson_aoclkc_probe(struct platform_device *pdev)if (!rstc)return -ENOMEM ; - regmap =syscon_node_to_regmap (of_get_parent (dev->of_node)); + np =of_get_parent (dev->of_node); + regmap =syscon_node_to_regmap (np); +of_node_put (np);if (IS_ERR (regmap)) {dev_err (dev,"failed to get regmap\n" );return PTR_ERR (regmap);
drivers/clk/meson/meson-eeclk.c +4 -1
@@ -18,6 +18,7 @@ int meson_eeclkc_probe(struct platform_device *pdev) {const struct meson_eeclkc_data *data;struct device *dev = &pdev->dev; +struct device_node *np;struct regmap *map;int ret, i;
@@ -26,7 +27,9 @@ int meson_eeclkc_probe(struct platform_device *pdev)return -EINVAL ;/* Get the hhi system controller node */ - map =syscon_node_to_regmap (of_get_parent (dev->of_node)); + np =of_get_parent (dev->of_node); + map =syscon_node_to_regmap (np); +of_node_put (np);if (IS_ERR (map)) {dev_err (dev,"failed to get HHI regmap\n" );
drivers/clk/meson/meson8b.c +4 -1
@@ -3717,12 +3717,15 @@ static void __init meson8b_clkc_init_common(struct device_node *np, struct clk_hw_onecell_data *clk_hw_onecell_data) {struct meson8b_clk_reset *rstc; +struct device_node *parent_np;const char *notifier_clk_name;struct clk *notifier_clk;struct regmap *map;int i, ret; - map =syscon_node_to_regmap (of_get_parent (np)); + parent_np =of_get_parent (np); + map =syscon_node_to_regmap (parent_np); +of_node_put (parent_np);if (IS_ERR (map)) {pr_err ("failed to get HHI regmap - Trying obsolete regs\n" );return ;
drivers/clk/qcom/Kconfig +1 -0
@@ -550,6 +550,7 @@ config SM_DISPCC_8250 config SM_GCC_6115 tristate "SM6115 and SM4250 Global Clock Controller" + select QCOM_GDSC help Support for the global clock controller on SM6115 and SM4250 devices. Say Y if you want to use peripheral devices such as UART, SPI,
drivers/clk/qcom/apss-ipq6018.c +1 -1
@@ -57,7 +57,7 @@ static struct clk_branch apcs_alias0_core_clk = { .parent_hws = (const struct clk_hw *[]){ &apcs_alias0_clk_src.clkr.hw }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, },
drivers/clk/qcom/gcc-sm6115.c +30 -16
146 lines not on this page · raw message
drivers/clk/sprd/common.c +5 -4
@@ -41,7 +41,7 @@ int sprd_clk_regmap_init(struct platform_device *pdev, {void __iomem *base;struct device *dev = &pdev->dev; -struct device_node *node = dev->of_node; +struct device_node *node = dev->of_node, *np;struct regmap *regmap;if (of_find_property (node,"sprd,syscon" ,NULL )) {
@@ -50,9 +50,10 @@ int sprd_clk_regmap_init(struct platform_device *pdev,pr_err ("%s: failed to get syscon regmap\n" , __func__);return PTR_ERR (regmap); } - }else if (of_device_is_compatible (of_get_parent (dev->of_node), -"syscon" )) { - regmap =device_node_to_regmap (of_get_parent (dev->of_node)); + }else if (of_device_is_compatible (np =of_get_parent (node),"syscon" ) || + (of_node_put (np),0 )) { + regmap =device_node_to_regmap (np); +of_node_put (np);if (IS_ERR (regmap)) {dev_err (dev,"failed to get regmap from its parent.\n" );return PTR_ERR (regmap);
drivers/clk/tegra/clk-tegra114.c +1 -0
@@ -1317,6 +1317,7 @@ static void __init tegra114_clock_init(struct device_node *np) } pmc_base =of_iomap (node,0 ); +of_node_put (node);if (!pmc_base) {pr_err ("Can't map pmc registers\n" );WARN_ON (1 );
drivers/clk/tegra/clk-tegra20.c +1 -0
@@ -1128,6 +1128,7 @@ static void __init tegra20_clock_init(struct device_node *np) } pmc_base =of_iomap (node,0 ); +of_node_put (node);if (!pmc_base) {pr_err ("Can't map pmc registers\n" );BUG ();
drivers/clk/tegra/clk-tegra210.c +1 -0
@@ -3748,6 +3748,7 @@ static void __init tegra210_clock_init(struct device_node *np) } pmc_base =of_iomap (node,0 ); +of_node_put (node);if (!pmc_base) {pr_err ("Can't map pmc registers\n" );WARN_ON (1 );
drivers/clk/ti/clk-dra7-atl.c +6 -3
@@ -251,14 +251,16 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)if (rc) {pr_err ("%s: failed to lookup atl clock %d\n" , __func__, i); -return -EINVAL ; + ret = -EINVAL ; + goto pm_put; } clk =of_clk_get_from_provider (&clkspec);if (IS_ERR (clk)) {pr_err ("%s: failed to get atl clock %d from provider\n" , __func__, i); -return PTR_ERR (clk); + ret =PTR_ERR (clk); + goto pm_put; } cdesc =to_atl_desc (__clk_get_hw (clk));
@@ -291,8 +293,9 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)if (cdesc->enabled)atl_clk_enable (__clk_get_hw (clk)); } -pm_runtime_put_sync (cinfo->dev); +pm_put: +pm_runtime_put_sync (cinfo->dev);return ret; }
drivers/clk/zynqmp/clkc.c +7 -0
@@ -710,6 +710,13 @@ static void zynqmp_get_clock_info(void)FIELD_PREP (CLK_ATTR_NODE_INDEX , i);zynqmp_pm_clock_get_name (clock[i].clk_id, &name); + +/* +* Terminate with NULL character in case name provided by firmware +* is longer and truncated due to size limit. +*/ + name.name[sizeof (name.name) -1 ] ='\0' ; +if (!strcmp (name.name,RESERVED_CLK_NAME ))continue ;strncpy (clock[i].clk_name, name.name,MAX_NAME_LEN );
drivers/clk/zynqmp/pll.c +15 -16
@@ -102,26 +102,25 @@ static long zynqmp_pll_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) {u32 fbdiv; -long rate_div, f; +u32 mult, div; -/* Enable the fractional mode if needed */ - rate_div = (rate *FRAC_DIV ) / *prate; - f = rate_div %FRAC_DIV ; -if (f) { -if (rate >PS_PLL_VCO_MAX ) { - fbdiv = rate /PS_PLL_VCO_MAX ; - rate = rate / (fbdiv +1 ); - } -if (rate <PS_PLL_VCO_MIN ) { - fbdiv =DIV_ROUND_UP (PS_PLL_VCO_MIN , rate); - rate = rate * fbdiv; - } -return rate; +/* Let rate fall inside the range PS_PLL_VCO_MIN ~ PS_PLL_VCO_MAX */ +if (rate >PS_PLL_VCO_MAX ) { + div =DIV_ROUND_UP (rate,PS_PLL_VCO_MAX ); + rate = rate / div; + } +if (rate <PS_PLL_VCO_MIN ) { + mult =DIV_ROUND_UP (PS_PLL_VCO_MIN , rate); + rate = rate * mult; } fbdiv =DIV_ROUND_CLOSEST (rate, *prate); - fbdiv =clamp_t (u32, fbdiv,PLL_FBDIV_MIN ,PLL_FBDIV_MAX ); -return *prate * fbdiv; +if (fbdiv <PLL_FBDIV_MIN || fbdiv >PLL_FBDIV_MAX ) { + fbdiv =clamp_t (u32, fbdiv,PLL_FBDIV_MIN ,PLL_FBDIV_MAX ); + rate = *prate * fbdiv; + } + +return rate; }/**
drivers/cpufreq/intel_pstate.c +1 -0
@@ -2257,6 +2257,7 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {X86_MATCH (SKYLAKE_X , core_funcs),X86_MATCH (COMETLAKE , core_funcs),X86_MATCH (ICELAKE_X , core_funcs), +X86_MATCH (TIGERLAKE , core_funcs), {} };MODULE_DEVICE_TABLE (x86cpu, intel_pstate_cpu_ids);
drivers/crypto/cavium/cpt/cptpf_main.c +4 -2
@@ -253,6 +253,7 @@ static int cpt_ucode_load_fw(struct cpt_device *cpt, const u8 *fw, bool is_ae)const struct firmware *fw_entry;struct device *dev = &cpt->pdev->dev;struct ucode_header *ucode; +unsigned int code_length;struct microcode *mcode;int j, ret =0 ;
@@ -263,11 +264,12 @@ static int cpt_ucode_load_fw(struct cpt_device *cpt, const u8 *fw, bool is_ae) ucode = (struct ucode_header *)fw_entry->data; mcode = &cpt->mcode[cpt->next_mc_idx];memcpy (mcode->version, (u8 *)fw_entry->data,CPT_UCODE_VERSION_SZ ); - mcode->code_size =ntohl (ucode->code_length) *2 ; -if (!mcode->code_size) { + code_length =ntohl (ucode->code_length); +if (code_length ==0 || code_length >=INT_MAX /2 ) { ret = -EINVAL ; goto fw_release; } + mcode->code_size = code_length *2 ; mcode->is_ae = is_ae; mcode->core_mask =0ULL ;
drivers/crypto/ccp/ccp-dmaengine.c +5 -1
@@ -641,6 +641,10 @@ static void ccp_dma_release(struct ccp_device *ccp)for (i =0 ; i < ccp->cmd_q_count; i++) { chan = ccp->ccp_dma_chan + i; dma_chan = &chan->dma_chan; + +if (dma_chan->client_count) +dma_release_channel (dma_chan); +tasklet_kill (&chan->cleanup_tasklet);list_del_rcu (&dma_chan->device_node); }
@@ -766,8 +770,8 @@ void ccp_dmaengine_unregister(struct ccp_device *ccp)if (!dmaengine)return ; -dma_async_device_unregister (dma_dev);ccp_dma_release (ccp); +dma_async_device_unregister (dma_dev);kmem_cache_destroy (ccp->dma_desc_cache);kmem_cache_destroy (ccp->dma_cmd_cache);
drivers/crypto/hisilicon/qm.c +4 -2
@@ -1888,8 +1888,10 @@ static ssize_t qm_cmd_write(struct file *filp, const char __user *buffer,return ret;/* Judge if the instance is being reset. */ -if (unlikely (atomic_read (&qm->status.flags) ==QM_STOP )) -return 0 ; +if (unlikely (atomic_read (&qm->status.flags) ==QM_STOP )) { + ret =0 ; + goto put_dfx_access; + }if (count >QM_DBG_WRITE_LEN ) { ret = -ENOSPC ;
drivers/crypto/hisilicon/zip/zip_crypto.c +2 -2
@@ -122,12 +122,12 @@ static int sgl_sge_nr_set(const char *val, const struct kernel_param *kp)if (ret || n ==0 || n >HISI_ACC_SGL_SGE_NR_MAX )return -EINVAL ; -return param_set_int (val, kp); +return param_set_ushort (val, kp); }static const struct kernel_param_ops sgl_sge_nr_ops = { .set = sgl_sge_nr_set, - .get = param_get_int, + .get = param_get_ushort, };static u16 sgl_sge_nr =HZIP_SGL_SGE_NR ;
drivers/crypto/inside-secure/safexcel_hash.c +4 -4
@@ -383,7 +383,7 @@ static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring,u32 x; x = ipad[i] ^ ipad[i +4 ]; - cache[i] ^=swab (x); + cache[i] ^=swab32 (x); } } cache_len =AES_BLOCK_SIZE ;
@@ -821,7 +821,7 @@ static int safexcel_ahash_final(struct ahash_request *areq)u32 *result = (void *)areq->result;/* K3 */ - result[i] =swab (ctx->base.ipad.word[i +4 ]); + result[i] =swab32 (ctx->base.ipad.word[i +4 ]); } areq->result[0 ] ^=0x80 ;// 10- padding crypto_cipher_encrypt_one (ctx->kaes, areq->result, areq->result);
@@ -2106,7 +2106,7 @@ static int safexcel_xcbcmac_setkey(struct crypto_ahash *tfm, const u8 *key,crypto_cipher_encrypt_one (ctx->kaes, (u8 *)key_tmp +AES_BLOCK_SIZE ,"\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3\x3" );for (i =0 ; i <3 *AES_BLOCK_SIZE /sizeof (u32); i++) - ctx->base.ipad.word[i] =swab (key_tmp[i]); + ctx->base.ipad.word[i] =swab32 (key_tmp[i]);crypto_cipher_clear_flags (ctx->kaes,CRYPTO_TFM_REQ_MASK ); crypto_cipher_set_flags(ctx->kaes, crypto_ahash_get_flags(tfm) &
@@ -2189,7 +2189,7 @@ static int safexcel_cmac_setkey(struct crypto_ahash *tfm, const u8 *key,return ret;for (i =0 ; i < len /sizeof (u32); i++) - ctx->base.ipad.word[i +8 ] =swab (aes.key_enc[i]); + ctx->base.ipad.word[i +8 ] =swab32 (aes.key_enc[i]);/* precompute the CMAC key material */ crypto_cipher_clear_flags (ctx->kaes,CRYPTO_TFM_REQ_MASK );
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c +16 -2
@@ -286,6 +286,7 @@ static int process_tar_file(struct device *dev,struct tar_ucode_info_t *tar_info;struct otx_cpt_ucode_hdr *ucode_hdr;int ucode_type, ucode_size; +unsigned int code_length;/* * If size is less than microcode header size then don't report
@@ -303,7 +304,13 @@ static int process_tar_file(struct device *dev,if (get_ucode_type (ucode_hdr, &ucode_type))return 0 ; - ucode_size =ntohl (ucode_hdr->code_length) *2 ; + code_length =ntohl (ucode_hdr->code_length); +if (code_length >=INT_MAX /2 ) { +dev_err (dev,"Invalid code_length %u\n" , code_length); +return -EINVAL ; + } + + ucode_size = code_length *2 ;if (!ucode_size || (size <round_up (ucode_size,16 ) +sizeof (struct otx_cpt_ucode_hdr ) +OTX_CPT_UCODE_SIGN_LEN )) {dev_err (dev,"Ucode %s invalid size\n" , filename);
@@ -886,6 +893,7 @@ static int ucode_load(struct device *dev, struct otx_cpt_ucode *ucode, {struct otx_cpt_ucode_hdr *ucode_hdr;const struct firmware *fw; +unsigned int code_length;int ret;set_ucode_filename (ucode, ucode_filename);
@@ -896,7 +904,13 @@ static int ucode_load(struct device *dev, struct otx_cpt_ucode *ucode, ucode_hdr = (struct otx_cpt_ucode_hdr *) fw->data;memcpy (ucode->ver_str, ucode_hdr->ver_str,OTX_CPT_UCODE_VER_STR_SZ ); ucode->ver_num = ucode_hdr->ver_num; - ucode->size =ntohl (ucode_hdr->code_length) *2 ; + code_length =ntohl (ucode_hdr->code_length); +if (code_length >=INT_MAX /2 ) { +dev_err (dev,"Ucode invalid code_length %u\n" , code_length); + ret = -EINVAL ; + goto release_fw; + } + ucode->size = code_length *2 ;if (!ucode->size || (fw->size <round_up (ucode->size,16 ) +sizeof (struct otx_cpt_ucode_hdr ) +OTX_CPT_UCODE_SIGN_LEN )) {dev_err (dev,"Ucode %s invalid size\n" , ucode_filename);
drivers/crypto/qat/qat_common/adf_gen4_hw_data.h +1 -1
@@ -99,7 +99,7 @@ do { \* Timeout is in cycles. Clock speed may vary across products but this * value should be a few milli-seconds. */ -#define ADF_SSM_WDT_DEFAULT_VALUE 0x200000 +#define ADF_SSM_WDT_DEFAULT_VALUE 0x7000000ULL#define ADF_SSM_WDT_PKE_DEFAULT_VALUE 0x8000000#define ADF_SSMWDTL_OFFSET 0x54#define ADF_SSMWDTH_OFFSET 0x5C
drivers/crypto/qat/qat_common/qat_algs.c +12 -6
@@ -673,11 +673,14 @@ static void qat_alg_free_bufl(struct qat_crypto_instance *inst,dma_addr_t blpout = qat_req->buf.bloutp;size_t sz = qat_req->buf.sz;size_t sz_out = qat_req->buf.sz_out; +int bl_dma_dir;int i; + bl_dma_dir = blp != blpout ?DMA_TO_DEVICE :DMA_BIDIRECTIONAL ; +for (i =0 ; i < bl->num_bufs; i++)dma_unmap_single (dev, bl->bufers[i].addr, - bl->bufers[i].len,DMA_BIDIRECTIONAL ); + bl->bufers[i].len, bl_dma_dir);dma_unmap_single (dev, blp, sz,DMA_TO_DEVICE );
@@ -691,7 +694,7 @@ static void qat_alg_free_bufl(struct qat_crypto_instance *inst,for (i = bufless; i < blout->num_bufs; i++) {dma_unmap_single (dev, blout->bufers[i].addr, blout->bufers[i].len, -DMA_BIDIRECTIONAL ); +DMA_FROM_DEVICE ); }dma_unmap_single (dev, blpout, sz_out,DMA_TO_DEVICE );
@@ -715,6 +718,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,struct scatterlist *sg;size_t sz_out, sz =struct_size (bufl, bufers, n);int node =dev_to_node (&GET_DEV (inst->accel_dev)); +int bufl_dma_dir;if (unlikely (!n))return -EINVAL ;
@@ -732,6 +736,8 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, qat_req->buf.sgl_src_valid = true; } + bufl_dma_dir = sgl != sglout ?DMA_TO_DEVICE :DMA_BIDIRECTIONAL ; +for_each_sg (sgl, sg, n, i) bufl->bufers[i].addr =DMA_MAPPING_ERROR ;
@@ -743,7 +749,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, bufl->bufers[y].addr =dma_map_single (dev,sg_virt (sg), sg->length, -DMA_BIDIRECTIONAL ); + bufl_dma_dir); bufl->bufers[y].len = sg->length;if (unlikely (dma_mapping_error (dev, bufl->bufers[y].addr))) goto err_in;
@@ -786,7 +792,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst, bufers[y].addr =dma_map_single (dev,sg_virt (sg), sg->length, -DMA_BIDIRECTIONAL ); +DMA_FROM_DEVICE );if (unlikely (dma_mapping_error (dev, bufers[y].addr))) goto err_out; bufers[y].len = sg->length;
@@ -816,7 +822,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,if (!dma_mapping_error (dev, buflout->bufers[i].addr))dma_unmap_single (dev, buflout->bufers[i].addr, buflout->bufers[i].len, -DMA_BIDIRECTIONAL ); +DMA_FROM_DEVICE );if (!qat_req->buf.sgl_dst_valid)kfree (buflout);
@@ -830,7 +836,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,if (!dma_mapping_error (dev, bufl->bufers[i].addr))dma_unmap_single (dev, bufl->bufers[i].addr, bufl->bufers[i].len, -DMA_BIDIRECTIONAL ); + bufl_dma_dir);if (!qat_req->buf.sgl_src_valid)kfree (bufl);
drivers/crypto/sahara.c +9 -9
@@ -26,10 +26,10 @@#include <linux/kernel.h> #include <linux/kthread.h> #include <linux/module.h> -#include <linux/mutex.h> #include <linux/of.h> #include <linux/of_device.h> #include <linux/platform_device.h> +#include <linux/spinlock.h> #define SHA_BUFFER_LEN PAGE_SIZE#define SAHARA_MAX_SHA_BLOCK_SIZE SHA256_BLOCK_SIZE
@@ -196,7 +196,7 @@ struct sahara_dev {void __iomem *regs_base;struct clk *clk_ipg;struct clk *clk_ahb; -struct mutex queue_mutex; +spinlock_t queue_spinlock;struct task_struct *kthread;struct completion dma_completion;
@@ -642,9 +642,9 @@ static int sahara_aes_crypt(struct skcipher_request *req, unsigned long mode) rctx->mode = mode; -mutex_lock (&dev->queue_mutex); +spin_lock_bh (&dev->queue_spinlock); err =crypto_enqueue_request (&dev->queue, &req->base); -mutex_unlock (&dev->queue_mutex); +spin_unlock_bh (&dev->queue_spinlock);wake_up_process (dev->kthread);
@@ -1043,10 +1043,10 @@ static int sahara_queue_manage(void *data) do { __set_current_state(TASK_INTERRUPTIBLE); - mutex_lock(&dev->queue_mutex); + spin_lock_bh(&dev->queue_spinlock); backlog = crypto_get_backlog(&dev->queue); async_req = crypto_dequeue_request(&dev->queue); - mutex_unlock(&dev->queue_mutex); + spin_unlock_bh(&dev->queue_spinlock); if (backlog) backlog->complete(backlog, -EINPROGRESS);
@@ -1092,9 +1092,9 @@ static int sahara_sha_enqueue(struct ahash_request *req, int last) rctx->first =1 ; } -mutex_lock (&dev->queue_mutex); +spin_lock_bh (&dev->queue_spinlock); ret =crypto_enqueue_request (&dev->queue, &req->base); -mutex_unlock (&dev->queue_mutex); +spin_unlock_bh (&dev->queue_spinlock);wake_up_process (dev->kthread);
@@ -1449,7 +1449,7 @@ static int sahara_probe(struct platform_device *pdev)crypto_init_queue (&dev->queue,SAHARA_QUEUE_LENGTH ); -mutex_init (&dev->queue_mutex); +spin_lock_init (&dev->queue_spinlock); dev_ptr = dev;
drivers/dma-buf/udmabuf.c +6 -3
@@ -124,17 +124,20 @@ static int begin_cpu_udmabuf(struct dma_buf *buf, {struct udmabuf *ubuf = buf->priv;struct device *dev = ubuf->device->this_device; +int ret =0 ;if (!ubuf->sg) { ubuf->sg =get_sg_table (dev, buf, direction); -if (IS_ERR (ubuf->sg)) -return PTR_ERR (ubuf->sg); +if (IS_ERR (ubuf->sg)) { + ret =PTR_ERR (ubuf->sg); + ubuf->sg =NULL ; + } }else {dma_sync_sg_for_cpu (dev, ubuf->sg->sgl, ubuf->sg->nents, direction); } -return 0 ; +return ret; } static int end_cpu_udmabuf(struct dma_buf *buf,
drivers/dma/hisi_dma.c +14 -14
@@ -180,7 +180,8 @@ static void hisi_dma_reset_qp_point(struct hisi_dma_dev *hdma_dev, u32 index)hisi_dma_chan_write (hdma_dev->base,HISI_DMA_CQ_HEAD_PTR , index,0 ); } -static void hisi_dma_reset_hw_chan (struct hisi_dma_chan *chan) +static void hisi_dma_reset_or_disable_hw_chan (struct hisi_dma_chan *chan, +bool disable) {struct hisi_dma_dev *hdma_dev = chan->hdma_dev;u32 index = chan->qp_num, tmp;
@@ -201,8 +202,11 @@ static void hisi_dma_reset_hw_chan(struct hisi_dma_chan *chan)hisi_dma_do_reset (hdma_dev, index);hisi_dma_reset_qp_point (hdma_dev, index);hisi_dma_pause_dma (hdma_dev, index, false); -hisi_dma_enable_dma (hdma_dev, index, true); -hisi_dma_unmask_irq (hdma_dev, index); + +if (!disable) { +hisi_dma_enable_dma (hdma_dev, index, true); +hisi_dma_unmask_irq (hdma_dev, index); + } ret = readl_relaxed_poll_timeout(hdma_dev->base + HISI_DMA_Q_FSM_STS + index * HISI_DMA_OFFSET, tmp,
@@ -218,7 +222,7 @@ static void hisi_dma_free_chan_resources(struct dma_chan *c)struct hisi_dma_chan *chan =to_hisi_dma_chan (c);struct hisi_dma_dev *hdma_dev = chan->hdma_dev; -hisi_dma_reset_hw_chan (chan); +hisi_dma_reset_or_disable_hw_chan (chan, false);vchan_free_chan_resources (&chan->vc);memset (chan->sq,0 ,sizeof (struct hisi_dma_sqe ) * hdma_dev->chan_depth);
@@ -267,7 +271,6 @@ static void hisi_dma_start_transfer(struct hisi_dma_chan *chan) vd =vchan_next_desc (&chan->vc);if (!vd) { -dev_err (&hdma_dev->pdev->dev,"no issued task!\n" ); chan->desc =NULL ;return ; }
@@ -299,7 +302,7 @@ static void hisi_dma_issue_pending(struct dma_chan *c)spin_lock_irqsave (&chan->vc.lock, flags); -if (vchan_issue_pending (&chan->vc)) +if (vchan_issue_pending (&chan->vc) && !chan->desc)hisi_dma_start_transfer (chan);spin_unlock_irqrestore (&chan->vc.lock, flags);
@@ -394,7 +397,7 @@ static void hisi_dma_enable_qp(struct hisi_dma_dev *hdma_dev, u32 qp_index)static void hisi_dma_disable_qp (struct hisi_dma_dev *hdma_dev,u32 qp_index) { -hisi_dma_reset_hw_chan (&hdma_dev->chan[qp_index]); +hisi_dma_reset_or_disable_hw_chan (&hdma_dev->chan[qp_index], true); }static void hisi_dma_enable_qps (struct hisi_dma_dev *hdma_dev)
@@ -432,18 +435,15 @@ static irqreturn_t hisi_dma_irq(int irq, void *data) desc = chan->desc; cqe = chan->cq + chan->cq_head;if (desc) { + chan->cq_head = (chan->cq_head +1 ) % hdma_dev->chan_depth; +hisi_dma_chan_write (hdma_dev->base,HISI_DMA_CQ_HEAD_PTR , + chan->qp_num, chan->cq_head);if (FIELD_GET (STATUS_MASK , cqe->w0) ==STATUS_SUCC ) { - chan->cq_head = (chan->cq_head +1 ) % - hdma_dev->chan_depth; -hisi_dma_chan_write (hdma_dev->base, -HISI_DMA_CQ_HEAD_PTR , chan->qp_num, - chan->cq_head);vchan_cookie_complete (&desc->vd); +hisi_dma_start_transfer (chan); }else {dev_err (&hdma_dev->pdev->dev,"task error!\n" ); } - - chan->desc =NULL ; }spin_unlock (&chan->vc.lock);
drivers/dma/ioat/dma.c +3 -3
@@ -656,7 +656,7 @@ static void __cleanup(struct ioatdma_chan *ioat_chan, dma_addr_t phys_complete)if (active - i ==0 ) {dev_dbg (to_dev (ioat_chan),"%s: cancel completion timeout\n" , __func__); -mod_timer (&ioat_chan->timer, jiffies +IDLE_TIMEOUT ); +mod_timer_pending (&ioat_chan->timer, jiffies +IDLE_TIMEOUT ); }/* microsecond delay by sysfs variable per pending descriptor */
@@ -682,7 +682,7 @@ static void ioat_cleanup(struct ioatdma_chan *ioat_chan)if (chanerr & (IOAT_CHANERR_HANDLE_MASK |IOAT_CHANERR_RECOVER_MASK )) { -mod_timer (&ioat_chan->timer, jiffies +IDLE_TIMEOUT ); +mod_timer_pending (&ioat_chan->timer, jiffies +IDLE_TIMEOUT );ioat_eh (ioat_chan); } }
@@ -879,7 +879,7 @@ static void check_active(struct ioatdma_chan *ioat_chan) }if (test_and_clear_bit (IOAT_CHAN_ACTIVE , &ioat_chan->state)) -mod_timer (&ioat_chan->timer, jiffies +IDLE_TIMEOUT ); +mod_timer_pending (&ioat_chan->timer, jiffies +IDLE_TIMEOUT ); }static void ioat_reboot_chan (struct ioatdma_chan *ioat_chan)
drivers/dma/mxs-dma.c +4 -7
@@ -670,7 +670,7 @@ static enum dma_status mxs_dma_tx_status(struct dma_chan *chan,return mxs_chan->status; } -static int __init mxs_dma_init (struct mxs_dma_engine *mxs_dma) +static int mxs_dma_init (struct mxs_dma_engine *mxs_dma) {int ret;
@@ -741,7 +741,7 @@ static struct dma_chan *mxs_dma_xlate(struct of_phandle_args *dma_spec, ofdma->of_node); } -static int __init mxs_dma_probe (struct platform_device *pdev) +static int mxs_dma_probe (struct platform_device *pdev) {struct device_node *np = pdev->dev.of_node;const struct mxs_dma_type *dma_type;
@@ -839,10 +839,7 @@ static struct platform_driver mxs_dma_driver = { .name = "mxs-dma", .of_match_table = mxs_dma_dt_ids, }, + .probe = mxs_dma_probe, }; -static int __init mxs_dma_module_init (void ) -{ -return platform_driver_probe (&mxs_dma_driver, mxs_dma_probe); -} -subsys_initcall (mxs_dma_module_init); +builtin_platform_driver (mxs_dma_driver);
drivers/dma/ti/k3-udma.c +17 -8
@@ -300,8 +300,6 @@ struct udma_chan {struct udma_tx_drain tx_drain; -u32 bcnt;/* number of bytes completed since the start of the channel */ -/* Channel configuration parameters */ struct udma_chan_config config;
@@ -757,6 +755,20 @@ static void udma_reset_rings(struct udma_chan *uc) } } +static void udma_decrement_byte_counters (struct udma_chan *uc,u32 val) +{ +if (uc->desc->dir ==DMA_DEV_TO_MEM ) { +udma_rchanrt_write (uc,UDMA_CHAN_RT_BCNT_REG , val); +udma_rchanrt_write (uc,UDMA_CHAN_RT_SBCNT_REG , val); +udma_rchanrt_write (uc,UDMA_CHAN_RT_PEER_BCNT_REG , val); + }else { +udma_tchanrt_write (uc,UDMA_CHAN_RT_BCNT_REG , val); +udma_tchanrt_write (uc,UDMA_CHAN_RT_SBCNT_REG , val); +if (!uc->bchan) +udma_tchanrt_write (uc,UDMA_CHAN_RT_PEER_BCNT_REG , val); + } +} +static void udma_reset_counters (struct udma_chan *uc) {u32 val;
@@ -790,8 +802,6 @@ static void udma_reset_counters(struct udma_chan *uc) val =udma_rchanrt_read (uc,UDMA_CHAN_RT_PEER_BCNT_REG );udma_rchanrt_write (uc,UDMA_CHAN_RT_PEER_BCNT_REG , val); } - - uc->bcnt =0 ; }static int udma_reset_chan (struct udma_chan *uc,bool hard)
@@ -1115,7 +1125,7 @@ static void udma_check_tx_completion(struct work_struct *work)if (uc->desc) {struct udma_desc *d = uc->desc; - uc->bcnt += d->residue; +udma_decrement_byte_counters (uc, d->residue);udma_start (uc);vchan_cookie_complete (&d->vd);break ;
@@ -1168,7 +1178,7 @@ static irqreturn_t udma_ring_irq_handler(int irq, void *data)vchan_cyclic_callback (&d->vd); }else {if (udma_is_desc_really_done (uc, d)) { - uc->bcnt += d->residue; +udma_decrement_byte_counters (uc, d->residue);udma_start (uc);vchan_cookie_complete (&d->vd); }else {
@@ -1204,7 +1214,7 @@ static irqreturn_t udma_udma_irq_handler(int irq, void *data)vchan_cyclic_callback (&d->vd); }else {/* TODO: figure out the real amount of data */ - uc->bcnt += d->residue; +udma_decrement_byte_counters (uc, d->residue);udma_start (uc);vchan_cookie_complete (&d->vd); }
@@ -3811,7 +3821,6 @@ static enum dma_status udma_tx_status(struct dma_chan *chan, bcnt =udma_tchanrt_read (uc,UDMA_CHAN_RT_BCNT_REG ); } - bcnt -= uc->bcnt;if (bcnt && !(bcnt % uc->desc->residue)) residue =0 ;else
drivers/firmware/efi/libstub/fdt.c +0 -8
@@ -280,14 +280,6 @@ efi_status_t allocate_new_fdt_and_exit_boot(void *handle, goto fail; } -/* -* Now that we have done our final memory allocation (and free) -* we can get the memory map key needed for exit_boot_services(). -*/ - status =efi_get_memory_map (&map); -if (status !=EFI_SUCCESS ) - goto fail_free_new_fdt; - status =update_fdt ((void *)fdt_addr, fdt_size, (void *)*new_fdt_addr,MAX_FDT_SIZE , cmdline_ptr, initrd_addr, initrd_size);
drivers/firmware/google/gsmi.c +9 -0
@@ -681,6 +681,15 @@ static struct notifier_block gsmi_die_notifier = {static int gsmi_panic_callback (struct notifier_block *nb,unsigned long reason,void *arg) { + +/* +* Panic callbacks are executed with all other CPUs stopped, +* so we must not attempt to spin waiting for gsmi_dev.lock +* to be released. +*/ +if (spin_is_locked (&gsmi_dev.lock)) +return NOTIFY_DONE ; +gsmi_shutdown_reason (GSMI_SHUTDOWN_PANIC );return NOTIFY_DONE ; }
drivers/fpga/dfl.c +1 -1
@@ -1864,7 +1864,7 @@ long dfl_feature_ioctl_set_irq(struct platform_device *pdev,return -EINVAL ; fds =memdup_user ((void __user *)(arg +sizeof (hdr)), - hdr.count *sizeof (s32)); +array_size (hdr.count,sizeof (s32)));if (IS_ERR (fds))return PTR_ERR (fds);
drivers/fsi/fsi-core.c +3 -0
@@ -1309,6 +1309,9 @@ int fsi_master_register(struct fsi_master *master)mutex_init (&master->scan_lock); master->idx =ida_simple_get (&master_ida,0 ,INT_MAX ,GFP_KERNEL ); +if (master->idx <0 ) +return master->idx; +dev_set_name (&master->dev,"fsi%d" , master->idx); master->dev.class = &fsi_master_class;
drivers/gpio/gpio-rockchip.c +7 -0
@@ -19,6 +19,7 @@#include <linux/of_address.h> #include <linux/of_device.h> #include <linux/of_irq.h> +#include <linux/pinctrl/consumer.h> #include <linux/pinctrl/pinconf-generic.h> #include <linux/regmap.h>
@@ -155,6 +156,12 @@ static int rockchip_gpio_set_direction(struct gpio_chip *chip,unsigned long flags;u32 data = input ?0 :1 ; + +if (input) +pinctrl_gpio_direction_input (bank->pin_base + offset); +else +pinctrl_gpio_direction_output (bank->pin_base + offset); +raw_spin_lock_irqsave (&bank->slock, flags);rockchip_gpio_writel_bit (bank, offset, data, bank->gpio_regs->port_ddr);raw_spin_unlock_irqrestore (&bank->slock, flags);
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c +6 -1
@@ -1671,10 +1671,12 @@ amdgpu_connector_add(struct amdgpu_device *adev, adev->mode_info.dither_property, AMDGPU_FMT_DITHER_DISABLE); -if (amdgpu_audio !=0 ) +if (amdgpu_audio !=0 ) {drm_object_attach_property (&amdgpu_connector->base.base, adev->mode_info.audio_property,AMDGPU_AUDIO_AUTO ); + amdgpu_connector->audio =AMDGPU_AUDIO_AUTO ; + } subpixel_order = SubPixelHorizontalRGB; connector->interlace_allowed = true;
@@ -1796,6 +1798,7 @@ amdgpu_connector_add(struct amdgpu_device *adev,drm_object_attach_property (&amdgpu_connector->base.base, adev->mode_info.audio_property,AMDGPU_AUDIO_AUTO ); + amdgpu_connector->audio =AMDGPU_AUDIO_AUTO ; } drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.dither_property,
@@ -1849,6 +1852,7 @@ amdgpu_connector_add(struct amdgpu_device *adev,drm_object_attach_property (&amdgpu_connector->base.base, adev->mode_info.audio_property,AMDGPU_AUDIO_AUTO ); + amdgpu_connector->audio =AMDGPU_AUDIO_AUTO ; } drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.dither_property,
@@ -1899,6 +1903,7 @@ amdgpu_connector_add(struct amdgpu_device *adev,drm_object_attach_property (&amdgpu_connector->base.base, adev->mode_info.audio_property,AMDGPU_AUDIO_AUTO ); + amdgpu_connector->audio =AMDGPU_AUDIO_AUTO ; } drm_object_attach_property(&amdgpu_connector->base.base, adev->mode_info.dither_property,
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +2 -12
@@ -35,8 +35,6 @@#include <linux/pci.h> #include <linux/pm_runtime.h> #include <drm/drm_crtc_helper.h> -#include <drm/drm_damage_helper.h> -#include <drm/drm_drv.h> #include <drm/drm_edid.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drm_fb_helper.h>
@@ -494,12 +492,6 @@ static const struct drm_framebuffer_funcs amdgpu_fb_funcs = { .create_handle = drm_gem_fb_create_handle, }; -static const struct drm_framebuffer_funcs amdgpu_fb_funcs_atomic = { - .destroy = drm_gem_fb_destroy, - .create_handle = drm_gem_fb_create_handle, - .dirty = drm_atomic_helper_dirtyfb, -}; -uint32_t amdgpu_display_supported_domains (struct amdgpu_device *adev,uint64_t bo_flags) {
@@ -1117,10 +1109,8 @@ int amdgpu_display_gem_fb_verify_and_init(if (ret) goto err; -if (drm_drv_uses_atomic_modeset (dev)) - ret =drm_framebuffer_init (dev, &rfb->base, &amdgpu_fb_funcs_atomic); -else - ret =drm_framebuffer_init (dev, &rfb->base, &amdgpu_fb_funcs); + ret =drm_framebuffer_init (dev, &rfb->base, &amdgpu_fb_funcs); +if (ret) goto err;
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +4 -1
@@ -2415,8 +2415,11 @@ static int amdgpu_pmops_runtime_resume(struct device *dev)amdgpu_device_baco_exit (drm_dev); } ret =amdgpu_device_resume (drm_dev, false); -if (ret) +if (ret) { +if (amdgpu_device_supports_px (drm_dev)) +pci_disable_device (pdev);return ret; + }if (amdgpu_device_supports_px (drm_dev)) drm_dev->switch_power_state =DRM_SWITCH_POWER_ON ;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +36 -31
50 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/calcs/bw_fixed.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc.c +4 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dc_stream.h +2 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +10 -25
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h +1 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +1 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/arm/display/komeda/komeda_kms.c +20 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/arm/display/komeda/komeda_kms.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/adv7511/adv7511.h +1 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/adv7511/adv7511_cec.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/lontium-lt9611.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +8 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/drm_panel_orientation_quirks.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c +5 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c +13 -16
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nouveau_connector.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nouveau_prime.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/pl111/pl111_versatile.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/virtio/virtgpu_object.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/hsi/controllers/omap_ssi_core.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/hsi/controllers/omap_ssi_port.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-core.h +5 -2
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-master.c +13 -0
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-mlxbf.c +39 -5
44 lines not on this page · raw message
drivers/iio/dac/ad5593r.c +27 -19
46 lines not on this page · raw message
drivers/iio/magnetometer/yamaha-yas530.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/pressure/dps310.c +163 -99
262 lines not on this page · raw message
drivers/infiniband/hw/hns/hns_roce_mr.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/irdma/hw.c +30 -21
51 lines not on this page · raw message
drivers/infiniband/sw/siw/siw_qp_rx.c +15 -12
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +21 -0
Lines of this file are not shown. View the raw message.
drivers/md/bcache/writeback.c +52 -21
73 lines not on this page · raw message
drivers/media/pci/cx88/cx88-video.c +22 -21
43 lines not on this page · raw message
drivers/media/platform/exynos4-is/fimc-is.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/meson/ge2d/ge2d.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/s5p-mfc/s5p_mfc.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/xilinx/xilinx-vipp.c +5 -4
Lines of this file are not shown. View the raw message.
drivers/media/usb/uvc/uvc_ctrl.c +46 -37
83 lines not on this page · raw message
drivers/mtd/nand/raw/atmel/nand-controller.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/mtd/nand/raw/intel-nand-controller.c +9 -3
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c +79 -0
79 lines not on this page · raw message
drivers/net/ethernet/atheros/alx/main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fs_enet/mac-fec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/iavf/iavf_main.c +141 -36
177 lines not on this page · raw message
drivers/net/ethernet/intel/ice/ice_ethtool.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c +8 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ti/davinci_mdio.c +231 -11
242 lines not on this page · raw message
drivers/net/wireless/ath/ath10k/mac.c +29 -25
54 lines not on this page · raw message
drivers/net/wireless/ath/ath9k/htc_hst.c +28 -15
43 lines not on this page · raw message
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/main.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/sdio.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ralink/rt2x00/rt2800lib.c +30 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +62 -13
75 lines not on this page · raw message
drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c +4 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/main.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/phy/qualcomm/phy-qcom-usb-hsic.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/chromeos_laptop.c +13 -11
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_chardev.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_proto.c +32 -0
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_typec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/regulator/qcom_rpm-regulator.c +12 -12
Lines of this file are not shown. View the raw message.
drivers/scsi/iscsi_tcp.c +105 -35
140 lines not on this page · raw message
drivers/scsi/libiscsi.c +33 -8
41 lines not on this page · raw message
drivers/staging/greybus/audio_helper.c +0 -11
Lines of this file are not shown. View the raw message.
drivers/staging/media/meson/vdec/vdec_hevc.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/sunxi/cedrus/cedrus.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/staging/media/sunxi/cedrus/cedrus_h265.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/core/rtw_cmd.c +6 -10
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8723bs/os_dep/os_intfs.c +31 -29
60 lines not on this page · raw message
drivers/thermal/intel/intel_powerclamp.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/thunderbolt/nhi.c +42 -7
49 lines not on this page · raw message
drivers/usb/common/debug.c +64 -32
96 lines not on this page · raw message
drivers/usb/gadget/function/f_printer.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/xen/gntdev.c +42 -38
80 lines not on this page · raw message
fs/f2fs/checkpoint.c +36 -11
47 lines not on this page · raw message
fs/io_uring.c +26 -17
43 lines not on this page · raw message
fs/ntfs3/xattr.c +6 -96
102 lines not on this page · raw message
kernel/bpf/verifier.c +33 -9
42 lines not on this page · raw message
kernel/trace/kprobe_event_gen_test.c +44 -5
49 lines not on this page · raw message
kernel/trace/ring_buffer.c +84 -3
87 lines not on this page · raw message
kernel/trace/trace.c +66 -0
66 lines not on this page · raw message
kernel/trace/trace_eprobe.c +5 -55
60 lines not on this page · raw message
kernel/trace/trace_kprobe.c +5 -55
60 lines not on this page · raw message
kernel/trace/trace_probe_kernel.h new file +115 -0
115 lines not on this page · raw message
lib/dynamic_debug.c +10 -35
45 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c +1 -1
Lines of this file are not shown. View the raw message.
sound/soc/codecs/tas2764.c +26 -52
78 lines not on this page · raw message
sound/usb/quirks.c +0 -42
42 lines not on this page · raw message
tools/testing/selftests/arm64/signal/testcases/testcases.c +1 -1
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.