Linux 6.4.4
Subsystems (2)
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.4.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Documentation/ABI/testing/sysfs-driver-eud | 2 Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 6 Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 5 Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 6 Documentation/devicetree/bindings/power/reset/qcom,pon.yaml | 4 Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml | 36 Documentation/fault-injection/provoke-crashes.rst | 2 Documentation/filesystems/autofs-mount-control.rst | 2 Documentation/filesystems/autofs.rst | 2 Documentation/filesystems/directory-locking.rst | 26 Documentation/filesystems/f2fs.rst | 16 Documentation/networking/af_xdp.rst | 9 Makefile | 2 arch/arc/include/asm/linkage.h | 8 arch/arm/boot/dts/bcm53015-meraki-mr26.dts | 2 arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 2 arch/arm/boot/dts/bcm5301x.dtsi | 1 arch/arm/boot/dts/iwg20d-q7-common.dtsi | 2 arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi | 16 arch/arm/boot/dts/meson8.dtsi | 4 arch/arm/boot/dts/meson8b.dtsi | 4 arch/arm/boot/dts/omap3-gta04a5one.dts | 4 arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 4 arch/arm/boot/dts/qcom-apq8074-dragonboard.dts | 4 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 8 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 10 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 12 arch/arm/boot/dts/qcom-msm8974.dtsi | 2 arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi | 11 arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi | 8 arch/arm/boot/dts/stm32mp15xx-dhcor-drc-compact.dtsi | 6 arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi | 6 arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi | 8 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 arch/arm/include/asm/assembler.h | 17 arch/arm/include/asm/sync_bitops.h | 29 arch/arm/lib/bitops.h | 14 arch/arm/lib/testchangebit.S | 4 arch/arm/lib/testclearbit.S | 4 arch/arm/lib/testsetbit.S | 4 arch/arm/mach-ep93xx/timer-ep93xx.c | 3 arch/arm/mach-omap1/board-ams-delta.c | 1 arch/arm/mach-omap1/board-nokia770.c | 207 +- arch/arm/mach-omap1/board-osk.c | 146 +- arch/arm/mach-omap1/board-palmte.c | 51 arch/arm/mach-omap1/board-sx1-mmc.c | 1 arch/arm/mach-omap1/board-sx1.c | 40 arch/arm/mach-omap1/devices.c | 1 arch/arm/mach-omap1/gpio15xx.c | 1 arch/arm/mach-omap1/gpio16xx.c | 1 arch/arm/mach-omap1/irq.c | 1 arch/arm/mach-omap1/serial.c | 30 arch/arm/mach-omap2/board-generic.c | 1 arch/arm/mach-omap2/board-n8x0.c | 156 -- arch/arm/mach-omap2/omap_device.c | 1 arch/arm/mach-omap2/pdata-quirks.c | 132 - arch/arm/mach-omap2/usb-tusb6010.c | 20 arch/arm/mach-omap2/usb-tusb6010.h | 12 arch/arm/mach-orion5x/board-dt.c | 3 arch/arm/mach-orion5x/common.h | 6 arch/arm/mach-pxa/spitz.c | 11 arch/arm/probes/kprobes/checkers-common.c | 2 arch/arm/probes/kprobes/core.c | 2 arch/arm/probes/kprobes/opt-arm.c | 2 arch/arm/probes/kprobes/test-core.c | 2 arch/arm/probes/kprobes/test-core.h | 4 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso | 6 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 4 arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi | 4 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 22 arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 4 arch/arm64/boot/dts/microchip/sparx5.dtsi | 2 arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi | 12 arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 78 - arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts | 4 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 6 arch/arm64/boot/dts/qcom/msm8916.dtsi | 8 arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 arch/arm64/boot/dts/qcom/msm8976.dtsi | 6 arch/arm64/boot/dts/qcom/msm8994.dtsi | 2 arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 arch/arm64/boot/dts/qcom/pm7250b.dtsi | 1 arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 arch/arm64/boot/dts/qcom/qdu1000.dtsi | 1 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 3 arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 arch/arm64/boot/dts/qcom/sdm670.dtsi | 1 arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts | 1 arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 7 arch/arm64/boot/dts/qcom/sm8350.dtsi | 6 arch/arm64/boot/dts/qcom/sm8550.dtsi | 9 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 3 arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi | 2 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 arch/arm64/boot/dts/ti/k3-am69-sk.dts | 2 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 28 arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts | 5 arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 32 arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 29 arch/arm64/include/asm/fpsimdmacros.h | 6 arch/arm64/kernel/signal.c | 2 arch/loongarch/Makefile | 2 arch/mips/Makefile | 2 arch/mips/alchemy/devboards/db1000.c | 11 arch/powerpc/Kconfig.debug | 2 arch/powerpc/boot/dts/turris1x.dts | 6 arch/powerpc/include/asm/nmi.h | 4 arch/powerpc/kernel/interrupt.c | 3 arch/powerpc/kernel/ppc_save_regs.S | 6 arch/powerpc/kernel/signal_32.c | 15 arch/powerpc/kernel/smp.c | 1 arch/powerpc/kernel/vdso/Makefile | 2 arch/powerpc/kernel/watchdog.c | 12 arch/powerpc/mm/book3s64/radix_pgtable.c | 34 arch/powerpc/mm/init_64.c | 2 arch/powerpc/platforms/powernv/pci-sriov.c | 6 arch/powerpc/platforms/powernv/vas-window.c | 2 arch/powerpc/platforms/pseries/mobility.c | 4 arch/powerpc/platforms/pseries/vas.c | 2 arch/riscv/kernel/hibernate-asm.S | 1 arch/riscv/kernel/hibernate.c | 1 arch/riscv/kernel/probes/uprobes.c | 2 arch/riscv/kernel/smpboot.c | 5 arch/riscv/mm/init.c | 4 arch/s390/kvm/diag.c | 8 arch/s390/kvm/kvm-s390.c | 4 arch/s390/kvm/vsie.c | 6 arch/s390/mm/vmem.c | 14 arch/sh/boards/mach-dreamcast/irq.c | 6 arch/sh/boards/mach-highlander/setup.c | 4 arch/sh/boards/mach-r2d/irq.c | 4 arch/sh/cchips/Kconfig | 4 arch/sh/drivers/dma/dma-sh.c | 37 arch/sh/include/asm/hd64461.h | 2 arch/sh/include/mach-common/mach/highlander.h | 2 arch/sh/include/mach-common/mach/r2d.h | 2 arch/sh/include/mach-dreamcast/mach/sysasic.h | 2 arch/sh/include/mach-se/mach/se7724.h | 2 arch/sh/kernel/cpu/sh2/probe.c | 2 arch/sh/kernel/cpu/sh3/entry.S | 4 arch/sparc/kernel/nmi.c | 10 arch/um/Makefile | 2 arch/x86/coco/tdx/tdx.c | 51 arch/x86/events/amd/core.c | 2 arch/x86/events/amd/ibs.c | 53 arch/x86/hyperv/ivm.c | 4 arch/x86/include/asm/mtrr.h | 40 arch/x86/include/asm/perf_event.h | 2 arch/x86/include/asm/pgtable_64.h | 4 arch/x86/include/asm/sev.h | 16 arch/x86/include/asm/x86_init.h | 2 arch/x86/include/uapi/asm/mtrr.h | 8 arch/x86/kernel/cpu/mtrr/cleanup.c | 18 arch/x86/kernel/cpu/mtrr/generic.c | 124 + arch/x86/kernel/cpu/mtrr/mtrr.c | 73 - arch/x86/kernel/cpu/mtrr/mtrr.h | 4 arch/x86/kernel/cpu/resctrl/rdtgroup.c | 8 arch/x86/kernel/setup.c | 2 arch/x86/kernel/sev.c | 14 arch/x86/kernel/x86_init.c | 2 arch/x86/mm/mem_encrypt_amd.c | 4 arch/x86/mm/pat/set_memory.c | 3 arch/x86/platform/efi/efi_64.c | 6 arch/x86/xen/enlighten_pv.c | 52 block/blk-cgroup.c | 20 block/blk-core.c | 1 block/blk-iocost.c | 7 block/blk-mq-debugfs.c | 2 block/blk-mq-tag.c | 15 block/blk-mq.c | 13 block/blk-mq.h | 3 block/blk-rq-qos.c | 20 block/blk-throttle.c | 6 block/blk-throttle.h | 9 block/blk-wbt.c | 2 block/disk-events.c | 1 block/genhd.c | 5 block/partitions/amiga.c | 104 + crypto/jitterentropy.c | 9 drivers/accel/habanalabs/gaudi2/gaudi2.c | 2 drivers/acpi/apei/ghes.c | 2 drivers/base/power/domain.c | 15 drivers/base/property.c | 12 drivers/bus/fsl-mc/dprc-driver.c | 6 drivers/bus/ti-sysc.c | 4 drivers/cdx/cdx.c | 18 drivers/char/hw_random/st-rng.c | 21 drivers/char/hw_random/virtio-rng.c | 10 drivers/clk/bcm/clk-raspberrypi.c | 4 drivers/clk/clk-cdce925.c | 12 drivers/clk/clk-renesas-pcie.c | 4 drivers/clk/clk-si5341.c | 38 drivers/clk/clk-versaclock5.c | 45 drivers/clk/clk-versaclock7.c | 2 drivers/clk/clk.c | 2 drivers/clk/imx/clk-composite-8m.c | 31 drivers/clk/imx/clk-imx8mn.c | 8 drivers/clk/imx/clk-imx8mp.c | 24 drivers/clk/imx/clk-imx93.c | 15 drivers/clk/imx/clk-imxrt1050.c | 22 drivers/clk/imx/clk-scu.c | 4 drivers/clk/keystone/sci-clk.c | 2 drivers/clk/mediatek/clk-mt8173-apmixedsys.c | 7 drivers/clk/mediatek/clk-mtk.c | 13 drivers/clk/qcom/camcc-sc7180.c | 19 drivers/clk/qcom/dispcc-qcm2290.c | 12 drivers/clk/qcom/gcc-ipq5332.c | 6 drivers/clk/qcom/gcc-ipq6018.c | 34 drivers/clk/qcom/gcc-qcm2290.c | 62 drivers/clk/qcom/mmcc-msm8974.c | 23 drivers/clk/renesas/rzg2l-cpg.c | 6 drivers/clk/renesas/rzg2l-cpg.h | 3 drivers/clk/tegra/clk-tegra124-emc.c | 2 drivers/clk/ti/clkctrl.c | 7 drivers/clk/xilinx/clk-xlnx-clock-wizard.c | 7 drivers/clocksource/timer-cadence-ttc.c | 19 drivers/cpufreq/intel_pstate.c | 2 drivers/cpufreq/mediatek-cpufreq.c | 13 drivers/cpufreq/tegra194-cpufreq.c | 6 drivers/crypto/intel/qat/qat_common/qat_asym_algs.c | 14 drivers/crypto/marvell/cesa/cipher.c | 2 drivers/crypto/nx/Makefile | 2 drivers/crypto/nx/nx.h | 4 drivers/cxl/core/region.c | 102 - drivers/cxl/cxl.h | 16 drivers/dax/bus.c | 61 drivers/dax/dax-private.h | 4 drivers/dax/kmem.c | 2 drivers/extcon/extcon-usbc-tusb320.c | 42 drivers/extcon/extcon.c | 8 drivers/firmware/efi/libstub/efi-stub-helper.c | 6 drivers/gpio/gpio-twl4030.c | 52 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 11 drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 3 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 85 - drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 11 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 4 drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 4 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c | 13 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 5 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr_smu_msg.c | 3 drivers/gpu/drm/amd/display/dc/core/dc.c | 3 drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 6 drivers/gpu/drm/amd/display/dc/dc.h | 3 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c | 23 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_init.c | 2 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c | 2 drivers/gpu/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c | 2 drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c | 4 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 18 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 1 drivers/gpu/drm/bridge/analogix/anx7625.c | 128 + drivers/gpu/drm/bridge/ite-it6505.c | 3 drivers/gpu/drm/bridge/samsung-dsim.c | 22 drivers/gpu/drm/bridge/tc358767.c | 4 drivers/gpu/drm/bridge/tc358768.c | 93 + drivers/gpu/drm/bridge/ti-sn65dsi83.c | 20 drivers/gpu/drm/drm_gem_vram_helper.c | 6 drivers/gpu/drm/i915/Makefile | 2 drivers/gpu/drm/i915/display/intel_color.c | 36 drivers/gpu/drm/i915/display/intel_crtc.c | 2 drivers/gpu/drm/i915/display/intel_cursor.c | 4 drivers/gpu/drm/i915/display/intel_display.c | 2 drivers/gpu/drm/i915/display/intel_display.h | 10 drivers/gpu/drm/i915/display/intel_display_device.c | 728 ++++++++++ drivers/gpu/drm/i915/display/intel_display_device.h | 86 + drivers/gpu/drm/i915/display/intel_display_power.c | 6 drivers/gpu/drm/i915/display/intel_display_reg_defs.h | 14 drivers/gpu/drm/i915/display/intel_fb_pin.c | 2 drivers/gpu/drm/i915/display/intel_fbc.c | 6 drivers/gpu/drm/i915/display/intel_hdcp.c | 2 drivers/gpu/drm/i915/display/intel_hti.c | 2 drivers/gpu/drm/i915/display/intel_psr.c | 4 drivers/gpu/drm/i915/display/intel_psr_regs.h | 2 drivers/gpu/drm/i915/display/skl_universal_plane.c | 2 drivers/gpu/drm/i915/display/skl_watermark.c | 8 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 35 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 40 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.h | 1 drivers/gpu/drm/i915/gt/uc/intel_guc_slpc_types.h | 1 drivers/gpu/drm/i915/i915_driver.c | 12 drivers/gpu/drm/i915/i915_drv.h | 52 drivers/gpu/drm/i915/i915_pci.c | 384 ----- drivers/gpu/drm/i915/i915_reg.h | 33 drivers/gpu/drm/i915/intel_device_info.c | 140 + drivers/gpu/drm/i915/intel_device_info.h | 69 drivers/gpu/drm/i915/intel_step.c | 8 drivers/gpu/drm/imx/lcdc/imx-lcdc.c | 4 drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 3 drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 3 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 12 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 8 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 12 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 12 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 12 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 10 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 2 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 2 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 18 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 4 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 5 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 60 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 36 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c | 5 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.c | 5 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c | 75 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h | 31 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 4 drivers/gpu/drm/msm/dp/dp_display.c | 16 drivers/gpu/drm/msm/dsi/dsi_host.c | 26 drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c | 3 drivers/gpu/drm/nouveau/dispnv50/disp.c | 1 drivers/gpu/drm/nouveau/nv50_display.h | 4 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 11 drivers/gpu/drm/panel/panel-simple.c | 4 drivers/gpu/drm/radeon/ci_dpm.c | 28 drivers/gpu/drm/radeon/cypress_dpm.c | 8 drivers/gpu/drm/radeon/ni_dpm.c | 8 drivers/gpu/drm/radeon/rv740_dpm.c | 8 drivers/gpu/drm/sun4i/sun4i_tcon.c | 19 drivers/gpu/drm/vkms/vkms_composer.c | 4 drivers/gpu/drm/vkms/vkms_drv.h | 4 drivers/gpu/drm/vkms/vkms_formats.c | 131 - drivers/gpu/drm/vkms/vkms_formats.h | 2 drivers/gpu/drm/vkms/vkms_plane.c | 2 drivers/hid/Kconfig | 2 drivers/hwmon/f71882fg.c | 7 drivers/hwmon/gsc-hwmon.c | 6 drivers/hwmon/pmbus/adm1275.c | 52 drivers/hwtracing/coresight/coresight-core.c | 9 drivers/hwtracing/coresight/coresight-etm4x-sysfs.c | 27 drivers/hwtracing/ptt/hisi_ptt.c | 12 drivers/hwtracing/ptt/hisi_ptt.h | 2 drivers/i2c/busses/i2c-designware-pcidrv.c | 13 drivers/i2c/busses/i2c-nvidia-gpu.c | 3 drivers/i2c/busses/i2c-xiic.c | 2 drivers/i3c/master/svc-i3c-master.c | 19 drivers/iio/accel/fxls8962af-core.c | 8 drivers/iio/adc/ad7192.c | 8 drivers/iio/addac/ad74413r.c | 11 drivers/infiniband/hw/bnxt_re/main.c | 20 drivers/infiniband/hw/bnxt_re/qplib_fp.c | 40 drivers/infiniband/hw/bnxt_re/qplib_fp.h | 2 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 46 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h | 1 drivers/infiniband/hw/hfi1/ipoib_tx.c | 4 drivers/infiniband/hw/hfi1/mmu_rb.c | 101 - drivers/infiniband/hw/hfi1/mmu_rb.h | 3 drivers/infiniband/hw/hfi1/sdma.c | 23 drivers/infiniband/hw/hfi1/sdma.h | 47 drivers/infiniband/hw/hfi1/sdma_txreq.h | 2 drivers/infiniband/hw/hfi1/user_sdma.c | 137 - drivers/infiniband/hw/hfi1/user_sdma.h | 1 drivers/infiniband/hw/hfi1/vnic_sdma.c | 4 drivers/infiniband/hw/hns/hns_roce_hem.c | 7 drivers/infiniband/hw/irdma/uk.c | 10 drivers/infiniband/sw/rxe/rxe_mw.c | 17 drivers/input/Kconfig | 2 drivers/input/misc/adxl34x.c | 3 drivers/input/misc/drv260x.c | 1 drivers/input/misc/pm8941-pwrkey.c | 19 drivers/input/tests/input_test.c | 6 drivers/input/touchscreen/ads7846.c | 114 - drivers/input/touchscreen/cyttsp4_core.c | 3 drivers/interconnect/qcom/icc-rpm.c | 12 drivers/interconnect/qcom/icc-rpm.h | 4 drivers/iommu/iommufd/device.c | 2 drivers/iommu/iommufd/io_pagetable.c | 14 drivers/iommu/virtio-iommu.c | 57 drivers/irqchip/irq-jcore-aic.c | 7 drivers/irqchip/irq-loongson-eiointc.c | 2 drivers/irqchip/irq-loongson-liointc.c | 12 drivers/irqchip/irq-loongson-pch-pic.c | 10 drivers/irqchip/irq-stm32-exti.c | 12 drivers/leds/trigger/ledtrig-netdev.c | 3 drivers/mailbox/ti-msgmgr.c | 12 drivers/md/bcache/btree.c | 25 drivers/md/bcache/btree.h | 1 drivers/md/bcache/super.c | 4 drivers/md/bcache/writeback.c | 10 drivers/md/md-bitmap.c | 21 drivers/md/md-bitmap.h | 7 drivers/md/md.c | 9 drivers/md/raid1-10.c | 42 drivers/md/raid1.c | 25 drivers/md/raid10.c | 75 - drivers/media/cec/i2c/Kconfig | 1 drivers/media/common/saa7146/saa7146_core.c | 6 drivers/media/i2c/Kconfig | 1 drivers/media/i2c/hi846.c | 3 drivers/media/i2c/imx296.c | 4 drivers/media/i2c/st-mipid02.c | 9 drivers/media/platform/amphion/vdec.c | 7 drivers/media/platform/amphion/venc.c | 4 drivers/media/platform/amphion/vpu_malone.c | 12 drivers/media/platform/amphion/vpu_v4l2.c | 5 drivers/media/platform/amphion/vpu_v4l2.h | 2 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c | 33 drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h | 16 drivers/media/platform/qcom/venus/helpers.c | 4 drivers/media/platform/renesas/rcar_fdp1.c | 5 drivers/media/usb/dvb-usb-v2/az6007.c | 3 drivers/media/usb/siano/smsusb.c | 3 drivers/memory/brcmstb_dpfe.c | 4 drivers/memstick/host/r592.c | 4 drivers/mfd/intel-lpss-acpi.c | 3 drivers/mfd/rt5033.c | 3 drivers/mfd/stmfx.c | 7 drivers/mfd/stmpe.c | 4 drivers/mfd/tps65010.c | 14 drivers/mfd/wcd934x.c | 9 drivers/misc/fastrpc.c | 3 drivers/misc/lkdtm/core.c | 2 drivers/mmc/core/block.c | 6 drivers/mmc/core/card.h | 30 drivers/mmc/core/quirks.h | 27 drivers/mmc/core/sd.c | 2 drivers/mmc/host/mmci.c | 1 drivers/mmc/host/mtk-sd.c | 2 drivers/mmc/host/omap.c | 46 drivers/mmc/host/sdhci.c | 4 drivers/net/bonding/bond_main.c | 2 drivers/net/can/kvaser_pciefd.c | 39 drivers/net/dsa/ocelot/felix.c | 12 drivers/net/dsa/sja1105/sja1105.h | 2 drivers/net/dsa/sja1105/sja1105_main.c | 14 drivers/net/dsa/sja1105/sja1105_ptp.c | 48 drivers/net/dsa/vitesse-vsc73xx-core.c | 6 drivers/net/ethernet/broadcom/tg3.c | 1 drivers/net/ethernet/ibm/ibmvnic.c | 9 drivers/net/ethernet/intel/ice/ice.h | 7 drivers/net/ethernet/intel/ice/ice_main.c | 29 drivers/net/ethernet/intel/ice/ice_ptp.c | 12 drivers/net/ethernet/intel/ice/ice_ptp.h | 4 drivers/net/ethernet/intel/igc/igc.h | 36 drivers/net/ethernet/intel/igc/igc_main.c | 45 drivers/net/ethernet/intel/igc/igc_ptp.c | 142 + drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 33 drivers/net/ethernet/marvell/octeontx2/af/cgx.h | 2 drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h | 3 drivers/net/ethernet/marvell/octeontx2/af/rpm.c | 32 drivers/net/ethernet/marvell/octeontx2/af/rpm.h | 5 drivers/net/ethernet/marvell/octeontx2/af/rvu.c | 1 drivers/net/ethernet/marvell/octeontx2/af/rvu.h | 12 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 22 drivers/net/ethernet/mellanox/mlxsw/minimal.c | 1 drivers/net/ethernet/mscc/ocelot.c | 1 drivers/net/ethernet/mscc/ocelot_ptp.c | 66 drivers/net/ethernet/sfc/ef10.c | 13 drivers/net/ethernet/sfc/efx_devlink.c | 3 drivers/net/ethernet/sfc/tc.c | 32 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 10 drivers/net/gtp.c | 2 drivers/net/ipvlan/ipvlan_core.c | 9 drivers/net/ppp/pptp.c | 31 drivers/net/wireguard/netlink.c | 14 drivers/net/wireguard/queueing.c | 1 drivers/net/wireguard/queueing.h | 25 drivers/net/wireguard/receive.c | 2 drivers/net/wireguard/send.c | 2 drivers/net/wireless/ath/ath10k/core.c | 12 drivers/net/wireless/ath/ath10k/core.h | 3 drivers/net/wireless/ath/ath10k/mac.c | 13 drivers/net/wireless/ath/ath11k/ahb.c | 1 drivers/net/wireless/ath/ath11k/core.c | 1 drivers/net/wireless/ath/ath11k/hw.c | 2 drivers/net/wireless/ath/ath11k/qmi.c | 5 drivers/net/wireless/ath/ath9k/ar9003_hw.c | 27 drivers/net/wireless/ath/ath9k/htc_hst.c | 8 drivers/net/wireless/ath/ath9k/main.c | 11 drivers/net/wireless/ath/ath9k/wmi.c | 4 drivers/net/wireless/atmel/atmel_cs.c | 13 drivers/net/wireless/intel/iwlwifi/fw/api/rs.h | 2 drivers/net/wireless/intel/iwlwifi/fw/dump.c | 7 drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 8 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 9 drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 10 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c | 58 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 9 drivers/net/wireless/intel/iwlwifi/mvm/sta.c | 2 drivers/net/wireless/intel/iwlwifi/pcie/rx.c | 5 drivers/net/wireless/intersil/orinoco/orinoco_cs.c | 13 drivers/net/wireless/intersil/orinoco/spectrum_cs.c | 13 drivers/net/wireless/legacy/ray_cs.c | 16 drivers/net/wireless/legacy/wl3501_cs.c | 16 drivers/net/wireless/marvell/mwifiex/scan.c | 6 drivers/net/wireless/mediatek/mt76/mt7921/dma.c | 4 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c | 8 drivers/net/wireless/mediatek/mt76/mt7921/pci.c | 8 drivers/net/wireless/microchip/wilc1000/hif.c | 8 drivers/net/wireless/realtek/rtw88/mac80211.c | 4 drivers/net/wireless/realtek/rtw88/usb.c | 2 drivers/net/wireless/realtek/rtw89/core.c | 2 drivers/net/wireless/rsi/rsi_91x_sdio.c | 9 drivers/nvme/host/core.c | 16 drivers/nvmem/imx-ocotp.c | 8 drivers/nvmem/rmem.c | 1 drivers/nvmem/sunplus-ocotp.c | 9 drivers/pci/controller/cadence/pcie-cadence-host.c | 27 drivers/pci/controller/dwc/pcie-qcom.c | 11 drivers/pci/controller/pci-ftpci100.c | 14 drivers/pci/controller/vmd.c | 11 drivers/pci/endpoint/functions/Kconfig | 2 drivers/pci/endpoint/functions/pci-epf-test.c | 2 drivers/pci/hotplug/pciehp_ctrl.c | 8 drivers/pci/pcie/aspm.c | 21 drivers/perf/apple_m1_cpu_pmu.c | 30 drivers/perf/arm-cmn.c | 7 drivers/perf/arm_cspmu/arm_cspmu.c | 11 drivers/perf/arm_pmu.c | 2 drivers/perf/hisilicon/hisi_pcie_pmu.c | 2 drivers/phy/Kconfig | 1 drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 8 drivers/phy/tegra/xusb.c | 4 drivers/pinctrl/bcm/pinctrl-bcm2835.c | 6 drivers/pinctrl/freescale/pinctrl-scu.c | 3 drivers/pinctrl/intel/pinctrl-cherryview.c | 15 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 2 drivers/pinctrl/pinctrl-at91-pio4.c | 2 drivers/pinctrl/pinctrl-at91.c | 8 drivers/pinctrl/pinctrl-microchip-sgpio.c | 3 drivers/pinctrl/sunplus/sppctl.c | 23 drivers/pinctrl/tegra/pinctrl-tegra.c | 15 drivers/pinctrl/tegra/pinctrl-tegra.h | 3 drivers/pinctrl/tegra/pinctrl-tegra114.c | 7 drivers/pinctrl/tegra/pinctrl-tegra124.c | 7 drivers/pinctrl/tegra/pinctrl-tegra194.c | 7 drivers/pinctrl/tegra/pinctrl-tegra20.c | 7 drivers/pinctrl/tegra/pinctrl-tegra210.c | 7 drivers/pinctrl/tegra/pinctrl-tegra30.c | 7 drivers/platform/x86/dell/dell-rbtn.c | 13 drivers/platform/x86/intel/pmc/core.c | 15 drivers/platform/x86/intel/pmc/core.h | 31 drivers/platform/x86/intel/pmc/mtl.c | 475 ++++++ drivers/platform/x86/lenovo-yogabook-wmi.c | 34 drivers/platform/x86/think-lmi.c | 20 drivers/platform/x86/thinkpad_acpi.c | 6 drivers/power/supply/rt9467-charger.c | 2 drivers/powercap/Kconfig | 4 drivers/powercap/intel_rapl_msr.c | 17 drivers/pwm/pwm-ab8500.c | 2 drivers/pwm/pwm-imx-tpm.c | 7 drivers/pwm/pwm-mtk-disp.c | 13 drivers/pwm/sysfs.c | 17 drivers/regulator/core.c | 30 drivers/regulator/rk808-regulator.c | 1 drivers/regulator/tps65219-regulator.c | 6 drivers/rtc/rtc-st-lpc.c | 2 drivers/s390/net/qeth_l3_sys.c | 2 drivers/scsi/3w-xxxx.c | 4 drivers/scsi/lpfc/lpfc_els.c | 14 drivers/scsi/qedf/qedf_main.c | 3 drivers/soc/amlogic/meson-secure-pwrc.c | 2 drivers/soc/fsl/qe/Kconfig | 1 drivers/soc/mediatek/mtk-svs.c | 4 drivers/soc/qcom/qcom-geni-se.c | 67 drivers/soc/xilinx/xlnx_event_manager.c | 6 drivers/soundwire/debugfs.c | 3 drivers/soundwire/qcom.c | 179 +- drivers/spi/spi-bcm-qspi.c | 10 drivers/spi/spi-dw-core.c | 5 drivers/spi/spi-geni-qcom.c | 111 - drivers/staging/media/atomisp/i2c/atomisp-gc0310.c | 2 drivers/staging/media/atomisp/i2c/atomisp-ov2680.c | 8 drivers/staging/media/atomisp/i2c/ov2680.h | 1 drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c | 2 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 4 drivers/thermal/qcom/tsens-v0_1.c | 56 drivers/thermal/qcom/tsens.c | 19 drivers/thermal/qcom/tsens.h | 6 drivers/thermal/qoriq_thermal.c | 30 drivers/thermal/sun8i_thermal.c | 55 drivers/tty/serial/8250/8250_omap.c | 25 drivers/tty/serial/fsl_lpuart.c | 1 drivers/tty/serial/serial_core.c | 10 drivers/ufs/core/ufshcd-priv.h | 3 drivers/ufs/core/ufshcd.c | 21 drivers/usb/core/devio.c | 2 drivers/usb/core/hcd-pci.c | 24 drivers/usb/dwc2/platform.c | 16 drivers/usb/dwc3/dwc3-meson-g12a.c | 5 drivers/usb/dwc3/dwc3-qcom.c | 17 drivers/usb/dwc3/gadget.c | 4 drivers/usb/gadget/function/u_serial.c | 13 drivers/usb/host/ehci-pci.c | 3 drivers/usb/host/ohci-pci.c | 8 drivers/usb/host/uhci-pci.c | 7 drivers/usb/host/xhci-histb.c | 2 drivers/usb/host/xhci-pci.c | 4 drivers/usb/host/xhci-plat.c | 4 drivers/usb/host/xhci-tegra.c | 2 drivers/usb/host/xhci.c | 5 drivers/usb/host/xhci.h | 2 drivers/usb/musb/musb_core.c | 1 drivers/usb/musb/musb_core.h | 2 drivers/usb/musb/tusb6010.c | 53 drivers/usb/phy/phy-tahvo.c | 2 drivers/usb/serial/option.c | 4 drivers/usb/typec/ucsi/psy.c | 14 drivers/vdpa/vdpa_user/vduse_dev.c | 6 drivers/vfio/mdev/mdev_core.c | 23 drivers/video/fbdev/omap/lcd_mipid.c | 16 drivers/virt/coco/sev-guest/Kconfig | 1 drivers/virtio/virtio_vdpa.c | 4 drivers/w1/slaves/w1_therm.c | 31 drivers/w1/w1.c | 4 fs/afs/write.c | 8 fs/btrfs/bio.c | 3 fs/btrfs/block-group.c | 36 fs/btrfs/ctree.c | 49 fs/btrfs/disk-io.c | 7 fs/btrfs/extent_io.c | 333 +--- fs/btrfs/extent_io.h | 5 fs/btrfs/free-space-tree.c | 3 fs/btrfs/inode.c | 92 - fs/btrfs/locking.c | 5 fs/btrfs/qgroup.c | 2 fs/btrfs/tree-mod-log.c | 115 + fs/erofs/zdata.c | 72 fs/erofs/zmap.c | 6 fs/ext4/namei.c | 17 fs/f2fs/checkpoint.c | 7 fs/f2fs/compress.c | 11 fs/f2fs/data.c | 11 fs/f2fs/f2fs.h | 23 fs/f2fs/file.c | 13 fs/f2fs/gc.c | 27 fs/f2fs/namei.c | 16 fs/f2fs/node.c | 7 fs/f2fs/super.c | 160 ++ fs/fs_context.c | 3 fs/gfs2/file.c | 2 fs/inode.c | 42 fs/internal.h | 2 fs/jffs2/build.c | 5 fs/jffs2/xattr.c | 13 fs/jffs2/xattr.h | 4 fs/kernfs/dir.c | 2 fs/lockd/svc.c | 1 fs/namei.c | 25 fs/nfs/nfs42xattr.c | 79 - fs/nfs/nfs4proc.c | 1 fs/nfsd/cache.h | 2 fs/nfsd/nfs4xdr.c | 2 fs/nfsd/nfscache.c | 25 fs/nfsd/nfsctl.c | 10 fs/nfsd/vfs.c | 4 fs/notify/fanotify/fanotify_user.c | 14 fs/ntfs3/xattr.c | 3 fs/ocfs2/cluster/tcp.c | 23 fs/overlayfs/copy_up.c | 2 fs/overlayfs/dir.c | 3 fs/overlayfs/export.c | 3 fs/overlayfs/inode.c | 17 fs/overlayfs/namei.c | 3 fs/overlayfs/overlayfs.h | 8 fs/overlayfs/super.c | 2 fs/overlayfs/util.c | 31 fs/pstore/ram_core.c | 2 fs/ramfs/inode.c | 2 fs/reiserfs/xattr_security.c | 1 fs/smb/client/cifs_debug.c | 16 fs/smb/client/cifsglob.h | 10 fs/smb/client/cifsproto.h | 2 fs/smb/client/connect.c | 70 fs/smb/client/dfs.c | 55 fs/smb/client/dfs.h | 19 fs/smb/client/dfs_cache.c | 8 fs/smb/client/file.c | 25 fs/smb/client/misc.c | 38 fs/smb/client/smb2inode.c | 9 fs/smb/client/smb2ops.c | 19 fs/smb/client/transport.c | 20 fs/smb/server/smb_common.c | 2 fs/splice.c | 1 fs/udf/namei.c | 14 fs/verity/enable.c | 19 fs/verity/fsverity_private.h | 13 fs/verity/hash_algs.c | 131 - fs/verity/verify.c | 113 - include/drm/bridge/samsung-dsim.h | 3 include/drm/drm_fixed.h | 6 include/linux/bitmap.h | 8 include/linux/blk-mq.h | 3 include/linux/blkdev.h | 3 include/linux/blktrace_api.h | 6 include/linux/bpf.h | 1 include/linux/bpf_verifier.h | 52 include/linux/can/length.h | 14 include/linux/compiler_attributes.h | 12 include/linux/dsa/sja1105.h | 4 include/linux/ieee80211.h | 6 include/linux/mfd/tps65010.h | 11 include/linux/mfd/twl.h | 3 include/linux/mm_types.h | 23 include/linux/mmc/card.h | 1 include/linux/netdevice.h | 9 include/linux/nmi.h | 35 include/linux/pci.h | 1 include/linux/perf/arm_pmu.h | 2 include/linux/pipe_fs_i.h | 4 include/linux/platform_data/lcd-mipid.h | 2 include/linux/platform_data/mmc-omap.h | 2 include/linux/ramfs.h | 1 include/linux/sh_intc.h | 6 include/linux/soc/qcom/geni-se.h | 4 include/linux/spi/ads7846.h | 2 include/linux/usb/hcd.h | 2 include/linux/usb/musb.h | 13 include/linux/watch_queue.h | 3 include/net/bluetooth/mgmt.h | 1 include/net/dsa.h | 12 include/net/mac80211.h | 44 include/net/regulatory.h | 13 include/net/sock.h | 1 include/soc/mscc/ocelot.h | 10 include/trace/events/net.h | 3 include/trace/events/timer.h | 6 include/uapi/linux/affs_hardblocks.h | 68 include/uapi/linux/auto_dev-ioctl.h | 2 include/uapi/linux/videodev2.h | 6 include/ufs/ufshcd.h | 1 init/Makefile | 1 init/main.c | 3 io_uring/io_uring.c | 35 kernel/bpf/btf.c | 6 kernel/bpf/cgroup.c | 15 kernel/bpf/helpers.c | 12 kernel/bpf/trampoline.c | 32 kernel/bpf/verifier.c | 716 +++++++-- kernel/kcsan/core.c | 2 kernel/kexec_core.c | 5 kernel/rcu/rcu.h | 6 kernel/rcu/rcuscale.c | 199 +- kernel/rcu/tasks.h | 7 kernel/rcu/tree.c | 23 kernel/sched/fair.c | 18 kernel/sched/sched.h | 22 kernel/time/posix-timers.c | 43 kernel/time/tick-sched.c | 2 kernel/watch_queue.c | 12 kernel/watchdog.c | 302 ++-- kernel/watchdog_hld.c | 48 lib/bitmap.c | 2 lib/dhry_1.c | 11 lib/test_firmware.c | 12 lib/ts_bm.c | 4 mm/damon/ops-common.c | 16 mm/damon/ops-common.h | 4 mm/damon/paddr.c | 4 mm/damon/vaddr.c | 4 mm/filemap.c | 4 mm/page-writeback.c | 8 mm/shmem.c | 2 mm/vmscan.c | 13 net/bluetooth/hci_conn.c | 47 net/bluetooth/hci_event.c | 15 net/bluetooth/hci_sync.c | 28 net/bridge/br_if.c | 5 net/core/filter.c | 126 + net/core/rtnetlink.c | 104 - net/core/sock.c | 17 net/dsa/dsa.c | 2 net/dsa/slave.c | 84 - net/dsa/switch.c | 4 net/dsa/switch.h | 3 net/dsa/tag_sja1105.c | 90 - net/ipv4/tcp_input.c | 12 net/mac80211/debugfs_netdev.c | 2 net/mac80211/eht.c | 5 net/mac80211/he.c | 3 net/mac80211/mlme.c | 30 net/mac80211/sta_info.c | 2 net/mac80211/util.c | 15 net/netfilter/ipvs/Kconfig | 27 net/netfilter/ipvs/ip_vs_conn.c | 4 net/netfilter/nf_conntrack_helper.c | 4 net/netfilter/nf_conntrack_proto_dccp.c | 52 net/netfilter/nf_conntrack_sip.c | 2 net/netfilter/nf_tables_api.c | 17 net/netfilter/nft_byteorder.c | 14 net/netlink/af_netlink.c | 5 net/netlink/diag.c | 7 net/nfc/llcp.h | 1 net/nfc/llcp_commands.c | 15 net/nfc/llcp_core.c | 49 net/nfc/llcp_sock.c | 18 net/nfc/netlink.c | 20 net/nfc/nfc.h | 1 net/sched/act_ipt.c | 70 net/sched/act_pedit.c | 1 net/sched/sch_netem.c | 59 net/sctp/socket.c | 22 net/sunrpc/svcsock.c | 23 net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 12 net/wireless/core.c | 16 net/wireless/reg.c | 16 net/wireless/scan.c | 367 +---- net/wireless/util.c | 2 net/xdp/xsk.c | 5 samples/bpf/tcp_basertt_kern.c | 2 samples/bpf/xdp1_kern.c | 2 samples/bpf/xdp2_kern.c | 2 scripts/Makefile.clang | 3 scripts/Makefile.compiler | 4 scripts/Makefile.modfinal | 2 scripts/Makefile.vmlinux | 1 scripts/mksysmap | 4 scripts/mod/modpost.c | 86 - scripts/package/builddeb | 14 security/apparmor/policy.c | 13 security/apparmor/policy_compat.c | 20 security/apparmor/policy_unpack.c | 100 - security/integrity/evm/evm_crypto.c | 2 security/integrity/evm/evm_main.c | 4 security/integrity/iint.c | 15 security/integrity/ima/ima_modsig.c | 3 security/integrity/ima/ima_policy.c | 3 sound/core/jack.c | 15 sound/core/pcm_memory.c | 44 sound/pci/ac97/ac97_codec.c | 4 sound/pci/hda/patch_realtek.c | 7 sound/soc/amd/acp/acp-pdm.c | 2 sound/soc/codecs/es8316.c | 23 sound/soc/fsl/imx-audmix.c | 9 sound/soc/intel/boards/sof_sdw.c | 18 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 13 tools/bpf/bpftool/feature.c | 24 tools/bpf/resolve_btfids/Makefile | 4 tools/include/nolibc/stdint.h | 10 tools/lib/bpf/bpf_helpers.h | 15 tools/lib/bpf/btf_dump.c | 22 tools/perf/arch/x86/util/Build | 1 tools/perf/arch/x86/util/env.c | 19 tools/perf/arch/x86/util/env.h | 7 tools/perf/arch/x86/util/evsel.c | 16 tools/perf/arch/x86/util/mem-events.c | 19 tools/perf/builtin-bench.c | 2 tools/perf/builtin-script.c | 16 tools/perf/builtin-stat.c | 2 tools/perf/tests/shell/test_task_analyzer.sh | 26 tools/perf/util/bpf_skel/lock_contention.bpf.c | 2 tools/perf/util/bpf_skel/vmlinux.h | 10 tools/perf/util/dwarf-aux.c | 2 tools/perf/util/evsel.h | 24 tools/perf/util/evsel_fprintf.c | 1 tools/perf/util/metricgroup.c | 2 tools/testing/cxl/test/mem.c | 4 tools/testing/kunit/kunit_kernel.py | 6 tools/testing/kunit/mypy.ini | 6 tools/testing/kunit/run_checks.py | 2 tools/testing/selftests/bpf/Makefile | 3 tools/testing/selftests/bpf/prog_tests/check_mtu.c | 2 tools/testing/selftests/bpf/progs/refcounted_kptr.c | 2 tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c | 4 tools/testing/selftests/bpf/test_verifier.c | 24 tools/testing/selftests/bpf/verifier/precise.c | 106 - tools/testing/selftests/cgroup/test_memcontrol.c | 4 tools/testing/selftests/ftrace/ftracetest | 2 tools/testing/selftests/net/rtnetlink.sh | 1 tools/testing/selftests/nolibc/nolibc-test.c | 6 tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot | 2 tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot | 2 tools/testing/selftests/vDSO/vdso_test_clock_getres.c | 4 tools/testing/selftests/wireguard/netns.sh | 30 tools/tracing/rtla/src/osnoise_top.c | 8 tools/virtio/Makefile | 13 879 files changed, 10431 insertions(+), 6344 deletions(-)
Abel Vesa (1):
arm64: dts: qcom: sm8550: Add missing interconnect path to USB HC
Abhijeet Rastogi (1):
ipvs: increase ip_vs_conn_tab_bits range for 64BIT
Adam Ford (2):
drm: bridge: samsung-dsim: Fix PMS Calculator on imx8m[mnp]
clk: imx: composite-8m: Add imx8m_divider_determine_rate
Aditya Gupta (3):
perf tests task_analyzer: Fix bad substitution ${$1} perf tests task_analyzer: Skip tests if no libtraceevent support
powerpc: update ppc_save_regs to save current r1 in pt_regs
Alan Maguire (1):
bpftool: JIT limited misreported as negative value on aarch64
Alex Deucher (1):
drm/amdgpu/sdma4: set align mask to 255
Alexander Gordeev (1):
s390/kasan: fix insecure W+X mapping warning
Alexander Mikhalitsyn (1):
sctp: add bpf_bypass_getsockopt proto callback
Alexander Stein (3):
drm/bridge: ti-sn65dsi83: Fix enable error path drm/bridge: tc358767: Switch to devm MIPI-DSI helpers
nvmem: imx-ocotp: Reverse MAC addresses on all i.MX derivates
Alexander Wetzel (1):
wifi: ath10k: Serialize wake_tx_queue ops
Alexey Gladkov (1):
selftests/bpf: Do not use sign-file as testcase
Alexey Romanov (1):
drivers: meson: secure-pwrc: always enable DMA domain
Allen-KH Cheng (1):
arm64: dts: mediatek: Add cpufreq nodes for MT8192
Alvin Šipraga (1):
extcon: usbc-tusb320: Unregister typec port on driver removal
Amelie Delaunay (2):
mfd: stmfx: Fix error path in stmfx_chip_init
mfd: stmfx: Nullify stmfx->vdd in case of error
Amir Goldstein (2):
ovl: update of dentry revalidate flags after copy up
fanotify: disallow mount/sb marks on kernel internal pseudo fs
Amisha Patel (1):
wifi: wilc1000: fix for absent RSN capabilities WFA testcase
Andres Freund (1):
io_uring: Use io_schedule* in cqring wait
Andrew Davis (1):
arm64: dts: ti: k3-j721e-beagleboneai64: Fix mailbox node status
Andrii Nakryiko (5):
bpf: encapsulate precision backtracking bookkeeping
bpf: improve precision backtrack logging
bpf: maintain bitmasks across all active frames in __mark_chain_precision
bpf: fix propagate_precision() logic for inner frames
libbpf: fix offsetof() and container_of() to work with CO-RE
Andy Chi (1):
ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook
Andy Shevchenko (3):
pinctrl: cherryview: Return correct value if pin in push-pull mode
extcon: Fix kernel doc of property fields to avoid warnings
extcon: Fix kernel doc of property capability fields to avoid warnings
Aneesh Kumar K.V (2):
powerpc/book3s64/mm: Fix DirectMap stats in /proc/meminfo powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
AngeloGioacchino Del Regno (3):
clk: mediatek: clk-mtk: Grab iomem pointer for divider clocks
clk: mediatek: clk-mt8173-apmixedsys: Fix return value for of_iomap() error
clk: mediatek: clk-mt8173-apmixedsys: Fix iomap not released issue
Anjaneyulu (1):
wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
Antonio Borneo (1):
irqchip/stm32-exti: Fix warning on initialized field overwritten
Ard Biesheuvel (1):
efi/libstub: Disable PCI DMA before grabbing the EFI memory map
Arnaldo Carvalho de Melo (2):
perf bench: Add missing setlocale() call to allow usage of %'d style formatting perf script: Fix allocation of evsel->priv related to per-event dump files
Arnaud Vrac (1):
drm/msm/dpu: fix cursor block register bit offset in msm8998 hw catalog
Arnd Bergmann (17):
fs: pipe: reveal missing function protoypes
virt: sevguest: Add CONFIG_CRYPTO dependency
ARM: 9303/1: kprobes: avoid missing-declaration warnings memstick r592: make memstick_debug_get_tpc_name() static drm/amd/display: fix is_timing_changed() prototype drm/nouveau: dispnv50: fix missing-prototypes warning
ARM: ep93xx: fix missing-prototype warnings
ARM: omap2: fix missing tick_broadcast() prototype RDMA/irdma: avoid fortify-string warning in irdma_clr_wqes
crypto: marvell/cesa - Fix type mismatch warning
ksmbd: avoid field overflow warning
staging: vchiq_arm: mark vchiq_platform_init() static
usb: hide unused usbfs_notify_suspend/resume functions
media: tc358746: select CONFIG_GENERIC_PHY
autofs: use flexible array in ioctl structure
ARM: orion5x: fix d2net gpio initialization
Input: ads7846 - fix pointer cast warning
Artur Rojek (2):
sh: dma: Fix DMA channel offset calculation
sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
Aurabindo Pillai (1):
drm/amd/display: Fix artifacting on eDP panels when engaging freesync video mode
Bard Liao (2):
ASoC: Intel: sof_sdw: remove SOF_SDW_TGL_HDMI for MeteorLake devices
ASoC: Intel: sof_sdw: start set codec init function with an adr index
Bart Van Assche (5):
block: Fix the type of the second bdev_op_is_zoned_write() argument
scsi: ufs: Declare ufshcd_{hold,release}() once
scsi: ufs: core: Increase the START STOP UNIT timeout from one to ten seconds
scsi: ufs: core: Fix handling of lrbp->cmd
scsi: ufs: core: Remove a ufshcd_add_command_trace() call
Bartosz Golaszewski (1):
net: stmmac: fix double serdes powerdown
Basavaraj Natikar (2):
USB: Extend pci resume function to handle PM events
xhci: Improve the XHCI system resume time
Benjamin Berg (2):
wifi: cfg80211: rewrite merging of inherited elements
wifi: cfg80211: drop incorrect nontransmitted BSS update code
Bharath SM (1):
SMB3: Do not send lease break acknowledgment if all file handles have been closed
Bhupesh Sharma (3):
arm64: dts: qcom: qrb4210-rb2: Fix CD gpio for SDHC2
dt-bindings: qcom-qce: Fix compatible combinations for SM8150 and IPQ4019 SoCs
usb: misc: eud: Fix eud sysfs path (use 'qcom_eud')
Biju Das (1):
clk: renesas: rzg2l: Fix CPG_SIPLL5_CLK1 register write
Bjorn Andersson (3):
dt-bindings: arm-smmu: Fix SC8280XP Adreno binding drm/msm/dp: Drop aux devices together with DP controller drm/msm/dp: Free resources after unregistering them
Bob Pearson (1):
RDMA/rxe: Fix access checks in rxe_check_bind_mw
Bob Peterson (1):
gfs2: Fix duplicate should_fault_in_pages() call
Boris Burkov (2):
btrfs: insert tree mod log move in push_node_left
btrfs: warn on invalid slot in tree mod log rewind
Bosi Zhang (1):
clk: mediatek: fix of_iomap memory leak
Brendan Cunningham (1):
IB/hfi1: Fix wrong mmu_node used for user SDMA packet after invalidate
Caleb Connolly (1):
Input: pm8941-powerkey - fix debounce on gen2+ PMICs
Cambda Zhu (1):
ipvlan: Fix return value of ipvlan_queue_xmit()
Chaitanya Kulkarni (4):
nvme-core: fix memory leak in dhchap_secret_store
nvme-core: fix memory leak in dhchap_ctrl_secret
nvme-core: add missing fault-injection cleanup
nvme-core: fix dev_pm_qos memleak
Chao Yu (6):
f2fs: fix potential deadlock due to unpaired node_write lock use
f2fs: fix to avoid NULL pointer dereference f2fs_write_end_io()
f2fs: support errors=remount-ro|continue|panic mountoption
f2fs: flush error flags in workqueue
f2fs: check return value of freeze_super()
f2fs: fix error path handling in truncate_dnode()
Chen-Yu Tsai (1):
soc: mediatek: SVS: Fix MT8192 GPU node name
Chengchang Tang (1):
RDMA/hns: Fix hns_roce_table_get return value
Chengfeng Ye (1):
sctp: fix potential deadlock on &net->sctp.addr_wq_lock
Chevron Li (1):
mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
ChiYuan Huang (1):
power: supply: rt9467: Make charger-enable control as logic level
Chia-I Wu (1):
amdgpu: validate offset_in_bo of drm_amdgpu_gem_va
Chris Morgan (1):
arm64: dts: rockchip: Fix compatible for Bluetooth on rk3566-anbernic
Christian Borntraeger (1):
KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler
Christian Brauner (1):
nfsd: use vfs setgid helper
Christian König (3):
drm/amdgpu: fix number of fence calculations drm/amdgpu: make sure BOs are locked in amdgpu_vm_get_memory drm/amdgpu: make sure that BOs have a backing store
Christian Lamparter (1):
ARM: dts: BCM5301X: fix duplex-full => full-duplex
Christian Loehle (1):
mmc: block: ioctl: do write error check for spi
Christian Marangi (1):
leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
Christoph Hellwig (11):
splice: don't call file_accessed in copy_splice_read
btrfs: always read the entire extent_buffer
btrfs: don't use btrfs_bio_ctrl for extent buffer reading
btrfs: return bool from lock_extent_buffer_for_io
btrfs: submit a writeback bio per extent_buffer
btrfs: fix range_end calculation in extent_write_locked_range
btrfs: don't fail writeback when allocating the compression context fails
btrfs: only call __extent_writepage_io from extent_write_locked_range
btrfs: don't treat zoned writeback as being from an async helper thread
btrfs: fix file_offset for REQ_BTRFS_ONE_ORDERED bios that get split
btrfs: fix dirty_metadata_bytes for redirtied buffers
Christophe JAILLET (20):
thermal/drivers/sun8i: Fix some error handling paths in sun8i_ths_probe()
wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
wifi: atmel: Fix an error handling path in atmel_probe()
wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
wifi: ray_cs: Fix an error handling path in ray_probe()
fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe() drm/amd/display: Fix a test CalculatePrefetchSchedule() drm/amd/display: Fix a test dml32_rq_dlg_get_rq_reg()
pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
cpufreq: tegra194: Fix an error handling path in tegra194_cpufreq_probe()
usb: dwc2: Fix some error handling paths
media: common: saa7146: Avoid a leak in vmalloc_to_sg()
usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
usb: dwc3: qcom: Fix an error handling path in dwc3_qcom_probe()
usb: dwc3-meson-g12a: Fix an error handling path in dwc3_meson_g12a_probe()
mfd: wcd934x: Fix an error handling path in wcd934x_slim_probe()
mfd: stmpe: Only disable the regulators if they are enabled
rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
Christophe Leroy (3):
kcsan: Don't expect 64 bits atomic builtins from 32 bits architectures powerpc/interrupt: Don't read MSR from interrupt_exit_kernel_prepare() powerpc/signal32: Force inlining of __unsafe_save_user_regs() and save_tm_user_regs_unsafe()
Chuck Lever (1):
svcrdma: Prevent page release when nothing was received
Clark Wang (1):
i3c: master: svc: fix cpu schedule in spin lock
Claudiu Beznea (13):
clk: vc5: check memory returned by kasprintf()
clk: cdce925: check return value of kasprintf()
clk: si5341: return error if one synth clock registration fails
clk: si5341: check return value of {devm_}kasprintf()
clk: si5341: free unused memory on probe failure
clk: keystone: sci-clk: check return value of kasprintf()
clk: ti: clkctrl: check return value of kasprintf()
clk: clocking-wizard: check return value of devm_kasprintf()
ASoC: imx-audmix: check return value of devm_kasprintf()
pinctrl: microchip-sgpio: check return value of devm_kasprintf()
pinctrl: at91-pio4: check return value of devm_kasprintf()
misc: fastrpc: check return value of devm_kasprintf()
phy: tegra: xusb: check return value of devm_kzalloc()
Colin Ian King (2):
kselftest: vDSO: Fix accumulation of uninitialized ret when CLOCK_REALTIME is undefined powerpc/powernv/sriov: perform null check on iov before dereferencing iov
Cristian Ciocaltea (3):
ASoC: es8316: Increment max value for ALC Capture Target Volume control
ASoC: es8316: Do not set rate constraints for unsupported MCLKs
arm64: dts: rockchip: Assign ES8316 MCLK rate on rk3588-rock-5b
Dai Ngo (1):
NFSD: add encoding of op_recall flag for write delegation
Dan Carpenter (14):
wifi: rtw89: fix rtw89_read_chip_ver() for RTL8852B and RTL8851B
wifi: rtw88: unlock on error path in rtw_ops_add_interface() drm/imx/lcdc: fix a NULL vs IS_ERR() bug in probe
driver: soc: xilinx: use _safe loop iterator to avoid a use after free
clk: imx: scu: use _safe list iterator to avoid a use after free accel/habanalabs: fix gaudi2_get_tpc_idle_status() return
clk: bcm: rpi: Fix off by one in raspberrypi_discover_clocks()
clk: clocking-wizard: Fix Oops in clk_wzrd_register_divider()
pinctrl: at91: fix a couple NULL vs IS_ERR() checks
modpost: fix off by one in is_executable_section()
w1: fix loop in w1_fini()
media: i2c: imx296: fix error checking in imx296_read_temperature()
media: atomisp: gmin_platform: fix out_len in gmin_get_config_dsm_var()
pwm: ab8500: Fix error code in probe()
Dan Williams (5):
dax: Fix dax_mapping_release() use after free
dax: Introduce alloc_dev_dax_id()
cxl/region: Move cache invalidation before region teardown, and before setup cxl/region: Flag partially torn down regions as unusable cxl/region: Fix state transitions after reset failure
Daniel Bristot de Oliveira (1):
rtla/hwnoise: Reduce runtime to 75%
Daniel Golle (2):
arm64: dts: mt7986: increase bl2 partition on NAND of Bananapi R3
cpufreq: mediatek: correct voltages for MT7622 and MT7623
Daniel Latypov (1):
kunit: tool: undo type subscripts for subprocess.Popen
Daniel Lundberg Pedersen (1):
media: videodev2.h: Fix p_s32 and p_s64 pointer types
Daniel Miess (1):
Revert "drm/amd/display: Move DCN314 DOMAIN power control to DMCUB"
Daniel Scally (1):
media: i2c: Correct format propagation for st-mipid02
Daniil Dulov (2):
drm/amdkfd: Fix potential deallocation of previously deallocated memory.
media: usb: Check az6007_read() return value
Danila Chernetsov (1):
apparmor: fix missing error check for rhashtable_insert_fast
Dario Binacchi (1):
drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
Dave Marchevsky (4):
bpf: Remove anonymous union in bpf_kfunc_call_arg_meta
bpf: Set kptr_struct_meta for node param to list and rbtree insert funcs
bpf: Fix __bpf_{list,rbtree}_add's beginning-of-node calculation
bpf: Make bpf_refcount_acquire fallible for non-owning refs
David E. Box (2):
platform/x86/intel/pmc: Add resume callback platform/x86/intel/pmc/mtl: Put devices in D3 during resume
David Howells (3):
splice: Fix filemap_splice_read() to use the correct inode
ocfs2: Fix use of slab data with sendpage
afs: Fix accidental truncation when storing data
David Sterba (1):
btrfs: add block-group tree to lockdep classes
Davide Tronchin (1):
USB: serial: option: add LARA-R6 01B PIDs
Demi Marie Obenour (1):
block: increment diskseq on all media change events
Devi Priya (1):
arm64: dts: qcom: ipq9574: Update the size of GICC & GICV regions
Ding Hui (2):
PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
Dmitry Antipov (1):
wifi: ath9k: convert msecs to jiffies where needed
Dmitry Baryshkov (14):
drm/panel: sharp-ls043t1le01: adjust mode settings drm/msm/dpu: enable DSPP_2/3 for LM_2/3 on sm8450 drm/msm/dsi: don't allow enabling 14nm VCO with unprogrammed rate
arm64: dts: qcom: pm8998: don't use GIC_SPI for SPMI interrupts
ARM: dts: qcom: apq8074-dragonboard: Set DMA as remotely controlled drm/msm/a6xx: don't set IO_PGTABLE_QUIRK_ARM_OUTER_WBWA with coherent SMMU drm/msm/a5xx: really check for A510 in a5xx_gpu_init drm/msm/dpu: do not enable color-management if DSPPs are not available drm/msm/dpu: fix sc7280 and sc7180 PINGPONG done interrupts drm/msm/dpu: correct MERGE_3D length
clk: qcom: mmcc-msm8974: remove oxili_ocmemgx_clk
clk: qcom: mmcc-msm8974: use clk_rcg2_shared_ops for mdp_clk_src clock
clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
spi: spi-geni-qcom: enable SPI_CONTROLLER_MUST_TX for GPI DMA mode
Dmitry Torokhov (1):
Input: tests - fix input_test_match_device_id test
Douglas Anderson (9):
watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config watchdog/perf: more properly prevent false positives with turbo modes
mmc: mediatek: Avoid ugly error message when SDIO wakeup IRQ isn't used watchdog/hardlockup: move perf hardlockup checking/panic to common watchdog.c watchdog/hardlockup: rename some "NMI watchdog" constants/function watchdog/hardlockup: keep kernel.nmi_watchdog sysctl as 0444 if probe fails
arm64: dts: mediatek: mt8183: Add mediatek,broken-save-restore-fw to kukui
arm64: dts: mediatek: mt8192: Add mediatek,broken-save-restore-fw to asurada
arm64: dts: mediatek: mt8195: Add mediatek,broken-save-restore-fw to cherry
Dragos Tatulea (1):
virtio-vdpa: Fix unchecked call to NULL set_vq_affinity
Duoming Zhou (2):
Input: cyttsp4_core - change del_timer_sync() to timer_shutdown_sync()
media: usb: siano: Fix warning due to null work_func_t function pointer
EJ Hsu (1):
phy: tegra: xusb: Clear the driver reference in usb-phy dev
Eduard Zingerman (3):
selftests/bpf: Fix invalid pointer check in get_xlated_program()
bpf: Use scalar ids in mark_chain_precision()
bpf: Verify scalar ids mapping in regsafe() using check_ids()
Edward Cree (2):
sfc: release encap match in efx_tc_flow_free()
sfc: fix crash when reading stats while NIC is resetting
Edwin Peer (1):
rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
Eric Biggers (2):
fsverity: use shash API instead of ahash API
fsverity: don't use bio_first_page_all() in fsverity_verify_bio()
Eric Dumazet (6):
netlink: fix potential deadlock in netlink_set_err()
netlink: do not hard code device address lenth in fdb dumps
bonding: do not assume skb mac_header is set
sch_netem: fix issues in netem_change() vs get_dist_table()
net: fix net_dev_start_xmit trace event vs skb_transport_offset()
tcp: annotate data races in __tcp_oow_rate_limited()
Eric Farman (1):
vfio/mdev: Move the compat_class initialization to module init
Evan Quan (1):
drm/amd/pm: revise the ASPM settings for thunderbolt attached scenario
Fabian Frederick (1):
jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
Fabrizio Lamarque (3):
dt-bindings: iio: ad7192: Add mandatory reference voltage source
iio: adc: ad7192: Fix null ad7192_state pointer access
iio: adc: ad7192: Fix internal/external clock selection
Fancy Fang (1):
pwm: imx-tpm: force 'real_period' to be zero in suspend
Fedor Pchelkin (2):
wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
Fei Shao (1):
clk: Fix memory leak in devm_clk_notifier_register()
Felix Fietkau (1):
wifi: cfg80211: fix receiving mesh packets without RFC1042 header
Feng Mingxi (1):
clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
Filipe Manana (6):
btrfs: fix race when deleting free space root from the dirty cow roots list
btrfs: do not BUG_ON() on tree mod log failure at balance_level()
btrfs: fix race when deleting quota root from the dirty cow roots list
btrfs: add missing error handling when logging operation while COWing extent buffer
btrfs: fix extent buffer leak after tree mod log failure at split_node()
btrfs: do not BUG_ON() on tree mod log failure at __btrfs_cow_block()
Florent Revest (1):
netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
Florian Westphal (4):
netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one net/sched: act_ipt: add sanity checks on table name and hook locations net/sched: act_ipt: add sanity checks on skb before calling target net/sched: act_ipt: zero skb->cb before calling target
Francesco Dolcini (9):
drm/bridge: tc358768: always enable HS video mode drm/bridge: tc358768: fix PLL parameters computation drm/bridge: tc358768: fix PLL target frequency drm/bridge: tc358768: fix TCLK_ZEROCNT computation drm/bridge: tc358768: Add atomic_get_input_bus_fmts() implementation drm/bridge: tc358768: fix TCLK_TRAILCNT computation drm/bridge: tc358768: fix THS_ZEROCNT computation drm/bridge: tc358768: fix TXTAGOCNT computation drm/bridge: tc358768: fix THS_TRAILCNT computation
Frieder Schrempf (1):
drm/bridge: ti-sn65dsi83: Fix enable/disable flow to meet spec
Gao Xiang (2):
erofs: kill hooked chains to avoid loops on deduplicated compressed images
erofs: fix compact 4B support for 16k block size
Geert Uytterhoeven (11):
regulator: core: Fix more error checking for debugfs_create_dir()
regulator: core: Streamline debugfs operations
Input: tests - fix use-after-free and refcount underflow in input_test_exit()
Input: tests - modular KUnit tests should not depend on KUNIT=y
ARM: dts: iwg20d-q7-common: Fix backlight pwm specifier
HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
media: renesas: fdp1: Identify R-Car Gen2 versions
lib: dhry: fix sleeping allocations inside non-preemptable section
sh: mach-r2d: Handle virq offset in cascaded IRL demux
sh: mach-highlander: Handle virq offset in cascaded IRL demux
sh: mach-dreamcast: Handle virq offset in cascaded IRQ demux
Gilad Sever (3):
bpf: Factor out socket lookup functions for the TC hookpoint.
bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
bpf: Fix bpf socket lookup from tc/xdp to respect socket VRF bindings
Greg Kroah-Hartman (2):
Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" Linux 6.4.4
Gregory Greenman (1):
wifi: iwlwifi: mvm: add support for Extra EHT LTF
Guenter Roeck (1):
hwmon: (pmbus/adm1275) Fix problems with temperature monitoring on ADM1272
Guillaume Nault (1):
pptp: Fix fib lookup calls.
Haifeng Xu (1):
selftests: cgroup: fix unexpected failure on test_memcg_low
Hans de Goede (5):
platform/x86: lenovo-yogabook: Fix work race on remove() platform/x86: lenovo-yogabook: Reprobe devices on remove() platform/x86: lenovo-yogabook: Set default keyboard backligh brightness on probe()
media: atomisp: gc0310: Fix double free in gc0310_remove()
media: atomisp: ov2680: Stop using half pixelclock for binned modes
Hao Jia (1):
sched/core: Avoid multiple calling update_rq_clock() in __cfsb_csd_unthrottle()
Hao Luo (1):
clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
Hareshx Sankar Raj (2):
crypto: qat - unmap buffer before free for DH
crypto: qat - unmap buffers before free for RSA
Hariprasad Kelam (5):
octeontx2-af: cn10kb: fix interrupt csr addresses
octeontx2-af: Fix mapping for NIX block from CGX connection
octeontx2-af: Add validation before accessing cgx and lmac
octeontx2-af: Reset MAC features in FLR
octeontx-af: fix hardware timestamp configuration
Herbert Xu (1):
hwrng: virtio - Fix race on data_avail and actual data
Hersen Wu (1):
Revert "drm/amd/display: edp do not add non-edid timings"
Ian Rogers (3):
perf evsel: Don't let for_each_group() treat the head of the list as one of its nodes perf tool x86: Fix perf_env memory leak
perf bpf: Move the declaration of struct rq
Ilan Peer (2):
wifi: mac80211: Fix permissions for valid_links debugfs entry
wifi: ieee80211: Fix the common size calculation for reconfiguration ML
Ilia.Gavrilov (1):
netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
Ilkka Koskinen (1):
perf: arm_cspmu: Set irq affinitiy only if overflow interrupt is used
Ilya Maximets (1):
xsk: Honor SO_BINDTODEVICE on bind
Jaegeuk Kim (1):
f2fs: fix the wrong condition to determine atomic context
James Clark (1):
coresight: Fix loss of connection info when a module is unloaded
Jan Kara (6):
ext4: Remove ext4 locking of moved directory
Revert "f2fs: fix potential corruption when moving a directory" Revert "udf: Protect rename against modification of moved directory"
fs: Establish locking order for unrelated directories
fs: Lock moved directories
fs: no need to check source
Jani Nikula (1):
drm/i915: hide mkwrite_device_info() better
Jason A. Donenfeld (2):
wireguard: queueing: use saner cpu selection wrapping
wireguard: netlink: send staged packets when setting initial private key
Jason Gunthorpe (2):
iommufd: Do not access the area pointer after unlocking
iommufd: Call iopt_area_contig_done() under the lock
Jean-Philippe Brucker (2):
iommu/virtio: Detach domain on endpoint release iommu/virtio: Return size mapped for a detached domain
Jeff Layton (1):
nfsd: move init of percpu reply_cache_stats counters back to nfsd_init_net
Jens Axboe (1):
io_uring: wait interruptibly for request completions on exit
Jeremy Sowden (1):
lib/ts_bm: reset initial match offset for every block of text
Jesper Dangaard Brouer (3):
igc: Enable and fix RX hash usage by netstack samples/bpf: xdp1 and xdp2 reduce XDPBUFSIZE to 60 selftests/bpf: Fix check_mtu using wrong variable type
Jessica Zhang (2):
drm/msm/dpu: Fix slice_last_group_size calculation drm/msm/dsi: Remove incorrect references to slice_count
Jiadong Zhu (1):
drm/amdgpu: Skip mark offset for high priority rings
Jianmin Lv (3):
irqchip/loongson-eiointc: Fix irq affinity setting during resume irqchip/loongson-liointc: Fix IRQ trigger polarity irqchip/loongson-pch-pic: Fix initialization of HT vector register
Jiasheng Jiang (4):
pstore/ram: Add check for kstrdup
wifi: ath11k: Add missing check for ioremap
pinctrl: npcm7xx: Add missing check for ioremap
mfd: intel-lpss: Add missing check for platform_get_resource
Jimmy Assarsson (2):
can: kvaser_pciefd: Add function to set skb hwtstamps
can: kvaser_pciefd: Set hardware timestamp on transmitted packets
Jinhong Zhu (1):
scsi: qedf: Fix NULL dereference in error handling
Jinke Han (1):
blk-throttle: Fix io statistics for cgroup v1
Johan Hovold (1):
Bluetooth: fix invalid-bdaddr quirk for non-persistent setup
Johannes Berg (9):
wifi: iwlwifi: mvm: send time sync only if needed
wifi: mac80211: recalc min chandef for new STA links
wifi: mac80211: add helpers to access sband iftype data
wifi: iwlwifi: mvm: correctly access HE/EHT sband capa
wifi: iwlwifi: pull from TXQs with softirqs disabled
wifi: cfg80211: fix regulatory disconnect with OCB/NAN
wifi: iwlwifi: mvm: indicate HW decrypt for beacon protection
wifi: iwlwifi: mvm: check only affected links
wifi: cfg80211: fix regulatory disconnect for non-MLO
John Johansen (4):
apparmor: fix: kzalloc perms tables for shared dfas
apparmor: add missing failure check in compute_xmatch_perms
apparmor: fix policy_compat permission remap with extended permissions
apparmor: fix profile verification and enable it
John Ogness (4):
serial: core: lock port for stop_rx() in uart_suspend_port()
serial: 8250: lock port for stop_rx() in omap8250_irq()
serial: core: lock port for start_rx() in uart_resume_port()
serial: 8250: lock port for UART_IER access in omap8250_irq()
John Paul Adrian Glaubitz (2):
irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
sh: j2: Use ioremap() to translate device tree address into kernel memory
Jonas Gorski (1):
spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
Josh Triplett (1):
kbuild: builddeb: always make modules_install, to install modules.builtin*
Jouni Högander (1):
drm/i915/psr: Use hw.adjusted mode when calculating io/fast wake times
Joy Chakraborty (1):
spi: dw: Round of n_bytes to power of 2
Juergen Gross (6):
x86/mtrr: Remove physical address size calculation
x86/mtrr: Support setting MTRR state for software defined MTRRs x86/hyperv: Set MTRR state when running as SEV-SNP Hyper-V guest x86/mtrr: Replace size_or_mask and size_and_mask with a much easier concept x86/xen: Set MTRR state when running as Xen PV initial domain x86/mm: Fix __swp_entry_to_pte() for Xen PV guests
Junhao He (1):
drivers/perf: hisi: Don't migrate perf to the CPU going to teardown
Junyan Ye (1):
PCI: ftpci100: Release the clock resources
Justin Tee (1):
scsi: lpfc: Revise NPIV ELS unsol rcv cmpl logic to drop ndlp based on nlp_state
Kai Ma (1):
clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
Kalesh AP (4):
RDMA/bnxt_re: Fix to remove unnecessary return labels RDMA/bnxt_re: Use unique names while registering interrupts RDMA/bnxt_re: Remove a redundant check inside bnxt_re_update_gid RDMA/bnxt_re: Fix to remove an unnecessary log
Kan Liang (1):
perf metric: Fix no group check
Karol Kolacinski (1):
ice: handle extts in the miscellaneous interrupt thread
Kashyap Desai (2):
RDMA/bnxt_re: wraparound mbox producer index RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context
Kathiravan T (3):
clk: qcom: gcc: ipq5332: Use floor ops for SDCC clocks
clk: qcom: ipq5332: fix the src parameter in ftbl_gcc_apss_axi_clk_src
clk: qcom: ipq5332: fix the order of SLEEP_CLK and XO clock
Keerthy (1):
arm64: dts: ti: k3-j7200: Fix physical address of pin
Kees Cook (1):
um: Use HOST_DIR for mrproper
Kenneth Feng (1):
drm/amd/pm: add abnormal fan detection for smu 13.0.0
Kirill A. Shutemov (2):
x86/mm: Allow guest.enc_status_change_prepare() to fail
x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
Konrad Dybcio (11):
drm/msm/dpu: Set DPU_DATA_HCTL_EN for in INTF_SC7180_MASK
arm64: dts: qcom: qdu1000: Flush RSC sleep & wake votes
arm64: dts: qcom: sdm670: Flush RSC sleep & wake votes
arm64: dts: qcom: sdm845: Flush RSC sleep & wake votes
arm64: dts: qcom: sm8550: Flush RSC sleep & wake votes
dt-bindings: power: reset: qcom-pon: Only allow reboot-mode pre-pmk8350
interconnect: qcom: rpm: Rename icc provider num_clocks to num_bus_clocks
interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore
clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable
clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling
Krishna Kurapati (1):
usb: dwc3: gadget: Propagate core init errors to UDC during pullup
Krzysztof Kozlowski (27):
nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
ARM: dts: qcom: msm8974: do not use underscore in node name (again)
arm64: dts: qcom: ipq6018: correct qrng unit address
arm64: dts: qcom: msm8916: correct camss unit address
arm64: dts: qcom: msm8916: correct MMC unit address
arm64: dts: qcom: msm8916: correct WCNSS unit address
arm64: dts: qcom: msm8953: correct IOMMU unit address
arm64: dts: qcom: msm8953: correct WCNSS unit address
arm64: dts: qcom: msm8976: correct MMC unit address
arm64: dts: qcom: msm8994: correct SPMI unit address
arm64: dts: qcom: msm8996: correct camss unit address
arm64: dts: qcom: sdm630: correct camss unit address
arm64: dts: qcom: sdm845: correct camss unit address
arm64: dts: qcom: sm6115: correct thermal-sensor unit address
arm64: dts: qcom: sm8350: correct DMA controller unit address
arm64: dts: qcom: sm8350: correct PCI phy unit address
arm64: dts: qcom: sm8350: correct USB phy unit address
arm64: dts: qcom: sm8550: correct crypto unit address
arm64: dts: qcom: sm8550: correct pinctrl unit address
arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
arm64: dts: qcom: apq8096: fix fixed regulator name property
memory: brcmstb_dpfe: fix testing array offset after use
soundwire: qcom: use consistently 'ctrl' as state variable name
soundwire: qcom: fix unbalanced pm_runtime_put()
soundwire: debugfs: fix unbalanced pm_runtime_put()
regulator: tps65219: Fix matching interrupts for their regulators
ARM: dts: qcom: ipq4019: fix broken NAND controller properties override
Kuniyuki Iwashima (2):
gtp: Fix use-after-free in __gtp_encap_destroy().
netlink: Add __sock_i_ino() for __netlink_diag_dump().
Kuogee Hsieh (2):
drm/msm/dpu: set DSC flush bit correctly at MDP CTL flush register drm/msm/dpu: always clear every individual pending flush mask
Laurentiu Tudor (1):
bus: fsl-mc: don't assume child devices are all fsl-mc devices
Lecopzer Chen (3):
watchdog: remove WATCHDOG_DEFAULT watchdog/hardlockup: change watchdog_nmi_enable() to void watchdog/perf: adapt the watchdog_perf interface for async model
Li Nan (7):
blk-iocost: use spin_lock_irqsave in adjust_inuse_and_calc_cost md/raid10: check slab-out-of-bounds in md_bitmap_get_counter md/raid10: fix overflow of md/safe_mode_delay md/raid10: fix wrong setting of max_corr_read_errors md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request md/raid10: fix io loss while replacement replace rdev md/raid10: fix the condition to call bio_end_io_acct()
Li Yang (2):
APEI: GHES: correctly return NULL for ghes_get_devices()
usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
Lin Ma (2):
net: nfc: Fix use-after-free caused by nfc_llcp_find_local net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
Linus Walleij (15):
ARM/mfd/gpio: Fixup TPS65010 regression on OMAP1 OSK1
ARM: omap1: Drop header on AMS Delta
ARM: omap1: Remove reliance on GPIO numbers from PalmTE
ARM: omap1: Remove reliance on GPIO numbers from SX1
Input: ads7846 - Convert to use software nodes ARM/mmc: Convert old mmci-omap to GPIO descriptors
ARM: omap1: Fix up the Nokia 770 board device IRQs
ARM: omap1: Make serial wakeup GPIOs use descriptors
ARM: omap1: Exorcise the legacy GPIO header ARM/gpio: Push OMAP2 quirk down into TWL4030 driver
ARM: omap2: Get USB hub reset GPIO from descriptor
ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors ARM/musb: omap2: Remove global GPIO numbers from TUSB6010
ARM: dts: qcom: msm8660: Fix regulator node names
Input: ads7846 - Fix usage of match data
Liu Peibao (1):
irqchip/loongson-pch-pic: Fix potential incorrect hwirq assignment
Luben Tuikov (1):
drm/amdgpu: Fix usage of UMC fill record in RAS
Luc Ma (1):
drm/vram-helper: fix function names in vram helper doc
Luca Weiss (2):
Input: drv260x - sleep between polling GO bit
arm64: dts: qcom: pm7250b: add missing spmi-vadc include
Luiz Augusto von Dentz (1):
Bluetooth: MGMT: Fix marking SCAN_RSP as not connectable
Manivannan Sadhasivam (2):
PCI: qcom: Use DWC helpers for modifying the read-only DBI registers
PCI: qcom: Disable write access to read only registers for IP v2.9.0
Mantas Pucka (1):
clk: qcom: gcc-ipq6018: Use floor ops for sdcc clocks
Marc Zyngier (2):
drivers/perf: apple_m1: Force 63bit counters for M2 CPUs
risc-v: Fix order of IPI enablement vs RCU startup
Marek Vasut (12):
wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled
wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019
clk: vc5: Fix .driver_data content in i2c_device_id
clk: vc7: Fix .driver_data content in i2c_device_id
clk: rs9: Fix .driver_data content in i2c_device_id
Input: adxl34x - do not hardcode interrupt trigger type
ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
ARM: dts: stm32: Shorten the AV96 HDMI sound card name
ARM: dts: stm32: Fix audio routing on STM32MP15xx DHCOM PDK2
media: videodev2.h: Fix struct v4l2_input tuner index comment
pwm: sysfs: Do not apply state to already disabled PWMs
Marijn Suijten (5):
drm/msm/dpu: Use V4.0 PCC DSPP sub-block in SC7[12]80
arm64: dts: qcom: sm8250-edo: Panel framebuffer is 2.5k instead of 4k drm/msm/dpu: Drop unused poll_timeout_wr_ptr PINGPONG callback drm/msm/dpu: Move autorefresh disable from CMD encoder to pingpong drm/msm/dpu: Disable pingpong TE on DPU 5.0.0 and above
Mario Limonciello (2):
drm/amd: Don't try to enable secure display TA multiple times
usb: typec: ucsi: Mark dGPUs as DEVICE scope
Mark Brown (2):
selftests/ftace: Fix KTAP output ordering arm64/signal: Restore TPIDR2 register rather than memory state
Mark Pearson (4):
platform/x86: think-lmi: mutex protection around multiple WMI calls platform/x86: think-lmi: Correct System password interface platform/x86: think-lmi: Correct NVME password handling platform/x86: thinkpad_acpi: Fix lkp-tests warnings for platform profiles
Mark Rutland (1):
locking/atomic: arm: fix sync ops
Markus Elfring (1):
drm/bridge: it6505: Move a variable assignment behind a null pointer check in receive_timing_debugfs_show()
Martin Blumenstingl (1):
ARM: dts: meson8: correct uart_B and uart_C clock references
Martin Habets (1):
sfc: support for devlink port requires MAE access
Martin KaFai Lau (1):
libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE
Martin Kaiser (1):
hwrng: st - keep clock enabled while hwrng is registered
Martin Kepplinger (1):
media: hi846: fix usage of pm_runtime_get_if_in_use()
Masahiro Yamada (6):
modpost: remove broken calculation of exception_table_entry size
modpost: fix section mismatch message for R_ARM_ABS32
modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
kbuild: deb-pkg: remove the CONFIG_MODULES check in buildeb
kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS
Mathieu Desnoyers (1):
mm: move mm_count into its own cache line
Matt Corallo (1):
btrfs: add handling for RAID1C23/DUP to btrfs_reduce_alloc_profile
Matt Roper (4):
drm/i915/display: Move display device info to header under display/ drm/i915: Convert INTEL_INFO()->display to a pointer drm/i915/display: Move display runtime info to display structure drm/i915/display: Make display responsible for probing its own IP
Matthew Wilcox (Oracle) (1):
writeback: account the number of pages written back
Matti Lehtimäki (1):
thermal/drivers/qcom/tsens-v0_1: Add support for MSM8226
Matti Vaittinen (1):
drivers: fwnode: fix fwnode_irq_get[_byname]()
Maxim Kochetkov (1):
net: axienet: Move reset before 64-bit DMA detection
Maxime Coquelin (1):
vduse: fix NULL pointer dereference
Maxime Ripard (1):
clk: Export clk_hw_forward_rate_request()
Maíra Canal (3):
drm/vkms: isolate pixel conversion functionality
drm: Add fixed-point helper to get rounded integer values drm/vkms: Fix RGB565 pixel conversion
Michael Schmitz (4):
block: fix signed int overflow in Amiga partition support
block: add overflow checks for Amiga partition support
block: change all __u32 annotations to __be32 in affs_hardblocks.h block/partition: fix signedness issue for Amiga partitions
Michael Walle (2):
ARM: dts: lan966x: kontron-d10: fix board reset
ARM: dts: lan966x: kontron-d10: fix SPI CS
Michal Wilczynski (1):
platform/x86/dell/dell-rbtn: Fix resources leaking on error path
Mike Leach (1):
coresight: etm4x: Fix missing trctraceidr file in sysfs
Ming Lei (2):
blk-mq: don't queue plugged passthrough requests into scheduler
blk-mq: don't insert passthrough request into sw queue
Ming Qian (3):
media: amphion: drop repeated codec data for vc1l format
media: amphion: drop repeated codec data for vc1g format
media: amphion: initiate a drain of the capture queue in dynamic resolution change
Mingzhe Zou (1):
bcache: fixup btree_cache_wait list damage
Mirsad Goran Todorovac (1):
test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
Muchun Song (1):
kernfs: fix missing kernfs_idr_lock to remove an ID from the IDR
Mukesh Sisodiya (2):
wifi: iwlwifi: mvm: Handle return value for iwl_mvm_sta_init
wifi: iwlwifi: fw: print PC register value instead of address
Namhyung Kim (3):
perf dwarf-aux: Fix off-by-one in die_get_varname() perf stat: Reset aggr stats for each run perf test: Set PERF_EXEC_PATH for script execution
Naohiro Aota (3):
btrfs: delete unused BGs while reclaiming BGs
btrfs: bail out reclaim process if filesystem is read-only
btrfs: reinsert BGs failed to reclaim
Nathan Chancellor (4):
mips: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation powerpc/vdso: Include CLANG_FLAGS explicitly in ldflags-y
kbuild: Add CLANG_FLAGS to as-instr
kbuild: Add KBUILD_CPPFLAGS to as-option invocation
Neil Armstrong (1):
phy: qcom: qmp-combo: fix Display Port PHY configuration for SM8550
NeilBrown (1):
lockd: drop inappropriate svc_get() from locked_get()
Nicholas Kazlauskas (1):
drm/amd/display: Explicitly specify update type per plane info change
Nicholas Piggin (1):
powerpc/64s: Fix VAS mm use after free
Nick Child (1):
ibmvnic: Do not reset dql stats on NON_FATAL err
Nico Boehr (1):
KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
Nicolas Cavallari (1):
wifi: mac80211: Remove "Missing iftype sband data/EHT cap" spam
Nikita Zhandarovich (4):
PM: domains: fix integer overflow issues in genpd_parse_state()
radeon: avoid double free in ci_dpm_init()
hwmon: (f71882fg) prevent possible division by zero drm/radeon: fix possible division-by-zero errors
Nipun Gupta (1):
cdx: fix driver managed dma support
Nirmal Patel (1):
PCI: vmd: Reset VMD config register between soft reboots
Nishanth Menon (3):
arm64: dts: ti: k3-j784s4-evm: Fix main_i2c0 alias
arm64: dts: ti: k3-am69-sk: Fix main_i2c0 alias
mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0Nícolas F. R. A. Prado (2):
drm/bridge: anx7625: Prevent endless probe loop
arm64: dts: mediatek: mt8192: Fix CPUs capacity-dmips-mhz
Olga Kornievskaia (1):
NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
Olivier Moysan (1):
ARM: dts: stm32: fix i2s endpoint format property for stm32mp15xx-dkx
Pablo Neira Ayuso (2):
netfilter: nf_tables: unbind non-anonymous set if rule construction fails
netfilter: nf_tables: fix underflow in chain reference counter
Pali Rohár (1):
powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node
Paul E. McKenney (3):
rcu: Make rcu_cpu_starting() rely on interrupts being disabled
rcu-tasks: Stop rcu_tasks_invoke_cbs() from using never-onlined CPUs
rcutorture: Correct name of use_softirq module parameter
Pauli Virtanen (1):
Bluetooth: ISO: use hci_sync for setting CIG parameters
Paulo Alcantara (2):
smb: client: fix broken file attrs with nodfs mounts
smb: client: fix shared DFS root mounts with different prefixes
Pawel Dembicki (1):
net: dsa: vsc73xx: fix MTU configuration
Peng Fan (2):
thermal/drivers/qoriq: Only enable supported sensors tools/virtio: fix build break for aarch64
Pengcheng Yang (1):
samples/bpf: Fix buffer overflow in tcp_basertt
Peter Seiderer (1):
wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
Phil Elwell (1):
nvmem: rmem: Use NVMEM_DEVID_AUTO
Pierre Morel (1):
KVM: s390: vsie: fix the length of APCB bitmap
Pierre-Clément Tosi (1):
scripts/mksysmap: Fix badly escaped '$'
Prashanth K (2):
usb: gadget: u_serial: Add null pointer check in gserial_suspend
usb: common: usb-conn-gpio: Set last role to unknown before initial detection
Qi Zheng (1):
NFSv4.2: fix wrong shrinker_id
Qiuxu Zhuo (2):
rcu/rcuscale: Move rcu_scale_*() after kfree_scale_cleanup() rcu/rcuscale: Stop kfree_scale_thread thread(s) after unloading rcuscale
Quan Zhou (1):
wifi: mt76: mt7921e: fix init command fail with enabled device
Rafał Miłecki (1):
ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
Randy Dunlap (4):
soc/fsl/qe: fix usb.c build errors
crypto: nx - fix build warnings when DEBUG_FS is not enabled
media: cec: i2c: ch7322: also select REGMAP
powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
Rasmus Villemoes (1):
iio: addac: ad74413: don't set DIN_SINK for functions other than digital input
Ravi Bangoria (2):
perf/ibs: Fix interface via core pmu events
perf tool x86: Consolidate is_amd check into single function
Remi Pommarel (1):
wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
Ricardo Ribalda Delgado (2):
ASoC: mediatek: mt8173: Fix irq error path
ASoC: mediatek: mt8173: Fix snd_soc_component_initialize error path
Rikard Falkeborn (1):
media: venus: helpers: Fix ALIGN() of non power of two
Robert Hancock (1):
i2c: xiic: Don't try to handle more interrupt events after error
Robert Marko (4):
arm64: dts: microchip: sparx5: do not use PSCI on reference boards
clk: qcom: ipq6018: fix networking resets
mmc: core: disable TRIM on Kingston EMMC04G-M627
mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
Roberto Sassu (4):
evm: Complete description of evm_inode_setattr()
evm: Fix build warnings
ima: Fix build warnings
shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs
Robin Murphy (2):
perf/arm-cmn: Fix DTC reset
perf/arm_cspmu: Fix event attribute type
Rongguang Wei (1):
PCI: pciehp: Cancel bringup sequence if card is not present
Ryan Roberts (1):
mm/damon/ops-common: atomically test and clear young on ptes and pmds
Sabrina Dubroca (1):
selftests: rtnetlink: remove netdevsim device after ipsec offload test
Sami Tolvanen (2):
kbuild: Fix CFI failures with GCOV
kbuild: Disable GCOV for *.mod.o
Sascha Hauer (1):
wifi: rtw88: usb: silence log flooding error message
Sean Nyekjaer (2):
iio: accel: fxls8962af: errata bug only applicable for FXLS8962AF
iio: accel: fxls8962af: fixup buffer scan element type
Sebastian Andrzej Siewior (1):
tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
Sebastian Reichel (1):
regulator: rk808: fix asynchronous probing
Selvin Xavier (1):
RDMA/bnxt_re: Disable/kill tasklet only if it is enabled
SeongJae Park (1):
bpf, btf: Warn but return no error for NULL btf from __register_btf_kfunc_id_set()
Sergey Shtylyov (1):
sh: Avoid using IRQ0 on SH3 and SH4
Shawn Wang (1):
x86/resctrl: Only show tasks' pid in current pid namespace
Sherry Sun (1):
tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
Shuijing Li (1):
pwm: mtk_disp: Fix the disable flow of disp_pwm
Shunsuke Mie (1):
PCI: endpoint: Fix a Kconfig prompt of vNTB driver
Shyam Prasad N (2):
cifs: prevent use-after-free by freeing the cfile later
cifs: do all necessary checks for credits within or before locking
Siddh Raman Pant (1):
watch_queue: prevent dangling pipe pointer
Siddharth Vadapalli (1):
PCI: cadence: Fix Gen2 Link Retraining process
Song Shuai (2):
riscv: hibernation: Remove duplicate call of suspend_restore_csrs
riscv: hibernate: remove WARN_ON in save_processor_state
Srinivasan Shanmugam (2):
drm/amd/display: Unconditionally print when DP sink power state fails drm/amdgpu: Fix memcpy() in sienna_cichlid_append_powerplay_table function.
Stanislav Fomichev (1):
bpf: Don't EFAULT for {g,s}setsockopt with wrong optlen
Stanley Chu (1):
scsi: ufs: core: mcq: Fix the incorrect OCS value for the device command
Stefan Wahren (1):
w1: w1_therm: fix locking behavior in convert_t
Stephan Gerhold (5):
thermal/drivers/qcom/tsens-v0_1: Fix mdm9607 slope values thermal/drivers/qcom/tsens-v0_1: Add mdm9607 correction offsets
arm64: dts: qcom: apq8016-sbc: Fix regulator constraints
arm64: dts: qcom: apq8016-sbc: Fix 1.8V power rail on LS expansion
mfd: rt5033: Drop rt5033-battery sub-device
Stephan Müller (1):
crypto: jitter - correct health test during initialization
Su Hui (1):
ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
Sui Jingfeng (1):
PCI: Add pci_clear_master() stub for non-CONFIG_PCI
Sumeet Pawnikar (1):
powercap: RAPL: fix invalid initialization for pl4_supported field
Syed Saba Kareem (1):
ASoC: amd: acp: clear pdm dma interrupt mask
Takashi Iwai (2):
ALSA: jack: Fix mutex call in snd_jack_report()
ALSA: pcm: Fix potential data race at PCM memory allocation helpers
Taniya Das (1):
clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
Tao Zhou (1):
drm/amdgpu: check RAS irq existence for VCN/JPEG
Tarun Sahu (1):
dax/kmem: Pass valid argument to memory_group_register_static
Tero Kristo (1):
cpufreq: intel_pstate: Fix energy_performance_preference for passive
Tetsuo Handa (1):
reiserfs: Initialize sec->length in reiserfs_security_init().
Thadeu Lima de Souza Cascardo (2):
netfilter: nf_tables: do not ignore genmask when looking up chain by id
netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
Thejasvi Konduru (1):
arm64: dts: ti: k3-j784s4: Fix wakeup pinmux range and pinctrl node offsets
Thierry Reding (1):
pinctrl: tegra: Duplicate pinmux functions table
Thomas Gleixner (2):
posix-timers: Prevent RT livelock in itimer_delete() x86/efi: Make efi_set_virtual_address_map IBT safe
Thomas Weißschuh (2):
tools/nolibc: ensure fast64 integer types have 64 bits
fs: avoid empty option when generating legacy mount string
Thorsten Winkler (1):
s390/qeth: Fix vipa deletion
Tianjia Zhang (1):
integrity: Fix possible multiple allocation in integrity_inode_get()
Tiezhu Yang (1):
riscv: uprobes: Restore thread.bad_cause
Tim Harvey (1):
hwmon: (gsc-hwmon) fix fan pwm temperature scaling
Tobias Heider (1):
Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
Tom Lendacky (1):
x86/sev: Fix calculation of end address based on number of pages
Tony Lindgren (4):
bus: ti-sysc: Fix dispc quirk masking bool variables
ARM: dts: gta04: Move model property out of pinctrl node
serial: 8250: omap: Fix freeing of resources on failed register
serial: 8250_omap: Use force_suspend and resume for system suspend
Trevor Wu (1):
ASoC: dt-bindings: mediatek,mt8188-afe: correct clock name
Ulf Hansson (2):
PM: domains: Move the verification of in-params from genpd_add_device()
mmc: mmci: Set PROBE_PREFER_ASYNCHRONOUS
Vijaya Krishna Nivarthi (3):
spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
soc: qcom: geni-se: Add interfaces geni_se_tx_init_dma() and geni_se_rx_init_dma()
spi: spi-geni-qcom: Do not do DMA map/unmap inside driver, use framework instead
Viktor Malik (1):
tools/resolve_btfids: Fix setting HOSTCFLAGS
Ville Syrjälä (3):
drm/i915: Fix limited range csc matrix drm/i915: No 10bit gamma on desktop gen3 parts drm/i915/psr: Fix BDW PSR AUX CH data register offsets
Vinay Belgaumkar (2):
drm/i915/guc/slpc: Provide sysfs for efficient freq drm/i915/guc/slpc: Apply min softlimit correctly
Vincent Mailhol (1):
can: length: fix bitstuffing count
Vinicius Costa Gomes (4):
igc: Fix race condition in PTP tx code
igc: Check if hardware TX timestamping is enabled earlier
igc: Retrieve TX timestamp during interrupt handling
igc: Work around HW bug causing missing timestamps
Vishal Verma (1):
tools/testing/cxl: Fix command effects for inject/clear poison
Vladimir Oltean (10):
net: dsa: avoid suspicious RCU usage for synced VLAN-aware MAC addresses
net: mscc: ocelot: don't report that RX timestamping is enabled by default
net: mscc: ocelot: don't keep PTP configuration of all ports in single structure
net: dsa: felix: don't drop PTP frames with tag_8021q when RX timestamping is disabled
net: dsa: sja1105: always enable the INCL_SRCPT option
net: dsa: tag_sja1105: always prefer source port information from INCL_SRCPT
net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
net: dsa: tag_sja1105: fix source port decoding in vlan_filtering=0 bridge mode
net: dsa: tag_sja1105: fix MAC DA patching from meta frames
net: dsa: sja1105: always enable the send_meta options
Vladislav Efanov (1):
usb: dwc3: qcom: Fix potential memory leak
WANG Xuerui (1):
LoongArch: Include KBUILD_CPPFLAGS in CHECKFLAGS invocation
Waiman Long (1):
blk-cgroup: Reinit blkg_iostat_set after clearing in blkcg_reset_stats()
Wells Lu (2):
pinctrl: sunplus: Add check for kmalloc
pinctrl:sunplus: Add check for kmalloc
Wen Yang (1):
tick/rcu: Fix bogus ratelimit condition
Werner Sembach (1):
ALSA: hda/realtek: Add quirk for Clevo NPx0SNx
Wesley Chalmers (1):
drm/amd/display: Add logging for display MALL refresh setting
Will Deacon (1):
arm64: sme: Use STR P to clear FFR context field in streaming SVE mode
Wolfram Sang (1):
arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
Woody Zhang (1):
riscv: move memblock_allow_resize() after linear mapping is ready
Xi Pardee (2):
platform/x86:intel/pmc: Remove Meteor Lake S platform support platform/x86:intel/pmc: Update maps for Meteor Lake P/M platforms
Xiaolei Wang (1):
pinctrl: freescale: Fix a memory out of bounds when num_configs is 1
Xinghui Li (1):
PCI: vmd: Fix uninitialized variable usage in vmd_enable_domain()
XuDong Liu (1):
drm: sun4i_tcon: use devm_clk_get_enabled in sun4i_tcon_init_clocks
Yafang Shao (2):
bpf: Remove bpf trampoline selector
bpf: Fix memleak due to fentry attach failure
Yangtao Li (1):
f2fs: do not allow to defragment files have FI_COMPRESS_RELEASED
Yi Yingao (1):
nvmem: sunplus-ocotp: release otp->clk before return
Yicong Yang (1):
hwtracing: hisi_ptt: Fix potential sleep in atomic context
Yoshihiro Shimoda (1):
PCI: endpoint: functions/pci-epf-test: Fix dma_chan direction
Youghandhar Chintala (1):
wifi: ath10k: Trigger STA disconnect after reconfig complete on hardware restart
Yu Kuai (8):
block/rq_qos: protect rq_qos apis with a new lock
blk-mq: fix potential io hang by wrong 'wake_batch'
md/raid1-10: factor out a helper to add bio to plug
md/raid1-10: factor out a helper to submit normal write md/raid1-10: submit write io directly if bitmap is not enabled
block: fix blktrace debugfs entries leakage
blktrace: use inline function for blk_trace_remove() while blktrace is disabled md/raid1-10: fix casting from randomized structure in raid1_submit_write()
Yu Zhao (1):
mm/mglru: make memcg_lru->lock irq safe
Yuan Can (1):
clk: tegra: tegra124-emc: Fix potential memory leak
Yuchen Yang (1):
scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
Yue Zhao (1):
lkdtm: replace ll_rw_block with submit_bh
Yunfei Dong (1):
media: mediatek: vcodec: using decoder status instead of core work count
Yury Norov (1):
lib/bitmap: drop optimization of bitmap_{from,to}_arr64
Yuxing Liu (1):
clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
Zeng Heng (1):
ntfs: Fix panic about slab-out-of-bounds caused by ntfs_listxattr()
Zhang Rui (1):
powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
Zhanhao Hu (1):
clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe
Zhen Lei (1):
kexec: fix a memory leak in crash_shrink_memory()
Zheng Wang (2):
bcache: Remove unnecessary NULL point check in node allocations
bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
Zhengchao Shao (1):
mlxsw: minimal: fix potential memory leak in mlxsw_m_linecards_init
Zhihao Cheng (3):
ovl: fix null pointer dereference in ovl_permission()
ovl: let helper ovl_i_path_real() return the realinode
ovl: fix null pointer dereference in ovl_get_acl_rcu()
Ziyang Huang (3):
wifi: ath11k: Add missing ops config for IPQ5018 in ath11k_ahb_probe()
wifi: ath11k: Restart firmware after cold boot calibration for IPQ5018
wifi: ath11k: Add missing hw_ops->get_ring_selector() for IPQ5018
[email protected] (1):
ARM: dts: meson8b: correct uart_B and uart_C clock references
[email protected] (1):
start_kernel: Add __no_stack_protector function attribute
Greg Kroah-Hartman
maintainerDocumentation/ABI/testing/sysfs-driver-eud +1 -1
@@ -1,4 +1,4 @@ -What: /sys/bus/platform/drivers/eud/.../enable +What: /sys/bus/platform/drivers/qcom_eud/.../enable Date: February 2022 Contact: Souradeep Chowdhury <[email protected]> Description:
Documentation/devicetree/bindings/crypto/qcom-qce.yaml +6 -0
@@ -24,6 +24,12 @@ properties: deprecated: true description: Kept only for ABI backward compatibility + - items: + - enum: + - qcom,ipq4019-qce + - qcom,sm8150-qce + - const: qcom,qce + - items: - enum: - qcom,ipq6018-qce
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml +5 -0
@@ -47,6 +47,9 @@ properties: avdd-supply: description: AVdd voltage supply + vref-supply: + description: VRef voltage supply + adi,rejection-60-Hz-enable: description: | This bit enables a notch at 60 Hz when the first notch of the sinc
@@ -89,6 +92,7 @@ required: - interrupts - dvdd-supply - avdd-supply + - vref-supply - spi-cpol - spi-cpha
@@ -115,6 +119,7 @@ examples: interrupt-parent = <&gpio>; dvdd-supply = <&dvdd>; avdd-supply = <&avdd>; + vref-supply = <&vref>; adi,refin2-pins-enable; adi,rejection-60-Hz-enable;
Documentation/devicetree/bindings/iommu/arm,smmu.yaml +4 -2
@@ -80,6 +80,7 @@ properties: items: - enum: - qcom,sc7280-smmu-500 + - qcom,sc8280xp-smmu-500 - qcom,sm6115-smmu-500 - qcom,sm6125-smmu-500 - qcom,sm8150-smmu-500
@@ -331,7 +332,9 @@ allOf: properties: compatible: contains: - const: qcom,sc7280-smmu-500 + enum: + - qcom,sc7280-smmu-500 + - qcom,sc8280xp-smmu-500 then: properties: clock-names:
@@ -416,7 +419,6 @@ allOf: - qcom,sa8775p-smmu-500 - qcom,sc7180-smmu-500 - qcom,sc8180x-smmu-500 - - qcom,sc8280xp-smmu-500 - qcom,sdm670-smmu-500 - qcom,sdm845-smmu-500 - qcom,sdx55-smmu-500
Documentation/devicetree/bindings/power/reset/qcom,pon.yaml +3 -1
@@ -56,7 +56,6 @@ required: unevaluatedProperties: false allOf: - - $ref: reboot-mode.yaml# - if: properties: compatible:
@@ -66,6 +65,9 @@ allOf: - qcom,pms405-pon - qcom,pm8998-pon then: + allOf: + - $ref: reboot-mode.yaml# + properties: reg: maxItems: 1
Documentation/devicetree/bindings/sound/mediatek,mt8188-afe.yaml +18 -18
@@ -63,15 +63,15 @@ properties: - const: apll12_div2 - const: apll12_div3 - const: apll12_div9 - - const: a1sys_hp_sel - - const: aud_intbus_sel - - const: audio_h_sel - - const: audio_local_bus_sel - - const: dptx_m_sel - - const: i2so1_m_sel - - const: i2so2_m_sel - - const: i2si1_m_sel - - const: i2si2_m_sel + - const: top_a1sys_hp + - const: top_aud_intbus + - const: top_audio_h + - const: top_audio_local_bus + - const: top_dptx + - const: top_i2so1 + - const: top_i2so2 + - const: top_i2si1 + - const: top_i2si2 - const: adsp_audio_26m mediatek,etdm-in1-cowork-source:
@@ -193,15 +193,15 @@ examples: "apll12_div2", "apll12_div3", "apll12_div9", - "a1sys_hp_sel", - "aud_intbus_sel", - "audio_h_sel", - "audio_local_bus_sel", - "dptx_m_sel", - "i2so1_m_sel", - "i2so2_m_sel", - "i2si1_m_sel", - "i2si2_m_sel", + "top_a1sys_hp", + "top_aud_intbus", + "top_audio_h", + "top_audio_local_bus", + "top_dptx", + "top_i2so1", + "top_i2so2", + "top_i2si1", + "top_i2si2", "adsp_audio_26m"; };
Documentation/fault-injection/provoke-crashes.rst +1 -1
@@ -29,7 +29,7 @@ recur_count cpoint_name Where in the kernel to trigger the action. It can be one of INT_HARDWARE_ENTRY, INT_HW_IRQ_EN, INT_TASKLET_ENTRY, - FS_DEVRW, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ, or DIRECT. + FS_SUBMIT_BH, MEM_SWAPOUT, TIMERADD, SCSI_QUEUE_RQ, or DIRECT. cpoint_type Indicates the action to be taken on hitting the crash point.
Documentation/filesystems/autofs-mount-control.rst +1 -1
@@ -196,7 +196,7 @@ information and return operation results:: struct args_ismountpoint ismountpoint; }; - char path[0]; + char path[]; }; The ioctlfd field is a mount point file descriptor of an autofs mount
Documentation/filesystems/autofs.rst +1 -1
@@ -467,7 +467,7 @@ Each ioctl is passed a pointer to an `autofs_dev_ioctl` structure:: struct args_ismountpoint ismountpoint; }; - char path[0]; + char path[]; }; For the **OPEN_MOUNT** and **IS_MOUNTPOINT** commands, the target
Documentation/filesystems/directory-locking.rst +14 -12
@@ -22,12 +22,11 @@ exclusive. 3) object removal. Locking rules: caller locks parent, finds victim, locks victim and calls the method. Locks are exclusive. -4) rename() that is _not_ cross-directory. Locking rules: caller locks -the parent and finds source and target. In case of exchange (with -RENAME_EXCHANGE in flags argument) lock both. In any case, -if the target already exists, lock it. If the source is a non-directory, -lock it. If we need to lock both, lock them in inode pointer order. -Then call the method. All locks are exclusive. +4) rename() that is _not_ cross-directory. Locking rules: caller locks the +parent and finds source and target. We lock both (provided they exist). If we +need to lock two inodes of different type (dir vs non-dir), we lock directory +first. If we need to lock two inodes of the same type, lock them in inode +pointer order. Then call the method. All locks are exclusive. NB: we might get away with locking the source (and target in exchange case) shared.
@@ -44,15 +43,17 @@ All locks are exclusive. rules: * lock the filesystem - * lock parents in "ancestors first" order. + * lock parents in "ancestors first" order. If one is not ancestor of + the other, lock them in inode pointer order. * find source and target. * if old parent is equal to or is a descendent of target fail with -ENOTEMPTY * if new parent is equal to or is a descendent of source fail with -ELOOP - * If it's an exchange, lock both the source and the target. - * If the target exists, lock it. If the source is a non-directory, - lock it. If we need to lock both, do so in inode pointer order. + * Lock both the source and the target provided they exist. If we + need to lock two inodes of different type (dir vs non-dir), we lock + the directory first. If we need to lock two inodes of the same type, + lock them in inode pointer order. * call the method. All ->i_rwsem are taken exclusive. Again, we might get away with locking
@@ -66,8 +67,9 @@ If no directory is its own ancestor, the scheme above is deadlock-free. Proof: - First of all, at any moment we have a partial ordering of the - objects - A < B iff A is an ancestor of B. + First of all, at any moment we have a linear ordering of the + objects - A < B iff (A is an ancestor of B) or (B is not an ancestor + of A and ptr(A) < ptr(B)). That ordering can change. However, the following is true:
Documentation/filesystems/f2fs.rst +16 -0
@@ -351,6 +351,22 @@ age_extent_cache Enable an age extent cache based on rb-tree. It records data block update frequency of the extent per inode, in order to provide better temperature hints for data block allocation. +errors=%s Specify f2fs behavior on critical errors. This supports modes: + "panic", "continue" and "remount-ro", respectively, trigger + panic immediately, continue without doing anything, and remount + the partition in read-only mode. By default it uses "continue" + mode. + ====================== =============== =============== ======== + mode continue remount-ro panic + ====================== =============== =============== ======== + access ops normal noraml N/A + syscall errors -EIO -EROFS N/A + mount option rw ro N/A + pending dir write keep keep N/A + pending non-dir write drop keep N/A + pending node write drop keep N/A + pending meta write keep keep N/A + ====================== =============== =============== ======== ======================== ============================================================ Debugfs Entries
Documentation/networking/af_xdp.rst +9 -0
@@ -433,6 +433,15 @@ start N bytes into the buffer leaving the first N bytes for the application to use. The final option is the flags field, but it will be dealt with in separate sections for each UMEM flag. +SO_BINDTODEVICE setsockopt +-------------------------- + +This is a generic SOL_SOCKET option that can be used to tie AF_XDP +socket to a particular network interface. It is useful when a socket +is created by a privileged process and passed to a non-privileged one. +Once the option is set, kernel will refuse attempts to bind that socket +to a different interface. Updating the value requires CAP_NET_RAW. + XDP_STATISTICS getsockopt -------------------------
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 4 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = Hurr durr I'ma ninja sloth
arch/arc/include/asm/linkage.h +4 -4
@@ -8,6 +8,10 @@#include <asm/dwarf.h> +#define ASM_NL `/* use '`' to mark new line in macro */ +#define __ALIGN .align 4 +#define __ALIGN_STR __stringify(__ALIGN) +#ifdef __ASSEMBLY__ .macro ST2 e, o, off
@@ -28,10 +32,6 @@#endif .endm -#define ASM_NL `/* use '`' to mark new line in macro */ -#define __ALIGN .align 4 -#define __ALIGN_STR __stringify(__ALIGN) - /* annotation for data we want in DCCM - if enabled in .config */ .macro ARCFP_DATA nm #ifdef CONFIG_ARC_HAS_DCCM
arch/arm/boot/dts/bcm53015-meraki-mr26.dts +1 -1
@@ -128,7 +128,7 @@ port@5 { fixed-link { speed = <1000>; - duplex-full; + full-duplex; }; }; };
arch/arm/boot/dts/bcm53016-meraki-mr32.dts +1 -1
@@ -187,7 +187,7 @@ port@5 { fixed-link { speed = <1000>; - duplex-full; + full-duplex; }; }; };
arch/arm/boot/dts/bcm5301x.dtsi +0 -1
@@ -542,7 +542,6 @@ spi@18029200 { "spi_lr_session_done", "spi_lr_overread"; clocks = <&iprocmed>; - clock-names = "iprocmed"; num-cs = <2>; #address-cells = <1>; #size-cells = <0>;
arch/arm/boot/dts/iwg20d-q7-common.dtsi +1 -1
@@ -49,7 +49,7 @@ audio_clock: audio_clock { lcd_backlight: backlight { compatible = "pwm-backlight"; - pwms = <&pwm3 0 5000000 0>; + pwms = <&pwm3 0 5000000>; brightness-levels = <0 4 8 16 32 64 128 255>; default-brightness-level = <7>; enable-gpios = <&gpio5 14 GPIO_ACTIVE_HIGH>;
arch/arm/boot/dts/lan966x-kontron-kswitch-d10-mmt.dtsi +15 -1
@@ -18,6 +18,8 @@ chosen { gpio-restart { compatible = "gpio-restart"; + pinctrl-0 = <&reset_pins>; + pinctrl-names = "default"; gpios = <&gpio 56 GPIO_ACTIVE_LOW>; priority = <200>; };
@@ -39,7 +41,7 @@ &flx3 { status = "okay"; spi3: spi@400 { - pinctrl-0 = <&fc3_b_pins>; + pinctrl-0 = <&fc3_b_pins>, <&spi3_cs_pins>; pinctrl-names = "default"; status = "okay"; cs-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
@@ -59,6 +61,12 @@ miim_c_pins: miim-c-pins { function = "miim_c"; }; + reset_pins: reset-pins { + /* SYS_RST# */ + pins = "GPIO_56"; + function = "gpio"; + }; + sgpio_a_pins: sgpio-a-pins { /* SCK, D0, D1 */ pins = "GPIO_32", "GPIO_33", "GPIO_34";
@@ -71,6 +79,12 @@ sgpio_b_pins: sgpio-b-pins { function = "sgpio_b"; }; + spi3_cs_pins: spi3-cs-pins { + /* CS# */ + pins = "GPIO_46"; + function = "gpio"; + }; + usart0_pins: usart0-pins { /* RXD, TXD */ pins = "GPIO_25", "GPIO_26";
arch/arm/boot/dts/meson8.dtsi +2 -2
@@ -769,13 +769,13 @@ &uart_A { &uart_B { compatible = "amlogic,meson8-uart"; - clocks = <&xtal>, <&clkc CLKID_UART0>, <&clkc CLKID_CLK81>; + clocks = <&xtal>, <&clkc CLKID_UART1>, <&clkc CLKID_CLK81>; clock-names = "xtal", "pclk", "baud"; }; &uart_C { compatible = "amlogic,meson8-uart"; - clocks = <&xtal>, <&clkc CLKID_UART0>, <&clkc CLKID_CLK81>; + clocks = <&xtal>, <&clkc CLKID_UART2>, <&clkc CLKID_CLK81>; clock-names = "xtal", "pclk", "baud"; };
arch/arm/boot/dts/meson8b.dtsi +2 -2
@@ -740,13 +740,13 @@ &uart_A { &uart_B { compatible = "amlogic,meson8b-uart"; - clocks = <&xtal>, <&clkc CLKID_UART0>, <&clkc CLKID_CLK81>; + clocks = <&xtal>, <&clkc CLKID_UART1>, <&clkc CLKID_CLK81>; clock-names = "xtal", "pclk", "baud"; }; &uart_C { compatible = "amlogic,meson8b-uart"; - clocks = <&xtal>, <&clkc CLKID_UART0>, <&clkc CLKID_CLK81>; + clocks = <&xtal>, <&clkc CLKID_UART2>, <&clkc CLKID_CLK81>; clock-names = "xtal", "pclk", "baud"; };
arch/arm/boot/dts/omap3-gta04a5one.dts +3 -1
@@ -5,9 +5,11 @@ #include "omap3-gta04a5.dts" -&omap3_pmx_core { +/ { model = "Goldelico GTA04A5/Letux 2804 with OneNAND"; +}; +&omap3_pmx_core { gpmc_pins: pinmux_gpmc_pins { pinctrl-single,pins = <
arch/arm/boot/dts/qcom-apq8060-dragonboard.dts +2 -2
@@ -451,7 +451,7 @@ &rpm { * PM8901 supplies "preliminary regulators" whatever * that means */ - pm8901-regulators { + regulators-0 { vdd_l0-supply = <&pm8901_s4>; vdd_l1-supply = <&vph>; vdd_l2-supply = <&vph>;
@@ -537,7 +537,7 @@ lvs0 { }; - pm8058-regulators { + regulators-1 { vdd_l0_l1_lvs-supply = <&pm8058_s3>; vdd_l2_l11_l12-supply = <&vph>; vdd_l3_l4_l5-supply = <&vph>;
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts +4 -0
@@ -23,6 +23,10 @@ &blsp1_uart2 { status = "okay"; }; +&blsp2_dma { + qcom,controlled-remotely; +}; + &blsp2_i2c5 { status = "okay"; clock-frequency = <200000>;
arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts +4 -4
@@ -11,9 +11,9 @@ soc { dma-controller@7984000 { status = "okay"; }; - - qpic-nand@79b0000 { - status = "okay"; - }; }; }; + +&nand { + status = "okay"; +};
arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi +5 -5
@@ -102,10 +102,10 @@ pci@40000000 { status = "okay"; perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; }; - - qpic-nand@79b0000 { - pinctrl-0 = <&nand_pins>; - pinctrl-names = "default"; - }; }; }; + +&nand { + pinctrl-0 = <&nand_pins>; + pinctrl-names = "default"; +};
arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi +6 -6
@@ -65,11 +65,11 @@ i2c@78b7000 { /* BLSP1 QUP2 */ dma-controller@7984000 { status = "okay"; }; - - qpic-nand@79b0000 { - pinctrl-0 = <&nand_pins>; - pinctrl-names = "default"; - status = "okay"; - }; }; }; + +&nand { + pinctrl-0 = <&nand_pins>; + pinctrl-names = "default"; + status = "okay"; +};
arch/arm/boot/dts/qcom-msm8974.dtsi +1 -1
@@ -301,7 +301,7 @@ rpm { qcom,ipc = <&apcs 8 0>; qcom,smd-edge = <15>; - rpm_requests: rpm_requests { + rpm_requests: rpm-requests { compatible = "qcom,rpm-msm8974"; qcom,smd-channels = "rpm_requests";
arch/arm/boot/dts/stm32mp15xx-dhcom-pdk2.dtsi +7 -4
@@ -137,10 +137,13 @@ reg_panel_supply: regulator-panel-supply { sound { compatible = "audio-graph-card"; - routing = - "MIC_IN", "Capture", - "Capture", "Mic Bias", - "Playback", "HP_OUT"; + widgets = "Headphone", "Headphone Jack", + "Line", "Line In Jack", + "Microphone", "Microphone Jack"; + routing = "Headphone Jack", "HP_OUT", + "LINE_IN", "Line In Jack", + "MIC_IN", "Microphone Jack", + "Microphone Jack", "Mic Bias"; dais = <&sai2a_port &sai2b_port>; status = "okay"; };
arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi +7 -1
@@ -87,7 +87,7 @@ sd_switch: regulator-sd_switch { sound { compatible = "audio-graph-card"; - label = "STM32MP1-AV96-HDMI"; + label = "STM32-AV96-HDMI"; dais = <&sai2a_port>; status = "okay"; };
@@ -321,6 +321,12 @@ adv7513_i2s0: endpoint { }; }; }; + + dh_mac_eeprom: eeprom@53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; }; <dc {
arch/arm/boot/dts/stm32mp15xx-dhcor-drc-compact.dtsi +6 -0
@@ -192,6 +192,12 @@ eeprom@50 { reg = <0x50>; pagesize = <16>; }; + + dh_mac_eeprom: eeprom@53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; }; &sdmmc1 { /* MicroSD */
arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi +0 -6
@@ -213,12 +213,6 @@ watchdog { status = "disabled"; }; }; - - eeprom@53 { - compatible = "atmel,24c02"; - reg = <0x53>; - pagesize = <16>; - }; }; &ipcc {
arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi +8 -0
@@ -90,6 +90,14 @@ phy0: ethernet-phy@7 { }; }; +&i2c4 { + dh_mac_eeprom: eeprom@53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; +}; + &sdmmc1 { pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_b>;
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +1 -1
@@ -435,7 +435,7 @@ &i2s2 { i2s2_port: port { i2s2_endpoint: endpoint { remote-endpoint = <&sii9022_tx_endpoint>; - format = "i2s"; + dai-format = "i2s"; mclk-fs = <256>; }; };
arch/arm/include/asm/assembler.h +17 -0
@@ -394,6 +394,23 @@ ALT_UP_B(.L0_\@)#endif .endm +/* + * Raw SMP data memory barrier + */ + .macro __smp_dmb mode +#if __LINUX_ARM_ARCH__ >=7 + .ifeqs "\mode","arm" + dmb ish + .else + W(dmb) ish + .endif +#elif __LINUX_ARM_ARCH__ ==6 + mcr p15, 0, r0, c7, c10, 5 @ dmb +#else + .error "Incompatible SMP platform" +#endif + .endm +#if defined(CONFIG_CPU_V7M )/* * setmode is used to assert to be in svc mode during boot. For v7-M
arch/arm/include/asm/sync_bitops.h +25 -4
@@ -14,14 +14,35 @@* ops which are SMP safe even on a UP kernel. */ +/* +* Unordered +*/ +#define sync_set_bit (nr, p) _set_bit(nr, p)#define sync_clear_bit (nr, p) _clear_bit(nr, p)#define sync_change_bit (nr, p) _change_bit(nr, p) -#define sync_test_and_set_bit (nr, p) _test_and_set_bit(nr, p) -#define sync_test_and_clear_bit (nr, p) _test_and_clear_bit(nr, p) -#define sync_test_and_change_bit (nr, p) _test_and_change_bit(nr, p)#define sync_test_bit (nr, addr) test_bit(nr, addr) -#define arch_sync_cmpxchg arch_cmpxchg +/* +* Fully ordered +*/ + +int _sync_test_and_set_bit (int nr,volatile unsigned long * p); +#define sync_test_and_set_bit (nr, p) _sync_test_and_set_bit(nr, p) + +int _sync_test_and_clear_bit (int nr,volatile unsigned long * p); +#define sync_test_and_clear_bit (nr, p) _sync_test_and_clear_bit(nr, p) + +int _sync_test_and_change_bit (int nr,volatile unsigned long * p); +#define sync_test_and_change_bit (nr, p) _sync_test_and_change_bit(nr, p) + +#define arch_sync_cmpxchg (ptr, old, new) \ +({ \ + __typeof__(*(ptr)) __ret; \ + __smp_mb__before_atomic(); \ + __ret = arch_cmpxchg_relaxed((ptr), (old), (new)); \ + __smp_mb__after_atomic(); \ + __ret; \ +})#endif
arch/arm/lib/bitops.h +11 -3
@@ -28,7 +28,7 @@ UNWIND( .fnend ) ENDPROC(\name ) .endm - .macro testop, name, instr, store + .macro __testop, name, instr, store, barrier ENTRY( \name ) UNWIND( .fnstart ) ands ip, r1, #3
@@ -38,7 +38,7 @@ UNWIND( .fnstart ) mov r0, r0, lsr #5 add r1, r1, r0, lsl #2 @ Get word offset mov r3, r2, lsl r3 @ create mask - smp_dmb + \barrier #if __LINUX_ARM_ARCH__ >= 7 && defined(CONFIG_SMP) .arch_extension mpALT_SMP (W (pldw ) [r1])
@@ -50,13 +50,21 @@ UNWIND( .fnstart ) strex ip, r2, [r1] cmp ip, #0 bne 1b - smp_dmb + \barrier cmp r0, #0 movne r0, #1 2: bx lr UNWIND( .fnend ) ENDPROC(\name ) .endm + + .macro testop, name, instr, store + __testop \name, \instr, \store, smp_dmb + .endm + + .macro sync_testop, name, instr, store + __testop \name, \instr, \store, __smp_dmb + .endm #else .macro bitop, name, instr ENTRY( \name )
arch/arm/lib/testchangebit.S +4 -0
@@ -10,3 +10,7 @@ .text testop _test_and_change_bit, eor, str + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_change_bit, eor, str +#endif
arch/arm/lib/testclearbit.S +4 -0
@@ -10,3 +10,7 @@ .text testop _test_and_clear_bit, bicne, strne + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_clear_bit, bicne, strne +#endif
arch/arm/lib/testsetbit.S +4 -0
@@ -10,3 +10,7 @@ .text testop _test_and_set_bit, orreq, streq + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_set_bit, orreq, streq +#endif
arch/arm/mach-ep93xx/timer-ep93xx.c +2 -1
@@ -9,6 +9,7 @@#include <linux/io.h> #include <asm/mach/time.h> #include "soc.h" +#include "platform.h" /************************************************************************* * Timer handling for EP93xx
@@ -60,7 +61,7 @@ static u64 notrace ep93xx_read_sched_clock(void)return ret; } -u64 ep93xx_clocksource_read (struct clocksource *c) +static u64 ep93xx_clocksource_read (struct clocksource *c) {u64 ret;
arch/arm/mach-omap1/board-ams-delta.c +0 -1
@@ -11,7 +11,6 @@#include <linux/gpio/driver.h> #include <linux/gpio/machine.h> #include <linux/gpio/consumer.h> -#include <linux/gpio.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/input.h>
arch/arm/mach-omap1/board-nokia770.c +130 -77
305 lines not on this page · raw message
arch/arm/mach-omap1/board-osk.c +102 -44
247 lines not on this page · raw message
arch/arm/mach-omap1/board-palmte.c +31 -20
78 lines not on this page · raw message
arch/arm/mach-omap1/board-sx1-mmc.c +0 -1
@@ -9,7 +9,6 @@* Copyright (C) 2007 Instituto Nokia de Tecnologia - INdT */ -#include <linux/gpio.h> #include <linux/platform_device.h> #include "hardware.h"
arch/arm/mach-omap1/board-sx1.c +33 -7
@@ -11,7 +11,8 @@* Maintainters : Vladimir Ananiev (aka Vovan888), Sergge * oslik.ru */ -#include <linux/gpio.h> +#include <linux/gpio/machine.h> +#include <linux/gpio/consumer.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/input.h>
@@ -304,8 +305,23 @@ static struct platform_device *sx1_devices[] __initdata = {/*-----------------------------------------*/ +static struct gpiod_lookup_table sx1_gpio_table = { + .dev_id =NULL , + .table = { +GPIO_LOOKUP ("gpio-0-15" ,1 ,"irda_off" , +GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("gpio-0-15" ,11 ,"switch" , +GPIO_ACTIVE_HIGH ), +GPIO_LOOKUP ("gpio-0-15" ,15 ,"usb_on" , +GPIO_ACTIVE_HIGH ), + { } + }, +}; +static void __init omap_sx1_init (void ) { +struct gpio_desc *d; +/* mux pins for uarts */ omap_cfg_reg (UART1_TX );omap_cfg_reg (UART1_RTS );
@@ -320,15 +336,25 @@ static void __init omap_sx1_init(void)omap_register_i2c_bus (1 ,100 ,NULL ,0 );omap1_usb_init (&sx1_usb_config);sx1_mmc_init (); +gpiod_add_lookup_table (&sx1_gpio_table);/* turn on USB power */ /* sx1_setusbpower(1); can't do it here because i2c is not ready */ -gpio_request (1 ,"A_IRDA_OFF" ); -gpio_request (11 ,"A_SWITCH" ); -gpio_request (15 ,"A_USB_ON" ); -gpio_direction_output (1 ,1 );/*A_IRDA_OFF = 1 */ -gpio_direction_output (11 ,0 );/*A_SWITCH = 0 */ -gpio_direction_output (15 ,0 );/*A_USB_ON = 0 */ + d =gpiod_get (NULL ,"irda_off" ,GPIOD_OUT_HIGH ); +if (IS_ERR (d)) +pr_err ("Unable to get IRDA OFF GPIO descriptor\n" ); +else +gpiod_put (d); + d =gpiod_get (NULL ,"switch" ,GPIOD_OUT_LOW ); +if (IS_ERR (d)) +pr_err ("Unable to get SWITCH GPIO descriptor\n" ); +else +gpiod_put (d); + d =gpiod_get (NULL ,"usb_on" ,GPIOD_OUT_LOW ); +if (IS_ERR (d)) +pr_err ("Unable to get USB ON GPIO descriptor\n" ); +else +gpiod_put (d);omapfb_set_lcd_config (&sx1_lcd_config); }
arch/arm/mach-omap1/devices.c +0 -1
@@ -6,7 +6,6 @@*/ #include <linux/dma-mapping.h> -#include <linux/gpio.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-omap1/gpio15xx.c +0 -1
@@ -8,7 +8,6 @@* Charulatha V <[email protected]> */ -#include <linux/gpio.h> #include <linux/platform_data/gpio-omap.h> #include <linux/soc/ti/omap1-soc.h> #include <asm/irq.h>
arch/arm/mach-omap1/gpio16xx.c +0 -1
@@ -8,7 +8,6 @@* Charulatha V <[email protected]> */ -#include <linux/gpio.h> #include <linux/platform_data/gpio-omap.h> #include <linux/soc/ti/omap1-io.h>
arch/arm/mach-omap1/irq.c +0 -1
@@ -35,7 +35,6 @@* with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <linux/gpio.h> #include <linux/init.h> #include <linux/module.h> #include <linux/sched.h>
arch/arm/mach-omap1/serial.c +15 -15
@@ -4,7 +4,8 @@* * OMAP1 serial support. */ -#include <linux/gpio.h> +#include <linux/gpio/machine.h> +#include <linux/gpio/consumer.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/init.h>
@@ -196,39 +197,38 @@ void omap_serial_wake_trigger(int enable) } } -static void __init omap_serial_set_port_wakeup (int gpio_nr) +static void __init omap_serial_set_port_wakeup (int idx) { +struct gpio_desc *d;int ret; - ret =gpio_request (gpio_nr,"UART wake" ); -if (ret <0 ) { -printk (KERN_ERR "Could not request UART wake GPIO: %i\n" , - gpio_nr); + d =gpiod_get_index (NULL ,"wakeup" , idx,GPIOD_IN ); +if (IS_ERR (d)) { +pr_err ("Unable to get UART wakeup GPIO descriptor\n" );return ; } -gpio_direction_input (gpio_nr); - ret =request_irq (gpio_to_irq (gpio_nr), &omap_serial_wake_interrupt, + ret =request_irq (gpiod_to_irq (d), &omap_serial_wake_interrupt,IRQF_TRIGGER_RISING ,"serial wakeup" ,NULL );if (ret) { -gpio_free (gpio_nr); -printk (KERN_ERR "No interrupt for UART wake GPIO: %i\n" , - gpio_nr); +gpiod_put (d); +pr_err ("No interrupt for UART%d wake GPIO\n" , idx +1 );return ; } -enable_irq_wake (gpio_to_irq (gpio_nr)); +enable_irq_wake (gpiod_to_irq (d)); } +int __init omap_serial_wakeup_init (void ) {if (!cpu_is_omap16xx ())return 0 ;if (uart1_ck !=NULL ) -omap_serial_set_port_wakeup (37 ); +omap_serial_set_port_wakeup (0 );if (uart2_ck !=NULL ) -omap_serial_set_port_wakeup (18 ); +omap_serial_set_port_wakeup (1 );if (uart3_ck !=NULL ) -omap_serial_set_port_wakeup (49 ); +omap_serial_set_port_wakeup (2 );return 0 ; }
arch/arm/mach-omap2/board-generic.c +1 -0
@@ -13,6 +13,7 @@#include <linux/of_platform.h> #include <linux/irqdomain.h> #include <linux/clocksource.h> +#include <linux/clockchips.h> #include <asm/setup.h> #include <asm/mach/arch.h>
arch/arm/mach-omap2/board-n8x0.c +44 -112
247 lines not on this page · raw message
arch/arm/mach-omap2/omap_device.c +0 -1
@@ -244,7 +244,6 @@ static int _omap_device_notifier_call(struct notifier_block *nb,case BUS_NOTIFY_ADD_DEVICE :if (pdev->dev.of_node)omap_device_build_from_dt (pdev); -omap_auxdata_legacy_init (dev); fallthrough;default : od =to_omap_device (pdev);
arch/arm/mach-omap2/pdata-quirks.c +66 -66
194 lines not on this page · raw message
arch/arm/mach-omap2/usb-tusb6010.c +4 -16
@@ -11,12 +11,12 @@#include <linux/errno.h> #include <linux/delay.h> #include <linux/platform_device.h> -#include <linux/gpio.h> #include <linux/export.h> #include <linux/platform_data/usb-omap.h> #include <linux/usb/musb.h> +#include "usb-tusb6010.h" #include "gpmc.h" static u8 async_cs, sync_cs;
@@ -132,10 +132,6 @@ static struct resource tusb_resources[] = { {/* Synchronous access */ .flags = IORESOURCE_MEM, }, - {/* IRQ */ - .name = "mc", - .flags = IORESOURCE_IRQ, - }, };static u64 tusb_dmamask = ~(u32 )0 ;
@@ -154,9 +150,9 @@ static struct platform_device tusb_device = {/* this may be called only from board-*.c setup code */ int __init tusb6010_setup_interface (struct musb_hdrc_platform_data *data, -unsigned ps_refclk,unsigned waitpin, -unsigned async,unsigned sync, -unsigned irq,unsigned dmachan) +unsigned int ps_refclk,unsigned int waitpin, +unsigned int async,unsigned int sync, +unsigned int dmachan) {int status; static char error[] __initdata =
@@ -192,14 +188,6 @@ int __init tusb6010_setup_interface(struct musb_hdrc_platform_data *data,if (status <0 )return status; -/* IRQ */ - status =gpio_request_one (irq,GPIOF_IN ,"TUSB6010 irq" ); -if (status <0 ) { -printk (error,3 , status); -return status; - } - tusb_resources[2 ].start =gpio_to_irq (irq); -/* set up memory timings ... can speed them up later */ if (!ps_refclk) {printk (error,4 , status);
arch/arm/mach-omap2/usb-tusb6010.h new file +12 -0
@@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __USB_TUSB6010_H +#define __USB_TUSB6010_H + +extern int __init tusb6010_setup_interface ( +struct musb_hdrc_platform_data *data, +unsigned int ps_refclk,unsigned int waitpin, +unsigned int async_cs,unsigned int sync_cs, +unsigned int dmachan); + +#endif /* __USB_TUSB6010_H */
arch/arm/mach-orion5x/board-dt.c +3 -0
@@ -60,6 +60,9 @@ static void __init orion5x_dt_init(void)if (of_machine_is_compatible ("maxtor,shared-storage-2" ))mss2_init (); +if (of_machine_is_compatible ("lacie,d2-network" )) +d2net_init (); +of_platform_default_populate (NULL , orion5x_auxdata_lookup,NULL ); }
arch/arm/mach-orion5x/common.h +6 -0
@@ -73,6 +73,12 @@ extern void mss2_init(void);static inline void mss2_init (void ) {}#endif +#ifdef CONFIG_MACH_D2NET_DT +void d2net_init (void ); +#else +static inline void d2net_init (void ) {} +#endif +/***************************************************************************** * Helpers to access Orion registers ****************************************************************************/
arch/arm/mach-pxa/spitz.c +10 -1
@@ -506,10 +506,18 @@ static struct ads7846_platform_data spitz_ads7846_info = { .x_plate_ohms = 419, .y_plate_ohms = 486, .pressure_max = 1024, - .gpio_pendown = SPITZ_GPIO_TP_INT, .wait_for_sync = spitz_ads7846_wait_for_hsync, }; +static struct gpiod_lookup_table spitz_ads7846_gpio_table = { + .dev_id ="spi2.0" , + .table = { +GPIO_LOOKUP ("gpio-pxa" ,SPITZ_GPIO_TP_INT , +"pendown" ,GPIO_ACTIVE_LOW ), + { } + }, +}; +static void spitz_bl_kick_battery (void ) {void (*kick_batt)(void );
@@ -594,6 +602,7 @@ static void __init spitz_spi_init(void)else gpiod_add_lookup_table (&spitz_lcdcon_gpio_table); +gpiod_add_lookup_table (&spitz_ads7846_gpio_table);gpiod_add_lookup_table (&spitz_spi_gpio_table);pxa2xx_set_spi_info (2 , &spitz_spi_info);spi_register_board_info (ARRAY_AND_SIZE (spitz_spi_devices));
arch/arm/probes/kprobes/checkers-common.c +1 -1
@@ -40,7 +40,7 @@ enum probes_insn checker_stack_use_imm_0xx(probes_opcode_t insn,* Different from other insn uses imm8, the real addressing offset of * STRD in T32 encoding should be imm8 * 4. See ARMARM description. */ -enum probes_insn checker_stack_use_t32strd (probes_opcode_t insn, +static enum probes_insn checker_stack_use_t32strd (probes_opcode_t insn,struct arch_probes_insn *asi,const struct decode_header *h) {
arch/arm/probes/kprobes/core.c +1 -1
@@ -233,7 +233,7 @@ singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb)* kprobe, and that level is reserved for user kprobe handlers, so we can't * risk encountering a new kprobe in an interrupt handler. */ -void __kprobes kprobe_handler (struct pt_regs *regs) +static void __kprobes kprobe_handler (struct pt_regs *regs) {struct kprobe *p, *cur;struct kprobe_ctlblk *kcb;
arch/arm/probes/kprobes/opt-arm.c +0 -2
@@ -145,8 +145,6 @@ __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty) } } -extern void kprobe_handler (struct pt_regs *regs); -static void optimized_callback (struct optimized_kprobe *op,struct pt_regs *regs) {
arch/arm/probes/kprobes/test-core.c +1 -1
@@ -720,7 +720,7 @@ static const char coverage_register_lookup[16] = { [REG_TYPE_NOSPPCX] = COVERAGE_ANY_REG | COVERAGE_SP, }; -unsigned coverage_start_registers (const struct decode_header *h) +static unsigned coverage_start_registers (const struct decode_header *h) {unsigned regs =0 ;int i;
arch/arm/probes/kprobes/test-core.h +4 -0
@@ -454,3 +454,7 @@ void kprobe_thumb32_test_cases(void);#else void kprobe_arm_test_cases (void );#endif + +void __kprobes_test_case_start (void ); +void __kprobes_test_case_end_16 (void ); +void __kprobes_test_case_end_32 (void );
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso +3 -3
@@ -29,13 +29,13 @@ partitions { partition@0 { label = "bl2"; - reg = <0x0 0x80000>; + reg = <0x0 0x100000>; read-only; }; - partition@80000 { + partition@100000 { label = "reserved"; - reg = <0x80000 0x300000>; + reg = <0x100000 0x280000>; }; partition@380000 {
arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +4 -0
@@ -292,6 +292,10 @@ dsi_out: endpoint { }; }; +&gic { + mediatek,broken-save-restore-fw; +}; + &gpu { mali-supply = <&mt6358_vgpu_reg>; };
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +4 -0
@@ -275,6 +275,10 @@ &dsi_out { remote-endpoint = <&anx7625_in>; }; +&gic { + mediatek,broken-save-restore-fw; +}; + &gpu { mali-supply = <&mt6315_7_vbuck1>; status = "okay";
arch/arm64/boot/dts/mediatek/mt8192.dtsi +18 -4
@@ -70,7 +70,8 @@ cpu0: cpu@0 { d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; - capacity-dmips-mhz = <530>; + performance-domains = <&performance 0>; + capacity-dmips-mhz = <427>; }; cpu1: cpu@100 {
@@ -87,7 +88,8 @@ cpu1: cpu@100 { d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; - capacity-dmips-mhz = <530>; + performance-domains = <&performance 0>; + capacity-dmips-mhz = <427>; }; cpu2: cpu@200 {
@@ -104,7 +106,8 @@ cpu2: cpu@200 { d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; - capacity-dmips-mhz = <530>; + performance-domains = <&performance 0>; + capacity-dmips-mhz = <427>; }; cpu3: cpu@300 {
@@ -121,7 +124,8 @@ cpu3: cpu@300 { d-cache-line-size = <64>; d-cache-sets = <128>; next-level-cache = <&l2_0>; - capacity-dmips-mhz = <530>; + performance-domains = <&performance 0>; + capacity-dmips-mhz = <427>; }; cpu4: cpu@400 {
@@ -138,6 +142,7 @@ cpu4: cpu@400 { d-cache-line-size = <64>; d-cache-sets = <256>; next-level-cache = <&l2_1>; + performance-domains = <&performance 1>; capacity-dmips-mhz = <1024>; };
@@ -155,6 +160,7 @@ cpu5: cpu@500 { d-cache-line-size = <64>; d-cache-sets = <256>; next-level-cache = <&l2_1>; + performance-domains = <&performance 1>; capacity-dmips-mhz = <1024>; };
@@ -172,6 +178,7 @@ cpu6: cpu@600 { d-cache-line-size = <64>; d-cache-sets = <256>; next-level-cache = <&l2_1>; + performance-domains = <&performance 1>; capacity-dmips-mhz = <1024>; };
@@ -189,6 +196,7 @@ cpu7: cpu@700 { d-cache-line-size = <64>; d-cache-sets = <256>; next-level-cache = <&l2_1>; + performance-domains = <&performance 1>; capacity-dmips-mhz = <1024>; };
@@ -403,6 +411,12 @@ soc { compatible = "simple-bus"; ranges; + performance: performance-controller@11bc10 { + compatible = "mediatek,cpufreq-hw"; + reg = <0 0x0011bc10 0 0x120>, <0 0x0011bd30 0 0x120>; + #performance-domain-cells = <1>; + }; + gic: interrupt-controller@c000000 { compatible = "arm,gic-v3"; #interrupt-cells = <4>;
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +4 -0
@@ -255,6 +255,10 @@ dptx_out: endpoint { }; }; +&gic { + mediatek,broken-save-restore-fw; +}; + &gpu { status = "okay"; mali-supply = <&mt6315_7_vbuck1>;
arch/arm64/boot/dts/microchip/sparx5.dtsi +1 -1
@@ -61,7 +61,7 @@ arm-pmu { interrupt-affinity = <&cpu0>, <&cpu1>; }; - psci { + psci: psci { compatible = "arm,psci-0.2"; method = "smc"; };
arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi +12 -0
@@ -6,6 +6,18 @@ /dts-v1/; #include "sparx5.dtsi" +&psci { + status = "disabled"; +}; + +&cpu0 { + enable-method = "spin-table"; +}; + +&cpu1 { + enable-method = "spin-table"; +}; + &uart0 { status = "okay"; };
arch/arm64/boot/dts/qcom/apq8016-sbc.dts +43 -35
145 lines not on this page · raw message
arch/arm64/boot/dts/qcom/apq8096-ifc6640.dts +2 -2
@@ -26,7 +26,7 @@ chosen { v1p05: v1p05-regulator { compatible = "regulator-fixed"; - reglator-name = "v1p05"; + regulator-name = "v1p05"; regulator-always-on; regulator-boot-on;
@@ -38,7 +38,7 @@ v1p05: v1p05-regulator { v12_poe: v12-poe-regulator { compatible = "regulator-fixed"; - reglator-name = "v12_poe"; + regulator-name = "v12_poe"; regulator-always-on; regulator-boot-on;
arch/arm64/boot/dts/qcom/ipq6018.dtsi +1 -1
@@ -302,7 +302,7 @@ mdio: mdio@90000 { status = "disabled"; }; - prng: qrng@e1000 { + prng: qrng@e3000 { compatible = "qcom,prng-ee"; reg = <0x0 0x000e3000 0x0 0x1000>; clocks = <&gcc GCC_PRNG_AHB_CLK>;
arch/arm64/boot/dts/qcom/ipq9574.dtsi +3 -3
@@ -173,14 +173,14 @@ blsp1_uart2: serial@78b1000 { intc: interrupt-controller@b000000 { compatible = "qcom,msm-qgic2"; reg = <0x0b000000 0x1000>, /* GICD */ - <0x0b002000 0x1000>, /* GICC */ + <0x0b002000 0x2000>, /* GICC */ <0x0b001000 0x1000>, /* GICH */ - <0x0b004000 0x1000>; /* GICV */ + <0x0b004000 0x2000>; /* GICV */ #address-cells = <1>; #size-cells = <1>; interrupt-controller; #interrupt-cells = <3>; - interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; ranges = <0 0x0b00c000 0x3000>; v2m0: v2m@0 {
arch/arm64/boot/dts/qcom/msm8916.dtsi +4 -4
@@ -1162,7 +1162,7 @@ dsi_phy0: phy@1a98300 { }; }; - camss: camss@1b00000 { + camss: camss@1b0ac00 { compatible = "qcom,msm8916-camss"; reg = <0x01b0ac00 0x200>, <0x01b00030 0x4>,
@@ -1554,7 +1554,7 @@ lpass_codec: audio-codec@771c000 { #sound-dai-cells = <1>; }; - sdhc_1: mmc@7824000 { + sdhc_1: mmc@7824900 { compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07824900 0x11c>, <0x07824000 0x800>; reg-names = "hc", "core";
@@ -1572,7 +1572,7 @@ sdhc_1: mmc@7824000 { status = "disabled"; }; - sdhc_2: mmc@7864000 { + sdhc_2: mmc@7864900 { compatible = "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07864900 0x11c>, <0x07864000 0x800>; reg-names = "hc", "core";
@@ -1871,7 +1871,7 @@ usb_hs_phy: phy { }; }; - wcnss: remoteproc@a21b000 { + wcnss: remoteproc@a204000 { compatible = "qcom,pronto-v2-pil", "qcom,pronto"; reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>; reg-names = "ccu", "dxe", "pmu";
arch/arm64/boot/dts/qcom/msm8953.dtsi +2 -2
@@ -1002,7 +1002,7 @@ dsi1_phy: phy@1a96400 { }; }; - apps_iommu: iommu@1e00000 { + apps_iommu: iommu@1e20000 { compatible = "qcom,msm8953-iommu", "qcom,msm-iommu-v1"; ranges = <0 0x01e20000 0x20000>;
@@ -1425,7 +1425,7 @@ i2c_8: i2c@7af8000 { status = "disabled"; }; - wcnss: remoteproc@a21b000 { + wcnss: remoteproc@a204000 { compatible = "qcom,pronto-v3-pil", "qcom,pronto"; reg = <0x0a204000 0x2000>, <0x0a202000 0x1000>, <0x0a21b000 0x3000>; reg-names = "ccu", "dxe", "pmu";
arch/arm64/boot/dts/qcom/msm8976.dtsi +3 -3
@@ -822,7 +822,7 @@ spmi_bus: spmi@200f000 { #interrupt-cells = <4>; }; - sdhc_1: mmc@7824000 { + sdhc_1: mmc@7824900 { compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07824900 0x500>, <0x07824000 0x800>; reg-names = "hc", "core";
@@ -838,7 +838,7 @@ sdhc_1: mmc@7824000 { status = "disabled"; }; - sdhc_2: mmc@7864000 { + sdhc_2: mmc@7864900 { compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07864900 0x11c>, <0x07864000 0x800>; reg-names = "hc", "core";
@@ -957,7 +957,7 @@ otg: usb@78db000 { #reset-cells = <1>; }; - sdhc_3: mmc@7a24000 { + sdhc_3: mmc@7a24900 { compatible = "qcom,msm8976-sdhci", "qcom,sdhci-msm-v4"; reg = <0x07a24900 0x11c>, <0x07a24000 0x800>; reg-names = "hc", "core";
arch/arm64/boot/dts/qcom/msm8994.dtsi +1 -1
@@ -747,7 +747,7 @@ restart@fc4ab000 { reg = <0xfc4ab000 0x4>; }; - spmi_bus: spmi@fc4c0000 { + spmi_bus: spmi@fc4cf000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xfc4cf000 0x1000>, <0xfc4cb000 0x1000>,
arch/arm64/boot/dts/qcom/msm8996.dtsi +1 -1
@@ -2069,7 +2069,7 @@ ufsphy_lane: phy@627400 { }; }; - camss: camss@a00000 { + camss: camss@a34000 { compatible = "qcom,msm8996-camss"; reg = <0x00a34000 0x1000>, <0x00a00030 0x4>,
arch/arm64/boot/dts/qcom/pm7250b.dtsi +1 -0
@@ -3,6 +3,7 @@ * Copyright (C) 2022 Luca Weiss <[email protected]> */ +#include <dt-bindings/iio/qcom,spmi-vadc.h> #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/spmi/spmi.h>
arch/arm64/boot/dts/qcom/pm8998.dtsi +1 -1
@@ -55,7 +55,7 @@ pm8998_pwrkey: pwrkey { pm8998_resin: resin { compatible = "qcom,pm8941-resin"; - interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; debounce = <15625>; bias-pull-up; status = "disabled";
arch/arm64/boot/dts/qcom/qdu1000.dtsi +1 -0
@@ -1252,6 +1252,7 @@ apps_rsc: rsc@17a00000 { qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>, <WAKE_TCS 3>, <CONTROL_TCS 0>; label = "apps_rsc"; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";
arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +2 -1
@@ -199,7 +199,8 @@ &sdhc_1 { }; &sdhc_2 { - cd-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>; /* card detect gpio */ + cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; /* card detect gpio */ + vmmc-supply = <&vreg_l22a_2p96>; vqmmc-supply = <&vreg_l5a_2p96>; no-sdio;
arch/arm64/boot/dts/qcom/sdm630.dtsi +1 -1
@@ -1894,7 +1894,7 @@ pil-reloc@94c { }; }; - camss: camss@ca00000 { + camss: camss@ca00020 { compatible = "qcom,sdm660-camss"; reg = <0x0ca00020 0x10>, <0x0ca30000 0x100>,
arch/arm64/boot/dts/qcom/sdm670.dtsi +1 -0
@@ -1282,6 +1282,7 @@ apps_rsc: rsc@179c0000 { <SLEEP_TCS 3>, <WAKE_TCS 3>, <CONTROL_TCS 1>; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts +1 -0
@@ -483,6 +483,7 @@ rmi4-f01@1 { }; rmi4-f12@12 { + reg = <0x12>; syna,rezero-wait-ms = <0xc8>; syna,clip-x-high = <0x438>; syna,clip-y-high = <0x870>;
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -1
@@ -4238,7 +4238,7 @@ videocc: clock-controller@ab00000 { #reset-cells = <1>; }; - camss: camss@a00000 { + camss: camss@acb3000 { compatible = "qcom,sdm845-camss"; reg = <0 0x0acb3000 0 0x1000>,
@@ -5137,6 +5137,7 @@ apps_rsc: rsc@179c0000 { <SLEEP_TCS 3>, <WAKE_TCS 3>, <CONTROL_TCS 1>; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";
arch/arm64/boot/dts/qcom/sm6115.dtsi +1 -1
@@ -700,7 +700,7 @@ spmi_bus: spmi@1c40000 { #interrupt-cells = <4>; }; - tsens0: thermal-sensor@4410000 { + tsens0: thermal-sensor@4411000 { compatible = "qcom,sm6115-tsens", "qcom,tsens-v2"; reg = <0x0 0x04411000 0x0 0x1ff>, /* TM */ <0x0 0x04410000 0x0 0x8>; /* SROT */
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi +4 -3
@@ -26,9 +26,10 @@ chosen { framebuffer: framebuffer@9c000000 { compatible = "simple-framebuffer"; reg = <0 0x9c000000 0 0x2300000>; - width = <1644>; - height = <3840>; - stride = <(1644 * 4)>; + /* pdx203 BL initializes in 2.5k mode, not 4k */ + width = <1096>; + height = <2560>; + stride = <(1096 * 4)>; format = "a8r8g8b8"; /* * That's a lot of clocks, but it's necessary due
arch/arm64/boot/dts/qcom/sm8350.dtsi +3 -3
@@ -907,7 +907,7 @@ spi19: spi@894000 { }; }; - gpi_dma0: dma-controller@900000 { + gpi_dma0: dma-controller@9800000 { compatible = "qcom,sm8350-gpi-dma", "qcom,sm6350-gpi-dma"; reg = <0 0x09800000 0 0x60000>; interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
@@ -1638,7 +1638,7 @@ pcie1: pci@1c08000 { status = "disabled"; }; - pcie1_phy: phy@1c0f000 { + pcie1_phy: phy@1c0e000 { compatible = "qcom,sm8350-qmp-gen3x2-pcie-phy"; reg = <0 0x01c0e000 0 0x2000>; clocks = <&gcc GCC_PCIE_1_AUX_CLK>,
@@ -2140,7 +2140,7 @@ usb_2_hsphy: phy@88e4000 { resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; }; - usb_1_qmpphy: phy@88e9000 { + usb_1_qmpphy: phy@88e8000 { compatible = "qcom,sm8350-qmp-usb3-dp-phy"; reg = <0 0x088e8000 0 0x3000>;
arch/arm64/boot/dts/qcom/sm8550.dtsi +7 -2
@@ -1858,7 +1858,7 @@ cryptobam: dma-controller@1dc4000 { <&apps_smmu 0x481 0x0>; }; - crypto: crypto@1de0000 { + crypto: crypto@1dfa000 { compatible = "qcom,sm8550-qce", "qcom,sm8150-qce", "qcom,qce"; reg = <0x0 0x01dfa000 0x0 0x6000>; dmas = <&cryptobam 4>, <&cryptobam 5>;
@@ -2769,6 +2769,10 @@ usb_1: usb@a6f8800 { resets = <&gcc GCC_USB30_PRIM_BCR>; + interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; + interconnect-names = "usb-ddr", "apps-usb"; + status = "disabled"; usb_1_dwc3: usb@a600000 {
@@ -2883,7 +2887,7 @@ spmi_bus: spmi@c400000 { #interrupt-cells = <4>; }; - tlmm: pinctrl@f000000 { + tlmm: pinctrl@f100000 { compatible = "qcom,sm8550-tlmm"; reg = <0 0x0f100000 0 0x300000>; interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
@@ -3597,6 +3601,7 @@ apps_rsc: rsc@17a00000 { qcom,drv-id = <2>; qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>, <WAKE_TCS 2>, <CONTROL_TCS 0>; + power-domains = <&CLUSTER_PD>; apps_bcm_voter: bcm-voter { compatible = "qcom,bcm-voter";
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +1 -2
@@ -367,7 +367,7 @@ hscif0_pins: hscif0 { }; scif1_pins: scif1 { - groups = "scif1_data_b", "scif1_ctrl"; + groups = "scif1_data_b"; function = "scif1"; };
@@ -397,7 +397,6 @@ &sound_clk_pins &scif1 { pinctrl-0 = <&scif1_pins>; pinctrl-names = "default"; - uart-has-rtscts; status = "okay"; };
arch/arm64/boot/dts/rockchip/rk3566-anbernic-rgxx3.dtsi +1 -1
@@ -716,7 +716,7 @@ &uart1 { status = "okay"; bluetooth { - compatible = "realtek,rtl8821cs-bt", "realtek,rtl8822cs-bt"; + compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt"; device-wake-gpios = <&gpio4 4 GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>; host-wake-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>;
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +2 -0
@@ -133,6 +133,8 @@ es8316: audio-codec@11 { reg = <0x11>; clocks = <&cru I2S0_8CH_MCLKOUT>; clock-names = "mclk"; + assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; + assigned-clock-rates = <12288000>; #sound-dai-cells = <0>; port {
arch/arm64/boot/dts/ti/k3-am69-sk.dts +1 -1
@@ -23,7 +23,7 @@ chosen { aliases { serial2 = &main_uart8; mmc1 = &main_sdhci1; - i2c0 = &main_i2c0; + i2c3 = &main_i2c0; }; memory@80000000 {
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +14 -14
@@ -83,25 +83,25 @@ vdd_sd_dv: gpio-regulator-TLV71033 { &wkup_pmx2 { mcu_cpsw_pins_default: mcu-cpsw-pins-default { pinctrl-single,pins = < - J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */ - J721E_WKUP_IOPAD(0x006c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */ - J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */ - J721E_WKUP_IOPAD(0x0074, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */ - J721E_WKUP_IOPAD(0x0078, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */ - J721E_WKUP_IOPAD(0x007c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */ - J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */ - J721E_WKUP_IOPAD(0x008c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */ - J721E_WKUP_IOPAD(0x0090, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */ - J721E_WKUP_IOPAD(0x0094, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */ - J721E_WKUP_IOPAD(0x0080, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */ - J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RXC */ + J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */ + J721E_WKUP_IOPAD(0x0004, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */ + J721E_WKUP_IOPAD(0x0008, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */ + J721E_WKUP_IOPAD(0x000c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */ + J721E_WKUP_IOPAD(0x0010, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */ + J721E_WKUP_IOPAD(0x0014, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */ + J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */ + J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */ + J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */ + J721E_WKUP_IOPAD(0x002c, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */ + J721E_WKUP_IOPAD(0x0018, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */ + J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_RGMII1_RXC */ >; }; mcu_mdio_pins_default: mcu-mdio1-pins-default { pinctrl-single,pins = < - J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ - J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ + J721E_WKUP_IOPAD(0x0034, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ + J721E_WKUP_IOPAD(0x0030, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ >; }; };
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts +5 -0
@@ -936,6 +936,7 @@ &ufs_wrapper { }; &mailbox0_cluster0 { + status = "okay"; interrupts = <436>; mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 {
@@ -950,6 +951,7 @@ mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { }; &mailbox0_cluster1 { + status = "okay"; interrupts = <432>; mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 {
@@ -964,6 +966,7 @@ mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { }; &mailbox0_cluster2 { + status = "okay"; interrupts = <428>; mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 {
@@ -978,6 +981,7 @@ mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { }; &mailbox0_cluster3 { + status = "okay"; interrupts = <424>; mbox_c66_0: mbox-c66-0 {
@@ -992,6 +996,7 @@ mbox_c66_1: mbox-c66-1 { }; &mailbox0_cluster4 { + status = "okay"; interrupts = <420>; mbox_c71_0: mbox-c71-0 {
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +16 -16
@@ -23,7 +23,7 @@ aliases { serial2 = &main_uart8; mmc0 = &main_sdhci0; mmc1 = &main_sdhci1; - i2c0 = &main_i2c0; + i2c3 = &main_i2c0; }; memory@80000000 {
@@ -141,28 +141,28 @@ J784S4_IOPAD(0x020, PIN_INPUT, 7) /* (AJ35) MCAN15_RX.GPIO0_8 */ }; }; -&wkup_pmx0 { +&wkup_pmx2 { mcu_cpsw_pins_default: mcu-cpsw-pins-default { pinctrl-single,pins = < - J784S4_WKUP_IOPAD(0x094, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ - J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ - J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ - J784S4_WKUP_IOPAD(0x088, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ - J784S4_WKUP_IOPAD(0x084, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ - J784S4_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ - J784S4_WKUP_IOPAD(0x07c, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ - J784S4_WKUP_IOPAD(0x078, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ - J784S4_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ - J784S4_WKUP_IOPAD(0x070, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ - J784S4_WKUP_IOPAD(0x080, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ - J784S4_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ + J784S4_WKUP_IOPAD(0x02c, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ + J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ + J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ + J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ + J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ + J784S4_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ + J784S4_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ + J784S4_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ + J784S4_WKUP_IOPAD(0x00c, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ + J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ + J784S4_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ + J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ >; }; mcu_mdio_pins_default: mcu-mdio-pins-default { pinctrl-single,pins = < - J784S4_WKUP_IOPAD(0x09c, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ - J784S4_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ + J784S4_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ + J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ >; }; };
arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +28 -1
@@ -50,7 +50,34 @@ mcu_ram: sram@41c00000 { wkup_pmx0: pinctrl@4301c000 { compatible = "pinctrl-single"; /* Proxy 0 addressing */ - reg = <0x00 0x4301c000 0x00 0x178>; + reg = <0x00 0x4301c000 0x00 0x034>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx1: pinctrl@4301c038 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c038 0x00 0x02c>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx2: pinctrl@4301c068 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c068 0x00 0x120>; + #pinctrl-cells = <1>; + pinctrl-single,register-width = <32>; + pinctrl-single,function-mask = <0xffffffff>; + }; + + wkup_pmx3: pinctrl@4301c190 { + compatible = "pinctrl-single"; + /* Proxy 0 addressing */ + reg = <0x00 0x4301c190 0x00 0x004>; #pinctrl-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0xffffffff>;
arch/arm64/include/asm/fpsimdmacros.h +3 -3
@@ -316,12 +316,12 @@ _for n, 0, 15, _sve_str_p \n, \nxbase, \n - 16 cbz \save_ffr, 921f _sve_rdffr 0 - _sve_str_p 0, \nxbase - _sve_ldr_p 0, \nxbase, -16 b 922f 921: - str xzr, [x\nxbase] // Zero out FFR + _sve_pfalse 0 // Zero out FFR 922: + _sve_str_p 0, \nxbase + _sve_ldr_p 0, \nxbase, -16 mrs x\nxtmp, fpsr str w\nxtmp, [\xpfpsr] mrs x\nxtmp, fpcr
arch/arm64/kernel/signal.c +1 -1
@@ -398,7 +398,7 @@ static int restore_tpidr2_context(struct user_ctxs *user)__get_user_error (tpidr2_el0, &user->tpidr2->tpidr2, err);if (!err) - current->thread.tpidr2_el0 = tpidr2_el0; +write_sysreg_s (tpidr2_el0,SYS_TPIDR2_EL0 );return err; }
arch/loongarch/Makefile +1 -1
@@ -107,7 +107,7 @@ KBUILD_CFLAGS += -isystem $(shell $(CC) -print-file-name=include) KBUILD_LDFLAGS += -m $(ld-emul) ifdef CONFIG_LOONGARCH -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/Makefile +1 -1
@@ -346,7 +346,7 @@ KBUILD_CFLAGS += -fno-asynchronous-unwind-tables KBUILD_LDFLAGS += -m $(ld-emul) ifdef CONFIG_MIPS -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/alchemy/devboards/db1000.c +10 -1
@@ -381,13 +381,21 @@ static struct platform_device db1100_mmc1_dev = {static struct ads7846_platform_data db1100_touch_pd = { .model =7846 , .vref_mv =3300 , - .gpio_pendown =21 , };static struct spi_gpio_platform_data db1100_spictl_pd = { .num_chipselect =1 , }; +static struct gpiod_lookup_table db1100_touch_gpio_table = { + .dev_id ="spi0.0" , + .table = { +GPIO_LOOKUP ("alchemy-gpio2" ,21 , +"pendown" ,GPIO_ACTIVE_LOW ), + { } + }, +}; +static struct spi_board_info db1100_spi_info[]__initdata = { [0 ] = { .modalias ="ads7846" ,
@@ -474,6 +482,7 @@ int __init db1000_dev_setup(void) pfc |= (1 <<0 );/* SSI0 pins as GPIOs */ alchemy_wrsys (pfc,AU1000_SYS_PINFUNC ); +gpiod_add_lookup_table (&db1100_touch_gpio_table);spi_register_board_info (db1100_spi_info,ARRAY_SIZE (db1100_spi_info));
arch/powerpc/Kconfig.debug +1 -1
@@ -240,7 +240,7 @@ config PPC_EARLY_DEBUG_40x config PPC_EARLY_DEBUG_CPM bool "Early serial debugging for Freescale CPM-based serial ports" - depends on SERIAL_CPM + depends on SERIAL_CPM=y help Select this to enable early debugging for Freescale chips using a CPM-based serial port. This assumes that the bootwrapper
arch/powerpc/boot/dts/turris1x.dts +3 -3
@@ -476,12 +476,12 @@ pci2: pcie@ffe08000 { * channel 1 (but only USB 2.0 subset) to USB 2.0 pins on mPCIe * slot 1 (CN5), channels 2 and 3 to connector P600. * - * P2020 PCIe Root Port uses 1MB of PCIe MEM and xHCI controller + * P2020 PCIe Root Port does not use PCIe MEM and xHCI controller * uses 64kB + 8kB of PCIe MEM. No PCIe IO is used or required. - * So allocate 2MB of PCIe MEM for this PCIe bus. + * So allocate 128kB of PCIe MEM for this PCIe bus. */ reg = <0 0xffe08000 0 0x1000>; - ranges = <0x02000000 0x0 0xc0000000 0 0xc0000000 0x0 0x00200000>, /* MEM */ + ranges = <0x02000000 0x0 0xc0000000 0 0xc0000000 0x0 0x00020000>, /* MEM */ <0x01000000 0x0 0x00000000 0 0xffc20000 0x0 0x00010000>; /* IO */ pcie@0 {
arch/powerpc/include/asm/nmi.h +2 -2
@@ -5,10 +5,10 @@#ifdef CONFIG_PPC_WATCHDOG extern void arch_touch_nmi_watchdog (void );long soft_nmi_interrupt (struct pt_regs *regs); -void watchdog_nmi_set_timeout_pct (u64 pct); +void watchdog_hardlockup_set_timeout_pct (u64 pct);#else static inline void arch_touch_nmi_watchdog (void ) {} -static inline void watchdog_nmi_set_timeout_pct (u64 pct) {} +static inline void watchdog_hardlockup_set_timeout_pct (u64 pct) {}#endif #ifdef CONFIG_NMI_IPI
arch/powerpc/kernel/interrupt.c +1 -2
@@ -368,7 +368,6 @@ void preempt_schedule_irq(void);notrace unsigned long interrupt_exit_kernel_prepare (struct pt_regs *regs) { -unsigned long flags;unsigned long ret =0 ;unsigned long kuap;bool stack_store =read_thread_flags () & _TIF_EMULATE_STACK_STORE;
@@ -392,7 +391,7 @@ notrace unsigned long interrupt_exit_kernel_prepare(struct pt_regs *regs) kuap =kuap_get_and_assert_locked (); -local_irq_save (flags); +local_irq_disable ();if (!arch_irq_disabled_regs (regs)) {/* Returning to a kernel context with local irqs enabled. */
arch/powerpc/kernel/ppc_save_regs.S +3 -3
@@ -31,10 +31,10 @@ _GLOBAL(ppc_save_regs) lbz r0,PACAIRQSOFTMASK(r13) PPC_STL r0,SOFTE(r3) #endif - /* go up one stack frame for SP */ - PPC_LL r4,0(r1) - PPC_STL r4,GPR1(r3) + /* store current SP */ + PPC_STL r1,GPR1(r3) /* get caller's LR */ + PPC_LL r4,0(r1) PPC_LL r0,LRSAVE(r4) PPC_STL r0,_LINK(r3) mflr r0
arch/powerpc/kernel/signal_32.c +9 -6
@@ -264,8 +264,9 @@ static void prepare_save_user_regs(int ctx_has_vsx_region)#endif } -static int __unsafe_save_user_regs (struct pt_regs *regs,struct mcontext __user *frame, -struct mcontext __user *tm_frame,int ctx_has_vsx_region) +static __always_inline int +__unsafe_save_user_regs (struct pt_regs *regs,struct mcontext __user *frame, +struct mcontext __user *tm_frame,int ctx_has_vsx_region) {unsigned long msr = regs->msr;
@@ -364,8 +365,9 @@ static void prepare_save_tm_user_regs(void) current->thread.ckvrsave =mfspr (SPRN_VRSAVE ); } -static int save_tm_user_regs_unsafe (struct pt_regs *regs,struct mcontext __user *frame, -struct mcontext __user *tm_frame,unsigned long msr) +static __always_inline int +save_tm_user_regs_unsafe (struct pt_regs *regs,struct mcontext __user *frame, +struct mcontext __user *tm_frame,unsigned long msr) {/* Save both sets of general registers */ unsafe_save_general_regs (¤t->thread.ckpt_regs, frame, failed);
@@ -444,8 +446,9 @@ static int save_tm_user_regs_unsafe(struct pt_regs *regs, struct mcontext __user#else static void prepare_save_tm_user_regs (void ) { } -static int save_tm_user_regs_unsafe (struct pt_regs *regs,struct mcontext __user *frame, -struct mcontext __user *tm_frame,unsigned long msr)
Lines of this file are not shown. View the raw message.
arch/powerpc/mm/book3s64/radix_pgtable.c +22 -12
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/powernv/pci-sriov.c +3 -3
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/powernv/vas-window.c +1 -1
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/pseries/mobility.c +2 -2
Lines of this file are not shown. View the raw message.
arch/sh/include/mach-common/mach/highlander.h +1 -1
Lines of this file are not shown. View the raw message.
arch/sh/include/mach-dreamcast/mach/sysasic.h +1 -1
Lines of this file are not shown. View the raw message.
arch/x86/coco/tdx/tdx.c +48 -3
51 lines not on this page · raw message
arch/x86/events/amd/ibs.c +26 -27
53 lines not on this page · raw message
arch/x86/kernel/cpu/mtrr/generic.c +92 -32
124 lines not on this page · raw message
arch/x86/kernel/cpu/mtrr/mtrr.c +20 -53
73 lines not on this page · raw message
arch/x86/xen/enlighten_pv.c +52 -0
52 lines not on this page · raw message
block/partitions/amiga.c +86 -18
104 lines not on this page · raw message
drivers/accel/habanalabs/gaudi2/gaudi2.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/clk/clk-versaclock5.c +37 -8
45 lines not on this page · raw message
drivers/clk/mediatek/clk-mt8173-apmixedsys.c +5 -2
Lines of this file are not shown. View the raw message.
drivers/clk/qcom/gcc-qcm2290.c +31 -31
62 lines not on this page · raw message
drivers/clk/xilinx/clk-xlnx-clock-wizard.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/clocksource/timer-cadence-ttc.c +13 -6
Lines of this file are not shown. View the raw message.
drivers/crypto/intel/qat/qat_common/qat_asym_algs.c +6 -8
Lines of this file are not shown. View the raw message.
drivers/cxl/core/region.c +63 -39
102 lines not on this page · raw message
drivers/dax/bus.c +38 -23
61 lines not on this page · raw message
drivers/extcon/extcon-usbc-tusb320.c +34 -8
42 lines not on this page · raw message
drivers/firmware/efi/libstub/efi-stub-helper.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpio/gpio-twl4030.c +36 -16
52 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +47 -38
85 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c +7 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +2 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr_smu_msg.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc.c +0 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +0 -23
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h +0 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_init.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_mode_vba_21.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_rq_dlg_calc_32.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +14 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/analogix/anx7625.c +88 -40
128 lines not on this page · raw message
drivers/gpu/drm/bridge/tc358768.c +73 -20
93 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_color.c +18 -18
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_crtc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_cursor.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display.h +5 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display_device.c new file +728 -0
728 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_display_device.h new file +86 -0
86 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_display_power.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display_reg_defs.h +7 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_fb_pin.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_fbc.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_hdcp.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_hti.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_psr.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_psr_regs.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/skl_watermark.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +35 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +28 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc_types.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/i915_drv.h +24 -28
52 lines not on this page · raw message
drivers/gpu/drm/i915/i915_pci.c +3 -381
384 lines not on this page · raw message
drivers/gpu/drm/i915/intel_device_info.c +92 -48
140 lines not on this page · raw message
drivers/gpu/drm/i915/intel_device_info.h +4 -65
69 lines not on this page · raw message
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h +6 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h +4 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h +6 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h +6 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h +6 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h +7 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h +13 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c +5 -55
60 lines not on this page · raw message
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +14 -22
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.c +50 -25
75 lines not on this page · raw message
drivers/gpu/drm/msm/disp/dpu1/dpu_hw_pingpong.h +4 -27
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/dsi/phy/dsi_phy_14nm.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/dispnv50/disp.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c +6 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/vkms/vkms_formats.c +53 -78
131 lines not on this page · raw message
drivers/hwmon/pmbus/adm1275.c +26 -26
52 lines not on this page · raw message
drivers/hwtracing/coresight/coresight-core.c +2 -7
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c +18 -9
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-designware-pcidrv.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_fp.c +23 -17
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_fp.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +34 -12
46 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/qplib_rcfw.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/mmu_rb.c +63 -38
101 lines not on this page · raw message
drivers/infiniband/hw/hfi1/sdma.h +32 -15
47 lines not on this page · raw message
drivers/infiniband/hw/hfi1/sdma_txreq.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/user_sdma.c +55 -82
137 lines not on this page · raw message
drivers/infiniband/hw/hns/hns_roce_hem.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/input/touchscreen/ads7846.c +38 -76
114 lines not on this page · raw message
drivers/input/touchscreen/cyttsp4_core.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/iommu/virtio-iommu.c +41 -16
57 lines not on this page · raw message
drivers/md/raid1-10.c +42 -0
42 lines not on this page · raw message
drivers/md/raid10.c +29 -46
75 lines not on this page · raw message
drivers/media/common/saa7146/saa7146_core.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/amphion/vpu_malone.c +12 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/amphion/vpu_v4l2.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/amphion/vpu_v4l2.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.c +14 -19
Lines of this file are not shown. View the raw message.
drivers/media/platform/mediatek/vcodec/vdec_msg_queue.h +14 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/helpers.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/media/platform/renesas/rcar_fdp1.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/mmc/host/omap.c +44 -2
46 lines not on this page · raw message
drivers/net/dsa/sja1105/sja1105_main.c +4 -10
Lines of this file are not shown. View the raw message.
drivers/net/dsa/sja1105/sja1105_ptp.c +4 -44
48 lines not on this page · raw message
drivers/net/ethernet/intel/ice/ice_main.c +21 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_ptp.c +3 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/ice/ice_ptp.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/igc/igc_main.c +36 -9
45 lines not on this page · raw message
drivers/net/ethernet/intel/igc/igc_ptp.c +102 -40
142 lines not on this page · raw message
drivers/net/ethernet/marvell/octeontx2/af/cgx.c +30 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/cgx.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/lmac_common.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rpm.c +28 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rpm.h +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu.h +12 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c +20 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/minimal.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mscc/ocelot_ptp.c +41 -25
66 lines not on this page · raw message
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +0 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/xilinx/xilinx_axienet_main.c +5 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/ar9003_hw.c +18 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath9k/htc_hst.c +7 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/api/rs.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/dump.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +4 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/ops.c +6 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c +39 -19
58 lines not on this page · raw message
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/sta.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/rx.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/orinoco/orinoco_cs.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intersil/orinoco/spectrum_cs.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/legacy/wl3501_cs.c +11 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/marvell/mwifiex/scan.c +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/dma.c +0 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/mcu.c +0 -8
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7921/pci.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/microchip/wilc1000/hif.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/mac80211.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/usb.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/rsi/rsi_91x_sdio.c +2 -7
Lines of this file are not shown. View the raw message.
drivers/pci/controller/cadence/pcie-cadence-host.c +27 -0
Lines of this file are not shown. View the raw message.
drivers/pci/endpoint/functions/pci-epf-test.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/phy/qualcomm/phy-qcom-qmp-combo.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/pinctrl/freescale/pinctrl-scu.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-cherryview.c +10 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/pinctrl-microchip-sgpio.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra114.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra124.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra194.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra20.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra210.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/pinctrl/tegra/pinctrl-tegra30.c +2 -5
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel/pmc/mtl.c +459 -16
475 lines not on this page · raw message
drivers/platform/x86/lenovo-yogabook-wmi.c +24 -10
Lines of this file are not shown. View the raw message.
drivers/soc/amlogic/meson-secure-pwrc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/soc/qcom/qcom-geni-se.c +49 -18
67 lines not on this page · raw message
drivers/soc/xilinx/xlnx_event_manager.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/soundwire/qcom.c +91 -88
179 lines not on this page · raw message
drivers/spi/spi-geni-qcom.c +57 -54
111 lines not on this page · raw message
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c +1 -7
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/i2c/ov2680.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/thermal/qcom/tsens-v0_1.c +54 -2
56 lines not on this page · raw message
drivers/thermal/sun8i_thermal.c +18 -37
55 lines not on this page · raw message
drivers/usb/gadget/function/u_serial.c +11 -2
Lines of this file are not shown. View the raw message.
drivers/usb/musb/tusb6010.c +39 -14
53 lines not on this page · raw message
fs/btrfs/ctree.c +38 -11
49 lines not on this page · raw message
fs/btrfs/extent_io.c +119 -214
333 lines not on this page · raw message
fs/btrfs/inode.c +42 -50
92 lines not on this page · raw message
fs/btrfs/tree-mod-log.c +106 -9
115 lines not on this page · raw message
fs/erofs/zdata.c +11 -61
72 lines not on this page · raw message
fs/f2fs/super.c +147 -13
160 lines not on this page · raw message
fs/inode.c +42 -0
42 lines not on this page · raw message
fs/nfs/nfs42xattr.c +44 -35
79 lines not on this page · raw message
fs/smb/client/connect.c +40 -30
70 lines not on this page · raw message
fs/smb/client/dfs.c +21 -34
55 lines not on this page · raw message
fs/verity/hash_algs.c +21 -110
131 lines not on this page · raw message
fs/verity/verify.c +44 -69
113 lines not on this page · raw message
include/linux/bpf_verifier.h +42 -10
52 lines not on this page · raw message
include/linux/platform_data/lcd-mipid.h +0 -2
Lines of this file are not shown. View the raw message.
include/net/mac80211.h +43 -1
44 lines not on this page · raw message
include/uapi/linux/affs_hardblocks.h +34 -34
68 lines not on this page · raw message
kernel/bpf/verifier.c +538 -178
716 lines not on this page · raw message
kernel/rcu/rcuscale.c +102 -97
199 lines not on this page · raw message
kernel/time/posix-timers.c +35 -8
43 lines not on this page · raw message
kernel/watchdog.c +214 -88
302 lines not on this page · raw message
kernel/watchdog_hld.c +4 -44
48 lines not on this page · raw message
net/bluetooth/hci_conn.c +39 -8
47 lines not on this page · raw message
net/core/filter.c +102 -24
126 lines not on this page · raw message
net/core/rtnetlink.c +55 -49
104 lines not on this page · raw message
net/dsa/slave.c +58 -26
84 lines not on this page · raw message
net/dsa/tag_sja1105.c +34 -56
90 lines not on this page · raw message
net/netfilter/nf_conntrack_proto_dccp.c +49 -3
52 lines not on this page · raw message
net/nfc/llcp_core.c +42 -7
49 lines not on this page · raw message
net/sched/act_ipt.c +63 -7
70 lines not on this page · raw message
net/sched/sch_netem.c +25 -34
59 lines not on this page · raw message
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c +6 -6
Lines of this file are not shown. View the raw message.
net/wireless/scan.c +135 -232
367 lines not on this page · raw message
scripts/mod/modpost.c +25 -61
86 lines not on this page · raw message
security/apparmor/policy_unpack.c +63 -37
100 lines not on this page · raw message
sound/core/pcm_memory.c +36 -8
44 lines not on this page · raw message
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c +7 -6
Lines of this file are not shown. View the raw message.
tools/perf/arch/x86/util/env.c new file +19 -0
Lines of this file are not shown. View the raw message.
tools/perf/arch/x86/util/env.h new file +7 -0
Lines of this file are not shown. View the raw message.
tools/perf/tests/shell/test_task_analyzer.sh +25 -1
Lines of this file are not shown. View the raw message.
tools/perf/util/bpf_skel/lock_contention.bpf.c +0 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/check_mtu.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/refcounted_kptr.c +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/refcounted_kptr_fail.c +3 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/test_verifier.c +13 -11
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/verifier/precise.c +54 -52
106 lines not on this page · raw message
tools/testing/selftests/cgroup/test_memcontrol.c +3 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/ftracetest +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/rtnetlink.sh +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/nolibc/nolibc-test.c +3 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/rcutorture/configs/rcu/BUSTED-BOOST.boot +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/rcutorture/configs/rcu/TREE03.boot +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/vDSO/vdso_test_clock_getres.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/wireguard/netns.sh +26 -4
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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
I have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQ RT prio?)
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---
Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an rcu_torture object from the rcu_torture pool is still allocated which is an indiciation that RCU is not working.
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9
However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------
I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
thanks,
- Joel
Paul E. McKenney
maintainerQuoted 49 lines · Joel Fernandes
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryI have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620
Quoted 8 lines
[ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---
Agreed, this indicates that RCU priority boosting isn't getting its job done. Does this consistently fail about a minute into the run, or is it less deterministic than that?
Quoted 9 lines
Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
stutter_waited = stutter_wait("rcu_torture_writer");
if (stutter_waited &&
!atomic_read(&rcu_fwd_cb_nodelay) &&
!cur_ops->slow_gps &&
!torture_must_stop() &&
boot_ended)
for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free) &&
rcu_access_pointer(rcu_torture_current) !=
&rcu_tortures[i]) {
tracing_off();
show_rcu_gp_kthreads();
WARN(1, "%s: rtort_pipe_count: %d\n", __func__, rcu_tortures[i].rtort_pipe_count);
rcu_ftrace_dump(DUMP_ALL);
}If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
Quoted 40 lines
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------
Quoted 3 lines
I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
I haven't been seeing this in v6.4, though there is always the possibility that your hardware setup has timing differences from mine, so maybe my testing simply isn't seeing this.
And thank you very much for testing this!!!
Thanx, Paul
Hi Paul,
Quoted 60 lines · Paul E. McKenney
Quoted 49 lines · Joel Fernandes
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryI have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620Quoted 8 lines
[ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---
Quoted 3 lines
Agreed, this indicates that RCU priority boosting isn't getting its job done. Does this consistently fail about a minute into the run, or is it less deterministic than that?
It is not consistently a minute in, on another run it happened in an hour:
[ 3611.018653] WARNING: CPU: 10 PID: 168 at
kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620
Quoted 12 lines
Quoted 9 lines
Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
Quoted 15 lines
stutter_waited = stutter_wait("rcu_torture_writer");
if (stutter_waited &&
!atomic_read(&rcu_fwd_cb_nodelay) &&
!cur_ops->slow_gps &&
!torture_must_stop() &&
boot_ended)
for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free) &&
rcu_access_pointer(rcu_torture_current) !=
&rcu_tortures[i]) {
tracing_off();
show_rcu_gp_kthreads();
WARN(1, "%s: rtort_pipe_count: %d\n", __func__, rcu_tortures[i].rtort_pipe_count);
rcu_ftrace_dump(DUMP_ALL);
}Yes, that's right.
Quoted 6 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
When RCU is operating normally, shouldn't the check "(list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?
One thing that confuses me, in the case of "cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.
Quoted 45 lines
Quoted 41 lines
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------Quoted 3 lines
I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
Quoted 5 lines
I haven't been seeing this in v6.4, though there is always the possibility that your hardware setup has timing differences from mine, so maybe my testing simply isn't seeing this.
And thank you very much for testing this!!!
Sure, my pleasure, thanks!
- Joel
Paul E. McKenney
maintainerQuoted 107 lines · Joel Fernandes
Hi Paul,
Quoted 60 lines · Paul E. McKenney
Quoted 49 lines · Joel Fernandes
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryI have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620Quoted 8 lines
[ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---Quoted 3 lines
Agreed, this indicates that RCU priority boosting isn't getting its job done. Does this consistently fail about a minute into the run, or is it less deterministic than that?
It is not consistently a minute in, on another run it happened in an hour:
[ 3611.018653] WARNING: CPU: 10 PID: 168 at
kernel/rcu/rcutorture.c:2227rcu_torture_stats_print+0x5b2/0x620Quoted 12 lines
Quoted 9 lines
Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
Quoted 15 lines
stutter_waited = stutter_wait("rcu_torture_writer"); if (stutter_waited && !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() && boot_ended) for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++) if (list_empty(&rcu_tortures[i].rtort_free) && rcu_access_pointer(rcu_torture_current) != &rcu_tortures[i]) { tracing_off(); show_rcu_gp_kthreads(); WARN(1, "%s: rtort_pipe_count: %d\n", __func__, rcu_tortures[i].rtort_pipe_count); rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 5 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
Quoted 3 lines
When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
The element will not be put on a list until .rtort_pipe_count is equal to RCU_TORTURE_PIPE_LEN, which is 10.
This warning usually appears when something is holding up the grace-period kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.
We only enter this code if the stutter_wait() actually waited, and by default this function will wait about five seconds. Since the rcutorture testing goes idle during this time period (or is supposed to!), if things are working properly, knocking off ten grace periods during that time should be pretty much a given.
Thanx, Paul
Quoted 53 lines
Quoted 44 lines
Quoted 40 lines
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------Quoted 3 lines
I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
Quoted 5 lines
I haven't been seeing this in v6.4, though there is always the possibility that your hardware setup has timing differences from mine, so maybe my testing simply isn't seeing this.
And thank you very much for testing this!!!
Sure, my pleasure, thanks!
- Joel
Quoted 6 lines · Paul E. McKenney
Quoted 5 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started
[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 31 lines
Quoted 31 lines
Quoted 7 lines
Quoted 4 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
Quoted 15 lines
stutter_waited = stutter_wait("rcu_torture_writer"); if (stutter_waited && !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() && boot_ended) for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++) if (list_empty(&rcu_tortures[i].rtort_free) && rcu_access_pointer(rcu_torture_current) != &rcu_tortures[i]) { tracing_off(); show_rcu_gp_kthreads(); WARN(1, "%s: rtort_pipe_count: rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 5 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
Quoted 7 lines
Quoted 3 lines
When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the rtort_pipe_count being 9 is a sign RCU isn't making progress thus making it absent from the free list.
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.
Makes sense.
Quoted 11 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture testing goes idle during this time period (or is supposed to!), if things are working properly, knocking off ten grace periods during that time should be pretty much a given.
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty ;). I think I was subconsciously expecting an rcu_barrier() somewhere in the code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.
So hmm, the count being 9 means that not enough RCU grace periods have passed for the rcu_torture object in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth..
I'll try to collect a trace when it happens.
thanks,
- Joel
Paul E. McKenney
maintainerQuoted 52 lines · Joel Fernandes
Quoted 6 lines · Paul E. McKenney
Quoted 5 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620[...]
Quoted 35 lines
Quoted 34 lines
Quoted 7 lines
Quoted 4 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
Quoted 15 lines
stutter_waited = stutter_wait("rcu_torture_writer"); if (stutter_waited && !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() && boot_ended) for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++) if (list_empty(&rcu_tortures[i].rtort_free) && rcu_access_pointer(rcu_torture_current) != &rcu_tortures[i]) { tracing_off(); show_rcu_gp_kthreads(); WARN(1, "%s: rtort_pipe_count: rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 5 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?
Quoted 6 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress thus making it absent from the free list.
Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 21 lines
Quoted 6 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.
Makes sense.
Quoted 11 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture testing goes idle during this time period (or is supposed to!), if things are working properly, knocking off ten grace periods during that time should be pretty much a given.
Quoted 4 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty ;). I think I was subconsciously expecting an
rcu_barrier()somewhere in the code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.
And there might need to be a call_rcu_hurry() in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.
Looking forward to seeing what you come up with!
Thanx, Paul
Quoted 6 lines · Joel Fernandes
Quoted 4 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
Quoted 7 lines
Quoted 4 lines
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryI have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Hi, I am also interested in this topic , I am going to test 6.4.4 on my laptop
Thanks, Zhouyi
Quoted 104 lines
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
thanks,
- Joel
Quoted 94 lines · Paul E. McKenney
Quoted 52 lines · Joel Fernandes
Quoted 6 lines · Paul E. McKenney
Quoted 5 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620[...]
Quoted 35 lines
Quoted 34 lines
Quoted 7 lines
Quoted 4 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
This is from this if/for statement, correct?
Quoted 15 lines
stutter_waited = stutter_wait("rcu_torture_writer"); if (stutter_waited && !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() && boot_ended) for (i = 0; i < ARRAY_SIZE(rcu_tortures); i++) if (list_empty(&rcu_tortures[i].rtort_free) && rcu_access_pointer(rcu_torture_current) != &rcu_tortures[i]) { tracing_off(); show_rcu_gp_kthreads(); WARN(1, "%s: rtort_pipe_count: rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 5 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that rcutorture was forced idle. This might be related to the RCU priority boosting failure, in which a preempted reader persisted across the stutter interval.
When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 6 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 21 lines
Quoted 6 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.
Makes sense.
Quoted 11 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture testing goes idle during this time period (or is supposed to!), if things are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 4 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty ;). I think I was subconsciously expecting an
rcu_barrier()somewhere in the code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.
Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us : rcu_grace_period: rcu_sched 144681 start
And fqs loop got a "dti" for CPUs:
1
2
12
And I see cpuqs for:
13
6
10
5
4
11
No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch: prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144681 cpustart
Which means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on NOHZ_FULL CPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.
I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
thanks,
- Joel
(Trimming the CC list a bit)
Quoted 163 lines · Joel Fernandes
Quoted 110 lines · Paul E. McKenney
Quoted 62 lines · Joel Fernandes
Quoted 7 lines · Paul E. McKenney
Quoted 6 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture:rcu_torture_booststarted[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 44 lines
Quoted 43 lines
Quoted 21 lines
Quoted 6 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it
quite some till the end of the pipe array but not until the free pool.This is from this if/for statement, correct?
stutter_waited=stutter_wait("rcu_torture_writer");
if (stutter_waited&& !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() &&boot_ended)
for (i = 0; i <ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free)&&Quoted 8 lines
rcu_access_pointer(rcu_torture_current)!= &rcu_tortures[i]) {tracing_off();show_rcu_gp_kthreads(); WARN(1, "%s:rtort_pipe_count:
rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 7 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that
rcutorture was forced idle. This might be related to the RCU priority
boosting failure, in which a preempted reader persisted across the stutter interval.When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 7 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress
thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 24 lines
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period
kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.Makes sense.
Quoted 6 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.Quoted 7 lines
We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture
testing goes idle during this time period (or is supposed to!), if things
are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 6 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty
;). I think I was subconsciously expecting anrcu_barrier()somewhere in the
code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us :
rcu_grace_period:rcu_sched144681 startAnd fqs loop got a "dti" for CPUs:
1
2
12And I see cpuqs for:
13
6
10
5
4
11No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch:prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us :
rcu_grace_period:rcu_sched144681 cpustartWhich means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
Quoted 8 lines
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on
NOHZ_FULLCPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
In another instance, I caught a stack trace of CPU5 when it did not check-in with RCU for 3 seconds or so:
[ 1127.067889] kmalloc_trace+0x25/0x90 [ 1127.072823] rcu_torture_fwd_prog+0x3d8/0xa60 [ 1127.078749] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.085468] ? kthread+0xcb/0xf0 [ 1127.090040] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.096626] kthread+0xcb/0xf0 [ 1127.100803] ? __pfx_kthread+0x10/0x10 [ 1127.107207] ret_from_fork+0x2c/0x50 [ 1127.113662] </TASK> [ 1127.117818] Kernel panic - not syncing: kernel: panic_on_warn set ...
It appears it was in "rcu_torture_fwd_prog" at the time. It got stuck there for 2 seconds.
Interestingly, I did find the scheduler tick was trying to get in touch with the CPU and it was running code on it even:
[ 5858.463102] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization: Start scheduler-tick [ 5858.472903] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization:
End scheduler-tick
So I could add some traces there to figure out what is it upto. ISTR, we also send IPIs to these CPUs? So maybe adding some traces there too is in order.
Also earlier in dmesg it did this:
[ 1124.825504] rcu_torture_fwd_prog n_max_cbs: 44181 [ 1124.832158] rcu_torture_fwd_prog: Starting forward-progress test 0 [ 1124.840977] rcu_torture_fwd_prog_cr: Starting forward-progress test 0 [ 1126.726621] ------------[ cut here ]------------ [ 1126.733296] rcutorture_oom_notify invoked upon OOM during
forward-progress testing.
Before that "cut here", there is a 2 second gap which tells me it got stuck there.
So this function rcu_torture_fwd_prog() is keeping the CPU unresponsive from an RCU perspective for some reason? Because I never saw the "rcu_torture_fwd_prog_cr: Waiting for CBs" message before it panicked.
Collecting traces again.. ;) thanks,
- Joel
Paul E. McKenney
maintainerQuoted 208 lines · Joel Fernandes
(Trimming the CC list a bit)
Quoted 163 lines · Joel Fernandes
Quoted 110 lines · Paul E. McKenney
Quoted 62 lines · Joel Fernandes
Quoted 7 lines · Paul E. McKenney
Quoted 6 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture:rcu_torture_booststarted[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 44 lines
Quoted 43 lines
Quoted 21 lines
Quoted 6 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it
quite some till the end of the pipe array but not until the free pool.This is from this if/for statement, correct?
stutter_waited=stutter_wait("rcu_torture_writer");
if (stutter_waited&& !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() &&boot_ended)
for (i = 0; i <ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free)&&Quoted 8 lines
rcu_access_pointer(rcu_torture_current)!= &rcu_tortures[i]) {tracing_off();show_rcu_gp_kthreads(); WARN(1, "%s:rtort_pipe_count:
rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 7 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that
rcutorture was forced idle. This might be related to the RCU priority
boosting failure, in which a preempted reader persisted across the stutter interval.When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 7 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress
thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 24 lines
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period
kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.Makes sense.
Quoted 6 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.Quoted 7 lines
We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture
testing goes idle during this time period (or is supposed to!), if things
are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 6 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty
;). I think I was subconsciously expecting anrcu_barrier()somewhere in the
code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us :
rcu_grace_period:rcu_sched144681 startAnd fqs loop got a "dti" for CPUs:
1
2
12And I see cpuqs for:
13
6
10
5
4
11No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch:prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us :
rcu_grace_period:rcu_sched144681 cpustartWhich means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
Quoted 8 lines
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on
NOHZ_FULLCPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
In another instance, I caught a stack trace of CPU5 when it did not check-in with RCU for 3 seconds or so:
[ 1127.067889] kmalloc_trace+0x25/0x90 [ 1127.072823] rcu_torture_fwd_prog+0x3d8/0xa60 [ 1127.078749] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.085468] ? kthread+0xcb/0xf0 [ 1127.090040] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.096626] kthread+0xcb/0xf0 [ 1127.100803] ? __pfx_kthread+0x10/0x10 [ 1127.107207] ret_from_fork+0x2c/0x50 [ 1127.113662] </TASK> [ 1127.117818] Kernel panic - not syncing: kernel: panic_on_warn set ...It appears it was in "
rcu_torture_fwd_prog" at the time. It got stuck there for 2 seconds.Interestingly, I did find the scheduler tick was trying to get in touch with the CPU and it was running code on it even:
[ 5858.463102] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization: Start scheduler-tick [ 5858.472903] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization:End scheduler-tick
So I could add some traces there to figure out what is it upto. ISTR, we also send IPIs to these CPUs? So maybe adding some traces there too is in order.
Also earlier in dmesg it did this:
[ 1124.825504] rcu_torture_fwd_prog n_max_cbs: 44181 [ 1124.832158] rcu_torture_fwd_prog: Starting forward-progress test 0 [ 1124.840977] rcu_torture_fwd_prog_cr: Starting forward-progress test 0 [ 1126.726621] ------------[ cut here ]------------ [ 1126.733296] rcutorture_oom_notify invoked upon OOM during
Quoted 8 lines
forward-progress testing.
Before that "cut here", there is a 2 second gap which tells me it got stuck there.
So this function
rcu_torture_fwd_prog()is keeping the CPU unresponsive from an RCU perspective for some reason? Because I never saw the "rcu_torture_fwd_prog_cr: Waiting for CBs" message before it panicked.
Thank you for digging into this!
Yes, rcu_torture_fwd_prog() is supposed to monopolize CPUs. But it is supposed to respect stuttering. It is quite possible that the synchronization is insufficient. Or that the "supposed to" never made it into the code.
Quoted 1 line
Collecting traces again.. ;) thanks,
;-) ;-) ;-)
Thanx, Paul
Quoted 8 lines · Zhouyi Zhou
Quoted 6 lines · Joel Fernandes
Quoted 4 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryI have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Hi, I am also interested in this topic , I am going to test 6.4.4 on my laptop
I rcu tortured 6.4.4 on my Intel(R) Core(TM) i7-11800H laptop for 2 rounds each of which lasting 7 hours.
all of them report:
Summary: Successes: 55 Failures: 0.
Thanks, Zhouyi
Quoted 106 lines
Thanks, Zhouyi
Quoted 104 lines
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
thanks,
- Joel
Quoted 220 lines · Paul E. McKenney
Quoted 208 lines · Joel Fernandes
(Trimming the CC list a bit)
Quoted 163 lines · Joel Fernandes
Quoted 110 lines · Paul E. McKenney
Quoted 62 lines · Joel Fernandes
Quoted 7 lines · Paul E. McKenney
Quoted 6 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture:rcu_torture_booststarted[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 44 lines
Quoted 43 lines
Quoted 21 lines
Quoted 6 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it
quite some till the end of the pipe array but not until the free pool.This is from this if/for statement, correct?
stutter_waited=stutter_wait("rcu_torture_writer");
if (stutter_waited&& !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() &&boot_ended)
for (i = 0; i <ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free)&&Quoted 8 lines
rcu_access_pointer(rcu_torture_current)!= &rcu_tortures[i]) {tracing_off();show_rcu_gp_kthreads(); WARN(1, "%s:rtort_pipe_count:
rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 7 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that
rcutorture was forced idle. This might be related to the RCU priority
boosting failure, in which a preempted reader persisted across the stutter interval.When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 7 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress
thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 24 lines
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period
kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.Makes sense.
Quoted 6 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.Quoted 7 lines
We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture
testing goes idle during this time period (or is supposed to!), if things
are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 6 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty
;). I think I was subconsciously expecting anrcu_barrier()somewhere in the
code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us :
rcu_grace_period:rcu_sched144681 startAnd fqs loop got a "dti" for CPUs:
1
2
12And I see cpuqs for:
13
6
10
5
4
11No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch:prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us :
rcu_grace_period:rcu_sched144681 cpustartWhich means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
Quoted 8 lines
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on
NOHZ_FULLCPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
In another instance, I caught a stack trace of CPU5 when it did not check-in with RCU for 3 seconds or so:
[ 1127.067889] kmalloc_trace+0x25/0x90 [ 1127.072823] rcu_torture_fwd_prog+0x3d8/0xa60 [ 1127.078749] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.085468] ? kthread+0xcb/0xf0 [ 1127.090040] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.096626] kthread+0xcb/0xf0 [ 1127.100803] ? __pfx_kthread+0x10/0x10 [ 1127.107207] ret_from_fork+0x2c/0x50 [ 1127.113662] </TASK> [ 1127.117818] Kernel panic - not syncing: kernel: panic_on_warn set ...It appears it was in "
rcu_torture_fwd_prog" at the time. It got stuck there for 2 seconds.Interestingly, I did find the scheduler tick was trying to get in touch with the CPU and it was running code on it even:
[ 5858.463102] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization: Start scheduler-tick [ 5858.472903] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization:End scheduler-tick
So I could add some traces there to figure out what is it upto. ISTR, we also send IPIs to these CPUs? So maybe adding some traces there too is in order.
Also earlier in dmesg it did this:
[ 1124.825504] rcu_torture_fwd_prog n_max_cbs: 44181 [ 1124.832158] rcu_torture_fwd_prog: Starting forward-progress test 0 [ 1124.840977] rcu_torture_fwd_prog_cr: Starting forward-progress test 0 [ 1126.726621] ------------[ cut here ]------------ [ 1126.733296] rcutorture_oom_notify invoked upon OOM duringQuoted 8 lines
forward-progress testing.
Before that "cut here", there is a 2 second gap which tells me it got stuck there.
So this function
rcu_torture_fwd_prog()is keeping the CPU unresponsive from an RCU perspective for some reason? Because I never saw the "rcu_torture_fwd_prog_cr: Waiting for CBs" message before it panicked.Thank you for digging into this!
Quoted 8 lines
Yes,
rcu_torture_fwd_prog()is supposed to monopolize CPUs. But it is supposed to respect stuttering. It is quite possible that the synchronization is insufficient. Or that the "supposed to" never made it into the code.Quoted 1 line
Collecting traces again.. ;) thanks,
;-) ;-) ;-)
I narrowed it down to the timer softirq taking too long and doing this for 4 seconds:
[ 6781.411834] ksoftirq-12 0dNs.. 206231531us : sched_wakeup: comm=rcu_torture_rea pid=153 prio=139 target_cpu=000 [ 6781.424854] ksoftirq-12 0dNs.. 206231531us : sched_waking: comm=rcu_torture_rea pid=164 prio=139 target_cpu=006 [ 6781.437650] ksoftirq-12 0dNs.. 206231533us : sched_wakeup: comm=rcu_torture_rea pid=164 prio=139 target_cpu=000 [ 6781.451019] ksoftirq-12 0dNs.. 206231533us : sched_waking: comm=rcu_torture_rea pid=162 prio=139 target_cpu=002 [ 6781.463825] ksoftirq-12 0dNs.. 206231535us : sched_wakeup: comm=rcu_torture_rea pid=162 prio=139 target_cpu=000 [ 6781.476290] ksoftirq-12 0dNs.. 206231535us : sched_waking: comm=rcu_torture_wri pid=143 prio=139 target_cpu=004 [ 6781.489257] ksoftirq-12 0dNs.. 206231537us : sched_wakeup: comm=rcu_torture_wri pid=143 prio=139 target_cpu=000 [ 6781.502559] ksoftirq-12 0dNs.. 206231538us : sched_waking: comm=rcu_torture_rea pid=154 prio=139 target_cpu=006 [ 6781.515093] ksoftirq-12 0dNs.. 206231539us : sched_wakeup: comm=rcu_torture_rea pid=154 prio=139 target_cpu=000 [ 6781.527622] ksoftirq-12 0dNs.. 206231539us : sched_waking: comm=rcu_torture_fak pid=149 prio=139 target_cpu=003 [ 6781.539979] ksoftirq-12 0dNs.. 206231541us : sched_wakeup: comm=rcu_torture_fak pid=149 prio=139 target_cpu=000 [ 6781.552717] ksoftirq-12 0dNs.. 206231541us : sched_waking: comm=rcu_torture_fak pid=145 prio=139 target_cpu=005 [ 6781.565074] ksoftirq-12 0dNs.. 206231543us : sched_wakeup: comm=rcu_torture_fak pid=145 prio=139 target_cpu=000 [ 6781.577580] ksoftirq-12 0dNs.. 206231543us : sched_waking: comm=rcu_torture_rea pid=166 prio=139 target_cpu=003 [ 6781.590211] ksoftirq-12 0dNs.. 206231547us : sched_wakeup:
comm=rcu_torture_rea pid=166 prio=139 target_cpu=000
And I caught the softirq exit which told me it is coming from timer softirq:
[ 6781.603150] ksoftirq-12 0.Ns.. 206231552us : __do_softirq:
softirq exit: name: TIMER, action handler: run_timer_softirq
Maybe something to do with calls to stuttering or lack of cond_resched() in the torture code somewhere? Unfortunately I was not able to get a stack trace and what is doing the wake ups.
This is at least one of the issues. I do believe the fwd prog functions taking too long in the kernel without doing a cond_resched() is another issue but I need to reduce the RCU stall timeout to 2 seconds to see those happen otherwise I think those just get "hidden".
Both these issues appear to be threads spending too much time in kernel mode in non-preemptible kernels. The RCU GP thread was able to get CPU so that wasn't the issue in these instances.
Thoughts?
Next plan of action is to get sched_waking stack traces since I have a very reliable repro of this now.
thanks,
- Joel
Paul E. McKenney
maintainerQuoted 266 lines · Joel Fernandes
Quoted 220 lines · Paul E. McKenney
Quoted 208 lines · Joel Fernandes
(Trimming the CC list a bit)
Quoted 163 lines · Joel Fernandes
Quoted 110 lines · Paul E. McKenney
Quoted 62 lines · Joel Fernandes
Quoted 7 lines · Paul E. McKenney
Quoted 6 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture:rcu_torture_booststarted[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 44 lines
Quoted 43 lines
Quoted 21 lines
Quoted 6 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it
quite some till the end of the pipe array but not until the free pool.This is from this if/for statement, correct?
stutter_waited=stutter_wait("rcu_torture_writer");
if (stutter_waited&& !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() &&boot_ended)
for (i = 0; i <ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free)&&Quoted 8 lines
rcu_access_pointer(rcu_torture_current)!= &rcu_tortures[i]) {tracing_off();show_rcu_gp_kthreads(); WARN(1, "%s:rtort_pipe_count:
rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 7 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that
rcutorture was forced idle. This might be related to the RCU priority
boosting failure, in which a preempted reader persisted across the stutter interval.When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 7 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress
thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 24 lines
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period
kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.Makes sense.
Quoted 6 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.Quoted 7 lines
We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture
testing goes idle during this time period (or is supposed to!), if things
are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 6 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty
;). I think I was subconsciously expecting anrcu_barrier()somewhere in the
code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us :
rcu_grace_period:rcu_sched144681 startAnd fqs loop got a "dti" for CPUs:
1
2
12And I see cpuqs for:
13
6
10
5
4
11No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch:prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us :
rcu_grace_period:rcu_sched144681 cpustartWhich means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
Quoted 8 lines
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on
NOHZ_FULLCPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
In another instance, I caught a stack trace of CPU5 when it did not check-in with RCU for 3 seconds or so:
[ 1127.067889] kmalloc_trace+0x25/0x90 [ 1127.072823] rcu_torture_fwd_prog+0x3d8/0xa60 [ 1127.078749] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.085468] ? kthread+0xcb/0xf0 [ 1127.090040] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.096626] kthread+0xcb/0xf0 [ 1127.100803] ? __pfx_kthread+0x10/0x10 [ 1127.107207] ret_from_fork+0x2c/0x50 [ 1127.113662] </TASK> [ 1127.117818] Kernel panic - not syncing: kernel: panic_on_warn set ...It appears it was in "
rcu_torture_fwd_prog" at the time. It got stuck there for 2 seconds.Interestingly, I did find the scheduler tick was trying to get in touch with the CPU and it was running code on it even:
[ 5858.463102] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization: Start scheduler-tick [ 5858.472903] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization:End scheduler-tick
So I could add some traces there to figure out what is it upto. ISTR, we also send IPIs to these CPUs? So maybe adding some traces there too is in order.
Also earlier in dmesg it did this:
[ 1124.825504] rcu_torture_fwd_prog n_max_cbs: 44181 [ 1124.832158] rcu_torture_fwd_prog: Starting forward-progress test 0 [ 1124.840977] rcu_torture_fwd_prog_cr: Starting forward-progress test 0 [ 1126.726621] ------------[ cut here ]------------ [ 1126.733296] rcutorture_oom_notify invoked upon OOM duringQuoted 8 lines
forward-progress testing.
Before that "cut here", there is a 2 second gap which tells me it got stuck there.
So this function
rcu_torture_fwd_prog()is keeping the CPU unresponsive from an RCU perspective for some reason? Because I never saw the "rcu_torture_fwd_prog_cr: Waiting for CBs" message before it panicked.Thank you for digging into this!
Quoted 8 lines
Yes,
rcu_torture_fwd_prog()is supposed to monopolize CPUs. But it is supposed to respect stuttering. It is quite possible that the synchronization is insufficient. Or that the "supposed to" never made it into the code.Quoted 1 line
Collecting traces again.. ;) thanks,
;-) ;-) ;-)
I narrowed it down to the timer softirq taking too long and doing this for 4 seconds:
[ 6781.411834] ksoftirq-12 0dNs.. 206231531us : sched_wakeup: comm=rcu_torture_rea pid=153 prio=139 target_cpu=000 [ 6781.424854] ksoftirq-12 0dNs.. 206231531us : sched_waking: comm=rcu_torture_rea pid=164 prio=139 target_cpu=006 [ 6781.437650] ksoftirq-12 0dNs.. 206231533us : sched_wakeup: comm=rcu_torture_rea pid=164 prio=139 target_cpu=000 [ 6781.451019] ksoftirq-12 0dNs.. 206231533us : sched_waking: comm=rcu_torture_rea pid=162 prio=139 target_cpu=002 [ 6781.463825] ksoftirq-12 0dNs.. 206231535us : sched_wakeup: comm=rcu_torture_rea pid=162 prio=139 target_cpu=000 [ 6781.476290] ksoftirq-12 0dNs.. 206231535us : sched_waking: comm=rcu_torture_wri pid=143 prio=139 target_cpu=004 [ 6781.489257] ksoftirq-12 0dNs.. 206231537us : sched_wakeup: comm=rcu_torture_wri pid=143 prio=139 target_cpu=000 [ 6781.502559] ksoftirq-12 0dNs.. 206231538us : sched_waking: comm=rcu_torture_rea pid=154 prio=139 target_cpu=006 [ 6781.515093] ksoftirq-12 0dNs.. 206231539us : sched_wakeup: comm=rcu_torture_rea pid=154 prio=139 target_cpu=000 [ 6781.527622] ksoftirq-12 0dNs.. 206231539us : sched_waking: comm=rcu_torture_fak pid=149 prio=139 target_cpu=003 [ 6781.539979] ksoftirq-12 0dNs.. 206231541us : sched_wakeup: comm=rcu_torture_fak pid=149 prio=139 target_cpu=000 [ 6781.552717] ksoftirq-12 0dNs.. 206231541us : sched_waking: comm=rcu_torture_fak pid=145 prio=139 target_cpu=005 [ 6781.565074] ksoftirq-12 0dNs.. 206231543us : sched_wakeup: comm=rcu_torture_fak pid=145 prio=139 target_cpu=000 [ 6781.577580] ksoftirq-12 0dNs.. 206231543us : sched_waking: comm=rcu_torture_rea pid=166 prio=139 target_cpu=003 [ 6781.590211] ksoftirq-12 0dNs.. 206231547us : sched_wakeup:comm=rcu_torture_rea pid=166 prio=139 target_cpu=000
Quoted 7 lines
And I caught the softirq exit which told me it is coming from timer softirq:
[ 6781.603150] ksoftirq-12 0.Ns.. 206231552us : __do_softirq:softirq exit: name: TIMER, action handler:
run_timer_softirqMaybe something to do with calls to stuttering or lack of
cond_resched()in the torture code somewhere? Unfortunately I was not able to get a stack trace and what is doing the wake ups.
Huh. It seems to be waking up each rcutorture kthread twice. So maybe this is the timed wakeups towards the end of the stutter interval? But how many kthreads do you have? Four seconds at about two microseconds per kthread would be about 2 million kthreads, so I am guessing that something else is also going on. Or that there are sometimes longer delays between wakeups. Or maybe it cycles through rcutorture's kthreads, repeatedly awakening the set.
Which might actually happen given enough kthreads spinning in stutter_wait() doing that occasional 10-microsecond torture_hrtimeout_us() call, mightn't it?
Perhaps try changing that torture_hrtimeout_us() to something like:
torture_hrtimeout_us(100, 0, NULL);
Or, better, make that function rely entirely on a single hrtimer per kthread. Which will likely also require spreading the timers across the available CPUs. Perhaps part of the problem here is that there are very few online CPUs, not enough to keep up.
Quoted 4 lines
This is at least one of the issues. I do believe the fwd prog functions taking too long in the kernel without doing a
cond_resched()is another issue but I need to reduce the RCU stall timeout to 2 seconds to see those happen otherwise I think those just get "hidden".
The rcu_torture_fwd_prog_cond_resched() function is supposed to be taking care of that for the callback flooding, but maybe I missed a place where a call is needed.
For the tight loop of readers, there is a call to cond_resched(). Ah, but are you running a preemptible kernel? (If we are still talking about TREE03, I believe that is a "yes".) Maybe try changing the cond_resched() in the rcu_torture_fwd_prog_nr() function's loop to rcu_torture_fwd_prog_cond_resched()?
Quoted 5 lines
Both these issues appear to be threads spending too much time in kernel mode in non-preemptible kernels. The RCU GP thread was able to get CPU so that wasn't the issue in these instances.
Thoughts?
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.
Too much fun! ;-)
Thanx, Paul
Quoted 271 lines · Paul E. McKenney
Quoted 270 lines · Joel Fernandes
Quoted 220 lines · Paul E. McKenney
Quoted 208 lines · Joel Fernandes
(Trimming the CC list a bit)
Quoted 163 lines · Joel Fernandes
Quoted 110 lines · Paul E. McKenney
Quoted 62 lines · Joel Fernandes
Quoted 7 lines · Paul E. McKenney
Quoted 6 lines · Joel Fernandes
Hi Paul,
Quoted 2 lines · Paul E. McKenney
On Thu, Jul 20, 2023 at 01:27:14PM +0000, Joel Fernandes wrote:
[...]
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture:rcu_torture_booststarted[...]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620
[...]
Quoted 44 lines
Quoted 43 lines
Quoted 21 lines
Quoted 6 lines
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it
quite some till the end of the pipe array but not until the free pool.This is from this if/for statement, correct?
stutter_waited=stutter_wait("rcu_torture_writer");
if (stutter_waited&& !atomic_read(&rcu_fwd_cb_nodelay) && !cur_ops->slow_gps && !torture_must_stop() &&boot_ended)
for (i = 0; i <ARRAY_SIZE(rcu_tortures); i++)
if (list_empty(&rcu_tortures[i].rtort_free)&&Quoted 8 lines
rcu_access_pointer(rcu_torture_current)!= &rcu_tortures[i]) {tracing_off();show_rcu_gp_kthreads(); WARN(1, "%s:rtort_pipe_count:
rcu_ftrace_dump(DUMP_ALL); }Yes, that's right.
Quoted 7 lines
If so, this happens when there was a stutter wait, but RCU grace periods failed to clear out the backlog during the several seconds that
rcutorture was forced idle. This might be related to the RCU priority
boosting failure, in which a preempted reader persisted across the stutter interval.When RCU is operating normally, shouldn't the check "(
list_empty(&rcu_tortures[i].rtort_free)" not run until the preempted reader unblocks and exits its RCU read-side critical section?Quoted 7 lines
Quoted 3 lines
Yes, but not just "until", but rather "long after". If RCU is doing grace periods correctly, an active reader on a given rcu_tortures[] element will prevent .rtort_pipe_count from exceeding the value 2.
Ah ok, so the
rtort_pipe_countbeing 9 is a sign RCU isn't making progress
thus making it absent from the free list.Yes, though RCU is -just- -barely- too slow, as one more grace period would have done it.
Quoted 24 lines
Quoted 7 lines
The element will not be put on a list until .rtort_pipe_count is equal to
RCU_TORTURE_PIPE_LEN, which is 10.This warning usually appears when something is holding up the grace-period
kthread. Historically, this has included deadlocks, missed timers, and whatever else can prevent the grace-period kthread from running.Makes sense.
Quoted 6 lines
Quoted 5 lines
One thing that confuses me, in the case of "
cur_ops->deferred_free(old_rp);" , the earlier do-while loop may exit before the async callbacks can finish. So what prevents the "(list_empty(&rcu_tortures[i].rtort_free)" check from happening before grace periods happen? Thanks for any clarification.Quoted 7 lines
We only enter this code if the
stutter_wait()actually waited, and by default this function will wait about five seconds. Since the rcutorture
testing goes idle during this time period (or is supposed to!), if things
are working properly, knocking off ten grace periods during that time should be pretty much a given.Quoted 6 lines
Sure, makes sense. And this is not Lazy-RCU so 5 seconds should be plenty
;). I think I was subconsciously expecting anrcu_barrier()somewhere in the
code before those checks, but that's not needed as you pointed that the stutter should be giving enough time for RCU to make progress.And there might need to be a
call_rcu_hurry()in there somewhere, now that you mention it. Which would pretty much defeat any sort of lazy-RCU-callback testing in rcutorture, but testing of laziness might need to be separate anyway.Quoted 8 lines
Quoted 6 lines
So hmm, the count being 9 means that not enough RCU grace periods have passed for the
rcu_tortureobject in question thus keeping it always allocated. The GP thread not getting CPU can do that indeed, or perhaps something else stalling RCU like a preempted reader, length preemption disabling on a CPU and so forth.. I'll try to collect a trace when it happens.Looking forward to seeing what you come up with!
So far I found this. Before the crash, GPs took about 50ms, during the crash it took 5 seconds before the warning which aligns with what you mentioned about stutter.
The GP that never completed is at this line:
[ 2816.041082] <...>-13 13d.... 1237016139us :
rcu_grace_period:rcu_sched144681 startAnd fqs loop got a "dti" for CPUs:
1
2
12And I see cpuqs for:
13
6
10
5
4
11No idea what happened to 3, 8, 9, 14, 15. Maybe the "dti" for those did not show in the trace?
However, I see that CPU 7 did this:
[ 2816.205277] <idle>-0 7d.... 1237016284us : sched_switch:prev_comm=swapper/7 prev_pid=0 prev_prio=120 prev_state=R ==> next_comm=rcu_torture_rea next_pid=149 next_prio=139
and then did this about 3 seconds later:
[ 2819.394111] rcu_tort-149 7dNs.. 1237025699us : rcu_grace_period: rcu_sched 144677 cpuend [ 2819.412745] rcu_tort-149 7dNs.. 1237025699us :
rcu_grace_period:rcu_sched144681 cpustartWhich means it never switched out from the CPU all this while. Neither did it report cpuqs. Ok it did notice the new GP started, welcome to the party mate ;)
Quoted 8 lines
That points the issue I think. I wonder if the emergency provisions for forcing quiescent states on
NOHZ_FULLCPUs kicked in. ISTR, we had issues with that in the past where we had to fix the tick path to report a QS.I'll add some more traces. Especially around preempted readers, the emergency provisions for forcing a QS and so forth and see if I can dig more information.
In another instance, I caught a stack trace of CPU5 when it did not check-in with RCU for 3 seconds or so:
[ 1127.067889] kmalloc_trace+0x25/0x90 [ 1127.072823] rcu_torture_fwd_prog+0x3d8/0xa60 [ 1127.078749] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.085468] ? kthread+0xcb/0xf0 [ 1127.090040] ? __pfx_rcu_torture_fwd_prog+0x10/0x10 [ 1127.096626] kthread+0xcb/0xf0 [ 1127.100803] ? __pfx_kthread+0x10/0x10 [ 1127.107207] ret_from_fork+0x2c/0x50 [ 1127.113662] </TASK> [ 1127.117818] Kernel panic - not syncing: kernel: panic_on_warn set ...It appears it was in "
rcu_torture_fwd_prog" at the time. It got stuck there for 2 seconds.Interestingly, I did find the scheduler tick was trying to get in touch with the CPU and it was running code on it even:
[ 5858.463102] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization: Start scheduler-tick [ 5858.472903] rcu_tort-174 5d.h.. 1131149320us : rcu_utilization:End scheduler-tick
So I could add some traces there to figure out what is it upto. ISTR, we also send IPIs to these CPUs? So maybe adding some traces there too is in order.
Also earlier in dmesg it did this:
[ 1124.825504] rcu_torture_fwd_prog n_max_cbs: 44181 [ 1124.832158] rcu_torture_fwd_prog: Starting forward-progress test 0 [ 1124.840977] rcu_torture_fwd_prog_cr: Starting forward-progress test 0 [ 1126.726621] ------------[ cut here ]------------ [ 1126.733296] rcutorture_oom_notify invoked upon OOM duringQuoted 8 lines
forward-progress testing.
Before that "cut here", there is a 2 second gap which tells me it got stuck there.
So this function
rcu_torture_fwd_prog()is keeping the CPU unresponsive from an RCU perspective for some reason? Because I never saw the "rcu_torture_fwd_prog_cr: Waiting for CBs" message before it panicked.Thank you for digging into this!
Quoted 8 lines
Yes,
rcu_torture_fwd_prog()is supposed to monopolize CPUs. But it is supposed to respect stuttering. It is quite possible that the synchronization is insufficient. Or that the "supposed to" never made it into the code.Quoted 1 line
Collecting traces again.. ;) thanks,
;-) ;-) ;-)
I narrowed it down to the timer softirq taking too long and doing this for 4 seconds:
[ 6781.411834] ksoftirq-12 0dNs.. 206231531us : sched_wakeup: comm=rcu_torture_rea pid=153 prio=139 target_cpu=000 [ 6781.424854] ksoftirq-12 0dNs.. 206231531us : sched_waking: comm=rcu_torture_rea pid=164 prio=139 target_cpu=006 [ 6781.437650] ksoftirq-12 0dNs.. 206231533us : sched_wakeup: comm=rcu_torture_rea pid=164 prio=139 target_cpu=000 [ 6781.451019] ksoftirq-12 0dNs.. 206231533us : sched_waking: comm=rcu_torture_rea pid=162 prio=139 target_cpu=002 [ 6781.463825] ksoftirq-12 0dNs.. 206231535us : sched_wakeup: comm=rcu_torture_rea pid=162 prio=139 target_cpu=000 [ 6781.476290] ksoftirq-12 0dNs.. 206231535us : sched_waking: comm=rcu_torture_wri pid=143 prio=139 target_cpu=004 [ 6781.489257] ksoftirq-12 0dNs.. 206231537us : sched_wakeup: comm=rcu_torture_wri pid=143 prio=139 target_cpu=000 [ 6781.502559] ksoftirq-12 0dNs.. 206231538us : sched_waking: comm=rcu_torture_rea pid=154 prio=139 target_cpu=006 [ 6781.515093] ksoftirq-12 0dNs.. 206231539us : sched_wakeup: comm=rcu_torture_rea pid=154 prio=139 target_cpu=000 [ 6781.527622] ksoftirq-12 0dNs.. 206231539us : sched_waking: comm=rcu_torture_fak pid=149 prio=139 target_cpu=003 [ 6781.539979] ksoftirq-12 0dNs.. 206231541us : sched_wakeup: comm=rcu_torture_fak pid=149 prio=139 target_cpu=000 [ 6781.552717] ksoftirq-12 0dNs.. 206231541us : sched_waking: comm=rcu_torture_fak pid=145 prio=139 target_cpu=005 [ 6781.565074] ksoftirq-12 0dNs.. 206231543us : sched_wakeup: comm=rcu_torture_fak pid=145 prio=139 target_cpu=000 [ 6781.577580] ksoftirq-12 0dNs.. 206231543us : sched_waking: comm=rcu_torture_rea pid=166 prio=139 target_cpu=003 [ 6781.590211] ksoftirq-12 0dNs.. 206231547us : sched_wakeup:comm=rcu_torture_rea pid=166 prio=139 target_cpu=000
And I caught the softirq exit which told me it is coming from timer softirq:
[ 6781.603150] ksoftirq-12 0.Ns.. 206231552us : __do_softirq:softirq exit: name: TIMER, action handler:
run_timer_softirq
Quoted 5 lines
Quoted 3 lines
Maybe something to do with calls to stuttering or lack of
cond_resched()in the torture code somewhere? Unfortunately I was not able to get a stack trace and what is doing the wake ups.Huh. It seems to be waking up each rcutorture kthread twice.
That's actually 2 different tracepoints. So its 2 events per wakeup.
Quoted 2 lines
So maybe
this is the timed wakeups towards the end of the stutter interval?
Thanks, I'll look into that as well.
Quoted 4 lines
But
how many kthreads do you have? Four seconds at about two microseconds per kthread would be about 2 million kthreads, so I am guessing that something else is also going on.
In the 4 seconds, it repeatedy does the sched_waking on 17 different threads all are from rcu_torture.
Quoted 2 lines
Or that there are sometimes longer delays between
wakeups.
I am seeing a delay of 100-200 microseconds or so between them.
Quoted 2 lines
Or maybe it cycles through rcutorture's kthreads, repeatedly awakening the set.
Yes.
Quoted 3 lines
Which might actually happen given enough kthreads spinning in
stutter_wait()doing that occasional 10-microsecondtorture_hrtimeout_us()call, mightn't it?
Yeah could be, I was planning to trace that code but last when I added traces there it overflowed my trace buffer. Now I made the buffer 1MB/CPU so hopefully will survive ;-)
Quoted 8 lines
Perhaps try changing that
torture_hrtimeout_us()to something like:torture_hrtimeout_us(100, 0, NULL);Or, better, make that function rely entirely on a single hrtimer per kthread. Which will likely also require spreading the timers across the available CPUs. Perhaps part of the problem here is that there are very few online CPUs, not enough to keep up.
Thanks I'll look more into it, good way for me to study the stutter functionality.
Quoted 9 lines
Quoted 4 lines
This is at least one of the issues. I do believe the fwd prog functions taking too long in the kernel without doing a
cond_resched()is another issue but I need to reduce the RCU stall timeout to 2 seconds to see those happen otherwise I think those just get "hidden".The
rcu_torture_fwd_prog_cond_resched()function is supposed to be taking care of that for the callback flooding, but maybe I missed a place where a call is needed.
Quoted 5 lines
For the tight loop of readers, there is a call to
cond_resched(). Ah, but are you running a preemptible kernel? (If we are still talking about TREE03, I believe that is a "yes".) Maybe try changing thecond_resched()in thercu_torture_fwd_prog_nr()function's loop torcu_torture_fwd_prog_cond_resched()?
Sure, I can try to make this change, but the fwd_prog issue was for TREE07 (non-preemptible).
Quoted 8 lines
Quoted 5 lines
Both these issues appear to be threads spending too much time in kernel mode in non-preemptible kernels. The RCU GP thread was able to get CPU so that wasn't the issue in these instances.
Thoughts?
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
I am running both TREE03 and TREE07 on the same stable kernel version. The TREE03 issue was related to the boost failure warning. The TREE07 was an rcutorture object was still allocated with a pipecount of 9 or sometimes 6. The TREE07 issue is definitely spending of too much time in kernel mode which is holding up the CPU. The TREE03 issue is likely unrelated, but I thought I will get to that next after looking into TREE07.
Quoted 4 lines
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Too much fun! ;-)
True! :D
thanks,
- Joel
Quoted 14 lines · Zhouyi Zhou
Quoted 13 lines · Zhouyi Zhou
Quoted 11 lines · Joel Fernandes
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
I have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Hi, I am also interested in this topic , I am going to test 6.4.4 on my laptop
I rcu tortured 6.4.4 on my Intel(R) Core(TM) i7-11800H laptop for 2 rounds each of which lasting 7 hours.
all of them report:
Summary: Successes: 55 Failures: 0.
Thanks for checking. One thing about my environment is it is nested virtualized. So rcutorture is actually running inside a second-level of virtualization which probably adds a lot of timing related uncertainty to my testing (which could be a good thing :P).
thanks,
- Joel
Quoted 108 lines
Thanks, Zhouyi
Quoted 106 lines
Thanks, Zhouyi
Quoted 104 lines
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
thanks,
- Joel
Quoted 24 lines · Joel Fernandes
Quoted 14 lines · Zhouyi Zhou
Quoted 13 lines · Zhouyi Zhou
Quoted 11 lines · Joel Fernandes
Quoted 8 lines · Greg Kroah-Hartman
I'm announcing the release of the 6.4.4 kernel.
All users of the 6.4 kernel series must upgrade.
The updated 6.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitlinux-6.4.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=summaryQuoted 7 lines
Quoted 3 lines
Quoted 2 lines
I have been consistently hitting the following splat with rcutorture's TREE03 test on 6.4.4. This happened with 6.4.4-rc3 as well.
Hi, I am also interested in this topic , I am going to test 6.4.4 on my laptop
I rcu tortured 6.4.4 on my Intel(R) Core(TM) i7-11800H laptop for 2 rounds each of which lasting 7 hours.
all of them report:
Summary: Successes: 55 Failures: 0.
Quoted 4 lines
Thanks for checking. One thing about my environment is it is nested virtualized. So rcutorture is actually running inside a second-level of virtualization which probably adds a lot of timing related uncertainty to my testing (which could be a good thing :P).
Thank Joel for your great guidance, now I learned a advanced way to torture the RCU.
I will try to establish such an environment.
thanks,
- Zhouyi
Quoted 114 lines
thanks,
- Joel
Quoted 108 lines
Thanks, Zhouyi
Quoted 106 lines
Thanks, Zhouyi
Quoted 104 lines
Happens at:
WARN_ON_ONCE(n_rcu_torture_boost_failure); // boost failed (TIMER_SOFTIRQRT prio?)So likely RCU boosting is failing:
The full TREE03 splat:
[ 54.243588] ------------[ cut here ]------------ [ 54.244547] rcu-torture: rcu_torture_boost started [ 54.247643] WARNING: CPU: 12 PID: 166 at kernel/rcu/rcutorture.c:2227 rcu_torture_stats_print+0x5b2/0x620 [ 54.273082] Modules linked in: [ 54.278336] CPU: 12 PID: 166 Comm: rcu_torture_sta Not tainted 6.4.4-g62813c2d2a36 #1 [ 54.288540] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 54.300499] RIP: 0010:rcu_torture_stats_print+0x5b2/0x620 [ 54.307525] Code: 00 00 48 8b 05 3f 6c 46 02 e9 4a fe ff ff 0f 0b e9 02 fd ff ff 0f 0b e9 09 fd ff ff 0f 0b e9 10 fd ff ff 0f 0b e9 17 fd ff ff <0f> 0b e9 1e fd ff ff 0f 0b e9 21 fd ff ff e8 0b 54 ff ff 84 c0 0f [ 54.331276] RSP: 0000:ffff9fef805efe08 EFLAGS: 00010202 [ 54.338374] RAX: 0000000000000000 RBX: ffff9fef805efe88 RCX: 00000000ffffdfff [ 54.347738] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001 [ 54.358923] RBP: ffff9fef805efe30 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 54.368209] R10: ffffffff94e59280 R11: ffffffff94e59280 R12: 0000000000000001 [ 54.377367] R13: 0000000000000000 R14: 00000000000002fc R15: ffffffff93514000 [ 54.386739] FS: 0000000000000000(0000) GS:ffff9c901f500000(0000) knlGS:0000000000000000 [ 54.397130] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.404585] CR2: 0000000000000000 CR3: 000000000308e000 CR4: 00000000000006e0 [ 54.413884] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 54.423118] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 54.432192] Call Trace: [ 54.435634] <TASK> [ 54.438512] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.444904] ? __warn+0x7c/0x130 [ 54.449221] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.455737] ? report_bug+0x171/0x1a0 [ 54.460935] ? handle_bug+0x3c/0x70 [ 54.465874] ? exc_invalid_op+0x17/0x70 [ 54.471336] ? asm_exc_invalid_op+0x1a/0x20 [ 54.477092] ? __pfx_rcu_torture_stats+0x10/0x10 [ 54.483472] ? rcu_torture_stats_print+0x5b2/0x620 [ 54.490029] ? rcu_torture_stats_print+0x28a/0x620 [ 54.496565] ? finish_task_switch.isra.0+0x7e/0x240 [ 54.503261] rcu_torture_stats+0x25/0x70 [ 54.508686] kthread+0xe3/0x110 [ 54.513141] ? __pfx_kthread+0x10/0x10 [ 54.518330] ret_from_fork+0x2c/0x50 [ 54.523356] </TASK> [ 54.526500] ---[ end trace 0000000000000000 ]---Also other issues in 6.4.4, I am seeing RCU failures with TREE07 about 40 minutes into the test. This warning indicates that an
rcu_tortureobject from thercu_torturepool is still allocated which is an indiciation that RCU is not working.[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9However, if we are to believe the '9', it appears the object did made it quite some till the end of the pipe array but not until the free pool.
The full TREE07 splat:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9 [ 2169.489413] WARNING: CPU: 4 PID: 130 at kernel/rcu/rcutorture.c:1584 rcu_torture_writer+0x7f2/0xd80 [ 2169.504064] Modules linked in: [ 2169.508957] CPU: 4 PID: 130 Comm: rcu_torture_wri Not tainted 6.4.4-g62813c2d2a36 #2 [ 2169.521735] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 [ 2169.540908] RIP: 0010:rcu_torture_writer+0x7f2/0xd80 [ 2169.548542] Code: 15 8b 62 45 02 49 8d 45 e8 48 39 c2 74 bf e8 85 03 08 00 41 8b 55 f8 48 c7 c6 d0 f7 e0 9d 48 c7 c7 d7 7b 28 9e e8 ce 29 f7 ff <0f> 0b 8b 05 9a 48 45 02 85 c0 75 97 89 d8 87 05 8e 48 45 02 85 c0 [ 2169.578445] RSP: 0000:ffffa645804cfe20 EFLAGS: 00010282 [ 2169.586793] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00000000ffffdfff [ 2169.598069] RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000009ffb [ 2169.609359] RBP: ffffa645804cff10 R08: 00000000ffffdfff R09: 00000000ffffdfff [ 2169.620717] R10: ffffffff9e659220 R11: ffffffff9e659220 R12: 0000000000000017 [ 2169.631918] R13: ffffffff9f166b60 R14: 0000000000000000 R15: 0000000000000001 [ 2169.643365] FS: 0000000000000000(0000) GS:ffff8b3a5f300000(0000) knlGS:0000000000000000 [ 2169.655249] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2169.663207] CR2: 0000000000000000 CR3: 000000001562e000 CR4: 00000000000006e0 [ 2169.672806] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 2169.682194] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 2169.693530] Call Trace: [ 2169.698054] <TASK> [ 2169.701786] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.708853] ? __warn+0x7c/0x120 [ 2169.714088] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.721066] ? report_bug+0x15d/0x180 [ 2169.726125] ? handle_bug+0x3c/0x70 [ 2169.730948] ? exc_invalid_op+0x17/0x70 [ 2169.736238] ? asm_exc_invalid_op+0x1a/0x20 [ 2169.742047] ? rcu_torture_writer+0x7f2/0xd80 [ 2169.747907] ? __pfx_rcu_torture_writer+0x10/0x10 [ 2169.754175] kthread+0xcb/0xf0 [ 2169.758407] ? __pfx_kthread+0x10/0x10 [ 2169.763501] ret_from_fork+0x2c/0x50 [ 2169.768420] </TASK> [ 2169.771445] ---[ end trace 0000000000000000 ]--- [ 2169.777698] Dumping ftrace buffer: [ 2169.782470] (ftrace buffer empty) [ 2169.787241] ------------[ cut here ]------------I will continue to monitor and debug these but since I recently re-started testing stable (my infra was down for a long time), I don't have any reference for when these started happening.
thanks,
- Joel
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]
Quoted 8 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Too much fun! ;-)
For TREE07 issue, it is actually the schedule_timeout_interruptible(1) in stutter_wait() that is beating up the CPU0 for 4 seconds.
This is very similar to the issue I fixed in New year in d52d3a2bf408 ("torture: Fix hang during kthread shutdown phase")
Adding a cond_resched() there also did not help.
I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
+++ b/kernel/torture.c
@@ -733,6 +733,6 @@ bool stutter_wait(const char *title)
ret = true;
}
if (spt == 1) {
- schedule_timeout_interruptible(1);
+ schedule_timeout_interruptible(HZ / 20);
cond_resched();
} else if (spt == 2) {Paul E. McKenney
maintainerQuoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.
Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")
Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
Thanx, Paul
Quoted 10 lines
+++
b/kernel/torture.c(quoted diff) +1
-1@@ -733,6 +733,6 @@ bool stutter_wait(const char *title) ret = true; } if (spt == 1) { - schedule_timeout_interruptible(1); + schedule_timeout_interruptible(HZ / 20); cond_resched(); } else if (spt == 2) {
Quoted 23 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 7 lines
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change! So I think I'll roll into a patch and send it to you. But I am also hoping that you are Ok with me setting the stutter thread to RT in addition to the longer schedule_timeout. That's just to make it more robust since I think it is crucial that it does not stutter threads indefinitely due to the scheduler (for any unforeseen reason in the future, such as scheduler issues). And maybe, as a part of that I could also tackle that other TODO item about cleaning up torture_create_kthead() as well to add support to it for setting things to RT and use it for that.
Let me know what you think, thanks!
- Joel
Paul E. McKenney
maintainerQuoted 30 lines · Joel Fernandes
Quoted 29 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Quoted 5 lines
Quoted 1 line
Or just use a single hrtimer-based wait for each kthread?
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.
But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Quoted 9 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
Quoted 10 lines
[Joel]
And the TREE07 issue is gone with that change! So I think I'll roll into a patch and send it to you. But I am also hoping that you are Ok with me setting the stutter thread to RT in addition to the longerschedule_timeout. That's just to make it more robust since I think it is crucial that it does not stutter threads indefinitely due to the scheduler (for any unforeseen reason in the future, such as scheduler issues). And maybe, as a part of that I could also tackle that other TODO item about cleaning uptorture_create_kthead()as well to add support to it for setting things to RT and use it for that.
Very good, thank you!
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
Thanx, Paul
Quoted 34 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change!
[...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Do we want to just do the simpler schedule_timeout at HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?
I will try to send out patches this week to discuss this, thanks,
- Joel
Paul E. McKenney
maintainerQuoted 71 lines · Joel Fernandes
Quoted 34 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change![...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Quoted 5 lines
Do we want to just do the simpler
schedule_timeoutat HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?I will try to send out patches this week to discuss this, thanks,
Heh!!!
Me, I was just thinking of mainline. ;-)
Thanx, Paul
Quoted 80 lines · Paul E. McKenney
Quoted 75 lines · Joel Fernandes
Quoted 35 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change![...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Do we want to just do the simpler
schedule_timeoutat HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?
Quoted 5 lines
Quoted 1 line
I will try to send out patches this week to discuss this, thanks,
Heh!!!
Me, I was just thinking of mainline. ;-)
Turns out it is simple enough for both mainline and stable :-). Will test more and send it out soon.
Thanks,
- Joel
Quoted 2 lines
Thanx, Paul
Paul E. McKenney
maintainerQuoted 80 lines · Joel Fernandes
Quoted 80 lines · Paul E. McKenney
Quoted 75 lines · Joel Fernandes
Quoted 35 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change![...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Do we want to just do the simpler
schedule_timeoutat HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
I will try to send out patches this week to discuss this, thanks,
Heh!!!
Me, I was just thinking of mainline. ;-)
Turns out it is simple enough for both mainline and stable :-). Will test more and send it out soon.
Woo-hoo!!! Some times you get lucky!
Thanx, Paul
Quoted 83 lines · Paul E. McKenney
Quoted 82 lines · Joel Fernandes
Quoted 82 lines · Paul E. McKenney
Quoted 76 lines · Joel Fernandes
Quoted 35 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change![...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Do we want to just do the simpler
schedule_timeoutat HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?I will try to send out patches this week to discuss this, thanks,
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Heh!!!
Me, I was just thinking of mainline. ;-)
Turns out it is simple enough for both mainline and stable :-). Will test more and send it out soon.
Woo-hoo!!! Some times you get lucky!
Better luck today than yesterday since yesterday a Linux distro update stalled my development. :-). Thanks to backups that I got back up quickly..
Here is the mostly tested patch as preview. I am running the full suite now after confirming it fixed TREE07. Looks OK? (I also confirmed with prints that stuttering timing is the same as before).
---8<-----------------------
From: Joel Fernandes <[email protected]>
Subject: [PATCH] rcutorture: Fix stuttering races and other issues
The stuttering code isn't functioning as expected. Ideally, it should pause the torture threads for a designated period before resuming. Yet, it fails to halt the test for the correct duration. Additionally, a race condition exists, potentially causing the stuttering code to pause for an extended period if the 'spt' variable is non-zero due to the stutter orchestration thread's inadequate CPU time.
Moreover, over-stuttering can hinder RCU's progress on TREE07 kernels. This happens as the stuttering code may run within a softirq due to RCU callbacks. Consequently, ksoftirqd keeps a CPU busy for several seconds, thus obstructing RCU's progress. This situation triggers a warning message in the logs:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9
This warning suggests that an RCU torture object, although invisible to RCU readers, couldn't make it past the pipe array and be freed -- a strong indication that there weren't enough grace periods during the stutter interval.
To address these issues, this patch sets the "stutter end" time to an absolute point in the future set by the main stutter thread. This is then used for waiting in stutter_wait(). While the stutter thread still defines this absolute time, the waiters' waiting logic doesn't rely on the stutter thread receiving sufficient CPU time to halt the stuttering as the halting is now self-controlled.
--- kernel/torture.c | 46 +++++++++++++--------------------------------- 1 file changed, 13 insertions(+), 33 deletions(-)
kernel/torture.c +13 -33
@@ -719,7 +719,7 @@ static void torture_shutdown_cleanup(void)* suddenly applied to or removed from the system. */ static struct task_struct *stutter_task; -static int stutter_pause_test; +static ktime_t stutter_till_abs_time;static int stutter;static int stutter_gap;
@@ -729,30 +729,17 @@ static int stutter_gap;*/ bool stutter_wait (const char *title) { -unsigned int i =0 ;bool ret = false; -int spt; +ktime_t now_ns, till_ns;cond_resched_tasks_rcu_qs (); - spt =READ_ONCE (stutter_pause_test); -for (; spt; spt =READ_ONCE (stutter_pause_test)) { -if (!ret && !rt_task (current)) { -sched_set_normal (current,MAX_NICE ); - ret = true; - } -if (spt ==1 ) { -torture_hrtimeout_jiffies (1 ,NULL ); - }else if (spt ==2 ) { -while (READ_ONCE (stutter_pause_test)) { -if (!(i++ &0xffff )) -torture_hrtimeout_us (10 ,0 ,NULL ); -cond_resched (); - } - }else { -torture_hrtimeout_jiffies (round_jiffies_relative (HZ ),NULL ); - } -torture_shutdown_absorb (title); + now_ns =ktime_get (); + till_ns =READ_ONCE (stutter_till_abs_time); +if (till_ns &&ktime_before (now_ns, till_ns)) { +torture_hrtimeout_ns (ktime_sub (till_ns, now_ns),0 ,NULL ); + ret = true; } +torture_shutdown_absorb (title);return ret; }EXPORT_SYMBOL_GPL (stutter_wait);
@@ -763,23 +750,16 @@ EXPORT_SYMBOL_GPL(stutter_wait);*/ static int torture_stutter (void *arg) { -DEFINE_TORTURE_RANDOM (rand); -int wtime; +ktime_t till_ns;VERBOSE_TOROUT_STRING ("torture_stutter task started" ); do { if (!torture_must_stop() && stutter > 1) { - wtime = stutter; - if (stutter > 2) { - WRITE_ONCE(stutter_pause_test, 1); - wtime = stutter - 3; - torture_hrtimeout_jiffies(wtime, &rand); - wtime = 2; - } - WRITE_ONCE(stutter_pause_test, 2); - torture_hrtimeout_jiffies(wtime, NULL); + till_ns = ktime_add_ns(ktime_get(), + jiffies_to_nsecs(stutter)); + WRITE_ONCE(stutter_till_abs_time, till_ns); + torture_hrtimeout_jiffies(stutter - 1, NULL); } - WRITE_ONCE(stutter_pause_test, 0); if (!torture_must_stop()) torture_hrtimeout_jiffies(stutter_gap, NULL); torture_shutdown_absorb("torture_stutter");
Signature · 1 line
2.41.0.487.g6d72f3e995-goog
Paul E. McKenney
maintainerQuoted 91 lines · Joel Fernandes
Quoted 90 lines · Paul E. McKenney
Quoted 88 lines · Joel Fernandes
Quoted 80 lines · Paul E. McKenney
Quoted 75 lines · Joel Fernandes
Quoted 35 lines · Paul E. McKenney
Quoted 32 lines · Joel Fernandes
Quoted 30 lines · Paul E. McKenney
Quoted 11 lines · Joel Fernandes
On 7/22/23 13:27, Paul E. McKenney wrote:
[..]Quoted 7 lines
OK, if this kernel is non-preemptible, you are not running TREE03, correct?
Quoted 2 lines
Next plan of action is to get
sched_wakingstack traces since I have a very reliable repro of this now.Quoted 7 lines
Quoted 1 line
Too much fun! ;-)
For TREE07 issue, it is actually the
schedule_timeout_interruptible(1)instutter_wait()that is beating up the CPU0 for 4 seconds.This is very similar to the issue I fixed in New year in
d52d3a2bf408("torture: Fix hang during kthread shutdown phase")Agreed, if there are enough kthreads, and all the kthreads are on a single CPU, this could consume that CPU.
Quoted 5 lines
Adding a
cond_resched()there also did not help.I think the issue is the stutter thread fails to move spt forward because it does not get CPU time. But spt == 1 should be very brief AFAIU. I was wondering if we could set that to RT.
Or just use a single hrtimer-based wait for each kthread?
Quoted 7 lines
Quoted 3 lines
[Joel]
Yes this might be better, but there's still the issue that spt may not be set back to 0 in some future release where the thread gets starved.But if each thread knows the absolute time at which the current stutter period is supposed to end, there should not be any need for the spt variable, correct?
Yes.
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
But also maybe the following will cure it like it did for the shutdown issue, giving the stutter thread just enough CPU time to move spt forward.
Now I am trying the following and will let it run while I go do other family related things. ;)
Good point, if this avoids the problem, that gives a strong indication that your hypothesis on the root cause is correct.
[Joel]
And the TREE07 issue is gone with that change![...]
Quoted 9 lines
Quoted 1 line
Let me know what you think, thanks!
If we can make the stutter kthread set an absolute time for the current stutter period to end, then we should be able to simplify the code quite a bit and get rid of the CPU consumption entirely. (Give or take the possible need for a given thread to check whether it was erroneously awakened early.)
But what specifically did you have in mind?
I was thinking of a 2 counter approach storing the absolute time. Use an alternative counter for different stuttering sessions. But yes, generally I agree with the absolute time idea. What do you think Paul?
Do we want to just do the simpler
schedule_timeoutat HZ / 20 to keep stable green, and do the absolute-time approach for mainline? That might be better from a process PoV. But I think stable requires patches to be upstream. Greg?Quoted 5 lines
Quoted 1 line
I will try to send out patches this week to discuss this, thanks,
Heh!!!
Me, I was just thinking of mainline. ;-)
Turns out it is simple enough for both mainline and stable :-). Will test more and send it out soon.
Quoted 8 lines
Quoted 1 line
Woo-hoo!!! Some times you get lucky!
Better luck today than yesterday since yesterday a Linux distro update stalled my development. :-). Thanks to backups that I got back up quickly..
Here is the mostly tested patch as preview. I am running the full suite now after confirming it fixed TREE07. Looks OK? (I also confirmed with prints that stuttering timing is the same as before).
Looks quite plausible, thank you!
Thanx, Paul
Quoted 120 lines
---8<-----------------------
From: Joel Fernandes <[email protected]>
Subject: [PATCH] rcutorture: Fix stuttering races and other issuesThe stuttering code isn't functioning as expected. Ideally, it should pause the torture threads for a designated period before resuming. Yet, it fails to halt the test for the correct duration. Additionally, a race condition exists, potentially causing the stuttering code to pause for an extended period if the 'spt' variable is non-zero due to the stutter orchestration thread's inadequate CPU time.
Moreover, over-stuttering can hinder RCU's progress on TREE07 kernels. This happens as the stuttering code may run within a softirq due to RCU callbacks. Consequently, ksoftirqd keeps a CPU busy for several seconds, thus obstructing RCU's progress. This situation triggers a warning message in the logs:
[ 2169.481783] rcu_torture_writer: rtort_pipe_count: 9This warning suggests that an RCU torture object, although invisible to RCU readers, couldn't make it past the pipe array and be freed -- a strong indication that there weren't enough grace periods during the stutter interval.
To address these issues, this patch sets the "stutter end" time to an absolute point in the future set by the main stutter thread. This is then used for waiting in
stutter_wait(). While the stutter thread still defines this absolute time, the waiters' waiting logic doesn't rely on the stutter thread receiving sufficient CPU time to halt the stuttering as the halting is now self-controlled.Signed-off-by Joel Fernandes (Google) <[email protected]>--- kernel/torture.c | 46 +++++++++++++--------------------------------- 1 file changed, 13 insertions(+), 33 deletions(-)kernel/torture.c +13
-33@@ -719,7 +719,7 @@ static void torture_shutdown_cleanup(void)* suddenly applied to or removed from the system. */ static struct task_struct *stutter_task; -static int stutter_pause_test; +static ktime_t stutter_till_abs_time;static int stutter;static int stutter_gap;@@ -729,30 +729,17 @@ static int stutter_gap;*/ bool stutter_wait (const char *title) { -unsigned int i =0 ;bool ret = false; -int spt; +ktime_t now_ns, till_ns;cond_resched_tasks_rcu_qs (); - spt =READ_ONCE (stutter_pause_test); -for (; spt; spt =READ_ONCE (stutter_pause_test)) { -if (!ret && !rt_task (current)) { -sched_set_normal (current,MAX_NICE ); - ret = true; - } -if (spt ==1 ) { -torture_hrtimeout_jiffies (1 ,NULL ); - }else if (spt ==2 ) { -while (READ_ONCE (stutter_pause_test)) { -if (!(i++ &0xffff )) -torture_hrtimeout_us (10 ,0 ,NULL ); -cond_resched (); - } - }else { -torture_hrtimeout_jiffies (round_jiffies_relative (HZ ),NULL ); - } -torture_shutdown_absorb (title); + now_ns =ktime_get (); + till_ns =READ_ONCE (stutter_till_abs_time); +if (till_ns &&ktime_before (now_ns, till_ns)) { +torture_hrtimeout_ns (ktime_sub (till_ns, now_ns),0 ,NULL ); + ret = true; } +torture_shutdown_absorb (title);return ret; }EXPORT_SYMBOL_GPL (stutter_wait);@@ -763,23 +750,16 @@ EXPORT_SYMBOL_GPL(stutter_wait);*/ static int torture_stutter (void *arg) { -DEFINE_TORTURE_RANDOM (rand); -int wtime; +ktime_t till_ns;VERBOSE_TOROUT_STRING ("torture_stutter task started" ); do { if (!torture_must_stop() && stutter > 1) { - wtime = stutter; - if (stutter > 2) { - WRITE_ONCE(stutter_pause_test, 1); - wtime = stutter - 3; - torture_hrtimeout_jiffies(wtime, &rand); - wtime = 2; - } - WRITE_ONCE(stutter_pause_test, 2); - torture_hrtimeout_jiffies(wtime, NULL); + till_ns = ktime_add_ns(ktime_get(), + jiffies_to_nsecs(stutter)); + WRITE_ONCE(stutter_till_abs_time, till_ns); + torture_hrtimeout_jiffies(stutter - 1, NULL); } - WRITE_ONCE(stutter_pause_test, 0); if (!torture_must_stop()) torture_hrtimeout_jiffies(stutter_gap, NULL); torture_shutdown_absorb("torture_stutter");Signature · 1 line
2.41.0.487.g6d72f3e995-goog