Linux 5.15.186
Greg Kroah-Hartman
maintainerI'm announcing the release of the 5.15.186 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/admin-guide/kernel-parameters.txt | 7 Makefile | 6 arch/arm/boot/dts/am335x-bone-common.dtsi | 8 arch/arm/boot/dts/at91sam9263ek.dts | 2 arch/arm/boot/dts/qcom-apq8064.dtsi | 13 arch/arm/boot/dts/tny_a9263.dts | 2 arch/arm/boot/dts/usb_a9263.dts | 4 arch/arm/mach-omap2/clockdomain.h | 1 arch/arm/mach-omap2/clockdomains33xx_data.c | 2 arch/arm/mach-omap2/cm33xx.c | 14 arch/arm/mach-omap2/pmic-cpcap.c | 6 arch/arm/mm/ioremap.c | 4 arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi | 1 arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi | 1 arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 8 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 20 - arch/arm64/include/asm/cputype.h | 2 arch/arm64/include/asm/debug-monitors.h | 12 arch/arm64/include/asm/insn-def.h | 14 arch/arm64/include/asm/insn.h | 81 +++++ arch/arm64/include/asm/spectre.h | 3 arch/arm64/kernel/proton-pack.c | 21 + arch/arm64/kernel/ptrace.c | 2 arch/arm64/lib/insn.c | 199 ++++++++++++- arch/arm64/net/bpf_jit.h | 11 arch/arm64/net/bpf_jit_comp.c | 58 +++ arch/arm64/xen/hypercall.S | 21 + arch/m68k/mac/config.c | 2 arch/mips/Makefile | 6 arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts | 1 arch/mips/loongson2ef/Platform | 2 arch/mips/vdso/Makefile | 1 arch/nios2/include/asm/pgtable.h | 16 + arch/parisc/boot/compressed/Makefile | 1 arch/powerpc/kernel/eeh.c | 2 arch/powerpc/platforms/book3s/vas-api.c | 9 arch/powerpc/platforms/powernv/memtrace.c | 8 arch/powerpc/platforms/pseries/msi.c | 7 arch/s390/net/bpf_jit_comp.c | 12 arch/s390/pci/pci_mmio.c | 2 arch/x86/boot/compressed/Makefile | 2 arch/x86/kernel/cpu/bugs.c | 10 arch/x86/kernel/cpu/common.c | 17 - arch/x86/kernel/cpu/mtrr/generic.c | 2 arch/x86/kernel/ioport.c | 13 arch/x86/kernel/process.c | 6 block/Kconfig | 8 block/bdev.c | 2 crypto/lrw.c | 4 crypto/xts.c | 4 drivers/acpi/acpica/dsutils.c | 9 drivers/acpi/acpica/psobject.c | 52 +-- drivers/acpi/acpica/utprint.c | 7 drivers/acpi/apei/Kconfig | 1 drivers/acpi/apei/ghes.c | 2 drivers/acpi/battery.c | 19 + drivers/acpi/bus.c | 6 drivers/acpi/osi.c | 1 drivers/ata/pata_via.c | 3 drivers/atm/atmtcp.c | 4 drivers/base/power/domain.c | 2 drivers/base/power/main.c | 3 drivers/base/power/runtime.c | 2 drivers/base/swnode.c | 2 drivers/block/aoe/aoedev.c | 8 drivers/bus/fsl-mc/fsl-mc-bus.c | 6 drivers/bus/fsl-mc/fsl-mc-uapi.c | 4 drivers/bus/fsl-mc/mc-io.c | 19 - drivers/bus/fsl-mc/mc-sys.c | 2 drivers/bus/mhi/host/pm.c | 18 + drivers/bus/ti-sysc.c | 49 --- drivers/clk/bcm/clk-raspberrypi.c | 2 drivers/clk/meson/g12a.c | 1 drivers/clk/qcom/gcc-msm8939.c | 4 drivers/clk/qcom/gcc-sm6350.c | 6 drivers/clk/rockchip/clk-rk3036.c | 1 drivers/cpufreq/acpi-cpufreq.c | 2 drivers/cpufreq/cpufreq.c | 6 drivers/cpufreq/scmi-cpufreq.c | 36 ++ drivers/cpufreq/tegra186-cpufreq.c | 7 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 2 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 2 drivers/crypto/marvell/cesa/cesa.c | 2 drivers/crypto/marvell/cesa/cesa.h | 9 drivers/crypto/marvell/cesa/cipher.c | 3 drivers/crypto/marvell/cesa/hash.c | 2 drivers/crypto/marvell/cesa/tdma.c | 53 ++- drivers/dma-buf/udmabuf.c | 5 drivers/dma/ti/k3-udma.c | 3 drivers/edac/altera_edac.c | 6 drivers/edac/skx_common.c | 1 drivers/firmware/Kconfig | 1 drivers/firmware/arm_sdei.c | 11 drivers/firmware/psci/psci.c | 4 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 4 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 18 - drivers/gpu/drm/amd/display/dc/dcn20/Makefile | 2 drivers/gpu/drm/amd/display/dc/dcn21/Makefile | 2 drivers/gpu/drm/amd/display/dc/dml/Makefile | 3 drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c | 8 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 5 drivers/gpu/drm/bridge/analogix/anx7625.c | 8 drivers/gpu/drm/meson/meson_drv.c | 2 drivers/gpu/drm/meson/meson_drv.h | 2 drivers/gpu/drm/meson/meson_encoder_hdmi.c | 29 + drivers/gpu/drm/meson/meson_vclk.c | 226 ++++++++------- drivers/gpu/drm/meson/meson_vclk.h | 13 drivers/gpu/drm/msm/adreno/a6xx_hfi.c | 2 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 3 drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c | 7 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c | 14 drivers/gpu/drm/nouveau/nouveau_backlight.c | 2 drivers/gpu/drm/rcar-du/rcar_du_kms.c | 10 drivers/gpu/drm/tegra/rgb.c | 14 drivers/gpu/drm/vkms/vkms_crtc.c | 2 drivers/hid/hid-hyperv.c | 5 drivers/hid/usbhid/hid-core.c | 25 - drivers/hwmon/occ/common.c | 249 +++++++---------- drivers/i2c/busses/i2c-designware-slave.c | 2 drivers/i2c/busses/i2c-npcm7xx.c | 12 drivers/iio/accel/fxls8962af-core.c | 15 - drivers/iio/adc/ad7124.c | 4 drivers/iio/adc/ad7606_spi.c | 2 drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c | 8 drivers/infiniband/core/cm.c | 16 - drivers/infiniband/core/iwcm.c | 29 + drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 1 drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 1 drivers/infiniband/hw/hns/hns_roce_main.c | 1 drivers/infiniband/hw/hns/hns_roce_restrack.c | 1 drivers/infiniband/hw/mlx5/qpc.c | 30 +- drivers/input/misc/ims-pcu.c | 6 drivers/input/misc/sparcspkr.c | 22 + drivers/input/rmi4/rmi_f34.c | 137 +++++---- drivers/iommu/amd/iommu.c | 8 drivers/iommu/iommu.c | 4 drivers/md/dm-raid1.c | 5 drivers/media/common/videobuf2/videobuf2-dma-sg.c | 4 drivers/media/i2c/ccs-pll.c | 23 + drivers/media/i2c/imx334.c | 18 + drivers/media/i2c/ov8856.c | 9 drivers/media/i2c/tc358743.c | 4 drivers/media/platform/exynos4-is/fimc-is-regs.c | 1 drivers/media/platform/qcom/venus/core.c | 16 - drivers/media/platform/ti-vpe/cal-video.c | 4 drivers/media/test-drivers/vidtv/vidtv_channel.c | 2 drivers/media/test-drivers/vivid/vivid-vid-cap.c | 2 drivers/media/usb/dvb-usb/cxusb.c | 3 drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c | 7 drivers/media/usb/uvc/uvc_ctrl.c | 23 + drivers/media/usb/uvc/uvc_driver.c | 27 + drivers/media/v4l2-core/v4l2-dev.c | 14 drivers/mfd/exynos-lpass.c | 1 drivers/mfd/stmpe-spi.c | 2 drivers/misc/vmw_vmci/vmci_host.c | 11 drivers/mtd/nand/raw/sunxi_nand.c | 2 drivers/net/can/m_can/tcan4x5x-core.c | 9 drivers/net/ethernet/aquantia/atlantic/aq_main.c | 1 drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 2 drivers/net/ethernet/cadence/macb_main.c | 6 drivers/net/ethernet/dlink/dl2k.c | 14 drivers/net/ethernet/dlink/dl2k.h | 2 drivers/net/ethernet/emulex/benet/be_cmds.c | 2 drivers/net/ethernet/google/gve/gve_main.c | 2 drivers/net/ethernet/google/gve/gve_tx_dqo.c | 3 drivers/net/ethernet/intel/i40e/i40e_common.c | 7 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 11 drivers/net/ethernet/intel/ice/ice_arfs.c | 48 +++ drivers/net/ethernet/intel/ice/ice_sched.c | 11 drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c | 9 drivers/net/ethernet/mediatek/mtk_star_emac.c | 4 drivers/net/ethernet/mellanox/mlx4/en_clock.c | 2 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 1 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 5 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c | 2 drivers/net/ethernet/mellanox/mlx5/core/vport.c | 18 - drivers/net/ethernet/microchip/lan743x_main.c | 4 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 11 drivers/net/macsec.c | 40 ++ drivers/net/phy/mdio_bus.c | 16 - drivers/net/phy/mscc/mscc_ptp.c | 4 drivers/net/usb/aqc111.c | 10 drivers/net/usb/ch9200.c | 7 drivers/net/vmxnet3/vmxnet3_drv.c | 26 + drivers/net/vxlan/vxlan_core.c | 8 drivers/net/wireguard/device.c | 1 drivers/net/wireless/ath/ath10k/snoc.c | 4 drivers/net/wireless/ath/ath11k/core.c | 8 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c | 3 drivers/net/wireless/ath/carl9170/usb.c | 19 - drivers/net/wireless/intersil/p54/fwio.c | 2 drivers/net/wireless/intersil/p54/p54.h | 1 drivers/net/wireless/intersil/p54/txrx.c | 13 drivers/net/wireless/mediatek/mt76/mt76x2/usb.c | 2 drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c | 13 drivers/net/wireless/realtek/rtlwifi/pci.c | 10 drivers/net/wireless/realtek/rtw88/coex.c | 2 drivers/net/wireless/realtek/rtw88/rtw8822c.c | 3 drivers/nvme/target/fcloop.c | 31 +- drivers/pci/controller/cadence/pcie-cadence-ep.c | 5 drivers/pci/controller/cadence/pcie-cadence-host.c | 11 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 2 drivers/pci/pci.c | 3 drivers/pci/pcie/dpc.c | 2 drivers/pci/quirks.c | 23 + drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 35 +- drivers/pinctrl/pinctrl-at91.c | 6 drivers/pinctrl/pinctrl-mcp23s08.c | 8 drivers/platform/x86/dell/dell_rbu.c | 6 drivers/power/reset/at91-reset.c | 5 drivers/power/supply/bq27xxx_battery.c | 2 drivers/power/supply/bq27xxx_battery_i2c.c | 13 drivers/ptp/ptp_private.h | 12 drivers/rapidio/rio_cm.c | 3 drivers/regulator/max14577-regulator.c | 5 drivers/remoteproc/qcom_wcnss_iris.c | 2 drivers/remoteproc/remoteproc_core.c | 6 drivers/rpmsg/qcom_smd.c | 2 drivers/rtc/class.c | 2 drivers/rtc/lib.c | 24 + drivers/rtc/rtc-sh.c | 12 drivers/s390/scsi/zfcp_sysfs.c | 2 drivers/scsi/elx/efct/efct_hw.c | 5 drivers/scsi/lpfc/lpfc_hbadisc.c | 2 drivers/scsi/lpfc/lpfc_sli.c | 4 drivers/scsi/qedf/qedf_main.c | 2 drivers/scsi/scsi_transport_iscsi.c | 11 drivers/scsi/storvsc_drv.c | 10 drivers/scsi/ufs/ufshcd.c | 7 drivers/soc/aspeed/aspeed-lpc-snoop.c | 17 - drivers/soc/ti/omap_prm.c | 8 drivers/spi/spi-bcm63xx-hsspi.c | 2 drivers/spi/spi-bcm63xx.c | 2 drivers/spi/spi-sh-msiof.c | 13 drivers/staging/iio/impedance-analyzer/ad5933.c | 2 drivers/staging/media/rkvdec/rkvdec.c | 24 + drivers/tee/tee_core.c | 11 drivers/thermal/qcom/tsens.c | 10 drivers/thunderbolt/ctl.c | 5 drivers/tty/serial/milbeaut_usio.c | 5 drivers/tty/serial/sh-sci.c | 97 +++++- drivers/tty/vt/vt_ioctl.c | 2 drivers/uio/uio_hv_generic.c | 4 drivers/usb/cdns3/cdnsp-gadget.c | 21 + drivers/usb/cdns3/cdnsp-gadget.h | 4 drivers/usb/class/usbtmc.c | 21 - drivers/usb/core/hub.c | 16 - drivers/usb/core/quirks.c | 3 drivers/usb/gadget/function/f_hid.c | 12 drivers/usb/renesas_usbhs/common.c | 50 ++- drivers/usb/serial/pl2303.c | 2 drivers/usb/storage/unusual_uas.h | 7 drivers/usb/typec/tcpm/tcpci_maxim.c | 3 drivers/vfio/vfio_iommu_type1.c | 2 drivers/video/backlight/qcom-wled.c | 6 drivers/video/console/vgacon.c | 2 drivers/video/fbdev/core/fbcvt.c | 2 drivers/video/fbdev/core/fbmem.c | 4 drivers/watchdog/da9052_wdt.c | 1 fs/configfs/dir.c | 2 fs/exfat/nls.c | 1 fs/ext4/ext4.h | 8 fs/ext4/extents.c | 39 +- fs/ext4/file.c | 7 fs/ext4/inline.c | 2 fs/ext4/inode.c | 3 fs/ext4/ioctl.c | 8 fs/ext4/super.c | 15 - fs/f2fs/data.c | 4 fs/f2fs/f2fs.h | 10 fs/f2fs/namei.c | 19 - fs/f2fs/super.c | 12 fs/filesystems.c | 14 fs/gfs2/inode.c | 3 fs/gfs2/lock_dlm.c | 3 fs/jbd2/transaction.c | 5 fs/jffs2/erase.c | 4 fs/jffs2/scan.c | 4 fs/jffs2/summary.c | 7 fs/jfs/jfs_discard.c | 3 fs/jfs/jfs_dtree.c | 18 + fs/namespace.c | 6 fs/nfs/super.c | 19 + fs/nfsd/nfs4proc.c | 3 fs/nfsd/nfssvc.c | 6 fs/nilfs2/btree.c | 4 fs/nilfs2/direct.c | 3 fs/ntfs3/index.c | 8 fs/ocfs2/quota_local.c | 2 fs/squashfs/super.c | 5 fs/xfs/xfs_inode.c | 15 - include/acpi/actypes.h | 2 include/linux/arm_sdei.h | 4 include/linux/atmdev.h | 6 include/linux/hid.h | 3 include/linux/hugetlb.h | 3 include/linux/mlx5/driver.h | 1 include/linux/mm.h | 3 include/linux/mm_types.h | 3 include/net/checksum.h | 2 include/net/sock.h | 7 include/trace/events/erofs.h | 18 - include/uapi/linux/bpf.h | 2 include/uapi/linux/videodev2.h | 12 ipc/shm.c | 5 kernel/bpf/core.c | 2 kernel/events/core.c | 57 +++ kernel/exit.c | 17 - kernel/power/wakelock.c | 3 kernel/time/clocksource.c | 2 kernel/time/posix-cpu-timers.c | 9 kernel/trace/bpf_trace.c | 2 kernel/trace/ftrace.c | 10 kernel/trace/trace.c | 2 lib/Kconfig | 1 mm/huge_memory.c | 2 mm/hugetlb.c | 81 +++-- mm/mmap.c | 8 mm/page-writeback.c | 2 net/atm/common.c | 1 net/atm/lec.c | 12 net/atm/raw.c | 2 net/bluetooth/l2cap_core.c | 3 net/bridge/br_multicast.c | 77 ++++- net/bridge/netfilter/nf_conntrack_bridge.c | 12 net/core/filter.c | 5 net/core/skmsg.c | 25 + net/core/sock.c | 4 net/core/utils.c | 4 net/dsa/tag_brcm.c | 2 net/ipv4/route.c | 4 net/ipv4/tcp_input.c | 63 ++-- net/ipv6/calipso.c | 8 net/ipv6/ila/ila_common.c | 6 net/ipv6/netfilter.c | 12 net/ipv6/netfilter/nft_fib_ipv6.c | 13 net/ipv6/seg6_local.c | 6 net/mac80211/mesh_hwmp.c | 6 net/mpls/af_mpls.c | 4 net/ncsi/internal.h | 21 - net/ncsi/ncsi-pkt.h | 23 - net/ncsi/ncsi-rsp.c | 21 - net/netfilter/nft_quota.c | 20 - net/netfilter/nft_set_pipapo_avx2.c | 21 + net/netfilter/nft_tunnel.c | 8 net/netlabel/netlabel_kapi.c | 5 net/nfc/nci/uart.c | 8 net/openvswitch/flow.c | 2 net/sched/sch_ets.c | 10 net/sched/sch_prio.c | 2 net/sched/sch_red.c | 2 net/sched/sch_sfq.c | 119 +++++--- net/sched/sch_tbf.c | 2 net/sctp/socket.c | 3 net/sunrpc/cache.c | 17 - net/tipc/crypto.c | 8 net/tipc/udp_media.c | 4 net/tls/tls_sw.c | 7 scripts/Kconfig.include | 2 scripts/Makefile.clang | 3 scripts/Makefile.compiler | 8 scripts/as-version.sh | 2 security/selinux/xfrm.c | 2 sound/pci/hda/hda_intel.c | 2 sound/pci/hda/patch_realtek.c | 1 sound/soc/codecs/tas2770.c | 30 +- sound/soc/meson/meson-card-utils.c | 2 sound/soc/qcom/sdm845.c | 4 sound/soc/tegra/tegra210_ahub.c | 2 sound/usb/implicit.c | 1 sound/usb/mixer_maps.c | 12 tools/include/uapi/linux/bpf.h | 2 tools/lib/bpf/bpf_core_read.h | 6 tools/lib/bpf/btf.c | 16 + tools/lib/bpf/libbpf.c | 2 tools/lib/bpf/linker.c | 4 tools/lib/bpf/nlattr.c | 15 - tools/perf/Makefile.config | 2 tools/perf/builtin-record.c | 2 tools/perf/scripts/python/exported-sql-viewer.py | 5 tools/perf/tests/switch-tracking.c | 2 tools/perf/ui/browsers/hists.c | 2 tools/testing/selftests/seccomp/seccomp_bpf.c | 7 tools/testing/selftests/x86/Makefile | 2 tools/testing/selftests/x86/sigtrap_loop.c | 101 ++++++ usr/include/Makefile | 2 391 files changed, 3112 insertions(+), 1409 deletions(-)
Adam Ford (2):
arm64: dts: imx8mm-beacon: Fix RTC capacitive load
arm64: dts: imx8mn-beacon: Fix RTC capacitive load
Aditya Dutt (1):
jfs: fix array-index-out-of-bounds read in add_missing_indices
Adrian Hunter (1):
perf scripts python: exported-sql-viewer.py: Fix pattern matching with Python 3
Ahmed S. Darwish (1):
x86/cpu: Sanitize CPUID(0x80000000) output
Ahmed Salem (1):
ACPICA: Avoid sequence overread in call to strncmp()
Akhil P Oommen (1):
drm/msm/a6xx: Increase HFI response timeout
Al Viro (2):
fix propagation graph breakage by MOVE_MOUNT_SET_GROUP move_mount(2) do_change_type(): refuse to operate on unmounted/not ours mounts
Alan Maguire (1):
libbpf: Add identical pointer detection to btf_dedup_is_equiv()
Alex Deucher (5):
drm/amdgpu/gfx6: fix CSIB handling
drm/amdgpu/gfx10: fix CSIB handling
drm/amdgpu/gfx7: fix CSIB handling
drm/amdgpu/gfx8: fix CSIB handling
drm/amdgpu/gfx9: fix CSIB handling
Alexander Aring (1):
gfs2: move msleep to sleepable context
Alexander Shiyan (1):
power: reset: at91-reset: Optimize at91_reset()
Alexander Sverdlin (1):
Revert "bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first"
Alexandre Mergnat (2):
rtc: Make rtc_time64_to_tm() support dates before 1970
rtc: Fix offset calculation for .start_secs < 0
Alexey Gladkov (1):
mfd: stmpe-spi: Correct the name used in MODULE_DEVICE_TABLE
Alexey Kodanev (1):
wifi: rtw88: fix the 'para' buffer size to avoid reading out of bounds
Alok Tiwari (4):
gve: Fix RX_BUFFERS_POSTED stat to report per-queue fill_cnt
gve: add missing NULL check for gve_alloc_pending_packet() in TX DQO
scsi: iscsi: Fix incorrect error path labels for flashnode operations emulex/benet: correct command version selection in be_cmd_get_stats()
Amber Lin (1):
drm/amdkfd: Set SDMA_RLCx_IB_CNTL/SWITCH_INSIDE_IB
Amit Sunil Dhamne (1):
usb: typec: tcpm/tcpci_maxim: Fix bounds check in process_rx()
Andreas Gruenbacher (1):
gfs2: gfs2_create_inode error handling fix
Andreas Kemnade (1):
ARM: omap: pmic-cpcap: do not mess around without CPCAP or OMAP4
Andrew Lunn (1):
net: mdio: C22 is now optional, EOPNOTSUPP if not provided
Andrew Morton (1):
drivers/rapidio/rio_cm.c: prevent possible heap overwrite
Andrey Vatoropin (1):
fs/ntfs3: handle hdr_first_de() return value
Andy Shevchenko (1):
pinctrl: at91: Fix possible out-of-boundary access
Anton Protopopov (3):
libbpf: Use proper errno value in linker
bpf: Fix uninitialized values in BPF_{CORE,PROBE}_READ
libbpf: Use proper errno value in nlattr
Armin Wolf (2):
ACPI: OSI: Stop advertising support for "3.0 _SCP Extensions"
ACPI: bus: Bail out if acpi_kobj registration fails
Arnaldo Carvalho de Melo (2):
perf build: Warn when libdebuginfod devel files are not available perf ui browser hists: Set actions->thread before calling do_zoom_thread()
Arnd Bergmann (4):
kbuild: hdrcheck: fix cross build with clang
parisc: fix building with gcc-15
hwmon: (occ) Rework attribute registration for stack usage
hwmon: (occ) fix unaligned accesses
Artem Sadovnikov (1):
jffs2: check that raw node were preallocated before writing summary
Ayushi Makhija (1):
drm/bridge: anx7625: change the gpiod_set_value API
Benjamin Berg (1):
wifi: mac80211: do not offer a mesh path if forwarding is disabled
Biju Das (2):
drm: rcar-du: Fix memory leak in rcar_du_vsps_init() drm/tegra: rgb: Fix the unbound reference count
Bjorn Helgaas (1):
PCI/DPC: Initialize aer_err_info before using it
Breno Leitao (1):
Revert "x86/bugs: Make spectre user default depend on MITIGATION_SPECTRE_V2" on v6.6 and older
Brett Werling (1):
can: tcan4x5x: fix power regulator retrieval during probe
Caleb Connolly (1):
ath10k: snoc: fix unbalanced IRQ enable in crash recovery
Carlos Fernandez (1):
macsec: MACsec SCI assignment for ES = 0
Chao Yu (4):
f2fs: fix to do sanity check on sbi->total_valid_block_count
f2fs: clean up w/ fscrypt_is_bounce_page()
f2fs: fix to detect gcing page in f2fs_is_cp_guaranteed()
f2fs: fix to do sanity check on sit_bitmap_size
Charalampos Mitrodimas (1):
net: tipc: fix refcount warning in tipc_aead_encrypt
Charan Teja Kalla (1):
PM: runtime: fix denying of auto suspend in pm_suspend_timer_fn()
Charles Han (1):
drm/amd/pp: Fix potential NULL pointer dereference in atomctrl_initialize_mc_reg_table
Charles Yeh (1):
USB: serial: pl2303: add new chip PL2303GC-Q20 and PL2303GT-2AB
Christian Lamparter (1):
wifi: p54: prevent buffer-overflow in p54_rx_eeprom_readback()
Christoph Hellwig (1):
block: default BLOCK_LEGACY_AUTOLOAD to y
Christophe JAILLET (1):
mfd: exynos-lpass: Avoid calling exynos_lpass_disable() twice in exynos_lpass_remove()
Claudiu Beznea (4):
serial: sh-sci: Check if TX data was written to device in .tx_empty()
serial: sh-sci: Move runtime PM enable to sci_probe_single()
serial: sh-sci: Clean sci_ports[0] after at earlycon exit
serial: sh-sci: Increment the runtime usage counter for the earlycon device
Colin Foster (1):
ARM: dts: am335x-bone-common: Increase MDIO reset deassert time
Cong Wang (1):
sch_ets: make est_qlen_notify() idempotent
Corentin Labbe (1):
crypto: sun8i-ss - do not use sg_dma_len before calling DMA functions
Da Xue (1):
clk: meson-g12a: add missing fclk_div2 to spicc
Damon Ding (1):
drm/bridge: analogix_dp: Add irq flag IRQF_NO_AUTOEN instead of calling disable_irq()
Dan Carpenter (5):
remoteproc: qcom_wcnss_iris: Add missing put_device() on error in probe
rpmsg: qcom_smd: Fix uninitialized return variable in __qcom_smd_send() net/mlx4_en: Prevent potential integer overflow calculating Hz
pmdomain: core: Fix error checking in genpd_dev_pm_attach_by_id()
Input: ims-pcu - check record size in ims_pcu_flash_firmware()
Daniel Wagner (2):
nvmet-fcloop: access fcpreq only when holding reqlock
scsi: lpfc: Use memcpy() for BIOS version
Dapeng Mi (1):
perf record: Fix incorrect --user-regs comments
Darrick J. Wong (1):
xfs: allow inode inactivation during a ro mount log recovery
Dave Penkler (2):
usb: usbtmc: Fix timeout value in get_stb
usb: usbtmc: Fix read_stb function and get_stb ioctl
David Heimann (1):
ALSA: usb-audio: Add implicit feedback quirk for RODE AI-1
David Lechner (1):
iio: adc: ad7606_spi: fix reg write value mask
Denis Arefev (1):
media: vivid: Change the siize of the composing
Dexuan Cui (1):
scsi: storvsc: Increase the timeouts to storvsc_timeout
Diederik de Haas (1):
PCI: dw-rockchip: Fix PHY function call sequence in rockchip_pcie_phy_deinit()
Dmitry Antipov (2):
wifi: rtw88: do not ignore hardware read error during DPK
wifi: carl9170: do not ping device which has failed to load firmware
Dmitry Baryshkov (3):
ARM: dts: qcom: apq8064 merge hw splinlock into corresponding syscon device drm/msm/hdmi: add runtime PM calls to DDC transfer function drm/msm/dpu: don't select single flush for active CTL blocks
Dmitry Torokhov (1):
Input: synaptics-rmi - fix crash with unsupported versions of F34
Dylan Wolff (1):
jfs: Fix null-ptr-deref in jfs_ioc_trim
Eddie James (1):
hwmon: (occ) Add soft minimum power cap attribute
Edward Adam Davis (2):
media: cxusb: no longer judge rbuf when the write fails
media: vidtv: Terminating the subsequent process of initialization failure
Eric Dumazet (13):
net_sched: sch_sfq: fix a potential crash on gso_skb handling
net_sched: prio: fix a race in prio_tune()
net_sched: red: fix a race in __red_change()
net_sched: tbf: fix a race in tbf_change()
net_sched: ets: fix a race in ets_qdisc_change()
calipso: unlock rcu before returning -EAFNOSUPPORT
tcp: always seek for minimal rtt in tcp_rcv_rtt_update()
tcp: fix initial tp->rcvq_space.space value for passive TS enabled flows
net: atm: add lec_mutex
net: atm: fix /proc/net/atm/lec handling
net_sched: sch_sfq: annotate data-races around q->perturb_period
net_sched: sch_sfq: handle bigger packets
net_sched: sch_sfq: reject invalid perturb period
Faicker Mo (1):
net: openvswitch: Fix the dead loop of MPLS parse
Fedor Pchelkin (1):
jffs2: check jffs2_prealloc_raw_node_refs() result in few other places
Fernando Fernandez Mancera (1):
netfilter: nft_tunnel: fix geneve_opt dump
Finn Thain (1):
m68k: mac: Fix macintosh_config for Mac II
Florian Westphal (2):
netfilter: nf_tables: nft_fib_ipv6: fix VRF ipv4/ipv6 result discrepancy
netfilter: nf_set_pipapo_avx2: fix initial map fill
GONG Ruiqi (1):
vgacon: Add check for vc_origin address range in vgacon_scroll()
Gabor Juhos (6):
pinctrl: armada-37xx: use correct OUTPUT_VAL register for GPIOs > 31
pinctrl: armada-37xx: set GPIO output value before setting direction
pinctrl: armada-37xx: propagate error from armada_37xx_pmx_set_by_name()
pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get_direction()
pinctrl: armada-37xx: propagate error from armada_37xx_pmx_gpio_set_direction()
pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get()
Gabriel Shahrouzi (1):
staging: iio: ad5933: Correct settling cycles encoding per datasheet
Gao Xiang (1):
erofs: remove unused trace event erofs_destroy_inode
Gautam Menghani (1):
powerpc/pseries/msi: Avoid reading PCI device registers in reduced power states
Gautham R. Shenoy (1):
acpi-cpufreq: Fix nominal_freq units to KHz in get_max_boost_ratio()
Gavin Guo (1):
mm/huge_memory: fix dereferencing invalid pmd migration entry
Geert Uytterhoeven (2):
spi: sh-msiof: Fix maximum DMA transfer size
ARM: dts: am335x-bone-common: Increase MDIO reset deassert delay to 50ms
George Moussalem (1):
thermal/drivers/qcom/tsens: Update conditions to strictly evaluate for IP v2+
Greg Kroah-Hartman (1):
Linux 5.15.186
Guilherme G. Piccoli (1):
clocksource: Fix the CPUs' choice in the watchdog per CPU verification
Haixia Qu (1):
tipc: fix null-ptr-deref when acquiring remote ip of ethernet bearer
Hans Verkuil (1):
media: tc358743: ignore video while HPD is low
Hans Zhang (1):
PCI: cadence: Fix runtime atomic count underflow
Haren Myneni (1):
powerpc/vas: Return -EINVAL if the offset is non-zero in mmap()
Hari Kalavakunta (1):
net: ncsi: Fix GCPS 64-bit member variables
Hector Martin (1):
ASoC: tas2770: Power cycle amp on ISENSE/VSENSE change
Heiko Carstens (1):
s390/pci: Fix __pcilg_mio_inuser() inline assembly
Heiko Stuebner (1):
clk: rockchip: rk3036: mark ddrphy as critical
Henk Vergonet (1):
wifi: mt76: mt76x2: Add support for LiteOn WN4516R,WN4519R
Henry Martin (5):
clk: bcm: rpi: Add NULL check in raspberrypi_clk_register()
soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()
backlight: pm8941: Add NULL check in wled_configure()
dmaengine: ti: Add NULL check in udma_probe()
serial: Fix potential null-ptr-deref in mlb_usio_probe()
Herbert Xu (5):
crypto: marvell/cesa - Handle zero-length skcipher requests
crypto: marvell/cesa - Avoid empty transfer descriptor
crypto: lrw - Only add ecb if it is not already there
crypto: xts - Only add ecb if it is not already there
crypto: marvell/cesa - Do not chain submitted requests
Hongyu Xie (1):
usb: storage: Ignore UAS driver for SanDisk 3.2 Gen2 storage device
Horatiu Vultur (1):
net: phy: mscc: Stop clearing the the UDPv4 checksum for L2 frames
Hou Tao (2):
arm64: move AARCH64_BREAK_FAULT into insn-def.h
arm64: insn: add encoders for atomic operations
Huacai Chen (1):
PCI: Add ACS quirk for Loongson PCIe
Huajian Yang (1):
netfilter: bridge: Move specific fragmented packet to slow_path instead of dropping it
Huang Yiwei (1):
firmware: SDEI: Allow sdei initialization without ACPI_APEI_GHES
I Hsin Cheng (1):
drm/meson: Use 1000ULL when operating with mode->clock
Ido Schimmel (2):
seg6: Fix validation of nexthop addresses
vxlan: Do not treat dst cache initialization errors as fatal
Ilpo Järvinen (1):
PCI: Fix lock symmetry in pci_slot_unlock()
Ilya Leoshkevich (1):
s390/bpf: Store backchain even for leaf progs
Ioana Ciornei (2):
bus: fsl-mc: fix double-free on mc_dev
bus: fsl-mc: do not add a device-link for the UAPI used DPMCP device
Jacob Keller (1):
drm/nouveau/bl: increase buffer size to avoid truncate warning
Jacob Moroni (1):
IB/cm: use rwlock for MAD agent lock
Jaegeuk Kim (1):
f2fs: prevent kernel warning due to negative i_nlink from corrupted image
Jakub Raczynski (1):
net/mdiobus: Fix potential out-of-bounds read/write access
James Morse (6):
arm64: insn: Add support for encoding DSB
arm64: proton-pack: Expose whether the platform is mitigated by firmware
arm64: proton-pack: Expose whether the branchy loop k value
arm64: bpf: Add BHB mitigation to the epilogue for cBPF programs
arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users
arm64: proton-pack: Add new CPUs 'k' values for branch mitigation
Jan Kara (3):
ext4: fix calculation of credits for extent tree modification
ext4: make 'abort' mount option handling standard
ext4: avoid remount errors with 'abort' mount option
Jann Horn (3):
tee: Prevent size calculation wraparound on 32-bit kernels mm/hugetlb: unshare page tables during VMA split, not before mm/hugetlb: fix huge_pmd_unshare() vs GUP-fast race
Jason Gunthorpe (1):
iommu: Protect against overflow in iommu_pgsize()
Jason Xing (2):
net: atlantic: generate software timestamp just before the doorbell
net: mlx4: add SOF_TIMESTAMPING_TX_SOFTWARE flag when getting ts info
Jeff Hugo (1):
bus: mhi: host: Fix conflict between power_up and SYSERR
Jeongjun Park (3):
ptp: remove ptp->n_vclocks check logic in ptp_vclock_in_use()
jbd2: fix data-race and null-ptr-deref in jbd2_journal_dirty_metadata()
ipc: fix to protect IPCS lookups using RCU
Jerry Lv (1):
power: supply: bq27xxx: Retrieve again when busy
Jiaqing Zhao (1):
x86/mtrr: Check if fixed-range MTRRs exist in mtrr_save_fixed_ranges()
Jiayi Li (1):
usb: quirks: Add NO_LPM quirk for SanDisk Extreme 55AE
Jiayuan Chen (4):
bpf, sockmap: fix duplicated data transmission ktls, sockmap: Fix missing uncharge operation bpf, sockmap: Avoid using sk_socket after free when sending bpf, sockmap: Fix data lost during EAGAIN retries
Jinliang Zheng (1):
mm: fix ratelimit_pages update error in dirty_ratio_handler()
Johan Hovold (1):
media: ov8856: suppress probe deferral errors
Jon Hunter (1):
Revert "cpufreq: tegra186: Share policy per cluster"
Jonas Karlman (1):
media: rkvdec: Fix frame size enumeration
Jonathan Lane (1):
ALSA: hda/realtek: enable headset mic on Latitude 5420 Rugged
Judith Mendez (2):
arm64: dts: ti: k3-am65-main: Fix sdhci node properties
arm64: dts: ti: k3-am65-main: Add missing taps to sdhci0
Junxian Huang (1):
RDMA/hns: Include hnae3.h in hns_roce_hw_v2.h
Justin Sanders (1):
aoe: clean device rq_list in aoedev_downdev()
Justin Tee (1):
scsi: lpfc: Fix lpfc_check_sli_ndlp() handling for GEN_REQUEST64 commands
KaFai Wan (1):
bpf: Avoid __bpf_prog_ret0_warn when jit fails
Kees Cook (2):
drm/vkms: Adjust vkms_state->active_planes allocation type
scsi: qedf: Use designated initializer for struct qed_fcoe_cb_ops
Khem Raj (1):
mips: Add -std= flag specified in KBUILD_CFLAGS to vdso CFLAGS
Krishna Kumar (1):
net: ice: Perform accurate aRFS flow match
Krzysztof Kozlowski (2):
NFC: nci: uart: Set tty->disc_data only in success path drm/msm/dsi/dsi_phy_10nm: Fix missing initial VCO rate
Kuniyuki Iwashima (5):
calipso: Don't call calipso functions for AF_INET sk.
atm: Revert atm_account_tx() if copy_from_iter_full() fails.
mpls: Use rcu_dereference_rtnl() in mpls_route_input_rcu().
atm: atmtcp: Free invalid length skb in atmtcp_c_send().
calipso: Fix null-ptr-deref in calipso_req_{set,del}attr().
Kyungwook Boo (1):
i40e: fix MMIO write access to an invalid page in i40e_clear_hw
Lad Prabhakar (1):
usb: renesas_usbhs: Reorder clock handling and power management in probe
Laurentiu Tudor (1):
bus: fsl-mc: increase MC_CMD_COMPLETION_TIMEOUT_MS value
Leo Yan (1):
perf tests switch-tracking: Fix timestamp comparison
Li Lingfeng (3):
nfs: clear SB_RDONLY before getting superblock
nfs: ignore SB_RDONLY when remounting nfs
nfsd: Initialize ssc before laundromat_work to prevent NULL dereference
Li RongQing (1):
vfio/type1: Fix error unwind in migration dirty bitmap allocation
Liu Shixin (1):
mm: hugetlb: independent PMD page table shared count
Liu Song (1):
arm64: spectre: increase parameters that can be used to turn off bhb mitigation individually
Loic Poulain (1):
media: venus: Fix probe error handling
Long Li (3):
uio_hv_generic: Use correct size for interrupt and monitor pages
sunrpc: update nextcheck time when adding new cache entries
sunrpc: fix race in cache cleanup causing stale nextcheck time
Luca Weiss (1):
clk: qcom: gcc-sm6350: Add *_wait_val values for GDSCs
Luiz Augusto von Dentz (1):
Bluetooth: L2CAP: Fix not responding with L2CAP_CR_LE_ENCRYPTION
Ma Ke (1):
media: v4l2-dev: fix error handling in __video_register_device()
Marcus Folkesson (1):
watchdog: da9052_wdt: respect TWDMIN
Marek Szyprowski (2):
media: videobuf2: use sgtable-based scatterlist wrappers
udmabuf: use sgtable-based scatterlist wrappers
Martin Blumenstingl (5):
drm/meson: use unsigned long long / Hz for frequency types drm/meson: fix debug log statement when setting the HDMI clocks drm/meson: use vclk_freq instead of pixel_freq in debug print drm/meson: fix more rounding issues with 59.94Hz modes
ASoC: meson: meson-card-utils: use of_property_present() for DT parsing
Masahiro Yamada (1):
kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
Mathias Nyman (1):
usb: Flush altsetting 0 endpoints before reinitializating them after reset.
Miaoqian Lin (1):
firmware: psci: Fix refcount leak in psci_dt_init
Michal Kubiak (1):
ice: create new Tx scheduler nodes for new queues only
Michal Luczaj (1):
net: Fix TOCTOU issue in sk_is_readable()
Mike Looijmans (1):
pinctrl: mcp23s08: Reset all pins to input at probe
Mike Tipton (1):
cpufreq: scmi: Skip SCMI devices that aren't used by the CPUs
Mikulas Patocka (1):
dm-mirror: fix a tiny race condition
Mingcong Bai (1):
wifi: rtlwifi: disable ASPM for RTL8723BE with subsystem ID 11ad:1723
Mirco Barone (1):
wireguard: device: enable threaded NAPI
Moon Yeounsu (1):
net: dlink: add synchronization for stats update
Moshe Shemesh (1):
net/mlx5: Ensure fw pages are always allocated on same NUMA
Murad Masimov (2):
ocfs2: fix possible memory leak in ocfs2_finish_quota_recovery
fbdev: Fix fb_set_var to prevent null-ptr-deref in fb_videomode_to_var
Namjae Jeon (1):
exfat: fix double free in delayed_free
Narayana Murty N (1):
powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery
Nas Chung (2):
media: uapi: v4l: Fix V4L2_TYPE_IS_OUTPUT condition
media: uapi: v4l: Change V4L2_TYPE_IS_CAPTURE condition
Nathan Chancellor (7):
MIPS: Move '-Wa,-msoft-float' check from as-option to cc-option
MIPS: Prefer cc-option for additions to cflags
drm/amd/display: Do not add '-mhard-float' to dml_ccflags for clang
mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation
kbuild: Add CLANG_FLAGS to as-instr
kbuild: Add KBUILD_CPPFLAGS to as-option invocation drm/amd/display: Do not add '-mhard-float' to dcn2{1,0}_resource.o for clang
Neal Cardwell (1):
tcp: fix tcp_packet_delayed() for tcp_is_non_sack_preventing_reopen() behavior
NeilBrown (1):
nfsd: nfsd4_spo_must_allow() must check this is a v4 compound request
Neill Kapron (1):
selftests/seccomp: fix syscall_restart test for arm compat
Nick Desaulniers (2):
x86/boot/compressed: prefer cc-option for CFLAGS additions
kbuild: Update assembler calls to use proper flags and language target
Nicolas Dufresne (1):
media: rkvdec: Initialize the m2m context before the controls
Nicolas Pitre (1):
vt: remove VT_RESIZE and VT_RESIZEX from vt_compat_ioctl()
Nikita Zhandarovich (1):
net: usb: aqc111: fix error handling of usbnet read calls
Niklas Cassel (1):
PCI: cadence-ep: Correct PBA offset in .set_msix() callback
Niravkumar L Rabara (1):
EDAC/altera: Use correct write width with the INTTEST register
Nishanth Menon (1):
arm64: dts: ti: k3-am65-main: Drop deprecated ti,otap-del-sel property
Octavian Purdila (3):
net_sched: sch_sfq: don't allow 1 packet limit
net_sched: sch_sfq: use a temporary work area for validating configuration
net_sched: sch_sfq: move the limit validation
Oleg Nesterov (1):
posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
Oliver Neukum (1):
net: usb: aqc111: debug info before sanitation
Ovidiu Panait (1):
crypto: sun8i-ce - move fallback ahash_request to the end of the struct
Pan Taixi (1):
tracing: Fix compilation warning on arm32
Patrisious Haddad (2):
RDMA/mlx5: Fix error flow upon firmware failure for RQ destruction net/mlx5: Fix return value when searching for existing flow group
Paul Chaignon (2):
net: Fix checksum update for ILA adj-transport
bpf: Fix L4 csum update on IPv6 in CHECKSUM_COMPLETE
Pawel Laszczak (2):
usb: cdnsp: Fix issue with detecting command completion event
usb: cdnsp: Fix issue with detecting USB 3.2 speed
Peter Marheine (1):
ACPI: battery: negate current when discharging
Peter Oberparleiter (1):
scsi: s390: zfcp: Ensure synchronous unit_add
Peter Zijlstra (2):
perf: Ensure bpf_perf_link path is properly serialized
perf: Fix sample vs do_exit()
Petr Malat (1):
sctp: Do not wake readers in __sctp_write_space()
Phillip Lougher (1):
Squashfs: check return result of sb_min_blocksize
Qasim Ijaz (1):
net: ch9200: fix uninitialised access during mii_nway_restart
Qing Wang (1):
perf/core: Fix broken throttling when max_samples_per_tick=1
Qiuxu Zhuo (1):
EDAC/skx_common: Fix general protection fault
Quentin Schulz (2):
arm64: dts: rockchip: disable unrouted USB controllers and PHY on RK3399 Puma with Haikou
net: stmmac: platform: guarantee uniqueness of bus_id
Rafael J. Wysocki (1):
PM: sleep: Fix power.is_suspended cleanup for direct-complete devices
Ricardo Ribalda (3):
media: uvcvideo: Return the number of processed controls
media: uvcvideo: Send control events for partial succeeds
media: uvcvideo: Fix deferred probing error
Ritesh Harjani (IBM) (1):
powerpc/powernv/memtrace: Fix out of bounds issue in memtrace mmap
Robert Malz (2):
i40e: return false from i40e_reset_vf if reset is in progress
i40e: retry VFLR handling if there is ongoing VF reset
Ronak Doshi (1):
vmxnet3: correctly report gso type for UDP tunnels
Ross Stutterheim (1):
ARM: 9447/1: arm/memremap: fix arch_memremap_can_ram_remap()
Ryusuke Konishi (1):
nilfs2: do not propagate ENOENT error from nilfs_btree_propagate()
Sakari Ailus (5):
media: ccs-pll: Start VT pre-PLL multiplier search from correct value
media: ccs-pll: Start OP pre-PLL multiplier search from correct value
media: ccs-pll: Correct the upper limit of maximum op_pre_pll_clk_div
media: ccs-pll: Check for too high VT PLL multiplier in dual PLL case
media: ccs-pll: Better validate VT PLL branch
Sanjeev Yadav (1):
scsi: core: ufs: Fix a hang in the error handler
Sean Christopherson (1):
iommu/amd: Ensure GA log notifier callbacks finish running before module unload
Sean Nyekjaer (3):
iio: accel: fxls8962af: Fix temperature scan element sign
iio: imu: inv_icm42600: Fix temperature calculation
iio: accel: fxls8962af: Fix temperature calculation
Sebastian Andrzej Siewior (1):
ipv4/route: Use this_cpu_inc() for stats on PREEMPT_RT
Sergey Senozhatsky (1):
thunderbolt: Do not double dequeue a configuration request
Sergey Shtylyov (1):
fbdev: core: fbcvt: avoid division by 0 in fb_cvt_hperiod()
Sergio Perez Gonzalez (1):
net: macb: Check return value of dma_set_mask_and_coherent()
Seunghun Han (2):
ACPICA: fix acpi operand cache leak in dswstate.c
ACPICA: fix acpi parse and parseext cache leaks
Shengyu Qu (1):
ARM: dts: am335x-bone-common: Add GPIO PHY reset on revision C3 board
Shin'ichiro Kawasaki (1):
RDMA/iwcm: Fix use-after-free of work objects after cm_id destruction
Shravan Chippa (1):
media: i2c: imx334: update mode_3840x2160_regs array
Simon Horman (1):
pldmfw: Select CRC32 when PLDMFW is selected
Simon Schuster (1):
nios2: force update_mmu_cache on spurious tlb-permission--related pagefaults
Srinivasan Shanmugam (1):
drm/amd/display: Add NULL pointer checks in dm_force_atomic_commit()
Stefano Stabellini (1):
xen/arm: call uaccess_ttbr0_enable for dm_op hypercall
Stephen Smalley (1):
selinux: fix selinux_xfrm_alloc_user() to set correct ctx_len
Stone Zhang (1):
wifi: ath11k: fix node corruption in ar->arvifs list
Stuart Hayes (2):
platform/x86: dell_rbu: Fix list usage platform/x86: dell_rbu: Stop overwriting data buffer
Su Hui (1):
soc: aspeed: lpc: Fix impossible judgment condition
Sukrut Bellary (2):
pmdomain: ti: Fix STANDBY handling of PER power domain
ARM: OMAP2+: Fix l4ls clk domain handling in STANDBY
Takashi Iwai (1):
ALSA: hda/intel: Add Thinkpad E15 to PM deny list
Tali Perry (1):
i2c: npcm: Add clock toggle recovery
Tan En De (1):
i2c: designware: Invoke runtime suspend on quick slave re-registration
Tao Chen (1):
bpf: Fix WARN() in get_bpf_raw_tp_regs
Tarang Raval (2):
media: i2c: imx334: Enable runtime PM before sub-device registration
media: i2c: imx334: Fix runtime PM handling in remove function
Tasos Sahanidis (1):
ata: pata_via: Force PIO for ATAPI devices on VT6415/VT6330
Tengda Wu (1):
arm64/ptrace: Fix stack-out-of-bounds read in regs_get_kernel_stack_nth()
Terry Junge (1):
HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()
Thadeu Lima de Souza Cascardo (1):
ext4: inline: fix len overflow in ext4_prepare_inline_data
Thangaraj Samynathan (1):
net: lan743x: rename lan743x_reset_phy to lan743x_hw_reset_phy
Thomas Gleixner (1):
x86/iopl: Cure TIF_IO_BITMAP inconsistencies
Thomas Weißschuh (1):
kbuild: userprogs: fix bitsize and target detection on clang
Toke Høiland-Jørgensen (1):
wifi: ath9k_htc: Abort software beacon handling if disabled
Tomi Valkeinen (1):
media: ti: cal: Fix wrong goto on error path
Uwe Kleine-König (1):
iio: adc: ad7124: Fix 3dB filter frequency reading
Viktor Malik (1):
libbpf: Fix buffer overflow in bpf_object__init_prog
Vincent Knecht (1):
clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz
Viresh Kumar (1):
cpufreq: Force sync policy boost with global boost on sysfs update
Vitaliy Shevtsov (1):
scsi: elx: efct: Fix memory leak in efct_hw_parse_filter()
Vladimir Oltean (1):
ptp: fix breakage after ptp_vclock_in_use() rework
Wan Junjie (1):
bus: fsl-mc: fix GET/SET_TAILDROP command ids
WangYuli (2):
MIPS: Loongson64: Add missing '#interrupt-cells' for loongson64c_ls7a
Input: sparcspkr - avoid unannotated fall-through
Wentao Liang (10):
nilfs2: add pointer check for nilfs_direct_propagate()
ASoC: qcom: sdm845: Add error handling in sdm845_slim_snd_hw_params() net/mlx5_core: Add error handling inmlx5_query_nic_vport_qkey_viol_cntr() net/mlx5: Add error handling in mlx5_query_nic_vport_node_guid()
media: gspca: Add error handling for stv06xx_read_sensor()
mtd: rawnand: sunxi: Add randomizer configuration in sunxi_nfc_hw_ecc_write_chunk
mtd: nand: sunxi: Add randomizer configuration before randomizer enable
regulator: max14577: Add error check for max14577_read_reg()
media: platform: exynos4-is: Add hardware sync wait to fimc_is_hw_change_mode()
octeontx2-pf: Add error log forcn10k_map_unmap_rq_policer()
Wolfram Sang (3):
ARM: dts: at91: usb_a9263: fix GPIO for Dataflash chip select
ARM: dts: at91: at91sam9263: fix NAND chip selects
rtc: sh: assign correct interrupts with DT
Wupeng Ma (1):
VMCI: fix race between vmci_host_setup_notify and vmci_ctx_unset_notify
Xiaolei Wang (2):
remoteproc: core: Cleanup acquired resources when rproc_handle_resources() fails in rproc_attach()
remoteproc: core: Release rproc->clean_table after rproc_attach() fails
Xin Li (Intel) (1):
selftests/x86: Add a test to detect infinite SIGTRAP handler loop
Yanqing Wang (1):
driver: net: ethernet: mtk_star_emac: fix suspend/resume issue
Ye Bin (1):
ftrace: Fix UAF when lookup kallsym after ftrace disabled
Yong Wang (1):
net: bridge: mcast: re-implement br_multicast_{enable, disable}_port functions
Yuanjun Gong (1):
ASoC: tegra210_ahub: Add check to of_device_get_match_data()
Zhang Yi (4):
ext4: factor out ext4_get_maxbytes()
ext4: ensure i_size is smaller than maxbytes
ext4: ext4: unify EXT4_EX_NOCACHE|NOFAIL flags in ext4_ext_remove_space()
ext4: prevent stale extent cache entries caused by concurrent get es_cache
Zhiguo Niu (2):
f2fs: use d_inode(dentry) cleanup dentry->d_inode
f2fs: fix to correct check conditions in f2fs_cross_rename
Zhongqiu Duan (1):
netfilter: nft_quota: match correctly when the quota just depleted
Zijun Hu (5):
PM: wakeup: Delete space in the end of string shown by pm_show_wakelocks() fs/filesystems: Fix potential unsigned integer underflow in fs_name()
configfs: Do not override creating attribute file failure in populate_attrs() software node: Correct a OOB check in software_node_get_reference_args()
sock: Correct error checking condition for (assign|release)_proto_idx()
Zilin Guan (1):
tipc: use kfree_sensitive() for aead cleanup
gldrk (1):
ACPICA: utilities: Fix overflow check in vsnprintf()
wangdicheng (1):
ALSA: usb-audio: Rename ALSA kcontrol PCM and PCM1 for the KTMicro sound card
zhang songyi (1):
Input: synaptics-rmi4 - convert to use sysfs_emit() APIs
Álvaro Fernández Rojas (3):
spi: bcm63xx-spi: fix shared reset
spi: bcm63xx-hsspi: fix shared reset
net: dsa: tag_brcm: legacy: fix pskb_may_pull length
Greg Kroah-Hartman
maintainerDocumentation/admin-guide/kernel-parameters.txt +5 -2
@@ -3105,6 +3105,7 @@ spectre_bhi=off [X86] spectre_v2_user=off [X86] ssbd=force-off [ARM64] + nospectre_bhb [ARM64] tsx_async_abort=off [X86] Exceptions:
@@ -3526,6 +3527,10 @@ vulnerability. System may allow data leaks with this option. + nospectre_bhb [ARM64] Disable all mitigations for Spectre-BHB (branch + history injection) vulnerability. System may allow data leaks + with this option. + nospec_store_bypass_disable [HW] Disable all mitigations for the Speculative Store Bypass vulnerability
@@ -5445,8 +5450,6 @@ Selecting 'on' will also enable the mitigation against user space to user space task attacks. - Selecting specific mitigation does not force enable - user mitigations. Selecting 'off' will disable both the kernel and the user space protections.
Makefile +3 -3
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 15 -SUBLEVEL = 185 +SUBLEVEL = 186 EXTRAVERSION = NAME = Trick or Treat
@@ -1126,8 +1126,8 @@ LDFLAGS_vmlinux += --orphan-handling=warn endif # Align the bit size of userspace programs with the kernel -KBUILD_USERCFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CFLAGS)) -KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CFLAGS)) +KBUILD_USERCFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)) +KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS)) # userspace programs are linked via the compiler, use the correct linker ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_LD_IS_LLD),yy)
arch/arm/boot/dts/am335x-bone-common.dtsi +8 -0
@@ -145,6 +145,8 @@ davinci_mdio_default: davinci_mdio_default { /* MDIO */ AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0) AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0) + /* Added to support GPIO controlled PHY reset */ + AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT_PULLUP, MUX_MODE7) >; };
@@ -153,6 +155,8 @@ davinci_mdio_sleep: davinci_mdio_sleep { /* MDIO reset value */ AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) + /* Added to support GPIO controlled PHY reset */ + AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_INPUT_PULLDOWN, MUX_MODE7) >; };
@@ -377,6 +381,10 @@ &davinci_mdio_sw { ethphy0: ethernet-phy@0 { reg = <0>; + /* Support GPIO reset on revision C3 boards */ + reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + reset-assert-us = <300>; + reset-deassert-us = <50000>; }; };
arch/arm/boot/dts/at91sam9263ek.dts +1 -1
@@ -148,7 +148,7 @@ nand_controller: nand-controller { nand@3 { reg = <0x3 0x0 0x800000>; rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>; - cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; nand-bus-width = <8>; nand-ecc-mode = "soft"; nand-on-flash-bbt;
arch/arm/boot/dts/qcom-apq8064.dtsi +4 -9
@@ -211,12 +211,6 @@ sleep_clk: sleep_clk { }; }; - sfpb_mutex: hwmutex { - compatible = "qcom,sfpb-mutex"; - syscon = <&sfpb_wrapper_mutex 0x604 0x4>; - #hwlock-cells = <1>; - }; - smem { compatible = "qcom,smem"; memory-region = <&smem_region>;
@@ -360,9 +354,10 @@ tlmm_pinmux: pinctrl@800000 { pinctrl-0 = <&ps_hold>; }; - sfpb_wrapper_mutex: syscon@1200000 { - compatible = "syscon"; - reg = <0x01200000 0x8000>; + sfpb_mutex: hwmutex@1200600 { + compatible = "qcom,sfpb-mutex"; + reg = <0x01200600 0x100>; + #hwlock-cells = <1>; }; intc: interrupt-controller@2000000 {
arch/arm/boot/dts/tny_a9263.dts +1 -1
@@ -64,7 +64,7 @@ nand_controller: nand-controller { nand@3 { reg = <0x3 0x0 0x800000>; rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>; - cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; nand-bus-width = <8>; nand-ecc-mode = "soft"; nand-on-flash-bbt;
arch/arm/boot/dts/usb_a9263.dts +2 -2
@@ -58,7 +58,7 @@ usb1: gadget@fff78000 { }; spi0: spi@fffa4000 { - cs-gpios = <&pioB 15 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioA 5 GPIO_ACTIVE_LOW>; status = "okay"; mtd_dataflash@0 { compatible = "atmel,at45", "atmel,dataflash";
@@ -84,7 +84,7 @@ nand_controller: nand-controller { nand@3 { reg = <0x3 0x0 0x800000>; rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>; - cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>; + cs-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; nand-bus-width = <8>; nand-ecc-mode = "soft"; nand-on-flash-bbt;
arch/arm/mach-omap2/clockdomain.h +1 -0
@@ -48,6 +48,7 @@#define CLKDM_NO_AUTODEPS (1 << 4)#define CLKDM_ACTIVE_WITH_MPU (1 << 5)#define CLKDM_MISSING_IDLE_REPORTING (1 << 6) +#define CLKDM_STANDBY_FORCE_WAKEUP BIT(7)#define CLKDM_CAN_HWSUP (CLKDM_CAN_ENABLE_AUTO | CLKDM_CAN_DISABLE_AUTO)#define CLKDM_CAN_SWSUP (CLKDM_CAN_FORCE_SLEEP | CLKDM_CAN_FORCE_WAKEUP)
arch/arm/mach-omap2/clockdomains33xx_data.c +1 -1
@@ -27,7 +27,7 @@ static struct clockdomain l4ls_am33xx_clkdm = { .pwrdm = { .name = "per_pwrdm" }, .cm_inst = AM33XX_CM_PER_MOD, .clkdm_offs = AM33XX_CM_PER_L4LS_CLKSTCTRL_OFFSET, - .flags = CLKDM_CAN_SWSUP, + .flags = CLKDM_CAN_SWSUP | CLKDM_STANDBY_FORCE_WAKEUP, };static struct clockdomain l3s_am33xx_clkdm = {
arch/arm/mach-omap2/cm33xx.c +13 -1
@@ -28,6 +28,9 @@#include "cm-regbits-34xx.h" #include "cm-regbits-33xx.h" #include "prm33xx.h" +#if IS_ENABLED (CONFIG_SUSPEND ) +#include <linux/suspend.h> +#endif /* * CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield:
@@ -336,8 +339,17 @@ static int am33xx_clkdm_clk_disable(struct clockdomain *clkdm) {bool hwsup = false; +#if IS_ENABLED (CONFIG_SUSPEND ) +/* +* In case of standby, Don't put the l4ls clk domain to sleep. +* Since CM3 PM FW doesn't wake-up/enable the l4ls clk domain +* upon wake-up, CM3 PM FW fails to wake-up th MPU. +*/ +if (pm_suspend_target_state ==PM_SUSPEND_STANDBY && + (clkdm->flags &CLKDM_STANDBY_FORCE_WAKEUP )) +return 0 ; +#endif hwsup =am33xx_cm_is_clkdm_in_hwsup (clkdm->cm_inst, clkdm->clkdm_offs); -if (!hwsup && (clkdm->flags &CLKDM_CAN_FORCE_SLEEP ))am33xx_clkdm_sleep (clkdm);
arch/arm/mach-omap2/pmic-cpcap.c +5 -1
@@ -264,7 +264,11 @@ int __init omap4_cpcap_init(void)static int __init cpcap_late_init (void ) { -omap4_vc_set_pmic_signaling (PWRDM_POWER_RET ); +if (!of_find_compatible_node (NULL ,NULL ,"motorola,cpcap" )) +return 0 ; + +if (soc_is_omap443x () ||soc_is_omap446x () ||soc_is_omap447x ()) +omap4_vc_set_pmic_signaling (PWRDM_POWER_RET );return 0 ; }
arch/arm/mm/ioremap.c +1 -3
@@ -483,7 +483,5 @@ void __init early_ioremap_init(void)bool arch_memremap_can_ram_remap (resource_size_t offset,size_t size,unsigned long flags) { -unsigned long pfn =PHYS_PFN (offset); - -return memblock_is_map_memory (pfn); +return memblock_is_map_memory (offset); }
arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi +1 -0
@@ -231,6 +231,7 @@ eeprom@50 { rtc: rtc@51 { compatible = "nxp,pcf85263"; reg = <0x51>; + quartz-load-femtofarads = <12500>; }; };
arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +1 -0
@@ -240,6 +240,7 @@ eeprom@50 { rtc: rtc@51 { compatible = "nxp,pcf85263"; reg = <0x51>; + quartz-load-femtofarads = <12500>; }; };
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts +0 -8
@@ -251,14 +251,6 @@ &uart2 { status = "okay"; }; -&usb_host0_ehci { - status = "okay"; -}; - -&usb_host0_ohci { - status = "okay"; -}; - &vopb { status = "okay"; };
arch/arm64/boot/dts/ti/k3-am65-main.dtsi +13 -7
@@ -261,6 +261,8 @@ sdhci0: mmc@4f80000 { interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; mmc-ddr-1_8v; mmc-hs200-1_8v; + ti,clkbuf-sel = <0x7>; + ti,trm-icp = <0x8>; ti,otap-del-sel-legacy = <0x0>; ti,otap-del-sel-mmc-hs = <0x0>; ti,otap-del-sel-sd-hs = <0x0>;
@@ -271,8 +273,9 @@ sdhci0: mmc@4f80000 { ti,otap-del-sel-ddr50 = <0x5>; ti,otap-del-sel-ddr52 = <0x5>; ti,otap-del-sel-hs200 = <0x5>; - ti,otap-del-sel-hs400 = <0x0>; - ti,trm-icp = <0x8>; + ti,itap-del-sel-legacy = <0xa>; + ti,itap-del-sel-mmc-hs = <0x1>; + ti,itap-del-sel-ddr52 = <0x0>; dma-coherent; };
@@ -283,19 +286,22 @@ sdhci1: mmc@4fa0000 { clocks = <&k3_clks 48 0>, <&k3_clks 48 1>; clock-names = "clk_ahb", "clk_xin"; interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; + ti,clkbuf-sel = <0x7>; + ti,trm-icp = <0x8>; ti,otap-del-sel-legacy = <0x0>; ti,otap-del-sel-mmc-hs = <0x0>; ti,otap-del-sel-sd-hs = <0x0>; - ti,otap-del-sel-sdr12 = <0x0>; - ti,otap-del-sel-sdr25 = <0x0>; + ti,otap-del-sel-sdr12 = <0xf>; + ti,otap-del-sel-sdr25 = <0xf>; ti,otap-del-sel-sdr50 = <0x8>; ti,otap-del-sel-sdr104 = <0x7>; ti,otap-del-sel-ddr50 = <0x4>; ti,otap-del-sel-ddr52 = <0x4>; ti,otap-del-sel-hs200 = <0x7>; - ti,clkbuf-sel = <0x7>; - ti,otap-del-sel = <0x2>; - ti,trm-icp = <0x8>; + ti,itap-del-sel-legacy = <0xa>; + ti,itap-del-sel-sd-hs = <0x1>; + ti,itap-del-sel-sdr12 = <0xa>; + ti,itap-del-sel-sdr25 = <0x1>; dma-coherent; };
arch/arm64/include/asm/cputype.h +2 -0
@@ -81,6 +81,7 @@#define ARM_CPU_PART_CORTEX_A78AE 0xD42#define ARM_CPU_PART_CORTEX_X1 0xD44#define ARM_CPU_PART_CORTEX_A510 0xD46 +#define ARM_CPU_PART_CORTEX_X1C 0xD4C#define ARM_CPU_PART_CORTEX_A520 0xD80#define ARM_CPU_PART_CORTEX_A710 0xD47#define ARM_CPU_PART_CORTEX_A715 0xD4D
@@ -147,6 +148,7 @@#define MIDR_CORTEX_A78AE MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78AE)#define MIDR_CORTEX_X1 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1)#define MIDR_CORTEX_A510 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A510) +#define MIDR_CORTEX_X1C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1C)#define MIDR_CORTEX_A520 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A520)#define MIDR_CORTEX_A710 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A710)#define MIDR_CORTEX_A715 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A715)
arch/arm64/include/asm/debug-monitors.h +0 -12
@@ -34,18 +34,6 @@*/ #define BREAK_INSTR_SIZE AARCH64_INSN_SIZE -/* -* BRK instruction encoding -* The #imm16 value should be placed at bits[20:5] within BRK ins -*/ -#define AARCH64_BREAK_MON 0xd4200000 - -/* -* BRK instruction for provoking a fault on purpose -* Unlike kgdb, #imm16 value with unallocated handler is used for faulting. -*/ -#define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5)) -#define AARCH64_BREAK_KGDB_DYN_DBG \ (AARCH64_BREAK_MON | (KGDB_DYN_DBG_BRK_IMM << 5))
arch/arm64/include/asm/insn-def.h +14 -0
@@ -3,7 +3,21 @@#ifndef __ASM_INSN_DEF_H#define __ASM_INSN_DEF_H +#include <asm/brk-imm.h> +/* A64 instructions are always 32 bits. */ #define AARCH64_INSN_SIZE 4 +/* +* BRK instruction encoding +* The #imm16 value should be placed at bits[20:5] within BRK ins +*/ +#define AARCH64_BREAK_MON 0xd4200000 + +/* +* BRK instruction for provoking a fault on purpose +* Unlike kgdb, #imm16 value with unallocated handler is used for faulting. +*/ +#define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5)) +#endif /* __ASM_INSN_DEF_H */
arch/arm64/include/asm/insn.h +74 -7
112 lines not on this page · raw message
arch/arm64/include/asm/spectre.h +3 -0
@@ -97,6 +97,9 @@ enum mitigation_state arm64_get_meltdown_state(void);enum mitigation_state arm64_get_spectre_bhb_state (void );bool is_spectre_bhb_affected (const struct arm64_cpu_capabilities *entry,int scope); +extern bool __nospectre_bhb; +u8 get_spectre_bhb_loop_value (void ); +bool is_spectre_bhb_fw_mitigated (void );void spectre_bhb_enable_mitigation (const struct arm64_cpu_capabilities *__unused);bool try_emulate_el1_ssbs (struct pt_regs *regs,u32 instr);#endif /* __ASSEMBLY__ */
arch/arm64/kernel/proton-pack.c +20 -1
@@ -891,6 +891,7 @@ static u8 spectre_bhb_loop_affected(void)MIDR_ALL_VERSIONS (MIDR_CORTEX_A78AE ),MIDR_ALL_VERSIONS (MIDR_CORTEX_A78C ),MIDR_ALL_VERSIONS (MIDR_CORTEX_X1 ), +MIDR_ALL_VERSIONS (MIDR_CORTEX_X1C ),MIDR_ALL_VERSIONS (MIDR_CORTEX_A710 ),MIDR_ALL_VERSIONS (MIDR_CORTEX_X2 ), MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
@@ -998,6 +999,11 @@ bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry,return true; } +u8 get_spectre_bhb_loop_value (void ) +{ +return max_bhb_k; +} +static void this_cpu_set_vectors (enum arm64_bp_harden_el1_vectors slot) {const char *v =arm64_get_bp_hardening_vector (slot);
@@ -1018,6 +1024,14 @@ static void this_cpu_set_vectors(enum arm64_bp_harden_el1_vectors slot)isb (); } +bool __read_mostly __nospectre_bhb; +static int __init parse_spectre_bhb_param (char *str) +{ + __nospectre_bhb = true; +return 0 ; +} +early_param ("nospectre_bhb" , parse_spectre_bhb_param); +void spectre_bhb_enable_mitigation (const struct arm64_cpu_capabilities *entry) {bp_hardening_cb_t cpu_cb;
@@ -1031,7 +1045,7 @@ void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry)/* No point mitigating Spectre-BHB alone. */ }else if (!IS_ENABLED (CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY )) {pr_info_once ("spectre-bhb mitigation disabled by compile time option\n" ); - }else if (cpu_mitigations_off ()) { + }else if (cpu_mitigations_off () || __nospectre_bhb) {pr_info_once ("spectre-bhb mitigation disabled by command line option\n" ); }else if (supports_ecbhb (SCOPE_LOCAL_CPU )) { state =SPECTRE_MITIGATED ;
@@ -1088,6 +1102,11 @@ void spectre_bhb_enable_mitigation(const struct arm64_cpu_capabilities *entry)update_mitigation_state (&spectre_bhb_state, state); } +bool is_spectre_bhb_fw_mitigated (void ) +{ +return test_bit (BHB_FW , &system_bhb_mitigations); +} +/* Patched to NOP when enabled */ void noinstr spectre_bhb_patch_loop_mitigation_enable(struct alt_instr *alt, __le32 *origptr,
arch/arm64/kernel/ptrace.c +1 -1
@@ -140,7 +140,7 @@ unsigned long regs_get_kernel_stack_nth(struct pt_regs *regs, unsigned int n) addr += n;if (regs_within_kernel_stack (regs, (unsigned long )addr)) -return *addr; +return READ_ONCE_NOCHECK (*addr);else return 0 ; }
arch/arm64/lib/insn.c +185 -14
240 lines not on this page · raw message
arch/arm64/net/bpf_jit.h +9 -2
@@ -89,9 +89,16 @@#define A64_STXR (sf, Rt, Rn, Rs) \ A64_LSX(sf, Rt, Rn, Rs, STORE_EX) -/* LSE atomics */ +/* +* LSE atomics +* +* STADD is simply encoded as an alias for LDADD with XZR as +* the destination register. +*/ #define A64_STADD (sf, Rn, Rs) \ - aarch64_insn_gen_stadd(Rn, Rs, A64_SIZE(sf)) + aarch64_insn_gen_atomic_ld_op(A64_ZR, Rn, Rs, \ + A64_SIZE(sf), AARCH64_INSN_MEM_ATOMIC_ADD, \ + AARCH64_INSN_MEM_ORDER_NONE)/* Add/subtract (immediate) */ #define A64_ADDSUB_IMM (sf, Rd, Rn, imm12, type) \
arch/arm64/net/bpf_jit_comp.c +54 -4
99 lines not on this page · raw message
arch/arm64/xen/hypercall.S +20 -1
@@ -84,7 +84,26 @@ HYPERCALL1(tmem_op); HYPERCALL1(platform_op_raw); HYPERCALL2(multicall); HYPERCALL2(vm_assist); -HYPERCALL3(dm_op); + +SYM_FUNC_START(HYPERVISOR_dm_op) + mov x16, #__HYPERVISOR_dm_op; \ + /* + * dm_op hypercalls are issued by the userspace. The kernel needs to + * enable access to TTBR0_EL1 as the hypervisor would issue stage 1 + * translations to user memory via AT instructions. Since AT + * instructions are not affected by the PAN bit (ARMv8.1), we only + * need the explicit uaccess_enable/disable if the TTBR0 PAN emulation + * is enabled (it implies that hardware UAO and PAN disabled). + */ + uaccess_ttbr0_enable x6, x7, x8 + hvc XEN_IMM + + /* + * Disable userspace access from kernel once the hyp call completed. + */ + uaccess_ttbr0_disable x6, x7 + ret +SYM_FUNC_END(HYPERVISOR_dm_op); SYM_FUNC_START(privcmd_call) mov x16, x0
arch/m68k/mac/config.c +1 -1
@@ -798,7 +798,7 @@ static void __init mac_identify(void) } macintosh_config = mac_data_table; -for (m = macintosh_config; m->ident !=-1 ; m++) { +for (m = &mac_data_table[1 ]; m->ident !=-1 ; m++) {if (m->ident == model) { macintosh_config = m;break ;
arch/mips/Makefile +3 -3
@@ -110,7 +110,7 @@ endif # (specifically newer than 2.24.51.20140728) we then also need to explicitly # set ".set hardfloat" in all files which manipulate floating point registers. # -ifneq ($(call as-option,-Wa$(comma)-msoft-float,),) +ifneq ($(call cc-option,$(cflags-y) -Wa$(comma)-msoft-float,),) cflags-y += -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float endif
@@ -153,7 +153,7 @@ cflags-y += -fno-stack-check # # Avoid this by explicitly disabling that assembler behaviour. # -cflags-y += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,) +cflags-y += $(call cc-option,-Wa$(comma)-mno-fix-loongson3-llsc,) # # CPU-dependent compiler/assembler options for optimization.
@@ -322,7 +322,7 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables KBUILD_LDFLAGS += -m $(ld-emul) ifdef need-compiler -CHECKFLAGS += $(shell $(CC) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \ +CHECKFLAGS += $(shell $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) -dM -E -x c /dev/null | \ grep -E -vw '__GNUC_(MINOR_|PATCHLEVEL_)?_' | \ sed -e "s/^\#define /-D'/" -e "s/ /'='/" -e "s/$$/'/" -e 's/\$$/&&/g') endif
arch/mips/boot/dts/loongson/loongson64c_4core_ls7a.dts +1 -0
@@ -29,6 +29,7 @@ msi: msi-controller@2ff00000 { compatible = "loongson,pch-msi-1.0"; reg = <0 0x2ff00000 0 0x8>; interrupt-controller; + #interrupt-cells = <1>; msi-controller; loongson,msi-base-vec = <64>; loongson,msi-num-vecs = <64>;
arch/mips/loongson2ef/Platform +1 -1
@@ -28,7 +28,7 @@ cflags-$(CONFIG_CPU_LOONGSON2F) += \ # binutils does not merge support for the flag then we can revisit & remove # this later - for now it ensures vendor toolchains don't cause problems. # -cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call as-option,-Wa$(comma)-mno-fix-loongson3-llsc,) +cflags-$(CONFIG_CPU_LOONGSON2EF) += $(call cc-option,-Wa$(comma)-mno-fix-loongson3-llsc,) # Enable the workarounds for Loongson2f ifdef CONFIG_CPU_LOONGSON2F_WORKAROUNDS
arch/mips/vdso/Makefile +1 -0
@@ -29,6 +29,7 @@ endif # offsets. cflags-vdso := $(ccflags-vdso) \ $(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \ + $(filter -std=%,$(KBUILD_CFLAGS)) \ -O3 -g -fPIC -fno-strict-aliasing -fno-common -fno-builtin -G 0 \ -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \ -fno-stack-protector -fno-jump-tables -DDISABLE_BRANCH_PROFILING \
arch/nios2/include/asm/pgtable.h +16 -0
@@ -275,4 +275,20 @@ extern void __init mmu_init(void);extern void update_mmu_cache (struct vm_area_struct *vma,unsigned long address,pte_t *pte); +static inline int pte_same (pte_t pte_a,pte_t pte_b); + +#define __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS +static inline int ptep_set_access_flags (struct vm_area_struct *vma, +unsigned long address,pte_t *ptep, +pte_t entry,int dirty) +{ +if (!pte_same (*ptep, entry)) +set_ptes (vma->vm_mm, address, ptep, entry,1 ); +/* +* update_mmu_cache will unconditionally execute, handling both +* the case that the PTE changed and the spurious fault case. +*/ +return true; +} +#endif /* _ASM_NIOS2_PGTABLE_H */
arch/parisc/boot/compressed/Makefile +1 -0
@@ -22,6 +22,7 @@ KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os ifndef CONFIG_64BIT KBUILD_CFLAGS += -mfast-indirect-calls endif +KBUILD_CFLAGS += -std=gnu11 OBJECTS += $(obj)/head.o $(obj)/real2.o $(obj)/firmware.o $(obj)/misc.o $(obj)/piggy.o
arch/powerpc/kernel/eeh.c +2 -0
@@ -1504,6 +1504,8 @@ int eeh_pe_configure(struct eeh_pe *pe)/* Invalid PE ? */ if (!pe)return -ENODEV ; +else + ret = eeh_ops->configure_bridge (pe);return ret; }
arch/powerpc/platforms/book3s/vas-api.c +9 -0
@@ -367,6 +367,15 @@ static int coproc_mmap(struct file *fp, struct vm_area_struct *vma)return -EINVAL ; } +/* +* Map complete page to the paste address. So the user +* space should pass 0ULL to the offset parameter. +*/ +if (vma->vm_pgoff) { +pr_debug ("Page offset unsupported to map paste address\n" ); +return -EINVAL ; + } +/* Ensure instance has an open send window */ if (!txwin) {pr_err ("%s(): No send window open?\n" , __func__);
arch/powerpc/platforms/powernv/memtrace.c +6 -2
@@ -48,11 +48,15 @@ static ssize_t memtrace_read(struct file *filp, char __user *ubuf,static int memtrace_mmap (struct file *filp,struct vm_area_struct *vma) {struct memtrace_entry *ent = filp->private_data; +unsigned long ent_nrpages = ent->size >>PAGE_SHIFT ; +unsigned long vma_nrpages =vma_pages (vma); -if (ent->size < vma->vm_end - vma->vm_start) +/* The requested page offset should be within object's page count */ +if (vma->vm_pgoff >= ent_nrpages)return -EINVAL ; -if (vma->vm_pgoff <<PAGE_SHIFT >= ent->size) +/* The requested mapping range should remain within the bounds */ +if (vma_nrpages > ent_nrpages - vma->vm_pgoff)return -EINVAL ; vma->vm_page_prot =pgprot_noncached (vma->vm_page_prot);
arch/powerpc/platforms/pseries/msi.c +6 -1
@@ -539,7 +539,12 @@ static struct msi_domain_info pseries_msi_domain_info = {static void pseries_msi_compose_msg (struct irq_data *data,struct msi_msg *msg) { -__pci_read_msi_msg (irq_data_get_msi_desc (data), msg); +struct pci_dev *dev =msi_desc_to_pci_dev (irq_data_get_msi_desc (data)); + +if (dev->current_state ==PCI_D0 ) +__pci_read_msi_msg (irq_data_get_msi_desc (data), msg); +else +get_cached_msi_msg (data->irq, msg); }static struct irq_chip pseries_msi_irq_chip = {
arch/s390/net/bpf_jit_comp.c +5 -7
@@ -543,17 +543,15 @@ static void bpf_jit_prologue(struct bpf_jit *jit, u32 stack_depth) }/* Setup stack and backchain */ if (is_first_pass (jit) || (jit->seen &SEEN_STACK )) { -if (is_first_pass (jit) || (jit->seen &SEEN_FUNC )) -/* lgr %w1,%r15 (backchain) */ -EMIT4 (0xb9040000 ,REG_W1 ,REG_15 ); +/* lgr %w1,%r15 (backchain) */ +EMIT4 (0xb9040000 ,REG_W1 ,REG_15 );/* la %bfp,STK_160_UNUSED(%r15) (BPF frame pointer) */ EMIT4_DISP (0x41000000 ,BPF_REG_FP ,REG_15 ,STK_160_UNUSED );/* aghi %r15,-STK_OFF */ EMIT4_IMM (0xa70b0000 ,REG_15 , -(STK_OFF + stack_depth)); -if (is_first_pass (jit) || (jit->seen &SEEN_FUNC )) -/* stg %w1,152(%r15) (backchain) */ -EMIT6_DISP_LH (0xe3000000 ,0x0024 ,REG_W1 ,REG_0 , -REG_15 ,152 ); +/* stg %w1,152(%r15) (backchain) */ +EMIT6_DISP_LH (0xe3000000 ,0x0024 ,REG_W1 ,REG_0 , +REG_15 ,152 ); } }
arch/s390/pci/pci_mmio.c +1 -1
@@ -222,7 +222,7 @@ static inline int __pcilg_mio_inuser( [ioaddr_len] "+&d" (ioaddr_len.pair), [cc] "+d" (cc), [val] "=d" (val), [dst] "+a" (dst), [cnt] "+d" (cnt), [tmp] "=d" (tmp), - [shift] "+d" (shift) + [shift] "+a" (shift) :: "cc", "memory"); /* did we write everything to the user space buffer? */
arch/x86/boot/compressed/Makefile +1 -1
@@ -50,7 +50,7 @@ KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) KBUILD_CFLAGS += -fno-asynchronous-unwind-tables KBUILD_CFLAGS += -D__DISABLE_EXPORTS # Disable relocation relaxation in case the link is not PIE. -KBUILD_CFLAGS += $(call as-option,-Wa$(comma)-mrelax-relocations=no) +KBUILD_CFLAGS += $(call cc-option,-Wa$(comma)-mrelax-relocations=no) KBUILD_CFLAGS += -include $(srctree)/include/linux/hidden.h # sev.c indirectly inludes inat-table.h which is generated during
arch/x86/kernel/cpu/bugs.c +3 -7
@@ -1382,13 +1382,9 @@ static __ro_after_init enum spectre_v2_mitigation_cmd spectre_v2_cmd;static enum spectre_v2_user_cmd __init spectre_v2_parse_user_cmdline (void ) { -enum spectre_v2_user_cmd mode;char arg[20 ];int ret, i; - mode =IS_ENABLED (CONFIG_MITIGATION_SPECTRE_V2 ) ? -SPECTRE_V2_USER_CMD_AUTO :SPECTRE_V2_USER_CMD_NONE ; -switch (spectre_v2_cmd) {case SPECTRE_V2_CMD_NONE :return SPECTRE_V2_USER_CMD_NONE ;
@@ -1401,7 +1397,7 @@ spectre_v2_parse_user_cmdline(void) ret =cmdline_find_option (boot_command_line,"spectre_v2_user" , arg,sizeof (arg));if (ret <0 ) -return mode; +return SPECTRE_V2_USER_CMD_AUTO ;for (i =0 ; i <ARRAY_SIZE (v2_user_options); i++) {if (match_option (arg, ret, v2_user_options[i].option)) {
@@ -1411,8 +1407,8 @@ spectre_v2_parse_user_cmdline(void) } } -pr_err ("Unknown user space protection option (%s). Switching to default\n" , arg); -return mode; +pr_err ("Unknown user space protection option (%s). Switching to AUTO select\n" , arg); +return SPECTRE_V2_USER_CMD_AUTO ; }static inline bool spectre_v2_in_eibrs_mode (enum spectre_v2_mitigation mode)
arch/x86/kernel/cpu/common.c +9 -8
@@ -937,17 +937,18 @@ void get_cpu_cap(struct cpuinfo_x86 *c) c->x86_capability[CPUID_D_1_EAX ] = eax; } -/* AMD-defined flags: level 0x80000001 */ +/* +* Check if extended CPUID leaves are implemented: Max extended +* CPUID leaf must be in the 0x80000001-0x8000ffff range. +*/ eax =cpuid_eax (0x80000000 ); - c->extended_cpuid_level = eax; + c->extended_cpuid_level = ((eax &0xffff0000 ) ==0x80000000 ) ? eax :0 ; -if ((eax &0xffff0000 ) ==0x80000000 ) { -if (eax >=0x80000001 ) { -cpuid (0x80000001 , &eax, &ebx, &ecx, &edx); +if (c->extended_cpuid_level >=0x80000001 ) { +cpuid (0x80000001 , &eax, &ebx, &ecx, &edx); - c->x86_capability[CPUID_8000_0001_ECX ] = ecx; - c->x86_capability[CPUID_8000_0001_EDX ] = edx; - } + c->x86_capability[CPUID_8000_0001_ECX ] = ecx; + c->x86_capability[CPUID_8000_0001_EDX ] = edx; }if (c->extended_cpuid_level >=0x80000007 ) {
arch/x86/kernel/cpu/mtrr/generic.c +1 -1
@@ -349,7 +349,7 @@ static void get_fixed_ranges(mtrr_type *frs)void mtrr_save_fixed_ranges (void *info) { -if (boot_cpu_has (X86_FEATURE_MTRR )) +if (mtrr_state.have_fixed)get_fixed_ranges (mtrr_state.fixed_ranges); }
arch/x86/kernel/ioport.c +9 -4
@@ -33,8 +33,9 @@ void io_bitmap_share(struct task_struct *tsk)set_tsk_thread_flag (tsk,TIF_IO_BITMAP ); } -static void task_update_io_bitmap (struct task_struct *tsk) +static void task_update_io_bitmap (void ) { +struct task_struct *tsk = current;struct thread_struct *t = &tsk->thread;if (t->iopl_emul ==3 || t->io_bitmap) {
@@ -54,7 +55,12 @@ void io_bitmap_exit(struct task_struct *tsk)struct io_bitmap *iobm = tsk->thread.io_bitmap; tsk->thread.io_bitmap =NULL ; -task_update_io_bitmap (tsk); +/* +* Don't touch the TSS when invoked on a failed fork(). TSS +* reflects the state of @current and not the state of @tsk. +*/ +if (tsk == current) +task_update_io_bitmap ();if (iobm &&refcount_dec_and_test (&iobm->refcnt))kfree (iobm); }
@@ -192,8 +198,7 @@ SYSCALL_DEFINE1(iopl, unsigned int, level) } t->iopl_emul = level; -task_update_io_bitmap (current); - +task_update_io_bitmap ();return 0 ; }
arch/x86/kernel/process.c +6 -0
@@ -137,6 +137,7 @@ int copy_thread(unsigned long clone_flags, unsigned long sp, unsigned long arg, frame->ret_addr = (unsigned long ) ret_from_fork; p->thread.sp = (unsigned long ) fork_frame; p->thread.io_bitmap =NULL ; +clear_tsk_thread_flag (p,TIF_IO_BITMAP ); p->thread.iopl_warn =0 ;memset (p->thread.ptrace_bps,0 ,sizeof (p->thread.ptrace_bps));
@@ -412,6 +413,11 @@ void native_tss_update_io_bitmap(void) }else {struct io_bitmap *iobm = t->io_bitmap; +if (WARN_ON_ONCE (!iobm)) { +clear_thread_flag (TIF_IO_BITMAP ); +native_tss_invalidate_io_bitmap (); + } +/* * Only copy bitmap data when the sequence number differs. The * update time is accounted to the incoming task.
block/Kconfig +3 -5
@@ -28,15 +28,13 @@ if BLOCK config BLOCK_LEGACY_AUTOLOAD bool "Legacy autoloading support" + default y help Enable loading modules and creating block device instances based on accesses through their device special file. This is a historic Linux feature and makes no sense in a udev world where device files are - created on demand. - - Say N here unless booting or other functionality broke without it, in - which case you should also send a report to your distribution and - [email protected]. + created on demand, but scripts that manually create device nodes and + then call losetup might rely on this behavior. config BLK_RQ_ALLOC_TIME bool
block/bdev.c +1 -1
@@ -741,7 +741,7 @@ struct block_device *blkdev_get_no_open(dev_t dev) inode =ilookup (blockdev_superblock, dev);if (inode)pr_warn_ratelimited ( -"block device autoloading is deprecated. It will be removed in Linux 5.19\n" ); +"block device autoloading is deprecated and will be removed.\n" ); }if (!inode)return NULL ;
crypto/lrw.c +2 -2
@@ -322,7 +322,7 @@ static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb) err =crypto_grab_skcipher (spawn,skcipher_crypto_instance (inst), cipher_name,0 , mask); -if (err == -ENOENT ) { +if (err == -ENOENT &&memcmp (cipher_name,"ecb(" ,4 )) { err = -ENAMETOOLONG ;if (snprintf (ecb_name,CRYPTO_MAX_ALG_NAME ,"ecb(%s)" , cipher_name) >=CRYPTO_MAX_ALG_NAME )
@@ -356,7 +356,7 @@ static int lrw_create(struct crypto_template *tmpl, struct rtattr **tb)/* Alas we screwed up the naming so we have to mangle the * cipher name. */ -if (!strncmp (cipher_name,"ecb(" ,4 )) { +if (!memcmp (cipher_name,"ecb(" ,4 )) {int len; len =strscpy (ecb_name, cipher_name +4 ,sizeof (ecb_name));
crypto/xts.c +2 -2
@@ -361,7 +361,7 @@ static int xts_create(struct crypto_template *tmpl, struct rtattr **tb) err =crypto_grab_skcipher (&ctx->spawn,skcipher_crypto_instance (inst), cipher_name,0 , mask); -if (err == -ENOENT ) { +if (err == -ENOENT &&memcmp (cipher_name,"ecb(" ,4 )) { err = -ENAMETOOLONG ;if (snprintf (ctx->name,CRYPTO_MAX_ALG_NAME ,"ecb(%s)" , cipher_name) >=CRYPTO_MAX_ALG_NAME )
@@ -395,7 +395,7 @@ static int xts_create(struct crypto_template *tmpl, struct rtattr **tb)/* Alas we screwed up the naming so we have to mangle the * cipher name. */ -if (!strncmp (cipher_name,"ecb(" ,4 )) { +if (!memcmp (cipher_name,"ecb(" ,4 )) {int len; len =strscpy (ctx->name, cipher_name +4 ,sizeof (ctx->name));
drivers/acpi/acpica/dsutils.c +8 -1
@@ -668,6 +668,8 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,union acpi_parse_object *arguments[ACPI_OBJ_NUM_OPERANDS ];u32 arg_count =0 ;u32 index = walk_state->num_operands; +u32 prev_num_operands = walk_state->num_operands; +u32 new_num_operands;u32 i;ACPI_FUNCTION_TRACE_PTR (ds_create_operands, first_arg);
@@ -696,6 +698,7 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,/* Create the interpreter arguments, in reverse order */ + new_num_operands = index; index--;for (i =0 ; i < arg_count; i++) { arg = arguments[index];
@@ -720,7 +723,11 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,* pop everything off of the operand stack and delete those * objects */ -acpi_ds_obj_stack_pop_and_delete (arg_count, walk_state); + walk_state->num_operands = i; +acpi_ds_obj_stack_pop_and_delete (new_num_operands, walk_state); + +/* Restore operand count */ + walk_state->num_operands = prev_num_operands;ACPI_EXCEPTION ((AE_INFO , status,"While creating Arg %u" , index));return_ACPI_STATUS (status);
drivers/acpi/acpica/psobject.c +15 -37
83 lines not on this page · raw message
drivers/acpi/acpica/utprint.c +2 -5
@@ -333,11 +333,8 @@ int vsnprintf(char *string, acpi_size size, const char *format, va_list args) pos = string; -if (size !=ACPI_UINT32_MAX ) { - end = string + size; - }else { - end =ACPI_CAST_PTR (char,ACPI_UINT32_MAX ); - } + size =ACPI_MIN (size,ACPI_PTR_DIFF (ACPI_MAX_PTR , string)); + end = string + size;for (; *format; ++format) {if (*format !='%' ) {
drivers/acpi/apei/Kconfig +1 -0
@@ -23,6 +23,7 @@ config ACPI_APEI_GHES select ACPI_HED select IRQ_WORK select GENERIC_ALLOCATOR + select ARM_SDE_INTERFACE if ARM64 help Generic Hardware Error Source provides a way to report platform hardware errors (such as that from chipset). It
drivers/acpi/apei/ghes.c +1 -1
@@ -1478,7 +1478,7 @@ void __init ghes_init(void) {int rc; -sdei_init (); +acpi_sdei_init ();if (acpi_disabled)return ;
drivers/acpi/battery.c +16 -3
@@ -250,10 +250,23 @@ static int acpi_battery_get_property(struct power_supply *psy,break ;case POWER_SUPPLY_PROP_CURRENT_NOW :case POWER_SUPPLY_PROP_POWER_NOW : -if (battery->rate_now ==ACPI_BATTERY_VALUE_UNKNOWN ) +if (battery->rate_now ==ACPI_BATTERY_VALUE_UNKNOWN ) { ret = -ENODEV ; -else - val->intval = battery->rate_now *1000 ; +break ; + } + + val->intval = battery->rate_now *1000 ; +/* +* When discharging, the current should be reported as a +* negative number as per the power supply class interface +* definition. +*/ +if (psp ==POWER_SUPPLY_PROP_CURRENT_NOW && + (battery->state &ACPI_BATTERY_STATE_DISCHARGING ) && +acpi_battery_handle_discharging (battery) + ==POWER_SUPPLY_STATUS_DISCHARGING ) + val->intval = -val->intval; +break ;case POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN :case POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN :
drivers/acpi/bus.c +4 -2
@@ -1335,8 +1335,10 @@ static int __init acpi_init(void) } acpi_kobj =kobject_create_and_add ("acpi" , firmware_kobj); -if (!acpi_kobj) -pr_debug ("%s: kset create error\n" , __func__); +if (!acpi_kobj) { +pr_err ("Failed to register kobject\n" ); +return -ENOMEM ; + }init_prmt (); result =acpi_bus_init ();
drivers/acpi/osi.c +0 -1
@@ -42,7 +42,6 @@ static struct acpi_osi_entry osi_setup_entries[OSI_STRING_ENTRIES_MAX] __initdata = { {"Module Device", true}, {"Processor Device", true}, - {"3.0 _SCP Extensions", true}, {"Processor Aggregator Device", true},/* * Linux-Dell-Video is used by BIOS to disable RTD3 for NVidia graphics
drivers/ata/pata_via.c +2 -1
@@ -368,7 +368,8 @@ static unsigned long via_mode_filter(struct ata_device *dev, unsigned long mask) }if (dev->class ==ATA_DEV_ATAPI && -dmi_check_system (no_atapi_dma_dmi_table)) { + (dmi_check_system (no_atapi_dma_dmi_table) || + config->id ==PCI_DEVICE_ID_VIA_6415 )) {ata_dev_warn (dev,"controller locks up on ATAPI DMA, forcing PIO\n" ); mask &=ATA_MASK_PIO ; }
drivers/atm/atmtcp.c +3 -1
@@ -288,7 +288,9 @@ static int atmtcp_c_send(struct atm_vcc *vcc,struct sk_buff *skb)struct sk_buff *new_skb;int result =0 ; -if (!skb->len)return 0 ; +if (skb->len <sizeof (struct atmtcp_hdr )) + goto done; + dev = vcc->dev_data; hdr = (struct atmtcp_hdr *) skb->data;if (hdr->length ==ATMTCP_HDR_MAGIC ) {
drivers/base/power/domain.c +1 -1
@@ -2773,7 +2773,7 @@ struct device *genpd_dev_pm_attach_by_id(struct device *dev,/* Verify that the index is within a valid range. */ num_domains =of_count_phandle_with_args (dev->of_node,"power-domains" ,"#power-domain-cells" ); -if (index >= num_domains) +if (num_domains <0 || index >= num_domains)return NULL ;/* Allocate and register device on the genpd bus. */
drivers/base/power/main.c +2 -1
@@ -900,6 +900,8 @@ static void __device_resume(struct device *dev, pm_message_t state, bool async)if (!dev->power.is_suspended) goto Complete; + dev->power.is_suspended = false; +if (dev->power.direct_complete) {/* Match the pm_runtime_disable() in __device_suspend(). */ pm_runtime_enable (dev);
@@ -955,7 +957,6 @@ static void __device_resume(struct device *dev, pm_message_t state, bool async) End: error =dpm_run_callback (callback, dev, state, info); - dev->power.is_suspended = false;device_unlock (dev);dpm_watchdog_clear (&wd);
drivers/base/power/runtime.c +1 -1
@@ -996,7 +996,7 @@ static enum hrtimer_restart pm_suspend_timer_fn(struct hrtimer *timer)* If 'expires' is after the current time, we've been called * too early. */ -if (expires >0 && expires <ktime_get_mono_fast_ns ()) { +if (expires >0 && expires <=ktime_get_mono_fast_ns ()) { dev->power.timer_expires =0 ;rpm_suspend (dev, dev->power.timer_autosuspends ? (RPM_ASYNC |RPM_AUTO ) :RPM_ASYNC );
drivers/base/swnode.c +1 -1
@@ -524,7 +524,7 @@ software_node_get_reference_args(const struct fwnode_handle *fwnode,if (prop->is_inline)return -EINVAL ; -if (index *sizeof (*ref) >= prop->length) +if ((index +1 ) *sizeof (*ref) > prop->length)return -ENOENT ; ref_array = prop->pointer;
drivers/block/aoe/aoedev.c +8 -0
@@ -198,6 +198,7 @@ aoedev_downdev(struct aoedev *d) {struct aoetgt *t, **tt, **te;struct list_head *head, *pos, *nx; +struct request *rq, *rqnext;int i; d->flags &= ~DEVFL_UP ;
@@ -223,6 +224,13 @@ aoedev_downdev(struct aoedev *d)/* clean out the in-process request (if any) */ aoe_failip (d); +/* clean out any queued block requests */ +list_for_each_entry_safe (rq, rqnext, &d->rq_list, queuelist) { +list_del_init (&rq->queuelist); +blk_mq_start_request (rq); +blk_mq_end_request (rq,BLK_STS_IOERR ); + } +/* fast fail all pending I/O */ if (d->blkq) {/* UP is cleared, freeze+quiesce to insure all are errored */
drivers/bus/fsl-mc/fsl-mc-bus.c +4 -2
@@ -907,8 +907,10 @@ int fsl_mc_device_add(struct fsl_mc_obj_desc *obj_desc, error_cleanup_dev:kfree (mc_dev->regions); -kfree (mc_bus); -kfree (mc_dev); +if (mc_bus) +kfree (mc_bus); +else +kfree (mc_dev);return error; }
drivers/bus/fsl-mc/fsl-mc-uapi.c +2 -2
@@ -275,13 +275,13 @@ static struct fsl_mc_cmd_desc fsl_mc_accepted_cmds[] = { .size = 8, }, [DPSW_GET_TAILDROP] = { - .cmdid_value = 0x0A80, + .cmdid_value = 0x0A90, .cmdid_mask = 0xFFF0, .token = true, .size = 14, }, [DPSW_SET_TAILDROP] = { - .cmdid_value = 0x0A90, + .cmdid_value = 0x0A80, .cmdid_mask = 0xFFF0, .token = true, .size = 24,
drivers/bus/fsl-mc/mc-io.c +13 -6
@@ -214,12 +214,19 @@ int __must_check fsl_mc_portal_allocate(struct fsl_mc_device *mc_dev,if (error <0 ) goto error_cleanup_resource; - dpmcp_dev->consumer_link =device_link_add (&mc_dev->dev, - &dpmcp_dev->dev, -DL_FLAG_AUTOREMOVE_CONSUMER ); -if (!dpmcp_dev->consumer_link) { - error = -EINVAL ; - goto error_cleanup_mc_io; +/* If the DPRC device itself tries to allocate a portal (usually for +* UAPI interaction), don't add a device link between them since the +* DPMCP device is an actual child device of the DPRC and a reverse +* dependency is not allowed. +*/ +if (mc_dev != mc_bus_dev) { + dpmcp_dev->consumer_link =device_link_add (&mc_dev->dev, + &dpmcp_dev->dev, +DL_FLAG_AUTOREMOVE_CONSUMER ); +if (!dpmcp_dev->consumer_link) { + error = -EINVAL ; + goto error_cleanup_mc_io; + } } *new_mc_io = mc_io;
drivers/bus/fsl-mc/mc-sys.c +1 -1
@@ -19,7 +19,7 @@/* * Timeout in milliseconds to wait for the completion of an MC command */ -#define MC_CMD_COMPLETION_TIMEOUT_MS 500 +#define MC_CMD_COMPLETION_TIMEOUT_MS 15000/* * usleep_range() min and max values used to throttle down polling
drivers/bus/mhi/host/pm.c +17 -1
@@ -566,6 +566,7 @@ static void mhi_pm_sys_error_transition(struct mhi_controller *mhi_cntrl)struct mhi_cmd *mhi_cmd;struct mhi_event_ctxt *er_ctxt;struct device *dev = &mhi_cntrl->mhi_dev->dev; +bool reset_device = false;int ret, i; dev_dbg(dev, "Transitioning from PM state: %s to: %s\n",
@@ -594,8 +595,23 @@ static void mhi_pm_sys_error_transition(struct mhi_controller *mhi_cntrl)/* Wake up threads waiting for state transition */ wake_up_all (&mhi_cntrl->state_event); -/* Trigger MHI RESET so that the device will not access host memory */ if (MHI_REG_ACCESS_VALID (prev_state)) { +/* +* If the device is in PBL or SBL, it will only respond to +* RESET if the device is in SYSERR state. SYSERR might +* already be cleared at this point. +*/ +enum mhi_state cur_state =mhi_get_mhi_state (mhi_cntrl); +enum mhi_ee_type cur_ee =mhi_get_exec_env (mhi_cntrl); + +if (cur_state ==MHI_STATE_SYS_ERR ) + reset_device = true; +else if (cur_ee !=MHI_EE_PBL && cur_ee !=MHI_EE_SBL ) + reset_device = true; + } + +/* Trigger MHI RESET so that the device will not access host memory */ +if (reset_device) {u32 in_reset =-1 ;unsigned long timeout =msecs_to_jiffies (mhi_cntrl->timeout_ms);
drivers/bus/ti-sysc.c +0 -49
61 lines not on this page · raw message
drivers/clk/bcm/clk-raspberrypi.c +2 -0
@@ -199,6 +199,8 @@ static struct clk_hw *raspberrypi_clk_register(struct raspberrypi_clk *rpi, init.name =devm_kasprintf (rpi->dev,GFP_KERNEL ,"fw-clk-%s" , rpi_firmware_clk_names[id]); +if (!init.name) +return ERR_PTR (-ENOMEM ); init.ops = &raspberrypi_firmware_clk_ops; init.flags =CLK_GET_RATE_NOCACHE ;
drivers/clk/meson/g12a.c +1 -0
@@ -3969,6 +3969,7 @@ static const struct clk_parent_data spicc_sclk_parent_data[] = { { .hw = &g12a_clk81.hw }, { .hw = &g12a_fclk_div4.hw }, { .hw = &g12a_fclk_div3.hw }, + { .hw = &g12a_fclk_div2.hw }, { .hw = &g12a_fclk_div5.hw }, { .hw = &g12a_fclk_div7.hw }, };
drivers/clk/qcom/gcc-msm8939.c +2 -2
@@ -433,7 +433,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_gpll6_sleep_map[] = { { P_XO, 0 }, { P_GPLL0, 1 }, { P_GPLL1_AUX, 2 }, - { P_GPLL6, 2 }, + { P_GPLL6, 3 }, { P_SLEEP_CLK, 6 }, };
@@ -1087,7 +1087,7 @@ static struct clk_rcg2 jpeg0_clk_src = { };static const struct freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = { -F (24000000 ,P_GPLL0 ,1 ,1 ,45 ), +F (24000000 ,P_GPLL6 ,1 ,1 ,45 ),F (66670000 ,P_GPLL0 ,12 ,0 ,0 ), { } };
drivers/clk/qcom/gcc-sm6350.c +6 -0
@@ -2319,6 +2319,9 @@ static struct clk_branch gcc_video_xo_clk = {static struct gdsc usb30_prim_gdsc = { .gdscr =0x1a004 , + .en_rest_wait_val =0x2 , + .en_few_wait_val =0x2 , + .clk_dis_wait_val =0xf , .pd = { .name ="usb30_prim_gdsc" , },
@@ -2327,6 +2330,9 @@ static struct gdsc usb30_prim_gdsc = {static struct gdsc ufs_phy_gdsc = { .gdscr =0x3a004 , + .en_rest_wait_val =0x2 , + .en_few_wait_val =0x2 , + .clk_dis_wait_val =0xf , .pd = { .name ="ufs_phy_gdsc" , },
drivers/clk/rockchip/clk-rk3036.c +1 -0
@@ -431,6 +431,7 @@ static const char *const rk3036_critical_clocks[] __initconst = {"hclk_peri" ,"pclk_peri" ,"pclk_ddrupctl" , + "ddrphy", };static void __init rk3036_clk_init (struct device_node *np)
drivers/cpufreq/acpi-cpufreq.c +1 -1
@@ -661,7 +661,7 @@ static u64 get_max_boost_ratio(unsigned int cpu, u64 *nominal_freq) nominal_perf = perf_caps.nominal_perf;if (nominal_freq) - *nominal_freq = perf_caps.nominal_freq; + *nominal_freq = perf_caps.nominal_freq *1000 ;if (!highest_perf || !nominal_perf) {pr_debug ("CPU%d: highest or nominal performance missing\n" , cpu);
drivers/cpufreq/cpufreq.c +4 -2
@@ -2698,8 +2698,10 @@ int cpufreq_boost_trigger_state(int state)unsigned long flags;int ret =0 ; -if (cpufreq_driver->boost_enabled == state) -return 0 ; +/* +* Don't compare 'cpufreq_driver->boost_enabled' with 'state' here to +* make sure all policies are in sync with global boost flag. +*/ write_lock_irqsave (&cpufreq_driver_lock, flags); cpufreq_driver->boost_enabled = state;
drivers/cpufreq/scmi-cpufreq.c +35 -1
@@ -288,6 +288,40 @@ static struct cpufreq_driver scmi_cpufreq_driver = { .register_em = scmi_cpufreq_register_em, }; +static bool scmi_dev_used_by_cpus (struct device *scmi_dev) +{ +struct device_node *scmi_np =dev_of_node (scmi_dev); +struct device_node *cpu_np, *np; +struct device *cpu_dev; +int cpu, idx; + +if (!scmi_np) +return false; + +for_each_possible_cpu (cpu) { + cpu_dev =get_cpu_device (cpu); +if (!cpu_dev) +continue ; + + cpu_np =dev_of_node (cpu_dev); + + np =of_parse_phandle (cpu_np,"clocks" ,0 ); +of_node_put (np); + +if (np == scmi_np) +return true; + + idx =of_property_match_string (cpu_np,"power-domain-names" ,"perf" ); + np =of_parse_phandle (cpu_np,"power-domains" , idx); +of_node_put (np); + +if (np == scmi_np) +return true; + } + +return false; +} +static int scmi_cpufreq_probe (struct scmi_device *sdev) {int ret;
@@ -296,7 +330,7 @@ static int scmi_cpufreq_probe(struct scmi_device *sdev) handle = sdev->handle; -if (!handle) +if (!handle || !scmi_dev_used_by_cpus (dev))return -ENODEV ; perf_ops = handle->devm_protocol_get (sdev,SCMI_PROTOCOL_PERF , &ph);
drivers/cpufreq/tegra186-cpufreq.c +0 -7
@@ -73,18 +73,11 @@ static int tegra186_cpufreq_init(struct cpufreq_policy *policy) {struct tegra186_cpufreq_data *data =cpufreq_get_driver_data ();unsigned int cluster = data->cpus[policy->cpu].bpmp_cluster_id; -u32 cpu; policy->freq_table = data->clusters[cluster].table; policy->cpuinfo.transition_latency =300 *1000 ; policy->driver_data =NULL ; -/* set same policy for all cpus in a cluster */ -for (cpu =0 ; cpu <ARRAY_SIZE (tegra186_cpus); cpu++) { -if (data->cpus[cpu].bpmp_cluster_id == cluster) -cpumask_set_cpu (cpu, policy->cpus); - } -return 0 ; }
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h +1 -1
@@ -296,8 +296,8 @@ struct sun8i_ce_hash_tfm_ctx {* @flow: the flow to use for this request */ struct sun8i_ce_hash_reqctx { -struct ahash_request fallback_req;int flow; +struct ahash_request fallback_req;// keep at the end };/*
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c +1 -1
@@ -117,7 +117,7 @@ static int sun8i_ss_setup_ivs(struct skcipher_request *areq)/* we need to copy all IVs from source in case DMA is bi-directionnal */ while (sg && len) { -if (sg_dma_len (sg) ==0 ) { +if (sg->length ==0 ) { sg =sg_next (sg);continue ; }
drivers/crypto/marvell/cesa/cesa.c +1 -1
@@ -94,7 +94,7 @@ static int mv_cesa_std_process(struct mv_cesa_engine *engine, u32 status)static int mv_cesa_int_process (struct mv_cesa_engine *engine,u32 status) { -if (engine->chain.first && engine->chain.last) +if (engine->chain_hw.first && engine->chain_hw.last)return mv_cesa_tdma_process (engine, status);return mv_cesa_std_process (engine, status);
drivers/crypto/marvell/cesa/cesa.h +6 -3
@@ -440,8 +440,10 @@ struct mv_cesa_dev {* SRAM * @queue: fifo of the pending crypto requests * @load: engine load counter, useful for load balancing -* @chain: list of the current tdma descriptors being processed -* by this engine. +* @chain_hw: list of the current tdma descriptors being processed +* by the hardware. +* @chain_sw: list of the current tdma descriptors that will be +* submitted to the hardware. * @complete_queue: fifo of the processed requests by the engine * * Structure storing CESA engine information.
@@ -463,7 +465,8 @@ struct mv_cesa_engine {struct gen_pool *pool;struct crypto_queue queue;atomic_t load; -struct mv_cesa_tdma_chain chain; +struct mv_cesa_tdma_chain chain_hw; +struct mv_cesa_tdma_chain chain_sw;struct list_head complete_queue;int irq; };
drivers/crypto/marvell/cesa/cipher.c +3 -0
@@ -459,6 +459,9 @@ static int mv_cesa_skcipher_queue_req(struct skcipher_request *req,struct mv_cesa_skcipher_req *creq =skcipher_request_ctx (req);struct mv_cesa_engine *engine; +if (!req->cryptlen) +return 0 ; + ret =mv_cesa_skcipher_req_init (req, tmpl);if (ret)return ret;
drivers/crypto/marvell/cesa/hash.c +1 -1
@@ -663,7 +663,7 @@ static int mv_cesa_ahash_dma_req_init(struct ahash_request *req)if (ret) goto err_free_tdma; -if (iter.src.sg) { +if (iter.base.len > iter.src.op_offset) {/* * Add all the new data, inserting an operation block and * launch command between each full SRAM block-worth of
drivers/crypto/marvell/cesa/tdma.c +32 -21
82 lines not on this page · raw message
drivers/dma-buf/udmabuf.c +2 -3
@@ -133,8 +133,7 @@ static int begin_cpu_udmabuf(struct dma_buf *buf, ubuf->sg =NULL ; } }else { -dma_sync_sg_for_cpu (dev, ubuf->sg->sgl, ubuf->sg->nents, - direction); +dma_sync_sgtable_for_cpu (dev, ubuf->sg, direction); }return ret;
@@ -149,7 +148,7 @@ static int end_cpu_udmabuf(struct dma_buf *buf,if (!ubuf->sg)return -EINVAL ; -dma_sync_sg_for_device (dev, ubuf->sg->sgl, ubuf->sg->nents, direction); +dma_sync_sgtable_for_device (dev, ubuf->sg, direction);return 0 ; }
drivers/dma/ti/k3-udma.c +2 -1
@@ -5425,7 +5425,8 @@ static int udma_probe(struct platform_device *pdev) uc->config.dir =DMA_MEM_TO_MEM ; uc->name =devm_kasprintf (dev,GFP_KERNEL ,"%s chan%d" ,dev_name (dev), i); - +if (!uc->name) +return -ENOMEM ;vchan_init (&uc->vc, &ud->ddev);/* Use custom vchan completion handling */ tasklet_setup (&uc->vc.task, udma_vchan_complete);
drivers/edac/altera_edac.c +3 -3
@@ -1718,9 +1718,9 @@ altr_edac_a10_device_trig(struct file *file, const char __user *user_buf,local_irq_save (flags);if (trig_type ==ALTR_UE_TRIGGER_CHAR ) -writel (priv->ue_set_mask, set_addr); +writew (priv->ue_set_mask, set_addr);else -writel (priv->ce_set_mask, set_addr); +writew (priv->ce_set_mask, set_addr);/* Ensure the interrupt test bits are set */ wmb ();
@@ -1750,7 +1750,7 @@ altr_edac_a10_device_trig2(struct file *file, const char __user *user_buf,local_irq_save (flags);if (trig_type ==ALTR_UE_TRIGGER_CHAR ) { -writel (priv->ue_set_mask, set_addr); +writew (priv->ue_set_mask, set_addr); }else {/* Setup read/write of 4 bytes */ writel (ECC_WORD_WRITE , drvdata->base +ECC_BLK_DBYTECTRL_OFST );
drivers/edac/skx_common.c +1 -0
@@ -112,6 +112,7 @@ EXPORT_SYMBOL_GPL(skx_adxl_get);void skx_adxl_put (void ) { + adxl_component_count =0 ;kfree (adxl_values);kfree (adxl_msg); }
drivers/firmware/Kconfig +0 -1
@@ -40,7 +40,6 @@ config ARM_SCPI_POWER_DOMAIN config ARM_SDE_INTERFACE bool "ARM Software Delegated Exception Interface (SDEI)" depends on ARM64 - depends on ACPI_APEI_GHES help The Software Delegated Exception Interface (SDEI) is an ARM standard for registering callbacks from the platform firmware
drivers/firmware/arm_sdei.c +8 -3
@@ -1062,13 +1062,12 @@ static bool __init sdei_present_acpi(void)return true; } -void __init sdei_init (void ) +void __init acpi_sdei_init (void ) {struct platform_device *pdev;int ret; - ret =platform_driver_register (&sdei_driver); -if (ret || !sdei_present_acpi ()) +if (!sdei_present_acpi ())return ; pdev = platform_device_register_simple(sdei_driver.driver.name,
@@ -1081,6 +1080,12 @@ void __init sdei_init(void) } } +static int __init sdei_init (void ) +{ +return platform_driver_register (&sdei_driver); +} +arch_initcall (sdei_init); +int sdei_event_handler (struct pt_regs *regs,struct sdei_registered_event *arg) {
drivers/firmware/psci/psci.c +3 -1
@@ -619,8 +619,10 @@ int __init psci_dt_init(void) np =of_find_matching_node_and_match (NULL , psci_of_match, &matched_np); -if (!np || !of_device_is_available (np)) +if (!np || !of_device_is_available (np)) { +of_node_put (np);return -ENODEV ; + } init_fn = (psci_initcall_t )matched_np->data; ret =init_fn (np);
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +0 -2
@@ -4438,8 +4438,6 @@ static void gfx_v10_0_get_csb_buffer(struct amdgpu_device *adev, PACKET3_SET_CONTEXT_REG_START);for (i =0 ; i < ext->reg_count; i++) buffer[count++] =cpu_to_le32 (ext->extent[i]); - }else { -return ; } } }
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +0 -2
@@ -2897,8 +2897,6 @@ static void gfx_v6_0_get_csb_buffer(struct amdgpu_device *adev, buffer[count++] =cpu_to_le32 (ext->reg_index -0xa000 );for (i =0 ; i < ext->reg_count; i++) buffer[count++] =cpu_to_le32 (ext->extent[i]); - }else { -return ; } } }
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c +0 -2
@@ -4005,8 +4005,6 @@ static void gfx_v7_0_get_csb_buffer(struct amdgpu_device *adev, buffer[count++] =cpu_to_le32 (ext->reg_index -PACKET3_SET_CONTEXT_REG_START );for (i =0 ; i < ext->reg_count; i++) buffer[count++] =cpu_to_le32 (ext->extent[i]); - }else { -return ; } } }
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +0 -2
@@ -1277,8 +1277,6 @@ static void gfx_v8_0_get_csb_buffer(struct amdgpu_device *adev, PACKET3_SET_CONTEXT_REG_START);for (i =0 ; i < ext->reg_count; i++) buffer[count++] =cpu_to_le32 (ext->extent[i]); - }else { -return ; } } }
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0 -2
@@ -1782,8 +1782,6 @@ static void gfx_v9_0_get_csb_buffer(struct amdgpu_device *adev, PACKET3_SET_CONTEXT_REG_START);for (i =0 ; i < ext->reg_count; i++) buffer[count++] =cpu_to_le32 (ext->extent[i]); - }else { -return ; } } }
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +4 -0
@@ -403,6 +403,10 @@ static void update_mqd_sdma(struct mqd_manager *mm, void *mqd, m->sdma_engine_id = q->sdma_engine_id; m->sdma_queue_id = q->sdma_queue_id; m->sdmax_rlcx_dummy_reg =SDMA_RLC_DUMMY_DEFAULT ; +/* Allow context switch so we don't cross-process starve with a massive +* command buffer of long-running SDMA commands +*/ + m->sdmax_rlcx_ib_cntl |=SDMA0_GFX_IB_CNTL__SWITCH_INSIDE_IB_MASK ; q->is_active =QUEUE_IS_ACTIVE (*q); }
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +12 -6
@@ -10044,16 +10044,20 @@ static int dm_force_atomic_commit(struct drm_connector *connector)*/ conn_state =drm_atomic_get_connector_state (state, connector); - ret =PTR_ERR_OR_ZERO (conn_state); -if (ret) +/* Check for error in getting connector state */ +if (IS_ERR (conn_state)) { + ret =PTR_ERR (conn_state); goto out; + }/* Attach crtc to drm_atomic_state*/ crtc_state =drm_atomic_get_crtc_state (state, &disconnected_acrtc->base); - ret =PTR_ERR_OR_ZERO (crtc_state); -if (ret) +/* Check for error in getting crtc state */ +if (IS_ERR (crtc_state)) { + ret =PTR_ERR (crtc_state); goto out; + }/* force a restore */ crtc_state->mode_changed = true;
@@ -10061,9 +10065,11 @@ static int dm_force_atomic_commit(struct drm_connector *connector)/* Attach plane to drm_atomic_state */ plane_state =drm_atomic_get_plane_state (state, plane); - ret =PTR_ERR_OR_ZERO (plane_state); -if (ret) +/* Check for error in getting plane state */ +if (IS_ERR (plane_state)) { + ret =PTR_ERR (plane_state); goto out; + }/* Call commit internally with the state we just constructed */ ret =drm_atomic_commit (state);
drivers/gpu/drm/amd/display/dc/dcn20/Makefile +1 -1
@@ -10,7 +10,7 @@ DCN20 = dcn20_resource.o dcn20_init.o dcn20_hwseq.o dcn20_dpp.o dcn20_dpp_cm.o d DCN20 += dcn20_dsc.o ifdef CONFIG_X86 -CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o := -mhard-float -msse +CFLAGS_$(AMDDALPATH)/dc/dcn20/dcn20_resource.o := $(if $(CONFIG_CC_IS_GCC), -mhard-float) -msse endif ifdef CONFIG_PPC64
drivers/gpu/drm/amd/display/dc/dcn21/Makefile +1 -1
@@ -6,7 +6,7 @@ DCN21 = dcn21_init.o dcn21_hubp.o dcn21_hubbub.o dcn21_resource.o \ dcn21_hwseq.o dcn21_link_encoder.o dcn21_dccg.o ifdef CONFIG_X86 -CFLAGS_$(AMDDALPATH)/dc/dcn21/dcn21_resource.o := -mhard-float -msse +CFLAGS_$(AMDDALPATH)/dc/dcn21/dcn21_resource.o := $(if $(CONFIG_CC_IS_GCC), -mhard-float) -msse endif ifdef CONFIG_PPC64
drivers/gpu/drm/amd/display/dc/dml/Makefile +2 -1
@@ -26,7 +26,8 @@ # subcomponents. ifdef CONFIG_X86 -dml_ccflags := -mhard-float -msse +dml_ccflags-$(CONFIG_CC_IS_GCC) := -mhard-float +dml_ccflags := $(dml_ccflags-y) -msse endif ifdef CONFIG_PPC64
drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.c +8 -0
@@ -144,6 +144,10 @@ int atomctrl_initialize_mc_reg_table( vram_info = (ATOM_VRAM_INFO_HEADER_V2_1 *)smu_atom_get_data_table (hwmgr->adev,GetIndexIntoMasterTable (DATA , VRAM_Info), &size, &frev, &crev); +if (!vram_info) { +pr_err ("Could not retrieve the VramInfo table!" ); +return -EINVAL ; + }if (module_index >= vram_info->ucNumOfVRAMModule) {pr_err ("Invalid VramInfo table." );
@@ -181,6 +185,10 @@ int atomctrl_initialize_mc_reg_table_v2_2( vram_info = (ATOM_VRAM_INFO_HEADER_V2_2 *)smu_atom_get_data_table (hwmgr->adev,GetIndexIntoMasterTable (DATA , VRAM_Info), &size, &frev, &crev); +if (!vram_info) { +pr_err ("Could not retrieve the VramInfo table!" ); +return -EINVAL ; + }if (module_index >= vram_info->ucNumOfVRAMModule) {pr_err ("Invalid VramInfo table." );
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +2 -3
@@ -1771,10 +1771,10 @@ analogix_dp_probe(struct device *dev, struct analogix_dp_plat_data *plat_data)* that we can get the current state of the GPIO. */ dp->irq =gpiod_to_irq (dp->hpd_gpiod); - irq_flags =IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ; + irq_flags =IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING |IRQF_NO_AUTOEN ; }else { dp->irq =platform_get_irq (pdev,0 ); - irq_flags =0 ; + irq_flags =IRQF_NO_AUTOEN ; }if (dp->irq == -ENXIO ) {
@@ -1791,7 +1791,6 @@ analogix_dp_probe(struct device *dev, struct analogix_dp_plat_data *plat_data)dev_err (&pdev->dev,"failed to request irq\n" ); goto err_disable_clk; } -disable_irq (dp->irq);return dp;
drivers/gpu/drm/bridge/analogix/anx7625.c +4 -4
@@ -920,10 +920,10 @@ static void anx7625_power_on(struct anx7625_data *ctx)usleep_range (11000 ,12000 );/* Power on pin enable */ -gpiod_set_value (ctx->pdata.gpio_p_on,1 ); +gpiod_set_value_cansleep (ctx->pdata.gpio_p_on,1 );usleep_range (10000 ,11000 );/* Power reset pin enable */ -gpiod_set_value (ctx->pdata.gpio_reset,1 ); +gpiod_set_value_cansleep (ctx->pdata.gpio_reset,1 );usleep_range (10000 ,11000 );DRM_DEV_DEBUG_DRIVER (dev,"power on !\n" );
@@ -943,9 +943,9 @@ static void anx7625_power_standby(struct anx7625_data *ctx)return ; } -gpiod_set_value (ctx->pdata.gpio_reset,0 ); +gpiod_set_value_cansleep (ctx->pdata.gpio_reset,0 );usleep_range (1000 ,1100 ); -gpiod_set_value (ctx->pdata.gpio_p_on,0 ); +gpiod_set_value_cansleep (ctx->pdata.gpio_p_on,0 );usleep_range (1000 ,1100 ); ret = regulator_bulk_disable(ARRAY_SIZE(ctx->pdata.supplies),
drivers/gpu/drm/meson/meson_drv.c +1 -1
@@ -166,7 +166,7 @@ static const struct meson_drm_soc_attr meson_drm_soc_attrs[] = {/* S805X/S805Y HDMI PLL won't lock for HDMI PHY freq > 1,65GHz */ { .limits = { - .max_hdmi_phy_freq = 1650000, + .max_hdmi_phy_freq = 1650000000, }, .attrs = (const struct soc_device_attribute []) { { .soc_id = "GXL (S805*)", },
drivers/gpu/drm/meson/meson_drv.h +1 -1
@@ -31,7 +31,7 @@ struct meson_drm_match_data { };struct meson_drm_soc_limits { -unsigned int max_hdmi_phy_freq; +unsigned long long max_hdmi_phy_freq; };struct meson_drm {
drivers/gpu/drm/meson/meson_encoder_hdmi.c +16 -13
@@ -68,12 +68,12 @@ static void meson_encoder_hdmi_set_vclk(struct meson_encoder_hdmi *encoder_hdmi, {struct meson_drm *priv = encoder_hdmi->priv;int vic =drm_match_cea_mode (mode); -unsigned int phy_freq; -unsigned int vclk_freq; -unsigned int venc_freq; -unsigned int hdmi_freq; +unsigned long long phy_freq; +unsigned long long vclk_freq; +unsigned long long venc_freq; +unsigned long long hdmi_freq; - vclk_freq = mode->clock; + vclk_freq = mode->clock *1000ULL ;/* For 420, pixel clock is half unlike venc clock */ if (encoder_hdmi->output_bus_fmt ==MEDIA_BUS_FMT_UYYVYY8_0_5X24 )
@@ -105,7 +105,8 @@ static void meson_encoder_hdmi_set_vclk(struct meson_encoder_hdmi *encoder_hdmi,if (mode->flags &DRM_MODE_FLAG_DBLCLK ) venc_freq /=2 ; -dev_dbg (priv->dev,"vclk:%d phy=%d venc=%d hdmi=%d enci=%d\n" , +dev_dbg (priv->dev, +"phy:%lluHz vclk=%lluHz venc=%lluHz hdmi=%lluHz enci=%d\n" , phy_freq, vclk_freq, venc_freq, hdmi_freq, priv->venc.hdmi_use_enci);
@@ -120,10 +121,11 @@ static enum drm_mode_status meson_encoder_hdmi_mode_valid(struct drm_bridge *bristruct meson_encoder_hdmi *encoder_hdmi =bridge_to_meson_encoder_hdmi (bridge);struct meson_drm *priv = encoder_hdmi->priv;bool is_hdmi2_sink = display_info->hdmi.scdc.supported; -unsigned int phy_freq; -unsigned int vclk_freq; -unsigned int venc_freq; -unsigned int hdmi_freq; +unsigned long long clock = mode->clock *1000ULL ; +unsigned long long phy_freq; +unsigned long long vclk_freq; +unsigned long long venc_freq; +unsigned long long hdmi_freq;int vic =drm_match_cea_mode (mode);enum drm_mode_status status;
@@ -142,12 +144,12 @@ static enum drm_mode_status meson_encoder_hdmi_mode_valid(struct drm_bridge *briif (status !=MODE_OK )return status; -return meson_vclk_dmt_supported_freq (priv, mode->clock); +return meson_vclk_dmt_supported_freq (priv, clock);/* Check against supported VIC modes */ }else if (!meson_venc_hdmi_supported_vic (vic))return MODE_BAD ; - vclk_freq = mode->clock; + vclk_freq = clock;/* For 420, pixel clock is half unlike venc clock */ if (drm_mode_is_420_only(display_info, mode) ||
@@ -177,7 +179,8 @@ static enum drm_mode_status meson_encoder_hdmi_mode_valid(struct drm_bridge *briif (mode->flags &DRM_MODE_FLAG_DBLCLK ) venc_freq /=2 ; -dev_dbg (priv->dev,"%s: vclk:%d phy=%d venc=%d hdmi=%d\n" , +dev_dbg (priv->dev, +"%s: vclk:%lluHz phy=%lluHz venc=%lluHz hdmi=%lluHz\n" , __func__, phy_freq, vclk_freq, venc_freq, hdmi_freq);return meson_vclk_vic_supported_freq (priv, phy_freq, vclk_freq);
drivers/gpu/drm/meson/meson_vclk.c +123 -103
447 lines not on this page · raw message
drivers/gpu/drm/meson/meson_vclk.h +7 -6
@@ -20,17 +20,18 @@ enum { };/* 27MHz is the CVBS Pixel Clock */ -#define MESON_VCLK_CVBS 27000 +#define MESON_VCLK_CVBS (27 * 1000 * 1000)enum drm_mode_status -meson_vclk_dmt_supported_freq (struct meson_drm *priv,unsigned int freq); +meson_vclk_dmt_supported_freq (struct meson_drm *priv,unsigned long long freq);enum drm_mode_status -meson_vclk_vic_supported_freq (struct meson_drm *priv,unsigned int phy_freq, -unsigned int vclk_freq); +meson_vclk_vic_supported_freq (struct meson_drm *priv, +unsigned long long phy_freq, +unsigned long long vclk_freq);void meson_vclk_setup (struct meson_drm *priv,unsigned int target, -unsigned int phy_freq,unsigned int vclk_freq, -unsigned int venc_freq,unsigned int dac_freq, +unsigned long long phy_freq,unsigned long long vclk_freq, +unsigned long long venc_freq,unsigned long long dac_freq,bool hdmi_use_enci);#endif /* __MESON_VCLK_H */
drivers/gpu/drm/msm/adreno/a6xx_hfi.c +1 -1
@@ -102,7 +102,7 @@ static int a6xx_hfi_wait_for_ack(struct a6xx_gmu *gmu, u32 id, u32 seqnum,/* Wait for a response */ ret =gmu_poll_timeout (gmu,REG_A6XX_GMU_GMU2HOST_INTR_INFO , val, - val &A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ ,100 ,5000 ); + val &A6XX_GMU_GMU2HOST_INTR_INFO_MSGQ ,100 ,1000000 );if (ret) { DRM_DEV_ERROR(gmu->dev,
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c +2 -1
@@ -360,7 +360,8 @@ static void dpu_encoder_phys_vid_underrun_irq(void *arg, int irq_idx)static bool dpu_encoder_phys_vid_needs_single_flush (struct dpu_encoder_phys *phys_enc) { -return phys_enc->split_role !=ENC_ROLE_SOLO ; +return !(phys_enc->hw_ctl->caps->features &BIT (DPU_CTL_ACTIVE_CFG )) && + phys_enc->split_role !=ENC_ROLE_SOLO ; } static void dpu_encoder_phys_vid_mode_set(
drivers/gpu/drm/msm/dsi/phy/dsi_phy_10nm.c +7 -0
@@ -713,6 +713,13 @@ static int dsi_pll_10nm_init(struct msm_dsi_phy *phy)/* TODO: Remove this when we have proper display handover support */ msm_dsi_phy_pll_save_state (phy); +/* +* Store also proper vco_current_rate, because its value will be used in +* dsi_10nm_pll_restore_state(). +*/ +if (!dsi_pll_10nm_vco_recalc_rate (&pll_10nm->clk_hw,VCO_REF_CLK_RATE )) + pll_10nm->vco_current_rate = pll_10nm->phy->cfg->min_pll_rate; +return 0 ; }
drivers/gpu/drm/msm/hdmi/hdmi_i2c.c +12 -2
@@ -107,11 +107,15 @@ static int msm_hdmi_i2c_xfer(struct i2c_adapter *i2c,if (num ==0 )return num; + ret =pm_runtime_resume_and_get (&hdmi->pdev->dev); +if (ret) +return ret; +init_ddc (hdmi_i2c); ret =ddc_clear_irq (hdmi_i2c);if (ret) -return ret; + goto fail;for (i =0 ; i < num; i++) {struct i2c_msg *p = &msgs[i];
@@ -169,7 +173,7 @@ static int msm_hdmi_i2c_xfer(struct i2c_adapter *i2c,hdmi_read (hdmi,REG_HDMI_DDC_SW_STATUS ),hdmi_read (hdmi,REG_HDMI_DDC_HW_STATUS ), hdmi_read(hdmi, REG_HDMI_DDC_INT_CTRL)); -return ret; + goto fail; } ddc_status =hdmi_read (hdmi,REG_HDMI_DDC_SW_STATUS );
@@ -202,7 +206,13 @@ static int msm_hdmi_i2c_xfer(struct i2c_adapter *i2c, } } +pm_runtime_put (&hdmi->pdev->dev); +return i; + +fail: +pm_runtime_put (&hdmi->pdev->dev); +return ret; }static u32 msm_hdmi_i2c_func (struct i2c_adapter *adapter)
drivers/gpu/drm/nouveau/nouveau_backlight.c +1 -1
@@ -40,7 +40,7 @@#include "nouveau_connector.h" static struct ida bl_ida; -#define BL_NAME_SIZE 15 // 12 for name + 2 for digits + 1 for '\0' +#define BL_NAME_SIZE 24 // 12 for name + 11 for digits + 1 for '\0' static bool nouveau_get_backlight_name(char backlight_name[BL_NAME_SIZE],
drivers/gpu/drm/rcar-du/rcar_du_kms.c +4 -6
@@ -627,7 +627,7 @@ static int rcar_du_vsps_init(struct rcar_du_device *rcdu) ret =of_parse_phandle_with_fixed_args (np, vsps_prop_name, cells, i, &args);if (ret <0 ) - goto error; + goto done;/* * Add the VSP to the list or update the corresponding existing
@@ -665,13 +665,11 @@ static int rcar_du_vsps_init(struct rcar_du_device *rcdu) vsp->dev = rcdu; ret =rcar_du_vsp_init (vsp, vsps[i].np, vsps[i].crtcs_mask); -if (ret <0 ) - goto error; +if (ret) + goto done; } -return 0 ; - -error: +done:for (i =0 ; i <ARRAY_SIZE (vsps); ++i)of_node_put (vsps[i].np);
drivers/gpu/drm/tegra/rgb.c +13 -1
@@ -193,6 +193,11 @@ static const struct drm_encoder_helper_funcs tegra_rgb_encoder_helper_funcs = { .atomic_check = tegra_rgb_encoder_atomic_check, }; +static void tegra_dc_of_node_put (void *data) +{ +of_node_put (data); +} +int tegra_dc_rgb_probe (struct tegra_dc *dc) {struct device_node *np;
@@ -200,7 +205,14 @@ int tegra_dc_rgb_probe(struct tegra_dc *dc)int err; np =of_get_child_by_name (dc->dev->of_node,"rgb" ); -if (!np || !of_device_is_available (np)) +if (!np) +return -ENODEV ; + + err =devm_add_action_or_reset (dc->dev, tegra_dc_of_node_put, np); +if (err <0 ) +return err; + +if (!of_device_is_available (np))return -ENODEV ; rgb =devm_kzalloc (dc->dev,sizeof (*rgb),GFP_KERNEL );
drivers/gpu/drm/vkms/vkms_crtc.c +1 -1
@@ -202,7 +202,7 @@ static int vkms_crtc_atomic_check(struct drm_crtc *crtc, i++; } - vkms_state->active_planes =kcalloc (i,sizeof (plane),GFP_KERNEL ); + vkms_state->active_planes =kcalloc (i,sizeof (*vkms_state->active_planes),GFP_KERNEL );if (!vkms_state->active_planes)return -ENOMEM ; vkms_state->num_active_planes = i;
drivers/hid/hid-hyperv.c +3 -2
@@ -199,7 +199,8 @@ static void mousevsc_on_receive_device_info(struct mousevsc_dev *input_device,if (!input_device->hid_desc) goto cleanup; - input_device->report_desc_size = desc->desc[0 ].wDescriptorLength; + input_device->report_desc_size =le16_to_cpu ( + desc->rpt_desc.wDescriptorLength);if (input_device->report_desc_size ==0 ) { input_device->dev_info_status = -EINVAL ; goto cleanup;
@@ -217,7 +218,7 @@ static void mousevsc_on_receive_device_info(struct mousevsc_dev *input_device,memcpy (input_device->report_desc, ((unsigned char *)desc) + desc->bLength, - desc->desc[0 ].wDescriptorLength); +le16_to_cpu (desc->rpt_desc.wDescriptorLength));/* Send the ack */ memset (&ack,0 ,sizeof (struct mousevsc_prt_msg ));
drivers/hid/usbhid/hid-core.c +14 -11
@@ -982,12 +982,11 @@ static int usbhid_parse(struct hid_device *hid)struct usb_host_interface *interface = intf->cur_altsetting;struct usb_device *dev =interface_to_usbdev (intf);struct hid_descriptor *hdesc; +struct hid_class_descriptor *hcdesc;u32 quirks =0 ;unsigned int rsize =0 ;char *rdesc; -int ret, n; -int num_descriptors; -size_t offset = offsetof(struct hid_descriptor , desc); +int ret; quirks =hid_lookup_quirk (hid);
@@ -1009,20 +1008,19 @@ static int usbhid_parse(struct hid_device *hid)return -ENODEV ; } -if (hdesc->bLength <sizeof (struct hid_descriptor )) { -dbg_hid ("hid descriptor is too short\n" ); +if (!hdesc->bNumDescriptors || + hdesc->bLength !=sizeof (*hdesc) + + (hdesc->bNumDescriptors -1 ) *sizeof (*hcdesc)) { +dbg_hid ("hid descriptor invalid, bLen=%hhu bNum=%hhu\n" , + hdesc->bLength, hdesc->bNumDescriptors);return -EINVAL ; } hid->version =le16_to_cpu (hdesc->bcdHID); hid->country = hdesc->bCountryCode; - num_descriptors =min_t (int, hdesc->bNumDescriptors, - (hdesc->bLength - offset) /sizeof (struct hid_class_descriptor )); - -for (n =0 ; n < num_descriptors; n++) -if (hdesc->desc[n].bDescriptorType ==HID_DT_REPORT ) - rsize =le16_to_cpu (hdesc->desc[n].wDescriptorLength); +if (hdesc->rpt_desc.bDescriptorType ==HID_DT_REPORT ) + rsize =le16_to_cpu (hdesc->rpt_desc.wDescriptorLength);if (!rsize || rsize >HID_MAX_DESCRIPTOR_SIZE ) {dbg_hid ("weird size of report descriptor (%u)\n" , rsize);
@@ -1050,6 +1048,11 @@ static int usbhid_parse(struct hid_device *hid) goto err; } +if (hdesc->bNumDescriptors >1 ) +hid_warn (intf, +"%u unsupported optional hid class descriptors\n" , + (int )(hdesc->bNumDescriptors -1 )); + hid->quirks |= quirks;return 0 ;
drivers/hwmon/occ/common.c +109 -140
52 lines not on this page · raw message
drivers/i2c/busses/i2c-designware-slave.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_hw_v2.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_main.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hns/hns_roce_restrack.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/input/rmi4/rmi_f34.c +77 -60
137 lines not on this page · raw message
drivers/media/common/videobuf2/videobuf2-dma-sg.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/fimc-is-regs.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/core.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/media/platform/ti-vpe/cal-video.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vidtv/vidtv_channel.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/test-drivers/vivid/vivid-vid-cap.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/aq_main.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/aq_nic.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cadence/macb_main.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/emulex/benet/be_cmds.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_main.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_tx_dqo.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_common.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +7 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_arfs.c +48 -0
48 lines not on this page · raw message
drivers/net/ethernet/intel/ice/ice_sched.c +6 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_star_emac.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/en_clock.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/vport.c +12 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/microchip/lan743x_main.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/htc_drv_beacon.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/carl9170/usb.c +13 -6
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/p54/fwio.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/p54/p54.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/p54/txrx.c +9 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76x2/usb.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76x2/usb_init.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/pci.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/coex.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/rtw8822c.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/cadence/pcie-cadence-ep.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/pci/controller/cadence/pcie-cadence-host.c +1 -10
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-dw-rockchip.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +21 -14
Lines of this file are not shown. View the raw message.
drivers/power/supply/bq27xxx_battery_i2c.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/staging/iio/impedance-analyzer/ad5933.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/tty/serial/sh-sci.c +79 -18
97 lines not on this page · raw message
drivers/usb/renesas_usbhs/common.c +38 -12
50 lines not on this page · raw message
kernel/events/core.c +45 -12
57 lines not on this page · raw message
mm/hugetlb.c +57 -24
81 lines not on this page · raw message
net/bridge/br_multicast.c +69 -8
77 lines not on this page · raw message
net/bridge/netfilter/nf_conntrack_bridge.c +6 -6
Lines of this file are not shown. View the raw message.
net/ipv4/tcp_input.c +35 -28
63 lines not on this page · raw message
net/sched/sch_sfq.c +79 -40
119 lines not on this page · raw message
tools/perf/scripts/python/exported-sql-viewer.py +4 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/seccomp/seccomp_bpf.c +5 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/x86/sigtrap_loop.c new file +101 -0
101 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.