Linux 6.16.2
Greg Kroah-Hartman
maintainerI'm announcing the release of the 6.16.2 kernel.
All users of the 6.16 kernel series must upgrade.
The updated 6.16.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.16.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/filesystems/fscrypt.rst | 37 Documentation/firmware-guide/acpi/i2c-muxes.rst | 8 Documentation/sphinx/kernel_abi.py | 6 Makefile | 2 arch/arm/mach-rockchip/platsmp.c | 15 arch/arm/mach-tegra/reset.c | 2 arch/arm64/boot/dts/ti/k3-j722s-evm.dts | 2 arch/arm64/include/asm/acpi.h | 2 arch/arm64/kernel/acpi.c | 10 arch/arm64/kernel/stacktrace.c | 2 arch/arm64/kernel/traps.c | 1 arch/arm64/mm/fault.c | 1 arch/arm64/mm/ptdump_debugfs.c | 3 arch/loongarch/kernel/env.c | 13 arch/loongarch/kernel/relocate_kernel.S | 2 arch/loongarch/kernel/unwind_orc.c | 2 arch/loongarch/net/bpf_jit.c | 21 arch/loongarch/vdso/Makefile | 2 arch/mips/include/asm/vpe.h | 8 arch/mips/kernel/process.c | 16 arch/mips/lantiq/falcon/sysctrl.c | 23 arch/parisc/Makefile | 2 arch/powerpc/include/asm/floppy.h | 5 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 6 arch/riscv/boot/dts/thead/th1520.dtsi | 10 arch/riscv/mm/ptdump.c | 3 arch/s390/include/asm/timex.h | 13 arch/s390/kernel/early.c | 1 arch/s390/kernel/time.c | 2 arch/s390/mm/dump_pagetables.c | 2 arch/um/include/asm/thread_info.h | 4 arch/um/kernel/process.c | 20 arch/x86/boot/startup/sev-shared.c | 1 arch/x86/coco/sev/core.c | 2 arch/x86/coco/sev/vc-handle.c | 40 arch/x86/include/asm/kvm_host.h | 7 arch/x86/kernel/cpu/bugs.c | 5 arch/x86/kernel/fpu/xstate.c | 19 arch/x86/kvm/vmx/main.c | 2 arch/x86/kvm/vmx/nested.c | 21 arch/x86/kvm/vmx/pmu_intel.c | 8 arch/x86/kvm/vmx/vmx.c | 41 arch/x86/kvm/vmx/vmx.h | 26 arch/x86/kvm/x86.c | 14 arch/x86/lib/crypto/poly1305_glue.c | 48 block/bfq-iosched.c | 35 block/bfq-iosched.h | 3 block/blk-mq.c | 6 block/blk-settings.c | 2 block/blk-sysfs.c | 12 block/blk-zoned.c | 20 block/blk.h | 1 block/genhd.c | 2 block/kyber-iosched.c | 9 block/mq-deadline.c | 16 crypto/jitterentropy-kcapi.c | 9 drivers/accel/habanalabs/common/memory.c | 23 drivers/acpi/acpi_processor.c | 2 drivers/acpi/apei/ghes.c | 13 drivers/acpi/ec.c | 10 drivers/acpi/prmt.c | 26 drivers/acpi/processor_perflib.c | 11 drivers/android/binder_alloc_selftest.c | 2 drivers/ata/ahci.c | 12 drivers/ata/ata_piix.c | 1 drivers/ata/libahci.c | 1 drivers/ata/libata-sata.c | 52 drivers/base/power/runtime.c | 5 drivers/base/regmap/regmap-irq.c | 19 drivers/block/drbd/drbd_receiver.c | 6 drivers/block/loop.c | 38 drivers/block/sunvdc.c | 4 drivers/block/ublk_drv.c | 16 drivers/bluetooth/btusb.c | 3 drivers/bus/mhi/host/pci_generic.c | 20 drivers/char/ipmi/ipmi_msghandler.c | 8 drivers/char/ipmi/ipmi_watchdog.c | 59 drivers/char/misc.c | 4 drivers/char/tpm/tpm-interface.c | 17 drivers/char/tpm/tpm_crb_ffa.c | 19 drivers/clk/qcom/dispcc-sm8750.c | 10 drivers/clk/qcom/gcc-ipq5018.c | 2 drivers/clk/qcom/gcc-ipq8074.c | 6 drivers/clk/renesas/rzg2l-cpg.c | 8 drivers/clk/samsung/clk-exynos850.c | 2 drivers/clk/samsung/clk-gs101.c | 4 drivers/clk/tegra/clk-periph.c | 4 drivers/clk/thead/clk-th1520-ap.c | 5 drivers/comedi/comedi_fops.c | 31 drivers/comedi/comedi_internal.h | 1 drivers/comedi/drivers.c | 13 drivers/cpufreq/cppc_cpufreq.c | 2 drivers/cpufreq/cpufreq.c | 8 drivers/cpufreq/intel_pstate.c | 2 drivers/cpuidle/governors/menu.c | 21 drivers/crypto/caam/ctrl.c | 2 drivers/crypto/ccp/sp-pci.c | 1 drivers/crypto/hisilicon/hpre/hpre_crypto.c | 8 drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 16 drivers/devfreq/governor_userspace.c | 6 drivers/dma/stm32/stm32-dma.c | 2 drivers/edac/ie31200_edac.c | 4 drivers/edac/synopsys_edac.c | 97 drivers/firmware/arm_ffa/driver.c | 2 drivers/firmware/arm_scmi/scmi_power_control.c | 22 drivers/firmware/tegra/Kconfig | 5 drivers/gpio/gpio-loongson-64bit.c | 6 drivers/gpio/gpio-mlxbf2.c | 2 drivers/gpio/gpio-mlxbf3.c | 54 drivers/gpio/gpio-pxa.c | 8 drivers/gpio/gpio-tps65912.c | 7 drivers/gpio/gpio-virtio.c | 9 drivers/gpio/gpio-wcd934x.c | 7 drivers/gpu/drm/amd/amdgpu/aldebaran.c | 33 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 6 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 4 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 11 drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 3 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c | 4 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 31 drivers/gpu/drm/amd/amdgpu/psp_v11_0_8.c | 25 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c | 18 drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 25 drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c | 25 drivers/gpu/drm/amd/amdgpu/psp_v14_0.c | 25 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 28 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 6 drivers/gpu/drm/amd/display/dc/core/dc.c | 12 drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 11 drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 3 drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c | 2 drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c | 1 drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 16 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 5 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 37 drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h | 41 drivers/gpu/drm/clients/drm_client_setup.c | 5 drivers/gpu/drm/i915/display/intel_fbc.c | 8 drivers/gpu/drm/i915/display/intel_psr.c | 14 drivers/gpu/drm/imagination/pvr_power.c | 59 drivers/gpu/drm/msm/Makefile | 5 drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 2 drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 4 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 2 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 2 drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 2 drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h | 4 drivers/gpu/drm/msm/msm_drv.c | 9 drivers/gpu/drm/msm/msm_gem.c | 3 drivers/gpu/drm/msm/msm_gem.h | 6 drivers/gpu/drm/msm/registers/adreno/a6xx.xml | 3582 +--------- drivers/gpu/drm/msm/registers/adreno/a6xx_descriptors.xml | 198 drivers/gpu/drm/msm/registers/adreno/a6xx_enums.xml | 383 + drivers/gpu/drm/msm/registers/adreno/a6xx_perfcntrs.xml | 600 + drivers/gpu/drm/msm/registers/adreno/a7xx_enums.xml | 223 drivers/gpu/drm/msm/registers/adreno/a7xx_perfcntrs.xml | 1030 ++ drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml | 302 drivers/gpu/drm/panel/panel-raydium-rm67200.c | 22 drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c | 3 drivers/gpu/drm/scheduler/sched_main.c | 34 drivers/gpu/drm/scheduler/tests/tests_basic.c | 42 drivers/gpu/drm/ttm/ttm_pool.c | 8 drivers/gpu/drm/ttm/ttm_resource.c | 3 drivers/gpu/drm/xe/xe_guc_exec_queue_types.h | 2 drivers/gpu/drm/xe/xe_guc_submit.c | 7 drivers/gpu/drm/xe/xe_hw_fence.c | 3 drivers/gpu/drm/xe/xe_hwmon.c | 29 drivers/gpu/drm/xe/xe_migrate.c | 42 drivers/gpu/drm/xe/xe_query.c | 27 drivers/hid/hid-core.c | 4 drivers/hwmon/emc2305.c | 10 drivers/i2c/i2c-core-acpi.c | 1 drivers/i2c/i2c-core-base.c | 8 drivers/i3c/internals.h | 1 drivers/i3c/master.c | 4 drivers/idle/intel_idle.c | 2 drivers/iio/adc/ad7768-1.c | 23 drivers/iio/adc/ad_sigma_delta.c | 2 drivers/infiniband/core/nldev.c | 22 drivers/infiniband/hw/bnxt_re/ib_verbs.c | 2 drivers/infiniband/hw/hfi1/affinity.c | 44 drivers/infiniband/sw/siw/siw_qp_tx.c | 5 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 7 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 drivers/iommu/intel/iommu.c | 19 drivers/iommu/intel/iommu.h | 3 drivers/iommu/iommufd/io_pagetable.c | 48 drivers/irqchip/irq-mips-gic.c | 8 drivers/irqchip/irq-mvebu-gicp.c | 10 drivers/irqchip/irq-renesas-rzv2h.c | 4 drivers/leds/flash/leds-qcom-flash.c | 15 drivers/leds/leds-lp50xx.c | 11 drivers/leds/trigger/ledtrig-netdev.c | 16 drivers/md/dm-ps-historical-service-time.c | 4 drivers/md/dm-ps-queue-length.c | 4 drivers/md/dm-ps-round-robin.c | 4 drivers/md/dm-ps-service-time.c | 4 drivers/md/dm-stripe.c | 1 drivers/md/dm-table.c | 10 drivers/md/dm-zoned-target.c | 2 drivers/md/dm.c | 37 drivers/md/raid10.c | 1 drivers/media/dvb-frontends/dib7000p.c | 8 drivers/media/i2c/hi556.c | 7 drivers/media/i2c/lt6911uxe.c | 2 drivers/media/i2c/tc358743.c | 86 drivers/media/i2c/vd55g1.c | 11 drivers/media/pci/intel/ipu-bridge.c | 2 drivers/media/platform/qcom/iris/iris_buffer.c | 11 drivers/media/platform/qcom/iris/iris_hfi_gen1_defines.h | 2 drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c | 6 drivers/media/platform/qcom/venus/hfi_msgs.c | 83 drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 4 drivers/media/usb/hdpvr/hdpvr-i2c.c | 6 drivers/media/usb/uvc/uvc_ctrl.c | 65 drivers/media/usb/uvc/uvc_driver.c | 12 drivers/media/usb/uvc/uvc_video.c | 21 drivers/media/usb/uvc/uvcvideo.h | 2 drivers/media/v4l2-core/v4l2-common.c | 14 drivers/mfd/axp20x.c | 3 drivers/mfd/cros_ec_dev.c | 10 drivers/misc/cardreader/rtsx_usb.c | 16 drivers/misc/mei/bus.c | 6 drivers/mmc/host/rtsx_usb_sdmmc.c | 4 drivers/mmc/host/sdhci-esdhc-imx.c | 16 drivers/mmc/host/sdhci-msm.c | 14 drivers/net/can/ti_hecc.c | 2 drivers/net/dsa/b53/b53_common.c | 78 drivers/net/dsa/b53/b53_regs.h | 7 drivers/net/ethernet/agere/et131x.c | 36 drivers/net/ethernet/aquantia/atlantic/aq_hw.h | 2 drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c | 39 drivers/net/ethernet/atheros/ag71xx.c | 9 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 29 drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 4 drivers/net/ethernet/emulex/benet/be_main.c | 8 drivers/net/ethernet/faraday/ftgmac100.c | 7 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 4 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 15 drivers/net/ethernet/freescale/enetc/enetc_hw.h | 1 drivers/net/ethernet/freescale/enetc/enetc_pf.c | 14 drivers/net/ethernet/freescale/fec_main.c | 34 drivers/net/ethernet/freescale/gianfar_ethtool.c | 4 drivers/net/ethernet/google/gve/gve_adminq.c | 1 drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c | 14 drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c | 15 drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.h | 7 drivers/net/ethernet/intel/idpf/idpf.h | 19 drivers/net/ethernet/intel/idpf/idpf_ethtool.c | 36 drivers/net/ethernet/intel/idpf/idpf_lib.c | 18 drivers/net/ethernet/intel/idpf/idpf_main.c | 1 drivers/net/ethernet/intel/idpf/idpf_txrx.c | 13 drivers/net/ethernet/mediatek/mtk_wed.c | 1 drivers/net/ethernet/mellanox/mlx5/core/en/qos.c | 2 drivers/net/ethernet/pensando/ionic/ionic_lif.c | 7 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c | 14 drivers/net/ethernet/ti/icssg/icss_iep.c | 26 drivers/net/ethernet/ti/icssg/icssg_prueth.c | 6 drivers/net/hamradio/bpqether.c | 2 drivers/net/hyperv/hyperv_net.h | 3 drivers/net/hyperv/netvsc_drv.c | 29 drivers/net/pcs/pcs-xpcs-plat.c | 4 drivers/net/phy/air_en8811h.c | 45 drivers/net/phy/broadcom.c | 25 drivers/net/phy/mdio_bus.c | 1 drivers/net/phy/mdio_bus_provider.c | 3 drivers/net/phy/micrel.c | 12 drivers/net/phy/nxp-c45-tja11xx.c | 23 drivers/net/phy/realtek/realtek_main.c | 10 drivers/net/phy/smsc.c | 1 drivers/net/thunderbolt/main.c | 21 drivers/net/usb/asix_devices.c | 1 drivers/net/usb/cdc_ncm.c | 20 drivers/net/usb/qmi_wwan.c | 1 drivers/net/wan/lapbether.c | 2 drivers/net/wireless/ath/ath10k/core.c | 48 drivers/net/wireless/ath/ath10k/core.h | 11 drivers/net/wireless/ath/ath10k/mac.c | 7 drivers/net/wireless/ath/ath10k/wmi.c | 6 drivers/net/wireless/ath/ath12k/dp.c | 3 drivers/net/wireless/ath/ath12k/hw.c | 2 drivers/net/wireless/ath/ath12k/mac.c | 57 drivers/net/wireless/ath/ath12k/wmi.c | 5 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 5 drivers/net/wireless/intel/iwlwifi/dvm/rs.c | 2 drivers/net/wireless/intel/iwlwifi/fw/dbg.c | 7 drivers/net/wireless/intel/iwlwifi/iwl-drv.c | 8 drivers/net/wireless/intel/iwlwifi/mld/agg.c | 5 drivers/net/wireless/intel/iwlwifi/mld/iface.h | 3 drivers/net/wireless/intel/iwlwifi/mld/link.c | 8 drivers/net/wireless/intel/iwlwifi/mld/mac80211.c | 1 drivers/net/wireless/intel/iwlwifi/mld/mld.c | 2 drivers/net/wireless/intel/iwlwifi/mld/mlo.c | 8 drivers/net/wireless/intel/iwlwifi/mld/scan.c | 2 drivers/net/wireless/intel/iwlwifi/mld/scan.h | 2 drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 2 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 5 drivers/net/wireless/intel/iwlwifi/mvm/scan.c | 2 drivers/net/wireless/intel/iwlwifi/pcie/internal.h | 1 drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c | 5 drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 2 drivers/net/wireless/mediatek/mt76/channel.c | 4 drivers/net/wireless/mediatek/mt76/mt76.h | 5 drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 28 drivers/net/wireless/mediatek/mt76/mt7996/mac.c | 4 drivers/net/wireless/realtek/rtlwifi/pci.c | 23 drivers/net/wireless/realtek/rtw89/chan.c | 6 drivers/net/wireless/realtek/rtw89/coex.c | 12 drivers/net/wireless/realtek/rtw89/core.c | 3 drivers/net/wireless/realtek/rtw89/fw.c | 10 drivers/net/wireless/realtek/rtw89/fw.h | 2 drivers/net/wireless/realtek/rtw89/mac.c | 19 drivers/net/wireless/realtek/rtw89/reg.h | 1 drivers/net/wireless/realtek/rtw89/wow.c | 5 drivers/net/xen-netfront.c | 5 drivers/nvme/host/pci.c | 24 drivers/nvme/host/tcp.c | 11 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 15 drivers/pci/pci-acpi.c | 4 drivers/pci/pci.c | 6 drivers/pci/probe.c | 2 drivers/perf/arm-cmn.c | 1 drivers/perf/arm-ni.c | 1 drivers/perf/cxl_pmu.c | 2 drivers/phy/rockchip/phy-rockchip-pcie.c | 15 drivers/pinctrl/stm32/pinctrl-stm32.c | 1 drivers/platform/chrome/cros_ec_sensorhub.c | 23 drivers/platform/chrome/cros_ec_typec.c | 4 drivers/platform/x86/amd/pmc/pmc-quirks.c | 9 drivers/platform/x86/thinkpad_acpi.c | 4 drivers/pmdomain/imx/imx8m-blk-ctrl.c | 10 drivers/pmdomain/ti/Kconfig | 2 drivers/power/supply/qcom_battmgr.c | 2 drivers/pps/clients/pps-gpio.c | 5 drivers/ptp/ptp_clock.c | 2 drivers/ptp/ptp_private.h | 5 drivers/ptp/ptp_vclock.c | 7 drivers/remoteproc/imx_rproc.c | 4 drivers/reset/Kconfig | 10 drivers/rtc/rtc-ds1307.c | 15 drivers/s390/char/sclp.c | 4 drivers/scsi/aacraid/comminit.c | 3 drivers/scsi/bfa/bfad_im.c | 1 drivers/scsi/libiscsi.c | 3 drivers/scsi/lpfc/lpfc_debugfs.c | 1 drivers/scsi/lpfc/lpfc_hbadisc.c | 3 drivers/scsi/lpfc/lpfc_scsi.c | 4 drivers/scsi/mpi3mr/mpi3mr_os.c | 20 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 19 drivers/scsi/pm8001/pm80xx_hwi.c | 12 drivers/scsi/scsi_scan.c | 2 drivers/scsi/scsi_transport_sas.c | 60 drivers/soc/qcom/mdt_loader.c | 10 drivers/soc/qcom/rpmh-rsc.c | 2 drivers/soundwire/amd_manager.c | 7 drivers/soundwire/bus.c | 6 drivers/staging/gpib/ni_usb/ni_usb_gpib.c | 14 drivers/target/target_core_fabric_lib.c | 63 drivers/target/target_core_internal.h | 4 drivers/target/target_core_pr.c | 18 drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 43 drivers/thermal/thermal_sysfs.c | 9 drivers/thunderbolt/domain.c | 2 drivers/tty/serial/serial_core.c | 44 drivers/ufs/core/ufshcd.c | 9 drivers/usb/class/cdc-acm.c | 11 drivers/usb/core/config.c | 10 drivers/usb/core/urb.c | 2 drivers/usb/dwc3/dwc3-xilinx.c | 1 drivers/usb/host/xhci-mem.c | 2 drivers/usb/host/xhci-ring.c | 10 drivers/usb/host/xhci.c | 6 drivers/usb/typec/mux/intel_pmc_mux.c | 2 drivers/usb/typec/tcpm/fusb302.c | 8 drivers/usb/typec/tcpm/tcpci_maxim_core.c | 46 drivers/usb/typec/ucsi/cros_ec_ucsi.c | 1 drivers/usb/typec/ucsi/psy.c | 2 drivers/usb/typec/ucsi/ucsi.c | 1 drivers/usb/typec/ucsi/ucsi.h | 7 drivers/vfio/pci/mlx5/cmd.c | 4 drivers/vfio/vfio_iommu_type1.c | 7 drivers/vhost/vhost.c | 3 drivers/video/fbdev/Kconfig | 2 drivers/video/fbdev/core/fbcon.c | 9 drivers/video/fbdev/core/fbmem.c | 3 drivers/virt/coco/efi_secret/efi_secret.c | 10 drivers/watchdog/dw_wdt.c | 2 drivers/watchdog/iTCO_wdt.c | 6 drivers/watchdog/sbsa_gwdt.c | 50 fs/btrfs/block-group.c | 31 fs/btrfs/ctree.c | 1 fs/btrfs/disk-io.c | 1 fs/btrfs/extent-tree.c | 33 fs/btrfs/file.c | 59 fs/btrfs/inode.c | 2 fs/btrfs/ioctl.c | 3 fs/btrfs/qgroup.c | 44 fs/btrfs/relocation.c | 19 fs/btrfs/send.c | 33 fs/btrfs/transaction.c | 6 fs/btrfs/tree-log.c | 107 fs/btrfs/zoned.c | 66 fs/btrfs/zoned.h | 3 fs/crypto/fscrypt_private.h | 17 fs/crypto/hkdf.c | 2 fs/crypto/keysetup.c | 3 fs/crypto/keysetup_v1.c | 3 fs/erofs/super.c | 4 fs/exfat/dir.c | 12 fs/exfat/fatent.c | 10 fs/exfat/namei.c | 5 fs/exfat/super.c | 32 fs/ext2/inode.c | 12 fs/ext4/ext4.h | 2 fs/ext4/ialloc.c | 3 fs/ext4/inline.c | 19 fs/ext4/inode.c | 22 fs/ext4/mballoc-test.c | 9 fs/ext4/mballoc.c | 67 fs/f2fs/file.c | 24 fs/f2fs/node.c | 29 fs/fhandle.c | 2 fs/file.c | 15 fs/gfs2/dir.c | 6 fs/gfs2/glops.c | 6 fs/gfs2/meta_io.c | 2 fs/hfs/bfind.c | 3 fs/hfs/bnode.c | 93 fs/hfs/btree.c | 57 fs/hfs/extent.c | 2 fs/hfs/hfs_fs.h | 1 fs/hfsplus/bnode.c | 92 fs/hfsplus/unicode.c | 7 fs/hfsplus/xattr.c | 6 fs/jfs/file.c | 3 fs/jfs/inode.c | 2 fs/jfs/jfs_dmap.c | 6 fs/libfs.c | 4 fs/nfs/blocklayout/blocklayout.c | 4 fs/nfs/blocklayout/dev.c | 5 fs/nfs/blocklayout/extent_tree.c | 20 fs/nfs/client.c | 44 fs/nfs/internal.h | 2 fs/nfs/nfs4client.c | 20 fs/nfs/nfs4proc.c | 2 fs/nfs/pnfs.c | 11 fs/nfsd/nfs4state.c | 34 fs/ntfs3/dir.c | 3 fs/ntfs3/inode.c | 31 fs/ocfs2/aops.c | 1 fs/orangefs/orangefs-debugfs.c | 2 fs/pidfs.c | 2 fs/proc/task_mmu.c | 6 fs/smb/client/cifsencrypt.c | 79 fs/smb/client/cifssmb.c | 10 fs/smb/client/compress.c | 71 fs/smb/client/connect.c | 1 fs/smb/client/sess.c | 9 fs/smb/client/smb2ops.c | 11 fs/smb/client/smbdirect.c | 25 fs/smb/server/smb2pdu.c | 16 fs/tracefs/inode.c | 11 fs/udf/super.c | 13 fs/xfs/scrub/trace.h | 2 include/drm/gpu_scheduler.h | 18 include/linux/acpi.h | 2 include/linux/blk_types.h | 6 include/linux/blkdev.h | 55 include/linux/hid.h | 2 include/linux/hypervisor.h | 3 include/linux/if_vlan.h | 21 include/linux/libata.h | 1 include/linux/memory-tiers.h | 2 include/linux/packing.h | 6 include/linux/pci.h | 6 include/linux/sbitmap.h | 6 include/linux/skbuff.h | 8 include/linux/usb/cdc_ncm.h | 1 include/linux/virtio_vsock.h | 7 include/net/bluetooth/hci.h | 6 include/net/bluetooth/hci_core.h | 5 include/net/cfg80211.h | 2 include/net/ip_vs.h | 13 include/net/kcm.h | 1 include/net/mac80211.h | 4 include/net/page_pool/types.h | 2 include/sound/sdca_function.h | 2 include/trace/events/thp.h | 2 include/uapi/linux/in6.h | 4 include/uapi/linux/io_uring.h | 2 io_uring/memmap.c | 2 io_uring/net.c | 27 io_uring/rsrc.c | 4 io_uring/rsrc.h | 2 io_uring/rw.c | 2 io_uring/zcrx.c | 34 io_uring/zcrx.h | 1 kernel/.gitignore | 2 kernel/Makefile | 47 kernel/bpf/verifier.c | 7 kernel/futex/futex.h | 6 kernel/gen_kheaders.sh | 94 kernel/kthread.c | 1 kernel/module/main.c | 10 kernel/power/console.c | 7 kernel/printk/nbcon.c | 63 kernel/rcu/rcutorture.c | 9 kernel/rcu/tree.c | 2 kernel/rcu/tree.h | 14 kernel/rcu/tree_nocb.h | 5 kernel/rcu/tree_plugin.h | 44 kernel/sched/deadline.c | 4 kernel/sched/fair.c | 19 kernel/sched/rt.c | 6 kernel/trace/fprobe.c | 4 kernel/trace/rv/rv_trace.h | 3 lib/sbitmap.c | 56 mm/damon/core.c | 1 mm/huge_memory.c | 7 mm/kmemleak.c | 10 mm/ptdump.c | 2 mm/shmem.c | 39 mm/slub.c | 7 mm/userfaultfd.c | 17 net/bluetooth/hci_conn.c | 3 net/bluetooth/hci_event.c | 39 net/bluetooth/hci_sock.c | 2 net/core/ieee8021q_helpers.c | 44 net/core/page_pool.c | 29 net/ipv4/route.c | 1 net/ipv4/udp_offload.c | 2 net/ipv6/addrconf.c | 7 net/ipv6/mcast.c | 11 net/ipv6/xfrm6_tunnel.c | 2 net/kcm/kcmsock.c | 10 net/mac80211/chan.c | 1 net/mac80211/ht.c | 40 net/mac80211/ieee80211_i.h | 6 net/mac80211/iface.c | 29 net/mac80211/link.c | 9 net/mac80211/mlme.c | 45 net/mac80211/rx.c | 47 net/mctp/af_mctp.c | 26 net/ncsi/internal.h | 2 net/ncsi/ncsi-rsp.c | 1 net/netfilter/ipvs/ip_vs_est.c | 3 net/netfilter/nf_conntrack_netlink.c | 65 net/netfilter/nf_tables_api.c | 30 net/netfilter/nft_set_pipapo.c | 9 net/netlink/af_netlink.c | 2 net/sched/sch_ets.c | 11 net/sctp/input.c | 2 net/tls/tls.h | 2 net/tls/tls_strp.c | 11 net/tls/tls_sw.c | 3 net/vmw_vsock/virtio_transport.c | 2 net/wireless/mlme.c | 3 net/xfrm/xfrm_device.c | 12 net/xfrm/xfrm_state.c | 74 rust/Makefile | 16 samples/damon/mtier.c | 10 samples/damon/wsse.c | 12 scripts/kconfig/gconf.c | 8 scripts/kconfig/lxdialog/inputbox.c | 6 scripts/kconfig/lxdialog/menubox.c | 2 scripts/kconfig/nconf.c | 2 scripts/kconfig/nconf.gui.c | 1 security/apparmor/domain.c | 52 security/apparmor/file.c | 6 security/apparmor/include/lib.h | 6 security/inode.c | 2 security/landlock/syscalls.c | 1 sound/core/pcm_native.c | 19 sound/pci/hda/cs35l41_hda.c | 2 sound/pci/hda/cs35l56_hda.c | 4 sound/pci/hda/hda_codec.c | 42 sound/pci/hda/patch_ca0132.c | 2 sound/pci/hda/patch_realtek.c | 3 sound/pci/intel8x0.c | 2 sound/soc/codecs/hdac_hdmi.c | 10 sound/soc/codecs/rt5640.c | 5 sound/soc/fsl/fsl_sai.c | 20 sound/soc/intel/avs/core.c | 3 sound/soc/intel/boards/sof_sdw.c | 8 sound/soc/qcom/lpass-platform.c | 27 sound/soc/sdca/sdca_functions.c | 2 sound/soc/soc-core.c | 3 sound/soc/soc-dapm.c | 4 sound/soc/sof/topology.c | 15 sound/usb/mixer_quirks.c | 14 sound/usb/stream.c | 25 sound/usb/validate.c | 12 tools/bpf/bpftool/main.c | 6 tools/include/nolibc/std.h | 4 tools/include/nolibc/types.h | 4 tools/lib/bpf/libbpf.c | 7 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c | 4 tools/power/x86/turbostat/turbostat.c | 14 tools/scripts/Makefile.include | 4 tools/testing/ktest/ktest.pl | 5 tools/testing/selftests/arm64/fp/sve-ptrace.c | 3 tools/testing/selftests/bpf/prog_tests/ringbuf.c | 4 tools/testing/selftests/bpf/prog_tests/user_ringbuf.c | 10 tools/testing/selftests/bpf/progs/test_ringbuf_write.c | 4 tools/testing/selftests/bpf/progs/verifier_unpriv.c | 2 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc | 2 tools/testing/selftests/futex/include/futextest.h | 11 tools/testing/selftests/kexec/Makefile | 2 tools/testing/selftests/net/netfilter/config | 2 tools/testing/selftests/vDSO/vdso_test_getrandom.c | 6 tools/verification/dot2/dot2k.py | 3 tools/verification/dot2/dot2k_templates/Kconfig_container | 5 615 files changed, 8824 insertions(+), 5279 deletions(-)
Aakash Kumar S (1):
xfrm: Duplicate SPI Handling
Aaron Kling (1):
ARM: tegra: Use I/O memcpy to write to IRAM
Aaron Plattner (1):
watchdog: sbsa: Adjust keepalive timeout to avoid MediaTek WS0 race condition
Abel Vesa (1):
power: supply: qcom_battmgr: Add lithium-polymer entry
Ahmed Zaki (1):
idpf: preserve coalescing settings across resets
Al Viro (5):
habanalabs: fix UAF in export_dmabuf()
better lockdep annotations for simple_recursive_removal()
landlock: opened file never has a negative dentry fix locking in efi_secret_unlink()
securityfs: don't pin dentries twice, once is enough...
Alessio Belle (1):
drm/imagination: Clear runtime PM errors while resetting the GPU
Alex Guo (2):
media: dvb-frontends: dib7090p: fix null-ptr-deref in dib7090p_rw_on_apb()
media: dvb-frontends: w7090p: fix null-ptr-deref in w7090p_tuner_write_serpar and w7090p_tuner_read_serpar
Alex Hung (1):
drm/amd/display: Initialize mode_select to 0
Alexander Kochetkov (1):
ARM: rockchip: fix kernel hang during smp initialization
Alexey Klimov (1):
iommu/arm-smmu-qcom: Add SM6115 MDSS compatible
Alok Tiwari (6):
net: ti: icss-iep: Fix incorrect type for return value in extts_enable()
ALSA: intel8x0: Fix incorrect codec index usage in mixer for ICH4
be2net: Use correct byte order and format string for TCP seq and ack_seq
net: thunderx: Fix format-truncation warning in bgx_acpi_match_id() perf/cxlpmu: Remove unintended newline from IRQ name format string
gve: Return error for unknown admin queue command
Amelie Delaunay (1):
dmaengine: stm32-dma: configure next sg only if there are more than 2 sgs
Amir Mohammad Jahangirzad (1):
fs/orangefs: use snprintf() instead of sprintf()
Andrew Price (2):
gfs2: Validate i_depth for exhash directories
gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops
Andrey Albershteyn (1):
xfs: fix scrub trace with null pointer in quotacheck
André Draszik (4):
clk: samsung: exynos850: fix a comment
clk: samsung: gs101: fix CLK_DOUT_CMU_G3D_BUSD
clk: samsung: gs101: fix alternate mout_hsi0_usb20_ref parent clock
usb: typec: tcpm/tcpci_maxim: fix irq wake usage
Andy Shevchenko (1):
Documentation: ACPI: Fix parent device references
Andy Yan (1):
drm/panel: raydium-rm67200: Move initialization from enable() to prepare stage
Anshuman Khandual (1):
mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()
Anthoine Bourgeois (1):
xen/netfront: Fix TX response spurious interrupts
Armin Wolf (1):
ACPI: EC: Relax sanity check of the ECDT ID string
Arnaud Lecomte (1):
jfs: upper bound check of tree index in dbAllocAG
Arnd Bergmann (2):
RDMA/core: reduce stack using in nldev_stat_get_doit()
firmware: arm_scmi: Convert to SYSTEM_SLEEP_PM_OPS
Artem Sadovnikov (1):
vfio/mlx5: fix possible overflow in tracking max message size
Avraham Stern (4):
wifi: iwlwifi: mld: avoid outdated reorder buffer head_sn
wifi: iwlwifi: mvm: avoid outdated reorder buffer head_sn
wifi: iwlwifi: mld: fix scan request validation
wifi: iwlwifi: mvm: fix scan request validation
Baokun Li (2):
ext4: fix zombie groups in average fragment size lists
ext4: fix largest free orders lists corruption on mb_optimize_scan switch
Bartosz Golaszewski (3):
Revert "gpio: pxa: Make irq_chip immutable"
gpio: wcd934x: check the return value of regmap_update_bits()
gpio: tps65912: check the return value of regmap_update_bits()
Benjamin Berg (1):
wifi: iwlwifi: mld: use the correct struct size for tracing
Benjamin Marzinski (1):
dm-table: fix checking for rq stackable devices
Benjamin Mugnier (3):
media: i2c: vd55g1: Setup sensor external clock before patching
media: i2c: vd55g1: Fix RATE macros not being expressed in bps
media: i2c: vd55g1: Fix return code in vd55g1_enable_streams error path
Benson Leung (1):
usb: typec: ucsi: psy: Set current max to 100mA for BC 1.2 and Default
Bharat Bhushan (1):
crypto: octeontx2 - add timeout for load_fvc completion poll
Bijan Tabatabai (1):
mm/damon/core: commit damos->target_nid
Biju Das (2):
irqchip/renesas-rzv2h: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
net: phy: micrel: Add ksz9131_resume()
Binbin Zhou (1):
gpio: loongson-64bit: Extend GPIO irq support
Bitterblue Smith (3):
wifi: rtw89: Lower the timeout in rtw89_fw_read_c2h_reg() for USB
wifi: rtw89: Fix rtw89_mac_power_switch() for USB
wifi: rtw89: Disable deep power saving for USB/SDIO
Bjorn Andersson (1):
soc: qcom: mdt_loader: Actually use the e_phoff
Boris Burkov (2):
btrfs: fix ssd_spread overallocation
btrfs: fix iteration bug in __qgroup_excl_accounting()
Breno Leitao (5):
ACPI: APEI: GHES: add TAINT_MACHINE_CHECK on GHES panic path
arm64: Mark kernel as tainted on SAE and SError panic
ptp: Use ratelimite for freerun error message
ipmi: Use dev_warn_ratelimited() for incorrect message warnings mm/kmemleak: avoid deadlock by moving pr_warn() outside kmemleak_lock
Buday Csaba (2):
net: mdiobus: release reset_gpio in mdiobus_unregister_device()
net: phy: smsc: add proper reset flags for LAN8710A
Caleb Sander Mateos (2):
ublk: check for unprivileged daemon on each I/O fetch
btrfs: don't skip accounting in early ENOTTY return in btrfs_uring_encoded_read()
Calvin Owens (2):
tools/power turbostat: Fix build with musl tools/power turbostat: Handle cap_get_proc() ENOSYS
Cezary Rojewski (1):
ASoC: Intel: avs: Fix uninitialized pointer error in probe()
Chao Yu (1):
f2fs: handle nat.blkaddr corruption in f2fs_get_node_info()
Charlene Liu (1):
drm/amd/display: limit clear_update_flags to dcn32 and above
Charles Keepax (2):
ASoC: SDCA: Add flag for unused IRQs
soundwire: Move handle_nested_irq outside of sdw_dev_lock
Cheick Traore (1):
pinctrl: stm32: Manage irq affinity settings
Chen-Yu Tsai (1):
mfd: axp20x: Set explicit ID for AXP313 regulator
Chih-Kang Chang (1):
wifi: rtw89: scan abort when assign/unassign_vif
Chin-Yen Lee (1):
wifi: rtw89: wow: Add Basic Rate IE to probe request in scheduled scan mode
Ching-Te Ku (1):
wifi: rtw89: coex: Not to set slot duration to zero to avoid firmware issue
Chris Mason (1):
sched/fair: Bump sd->max_newidle_lb_cost when newidle balance fails
Christian Brauner (2):
fhandle: raise FILEID_IS_DIR in handle_type
pidfs: raise SB_I_NODEV and SB_I_NOEXEC
Christian Marangi (1):
clk: qcom: gcc-ipq8074: fix broken freq table for nss_port6_tx_clk_src
Christophe Leroy (1):
ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop
Christopher Eby (1):
ALSA: hda/realtek: Add Framework Laptop 13 (AMD Ryzen AI 300) to quirks
Clark Wang (1):
net: phy: nxp-c45-tja11xx: fix the PHY ID mismatch issue when using C45
Claudiu Beznea (1):
clk: renesas: rzg2l: Postpone updating priv->clks[]
Corey Minyard (1):
ipmi: Fix strcpy source and destination the same
Cristian Ciocaltea (1):
ALSA: usb-audio: Avoid precedence issues in mixer_quirks macros
Cynthia Huang (1):
selftests/futex: Define SYS_futex on 32-bit architectures with 64-bit time_t
Dai Ngo (1):
NFSD: detect mismatch of file handle and delegation stateid in OPEN op
Damien Le Moal (9):
block: Make REQ_OP_ZONE_FINISH a write operation
ata: ahci: Disallow LPM policy control if not supported
ata: ahci: Disable DIPM if host lacks support
ata: libata-sata: Disallow changing LPM state if not supported
scsi: mpt3sas: Correctly handle ATA device errors
scsi: mpi3mr: Correctly handle ATA device errors
block: Introduce bio_needs_zone_write_plugging()
dm: Always split write BIOs to zoned device limits
ata: libata-sata: Add link_power_management_supported sysfs attribute
Daniel Braunwarth (1):
net: phy: realtek: add error handling to rtl8211f_get_wol
Daniel Golle (1):
Revert "leds: trigger: netdev: Configure LED blink interval for HW offload"
Daniel Scally (1):
media: ipu-bridge: Add _HID for OV5670
Daniele Palmas (1):
bus: mhi: host: pci_generic: Add Telit FN990B40 modem support
Dave Penkler (1):
staging: gpib: Add init response codes for new ni-usb-hs+
Dave Stevenson (3):
media: tc358743: Check I2C succeeded during probe
media: tc358743: Return an appropriate colorspace from tc358743_set_fmt
media: tc358743: Increase FIFO trigger level to 374
David Bauer (2):
wifi: mt76: mt7915: mcu: re-init MCU before loading FW patch
wifi: mt76: mt7915: mcu: increase eeprom command timeout
David Collins (1):
thermal/drivers/qcom-spmi-temp-alarm: Enable stage 2 shutdown when required
David Hildenbrand (1):
mm/huge_memory: don't ignore queried cachemode in vmf_insert_pfn_pud()
David Howells (1):
cifs: Fix collect_sample() to handle any iterator type
David Lechner (1):
iio: adc: ad_sigma_delta: don't overallocate scan buffer
David Thompson (3):
gpio: mlxbf2: use platform_get_irq_optional() Revert "gpio: mlxbf3: only get IRQ for device instance 0"
gpio: mlxbf3: use platform_get_irq_optional()
David Wei (1):
bnxt: fill data page pool with frags if PAGE_SIZE > BNXT_RX_PAGE_SIZE
Davide Caratti (1):
net/sched: ets: use old 'nbands' while purging unused classes
Dikshita Agarwal (1):
media: iris: Add handling for corrupt and drop frames
Dongcheng Yan (1):
media: i2c: set lt6911uxe's reset_gpio to GPIOD_OUT_LOW
Eduard Zingerman (1):
libbpf: Verify that arena map exists when adding arena relocations
Edward Adam Davis (1):
jfs: Regular file corruption check
Elad Nachman (1):
irqchip/mvebu-gicp: Clear pending interrupts on init
Eliav Farber (1):
pps: clients: gpio: fix interrupt handling order in remove path
Emily Deng (1):
drm/ttm: Should to return the evict error
En-Wei Wu (1):
Bluetooth: btusb: Add new VID/PID 0489/e14e for MT7925
Eric Biggers (4):
fscrypt: Don't use problematic non-inline crypto engines lib/crypto: x86/poly1305: Fix register corruption in no-SIMD contexts lib/crypto: x86/poly1305: Fix performance regression on short messages
thunderbolt: Fix copy+paste error in match_service_id()
Eric Work (1):
net: atlantic: add set_power to fw_ops for atl2 to fix wol
Fabio Porcedda (1):
net: usb: qmi_wwan: add Telit Cinterion FN990A w/audio composition
Fedor Pchelkin (1):
netlink: avoid infinite retry looping in netlink_unicast()
Felix Fietkau (1):
wifi: mt76: fix vif link allocation
Filipe Manana (11):
btrfs: fix -ENOSPC mmap write failure on NOCOW files/extents
btrfs: abort transaction during log replay if walk_log_tree() failed
btrfs: qgroup: set quota enabled bit if quota disable fails flushing reservations
btrfs: don't ignore inode missing when replaying log tree
btrfs: qgroup: fix race between quota disable and quota rescan ioctl
btrfs: qgroup: fix qgroup create ioctl returning success after quotas disabled
btrfs: don't skip remaining extrefs if dir not found during log replay
btrfs: clear dirty status from extent buffer on error at insert_new_root()
btrfs: send: use fallocate for hole punching with send stream v2
btrfs: fix log tree replay failure due to file with 0 links and extents
btrfs: error on missing block group when unaccounting log tree extent buffers
Florian Larysch (1):
net: phy: micrel: fix KSZ8081/KSZ8091 cable test
Florian Westphal (3):
netfilter: ctnetlink: fix refcount leak on table dump
netfilter: ctnetlink: remove refcounting in expectation dumpers
netfilter: nft_set_pipapo: prefer kvmalloc for scratch maps
Florin Leotescu (1):
hwmon: (emc2305) Set initial PWM minimum value during probe based on thermal state
Francisco Gutierrez (1):
scsi: pm80xx: Free allocated tags after failure
Frederic Weisbecker (2):
ipvs: Fix estimator kthreads preferred affinity
rcu: Fix racy re-initialization of irq_work causing hangs
Fushuai Wang (1):
x86/fpu: Fix NULL dereference in avx512_status()
Gabriel Totev (1):
apparmor: shift ouid when mediating hard links in userns
Gal Pressman (2):
net: vlan: Make is_vlan_dev() a stub when VLAN is not configured
net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs
GalaxySnail (1):
ALSA: hda: add MODULE_FIRMWARE for cs35l41/cs35l56
Gao Xiang (1):
erofs: fix block count report when 48-bit layout is on
Gautham R. Shenoy (1):
pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop()
George Gaidarov (1):
EDAC/ie31200: Enable support for Core i5-14600 and i7-14700
George Moussalem (1):
clk: qcom: ipq5018: keep XO clock always on
Geraldo Nascimento (1):
phy: rockchip-pcie: Properly disable TEST_WRITE strobe signal
Gerd Hoffmann (1):
x86/sev/vc: Fix EFI runtime instruction emulation
Greg Kroah-Hartman (1):
Linux 6.16.2
Guillaume La Roque (1):
pmdomain: ti: Select PM_GENERIC_DOMAINS
Gwendal Grignou (1):
platform/chrome: cros_ec_sensorhub: Retries when a sensor is not ready
Haibo Chen (1):
mmc: sdhci-esdhc-imx: Don't change pinctrl in suspend if wakeup source
Haiyang Zhang (1):
hv_netvsc: Fix panic during namespace deletion with VF
Hans de Goede (3):
mei: bus: Check for still connected devices in mei_cl_bus_dev_release()
media: hi556: Fix reset GPIO timings
i2c: core: Fix double-free of fwnode in i2c_unregister_device()
Haoran Jiang (1):
LoongArch: BPF: Fix jump offset calculation in tailcall
Harald Mommer (1):
gpio: virtio: Fix config space reading.
Hari Chandrakanthan (2):
wifi: mac80211: fix rx link assignment for non-MLO stations
wifi: ath12k: Fix station association with MBSSID Non-TX BSS
Hari Kalavakunta (1):
net: ncsi: Fix buffer overflow in fetching version id
Heiko Carstens (1):
s390/early: Copy last breaking event address to pt_regs
Heiner Kallweit (2):
net: ftgmac100: fix potential NULL pointer access in ftgmac100_phy_disconnect
dpaa_eth: don't use fixed_phy_change_carrier
Hiago De Franco (1):
remoteproc: imx_rproc: skip clock enable when M-core is managed by the SCU
Hsin-Te Yuan (1):
thermal: sysfs: Return ENODATA instead of EAGAIN for reads
Huacai Chen (2):
PCI: Extend isolated function probing to LoongArch
LoongArch: Make relocate_new_kernel_size be a .quad value
Ian Abbott (1):
comedi: fix race between polling and detaching
Ihor Solodrai (1):
bpf: Make reg_not_null() true for CONST_PTR_TO_MAP
Ilan Peer (1):
wifi: cfg80211: Fix interface type validation
Ilya Bakoulin (1):
drm/amd/display: Separate set_gsl from set_gsl_source_select
Ivan Lipski (1):
drm/amd/display: Allow DCN301 to clear update flags
Jack Ping CHNG (1):
net: pcs: xpcs: mask readl() return value to 16 bits
Jack Xiao (1):
drm/amdgpu: fix incorrect vm flags to map bo
Jaegeuk Kim (1):
f2fs: check the generic conditions first
Jakub Kicinski (4):
net: page_pool: allow enabling recycling late, fix false positive warning
tls: handle data disappearing from under the TLS ULP
eth: bnxt: take page size into account for page pool recycling rings
uapi: in6: restore visibility of most IPv6 socket options
Jameson Thies (1):
usb: typec: ucsi: Add poll_cci operation to cros_ec_ucsi
Jan Kara (2):
loop: Avoid updating block size under exclusive owner
udf: Verify partition map count
Jarkko Sakkinen (1):
tpm: Check for completion after timeout
Jason Gunthorpe (1):
iommufd: Prevent ALIGN() overflow
Jason Wang (1):
vhost: fail early when __vhost_add_used() fails
Jay Chen (1):
usb: xhci: Set avg_trb_len = 8 for EP0 during Address Device Command
Jeff Layton (1):
nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()
Jens Axboe (3):
io_uring/memmap: cast nr_pages to size_t before shifting io_uring/net: commit partial buffers on retry io_uring/rw: cast rw->flags assignment to rwf_t
Jeongjun Park (1):
ptp: prevent possible ABBA deadlock in ptp_clock_freerun()
Jiasheng Jiang (1):
scsi: lpfc: Remove redundant assignment to avoid memory leak
Jiayi Li (1):
ACPI: processor: perflib: Fix initial _PPC limit application
Jijie Shao (3):
net: hibmcge: fix rtnl deadlock issue
net: hibmcge: fix the division by zero issue
net: hibmcge: fix the np_link_fail error reporting issue
Jinjiang Tu (1):
mm/smaps: fix race between smaps_hugetlb_range and migration
Joel Fernandes (1):
rcu: Fix rcu_read_unlock() deadloop due to IRQ work
Johan Adolfsson (1):
leds: leds-lp50xx: Handle reg to get correct multi_index
Johan Hovold (5):
net: gianfar: fix device leak when querying time stamp info
net: enetc: fix device and OF node leak at probe
net: mtk_eth_soc: fix device leak at probe
net: ti: icss-iep: fix device and OF node leaks at probe
net: dpaa: fix device leak when querying time stamp info
Johannes Berg (6):
wifi: cfg80211: reject HTC bit for management frames
wifi: mac80211: don't use TPE data from assoc response
wifi: mac80211: don't unreserve never reserved chanctx
wifi: mac80211: don't complete management TX on SAE commit
wifi: iwlwifi: mld: fix last_mlo_scan_time type
wifi: iwlwifi: pcie: reinit device properly during TOP reset
Johannes Thumshirn (2):
btrfs: zoned: use filesystem size not disk size for reclaim decision
btrfs: zoned: reserve data_reloc block group on mount
John Ernberg (1):
crypto: caam - Support iMX8QXP and variants thereof
John Garry (4):
dm-stripe: limit chunk_sectors to the stripe size
md/raid10: set chunk_sectors limit
scsi: aacraid: Stop using PCI_IRQ_AFFINITY
block: avoid possible overflow for chunk_sectors check in blk_stack_limits()
John Johansen (1):
apparmor: fix x_table_lookup when stacking is not the first entry
John Ogness (1):
printk: nbcon: Allow reacquire during panic
Jonas Rebmann (1):
net: fec: allow disable coalescing
Jonathan Santos (1):
iio: adc: ad7768-1: Ensure SYNC_IN pulse minimum timing requirement
Jorge Marques (1):
i3c: master: Initialize ret in i3c_i2c_notifier_call()
Joseph Tilahun (1):
tty: serial: fix print format specifiers
Jouni Högander (1):
drm/i915/psr: Do not trigger Frame Change events from frontbuffer flush
Juri Lelli (1):
sched/deadline: Fix accounting after global limits change
Justin Tee (2):
scsi: lpfc: Ensure HBA_SETUP flag is used only for SLI4 in dev_loss_tmo_callbk
scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure
Kairui Song (1):
mm/shmem, swap: improve cached mTHP handling and fix potential hang
Kalesh AP (1):
RDMA/bnxt_re: Fix size of uverbs_copy_to() in BNXT_RE_METHOD_GET_TOGGLE_MEM
Kamil Horák - 2N (1):
net: phy: bcm54811: PHY initialization
Kang Yang (1):
wifi: ath10k: shutdown driver when hardware is unreliable
Karthik Poosa (1):
drm/xe/hwmon: Add SW clamp for power limits writes
Karthikeyan Kathirvel (1):
wifi: ath12k: Decrement TID on RX peer frag setup error handling
Kees Cook (2):
arm64: Handle KCOV __init vs inline mismatches platform/x86: thinkpad_acpi: Handle KCOV __init vs inline mismatches
Keith Busch (2):
nvme-pci: try function level reset on init failure vfio/type1: conditional rescheduling while pinning
Krzysztof Hałasa (1):
imx8m-blk-ctrl: set ISI panic write hurry level
Krzysztof Kozlowski (2):
leds: flash: leds-qcom-flash: Fix registry access after re-bind
clk: qcom: dispcc-sm8750: Fix setting rate byte and pixel clocks
Kuan-Chung Chen (1):
wifi: rtw89: 8852c: increase beacon loss to 6 seconds
Kuninori Morimoto (1):
ASoC: soc-dapm: set bias_level if snd_soc_dapm_set_bias_level() was successed
Kuniyuki Iwashima (1):
ipv6: mcast: Check inet6_dev->dead under idev->mc_lock in __ipv6_dev_mc_inc().
Lad Prabhakar (1):
drm: renesas: rz-du: mipi_dsi: Add min check for VCLK range
Len Brown (2):
intel_idle: Allow loading ACPI tables for any family tools/power turbostat: Handle non-root legacy-uncore sysfs permissions
Leon Romanovsky (1):
net/mlx5e: Properly access RCU protected qdisc_sleeping variable
Li Chen (3):
ACPI: Suppress misleading SPCR console message when SPCR table is absent
HID: rate-limit hid_warn to prevent log flooding
ACPI: Return -ENODEV from acpi_parse_spcr() when SPCR support is disabled
Li RongQing (1):
cpufreq: intel_pstate: Add Granite Rapids support in no-HWP mode
Li Zhijian (1):
mm/memory-tier: fix abstract distance calculation overflow
Lifeng Zheng (2):
cpufreq: Exit governor when failed to start old governor
PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store()
Lijo Lazar (3):
drm/amdgpu: Add more checks to PSP mailbox drm/amd/pm: Use pointer type for typecheck() drm/amdgpu: Suspend IH during mode-2 reset
Lizhi Xu (3):
fs/ntfs3: Add sanity check for file name
jfs: truncate good inode pages when hard link is 0
ocfs2: reset folio to NULL when get folio fails
Lorenzo Bianconi (1):
wifi: mt76: mt7996: Fix mlink lookup in mt7996_tx_prepare_skb
Lu Baolu (1):
iommu/vt-d: Optimize iotlb_sync_map for non-caching/non-RWBF modes
Lucien.Jheng (1):
net: phy: air_en8811h: Introduce resume/suspend and clk_restore_context to ensure correct CKO settings after network interface reinitialization.
Lucy Thrun (1):
ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control
Lukas Wunner (1):
PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports
MD Danish Anwar (1):
net: ti: icssg-prueth: Fix emac link speed handling
Ma Ke (1):
sunvdc: Balance device refcount in vdc_port_mpgroup_check
Marek Szyprowski (1):
media: v4l2: Add support for NV12M tiled variants to v4l2_format_info()
Mario Limonciello (8):
platform/x86/amd: pmc: Add Lenovo Yoga 6 13ALC6 to pmc quirk list
usb: xhci: Avoid showing warnings for dying controller
usb: xhci: Avoid showing errors during surprise removal drm/amd: Allow printing VanGogh OD SCLK levels without setting dpm to manual drm/amd/display: Stop storing failures into adev->dm.cached_state drm/amd/display: Only finalize atomic_obj if it was initialized drm/amd/display: Avoid configuring PSR granularity if PSR-SU not supported
crypto: ccp - Add missing bootloader info reg for pspv6
Mark Brown (3):
ASoC: hdac_hdmi: Rate limit logging on connection and disconnection kselftest/arm64: Specify SVE data when testing VL set in sve-ptrace
regmap: irq: Free the regmap-irq mutex
Mark Rutland (1):
arm64: stacktrace: Check kretprobe_find_ret_addr() return value
Markus Stockhausen (1):
irqchip/mips-gic: Allow forced affinity
Markus Theil (1):
crypto: jitter - fix intermediary handling
Masahiro Yamada (3):
kconfig: gconf: avoid hardcoding model2 in on_treeview2_cursor_changed()
kconfig: gconf: fix potential memory leak in renderer_edited()
kheaders: rebuild kheaders_data.tar.xz when a file is modified within a minute
Masami Hiramatsu (Google) (2):
selftests: tracing: Use mutex_unlock for testing glob filter
tracing: fprobe: Fix infinite recursion using preempt_*_notrace()
Mateusz Guzik (1):
apparmor: use the condition in AA_BUG_FMT even with debug disabled
Matt Johnston (1):
net: mctp: Prevent duplicate binds
Matt Roper (1):
drm/xe/xe_query: Use separate iterator while filling GT list
Matteo Croce (1):
libbpf: Fix warning in calloc() usage
Matthew Auld (3):
drm/xe/migrate: prevent infinite recursion drm/xe/migrate: don't overflow max copy size drm/xe/migrate: prevent potential UAF
Maulik Shah (1):
soc: qcom: rpmh-rsc: Add RSC version 4 support
Maurizio Lombardi (2):
nvme-tcp: log TLS handshake failures at error level
scsi: target: core: Generate correct identifiers for PR OUT transport IDs
Mauro Carvalho Chehab (1):
sphinx: kernel_abi: fix performance regression with O=<dir>
Maxim Levitsky (3):
KVM: nVMX: Check vmcs12->guest_ia32_debugctl on nested VM-Enter
KVM: VMX: Wrap all accesses to IA32_DEBUGCTL with getter/setter APIs
KVM: VMX: Preserve host's DEBUGCTLMSR_FREEZE_IN_SMM while running the guest
Meagan Lloyd (2):
rtc: ds1307: handle oscillator stop flag (OSF) for ds1341
rtc: ds1307: remove clear of oscillator stop flag (OSF) in probe
Michal Wilczynski (1):
clk: thead: Mark essential bus clocks as CLK_IGNORE_UNUSED
Miguel Ojeda (2):
rust: kbuild: clean output before running rustdoc
rust: workaround rustdoc target modifiers bug
Mikulas Patocka (1):
dm-mpath: don't print the "loaded" message if registering fails
Mina Almasry (1):
netmem: fix skb_frag_address_safe with unreadable skbs
Miri Korenblit (6):
wifi: iwlwifi: mld: use spec link id and not FW link id
wifi: mac80211: handle WLAN_HT_ACTION_NOTIFY_CHANWIDTH async
wifi: iwlwifi: mvm: set gtk id also in older FWs
wifi: iwlwifi: handle non-overlapping API ranges
wifi: mac80211: avoid weird state in error path
wifi: iwlwifi: mld: don't exit EMLSR when we shouldn't
Moon Hee Lee (1):
selftests/kexec: fix test_kexec_jump build
Myrrh Periwinkle (1):
usb: typec: ucsi: Update power_supply on power role change
Nam Cao (2):
verification/dot2k: Make a separate dot2k_templates/Kconfig_container
rv: Add #undef TRACE_INCLUDE_FILE
Naohiro Aota (3):
btrfs: zoned: requeue to unused block group list if zone finish failed
btrfs: zoned: do not remove unwritten non-data block group
btrfs: zoned: do not select metadata BG as finish target
Nathan Lynch (1):
lib: packing: Include necessary headers
NeilBrown (1):
smb/server: avoid deadlock when linking with ReplaceIfExists
Nicholas Kazlauskas (1):
drm/amd/display: Update DMCUB loading sequence for DCN3.5
Nicolin Chen (2):
iommu/arm-smmu-v3: Revert vmaster in the error path
iommufd: Report unmapped bytes in the error path of iopt_unmap_iova_range
Niklas Söderlund (1):
media: v4l2-common: Reduce warnings about missing V4L2_CID_LINK_FREQ control
Nikunj A Dadhania (1):
x86/sev: Improve handling of writes to intercepted TSC MSRs
Nitin Rawat (1):
scsi: ufs: core: Fix interrupt handling for MCQ Mode
Oliver Neukum (3):
usb: core: usb_submit_urb: downgrade type check
net: usb: cdc-ncm: check for filtering capability
cdc-acm: fix race between initial clearing halt and open
Oscar Maes (1):
net: ipv4: fix incorrect MTU in broadcast routes
Pablo Neira Ayuso (1):
netfilter: nf_tables: reject duplicate device on updates
Pagadala Yesu Anjaneyulu (1):
wifi: iwlwifi: fw: Fix possible memory leak in iwl_fw_dbg_collect
Pali Rohár (1):
cifs: Fix calling CIFSFindFirst() for root path without msearch
Paul Chaignon (1):
bpf: Forget ranges when refining tnum after JSET
Paul E. McKenney (1):
rcu: Protect ->defer_qs_iw_pending from data race
Paulo Alcantara (1):
smb: client: fix session setup against servers that require SPN
Pavel Begunkov (5):
io_uring: don't use int for ABI
io_uring: export io_[un]account_mem io_uring/zcrx: account area memory io_uring/zcrx: fix null ifq on area destruction io_uring/zcrx: don't leak pages on account failure
Pawan Gupta (1):
x86/bugs: Avoid warning when overriding return thunk
Pedro Falcato (1):
RDMA/siw: Fix the sendmsg byte count in siw_tcp_sendpages
Pei Xiao (1):
clk: tegra: periph: Fix error handling and resolve unsigned compare warning
Peichen Huang (1):
drm/amd/display: add null check
Peng Fan (1):
firmware: arm_scmi: power_control: Ensure SCMI_SYSPOWER_IDLE is set early during resume
Peter Jakubek (1):
ASoC: Intel: sof_sdw: Add quirk for Alienware Area 51 (2025) 0CCC SKU
Peter Robinson (1):
reset: brcmstb: Enable reset drivers for ARCH_BCM2835
Peter Ujfalusi (2):
ASoC: SOF: topology: Parse the dapm_widget_tokens in case of DSPless mode
ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime()
Petr Pavlu (1):
module: Prevent silent truncation of module name in delete_module(2)
Philipp Stanner (2):
drm/sched/tests: Add unit test for cancel_job() drm/sched: Avoid memory leaks with cancel_job() callback
Prashant Malani (1):
cpufreq: CPPC: Mark driver with NEED_UPDATE_LIMITS flag
Purva Yeshi (1):
md: dm-zoned-target: Initialize return variable r to avoid uninitialized use
Qu Wenruo (3):
btrfs: populate otime when logging an inode item
btrfs: fix wrong length parameter for btrfs_cleanup_ordered_extents()
btrfs: do not allow relocation of partially dropped subvolumes
Radhey Shyam Pandey (1):
usb: dwc3: xilinx: add shutdown callback
Rafael J. Wysocki (3):
ACPI: processor: perflib: Move problematic pr->performance check
cpuidle: governors: menu: Avoid using invalid recent intervals data
PM: runtime: Clear power.needs_force_resume in pm_runtime_reinit()
Raj Kumar Bhagat (1):
wifi: ath12k: Enable REO queue lookup table feature on QCN9274 hw2.0
Rameshkumar Sundaram (1):
wifi: ath12k: Fix beacon reception for sta associated to Non-TX AP
Ramya Gnanasekar (1):
wifi: mac80211: update radar_required in channel context after channel switch
Rand Deeb (1):
wifi: iwlwifi: dvm: fix potential overflow in rs_fill_link_cmd()
Randy Dunlap (2):
fbdev: nvidiafb: add depends on HAS_IOPORT
parisc: Makefile: fix a typo in palo.conf
Ranjan Kumar (1):
scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans
Ricardo Ribalda (4):
media: uvcvideo: Add quirk for HP Webcam HD 2300
media: uvcvideo: Set V4L2_CTRL_FLAG_DISABLED during queryctrl errors
media: uvcvideo: Do not mark valid metadata as invalid
media: uvcvideo: Turn on the camera if V4L2_EVENT_SUB_FL_SEND_INITIAL
Ricky Wu (1):
misc: rtsx: usb: Ensure mmc child device is active when card is present
Rob Clark (2):
drm/msm: Update register xml
drm/msm: use trylock for debugfs
Robin Murphy (1):
perf/arm: Add missing .suppress_bind_attrs
Roman Li (1):
drm/amd/display: Disable dsc_power_gate for dcn314 by default
Rong Zhang (1):
fs/ntfs3: correctly create symlink for relative path
RubenKelevra (1):
net: ieee8021q: fix insufficient table-size assertion
Sabrina Dubroca (4):
xfrm: flush all states in xfrm_state_fini
xfrm: restore GSO for SW crypto
xfrm: bring back device check in validate_xmit_xfrm
udp: also consider secpath when evaluating ipsec use for checksumming
Sarah Newman (1):
drbd: add missing kref_get in handle_write_conflicts
Sarika Sharma (2):
wifi: ath12k: Correct tid cleanup when tid setup fails
wifi: ath12k: Add memset and update default rate value in wmi tx completion
Sarthak Garg (1):
mmc: sdhci-msm: Ensure SD card power isn't ON when card removed
Sasha Levin (1):
fs: Prevent file descriptor table allocations exceeding INT_MAX
Sean Christopherson (1):
KVM: VMX: Extract checking of guest's DEBUGCTL into helper
Sebastian Andrzej Siewior (1):
selftests: netfilter: Enable CONFIG_INET_SCTP_DIAG
Sebastian Ott (1):
ACPI: processor: fix acpi_object initialization
Sebastian Reichel (2):
watchdog: dw_wdt: Fix default timeout
usb: typec: fusb302: cache PD RX state
SeongJae Park (2):
samples/damon/wsse: fix boot time enable handling samples/damon/mtier: support boot time enable setup
Sergey Bashirov (4):
pNFS: Fix stripe mapping in block/scsi layout
pNFS: Fix disk addr range check in block/scsi layout
pNFS: Handle RPC size limit for layoutcommits
pNFS: Fix uninited ptr deref in block/scsi layout
Shankari Anand (1):
kconfig: nconf: Ensure null termination where strncpy is used
Shannon Nelson (1):
ionic: clean dbpage in de-init
Shengjiu Wang (1):
ASoC: fsl_sai: replace regmap_write with regmap_update_bits
Shiji Yang (2):
MIPS: vpe-mt: add missing prototypes for vpe_{alloc,start,stop,free}
MIPS: lantiq: falcon: sysctrl: fix request memory check logic
Shin'ichiro Kawasaki (1):
dm: split write BIOs on zone boundaries when zone append is not emulated
Showrya M N (1):
scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated
Shuai Xue (1):
ACPI: APEI: send SIGBUS to current task if synchronous memory error not recovered
Shubhrajyoti Datta (1):
EDAC/synopsys: Clear the ECC counters on init
Shyam Prasad N (1):
cifs: reset iface weights when we cannot find a candidate
Siddharth Vadapalli (1):
arm64: dts: ti: k3-j722s-evm: Fix USB gpio-hog level for Type-C
Sravan Kumar Gundu (1):
fbdev: Fix vmalloc out-of-bounds write in fast_imageblit
Srinivas Kandagatla (1):
ASoC: qcom: use drvdata instead of component to keep id
Stanislav Fomichev (2):
net: lapbether: ignore ops-locked netdevs
hamradio: ignore ops-locked netdevs
Stanislaw Gruszka (1):
wifi: iwlegacy: Check rate_idx range after addition
Stefan Metzmacher (3):
smb: client: let send_done() cleanup before calling smbd_disconnect_rdma_connection()
smb: client: don't wait for info->send_pending == 0 on error
smb: client: don't call init_waitqueue_head(&info->conn_wait) twice in _smbd_get_connectionSteve French (1):
smb3: fix for slab out of bounds on mount to ksmbd
Steven Rostedt (3):
tracefs: Add d_delete to remove negative dentries powerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64 ktest.pl: Prevent recursion of default variable options
Su Hui (1):
usb: xhci: print xhci->xhc_state when queue_command failed
Suchit Karunakaran (1):
kconfig: lxdialog: replace strcpy() with strncpy() in inputbox.c
Suren Baghdasaryan (1):
userfaultfd: fix a crash in UFFDIO_MOVE when PMD is a migration entry
Sven Schnelle (3):
s390/sclp: Use monotonic clock in sclp_sync_wait() s390/time: Use monotonic clock in get_cycles() s390/stp: Remove udelay from stp_sync_clock()
Sven Stegemann (1):
net: kcm: Fix race condition in kcm_unattach()
Takashi Iwai (4):
ALSA: usb-audio: Validate UAC3 power domain descriptors, too
ALSA: usb-audio: Validate UAC3 cluster segment descriptors
ALSA: hda: Handle the jack polling always via a work
ALSA: hda: Disable jack polling at shutdown
Tetsuo Handa (1):
hfsplus: don't use BUG_ON() in hfsplus_create_attributes_file()
Theodore Ts'o (1):
ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
Thierry Reding (2):
firmware: tegra: Fix IVC dependency problems drm/fbdev-client: Skip DRM clients if modesetting is absent
Thomas Croft (1):
ALSA: hda/realtek: add LG gram 16Z90R-A to alc269 fixup table
Thomas Fourier (6):
et131x: Add missing check after DMA map
net: ag71xx: Add missing check after DMA map
(powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer
wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_rx_interrupt().
powerpc: floppy: Add missing checks after DMA map
wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_init_one_rxdesc()
Thomas Gleixner (1):
irqchip/mvebu-gicp: Use resource_size() for ioremap()
Thomas Weißschuh (7):
LoongArch: Don't use %pK through printk() in unwinder
mfd: cros_ec: Separate charge-control probing from USB-PD tools/nolibc: define time_t in terms of __kernel_old_time_t tools/build: Fix s390(x) cross-compilation with clang
selftests: vDSO: vdso_test_getrandom: Always print TAP header
um: Re-evaluate thread flags repeatedly
MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
Tiffany Yang (1):
binder: Fix selftest page indexing
Tom Lendacky (1):
x86/sev: Ensure SVSM reserved fields in a page validation entry are initialized to zero
Tomasz Michalec (2):
usb: typec: intel_pmc_mux: Defer probe if SCU IPC isn't present platform/chrome: cros_ec_typec: Defer probe on missing EC parent
Tomi Valkeinen (1):
media: raspberrypi: cfe: Fix min_reqbufs_allocation
Trond Myklebust (1):
NFS: Fix the setting of capabilities when automounting a new filesystem
Tvrtko Ursulin (2):
drm/xe: Make dma-fences compliant with the safe access rules drm/ttm: Respect the shrinker core free target
Ulf Hansson (1):
mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()
Umio Yasuno (1):
drm/amd/pm: fix null pointer access
Uwe Kleine-König (1):
Bluetooth: btusb: Add support for variant of RTL8851BE (USB ID 13d3:3601)
Valmantas Paliksa (1):
phy: rockchip-pcie: Enable all four lanes if required
Vasiliy Kovalev (1):
ALSA: hda/realtek: Fix headset mic on HONOR BRB-X
Vedang Nagar (1):
media: venus: Fix OOB read due to missing payload bound check
Viacheslav Dubeyko (5):
hfs: fix general protection fault in hfs_find_init()
hfs: fix slab-out-of-bounds in hfs_bnode_read()
hfsplus: fix slab-out-of-bounds in hfsplus_bnode_read()
hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
hfs: fix not erasing deleted b-tree node issue
Vijendar Mukunda (2):
soundwire: amd: serialize amd manager resume sequence during pm_prepare
soundwire: amd: cancel pending slave status handling workqueue during remove sequence
Vincent Mailhol (1):
can: ti_hecc: fix -Woverflow compiler warning
Vinod Govindapillai (1):
drm/i915/fbc: fix the implementation of wa_18038517565
Vivek Pernamitta (1):
bus: mhi: host: pci_generic: Disable runtime PM for QDU100
Vlastimil Babka (1):
mm, slab: restore NUMA policy support for large kmalloc
Waiman Long (2):
futex: Use user_write_access_begin/_end() in futex_put_value() mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup()
Wang Zhaolong (1):
smb: client: remove redundant lstrp update in negotiate protocol
Wayne Lin (1):
drm/amd/display: Avoid trying AUX transactions on disconnected ports
Wei Fang (1):
net: enetc: separate 64-bit counters from enetc_port_counters
Wei Gao (1):
ext2: Handle fiemap on empty files to prevent EINVAL
Wen Chen (1):
drm/amd/display: Fix 'failed to blank crtc!'
Wentao Guan (1):
LoongArch: vDSO: Remove -nostdlib complier flag
Wilfred Mallawa (1):
PCI: dw-rockchip: Delay link training after hot reset in EP mode
Will Deacon (1):
vsock/virtio: Resize receive buffers so that each SKB fits in a 4K page
Willy Tarreau (1):
tools/nolibc: fix spelling of FD_SETBITMASK in FD_* macros
Wolfram Sang (3):
media: usb: hdpvr: disable zero-length read messages
i3c: add missing include to internal header
i3c: don't fail if GETHDRCAP is unsupported
Xiang Liu (1):
drm/amdgpu: Use correct severity for BP threshold exceed event
Xin Long (1):
sctp: linearize cloned gso packets in sctp_rcv
Xinxin Wan (1):
ASoC: codecs: rt5640: Retry DEVICE_ID verification
Xinyu Liu (1):
usb: core: config: Prevent OOB read in SS endpoint companion parsing
Xu Yang (1):
net: usb: asix_devices: add phy_mask for ax88772 mdio bus
Yang Li (1):
Bluetooth: hci_event: Add support for handling LE BIG Sync Lost event
Yann E. MORIN (1):
kconfig: lxdialog: fix 'space' to (de)select options
Yao Zi (3):
LoongArch: Avoid in-place string operation on FDT content
net: stmmac: thead: Get and enable APB clock on initialization
riscv: dts: thead: Add APB clocks for TH1520 GMACs
Yeoreum Yun (2):
tpm: tpm_crb_ffa: try to probe tpm_crb_ffa when it's built-in
firmware: arm_ffa: Change initcall level of ffa_init() to rootfs_initcall
YiPeng Chai (1):
drm/amdgpu: fix vram reservation issue
Yonghong Song (2):
selftests/bpf: Fix ringbuf/ringbuf_write test failure with arm64 64KB page size selftests/bpf: Fix a user_ringbuf failure with arm64 64KB page size
Yongzhen Zhang (1):
fbdev: fix potential buffer overflow in do_register_framebuffer()
Youngjun Lee (1):
media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()
Yu Kuai (1):
lib/sbitmap: convert shallow_depth from one word to the whole sbitmap
Yuan Chen (2):
drm/msm: Add error handling for krealloc in metadata setup
bpftool: Fix JSON writer resource leak in version command
Yuezhang Mo (1):
exfat: add cluster chain loop check for dir
Yury Norov [NVIDIA] (1):
RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
Zhang Yi (2):
ext4: limit the maximum folio order
ext4: initialize superblock fields in the kballoc-test.c kunit tests
Zheng Qixing (1):
block: fix kobject double initialization in add_disk
Zhiqi Song (1):
crypto: hisilicon/hpre - fix dma unmap sequence
Zhu Qiyu (1):
ACPI: PRM: Reduce unnecessary printing to avoid user confusion
Zijun Hu (2):
char: misc: Fix improper and inaccurate error code returned by misc_init()
Bluetooth: hci_sock: Reset cookie to zero in hci_sock_free_cookie()
Ziyan Fu (1):
watchdog: iTCO_wdt: Report error if timeout configuration fails
Zqiang (2):
rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access
rcutorture: Fix rcutorture_one_extend_check() splat in RT kernels
chenchangcheng (1):
media: uvcvideo: Fix bandwidth issue for Alcor camera
fangzhong.zhou (1):
i2c: Force DLL0945 touchpad i2c freq to 100khz
ganglxie (1):
drm/amdgpu: clear pa and mca record counter when resetting eeprom
jackysliu (1):
scsi: bfa: Double-free fix
tuhaowen (1):
PM: sleep: console: Fix the black screen issue
zhangjianrong (2):
net: thunderbolt: Enable end-to-end flow control also in transmit
net: thunderbolt: Fix the parameter passing of tb_xdomain_enable_paths()/tb_xdomain_disable_paths()
Álvaro Fernández Rojas (6):
net: dsa: b53: ensure BCM5325 PHYs are enabled
net: dsa: b53: fix b53_imp_vlan_setup for BCM5325
net: dsa: b53: prevent GMII_PORT_OVERRIDE_CTRL access on BCM5325
net: dsa: b53: prevent DIS_LEARNING access on BCM5325
net: dsa: b53: prevent SWITCH_CTRL access on BCM5325
net: dsa: b53: fix IP_MULTICAST_CTRL on BCM5325
Greg Kroah-Hartman
maintainerDocumentation/filesystems/fscrypt.rst +15 -22
@@ -147,9 +147,8 @@ However, these ioctls have some limitations: were wiped. To partially solve this, you can add init_on_free=1 to your kernel command line. However, this has a performance cost. -- Secret keys might still exist in CPU registers, in crypto - accelerator hardware (if used by the crypto API to implement any of - the algorithms), or in other places not explicitly considered here. +- Secret keys might still exist in CPU registers or in other places + not explicitly considered here. Full system compromise ~~~~~~~~~~~~~~~~~~~~~~
@@ -406,9 +405,12 @@ the work is done by XChaCha12, which is much faster than AES when AES acceleration is unavailable. For more information about Adiantum, see `the Adiantum paper <https://eprint.iacr.org/2018/720.pdf>`_. -The (AES-128-CBC-ESSIV, AES-128-CBC-CTS) pair exists only to support -systems whose only form of AES acceleration is an off-CPU crypto -accelerator such as CAAM or CESA that does not support XTS. +The (AES-128-CBC-ESSIV, AES-128-CBC-CTS) pair was added to try to +provide a more efficient option for systems that lack AES instructions +in the CPU but do have a non-inline crypto engine such as CAAM or CESA +that supports AES-CBC (and not AES-XTS). This is deprecated. It has +been shown that just doing AES on the CPU is actually faster. +Moreover, Adiantum is faster still and is recommended on such systems. The remaining mode pairs are the "national pride ciphers":
@@ -1326,22 +1328,13 @@ this by validating all top-level encryption policies prior to access. Inline encryption support ========================= -By default, fscrypt uses the kernel crypto API for all cryptographic -operations (other than HKDF, which fscrypt partially implements -itself). The kernel crypto API supports hardware crypto accelerators, -but only ones that work in the traditional way where all inputs and -outputs (e.g. plaintexts and ciphertexts) are in memory. fscrypt can -take advantage of such hardware, but the traditional acceleration -model isn't particularly efficient and fscrypt hasn't been optimized -for it. - -Instead, many newer systems (especially mobile SoCs) have *inline -encryption hardware* that can encrypt/decrypt data while it is on its -way to/from the storage device. Linux supports inline encryption -through a set of extensions to the block layer called *blk-crypto*. -blk-crypto allows filesystems to attach encryption contexts to bios -(I/O requests) to specify how the data will be encrypted or decrypted -in-line. For more information about blk-crypto, see +Many newer systems (especially mobile SoCs) have *inline encryption +hardware* that can encrypt/decrypt data while it is on its way to/from +the storage device. Linux supports inline encryption through a set of +extensions to the block layer called *blk-crypto*. blk-crypto allows +filesystems to attach encryption contexts to bios (I/O requests) to +specify how the data will be encrypted or decrypted in-line. For more +information about blk-crypto, see :ref:`Documentation/block/inline-encryption.rst <inline_encryption>`. On supported filesystems (currently ext4 and f2fs), fscrypt can use
Documentation/firmware-guide/acpi/i2c-muxes.rst +4 -4
@@ -14,7 +14,7 @@ Consider this topology:: | | | 0x70 |--CH01--> i2c client B (0x50) +------+ +------+ -which corresponds to the following ASL:: +which corresponds to the following ASL (in the scope of \_SB):: Device (SMB1) {
@@ -24,7 +24,7 @@ which corresponds to the following ASL:: Name (_HID, ...) Name (_CRS, ResourceTemplate () { I2cSerialBus (0x70, ControllerInitiated, I2C_SPEED, - AddressingMode7Bit, "^SMB1", 0x00, + AddressingMode7Bit, "\\_SB.SMB1", 0x00, ResourceConsumer,,) }
@@ -37,7 +37,7 @@ which corresponds to the following ASL:: Name (_HID, ...) Name (_CRS, ResourceTemplate () { I2cSerialBus (0x50, ControllerInitiated, I2C_SPEED, - AddressingMode7Bit, "^CH00", 0x00, + AddressingMode7Bit, "\\_SB.SMB1.CH00", 0x00, ResourceConsumer,,) } }
@@ -52,7 +52,7 @@ which corresponds to the following ASL:: Name (_HID, ...) Name (_CRS, ResourceTemplate () { I2cSerialBus (0x50, ControllerInitiated, I2C_SPEED, - AddressingMode7Bit, "^CH01", 0x00, + AddressingMode7Bit, "\\_SB.SMB1.CH01", 0x00, ResourceConsumer,,) } }
Documentation/sphinx/kernel_abi.py +4 -2
@@ -146,8 +146,10 @@ class KernelCmd(Directive): n += 1 if f != old_f: - # Add the file to Sphinx build dependencies - env.note_dependency(os.path.abspath(f)) + # Add the file to Sphinx build dependencies if the file exists + fname = os.path.join(srctree, f) + if os.path.isfile(fname): + env.note_dependency(fname) old_f = f
Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 16 -SUBLEVEL = 1 +SUBLEVEL = 2 EXTRAVERSION = NAME = Baby Opossum Posse
arch/arm/mach-rockchip/platsmp.c +9 -6
@@ -279,11 +279,6 @@ static void __init rockchip_smp_prepare_cpus(unsigned int max_cpus) }if (read_cpuid_part () ==ARM_CPU_PART_CORTEX_A9 ) { -if (rockchip_smp_prepare_sram (node)) { -of_node_put (node); -return ; - } -/* enable the SCU power domain */ pmu_set_power_domain (PMU_PWRDN_SCU , true);
@@ -316,11 +311,19 @@ static void __init rockchip_smp_prepare_cpus(unsigned int max_cpus) asm ("mrc p15, 1, %0, c9, c0, 2\n" :"=r" (l2ctlr)); ncores = ((l2ctlr >>24 ) &0x3 ) +1 ; } -of_node_put (node);/* Make sure that all cores except the first are really off */ for (i =1 ; i < ncores; i++)pmu_set_power_domain (0 + i, false); + +if (read_cpuid_part () ==ARM_CPU_PART_CORTEX_A9 ) { +if (rockchip_smp_prepare_sram (node)) { +of_node_put (node); +return ; + } + } + +of_node_put (node); }static void __init rk3036_smp_prepare_cpus (unsigned int max_cpus)
arch/arm/mach-tegra/reset.c +1 -1
@@ -63,7 +63,7 @@ static void __init tegra_cpu_reset_handler_enable(void)BUG_ON (is_enabled);BUG_ON (tegra_cpu_reset_handler_size >TEGRA_IRAM_RESET_HANDLER_SIZE ); -memcpy (iram_base, (void *)__tegra_cpu_reset_handler_start, +memcpy_toio (iram_base, (void *)__tegra_cpu_reset_handler_start, tegra_cpu_reset_handler_size); err =call_firmware_op (set_cpu_boot_addr,0 , reset_address);
arch/arm64/boot/dts/ti/k3-j722s-evm.dts +1 -1
@@ -634,7 +634,7 @@ p05-hog { /* P05 - USB2.0_MUX_SEL */ gpio-hog; gpios = <5 GPIO_ACTIVE_LOW>; - output-high; + output-low; }; p01_hog: p01-hog {
arch/arm64/include/asm/acpi.h +1 -1
@@ -150,7 +150,7 @@ acpi_set_mailbox_entry(int cpu, struct acpi_madt_generic_interrupt *processor) {}#endif -static inline const char *acpi_get_enable_method (int cpu) +static __always_inline const char *acpi_get_enable_method(int cpu) {if (acpi_psci_present ())return "psci" ;
arch/arm64/kernel/acpi.c +7 -3
@@ -197,6 +197,8 @@ static int __init acpi_fadt_sanity_check(void)*/ void __init acpi_boot_table_init (void ) { +int ret; +/* * Enable ACPI instead of device tree unless * - ACPI has been disabled explicitly (acpi=off), or
@@ -250,10 +252,12 @@ void __init acpi_boot_table_init(void)* behaviour, use acpi=nospcr to disable console in ACPI SPCR * table as default serial console. */ -acpi_parse_spcr (earlycon_acpi_spcr_enable, + ret =acpi_parse_spcr (earlycon_acpi_spcr_enable, !param_acpi_nospcr); -pr_info ("Use ACPI SPCR as default console: %s\n" , - param_acpi_nospcr ?"No" :"Yes" ); +if (!ret || param_acpi_nospcr || !IS_ENABLED (CONFIG_ACPI_SPCR_TABLE )) +pr_info ("Use ACPI SPCR as default console: No\n" ); +else +pr_info ("Use ACPI SPCR as default console: Yes\n" );if (IS_ENABLED (CONFIG_ACPI_BGRT ))acpi_table_parse (ACPI_SIG_BGRT , acpi_parse_bgrt);
arch/arm64/kernel/stacktrace.c +2 -0
@@ -152,6 +152,8 @@ kunwind_recover_return_address(struct kunwind_state *state) orig_pc =kretprobe_find_ret_addr (state->task, (void *)state->common.fp, &state->kr_cur); +if (!orig_pc) +return -EINVAL ; state->common.pc = orig_pc; state->flags.kretprobe =1 ; }
arch/arm64/kernel/traps.c +1 -0
@@ -931,6 +931,7 @@ void __noreturn panic_bad_stack(struct pt_regs *regs, unsigned long esr, unsignevoid __noreturn arm64_serror_panic (struct pt_regs *regs,unsigned long esr) { +add_taint (TAINT_MACHINE_CHECK ,LOCKDEP_STILL_OK );console_verbose (); pr_crit("SError Interrupt on CPU%d, code 0x%016lx -- %s\n",
arch/arm64/mm/fault.c +1 -0
@@ -838,6 +838,7 @@ static int do_sea(unsigned long far, unsigned long esr, struct pt_regs *regs)*/ siaddr =untagged_addr (far); } +add_taint (TAINT_MACHINE_CHECK ,LOCKDEP_STILL_OK );arm64_notify_die (inf->name, regs, inf->sig, inf->code, siaddr, esr);return 0 ;
arch/arm64/mm/ptdump_debugfs.c +0 -3
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0 #include <linux/debugfs.h> -#include <linux/memory_hotplug.h> #include <linux/seq_file.h> #include <asm/ptdump.h>
@@ -9,9 +8,7 @@ static int ptdump_show(struct seq_file *m, void *v) {struct ptdump_info *info = m->private; -get_online_mems ();ptdump_walk (m, info); -put_online_mems ();return 0 ; }DEFINE_SHOW_ATTRIBUTE (ptdump);
arch/loongarch/kernel/env.c +8 -5
@@ -39,16 +39,19 @@ void __init init_environ(void)static int __init init_cpu_fullname (void ) { -struct device_node *root;int cpu, ret; -char *model; +char *cpuname; +const char *model; +struct device_node *root;/* Parsing cpuname from DTS model property */ root =of_find_node_by_path ("/" ); - ret =of_property_read_string (root,"model" , (const char **)&model); + ret =of_property_read_string (root,"model" , &model); +if (ret ==0 ) { + cpuname =kstrdup (model,GFP_KERNEL ); + loongson_sysconf.cpuname =strsep (&cpuname," " ); + }of_node_put (root); -if (ret ==0 ) - loongson_sysconf.cpuname =strsep (&model," " );if (loongson_sysconf.cpuname && !strncmp (loongson_sysconf.cpuname,"Loongson" ,8 )) {for (cpu =0 ; cpu <NR_CPUS ; cpu++)
arch/loongarch/kernel/relocate_kernel.S +1 -1
@@ -109,4 +109,4 @@ SYM_CODE_END(kexec_smp_wait) relocate_new_kernel_end: .section ".data" -SYM_DATA(relocate_new_kernel_size, .long relocate_new_kernel_end - relocate_new_kernel) +SYM_DATA(relocate_new_kernel_size, .quad relocate_new_kernel_end - relocate_new_kernel)
arch/loongarch/kernel/unwind_orc.c +1 -1
@@ -508,7 +508,7 @@ bool unwind_next_frame(struct unwind_state *state) state->pc =bt_address (pc);if (!state->pc) { -pr_err ("cannot find unwind pc at %pK\n" , (void *)pc); +pr_err ("cannot find unwind pc at %p\n" , (void *)pc); goto err; }
arch/loongarch/net/bpf_jit.c +5 -16
@@ -208,11 +208,9 @@ bool bpf_jit_supports_far_kfunc_call(void)return true; } -/* initialized on the first pass of build_body() */ -static int out_offset =-1 ; -static int emit_bpf_tail_call (struct jit_ctx *ctx) +static int emit_bpf_tail_call (struct jit_ctx *ctx,int insn) { -int off; +int off, tc_ninsn =0 ;u8 tcc =tail_call_reg (ctx);u8 a1 =LOONGARCH_GPR_A1 ;u8 a2 =LOONGARCH_GPR_A2 ;
@@ -222,7 +220,7 @@ static int emit_bpf_tail_call(struct jit_ctx *ctx)const int idx0 = ctx->idx;#define cur_offset (ctx->idx - idx0) -#define jmp_offset (out_offset - (cur_offset)) +#define jmp_offset (tc_ninsn - (cur_offset))/* * a0: &ctx
@@ -232,6 +230,7 @@ static int emit_bpf_tail_call(struct jit_ctx *ctx)* if (index >= array->map.max_entries) * goto out; */ + tc_ninsn = insn ? ctx->offset[insn+1 ] - ctx->offset[insn] : ctx->offset[0 ]; off = offsetof(struct bpf_array, map.max_entries);emit_insn (ctx, ldwu, t1, a1, off);/* bgeu $a2, $t1, jmp_offset */
@@ -263,15 +262,6 @@ static int emit_bpf_tail_call(struct jit_ctx *ctx)emit_insn (ctx, ldd, t3, t2, off);__build_epilogue (ctx, true); -/* out: */ -if (out_offset ==-1 ) - out_offset = cur_offset; -if (cur_offset != out_offset) { -pr_err_once ("tail_call out_offset = %d, expected %d!\n" , - cur_offset, out_offset); -return -1 ; - } -return 0 ; toofar:
@@ -916,7 +906,7 @@ static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool ext/* tail call */ case BPF_JMP |BPF_TAIL_CALL :mark_tail_call (ctx); -if (emit_bpf_tail_call (ctx) <0 ) +if (emit_bpf_tail_call (ctx, i) <0 )return -EINVAL ;break ;
@@ -1342,7 +1332,6 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)if (tmp_blinded)bpf_jit_prog_release_other (prog, prog == orig_prog ? tmp : orig_prog); - out_offset =-1 ;return prog;
arch/loongarch/vdso/Makefile +1 -1
@@ -36,7 +36,7 @@ endif # VDSO linker flags. ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ - $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared --build-id -T + $(filter -E%,$(KBUILD_CFLAGS)) -shared --build-id -T # # Shared build commands.
arch/mips/include/asm/vpe.h +8 -0
@@ -119,4 +119,12 @@ void cleanup_tc(struct tc *tc);int __init vpe_module_init (void ); void __exit vpe_module_exit(void); + +#ifdef CONFIG_MIPS_VPE_LOADER_MT +void *vpe_alloc (void ); +int vpe_start (void *vpe,unsigned long start); +int vpe_stop (void *vpe); +int vpe_free (void *vpe); +#endif /* CONFIG_MIPS_VPE_LOADER_MT */ +#endif /* _ASM_VPE_H */
arch/mips/kernel/process.c +9 -7
@@ -690,18 +690,20 @@ unsigned long mips_stack_top(void) }/* Space for the VDSO, data page & GIC user page */ - top -=PAGE_ALIGN (current->thread.abi->vdso->size); - top -=PAGE_SIZE ; - top -=mips_gic_present () ?PAGE_SIZE :0 ; +if (current->thread.abi) { + top -=PAGE_ALIGN (current->thread.abi->vdso->size); + top -=PAGE_SIZE ; + top -=mips_gic_present () ?PAGE_SIZE :0 ; + +/* Space to randomize the VDSO base */ +if (current->flags &PF_RANDOMIZE ) + top -=VDSO_RANDOMIZE_SIZE ; + }/* Space for cache colour alignment */ if (cpu_has_dc_aliases) top -= shm_align_mask +1 ; -/* Space to randomize the VDSO base */ -if (current->flags &PF_RANDOMIZE ) - top -=VDSO_RANDOMIZE_SIZE ; -return top; }
arch/mips/lantiq/falcon/sysctrl.c +10 -13
@@ -214,19 +214,16 @@ void __init ltq_soc_init(void)of_node_put (np_syseth);of_node_put (np_sysgpe); -if ((request_mem_region (res_status.start,resource_size (&res_status), - res_status.name) <0 ) || - (request_mem_region (res_ebu.start,resource_size (&res_ebu), - res_ebu.name) <0 ) || - (request_mem_region (res_sys[0 ].start, -resource_size (&res_sys[0 ]), - res_sys[0 ].name) <0 ) || - (request_mem_region (res_sys[1 ].start, -resource_size (&res_sys[1 ]), - res_sys[1 ].name) <0 ) || - (request_mem_region (res_sys[2 ].start, -resource_size (&res_sys[2 ]), - res_sys[2 ].name) <0 )) +if ((!request_mem_region (res_status.start,resource_size (&res_status), + res_status.name)) || + (!request_mem_region (res_ebu.start,resource_size (&res_ebu), + res_ebu.name)) || + (!request_mem_region (res_sys[0 ].start,resource_size (&res_sys[0 ]), + res_sys[0 ].name)) || + (!request_mem_region (res_sys[1 ].start,resource_size (&res_sys[1 ]), + res_sys[1 ].name)) || + (!request_mem_region (res_sys[2 ].start,resource_size (&res_sys[2 ]), + res_sys[2 ].name)))pr_err ("Failed to request core resources" ); status_membase = ioremap(res_status.start,
arch/parisc/Makefile +1 -1
@@ -139,7 +139,7 @@ palo lifimage: vmlinuz fi @if test ! -f "$(PALOCONF)"; then \ cp $(srctree)/arch/parisc/defpalo.conf $(objtree)/palo.conf; \ - echo 'A generic palo config file ($(objree)/palo.conf) has been created for you.'; \ + echo 'A generic palo config file ($(objtree)/palo.conf) has been created for you.'; \ echo 'You should check it and re-run "make palo".'; \ echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \ false; \
arch/powerpc/include/asm/floppy.h +4 -1
@@ -144,9 +144,12 @@ static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) bus_addr =0 ; } -if (!bus_addr)/* need to map it */ +if (!bus_addr) {/* need to map it */ bus_addr =dma_map_single (&isa_bridge_pcidev->dev, addr, size, dir); +if (dma_mapping_error (&isa_bridge_pcidev->dev, bus_addr)) +return -ENOMEM ; + }/* remember this one as prev */ prev_addr = addr;
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c +2 -4
@@ -240,10 +240,8 @@ static int mpc512x_lpbfifo_kick(void) dma_conf.src_addr_width =DMA_SLAVE_BUSWIDTH_4_BYTES ;/* Make DMA channel work with LPB FIFO data register */ -if (dma_dev->device_config (lpbfifo.chan, &dma_conf)) { - ret = -EINVAL ; - goto err_dma_prep; - } +if (dma_dev->device_config (lpbfifo.chan, &dma_conf)) +return -EINVAL ;sg_init_table (&sg,1 );
arch/riscv/boot/dts/thead/th1520.dtsi +6 -4
@@ -294,8 +294,9 @@ gmac1: ethernet@ffe7060000 { reg-names = "dwmac", "apb"; interrupts = <67 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "macirq"; - clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC1>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names = "stmmaceth", "pclk", "apb"; snps,pbl = <32>; snps,fixed-burst; snps,multicast-filter-bins = <64>;
@@ -316,8 +317,9 @@ gmac0: ethernet@ffe7070000 { reg-names = "dwmac", "apb"; interrupts = <66 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "macirq"; - clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>; - clock-names = "stmmaceth", "pclk"; + clocks = <&clk CLK_GMAC_AXI>, <&clk CLK_GMAC0>, + <&clk CLK_PERISYS_APB4_HCLK>; + clock-names = "stmmaceth", "pclk", "apb"; snps,pbl = <32>; snps,fixed-burst; snps,multicast-filter-bins = <64>;
arch/riscv/mm/ptdump.c +0 -3
@@ -6,7 +6,6 @@#include <linux/efi.h> #include <linux/init.h> #include <linux/debugfs.h> -#include <linux/memory_hotplug.h> #include <linux/seq_file.h> #include <linux/ptdump.h>
@@ -413,9 +412,7 @@ bool ptdump_check_wx(void)static int ptdump_show (struct seq_file *m,void *v) { -get_online_mems ();ptdump_walk (m, m->private); -put_online_mems ();return 0 ; }
arch/s390/include/asm/timex.h +6 -7
@@ -196,13 +196,6 @@ static inline unsigned long get_tod_clock_fast(void) asmvolatile ("stckf %0" :"=Q" (clk) : :"cc" );return clk; } - -static inline cycles_t get_cycles (void ) -{ -return (cycles_t )get_tod_clock () >>2 ; -} -#define get_cycles get_cycles -int get_phys_clock (unsigned long *clock);void init_cpu_timer (void );
@@ -230,6 +223,12 @@ static inline unsigned long get_tod_clock_monotonic(void)return tod; } +static inline cycles_t get_cycles (void ) +{ +return (cycles_t )get_tod_clock_monotonic () >>2 ; +} +#define get_cycles get_cycles +/** * tod_to_ns - convert a TOD format value to nanoseconds * @todval: to be converted TOD format value
arch/s390/kernel/early.c +1 -0
@@ -154,6 +154,7 @@ void __init __do_early_pgm_check(struct pt_regs *regs) regs->int_code = lc->pgm_int_code; regs->int_parm_long = lc->trans_exc_code; + regs->last_break = lc->pgm_last_break; ip =__rewind_psw (regs->psw, regs->int_code >>16 );/* Monitor Event? Might be a warning */
arch/s390/kernel/time.c +1 -1
@@ -580,7 +580,7 @@ static int stp_sync_clock(void *data)atomic_dec (&sync->cpus);/* Wait for in_sync to be set. */ while (READ_ONCE (sync->in_sync) ==0 ) -__udelay (1 ); + ; }if (sync->in_sync !=1 )/* Didn't work. Clear per-cpu in sync bit again. */
arch/s390/mm/dump_pagetables.c +0 -2
@@ -247,11 +247,9 @@ static int ptdump_show(struct seq_file *m, void *v) .marker = markers, }; -get_online_mems ();mutex_lock (&cpa_mutex);ptdump_walk_pgd (&st.ptdump, &init_mm,NULL );mutex_unlock (&cpa_mutex); -put_online_mems ();return 0 ; }DEFINE_SHOW_ATTRIBUTE (ptdump);
arch/um/include/asm/thread_info.h +4 -0
@@ -50,7 +50,11 @@ struct thread_info {#define _TIF_NOTIFY_SIGNAL (1 << TIF_NOTIFY_SIGNAL)#define _TIF_MEMDIE (1 << TIF_MEMDIE)#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) +#define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME)#define _TIF_SECCOMP (1 << TIF_SECCOMP)#define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) +#define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL | \ + _TIF_NOTIFY_RESUME) +#endif
arch/um/kernel/process.c +12 -8
@@ -82,14 +82,18 @@ struct task_struct *__switch_to(struct task_struct *from, struct task_struct *tovoid interrupt_end (void ) {struct pt_regs *regs = ¤t->thread.regs; - -if (need_resched ()) -schedule (); -if (test_thread_flag (TIF_SIGPENDING ) || -test_thread_flag (TIF_NOTIFY_SIGNAL )) -do_signal (regs); -if (test_thread_flag (TIF_NOTIFY_RESUME )) -resume_user_mode_work (regs); +unsigned long thread_flags; + + thread_flags =read_thread_flags (); +while (thread_flags & _TIF_WORK_MASK) { +if (thread_flags & _TIF_NEED_RESCHED) +schedule (); +if (thread_flags & (_TIF_SIGPENDING | _TIF_NOTIFY_SIGNAL)) +do_signal (regs); +if (thread_flags & _TIF_NOTIFY_RESUME) +resume_user_mode_work (regs); + thread_flags =read_thread_flags (); + } }int get_current_pid (void )
arch/x86/boot/startup/sev-shared.c +1 -0
@@ -785,6 +785,7 @@ static void __head svsm_pval_4k_page(unsigned long paddr, bool validate) pc->entry[0 ].page_size =RMP_PG_SIZE_4K ; pc->entry[0 ].action = validate; pc->entry[0 ].ignore_cf =0 ; + pc->entry[0 ].rsvd =0 ; pc->entry[0 ].pfn = paddr >>PAGE_SHIFT ;/* Protocol 0, Call ID 1 */
arch/x86/coco/sev/core.c +2 -0
@@ -227,6 +227,7 @@ static u64 svsm_build_ca_from_pfn_range(u64 pfn, u64 pfn_end, bool action, pe->page_size =RMP_PG_SIZE_4K ; pe->action = action; pe->ignore_cf =0 ; + pe->rsvd =0 ; pe->pfn = pfn; pe++;
@@ -257,6 +258,7 @@ static int svsm_build_ca_from_psc_desc(struct snp_psc_desc *desc, unsigned int d pe->page_size = e->pagesize ?RMP_PG_SIZE_2M :RMP_PG_SIZE_4K ; pe->action = e->operation ==SNP_PAGE_STATE_PRIVATE ; pe->ignore_cf =0 ; + pe->rsvd =0 ; pe->pfn = e->gfn; pe++;
arch/x86/coco/sev/vc-handle.c +24 -16
@@ -17,6 +17,7 @@#include <linux/mm.h> #include <linux/io.h> #include <linux/psp-sev.h> +#include <linux/efi.h> #include <uapi/linux/sev-guest.h> #include <asm/init.h>
@@ -178,9 +179,15 @@ static enum es_result __vc_decode_kern_insn(struct es_em_ctxt *ctxt)return ES_OK ; } +/* +* User instruction decoding is also required for the EFI runtime. Even though +* the EFI runtime is running in kernel mode, it uses special EFI virtual +* address mappings that require the use of efi_mm to properly address and +* decode. +*/ static enum es_result vc_decode_insn (struct es_em_ctxt *ctxt) { -if (user_mode (ctxt->regs)) +if (user_mode (ctxt->regs) ||mm_is_efi (current->active_mm))return __vc_decode_user_insn (ctxt);else return __vc_decode_kern_insn (ctxt);
@@ -364,29 +371,30 @@ static enum es_result __vc_handle_msr_caa(struct pt_regs *regs, bool write)* executing with Secure TSC enabled, so special handling is required for * accesses of MSR_IA32_TSC and MSR_AMD64_GUEST_TSC_FREQ. */ -static enum es_result __vc_handle_secure_tsc_msrs (struct pt_regs *regs,bool write) +static enum es_result __vc_handle_secure_tsc_msrs (struct es_em_ctxt *ctxt,bool write) { +struct pt_regs *regs = ctxt->regs;u64 tsc;/* -* GUEST_TSC_FREQ should not be intercepted when Secure TSC is enabled. -* Terminate the SNP guest when the interception is enabled. +* Writing to MSR_IA32_TSC can cause subsequent reads of the TSC to +* return undefined values, and GUEST_TSC_FREQ is read-only. Generate +* a #GP on all writes. */ -if (regs->cx ==MSR_AMD64_GUEST_TSC_FREQ ) -return ES_VMM_ERROR ; +if (write) { + ctxt->fi.vector =X86_TRAP_GP ; + ctxt->fi.error_code =0 ; +return ES_EXCEPTION ; + }/* -* Writes: Writing to MSR_IA32_TSC can cause subsequent reads of the TSC -* to return undefined values, so ignore all writes. -* -* Reads: Reads of MSR_IA32_TSC should return the current TSC value, use -* the value returned by rdtsc_ordered(). +* GUEST_TSC_FREQ read should not be intercepted when Secure TSC is +* enabled. Terminate the guest if a read is attempted. */ -if (write) { -WARN_ONCE (1 ,"TSC MSR writes are verboten!\n" ); -return ES_OK ; - } +if (regs->cx ==MSR_AMD64_GUEST_TSC_FREQ ) +return ES_VMM_ERROR ; +/* Reads of MSR_IA32_TSC should return the current TSC value. */ tsc =rdtsc_ordered (); regs->ax =lower_32_bits (tsc); regs->dx =upper_32_bits (tsc);
@@ -409,7 +417,7 @@ static enum es_result vc_handle_msr(struct ghcb *ghcb, struct es_em_ctxt *ctxt)case MSR_IA32_TSC :case MSR_AMD64_GUEST_TSC_FREQ :if (sev_status &MSR_AMD64_SNP_SECURE_TSC ) -return __vc_handle_secure_tsc_msrs (regs, write); +return __vc_handle_secure_tsc_msrs (ctxt, write);break ;default :break ;
arch/x86/include/asm/kvm_host.h +7 -0
@@ -1683,6 +1683,7 @@ static inline u16 kvm_lapic_irq_dest_mode(bool dest_mode_logical)enum kvm_x86_run_flags {KVM_RUN_FORCE_IMMEDIATE_EXIT =BIT (0 ),KVM_RUN_LOAD_GUEST_DR6 =BIT (1 ), +KVM_RUN_LOAD_DEBUGCTL =BIT (2 ), };struct kvm_x86_ops {
@@ -1713,6 +1714,12 @@ struct kvm_x86_ops {void (*vcpu_load)(struct kvm_vcpu *vcpu,int cpu);void (*vcpu_put)(struct kvm_vcpu *vcpu); +/* +* Mask of DEBUGCTL bits that are owned by the host, i.e. that need to +* match the host's value even while the guest is active. +*/ +const u64 HOST_OWNED_DEBUGCTL ; +void (*update_exception_bitmap)(struct kvm_vcpu *vcpu);int (*get_msr)(struct kvm_vcpu *vcpu,struct msr_data *msr);int (*set_msr)(struct kvm_vcpu *vcpu,struct msr_data *msr);
arch/x86/kernel/cpu/bugs.c +2 -3
@@ -115,10 +115,9 @@ void (*x86_return_thunk)(void) __ro_after_init = __x86_return_thunk;static void __init set_return_thunk (void *thunk) { -if (x86_return_thunk != __x86_return_thunk) -pr_warn ("x86/bugs: return thunk changed\n" ); - x86_return_thunk = thunk; + +pr_info ("active return thunk: %ps\n" , thunk); }/* Update SPEC_CTRL MSR and its cached copy unconditionally */
arch/x86/kernel/fpu/xstate.c +10 -9
@@ -1855,19 +1855,20 @@ long fpu_xstate_prctl(int option, unsigned long arg2)#ifdef CONFIG_PROC_PID_ARCH_STATUS /* * Report the amount of time elapsed in millisecond since last AVX512 -* use in the task. +* use in the task. Report -1 if no AVX-512 usage. */ static void avx512_status (struct seq_file *m,struct task_struct *task) { -unsigned long timestamp =READ_ONCE (x86_task_fpu (task)->avx512_timestamp); -long delta; +unsigned long timestamp; +long delta =-1 ; -if (!timestamp) { -/* -* Report -1 if no AVX512 usage -*/ - delta =-1 ; - }else { +/* AVX-512 usage is not tracked for kernel threads. Don't report anything. */ +if (task->flags & (PF_KTHREAD |PF_USER_WORKER )) +return ; + + timestamp =READ_ONCE (x86_task_fpu (task)->avx512_timestamp); + +if (timestamp) { delta = (long )(jiffies - timestamp);/* * Cap to LONG_MAX if time difference > LONG_MAX
arch/x86/kvm/vmx/main.c +2 -0
@@ -915,6 +915,8 @@ struct kvm_x86_ops vt_x86_ops __initdata = { .vcpu_load = vt_op(vcpu_load), .vcpu_put = vt_op(vcpu_put), + .HOST_OWNED_DEBUGCTL = DEBUGCTLMSR_FREEZE_IN_SMM, + .update_exception_bitmap = vt_op(update_exception_bitmap), .get_feature_msr = vmx_get_feature_msr, .get_msr = vt_op(get_msr),
arch/x86/kvm/vmx/nested.c +16 -5
@@ -2663,10 +2663,11 @@ static int prepare_vmcs02(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12,if (vmx->nested.nested_run_pending && (vmcs12->vm_entry_controls &VM_ENTRY_LOAD_DEBUG_CONTROLS )) {kvm_set_dr (vcpu,7 , vmcs12->guest_dr7); -vmcs_write64 (GUEST_IA32_DEBUGCTL , vmcs12->guest_ia32_debugctl); +vmx_guest_debugctl_write (vcpu, vmcs12->guest_ia32_debugctl & +vmx_get_supported_debugctl (vcpu, false)); }else {kvm_set_dr (vcpu,7 , vcpu->arch.dr7); -vmcs_write64 (GUEST_IA32_DEBUGCTL , vmx->nested.pre_vmenter_debugctl); +vmx_guest_debugctl_write (vcpu, vmx->nested.pre_vmenter_debugctl); }if (kvm_mpx_supported () && (!vmx->nested.nested_run_pending || !(vmcs12->vm_entry_controls &VM_ENTRY_LOAD_BNDCFGS )))
@@ -3156,7 +3157,8 @@ static int nested_vmx_check_guest_state(struct kvm_vcpu *vcpu,return -EINVAL ;if ((vmcs12->vm_entry_controls &VM_ENTRY_LOAD_DEBUG_CONTROLS ) && -CC (!kvm_dr7_valid (vmcs12->guest_dr7))) + (CC (!kvm_dr7_valid (vmcs12->guest_dr7)) || +CC (!vmx_is_valid_debugctl (vcpu, vmcs12->guest_ia32_debugctl, false))))return -EINVAL ; if ((vmcs12->vm_entry_controls & VM_ENTRY_LOAD_IA32_PAT) &&
@@ -3530,7 +3532,7 @@ enum nvmx_vmentry_status nested_vmx_enter_non_root_mode(struct kvm_vcpu *vcpu,if (!vmx->nested.nested_run_pending || !(vmcs12->vm_entry_controls &VM_ENTRY_LOAD_DEBUG_CONTROLS )) - vmx->nested.pre_vmenter_debugctl =vmcs_read64 (GUEST_IA32_DEBUGCTL ); + vmx->nested.pre_vmenter_debugctl =vmx_guest_debugctl_read ();if (kvm_mpx_supported () && (!vmx->nested.nested_run_pending || !(vmcs12->vm_entry_controls &VM_ENTRY_LOAD_BNDCFGS )))
@@ -4608,6 +4610,12 @@ static void sync_vmcs02_to_vmcs12(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12) (vmcs12->vm_entry_controls & ~VM_ENTRY_IA32E_MODE ) | (vm_entry_controls_get (to_vmx (vcpu)) &VM_ENTRY_IA32E_MODE ); +/* +* Note! Save DR7, but intentionally don't grab DEBUGCTL from vmcs02. +* Writes to DEBUGCTL that aren't intercepted by L1 are immediately +* propagated to vmcs12 (see vmx_set_msr()), as the value loaded into +* vmcs02 doesn't strictly track vmcs12. +*/ if (vmcs12->vm_exit_controls &VM_EXIT_SAVE_DEBUG_CONTROLS ) vmcs12->guest_dr7 = vcpu->arch.dr7;
@@ -4798,7 +4806,7 @@ static void load_vmcs12_host_state(struct kvm_vcpu *vcpu,__vmx_set_segment (vcpu, &seg,VCPU_SREG_LDTR );kvm_set_dr (vcpu,7 ,0x400 ); -vmcs_write64 (GUEST_IA32_DEBUGCTL ,0 ); +vmx_guest_debugctl_write (vcpu,0 );if (nested_vmx_load_msr (vcpu, vmcs12->vm_exit_msr_load_addr, vmcs12->vm_exit_msr_load_count))
@@ -4853,6 +4861,9 @@ static void nested_vmx_restore_host_state(struct kvm_vcpu *vcpu)WARN_ON (kvm_set_dr (vcpu,7 ,vmcs_readl (GUEST_DR7 ))); } +/* Reload DEBUGCTL to ensure vmcs01 has a fresh FREEZE_IN_SMM value. */ +vmx_reload_guest_debugctl (vcpu); +/* * Note that calling vmx_set_{efer,cr0,cr4} is important as they * handle a variety of side effects to KVM's software model.
arch/x86/kvm/vmx/pmu_intel.c +4 -4
@@ -653,11 +653,11 @@ static void intel_pmu_reset(struct kvm_vcpu *vcpu)*/ static void intel_pmu_legacy_freezing_lbrs_on_pmi (struct kvm_vcpu *vcpu) { -u64 data =vmcs_read64 (GUEST_IA32_DEBUGCTL ); +u64 data =vmx_guest_debugctl_read ();if (data &DEBUGCTLMSR_FREEZE_LBRS_ON_PMI ) { data &= ~DEBUGCTLMSR_LBR ; -vmcs_write64 (GUEST_IA32_DEBUGCTL , data); +vmx_guest_debugctl_write (vcpu, data); } }
@@ -730,7 +730,7 @@ void vmx_passthrough_lbr_msrs(struct kvm_vcpu *vcpu)if (!lbr_desc->event) {vmx_disable_lbr_msrs_passthrough (vcpu); -if (vmcs_read64 (GUEST_IA32_DEBUGCTL ) &DEBUGCTLMSR_LBR ) +if (vmx_guest_debugctl_read () &DEBUGCTLMSR_LBR ) goto warn;if (test_bit (INTEL_PMC_IDX_FIXED_VLBR , pmu->pmc_in_use)) goto warn;
@@ -752,7 +752,7 @@ void vmx_passthrough_lbr_msrs(struct kvm_vcpu *vcpu)static void intel_pmu_cleanup (struct kvm_vcpu *vcpu) { -if (!(vmcs_read64 (GUEST_IA32_DEBUGCTL ) &DEBUGCTLMSR_LBR )) +if (!(vmx_guest_debugctl_read () &DEBUGCTLMSR_LBR ))intel_pmu_release_guest_lbr_event (vcpu); }
arch/x86/kvm/vmx/vmx.c +25 -16
87 lines not on this page · raw message
arch/x86/kvm/vmx/vmx.h +26 -0
@@ -414,6 +414,32 @@ static inline void vmx_set_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr,void vmx_update_cpu_dirty_logging (struct kvm_vcpu *vcpu); +u64 vmx_get_supported_debugctl (struct kvm_vcpu *vcpu,bool host_initiated); +bool vmx_is_valid_debugctl (struct kvm_vcpu *vcpu,u64 data,bool host_initiated); + +static inline void vmx_guest_debugctl_write (struct kvm_vcpu *vcpu,u64 val) +{ +WARN_ON_ONCE (val &DEBUGCTLMSR_FREEZE_IN_SMM ); + + val |= vcpu->arch.host_debugctl &DEBUGCTLMSR_FREEZE_IN_SMM ; +vmcs_write64 (GUEST_IA32_DEBUGCTL , val); +} + +static inline u64 vmx_guest_debugctl_read (void ) +{ +return vmcs_read64 (GUEST_IA32_DEBUGCTL ) & ~DEBUGCTLMSR_FREEZE_IN_SMM ; +} + +static inline void vmx_reload_guest_debugctl (struct kvm_vcpu *vcpu) +{ +u64 val =vmcs_read64 (GUEST_IA32_DEBUGCTL ); + +if (!((val ^ vcpu->arch.host_debugctl) &DEBUGCTLMSR_FREEZE_IN_SMM )) +return ; + +vmx_guest_debugctl_write (vcpu, val & ~DEBUGCTLMSR_FREEZE_IN_SMM ); +} +/* * Note, early Intel manuals have the write-low and read-high bitmap offsets * the wrong way round. The bitmaps control MSRs 0x00000000-0x00001fff and
arch/x86/kvm/x86.c +12 -2
@@ -10785,7 +10785,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)dm_request_for_irq_injection (vcpu) &&kvm_cpu_accept_dm_intr (vcpu);fastpath_t exit_fastpath; -u64 run_flags; +u64 run_flags, debug_ctl;bool req_immediate_exit = false;
@@ -11057,7 +11057,17 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu)set_debugreg (DR7_FIXED_1 ,7 ); } - vcpu->arch.host_debugctl =get_debugctlmsr (); +/* +* Refresh the host DEBUGCTL snapshot after disabling IRQs, as DEBUGCTL +* can be modified in IRQ context, e.g. via SMP function calls. Inform +* vendor code if any host-owned bits were changed, e.g. so that the +* value loaded into hardware while running the guest can be updated. +*/ + debug_ctl =get_debugctlmsr (); +if ((debug_ctl ^ vcpu->arch.host_debugctl) & kvm_x86_ops.HOST_OWNED_DEBUGCTL && + !vcpu->arch.guest_state_protected) + run_flags |=KVM_RUN_LOAD_DEBUGCTL ; + vcpu->arch.host_debugctl = debug_ctl;guest_timing_enter_irqoff ();
arch/x86/lib/crypto/poly1305_glue.c +47 -1
60 lines not on this page · raw message
block/bfq-iosched.c +16 -19
@@ -701,17 +701,13 @@ static void bfq_limit_depth(blk_opf_t opf, struct blk_mq_alloc_data *data) {struct bfq_data *bfqd = data->q->elevator->elevator_data;struct bfq_io_cq *bic =bfq_bic_lookup (data->q); -int depth; -unsigned limit = data->q->nr_requests; -unsigned int act_idx; +unsigned int limit, act_idx;/* Sync reads have full depth available */ -if (op_is_sync (opf) && !op_is_write (opf)) { - depth =0 ; - }else { - depth = bfqd->word_depths[!!bfqd->wr_busy_queues][op_is_sync (opf)]; - limit = (limit * depth) >> bfqd->full_depth_shift; - } +if (op_is_sync (opf) && !op_is_write (opf)) + limit = data->q->nr_requests; +else + limit = bfqd->async_depths[!!bfqd->wr_busy_queues][op_is_sync (opf)];for (act_idx =0 ; bic && act_idx < bfqd->num_actuators; act_idx++) {/* Fast path to check if bfqq is already allocated. */
@@ -725,14 +721,16 @@ static void bfq_limit_depth(blk_opf_t opf, struct blk_mq_alloc_data *data)* available requests and thus starve other entities. */ if (bfqq_request_over_limit (bfqd, bic, opf, act_idx, limit)) { - depth =1 ; + limit =1 ;break ; } } +bfq_log (bfqd,"[%s] wr_busy %d sync %d depth %u" , - __func__, bfqd->wr_busy_queues,op_is_sync (opf), depth); -if (depth) - data->shallow_depth = depth; + __func__, bfqd->wr_busy_queues,op_is_sync (opf), limit); + +if (limit < data->q->nr_requests) + data->shallow_depth = limit; } static struct bfq_queue *
@@ -7128,9 +7126,8 @@ void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg)*/ static void bfq_update_depths (struct bfq_data *bfqd,struct sbitmap_queue *bt) { -unsigned int depth =1U << bt->sb.shift; +unsigned int nr_requests = bfqd->queue->nr_requests; - bfqd->full_depth_shift = bt->sb.shift;/* * In-word depths if no bfq_queue is being weight-raised: * leaving 25% of tags only for sync reads.
@@ -7142,13 +7139,13 @@ static void bfq_update_depths(struct bfq_data *bfqd, struct sbitmap_queue *bt)* limit 'something'. */ /* no more than 50% of tags for async I/O */ - bfqd->word_depths[0 ][0 ] =max (depth >>1 ,1U ); + bfqd->async_depths[0 ][0 ] =max (nr_requests >>1 ,1U );/* * no more than 75% of tags for sync writes (25% extra tags * w.r.t. async I/O, to prevent async I/O from starving sync * writes) */ - bfqd->word_depths[0 ][1 ] =max ((depth *3 ) >>2 ,1U ); + bfqd->async_depths[0 ][1 ] =max ((nr_requests *3 ) >>2 ,1U );/* * In-word depths in case some bfq_queue is being weight-
@@ -7158,9 +7155,9 @@ static void bfq_update_depths(struct bfq_data *bfqd, struct sbitmap_queue *bt)* shortage. */ /* no more than ~18% of tags for async I/O */ - bfqd->word_depths[1 ][0 ] =max ((depth *3 ) >>4 ,1U ); + bfqd->async_depths[1 ][0 ] =max ((nr_requests *3 ) >>4 ,1U );/* no more than ~37% of tags for sync writes (~20% extra tags) */ - bfqd->word_depths[1 ][1 ] =max ((depth *6 ) >>4 ,1U ); + bfqd->async_depths[1 ][1 ] =max ((nr_requests *6 ) >>4 ,1U ); }static void bfq_depth_updated (struct blk_mq_hw_ctx *hctx)
block/bfq-iosched.h +1 -2
@@ -813,8 +813,7 @@ struct bfq_data {* Depth limits used in bfq_limit_depth (see comments on the * function) */ -unsigned int word_depths[2 ][2 ]; -unsigned int full_depth_shift; +unsigned int async_depths[2 ][2 ];/* * Number of independent actuators. This is equal to 1 in
block/blk-mq.c +4 -2
@@ -3169,8 +3169,10 @@ void blk_mq_submit_bio(struct bio *bio)if (blk_mq_attempt_bio_merge (q, bio, nr_segs)) goto queue_exit; -if (blk_queue_is_zoned (q) &&blk_zone_plug_bio (bio, nr_segs)) - goto queue_exit; +if (bio_needs_zone_write_plugging (bio)) { +if (blk_zone_plug_bio (bio, nr_segs)) + goto queue_exit; + } new_request:if (rq) {
block/blk-settings.c +1 -1
@@ -792,7 +792,7 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, }/* chunk_sectors a multiple of the physical block size? */ -if ((t->chunk_sectors <<9 ) & (t->physical_block_size -1 )) { +if (t->chunk_sectors % (t->physical_block_size >>SECTOR_SHIFT )) { t->chunk_sectors =0 ; t->flags |=BLK_FLAG_MISALIGNED ; ret =-1 ;
block/blk-sysfs.c +5 -7
@@ -821,7 +821,7 @@ static void blk_queue_release(struct kobject *kobj)/* nothing to do here, all data is associated with the parent gendisk */ } -static const struct kobj_type blk_queue_ktype = { +const struct kobj_type blk_queue_ktype = { .default_groups = blk_queue_attr_groups, .sysfs_ops = &queue_sysfs_ops, .release = blk_queue_release,
@@ -849,15 +849,14 @@ int blk_register_queue(struct gendisk *disk)struct request_queue *q = disk->queue;int ret; -kobject_init (&disk->queue_kobj, &blk_queue_ktype); ret =kobject_add (&disk->queue_kobj, &disk_to_dev (disk)->kobj,"queue" );if (ret <0 ) - goto out_put_queue_kobj; +return ret;if (queue_is_mq (q)) { ret =blk_mq_sysfs_register (disk);if (ret) - goto out_put_queue_kobj; + goto out_del_queue_kobj; }mutex_lock (&q->sysfs_lock);
@@ -908,8 +907,8 @@ int blk_register_queue(struct gendisk *disk)mutex_unlock (&q->sysfs_lock);if (queue_is_mq (q))blk_mq_sysfs_unregister (disk); -out_put_queue_kobj: -kobject_put (&disk->queue_kobj); +out_del_queue_kobj: +kobject_del (&disk->queue_kobj);return ret; }
@@ -960,5 +959,4 @@ void blk_unregister_queue(struct gendisk *disk)elevator_set_none (q);blk_debugfs_remove (disk); -kobject_put (&disk->queue_kobj); }
block/blk-zoned.c +1 -19
@@ -1116,25 +1116,7 @@ bool blk_zone_plug_bio(struct bio *bio, unsigned int nr_segs) {struct block_device *bdev = bio->bi_bdev; -if (!bdev->bd_disk->zone_wplugs_hash) -return false; - -/* -* If the BIO already has the plugging flag set, then it was already -* handled through this path and this is a submission from the zone -* plug bio submit work. -*/ -if (bio_flagged (bio,BIO_ZONE_WRITE_PLUGGING )) -return false; - -/* -* We do not need to do anything special for empty flush BIOs, e.g -* BIOs such as issued by blkdev_issue_flush(). The is because it is -* the responsibility of the user to first wait for the completion of -* write operations for flush to have any effect on the persistence of -* the written data. -*/ -if (op_is_flush (bio->bi_opf) && !bio_sectors (bio)) +if (WARN_ON_ONCE (!bdev->bd_disk->zone_wplugs_hash))return false;/*
block/blk.h +1 -0
@@ -19,6 +19,7 @@ struct elevator_type;/* Max future timer expiry for timeouts */ #define BLK_MAX_TIMEOUT (5 * HZ) +extern const struct kobj_type blk_queue_ktype;extern struct dentry *blk_debugfs_root;struct blk_flush_queue {
block/genhd.c +2 -0
@@ -1303,6 +1303,7 @@ static void disk_release(struct device *dev)disk_free_zone_resources (disk);xa_destroy (&disk->part_tbl); +kobject_put (&disk->queue_kobj); disk->queue->disk =NULL ;blk_put_queue (disk->queue);
@@ -1486,6 +1487,7 @@ struct gendisk *__alloc_disk_node(struct request_queue *q, int node_id,INIT_LIST_HEAD (&disk->slave_bdevs);#endif mutex_init (&disk->rqos_state_mutex); +kobject_init (&disk->queue_kobj, &blk_queue_ktype);return disk; out_erase_part0:
block/kyber-iosched.c +2 -7
@@ -157,10 +157,7 @@ struct kyber_queue_data {*/ struct sbitmap_queue domain_tokens[KYBER_NUM_DOMAINS ]; -/* -* Async request percentage, converted to per-word depth for -* sbitmap_get_shallow(). -*/ +/* Number of allowed async requests. */ unsigned int async_depth;struct kyber_cpu_latency __percpu *cpu_latency;
@@ -454,10 +451,8 @@ static void kyber_depth_updated(struct blk_mq_hw_ctx *hctx) {struct kyber_queue_data *kqd = hctx->queue->elevator->elevator_data;struct blk_mq_tags *tags = hctx->sched_tags; -unsigned int shift = tags->bitmap_tags.sb.shift; - - kqd->async_depth = (1U << shift) *KYBER_ASYNC_PERCENT /100U ; + kqd->async_depth = hctx->queue->nr_requests *KYBER_ASYNC_PERCENT /100U ;sbitmap_queue_min_shallow_depth (&tags->bitmap_tags, kqd->async_depth); }
block/mq-deadline.c +1 -15
@@ -487,20 +487,6 @@ static struct request *dd_dispatch_request(struct blk_mq_hw_ctx *hctx)return rq; } -/* -* 'depth' is a number in the range 1..INT_MAX representing a number of -* requests. Scale it with a factor (1 << bt->sb.shift) / q->nr_requests since -* 1..(1 << bt->sb.shift) is the range expected by sbitmap_get_shallow(). -* Values larger than q->nr_requests have the same effect as q->nr_requests. -*/ -static int dd_to_word_depth (struct blk_mq_hw_ctx *hctx,unsigned int qdepth) -{ -struct sbitmap_queue *bt = &hctx->sched_tags->bitmap_tags; -const unsigned int nrr = hctx->queue->nr_requests; - -return ((qdepth << bt->sb.shift) + nrr -1 ) / nrr; -} -/* * Called by __blk_mq_alloc_request(). The shallow_depth value set by this * function is used by __blk_mq_get_tag().
@@ -517,7 +503,7 @@ static void dd_limit_depth(blk_opf_t opf, struct blk_mq_alloc_data *data)* Throttle asynchronous requests and writes such that these requests * do not block the allocation of synchronous requests. */ - data->shallow_depth =dd_to_word_depth (data->hctx, dd->async_depth); + data->shallow_depth = dd->async_depth; }/* Called by blk_mq_update_nr_requests(). */
crypto/jitterentropy-kcapi.c +5 -4
@@ -144,7 +144,7 @@ int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,* Inject the data from the previous loop into the pool. This data is * not considered to contain any entropy, but it stirs the pool a bit. */ - ret =crypto_shash_update (desc, intermediary,sizeof (intermediary)); + ret =crypto_shash_update (hash_state_desc, intermediary,sizeof (intermediary));if (ret) goto err;
@@ -157,11 +157,12 @@ int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,* conditioning operation to have an identical amount of input data * according to section 3.1.5. */ -if (!stuck) { - ret =crypto_shash_update (hash_state_desc, (u8 *)&time, -sizeof (__u64)); +if (stuck) { + time =0 ; } + ret =crypto_shash_update (hash_state_desc, (u8 *)&time,sizeof (__u64)); + err:shash_desc_zero (desc);memzero_explicit (intermediary,sizeof (intermediary));
drivers/accel/habanalabs/common/memory.c +7 -16
@@ -1829,9 +1829,6 @@ static void hl_release_dmabuf(struct dma_buf *dmabuf)struct hl_dmabuf_priv *hl_dmabuf = dmabuf->priv;struct hl_ctx *ctx; -if (!hl_dmabuf) -return ; - ctx = hl_dmabuf->ctx;if (hl_dmabuf->memhash_hnode)
@@ -1859,7 +1856,12 @@ static int export_dmabuf(struct hl_ctx *ctx, {DEFINE_DMA_BUF_EXPORT_INFO (exp_info);struct hl_device *hdev = ctx->hdev; -int rc, fd; +CLASS (get_unused_fd, fd)(flags); + +if (fd <0 ) { +dev_err (hdev->dev,"failed to get a file descriptor for a dma-buf, %d\n" , fd); +return fd; + } exp_info.ops = &habanalabs_dmabuf_ops; exp_info.size = total_size;
@@ -1872,13 +1874,6 @@ static int export_dmabuf(struct hl_ctx *ctx,return PTR_ERR (hl_dmabuf->dmabuf); } - fd =dma_buf_fd (hl_dmabuf->dmabuf, flags); -if (fd <0 ) { -dev_err (hdev->dev,"failed to get a file descriptor for a dma-buf, %d\n" , fd); - rc = fd; - goto err_dma_buf_put; - } - hl_dmabuf->ctx = ctx;hl_ctx_get (hl_dmabuf->ctx);atomic_inc (&ctx->hdev->dmabuf_export_cnt);
@@ -1890,13 +1885,9 @@ static int export_dmabuf(struct hl_ctx *ctx,get_file (ctx->hpriv->file_priv->filp); *dmabuf_fd = fd; +fd_install (take_fd (fd), hl_dmabuf->dmabuf->file);return 0 ; - -err_dma_buf_put: - hl_dmabuf->dmabuf->priv =NULL ; -dma_buf_put (hl_dmabuf->dmabuf); -return rc; }static int validate_export_params_common (struct hl_device *hdev,u64 addr,u64 size,u64 offset)
drivers/acpi/acpi_processor.c +1 -1
@@ -275,7 +275,7 @@ static inline int acpi_processor_hotadd_init(struct acpi_processor *pr,static int acpi_processor_get_info (struct acpi_device *device) { -union acpi_object object = {0 }; +union acpi_object object = { .processor = {0 } };struct acpi_buffer buffer = {sizeof (union acpi_object ), &object };struct acpi_processor *pr =acpi_driver_data (device);int device_declaration =0 ;
drivers/acpi/apei/ghes.c +13 -0
@@ -902,6 +902,17 @@ static bool ghes_do_proc(struct ghes *ghes, } } +/* +* If no memory failure work is queued for abnormal synchronous +* errors, do a force kill. +*/ +if (sync && !queued) { +dev_err (ghes->dev, + HW_ERR GHES_PFX "%s:%d: synchronous unrecoverable error (SIGBUS)\n", + current->comm,task_pid_nr (current)); +force_sig (SIGBUS ); + } +return queued; }
@@ -1088,6 +1099,8 @@ static void __ghes_panic(struct ghes *ghes,__ghes_print_estatus (KERN_EMERG , ghes->generic, estatus); +add_taint (TAINT_MACHINE_CHECK ,LOCKDEP_STILL_OK ); +ghes_clear_estatus (ghes, estatus, buf_paddr, fixmap_idx);if (!panic_timeout)
drivers/acpi/ec.c +7 -3
@@ -2033,7 +2033,7 @@ void __init acpi_ec_ecdt_probe(void) goto out; } -if (!strstarts (ecdt_ptr->id,"\\" )) { +if (!strlen (ecdt_ptr->id)) {/* * The ECDT table on some MSI notebooks contains invalid data, together * with an empty ID string ("").
@@ -2042,9 +2042,13 @@ void __init acpi_ec_ecdt_probe(void)* a "fully qualified reference to the (...) embedded controller device", * so this string always has to start with a backslash. * -* By verifying this we can avoid such faulty ECDT tables in a safe way. +* However some ThinkBook machines have a ECDT table with a valid EC +* description but an invalid ID string ("_SB.PC00.LPCB.EC0"). +* +* Because of this we only check if the ID string is empty in order to +* avoid the obvious cases. */ -pr_err (FW_BUG "Ignoring ECDT due to invalid ID string \"%s\"\n" , ecdt_ptr->id); +pr_err (FW_BUG "Ignoring ECDT due to empty ID string\n" ); goto out; }
drivers/acpi/prmt.c +24 -2
@@ -85,8 +85,6 @@ static u64 efi_pa_va_lookup(efi_guid_t *guid, u64 pa) } } -pr_warn ("Failed to find VA for GUID: %pUL, PA: 0x%llx" , guid, pa); -return 0 ; }
@@ -154,13 +152,37 @@ acpi_parse_prmt(union acpi_subtable_headers *header, const unsigned long end)guid_copy (&th->guid, (guid_t *)handler_info->handler_guid); th->handler_addr = (void *)efi_pa_va_lookup (&th->guid, handler_info->handler_address); +/* +* Print a warning message if handler_addr is zero which is not expected to +* ever happen. +*/ +if (unlikely (!th->handler_addr)) +pr_warn ("Failed to find VA of handler for GUID: %pUL, PA: 0x%llx" , + &th->guid, handler_info->handler_address); th->static_data_buffer_addr =efi_pa_va_lookup (&th->guid, handler_info->static_data_buffer_address); +/* +* According to the PRM specification, static_data_buffer_address can be zero, +* so avoid printing a warning message in that case. Otherwise, if the +* return value of efi_pa_va_lookup() is zero, print the message. +*/ +if (unlikely (!th->static_data_buffer_addr && handler_info->static_data_buffer_address)) +pr_warn ("Failed to find VA of static data buffer for GUID: %pUL, PA: 0x%llx" , + &th->guid, handler_info->static_data_buffer_address); th->acpi_param_buffer_addr =efi_pa_va_lookup (&th->guid, handler_info->acpi_param_buffer_address); +/* +* According to the PRM specification, acpi_param_buffer_address can be zero, +* so avoid printing a warning message in that case. Otherwise, if the +* return value of efi_pa_va_lookup() is zero, print the message. +*/ +if (unlikely (!th->acpi_param_buffer_addr && handler_info->acpi_param_buffer_address)) +pr_warn ("Failed to find VA of acpi param buffer for GUID: %pUL, PA: 0x%llx" , + &th->guid, handler_info->acpi_param_buffer_address); + }while (++cur_handler < tm->handler_count && (handler_info =get_next_handler (handler_info)));return 0 ;
drivers/acpi/processor_perflib.c +11 -0
@@ -173,6 +173,9 @@ void acpi_processor_ppc_init(struct cpufreq_policy *policy) {unsigned int cpu; +if (ignore_ppc ==1 ) +return ; +for_each_cpu (cpu, policy->related_cpus) {struct acpi_processor *pr =per_cpu (processors, cpu);int ret;
@@ -193,6 +196,14 @@ void acpi_processor_ppc_init(struct cpufreq_policy *policy)if (ret <0 )pr_err ("Failed to add freq constraint for CPU%d (%d)\n" , cpu, ret); + +if (!pr->performance) +continue ; + + ret =acpi_processor_get_platform_limit (pr); +if (ret) +pr_err ("Failed to update freq constraint for CPU%d (%d)\n" , + cpu, ret); } }
drivers/android/binder_alloc_selftest.c +1 -1
@@ -142,12 +142,12 @@ static void binder_selftest_free_buf(struct binder_alloc *alloc,for (i =0 ; i <BUFFER_NUM ; i++)binder_alloc_free_buf (alloc, buffers[seq[i]]); -for (i =0 ; i < end /PAGE_SIZE ; i++) {/** * Error message on a free page can be false positive * if binder shrinker ran during binder_alloc_free_buf * calls above. */ +for (i =0 ; i <= (end -1 ) /PAGE_SIZE ; i++) {if (list_empty (page_to_lru (alloc->pages[i]))) {pr_err_size_seq (sizes, seq); pr_err("expect lru but is %s at page index %d\n",
drivers/ata/ahci.c +11 -1
@@ -1778,11 +1778,21 @@ static void ahci_update_initial_lpm_policy(struct ata_port *ap)return ; } +/* If no Partial or no Slumber, we cannot support DIPM. */ +if ((ap->host->flags &ATA_HOST_NO_PART ) || + (ap->host->flags &ATA_HOST_NO_SSC )) { +ata_port_dbg (ap,"Host does not support DIPM\n" ); + ap->flags |=ATA_FLAG_NO_DIPM ; + } +/* If no LPM states are supported by the HBA, do not bother with LPM */ if ((ap->host->flags &ATA_HOST_NO_PART ) && (ap->host->flags &ATA_HOST_NO_SSC ) && (ap->host->flags &ATA_HOST_NO_DEVSLP )) { -ata_port_dbg (ap,"no LPM states supported, not enabling LPM\n" ); +ata_port_dbg (ap, +"No LPM states supported, forcing LPM max_power\n" ); + ap->flags |=ATA_FLAG_NO_LPM ; + ap->target_lpm_policy =ATA_LPM_MAX_POWER ;return ; }
drivers/ata/ata_piix.c +1 -0
@@ -1089,6 +1089,7 @@ static struct ata_port_operations ich_pata_ops = { };static struct attribute *piix_sidpr_shost_attrs[] = { + &dev_attr_link_power_management_supported.attr, &dev_attr_link_power_management_policy.attr,NULL };
drivers/ata/libahci.c +1 -0
@@ -111,6 +111,7 @@ static DEVICE_ATTR(em_buffer, S_IWUSR | S_IRUGO, static DEVICE_ATTR(em_message_supported, S_IRUGO, ahci_show_em_supported, NULL);static struct attribute *ahci_shost_attrs[] = { + &dev_attr_link_power_management_supported.attr, &dev_attr_link_power_management_policy.attr, &dev_attr_em_message_type.attr, &dev_attr_em_message.attr,
drivers/ata/libata-sata.c +43 -9
70 lines not on this page · raw message
drivers/base/power/runtime.c +5 -0
@@ -1854,6 +1854,11 @@ void pm_runtime_reinit(struct device *dev)pm_runtime_put (dev->parent); } } +/* +* Clear power.needs_force_resume in case it has been set by +* pm_runtime_force_suspend() invoked from a driver remove callback. +*/ + dev->power.needs_force_resume = false; }/**
drivers/base/regmap/regmap-irq.c +11 -8
@@ -816,7 +816,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, d->mask_buf[i], chip->irq_drv_data);if (ret) - goto err_alloc; + goto err_mutex; }if (chip->mask_base && !chip->handle_mask_sync) {
@@ -827,7 +827,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (ret) {dev_err (map->dev,"Failed to set masks in 0x%x: %d\n" , reg, ret); - goto err_alloc; + goto err_mutex; } }
@@ -838,7 +838,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (ret) {dev_err (map->dev,"Failed to set masks in 0x%x: %d\n" , reg, ret); - goto err_alloc; + goto err_mutex; } }
@@ -855,7 +855,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (ret !=0 ) {dev_err (map->dev,"Failed to read IRQ status: %d\n" , ret); - goto err_alloc; + goto err_mutex; } }
@@ -879,7 +879,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (ret !=0 ) {dev_err (map->dev,"Failed to ack 0x%x: %d\n" , reg, ret); - goto err_alloc; + goto err_mutex; } } }
@@ -901,7 +901,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (ret !=0 ) {dev_err (map->dev,"Failed to set masks in 0x%x: %d\n" , reg, ret); - goto err_alloc; + goto err_mutex; } } }
@@ -910,7 +910,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,if (chip->status_is_level) { ret =read_irq_data (d);if (ret <0 ) - goto err_alloc; + goto err_mutex;memcpy (d->prev_status_buf, d->status_buf,array_size (d->chip->num_regs,sizeof (d->prev_status_buf[0 ])));
@@ -918,7 +918,7 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, ret =regmap_irq_create_domain (fwnode, irq_base, chip, d);if (ret) - goto err_alloc; + goto err_mutex; ret = request_threaded_irq(irq, NULL, regmap_irq_thread, irq_flags | IRQF_ONESHOT,
@@ -935,6 +935,8 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode, err_domain:/* Should really dispose of the domain but... */ +err_mutex: +mutex_destroy (&d->lock); err_alloc:kfree (d->type_buf);kfree (d->type_buf_def);
@@ -1027,6 +1029,7 @@ void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *d)kfree (d->config_buf[i]);kfree (d->config_buf); } +mutex_destroy (&d->lock);kfree (d); }EXPORT_SYMBOL_GPL (regmap_del_irq_chip);
drivers/block/drbd/drbd_receiver.c +5 -1
@@ -2500,7 +2500,11 @@ static int handle_write_conflicts(struct drbd_device *device, peer_req->w.cb = superseded ? e_send_superseded : e_send_retry_write;list_add_tail (&peer_req->w.list, &device->done_ee); -queue_work (connection->ack_sender, &peer_req->peer_device->send_acks_work); +/* put is in drbd_send_acks_wf() */ +kref_get (&device->kref); +if (!queue_work (connection->ack_sender, + &peer_req->peer_device->send_acks_work)) +kref_put (&device->kref, drbd_destroy_device); err = -ENOENT ; goto out;
drivers/block/loop.c +30 -8
@@ -1431,17 +1431,34 @@ static int loop_set_dio(struct loop_device *lo, unsigned long arg)return 0 ; } -static int loop_set_block_size (struct loop_device *lo,unsigned long arg) +static int loop_set_block_size (struct loop_device *lo,blk_mode_t mode, +struct block_device *bdev,unsigned long arg) {struct queue_limits lim;unsigned int memflags;int err =0 ; -if (lo->lo_state != Lo_bound) -return -ENXIO ; +/* +* If we don't hold exclusive handle for the device, upgrade to it +* here to avoid changing device under exclusive owner. +*/ +if (!(mode &BLK_OPEN_EXCL )) { + err =bd_prepare_to_claim (bdev, loop_set_block_size,NULL ); +if (err) +return err; + } + + err =mutex_lock_killable (&lo->lo_mutex); +if (err) + goto abort_claim; + +if (lo->lo_state != Lo_bound) { + err = -ENXIO ; + goto unlock; + }if (lo->lo_queue->limits.logical_block_size == arg) -return 0 ; + goto unlock;sync_blockdev (lo->lo_device);invalidate_bdev (lo->lo_device);
@@ -1454,6 +1471,11 @@ static int loop_set_block_size(struct loop_device *lo, unsigned long arg)loop_update_dio (lo);blk_mq_unfreeze_queue (lo->lo_queue, memflags); +unlock: +mutex_unlock (&lo->lo_mutex); +abort_claim: +if (!(mode &BLK_OPEN_EXCL )) +bd_abort_claiming (bdev, loop_set_block_size);return err; }
@@ -1472,9 +1494,6 @@ static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd,case LOOP_SET_DIRECT_IO : err =loop_set_dio (lo, arg);break ; -case LOOP_SET_BLOCK_SIZE : - err =loop_set_block_size (lo, arg); -break ;default : err = -EINVAL ; }
@@ -1529,9 +1548,12 @@ static int lo_ioctl(struct block_device *bdev, blk_mode_t mode,break ;case LOOP_GET_STATUS64 :return loop_get_status64 (lo, argp); +case LOOP_SET_BLOCK_SIZE : +if (!(mode &BLK_OPEN_WRITE ) && !capable (CAP_SYS_ADMIN )) +return -EPERM ; +return loop_set_block_size (lo, mode, bdev, arg);case LOOP_SET_CAPACITY :case LOOP_SET_DIRECT_IO : -case LOOP_SET_BLOCK_SIZE :if (!(mode &BLK_OPEN_WRITE ) && !capable (CAP_SYS_ADMIN ))return -EPERM ; fallthrough;
drivers/block/sunvdc.c +3 -1
@@ -957,8 +957,10 @@ static bool vdc_port_mpgroup_check(struct vio_dev *vdev) dev =device_find_child (vdev->dev.parent, &port_data, vdc_device_probed); -if (dev) +if (dev) { +put_device (dev);return true; + }return false; }
drivers/block/ublk_drv.c +7 -9
@@ -215,7 +215,7 @@ struct ublk_device {struct completion completion;unsigned int nr_queues_ready; -unsigned int nr_privileged_daemon; +bool unprivileged_daemons;struct mutex cancel_mutex;bool canceling;pid_t ublksrv_tgid;
@@ -1532,7 +1532,7 @@ static void ublk_reset_ch_dev(struct ublk_device *ub)/* set to NULL, otherwise new tasks cannot mmap io_cmd_buf */ ub->mm =NULL ; ub->nr_queues_ready =0 ; - ub->nr_privileged_daemon =0 ; + ub->unprivileged_daemons = false; ub->ublksrv_tgid =-1 ; }
@@ -1945,12 +1945,10 @@ static void ublk_mark_io_ready(struct ublk_device *ub, struct ublk_queue *ubq) __must_hold(&ub->mutex) { ubq->nr_io_ready++; -if (ublk_queue_ready (ubq)) { +if (ublk_queue_ready (ubq)) ub->nr_queues_ready++; - -if (capable (CAP_SYS_ADMIN )) - ub->nr_privileged_daemon++; - } +if (!ub->unprivileged_daemons && !capable (CAP_SYS_ADMIN )) + ub->unprivileged_daemons = true;if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues) {/* now we are ready for handling ublk io request */
@@ -2759,8 +2757,8 @@ static int ublk_ctrl_start_dev(struct ublk_device *ub,ublk_apply_params (ub); -/* don't probe partitions if any one ubq daemon is un-trusted */ -if (ub->nr_privileged_daemon != ub->nr_queues_ready) +/* don't probe partitions if any daemon task is un-trusted */ +if (ub->unprivileged_daemons)set_bit (GD_SUPPRESS_PART_SCAN , &disk->state);ublk_get_device (ub);
drivers/bluetooth/btusb.c +3 -0
@@ -515,6 +515,7 @@ static const struct usb_device_id quirks_table[] = {/* Realtek 8851BE Bluetooth devices */ { USB_DEVICE(0x0bda, 0xb850), .driver_info = BTUSB_REALTEK }, { USB_DEVICE(0x13d3, 0x3600), .driver_info = BTUSB_REALTEK }, + { USB_DEVICE(0x13d3, 0x3601), .driver_info = BTUSB_REALTEK }, /* Realtek 8851BU Bluetooth devices */ { USB_DEVICE(0x3625, 0x010b), .driver_info = BTUSB_REALTEK |
@@ -709,6 +710,8 @@ static const struct usb_device_id quirks_table[] = { BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0489, 0xe139), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH }, + { USB_DEVICE(0x0489, 0xe14e), .driver_info = BTUSB_MEDIATEK | + BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0489, 0xe14f), .driver_info = BTUSB_MEDIATEK | BTUSB_WIDEBAND_SPEECH }, { USB_DEVICE(0x0489, 0xe150), .driver_info = BTUSB_MEDIATEK |
drivers/bus/mhi/host/pci_generic.c +18 -2
@@ -43,6 +43,7 @@* @mru_default: default MRU size for MBIM network packets * @sideband_wake: Devices using dedicated sideband GPIO for wakeup instead * of inband wake support (such as sdx24) +* @no_m3: M3 not supported */ struct mhi_pci_dev_info {const struct mhi_controller_config *config;
@@ -54,6 +55,7 @@ struct mhi_pci_dev_info {unsigned int dma_data_width;unsigned int mru_default;bool sideband_wake; +bool no_m3; };#define MHI_CHANNEL_CONFIG_UL (ch_num, ch_name, el_count, ev_ring) \
@@ -295,6 +297,7 @@ static const struct mhi_pci_dev_info mhi_qcom_qdu100_info = { .bar_num = MHI_PCI_DEFAULT_BAR_NUM, .dma_data_width = 32, .sideband_wake = false, + .no_m3 = true, };static const struct mhi_channel_config mhi_qcom_sa8775p_channels[] = {
@@ -818,6 +821,16 @@ static const struct mhi_pci_dev_info mhi_telit_fn920c04_info = { .edl_trigger = true, }; +static const struct mhi_pci_dev_info mhi_telit_fn990b40_info = { + .name ="telit-fn990b40" , + .config = &modem_telit_fn920c04_config, + .bar_num =MHI_PCI_DEFAULT_BAR_NUM , + .dma_data_width =32 , + .sideband_wake = false, + .mru_default =32768 , + .edl_trigger = true, +}; +static const struct mhi_pci_dev_info mhi_netprisma_lcur57_info = { .name ="netprisma-lcur57" , .edl ="qcom/prog_firehose_sdx24.mbn" ,
@@ -865,6 +878,9 @@ static const struct pci_device_id mhi_pci_id_table[] = { .driver_data = (kernel_ulong_t) &mhi_telit_fe990a_info }, { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0308), .driver_data = (kernel_ulong_t) &mhi_qcom_sdx65_info }, +/* Telit FN990B40 (sdx72) */ + { PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x201a), + .driver_data = (kernel_ulong_t) &mhi_telit_fn990b40_info }, { PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309), .driver_data = (kernel_ulong_t) &mhi_qcom_sdx75_info },/* QDU100, x100-DU */
@@ -1306,8 +1322,8 @@ static int mhi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)/* start health check */ mod_timer (&mhi_pdev->health_check_timer, jiffies +HEALTH_CHECK_PERIOD ); -/* Only allow runtime-suspend if PME capable (for wakeup) */ -if (pci_pme_capable (pdev, PCI_D3hot)) { +/* Allow runtime suspend only if both PME from D3Hot and M3 are supported */ +if (pci_pme_capable (pdev, PCI_D3hot) && !(info->no_m3)) {pm_runtime_set_autosuspend_delay (&pdev->dev,2000 );pm_runtime_use_autosuspend (&pdev->dev);pm_runtime_mark_last_busy (&pdev->dev);
drivers/char/ipmi/ipmi_msghandler.c +4 -4
@@ -4607,10 +4607,10 @@ static int handle_one_recv_msg(struct ipmi_smi *intf,* The NetFN and Command in the response is not even * marginally correct. */ -dev_warn (intf->si_dev, -"BMC returned incorrect response, expected netfn %x cmd %x, got netfn %x cmd %x\n" , - (msg->data[0 ] >>2 ) |1 , msg->data[1 ], - msg->rsp[0 ] >>2 , msg->rsp[1 ]); +dev_warn_ratelimited (intf->si_dev, +"BMC returned incorrect response, expected netfn %x cmd %x, got netfn %x cmd %x\n" , + (msg->data[0 ] >>2 ) |1 , msg->data[1 ], + msg->rsp[0 ] >>2 , msg->rsp[1 ]); goto return_unspecified; }
drivers/char/ipmi/ipmi_watchdog.c +42 -17
117 lines not on this page · raw message
drivers/char/misc.c +2 -2
@@ -296,8 +296,8 @@ static int __init misc_init(void)if (err) goto fail_remove; - err = -EIO ; -if (__register_chrdev (MISC_MAJOR ,0 ,MINORMASK +1 ,"misc" , &misc_fops)) + err =__register_chrdev (MISC_MAJOR ,0 ,MINORMASK +1 ,"misc" , &misc_fops); +if (err <0 ) goto fail_printk;return 0 ;
drivers/char/tpm/tpm-interface.c +15 -2
@@ -82,6 +82,13 @@ static bool tpm_chip_req_canceled(struct tpm_chip *chip, u8 status)return chip->ops->req_canceled (chip, status); } +static bool tpm_transmit_completed (u8 status,struct tpm_chip *chip) +{ +u8 status_masked = status & chip->ops->req_complete_mask; + +return status_masked == chip->ops->req_complete_val; +} +static ssize_t tpm_try_transmit (struct tpm_chip *chip,void *buf,size_t bufsiz) {struct tpm_header *header = buf;
@@ -129,8 +136,7 @@ static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) stop = jiffies +tpm_calc_ordinal_duration (chip, ordinal); do { u8 status = tpm_chip_status(chip); - if ((status & chip->ops->req_complete_mask) == - chip->ops->req_complete_val) + if (tpm_transmit_completed(status, chip)) goto out_recv; if (tpm_chip_req_canceled(chip, status)) {
@@ -142,6 +148,13 @@ static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz)rmb (); }while (time_before (jiffies, stop)); +/* +* Check for completion one more time, just in case the device reported +* it while the driver was sleeping in the busy loop above. +*/ +if (tpm_transmit_completed (tpm_chip_status (chip), chip)) + goto out_recv; +tpm_chip_cancel (chip);dev_err (&chip->dev,"Operation Timed out\n" );return -ETIME ;
drivers/char/tpm/tpm_crb_ffa.c +16 -3
@@ -115,6 +115,7 @@ struct tpm_crb_ffa { };static struct tpm_crb_ffa *tpm_crb_ffa; +static struct ffa_driver tpm_crb_ffa_driver;static int tpm_crb_ffa_to_linux_errno (int errno) {
@@ -168,13 +169,23 @@ static int tpm_crb_ffa_to_linux_errno(int errno)*/ int tpm_crb_ffa_init (void ) { +int ret =0 ; + +if (!IS_MODULE (CONFIG_TCG_ARM_CRB_FFA )) { + ret =ffa_register (&tpm_crb_ffa_driver); +if (ret) { + tpm_crb_ffa =ERR_PTR (-ENODEV ); +return ret; + } + } +if (!tpm_crb_ffa) -return -ENOENT ; + ret = -ENOENT ;if (IS_ERR_VALUE (tpm_crb_ffa)) -return -ENODEV ; + ret = -ENODEV ; -return 0 ; +return ret; }EXPORT_SYMBOL_GPL (tpm_crb_ffa_init);
@@ -369,7 +380,9 @@ static struct ffa_driver tpm_crb_ffa_driver = { .id_table = tpm_crb_ffa_device_id, }; +#ifdef MODULE module_ffa_driver (tpm_crb_ffa_driver); +#endif MODULE_AUTHOR ("Arm" );MODULE_DESCRIPTION ("TPM CRB FFA driver" );
drivers/clk/qcom/dispcc-sm8750.c +5 -5
@@ -393,7 +393,7 @@ static struct clk_rcg2 disp_cc_mdss_byte0_clk_src = { .name = "disp_cc_mdss_byte0_clk_src", .parent_data = disp_cc_parent_data_1, .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, .ops = &clk_byte2_ops, }, };
@@ -408,7 +408,7 @@ static struct clk_rcg2 disp_cc_mdss_byte1_clk_src = { .name = "disp_cc_mdss_byte1_clk_src", .parent_data = disp_cc_parent_data_1, .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, .ops = &clk_byte2_ops, }, };
@@ -712,7 +712,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk0_clk_src = { .name = "disp_cc_mdss_pclk0_clk_src", .parent_data = disp_cc_parent_data_1, .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, .ops = &clk_pixel_ops, }, };
@@ -727,7 +727,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk1_clk_src = { .name = "disp_cc_mdss_pclk1_clk_src", .parent_data = disp_cc_parent_data_1, .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, .ops = &clk_pixel_ops, }, };
@@ -742,7 +742,7 @@ static struct clk_rcg2 disp_cc_mdss_pclk2_clk_src = { .name = "disp_cc_mdss_pclk2_clk_src", .parent_data = disp_cc_parent_data_1, .num_parents = ARRAY_SIZE(disp_cc_parent_data_1), - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE, .ops = &clk_pixel_ops, }, };
drivers/clk/qcom/gcc-ipq5018.c +1 -1
@@ -1371,7 +1371,7 @@ static struct clk_branch gcc_xo_clk = { &gcc_xo_clk_src.clkr.hw, }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT, + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, .ops = &clk_branch2_ops, }, },
drivers/clk/qcom/gcc-ipq8074.c +3 -3
@@ -1895,10 +1895,10 @@ static const struct freq_conf ftbl_nss_port6_tx_clk_src_125[] = {static const struct freq_multi_tbl ftbl_nss_port6_tx_clk_src[] = {FMS (19200000 ,P_XO ,1 ,0 ,0 ),FM (25000000 , ftbl_nss_port6_tx_clk_src_25), -FMS (78125000 ,P_UNIPHY1_RX ,4 ,0 ,0 ), +FMS (78125000 ,P_UNIPHY2_TX ,4 ,0 ,0 ),FM (125000000 , ftbl_nss_port6_tx_clk_src_125), -FMS (156250000 ,P_UNIPHY1_RX ,2 ,0 ,0 ), -FMS (312500000 ,P_UNIPHY1_RX ,1 ,0 ,0 ), +FMS (156250000 ,P_UNIPHY2_TX ,2 ,0 ,0 ), +FMS (312500000 ,P_UNIPHY2_TX ,1 ,0 ,0 ), { } };
drivers/clk/renesas/rzg2l-cpg.c +4 -4
@@ -1389,10 +1389,6 @@ rzg2l_cpg_register_mod_clk(const struct rzg2l_mod_clk *mod, goto fail; } - clk = clock->hw.clk; -dev_dbg (dev,"Module clock %pC at %lu Hz\n" , clk,clk_get_rate (clk)); - priv->clks[id] = clk; -if (mod->is_coupled) {struct mstp_clock *sibling;
@@ -1404,6 +1400,10 @@ rzg2l_cpg_register_mod_clk(const struct rzg2l_mod_clk *mod, } } + clk = clock->hw.clk; +dev_dbg (dev,"Module clock %pC at %lu Hz\n" , clk,clk_get_rate (clk)); + priv->clks[id] = clk; +return ; fail:
drivers/clk/samsung/clk-exynos850.c +1 -1
@@ -1360,7 +1360,7 @@ static const unsigned long cpucl1_clk_regs[] __initconst = { CLK_CON_GAT_GATE_CLK_CPUCL1_CPU, }; -/* List of parent clocks for Muxes in CMU_CPUCL0 */ +/* List of parent clocks for Muxes in CMU_CPUCL1 */ PNAME (mout_pll_cpucl1_p) = {"oscclk" ,"fout_cpucl1_pll" };PNAME (mout_cpucl1_switch_user_p) = {"oscclk" ,"dout_cpucl1_switch" };PNAME (mout_cpucl1_dbg_user_p) = {"oscclk" ,"dout_cpucl1_dbg" };
drivers/clk/samsung/clk-gs101.c +2 -2
@@ -1154,7 +1154,7 @@ static const struct samsung_div_clock cmu_top_div_clks[] __initconst = { CLK_CON_DIV_CLKCMU_G2D_MSCL, 0, 4),DIV (CLK_DOUT_CMU_G3AA_G3AA ,"dout_cmu_g3aa_g3aa" ,"gout_cmu_g3aa_g3aa" ,CLK_CON_DIV_CLKCMU_G3AA_G3AA ,0 ,4 ), -DIV (CLK_DOUT_CMU_G3D_SWITCH ,"dout_cmu_g3d_busd" ,"gout_cmu_g3d_busd" , +DIV (CLK_DOUT_CMU_G3D_BUSD ,"dout_cmu_g3d_busd" ,"gout_cmu_g3d_busd" ,CLK_CON_DIV_CLKCMU_G3D_BUSD ,0 ,4 ),DIV (CLK_DOUT_CMU_G3D_GLB ,"dout_cmu_g3d_glb" ,"gout_cmu_g3d_glb" , CLK_CON_DIV_CLKCMU_G3D_GLB, 0, 4),
@@ -2129,7 +2129,7 @@ PNAME(mout_hsi0_usbdpdbg_user_p) = { "oscclk", "dout_cmu_hsi0_usbdpdbg" };PNAME (mout_hsi0_bus_p) = {"mout_hsi0_bus_user" ,"mout_hsi0_alt_user" }; -PNAME (mout_hsi0_usb20_ref_p) = {"fout_usb_pll" , +PNAME (mout_hsi0_usb20_ref_p) = {"mout_pll_usb" ,"mout_hsi0_tcxo_user" };PNAME (mout_hsi0_usb31drd_p) = {"fout_usb_pll" ,"mout_hsi0_usb31drd_user" ,
drivers/clk/tegra/clk-periph.c +2 -2
@@ -51,7 +51,7 @@ static int clk_periph_determine_rate(struct clk_hw *hw,struct tegra_clk_periph *periph =to_clk_periph (hw);const struct clk_ops *div_ops = periph->div_ops;struct clk_hw *div_hw = &periph->divider.hw; -unsigned long rate; +long rate;__clk_hw_set_clk (div_hw, hw);
@@ -59,7 +59,7 @@ static int clk_periph_determine_rate(struct clk_hw *hw,if (rate <0 )return rate; - req->rate = rate; + req->rate = (unsigned long )rate;return 0 ; }
drivers/clk/thead/clk-th1520-ap.c +3 -2
@@ -792,11 +792,12 @@ static CCU_GATE(CLK_AON2CPU_A2X, aon2cpu_a2x_clk, "aon2cpu-a2x", axi4_cpusys2_ac 0x134, BIT(8), 0); static CCU_GATE(CLK_X2X_CPUSYS, x2x_cpusys_clk, "x2x-cpusys", axi4_cpusys2_aclk_pd, 0x134, BIT(7), 0); -static CCU_GATE(CLK_CPU2AON_X2H, cpu2aon_x2h_clk, "cpu2aon-x2h", axi_aclk_pd, 0x138, BIT(8), 0); +static CCU_GATE(CLK_CPU2AON_X2H, cpu2aon_x2h_clk, "cpu2aon-x2h", axi_aclk_pd, + 0x138, BIT(8), CLK_IGNORE_UNUSED); static CCU_GATE(CLK_CPU2PERI_X2H, cpu2peri_x2h_clk, "cpu2peri-x2h", axi4_cpusys2_aclk_pd, 0x140, BIT(9), CLK_IGNORE_UNUSED); static CCU_GATE(CLK_PERISYS_APB1_HCLK, perisys_apb1_hclk, "perisys-apb1-hclk", perisys_ahb_hclk_pd, - 0x150, BIT(9), 0); + 0x150, BIT(9), CLK_IGNORE_UNUSED); static CCU_GATE(CLK_PERISYS_APB2_HCLK, perisys_apb2_hclk, "perisys-apb2-hclk", perisys_ahb_hclk_pd, 0x150, BIT(10), CLK_IGNORE_UNUSED); static CCU_GATE(CLK_PERISYS_APB3_HCLK, perisys_apb3_hclk, "perisys-apb3-hclk", perisys_ahb_hclk_pd,
drivers/comedi/comedi_fops.c +24 -7
@@ -787,6 +787,7 @@ static int is_device_busy(struct comedi_device *dev)struct comedi_subdevice *s;int i; +lockdep_assert_held_write (&dev->attach_lock);lockdep_assert_held (&dev->mutex);if (!dev->attached)return 0 ;
@@ -795,7 +796,16 @@ static int is_device_busy(struct comedi_device *dev) s = &dev->subdevices[i];if (s->busy)return 1 ; -if (s->async &&comedi_buf_is_mmapped (s)) +if (!s->async) +continue ; +if (comedi_buf_is_mmapped (s)) +return 1 ; +/* +* There may be tasks still waiting on the subdevice's wait +* queue, although they should already be about to be removed +* from it since the subdevice has no active async command. +*/ +if (wq_has_sleeper (&s->async->wait_head))return 1 ; }
@@ -825,15 +835,22 @@ static int do_devconfig_ioctl(struct comedi_device *dev,return -EPERM ;if (!arg) { -if (is_device_busy (dev)) -return -EBUSY ; +int rc =0 ; +if (dev->attached) { -struct module *driver_module = dev->driver->module; +down_write (&dev->attach_lock); +if (is_device_busy (dev)) { + rc = -EBUSY ; + }else { +struct module *driver_module = + dev->driver->module; -comedi_device_detach (dev); -module_put (driver_module); +comedi_device_detach_locked (dev); +module_put (driver_module); + } +up_write (&dev->attach_lock); } -return 0 ; +return rc; }if (copy_from_user (&it, arg,sizeof (it)))
drivers/comedi/comedi_internal.h +1 -0
@@ -50,6 +50,7 @@ extern struct mutex comedi_drivers_list_lock;int insn_inval (struct comedi_device *dev,struct comedi_subdevice *s,struct comedi_insn *insn,unsigned int *data); +void comedi_device_detach_locked (struct comedi_device *dev);void comedi_device_detach (struct comedi_device *dev);int comedi_device_attach (struct comedi_device *dev,struct comedi_devconfig *it);
drivers/comedi/drivers.c +10 -3
@@ -158,7 +158,7 @@ static void comedi_device_detach_cleanup(struct comedi_device *dev)int i;struct comedi_subdevice *s; -lockdep_assert_held (&dev->attach_lock); +lockdep_assert_held_write (&dev->attach_lock);lockdep_assert_held (&dev->mutex);if (dev->subdevices) {for (i =0 ; i < dev->n_subdevices; i++) {
@@ -196,16 +196,23 @@ static void comedi_device_detach_cleanup(struct comedi_device *dev)comedi_clear_hw_dev (dev); } -void comedi_device_detach (struct comedi_device *dev) +void comedi_device_detach_locked (struct comedi_device *dev) { +lockdep_assert_held_write (&dev->attach_lock);lockdep_assert_held (&dev->mutex);comedi_device_cancel_all (dev); -down_write (&dev->attach_lock); dev->attached = false; dev->detach_count++;if (dev->driver) dev->driver->detach (dev);comedi_device_detach_cleanup (dev); +} + +void comedi_device_detach (struct comedi_device *dev) +{ +lockdep_assert_held (&dev->mutex); +down_write (&dev->attach_lock); +comedi_device_detach_locked (dev);up_write (&dev->attach_lock); }
drivers/cpufreq/cppc_cpufreq.c +1 -1
@@ -925,7 +925,7 @@ static struct freq_attr *cppc_cpufreq_attr[] = { };static struct cpufreq_driver cppc_cpufreq_driver = { - .flags =CPUFREQ_CONST_LOOPS , + .flags =CPUFREQ_CONST_LOOPS |CPUFREQ_NEED_UPDATE_LIMITS , .verify = cppc_verify_policy, .target = cppc_cpufreq_set_target, .get = cppc_cpufreq_get_rate,
drivers/cpufreq/cpufreq.c +5 -3
@@ -2716,10 +2716,12 @@ static int cpufreq_set_policy(struct cpufreq_policy *policy,pr_debug ("starting governor %s failed\n" , policy->governor->name);if (old_gov) { policy->governor = old_gov; -if (cpufreq_init_governor (policy)) +if (cpufreq_init_governor (policy)) { policy->governor =NULL ; -else -cpufreq_start_governor (policy); + }else if (cpufreq_start_governor (policy)) { +cpufreq_exit_governor (policy); + policy->governor =NULL ; + } }return ret;
drivers/cpufreq/intel_pstate.c +2 -0
@@ -2775,6 +2775,8 @@ static const struct x86_cpu_id intel_pstate_cpu_ids[] = {X86_MATCH (INTEL_TIGERLAKE , core_funcs),X86_MATCH (INTEL_SAPPHIRERAPIDS_X , core_funcs),X86_MATCH (INTEL_EMERALDRAPIDS_X , core_funcs), +X86_MATCH (INTEL_GRANITERAPIDS_D , core_funcs), +X86_MATCH (INTEL_GRANITERAPIDS_X , core_funcs), {} };MODULE_DEVICE_TABLE (x86cpu, intel_pstate_cpu_ids);
drivers/cpuidle/governors/menu.c +17 -4
@@ -97,6 +97,14 @@ static inline int which_bucket(u64 duration_ns) static DEFINE_PER_CPU(struct menu_device, menu_devices); +static void menu_update_intervals (struct menu_device *data,unsigned int interval_us) +{ +/* Update the repeating-pattern data. */ + data->intervals[data->interval_ptr++] = interval_us; +if (data->interval_ptr >=INTERVALS ) + data->interval_ptr =0 ; +} +static void menu_update (struct cpuidle_driver *drv,struct cpuidle_device *dev);/*
@@ -222,6 +230,14 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,if (data->needs_update) {menu_update (drv, dev); data->needs_update =0 ; + }else if (!dev->last_residency_ns) { +/* +* This happens when the driver rejects the previously selected +* idle state and returns an error, so update the recent +* intervals table to prevent invalid information from being +* used going forward. +*/ +menu_update_intervals (data,UINT_MAX ); }/* Find the shortest expected idle interval. */
@@ -482,10 +498,7 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev) data->correction_factor[data->bucket] = new_factor; -/* update the repeating-pattern data */ - data->intervals[data->interval_ptr++] =ktime_to_us (measured_ns); -if (data->interval_ptr >=INTERVALS ) - data->interval_ptr =0 ; +menu_update_intervals (data,ktime_to_us (measured_ns)); }/**
drivers/crypto/caam/ctrl.c +1 -1
@@ -573,7 +573,7 @@ static const struct soc_device_attribute caam_imx_soc_table[] = { { .soc_id = "i.MX7*", .data = &caam_imx7_data }, { .soc_id = "i.MX8M*", .data = &caam_imx7_data }, { .soc_id = "i.MX8ULP", .data = &caam_imx8ulp_data }, - { .soc_id = "i.MX8QM", .data = &caam_imx8ulp_data }, + { .soc_id = "i.MX8Q*", .data = &caam_imx8ulp_data }, { .soc_id = "VF*", .data = &caam_vf610_data }, { .family = "Freescale i.MX" }, {/* sentinel */ }
drivers/crypto/ccp/sp-pci.c +1 -0
@@ -453,6 +453,7 @@ static const struct psp_vdata pspv6 = { .cmdresp_reg = 0x10944, /* C2PMSG_17 */ .cmdbuff_addr_lo_reg = 0x10948, /* C2PMSG_18 */ .cmdbuff_addr_hi_reg = 0x1094c, /* C2PMSG_19 */ + .bootloader_info_reg = 0x109ec, /* C2PMSG_59 */ .feature_reg = 0x109fc, /* C2PMSG_63 */ .inten_reg = 0x10510, /* P2CMSG_INTEN */ .intsts_reg = 0x10514, /* P2CMSG_INTSTS */
drivers/crypto/hisilicon/hpre/hpre_crypto.c +6 -2
@@ -1491,11 +1491,13 @@ static void hpre_ecdh_cb(struct hpre_ctx *ctx, void *resp)if (overtime_thrhld &&hpre_is_bd_timeout (req, overtime_thrhld))atomic64_inc (&dfx[HPRE_OVER_THRHLD_CNT ].value); +/* Do unmap before data processing */ +hpre_ecdh_hw_data_clr_all (ctx, req, areq->dst, areq->src); + p =sg_virt (areq->dst);memmove (p, p + ctx->key_sz - curve_sz, curve_sz);memmove (p + curve_sz, p + areq->dst_len - curve_sz, curve_sz); -hpre_ecdh_hw_data_clr_all (ctx, req, areq->dst, areq->src);kpp_request_complete (areq, ret);atomic64_inc (&dfx[HPRE_RECV_CNT ].value);
@@ -1808,9 +1810,11 @@ static void hpre_curve25519_cb(struct hpre_ctx *ctx, void *resp)if (overtime_thrhld &&hpre_is_bd_timeout (req, overtime_thrhld))atomic64_inc (&dfx[HPRE_OVER_THRHLD_CNT ].value); +/* Do unmap before data processing */ +hpre_curve25519_hw_data_clr_all (ctx, req, areq->dst, areq->src); +hpre_key_to_big_end (sg_virt (areq->dst),CURVE25519_KEY_SIZE ); -hpre_curve25519_hw_data_clr_all (ctx, req, areq->dst, areq->src);kpp_request_complete (areq, ret);atomic64_inc (&dfx[HPRE_RECV_CNT ].value);
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c +14 -2
@@ -1494,6 +1494,7 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf)dma_addr_t rptr_baddr;struct pci_dev *pdev;u32 len, compl_rlen; +int timeout =10000 ;int ret, etype;void *rptr;
@@ -1554,16 +1555,27 @@ int otx2_cpt_discover_eng_capabilities(struct otx2_cptpf_dev *cptpf) etype);otx2_cpt_fill_inst (&inst, &iq_cmd, rptr_baddr); lfs->ops->send_cmd (&inst,1 , &cptpf->lfs.lf[0 ]); + timeout =10000 ;while (lfs->ops->cpt_get_compcode (result) == -OTX2_CPT_COMPLETION_CODE_INIT ) +OTX2_CPT_COMPLETION_CODE_INIT ) {cpu_relax (); +udelay (1 ); + timeout--; +if (!timeout) { + ret = -ENODEV ; + cptpf->is_eng_caps_discovered = false; +dev_warn (&pdev->dev,"Timeout on CPT load_fvc completion poll\n" ); + goto error_no_response; + } + } cptpf->eng_caps[etype].u =be64_to_cpup (rptr); } -dma_unmap_single (&pdev->dev, rptr_baddr, len,DMA_BIDIRECTIONAL ); cptpf->is_eng_caps_discovered = true; +error_no_response: +dma_unmap_single (&pdev->dev, rptr_baddr, len,DMA_BIDIRECTIONAL ); free_result:kfree (result); lf_cleanup:
drivers/devfreq/governor_userspace.c +5 -1
@@ -9,6 +9,7 @@#include <linux/slab.h> #include <linux/device.h> #include <linux/devfreq.h> +#include <linux/kstrtox.h> #include <linux/pm.h> #include <linux/mutex.h> #include <linux/module.h>
@@ -39,10 +40,13 @@ static ssize_t set_freq_store(struct device *dev, struct device_attribute *attr,unsigned long wanted;int err =0 ; + err =kstrtoul (buf,0 , &wanted); +if (err) +return err; +mutex_lock (&devfreq->lock); data = devfreq->governor_data; -sscanf (buf,"%lu" , &wanted); data->user_frequency = wanted; data->valid = true; err =update_devfreq (devfreq);
drivers/dma/stm32/stm32-dma.c +1 -1
@@ -744,7 +744,7 @@ static void stm32_dma_handle_chan_done(struct stm32_dma_chan *chan, u32 scr)/* cyclic while CIRC/DBM disable => post resume reconfiguration needed */ if (!(scr & (STM32_DMA_SCR_CIRC |STM32_DMA_SCR_DBM )))stm32_dma_post_resume_reconfigure (chan); -else if (scr &STM32_DMA_SCR_DBM ) +else if (scr &STM32_DMA_SCR_DBM && chan->desc->num_sgs >2 )stm32_dma_configure_next_sg (chan); }else { chan->busy = false;
drivers/edac/ie31200_edac.c +4 -0
@@ -91,6 +91,8 @@#define PCI_DEVICE_ID_INTEL_IE31200_RPL_S_2 0x4640#define PCI_DEVICE_ID_INTEL_IE31200_RPL_S_3 0x4630#define PCI_DEVICE_ID_INTEL_IE31200_RPL_S_4 0xa700 +#define PCI_DEVICE_ID_INTEL_IE31200_RPL_S_5 0xa740 +#define PCI_DEVICE_ID_INTEL_IE31200_RPL_S_6 0xa704/* Alder Lake-S */ #define PCI_DEVICE_ID_INTEL_IE31200_ADL_S_1 0x4660
@@ -740,6 +742,8 @@ static const struct pci_device_id ie31200_pci_tbl[] = { { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_RPL_S_2), (kernel_ulong_t)&rpl_s_cfg}, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_RPL_S_3), (kernel_ulong_t)&rpl_s_cfg}, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_RPL_S_4), (kernel_ulong_t)&rpl_s_cfg}, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_RPL_S_5), (kernel_ulong_t)&rpl_s_cfg}, + { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_RPL_S_6), (kernel_ulong_t)&rpl_s_cfg}, { PCI_VDEVICE(INTEL, PCI_DEVICE_ID_INTEL_IE31200_ADL_S_1), (kernel_ulong_t)&rpl_s_cfg}, { 0, } /* 0 terminated list. */ };
drivers/edac/synopsys_edac.c +46 -51
161 lines not on this page · raw message
drivers/firmware/arm_ffa/driver.c +1 -1
@@ -2059,7 +2059,7 @@ static int __init ffa_init(void)kfree (drv_info);return ret; } -module_init (ffa_init); +rootfs_initcall (ffa_init); static void __exit ffa_exit(void) {
drivers/firmware/arm_scmi/scmi_power_control.c +17 -5
@@ -46,6 +46,7 @@#include <linux/math.h> #include <linux/module.h> #include <linux/mutex.h> +#include <linux/pm.h> #include <linux/printk.h> #include <linux/reboot.h> #include <linux/scmi_protocol.h>
@@ -324,12 +325,7 @@ static int scmi_userspace_notifier(struct notifier_block *nb,static void scmi_suspend_work_func (struct work_struct *work) { -struct scmi_syspower_conf *sc = - container_of(work, struct scmi_syspower_conf, suspend_work); -pm_suspend (PM_SUSPEND_MEM ); - - sc->state =SCMI_SYSPOWER_IDLE ; }static int scmi_syspower_probe (struct scmi_device *sdev)
@@ -354,6 +350,7 @@ static int scmi_syspower_probe(struct scmi_device *sdev) sc->required_transition =SCMI_SYSTEM_MAX ; sc->userspace_nb.notifier_call = &scmi_userspace_notifier; sc->dev = &sdev->dev; +dev_set_drvdata (&sdev->dev, sc);INIT_WORK (&sc->suspend_work, scmi_suspend_work_func);
@@ -363,6 +360,18 @@ static int scmi_syspower_probe(struct scmi_device *sdev) NULL, &sc->userspace_nb); } +static int scmi_system_power_resume (struct device *dev) +{ +struct scmi_syspower_conf *sc =dev_get_drvdata (dev); + + sc->state =SCMI_SYSPOWER_IDLE ; +return 0 ; +} + +static const struct dev_pm_ops scmi_system_power_pmops = { +SYSTEM_SLEEP_PM_OPS (NULL , scmi_system_power_resume) +}; +static const struct scmi_device_id scmi_id_table[] = { {SCMI_PROTOCOL_SYSTEM ,"syspower" }, { },
@@ -370,6 +379,9 @@ static const struct scmi_device_id scmi_id_table[] = {MODULE_DEVICE_TABLE (scmi, scmi_id_table);static struct scmi_driver scmi_system_power_driver = { + .driver = { + .pm =pm_sleep_ptr (&scmi_system_power_pmops), + }, .name ="scmi-system-power" , .probe = scmi_syspower_probe, .id_table = scmi_id_table,
drivers/firmware/tegra/Kconfig +3 -2
@@ -2,7 +2,7 @@ menu "Tegra firmware driver" config TEGRA_IVC - bool "Tegra IVC protocol" + bool "Tegra IVC protocol" if COMPILE_TEST depends on ARCH_TEGRA help IVC (Inter-VM Communication) protocol is part of the IPC
@@ -13,8 +13,9 @@ config TEGRA_IVC config TEGRA_BPMP bool "Tegra BPMP driver" - depends on ARCH_TEGRA && TEGRA_HSP_MBOX && TEGRA_IVC + depends on ARCH_TEGRA && TEGRA_HSP_MBOX depends on !CPU_BIG_ENDIAN + select TEGRA_IVC help BPMP (Boot and Power Management Processor) is designed to off-loading the PM functions which include clock/DVFS/thermal/power from the CPU.
drivers/gpio/gpio-loongson-64bit.c +6 -0
@@ -222,6 +222,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls2k2000_data0 = { .conf_offset = 0x0, .in_offset = 0xc, .out_offset = 0x8, + .inten_offset = 0x14, };static const struct loongson_gpio_chip_data loongson_gpio_ls2k2000_data1 = {
@@ -230,6 +231,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls2k2000_data1 = { .conf_offset = 0x0, .in_offset = 0x20, .out_offset = 0x10, + .inten_offset = 0x30, };static const struct loongson_gpio_chip_data loongson_gpio_ls2k2000_data2 = {
@@ -246,6 +248,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls3a5000_data = { .conf_offset = 0x0, .in_offset = 0xc, .out_offset = 0x8, + .inten_offset = 0x14, };static const struct loongson_gpio_chip_data loongson_gpio_ls7a_data = {
@@ -254,6 +257,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls7a_data = { .conf_offset = 0x800, .in_offset = 0xa00, .out_offset = 0x900, + .inten_offset = 0xb00, };/* LS7A2000 chipset GPIO */
@@ -263,6 +267,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls7a2000_data0 = { .conf_offset = 0x800, .in_offset = 0xa00, .out_offset = 0x900, + .inten_offset = 0xb00, };/* LS7A2000 ACPI GPIO */
@@ -281,6 +286,7 @@ static const struct loongson_gpio_chip_data loongson_gpio_ls3a6000_data = { .conf_offset = 0x0, .in_offset = 0xc, .out_offset = 0x8, + .inten_offset = 0x14, };static const struct of_device_id loongson_gpio_of_match[] = {
drivers/gpio/gpio-mlxbf2.c +1 -1
@@ -397,7 +397,7 @@ mlxbf2_gpio_probe(struct platform_device *pdev) gc->ngpio = npins; gc->owner =THIS_MODULE ; - irq =platform_get_irq (pdev,0 ); + irq =platform_get_irq_optional (pdev,0 );if (irq >=0 ) { girq = &gs->gc.irq;gpio_irq_chip_set_chip (girq, &mlxbf2_gpio_irq_chip);
drivers/gpio/gpio-mlxbf3.c +19 -35
67 lines not on this page · raw message
drivers/gpio/gpio-pxa.c +1 -7
@@ -497,8 +497,6 @@ static void pxa_mask_muxed_gpio(struct irq_data *d) gfer =readl_relaxed (base +GFER_OFFSET ) & ~GPIO_bit (gpio);writel_relaxed (grer, base +GRER_OFFSET );writel_relaxed (gfer, base +GFER_OFFSET ); - -gpiochip_disable_irq (&pchip->chip, gpio); }static int pxa_gpio_set_wake (struct irq_data *d,unsigned int on)
@@ -518,21 +516,17 @@ static void pxa_unmask_muxed_gpio(struct irq_data *d)unsigned int gpio =irqd_to_hwirq (d);struct pxa_gpio_bank *c =gpio_to_pxabank (&pchip->chip, gpio); -gpiochip_enable_irq (&pchip->chip, gpio); - c->irq_mask |=GPIO_bit (gpio);update_edge_detect (c); } -static const struct irq_chip pxa_muxed_gpio_chip = { +static struct irq_chip pxa_muxed_gpio_chip = { .name ="GPIO" , .irq_ack = pxa_ack_muxed_gpio, .irq_mask = pxa_mask_muxed_gpio, .irq_unmask = pxa_unmask_muxed_gpio, .irq_set_type = pxa_gpio_irq_type, .irq_set_wake = pxa_gpio_set_wake, - .flags =IRQCHIP_IMMUTABLE , -GPIOCHIP_IRQ_RESOURCE_HELPERS , };static int pxa_gpio_nums (struct platform_device *pdev)
drivers/gpio/gpio-tps65912.c +5 -2
@@ -49,10 +49,13 @@ static int tps65912_gpio_direction_output(struct gpio_chip *gc, unsigned offset, int value) {struct tps65912_gpio *gpio =gpiochip_get_data (gc); +int ret;/* Set the initial value */ -regmap_update_bits (gpio->tps->regmap,TPS65912_GPIO1 + offset, -GPIO_SET_MASK , value ?GPIO_SET_MASK :0 ); + ret =regmap_update_bits (gpio->tps->regmap,TPS65912_GPIO1 + offset, +GPIO_SET_MASK , value ?GPIO_SET_MASK :0 ); +if (ret) +return ret;return regmap_update_bits (gpio->tps->regmap,TPS65912_GPIO1 + offset,GPIO_CFG_MASK ,GPIO_CFG_MASK );
drivers/gpio/gpio-virtio.c +5 -4
@@ -526,7 +526,6 @@ static const char **virtio_gpio_get_names(struct virtio_gpio *vgpio,static int virtio_gpio_probe (struct virtio_device *vdev) { -struct virtio_gpio_config config;struct device *dev = &vdev->dev;struct virtio_gpio *vgpio;struct irq_chip *gpio_irq_chip;
@@ -539,9 +538,11 @@ static int virtio_gpio_probe(struct virtio_device *vdev)return -ENOMEM ;/* Read configuration */ -virtio_cread_bytes (vdev,0 , &config,sizeof (config)); - gpio_names_size =le32_to_cpu (config.gpio_names_size); - ngpio =le16_to_cpu (config.ngpio); + gpio_names_size = +virtio_cread32 (vdev, offsetof(struct virtio_gpio_config , + gpio_names_size)); + ngpio =virtio_cread16 (vdev, offsetof(struct virtio_gpio_config , + ngpio));if (!ngpio) {dev_err (dev,"Number of GPIOs can't be zero\n" );return -EINVAL ;
drivers/gpio/gpio-wcd934x.c +5 -2
@@ -46,9 +46,12 @@ static int wcd_gpio_direction_output(struct gpio_chip *chip, unsigned int pin, int val) {struct wcd_gpio_data *data =gpiochip_get_data (chip); +int ret; -regmap_update_bits (data->map,WCD_REG_DIR_CTL_OFFSET , -WCD_PIN_MASK (pin),WCD_PIN_MASK (pin)); + ret =regmap_update_bits (data->map,WCD_REG_DIR_CTL_OFFSET , +WCD_PIN_MASK (pin),WCD_PIN_MASK (pin)); +if (ret) +return ret; return regmap_update_bits(data->map, WCD_REG_VAL_CTL_OFFSET, WCD_PIN_MASK(pin),
drivers/gpu/drm/amd/amdgpu/aldebaran.c +29 -4
@@ -71,18 +71,29 @@ aldebaran_get_reset_handler(struct amdgpu_reset_control *reset_ctl,return NULL ; } +static inline uint32_t aldebaran_get_ip_block_mask (struct amdgpu_device *adev) +{ +uint32_t ip_block_mask =BIT (AMD_IP_BLOCK_TYPE_GFX ) | +BIT (AMD_IP_BLOCK_TYPE_SDMA ); + +if (adev->aid_mask) + ip_block_mask |=BIT (AMD_IP_BLOCK_TYPE_IH ); + +return ip_block_mask; +} +static int aldebaran_mode2_suspend_ip (struct amdgpu_device *adev) { +uint32_t ip_block_mask =aldebaran_get_ip_block_mask (adev); +uint32_t ip_block;int r, i;amdgpu_device_set_pg_state (adev,AMD_PG_STATE_UNGATE );amdgpu_device_set_cg_state (adev,AMD_CG_STATE_UNGATE );for (i = adev->num_ip_blocks -1 ; i >=0 ; i--) { -if (!(adev->ip_blocks[i].version->type == -AMD_IP_BLOCK_TYPE_GFX || - adev->ip_blocks[i].version->type == -AMD_IP_BLOCK_TYPE_SDMA )) + ip_block =BIT (adev->ip_blocks[i].version->type); +if (!(ip_block_mask & ip_block))continue ; r =amdgpu_ip_block_suspend (&adev->ip_blocks[i]);
@@ -200,8 +211,10 @@ aldebaran_mode2_perform_reset(struct amdgpu_reset_control *reset_ctl,static int aldebaran_mode2_restore_ip (struct amdgpu_device *adev) {struct amdgpu_firmware_info *ucode_list[AMDGPU_UCODE_ID_MAXIMUM ]; +uint32_t ip_block_mask =aldebaran_get_ip_block_mask (adev);struct amdgpu_firmware_info *ucode;struct amdgpu_ip_block *cmn_block; +struct amdgpu_ip_block *ih_block;int ucode_count =0 ;int i, r;
@@ -243,6 +256,18 @@ static int aldebaran_mode2_restore_ip(struct amdgpu_device *adev)if (r)return r; +if (ip_block_mask &BIT (AMD_IP_BLOCK_TYPE_IH )) { + ih_block =amdgpu_device_ip_get_ip_block (adev, +AMD_IP_BLOCK_TYPE_IH ); +if (unlikely (!ih_block)) { +dev_err (adev->dev,"Failed to get IH handle\n" ); +return -EINVAL ; + } + r =amdgpu_ip_block_resume (ih_block); +if (r) +return r; + } +/* Reinit GFXHUB */ adev->gfxhub.funcs->init (adev); r = adev->gfxhub.funcs->gart_enable (adev);
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c +4 -2
@@ -212,7 +212,7 @@ int amdgpu_cper_entry_fill_bad_page_threshold_section(struct amdgpu_device *adev NONSTD_SEC_OFFSET(hdr->sec_cnt, idx));
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +11 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +19 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v11_0_8.c +15 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v12_0.c +11 -7
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c +15 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v13_0_4.c +15 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/psp_v14_0.c +15 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +20 -8
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc.c +7 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +5 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/link/link_dpms.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c +3 -13
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +15 -22
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h +21 -20
41 lines not on this page · raw message
drivers/gpu/drm/clients/drm_client_setup.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_fbc.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_psr.c +9 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/imagination/pvr_power.c +58 -1
59 lines not on this page · raw message
drivers/gpu/drm/msm/adreno/a6xx_catalog.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/adreno/a6xx_preempt.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/adreno/adreno_gen7_9_0_snapshot.h +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/msm/registers/adreno/a6xx.xml +650 -2932
3,582 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a6xx_descriptors.xml new file +198 -0
198 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a6xx_enums.xml new file +383 -0
383 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a6xx_perfcntrs.xml new file +600 -0
600 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a7xx_enums.xml new file +223 -0
223 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a7xx_perfcntrs.xml new file +1030 -0
1,030 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml +213 -89
302 lines not on this page · raw message
drivers/gpu/drm/panel/panel-raydium-rm67200.c +7 -15
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/scheduler/sched_main.c +21 -13
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/scheduler/tests/tests_basic.c +42 -0
42 lines not on this page · raw message
drivers/gpu/drm/xe/xe_guc_exec_queue_types.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/xe/xe_migrate.c +27 -15
42 lines not on this page · raw message
drivers/infiniband/hw/bnxt_re/ib_verbs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/affinity.c +24 -20
44 lines not on this page · raw message
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/iommu/iommufd/io_pagetable.c +30 -18
48 lines not on this page · raw message
drivers/md/dm-ps-historical-service-time.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/i2c/tc358743.c +53 -33
86 lines not on this page · raw message
drivers/media/platform/qcom/iris/iris_buffer.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen1_defines.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/qcom/venus/hfi_msgs.c +58 -25
83 lines not on this page · raw message
drivers/media/platform/raspberrypi/rp1-cfe/cfe.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/media/usb/uvc/uvc_ctrl.c +56 -9
65 lines not on this page · raw message
drivers/net/dsa/b53/b53_common.c +61 -17
78 lines not on this page · raw message
drivers/net/ethernet/aquantia/atlantic/aq_hw.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c +39 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/bnxt/bnxt.c +22 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/cavium/thunder/thunder_bgx.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/emulex/benet/be_main.c +4 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/faraday/ftgmac100.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c +14 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc_hw.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/enetc/enetc_pf.c +12 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/fec_main.c +16 -18
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/freescale/gianfar_ethtool.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/google/gve/gve_adminq.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hibmcge/hbg_err.c +5 -9
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hibmcge/hbg_hw.c +13 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hibmcge/hbg_txrx.h +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf.h +19 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_ethtool.c +28 -8
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_lib.c +17 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/idpf/idpf_txrx.c +9 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mediatek/mtk_wed.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en/qos.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/pensando/ionic/ionic_lif.c +3 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c +14 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ti/icssg/icss_iep.c +20 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/ti/icssg/icssg_prueth.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/phy/air_en8811h.c +41 -4
45 lines not on this page · raw message
drivers/net/wireless/ath/ath10k/core.c +43 -5
48 lines not on this page · raw message
drivers/net/wireless/ath/ath12k/mac.c +38 -19
57 lines not on this page · raw message
drivers/net/wireless/intel/iwlegacy/4965-mac.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/dvm/rs.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/fw/dbg.c +6 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/iwl-drv.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/agg.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/iface.h +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/link.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/mld.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/mlo.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/scan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mld/scan.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/d3.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/scan.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/internal.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/trans.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/channel.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt76.h +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c +18 -10
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7996/mac.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/pci.c +16 -7
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/chan.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/coex.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/core.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/fw.c +8 -2
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/fw.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/mac.c +19 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/reg.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw89/wow.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-dw-rockchip.c +12 -3
Lines of this file are not shown. View the raw message.
drivers/phy/rockchip/phy-rockchip-pcie.c +7 -8
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_sensorhub.c +19 -4
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_typec.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/platform/x86/amd/pmc/pmc-quirks.c +9 -0
Lines of this file are not shown. View the raw message.
drivers/scsi/scsi_transport_sas.c +48 -12
60 lines not on this page · raw message
drivers/staging/gpib/ni_usb/ni_usb_gpib.c +7 -7
Lines of this file are not shown. View the raw message.
drivers/target/target_core_fabric_lib.c +48 -15
63 lines not on this page · raw message
drivers/thermal/qcom/qcom-spmi-temp-alarm.c +34 -9
43 lines not on this page · raw message
drivers/tty/serial/serial_core.c +22 -22
44 lines not on this page · raw message
drivers/usb/typec/tcpm/tcpci_maxim_core.c +30 -16
46 lines not on this page · raw message
drivers/virt/coco/efi_secret/efi_secret.c +1 -9
Lines of this file are not shown. View the raw message.
drivers/watchdog/sbsa_gwdt.c +47 -3
50 lines not on this page · raw message
fs/btrfs/file.c +51 -8
59 lines not on this page · raw message
fs/btrfs/qgroup.c +30 -14
44 lines not on this page · raw message
fs/btrfs/tree-log.c +70 -37
107 lines not on this page · raw message
fs/btrfs/zoned.c +63 -3
66 lines not on this page · raw message
fs/ext4/mballoc.c +31 -36
67 lines not on this page · raw message
fs/hfs/bnode.c +93 -0
93 lines not on this page · raw message
fs/hfs/btree.c +46 -11
57 lines not on this page · raw message
fs/hfsplus/bnode.c +92 -0
92 lines not on this page · raw message
fs/nfs/client.c +42 -2
44 lines not on this page · raw message
fs/smb/client/cifsencrypt.c +61 -18
79 lines not on this page · raw message
fs/smb/client/compress.c +21 -50
71 lines not on this page · raw message
include/linux/blkdev.h +55 -0
55 lines not on this page · raw message
kernel/Makefile +42 -5
47 lines not on this page · raw message
kernel/gen_kheaders.sh +22 -72
94 lines not on this page · raw message
kernel/printk/nbcon.c +41 -22
63 lines not on this page · raw message
kernel/rcu/tree_plugin.h +33 -11
44 lines not on this page · raw message
lib/sbitmap.c +29 -27
56 lines not on this page · raw message
net/core/ieee8021q_helpers.c +13 -31
44 lines not on this page · raw message
net/mac80211/mlme.c +38 -7
45 lines not on this page · raw message
net/mac80211/rx.c +15 -32
47 lines not on this page · raw message
net/netfilter/nf_conntrack_netlink.c +30 -35
65 lines not on this page · raw message
net/xfrm/xfrm_state.c +44 -30
74 lines not on this page · raw message
security/apparmor/domain.c +29 -23
52 lines not on this page · raw message
sound/pci/hda/hda_codec.c +15 -27
42 lines not on this page · raw message
tools/power/cpupower/utils/idle_monitor/mperf_monitor.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/arm64/fp/sve-ptrace.c +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/ringbuf.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/prog_tests/user_ringbuf.c +7 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/test_ringbuf_write.c +2 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/verifier_unpriv.c +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/futex/include/futextest.h +11 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/netfilter/config +1 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/vDSO/vdso_test_getrandom.c +4 -2
Lines of this file are not shown. View the raw message.
tools/verification/dot2/dot2k_templates/Kconfig_container new file +5 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.