Skip to contentSkip to conversation

Linux 5.10.241

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Aug 28, 2025 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.241 kernel.

All users of the 5.10 kernel series must upgrade.

The updated 5.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.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/f2fs.rst                               |    6 
 Documentation/firmware-guide/acpi/i2c-muxes.rst                  |    8 
 Documentation/memory-barriers.txt                                |   11 
 Makefile                                                         |    4 
 arch/arm/Makefile                                                |    2 
 arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi                    |    1 
 arch/arm/boot/dts/vfxxx.dtsi                                     |    2 
 arch/arm/mach-rockchip/platsmp.c                                 |   15 
 arch/arm/mach-tegra/reset.c                                      |    2 
 arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi             |    2 
 arch/arm64/include/asm/acpi.h                                    |    2 
 arch/arm64/mm/ptdump_debugfs.c                                   |    3 
 arch/m68k/Kconfig.debug                                          |    2 
 arch/m68k/kernel/early_printk.c                                  |   42 -
 arch/m68k/kernel/head.S                                          |   39 -
 arch/mips/crypto/chacha-core.S                                   |   20 
 arch/mips/include/asm/vpe.h                                      |    8 
 arch/mips/kernel/process.c                                       |   16 
 arch/mips/mm/tlb-r4k.c                                           |   56 +
 arch/parisc/Makefile                                             |    2 
 arch/powerpc/configs/ppc6xx_defconfig                            |    1 
 arch/powerpc/kernel/eeh.c                                        |    1 
 arch/powerpc/kernel/eeh_driver.c                                 |   48 +
 arch/powerpc/kernel/eeh_pe.c                                     |   11 
 arch/powerpc/kernel/pci-hotplug.c                                |    3 
 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c                    |    6 
 arch/s390/hypfs/hypfs_dbfs.c                                     |   19 
 arch/s390/include/asm/timex.h                                    |   13 
 arch/s390/kernel/time.c                                          |    2 
 arch/s390/mm/dump_pagetables.c                                   |    2 
 arch/sh/Makefile                                                 |   10 
 arch/sh/boot/compressed/Makefile                                 |    4 
 arch/sh/boot/romimage/Makefile                                   |    4 
 arch/x86/include/asm/xen/hypercall.h                             |    6 
 arch/x86/kernel/cpu/amd.c                                        |    2 
 arch/x86/kernel/cpu/bugs.c                                       |    5 
 arch/x86/kernel/cpu/mce/amd.c                                    |   13 
 arch/x86/mm/extable.c                                            |    5 
 block/bio.c                                                      |    2 
 block/blk-settings.c                                             |    2 
 drivers/acpi/acpi_processor.c                                    |    2 
 drivers/acpi/apei/ghes.c                                         |    2 
 drivers/acpi/processor_idle.c                                    |    4 
 drivers/acpi/processor_perflib.c                                 |   11 
 drivers/ata/Kconfig                                              |   35 -
 drivers/ata/libata-sata.c                                        |    5 
 drivers/ata/libata-scsi.c                                        |   20 
 drivers/base/power/domain_governor.c                             |   18 
 drivers/base/power/runtime.c                                     |    5 
 drivers/block/drbd/drbd_receiver.c                               |    6 
 drivers/block/sunvdc.c                                           |    4 
 drivers/bus/mhi/host/boot.c                                      |    8 
 drivers/bus/mhi/host/internal.h                                  |    4 
 drivers/char/hw_random/mtk-rng.c                                 |    4 
 drivers/char/ipmi/ipmi_msghandler.c                              |    8 
 drivers/char/ipmi/ipmi_watchdog.c                                |   59 +-
 drivers/clk/davinci/psc.c                                        |    5 
 drivers/clk/sunxi-ng/ccu-sun8i-v3s.c                             |    3 
 drivers/cpufreq/armada-8k-cpufreq.c                              |    2 
 drivers/cpufreq/cppc_cpufreq.c                                   |    2 
 drivers/cpufreq/cpufreq.c                                        |   29 
 drivers/cpuidle/governors/menu.c                                 |   21 
 drivers/crypto/ccp/ccp-debugfs.c                                 |    3 
 drivers/crypto/img-hash.c                                        |    2 
 drivers/crypto/inside-secure/safexcel_hash.c                     |    8 
 drivers/crypto/marvell/cesa/cipher.c                             |    4 
 drivers/crypto/marvell/cesa/hash.c                               |    5 
 drivers/crypto/qat/qat_common/adf_transport_debug.c              |    4 
 drivers/devfreq/governor_userspace.c                             |    6 
 drivers/dma-buf/dma-resv.c                                       |    5 
 drivers/dma/mv_xor.c                                             |   21 
 drivers/dma/nbpfaxi.c                                            |   24 
 drivers/fpga/zynq-fpga.c                                         |   10 
 drivers/gpio/gpio-rcar.c                                         |   20 
 drivers/gpio/gpio-tps65912.c                                     |    7 
 drivers/gpio/gpio-wcd934x.c                                      |    7 
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                              |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c                          |    4 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                       |    6 
 drivers/gpu/drm/amd/display/dc/bios/command_table.c              |    2 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c      |    2 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c   |   40 -
 drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/dce60_clk_mgr.c     |   31 -
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c               |   11 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c              |    2 
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c                        |    6 
 drivers/gpu/drm/drm_dp_helper.c                                  |    2 
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c                       |    9 
 drivers/gpu/drm/scheduler/sched_entity.c                         |   23 
 drivers/gpu/drm/ttm/ttm_resource.c                               |    3 
 drivers/hid/hid-core.c                                           |   19 
 drivers/hwmon/corsair-cpro.c                                     |    5 
 drivers/hwmon/gsc-hwmon.c                                        |    4 
 drivers/i2c/busses/i2c-qup.c                                     |    4 
 drivers/i2c/busses/i2c-stm32.c                                   |    8 
 drivers/i2c/busses/i2c-stm32f7.c                                 |    4 
 drivers/i2c/i2c-core-acpi.c                                      |    1 
 drivers/i3c/internals.h                                          |    1 
 drivers/i3c/master.c                                             |    2 
 drivers/idle/intel_idle.c                                        |    2 
 drivers/iio/adc/ad7768-1.c                                       |   23 
 drivers/iio/adc/ad_sigma_delta.c                                 |    4 
 drivers/iio/adc/max1363.c                                        |   43 -
 drivers/iio/adc/stm32-adc-core.c                                 |    7 
 drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c                 |    6 
 drivers/iio/light/as73211.c                                      |    2 
 drivers/iio/light/hid-sensor-prox.c                              |    3 
 drivers/iio/pressure/bmp280-core.c                               |    9 
 drivers/iio/proximity/isl29501.c                                 |   16 
 drivers/infiniband/core/cache.c                                  |    4 
 drivers/infiniband/core/nldev.c                                  |   22 
 drivers/infiniband/hw/bnxt_re/qplib_res.c                        |    2 
 drivers/infiniband/hw/hfi1/affinity.c                            |   44 -
 drivers/infiniband/sw/rxe/rxe_comp.c                             |   16 
 drivers/input/joystick/xpad.c                                    |    2 
 drivers/iommu/amd/init.c                                         |    4 
 drivers/leds/leds-lp50xx.c                                       |   11 
 drivers/md/dm-core.h                                             |   52 +
 drivers/md/dm-historical-service-time.c                          |    4 
 drivers/md/dm-queue-length.c                                     |    4 
 drivers/md/dm-round-robin.c                                      |    4 
 drivers/md/dm-rq.c                                               |    8 
 drivers/md/dm-service-time.c                                     |    4 
 drivers/md/dm-zoned-target.c                                     |    2 
 drivers/md/dm.c                                                  |   59 --
 drivers/media/cec/usb/rainshadow/rainshadow-cec.c                |    3 
 drivers/media/dvb-frontends/dib7000p.c                           |    8 
 drivers/media/i2c/hi556.c                                        |   26 
 drivers/media/i2c/ov2659.c                                       |    3 
 drivers/media/i2c/tc358743.c                                     |   86 +-
 drivers/media/platform/qcom/camss/camss.c                        |    4 
 drivers/media/platform/qcom/venus/core.c                         |   21 
 drivers/media/platform/qcom/venus/core.h                         |    2 
 drivers/media/platform/qcom/venus/dbgfs.c                        |    9 
 drivers/media/platform/qcom/venus/dbgfs.h                        |   13 
 drivers/media/platform/qcom/venus/hfi_venus.c                    |   14 
 drivers/media/platform/qcom/venus/vdec.c                         |    5 
 drivers/media/usb/gspca/vicam.c                                  |   10 
 drivers/media/usb/hdpvr/hdpvr-i2c.c                              |    6 
 drivers/media/usb/usbtv/usbtv-video.c                            |    4 
 drivers/media/usb/uvc/uvc_driver.c                               |    3 
 drivers/media/usb/uvc/uvc_video.c                                |   21 
 drivers/media/v4l2-core/v4l2-ctrls.c                             |   37 +
 drivers/memstick/core/memstick.c                                 |    3 
 drivers/memstick/host/rtsx_usb_ms.c                              |    1 
 drivers/misc/cardreader/rtsx_usb.c                               |   16 
 drivers/mmc/host/bcm2835.c                                       |    3 
 drivers/mmc/host/rtsx_usb_sdmmc.c                                |    4 
 drivers/mmc/host/sdhci-msm.c                                     |   14 
 drivers/mmc/host/sdhci-pci-core.c                                |    3 
 drivers/mmc/host/sdhci-pci-gli.c                                 |    4 
 drivers/mmc/host/sdhci_am654.c                                   |    9 
 drivers/most/core.c                                              |    2 
 drivers/mtd/ftl.c                                                |    2 
 drivers/mtd/nand/raw/atmel/nand-controller.c                     |    2 
 drivers/mtd/nand/raw/atmel/pmecc.c                               |    6 
 drivers/mtd/nand/raw/fsmc_nand.c                                 |    2 
 drivers/net/can/kvaser_pciefd.c                                  |    1 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c                 |    1 
 drivers/net/dsa/b53/b53_common.c                                 |   54 +
 drivers/net/dsa/b53/b53_regs.h                                   |    2 
 drivers/net/ethernet/agere/et131x.c                              |   36 +
 drivers/net/ethernet/atheros/ag71xx.c                            |    9 
 drivers/net/ethernet/cavium/thunder/thunder_bgx.c                |    4 
 drivers/net/ethernet/emulex/benet/be_cmds.c                      |    2 
 drivers/net/ethernet/emulex/benet/be_main.c                      |    8 
 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c               |    4 
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c                 |   66 +-
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h                 |   13 
 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c             |   16 
 drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c                 |   95 +--
 drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.h                 |    5 
 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/google/gve/gve_main.c                       |   67 +-
 drivers/net/ethernet/hisilicon/hns3/hnae3.h                      |   17 
 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c               |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c                  |   33 -
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c       |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c          |    4 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c           |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c            |   49 -
 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c        |   25 
 drivers/net/ethernet/intel/e1000e/defines.h                      |    3 
 drivers/net/ethernet/intel/e1000e/ich8lan.c                      |    2 
 drivers/net/ethernet/intel/e1000e/nvm.c                          |    6 
 drivers/net/ethernet/intel/fm10k/fm10k.h                         |    3 
 drivers/net/ethernet/intel/i40e/i40e.h                           |    2 
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c                   |    3 
 drivers/net/ethernet/intel/i40e/i40e_main.c                      |   18 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c               |    4 
 drivers/net/ethernet/intel/ice/ice_flex_pipe.c                   |    2 
 drivers/net/ethernet/intel/ixgbe/ixgbe.h                         |    3 
 drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c                     |    4 
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c                   |    2 
 drivers/net/ethernet/mellanox/mlxsw/trap.h                       |    1 
 drivers/net/ethernet/xilinx/xilinx_emaclite.c                    |    2 
 drivers/net/hyperv/hyperv_net.h                                  |    3 
 drivers/net/hyperv/netvsc_drv.c                                  |   29 
 drivers/net/phy/mscc/mscc_ptp.c                                  |    1 
 drivers/net/phy/mscc/mscc_ptp.h                                  |    1 
 drivers/net/phy/smsc.c                                           |    1 
 drivers/net/ppp/pptp.c                                           |   18 
 drivers/net/usb/sierra_net.c                                     |    4 
 drivers/net/usb/usbnet.c                                         |   11 
 drivers/net/virtio_net.c                                         |   38 +
 drivers/net/vrf.c                                                |    2 
 drivers/net/wireless/ath/ath11k/hal.c                            |   25 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c      |    8 
 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c   |    2 
 drivers/net/wireless/intel/iwlegacy/4965-mac.c                   |    5 
 drivers/net/wireless/intel/iwlwifi/dvm/main.c                    |   11 
 drivers/net/wireless/intel/iwlwifi/dvm/rs.c                      |    2 
 drivers/net/wireless/intel/iwlwifi/fw/dbg.c                      |    7 
 drivers/net/wireless/intel/iwlwifi/mvm/ops.c                     |    4 
 drivers/net/wireless/intel/iwlwifi/mvm/scan.c                    |    2 
 drivers/net/wireless/marvell/mwl8k.c                             |    4 
 drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c               |    3 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c            |    2 
 drivers/net/wireless/realtek/rtlwifi/pci.c                       |   23 
 drivers/net/xen-netfront.c                                       |    5 
 drivers/pci/controller/pcie-rockchip-host.c                      |    2 
 drivers/pci/endpoint/pci-ep-cfs.c                                |    1 
 drivers/pci/endpoint/pci-epf-core.c                              |    2 
 drivers/pci/hotplug/pnv_php.c                                    |  233 +++++++
 drivers/pci/pci-acpi.c                                           |    4 
 drivers/pci/pci.c                                                |    8 
 drivers/pci/probe.c                                              |    2 
 drivers/phy/tegra/xusb-tegra186.c                                |   59 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c                            |    1 
 drivers/pinctrl/sunxi/pinctrl-sunxi.c                            |   11 
 drivers/platform/chrome/cros_ec.c                                |   23 
 drivers/platform/chrome/cros_ec.h                                |    2 
 drivers/platform/chrome/cros_ec_i2c.c                            |    4 
 drivers/platform/chrome/cros_ec_lpc.c                            |    4 
 drivers/platform/chrome/cros_ec_spi.c                            |    4 
 drivers/platform/chrome/cros_ec_typec.c                          |    4 
 drivers/platform/x86/thinkpad_acpi.c                             |    4 
 drivers/power/supply/max14577_charger.c                          |    4 
 drivers/pps/pps.c                                                |   11 
 drivers/ptp/ptp_clock.c                                          |   13 
 drivers/pwm/pwm-imx-tpm.c                                        |    9 
 drivers/pwm/pwm-mediatek.c                                       |   78 +-
 drivers/regulator/core.c                                         |    1 
 drivers/reset/Kconfig                                            |   10 
 drivers/rtc/rtc-ds1307.c                                         |   17 
 drivers/rtc/rtc-hym8563.c                                        |    2 
 drivers/rtc/rtc-pcf85063.c                                       |    2 
 drivers/rtc/rtc-pcf8563.c                                        |    2 
 drivers/rtc/rtc-rv3028.c                                         |    2 
 drivers/scsi/aacraid/comminit.c                                  |    3 
 drivers/scsi/bfa/bfad_im.c                                       |    1 
 drivers/scsi/ibmvscsi_tgt/libsrp.c                               |    6 
 drivers/scsi/isci/request.c                                      |    2 
 drivers/scsi/libiscsi.c                                          |    3 
 drivers/scsi/lpfc/lpfc_debugfs.c                                 |    1 
 drivers/scsi/lpfc/lpfc_scsi.c                                    |    4 
 drivers/scsi/lpfc/lpfc_sli.c                                     |    8 
 drivers/scsi/mpt3sas/mpt3sas_scsih.c                             |   19 
 drivers/scsi/mvsas/mv_sas.c                                      |    4 
 drivers/scsi/pm8001/pm8001_init.c                                |   11 
 drivers/scsi/pm8001/pm8001_sas.h                                 |    1 
 drivers/scsi/qla4xxx/ql4_os.c                                    |    2 
 drivers/scsi/scsi_scan.c                                         |    2 
 drivers/scsi/scsi_transport_sas.c                                |   60 +-
 drivers/scsi/ufs/ufs-exynos.c                                    |    4 
 drivers/scsi/ufs/ufshcd.c                                        |   10 
 drivers/soc/aspeed/aspeed-lpc-snoop.c                            |   13 
 drivers/soc/qcom/mdt_loader.c                                    |   41 +
 drivers/soc/tegra/pmc.c                                          |   51 -
 drivers/soundwire/stream.c                                       |    2 
 drivers/staging/comedi/comedi_fops.c                             |   61 +-
 drivers/staging/comedi/comedi_internal.h                         |    1 
 drivers/staging/comedi/drivers.c                                 |   30 -
 drivers/staging/comedi/drivers/aio_iiro_16.c                     |    3 
 drivers/staging/comedi/drivers/comedi_test.c                     |    2 
 drivers/staging/comedi/drivers/das16m1.c                         |    3 
 drivers/staging/comedi/drivers/das6402.c                         |    3 
 drivers/staging/comedi/drivers/pcl812.c                          |    3 
 drivers/staging/fbtft/fbtft-core.c                               |    1 
 drivers/staging/media/imx/imx-media-csc-scaler.c                 |    2 
 drivers/staging/nvec/nvec_power.c                                |    2 
 drivers/thermal/thermal_sysfs.c                                  |    9 
 drivers/thunderbolt/domain.c                                     |    2 
 drivers/thunderbolt/switch.c                                     |    2 
 drivers/tty/serial/8250/8250_port.c                              |    3 
 drivers/tty/serial/pch_uart.c                                    |    2 
 drivers/tty/vt/defkeymap.c_shipped                               |  112 +++
 drivers/tty/vt/keyboard.c                                        |    2 
 drivers/uio/uio_hv_generic.c                                     |    4 
 drivers/usb/atm/cxacru.c                                         |  106 +--
 drivers/usb/chipidea/ci.h                                        |   18 
 drivers/usb/chipidea/udc.c                                       |   10 
 drivers/usb/class/cdc-acm.c                                      |   13 
 drivers/usb/core/config.c                                        |   10 
 drivers/usb/core/hub.c                                           |   60 +-
 drivers/usb/core/hub.h                                           |    1 
 drivers/usb/core/quirks.c                                        |    1 
 drivers/usb/core/urb.c                                           |    2 
 drivers/usb/dwc3/core.c                                          |   10 
 drivers/usb/dwc3/dwc3-meson-g12a.c                               |    3 
 drivers/usb/dwc3/dwc3-qcom.c                                     |    7 
 drivers/usb/dwc3/gadget.c                                        |   14 
 drivers/usb/early/xhci-dbc.c                                     |    4 
 drivers/usb/gadget/composite.c                                   |    5 
 drivers/usb/gadget/configfs.c                                    |    2 
 drivers/usb/gadget/udc/renesas_usb3.c                            |    1 
 drivers/usb/host/xhci-hub.c                                      |    3 
 drivers/usb/host/xhci-mem.c                                      |   24 
 drivers/usb/host/xhci-pci-renesas.c                              |    7 
 drivers/usb/host/xhci-plat.c                                     |    3 
 drivers/usb/host/xhci-ring.c                                     |   19 
 drivers/usb/host/xhci.c                                          |   24 
 drivers/usb/host/xhci.h                                          |    3 
 drivers/usb/musb/musb_core.c                                     |   62 +-
 drivers/usb/musb/musb_core.h                                     |   11 
 drivers/usb/musb/musb_debugfs.c                                  |    6 
 drivers/usb/musb/musb_gadget.c                                   |   30 -
 drivers/usb/musb/musb_host.c                                     |    6 
 drivers/usb/musb/musb_virthub.c                                  |   18 
 drivers/usb/musb/omap2430.c                                      |   10 
 drivers/usb/phy/phy-mxs-usb.c                                    |    4 
 drivers/usb/serial/ftdi_sio.c                                    |    2 
 drivers/usb/serial/ftdi_sio_ids.h                                |    3 
 drivers/usb/serial/option.c                                      |    7 
 drivers/usb/storage/realtek_cr.c                                 |    2 
 drivers/usb/storage/unusual_devs.h                               |   29 
 drivers/usb/typec/mux/intel_pmc_mux.c                            |    2 
 drivers/usb/typec/tcpm/fusb302.c                                 |    8 
 drivers/usb/typec/ucsi/psy.c                                     |    2 
 drivers/usb/typec/ucsi/ucsi.c                                    |    1 
 drivers/usb/typec/ucsi/ucsi.h                                    |    7 
 drivers/vhost/scsi.c                                             |    4 
 drivers/vhost/vhost.c                                            |    3 
 drivers/video/console/vgacon.c                                   |    2 
 drivers/video/fbdev/imxfb.c                                      |    9 
 drivers/watchdog/dw_wdt.c                                        |    2 
 drivers/watchdog/ziirave_wdt.c                                   |    3 
 drivers/xen/gntdev-common.h                                      |    4 
 drivers/xen/gntdev.c                                             |   71 +-
 fs/btrfs/ctree.h                                                 |    2 
 fs/btrfs/inode.c                                                 |    4 
 fs/btrfs/ioctl.c                                                 |    2 
 fs/btrfs/qgroup.c                                                |    2 
 fs/btrfs/send.c                                                  |    4 
 fs/btrfs/transaction.c                                           |    2 
 fs/btrfs/tree-log.c                                              |   53 +
 fs/buffer.c                                                      |    2 
 fs/cifs/cifssmb.c                                                |   10 
 fs/cifs/smb2ops.c                                                |    7 
 fs/cifs/smbdirect.c                                              |   14 
 fs/ext4/fsmap.c                                                  |   23 
 fs/ext4/indirect.c                                               |    4 
 fs/ext4/inline.c                                                 |   19 
 fs/ext4/inode.c                                                  |    2 
 fs/f2fs/f2fs.h                                                   |    2 
 fs/f2fs/inode.c                                                  |   28 
 fs/f2fs/node.c                                                   |   10 
 fs/file.c                                                        |   83 +-
 fs/hfs/bnode.c                                                   |   93 +++
 fs/hfsplus/bnode.c                                               |   92 +++
 fs/hfsplus/extents.c                                             |    3 
 fs/hfsplus/unicode.c                                             |    7 
 fs/hfsplus/xattr.c                                               |    6 
 fs/hugetlbfs/inode.c                                             |    2 
 fs/isofs/inode.c                                                 |    9 
 fs/jbd2/checkpoint.c                                             |    1 
 fs/jfs/file.c                                                    |    3 
 fs/jfs/inode.c                                                   |    2 
 fs/jfs/jfs_dmap.c                                                |   10 
 fs/libfs.c                                                       |    4 
 fs/namespace.c                                                   |   89 ++-
 fs/nfs/blocklayout/blocklayout.c                                 |    4 
 fs/nfs/blocklayout/dev.c                                         |    5 
 fs/nfs/blocklayout/extent_tree.c                                 |   20 
 fs/nfs/client.c                                                  |   46 +
 fs/nfs/export.c                                                  |   11 
 fs/nfs/flexfilelayout/flexfilelayout.c                           |   32 -
 fs/nfs/flexfilelayout/flexfilelayoutdev.c                        |    6 
 fs/nfs/inode.c                                                   |    6 
 fs/nfs/internal.h                                                |   10 
 fs/nfs/nfs4client.c                                              |   15 
 fs/nfs/nfs4proc.c                                                |   46 -
 fs/nfs/pnfs.c                                                    |   11 
 fs/nfsd/nfs4state.c                                              |   34 -
 fs/nilfs2/inode.c                                                |    9 
 fs/orangefs/orangefs-debugfs.c                                   |    8 
 fs/squashfs/super.c                                              |   14 
 fs/udf/super.c                                                   |   13 
 include/asm-generic/barrier.h                                    |   33 +
 include/linux/blk_types.h                                        |    8 
 include/linux/compiler.h                                         |    8 
 include/linux/cpuset.h                                           |   17 
 include/linux/fs.h                                               |    4 
 include/linux/fs_context.h                                       |    2 
 include/linux/if_vlan.h                                          |    6 
 include/linux/memfd.h                                            |   14 
 include/linux/minmax.h                                           |   17 
 include/linux/mm.h                                               |   80 +-
 include/linux/mmzone.h                                           |   22 
 include/linux/moduleparam.h                                      |    5 
 include/linux/pci.h                                              |    1 
 include/linux/platform_data/cros_ec_proto.h                      |    4 
 include/linux/pps_kernel.h                                       |    1 
 include/linux/sched/mm.h                                         |   16 
 include/linux/skbuff.h                                           |   31 +
 include/linux/usb/usbnet.h                                       |    1 
 include/linux/xarray.h                                           |   15 
 include/net/cfg80211.h                                           |    2 
 include/net/tc_act/tc_ctinfo.h                                   |    6 
 include/net/udp.h                                                |   24 
 include/uapi/linux/in6.h                                         |    4 
 include/uapi/linux/io_uring.h                                    |    2 
 include/uapi/linux/mount.h                                       |    3 
 kernel/cgroup/cpuset.c                                           |   23 
 kernel/events/core.c                                             |   20 
 kernel/fork.c                                                    |    2 
 kernel/power/console.c                                           |    7 
 kernel/rcu/tree_plugin.h                                         |    3 
 kernel/trace/ftrace.c                                            |   19 
 kernel/trace/trace.c                                             |   33 -
 kernel/trace/trace.h                                             |    8 
 kernel/trace/trace_events.c                                      |    5 
 mm/filemap.c                                                     |    2 
 mm/hmm.c                                                         |    2 
 mm/kmemleak.c                                                    |   10 
 mm/madvise.c                                                     |    2 
 mm/memfd.c                                                       |    2 
 mm/mmap.c                                                        |   10 
 mm/page_alloc.c                                                  |   13 
 mm/ptdump.c                                                      |    2 
 mm/shmem.c                                                       |    2 
 mm/slab.h                                                        |    5 
 mm/slob.c                                                        |    6 
 mm/vmalloc.c                                                     |   16 
 mm/zsmalloc.c                                                    |    6 
 net/8021q/vlan.c                                                 |   42 +
 net/8021q/vlan.h                                                 |    1 
 net/appletalk/aarp.c                                             |   42 +
 net/appletalk/ddp.c                                              |    7 
 net/bluetooth/l2cap_core.c                                       |   26 
 net/bluetooth/l2cap_sock.c                                       |    3 
 net/bluetooth/smp.c                                              |   21 
 net/bluetooth/smp.h                                              |    1 
 net/bridge/netfilter/nft_reject_bridge.c                         |   60 --
 net/caif/cfctrl.c                                                |  294 ++++------
 net/core/filter.c                                                |    3 
 net/core/netpoll.c                                               |    7 
 net/hsr/hsr_slave.c                                              |    8 
 net/ipv4/netfilter/nf_reject_ipv4.c                              |    4 
 net/ipv4/route.c                                                 |    1 
 net/ipv4/tcp_input.c                                             |    3 
 net/ipv4/udp_offload.c                                           |    2 
 net/ipv6/ip6_offload.c                                           |    4 
 net/ipv6/netfilter/nf_reject_ipv6.c                              |    4 
 net/ipv6/rpl_iptunnel.c                                          |    8 
 net/ipv6/seg6_hmac.c                                             |    3 
 net/mac80211/tx.c                                                |    7 
 net/ncsi/internal.h                                              |    2 
 net/ncsi/ncsi-rsp.c                                              |    1 
 net/netfilter/nf_conntrack_netlink.c                             |   24 
 net/netfilter/nf_tables_api.c                                    |    4 
 net/netfilter/nft_reject.c                                       |   12 
 net/netfilter/nft_reject_inet.c                                  |   68 --
 net/netfilter/xt_nfacct.c                                        |    4 
 net/netlink/af_netlink.c                                         |    2 
 net/packet/af_packet.c                                           |   39 -
 net/phonet/pep.c                                                 |    2 
 net/sched/act_ctinfo.c                                           |   19 
 net/sched/sch_cake.c                                             |   14 
 net/sched/sch_codel.c                                            |    5 
 net/sched/sch_drr.c                                              |    7 
 net/sched/sch_ets.c                                              |   46 -
 net/sched/sch_fq_codel.c                                         |    6 
 net/sched/sch_hfsc.c                                             |    8 
 net/sched/sch_htb.c                                              |   19 
 net/sched/sch_netem.c                                            |   40 +
 net/sched/sch_qfq.c                                              |   40 -
 net/sctp/input.c                                                 |    2 
 net/tls/tls_sw.c                                                 |   13 
 net/vmw_vsock/af_vsock.c                                         |    3 
 net/wireless/mlme.c                                              |    3 
 samples/mei/mei-amt-version.c                                    |    2 
 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 
 scripts/kconfig/qconf.cc                                         |    2 
 security/apparmor/include/match.h                                |    3 
 security/apparmor/match.c                                        |    1 
 security/inode.c                                                 |    2 
 sound/core/pcm_native.c                                          |   19 
 sound/pci/hda/patch_ca0132.c                                     |    7 
 sound/pci/hda/patch_hdmi.c                                       |   19 
 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                                          |   30 -
 sound/soc/intel/boards/Kconfig                                   |    2 
 sound/soc/soc-core.c                                             |    3 
 sound/soc/soc-dai.c                                              |   19 
 sound/soc/soc-dapm.c                                             |    4 
 sound/soc/soc-ops.c                                              |   26 
 sound/usb/mixer_quirks.c                                         |   14 
 sound/usb/mixer_scarlett_gen2.c                                  |    8 
 sound/usb/stream.c                                               |   25 
 sound/usb/validate.c                                             |   14 
 tools/bpf/bpftool/net.c                                          |   15 
 tools/include/linux/sched/mm.h                                   |    2 
 tools/perf/tests/bp_account.c                                    |    1 
 tools/power/cpupower/utils/idle_monitor/mperf_monitor.c          |    4 
 tools/testing/ktest/ktest.pl                                     |    5 
 tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc  |   28 
 tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc |    2 
 tools/testing/selftests/futex/include/futextest.h                |   11 
 tools/testing/selftests/memfd/memfd_test.c                       |   43 +
 tools/testing/selftests/net/mptcp/Makefile                       |    3 
 tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh          |    5 
 tools/testing/selftests/net/mptcp/pm_netlink.sh                  |    1 
 tools/testing/selftests/net/rtnetlink.sh                         |    6 
 523 files changed, 4755 insertions(+), 2125 deletions(-)

Aaron Kling (1):
ARM: tegra: Use I/O memcpy to write to IRAM

Abdun Nihaal (1):
staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()

Adam Ford (1):
arm64: dts: imx8mm-beacon: Fix HS400 USDHC clock speed

Ajish Koshy (1):

      scsi: pm80xx: Fix memory leak during rmmod

Al Viro (4):
better lockdep annotations for simple_recursive_removal()
securityfs: don't pin dentries twice, once is enough... use uniform permission checks for all mount propagation changes alloc_fdtable(): change calling conventions.

Alessandro Carminati (1):
regulator: core: fix NULL dereference on unbind due to stale coupling data

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

Alexander Gordeev (1):
mm/vmalloc: leave lazy MMU mode on PTE mapping error

Alexander Kochetkov (1):
ARM: rockchip: fix kernel hang during smp initialization

Alexander Wilhelm (1):
bus: mhi: host: Fix endianness of BHI vector table

Alok Tiwari (7):
thunderbolt: Fix bit masking in tb_dp_port_set_hops()
net: emaclite: Fix missing pointer increment in aligned_read()
staging: nvec: Fix incorrect null termination of battery manufacturer
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()
gve: Return error for unknown admin queue command

Amir Mohammad Jahangirzad (1):
fs/orangefs: use snprintf() instead of sprintf()

Ammar Faizi (1):
net: usbnet: Fix the wrong netif_carrier_on() call

Anantha Prabhu (1):
RDMA/bnxt_re: Fix to initialize the PBL array

Andreas Dilger (1):
ext4: check fast symlink for ea_inode correctly

Andrew Jeffery (2):
soc: aspeed: lpc-snoop: Cleanup resources in stack-order
soc: aspeed: lpc-snoop: Don't disable channels that aren't enabled

Andrew Lunn (1):
net: appletalk: fix kerneldoc warnings

André Draszik (1):
scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE

Andy Shevchenko (2):
mm/hmm: move pmd_to_hmm_pfn_flags() to the respective #ifdeffery
Documentation: ACPI: Fix parent device references

Andy Yan (1):
drm/rockchip: cleanup fb when drm_gem_fb_afbc_init failed

Anna Schumaker (1):
NFS: Create an nfs4_server_set_init_caps() function

Annette Kobou (1):
ARM: dts: imx6ul-kontron-bl-common: Fix RTS polarity for RS485 interface

Anshuman Khandual (1):
mm/ptdump: take the memory hotplug lock inside ptdump_walk_pgd()

Anthoine Bourgeois (1):
xen/netfront: Fix TX response spurious interrupts

Arnaud Lecomte (1):
jfs: upper bound check of tree index in dbAllocAG

Arnd Bergmann (5):
ethernet: intel: fix building with large NR_CPUS
ASoC: Intel: fix SND_SOC_SOF dependencies
ASoC: ops: dynamically allocate struct snd_ctl_elem_value
caif: reduce stack size, again
RDMA/core: reduce stack using in nldev_stat_get_doit()

Arun Raghavan (1):
ASoC: fsl_sai: Force a software reset when starting in consumer mode

Avraham Stern (1):
wifi: iwlwifi: mvm: fix scan request validation

Balamanikandan Gunasundar (1):
mtd: rawnand: atmel: set pmecc data setup time

Baokun Li (1):
jbd2: prevent softlockup in jbd2_log_do_checkpoint()

Bard Liao (1):
soundwire: stream: restore params when prepare ports fail

Bartosz Golaszewski (2):
gpio: wcd934x: check the return value of regmap_update_bits()
gpio: tps65912: check the return value of regmap_update_bits()

Ben Hutchings (1):
sh: Do not use hyphen in exported variable name

Benjamin Coddington (1):
NFS: Fixup allocation flags for nfsiod's __GFP_NORETRY

Benjamin Tissoires (3):
HID: core: ensure the allocated report buffer can contain the reserved report ID
HID: core: ensure __hid_request reserves the report ID as the first byte
HID: core: do not bypass hid_hw_raw_request

Benson Leung (1):
usb: typec: ucsi: psy: Set current max to 100mA for BC 1.2 and Default

Bingbu Cao (1):
media: hi556: correct the test pattern configuration

Bjorn Andersson (1):
soc: qcom: mdt_loader: Ensure we don't read past the ELF header

Brahmajit Das (1):
samples: mei: Fix building on musl libc

Breno Leitao (3):
ACPI: APEI: GHES: add TAINT_MACHINE_CHECK on GHES panic path
ipmi: Use dev_warn_ratelimited() for incorrect message warnings mm/kmemleak: avoid deadlock by moving pr_warn() outside kmemleak_lock

Brian Masney (5):
rtc: ds1307: fix incorrect maximum clock rate handling
rtc: hym8563: fix incorrect maximum clock rate handling
rtc: pcf85063: fix incorrect maximum clock rate handling
rtc: pcf8563: fix incorrect maximum clock rate handling
rtc: rv3028: fix incorrect maximum clock rate handling

Buday Csaba (1):
net: phy: smsc: add proper reset flags for LAN8710A

Budimir Markovic (1):
vsock: Do not allow binding to VMADDR_PORT_ANY

Bui Quang Minh (1):
virtio-net: ensure the received length does not exceed allocated size

Chao Yu (6):
f2fs: doc: fix wrong quota mount option description
f2fs: fix to avoid UAF in f2fs_sync_inode_meta()
f2fs: fix to avoid panic in f2fs_evict_inode
f2fs: fix to avoid out-of-boundary access in devs.path
f2fs: fix to do sanity check on ino and xnid
f2fs: fix to avoid out-of-boundary access in dnode page

Charles Han (1):
power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set

Cheick Traore (1):
pinctrl: stm32: Manage irq affinity settings

Chen Ni (1):
iio: adc: stm32-adc: Fix race in installing chained IRQ handler

Chen-Yu Tsai (1):
platform/chrome: cros_ec: Use per-device lockdep key

Chenyuan Yang (1):
fbdev: imxfb: Check fb_add_videomode to prevent null-ptr-deref

Christophe JAILLET (1):
uio_hv_generic: Fix another memory leak in error handling paths

Christophe Leroy (1):
ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop

Clément Le Goffic (1):
i2c: stm32: fix the device used for the DMA map

Cong Wang (6):
sch_htb: make htb_qlen_notify() idempotent
sch_drr: make drr_qlen_notify() idempotent
sch_hfsc: make hfsc_qlen_notify() idempotent
sch_qfq: make qfq_qlen_notify() idempotent
codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
sch_htb: make htb_deactivate() idempotent

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 (8):
ata: libata-sata: Disallow changing LPM state if not supported
scsi: mpt3sas: Correctly handle ATA device errors
ata: libata-scsi: Fix ata_to_sense_error() status handling
PCI: endpoint: Fix configfs group list head handling
PCI: endpoint: Fix configfs group removal on driver teardown
block: Make REQ_OP_ZONE_FINISH a write operation
ata: Fix SATA_MOBILE_LPM_POLICY description in Kconfig
dm: rearrange core declarations for extended use from dm-zone.c

Dan Carpenter (7):
dmaengine: nbpfaxi: Fix memory corruption in probe()
watchdog: ziirave_wdt: check record length in ziirave_firm_verify() fs/orangefs: Allow 2 more characters in do_c_string()
cpufreq: armada-8k: Fix off by one in armada_8k_cpufreq_free_table()
media: gspca: Add bounds checking to firmware parser
scsi: qla4xxx: Prevent a potential error pointer dereference
ALSA: usb-audio: Fix size validation in convert_chmap_v3()

Daniel Dadap (1):
ALSA: hda: Add missing NVIDIA HDA codec IDs

Daniel Vetter (1):
mm: extract might_alloc() debug check

Daniil Dulov (1):
wifi: rtl818x: Kill URBs before clearing tx status queue

Dave Hansen (1):
x86/fpu: Delay instruction pointer fixup until after warning

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 Laight (1):
minmax: add umin(a, b) and umax(a, b)

David Lechner (2):
iio: proximity: isl29501: fix buffered read on big-endian systems
iio: adc: ad_sigma_delta: change to buffer predisable

Davide Caratti (2):
net/sched: sch_ets: properly init all active DRR list handles net/sched: ets: use old 'nbands' while purging unused classes

Dawid Rezler (1):

      ALSA: hda/realtek - Add mute LED support for HP Pavilion 15-eg0xxx

Denis OSTERLAND-HEIM (1):
pps: fix poll support

Dennis Chen (1):
i40e: report VF tx_dropped with tx_errors instead of tx_discards

Dikshita Agarwal (1):
media: venus: Add support for SSR trigger using fault injection

Dong Chenchen (1):
net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime

Drew Hamilton (1):
usb: musb: fix gadget state on disconnect

Edson Juliano Drosdeck (1):
mmc: sdhci-pci: Quirk for broken command queuing on Intel GLK-based Positivo models

Edward Adam Davis (1):
jfs: Regular file corruption check

Emily Deng (1):
drm/ttm: Should to return the evict error

Eric Biggers (2):
thunderbolt: Fix copy+paste error in match_service_id() lib/crypto: mips/chacha: Fix clang build and remove unneeded byteswap

Eric Dumazet (5):
net_sched: act_ctinfo: use atomic64_t for three counters
pptp: ensure minimal skb length in pptp_xmit()
ipv6: reject malicious packets in ipv6_gso_segment()
pptp: fix pptp_xmit() error path
net_sched: sch_ets: implement lockless ets_dump()

Evgeniy Harchenko (1):
ALSA: hda/realtek: Add support for HP EliteBook x360 830 G6 and EliteBook 830 G6

Fabio Estevam (2):

      iio: adc: max1363: Fix MAX1363_4X_CHANS/MAX1363_8X_CHANS[]
      iio: adc: max1363: Reorder mode_list[] entries

Fabio Porcedda (1):
USB: serial: option: add Telit Cinterion FE910C04 (ECM) composition

Fedor Pchelkin (3):
drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
netfilter: nf_tables: adjust lockdep assertions handling
netlink: avoid infinite retry looping in netlink_unicast()

Feng Tang (1):
mm/page_alloc: detect allocation forbidden by cpuset and bail out early

Filipe Manana (2):
btrfs: fix log tree replay failure due to file with 0 links and extents
btrfs: fix deadlock when cloning inline extents and using qgroups

Finn Thain (2):
m68k: Don't unregister boot console needlessly
m68k: Fix lost column on framebuffer debug console

Florian Westphal (3):
netfilter: xt_nfacct: don't assume acct name is null-terminated
netfilter: ctnetlink: fix refcount leak on table dump
netfilter: nf_reject: don't leak dst refcount for loopback packets

Gal Pressman (1):
net: vlan: Replace BUG() with WARN_ON_ONCE() in vlan_dev_* stubs

Gautham R. Shenoy (1):
pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop()

Geoffrey D. Bennett (1):
ALSA: scarlett2: Add retry on -EPROTO from scarlett2_usb_tx()

Giovanni Cabiddu (1):
crypto: qat - fix seq_file position update in adf_ring_next()

Gokul Sivakumar (1):
wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE

Greg Kroah-Hartman (2):
Revert "vmci: Prevent the dispatching of uninitialized payloads" Linux 5.10.241

Guchun Chen (1):
drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume

Gui-Dong Han (1):
media: rainshadow-cec: fix TOCTOU race condition in rain_interrupt()

Haiyang Zhang (1):
hv_netvsc: Fix panic during namespace deletion with VF

Hans Verkuil (1):
media: v4l2-ctrls: always copy the controls on completion

Hans Zhang (1):
PCI: rockchip-host: Fix "Unexpected Completion" log message

Haoxiang Li (2):
media: imx: fix a potential memory leak in imx_media_csc_scaler_device_init()
ice: Fix a null pointer dereference in ice_copy_and_init_pkg()

Hari Kalavakunta (1):
net: ncsi: Fix buffer overflow in fetching version id

Harry Yoo (1):
mm/zsmalloc: do not pass __GFP_MOVABLE if CONFIG_COMPACTION=n

Helge Deller (1):
Revert "vgacon: Add check for vc_origin address range in vgacon_scroll()"

Henry Martin (1):
clk: davinci: Add NULL check in davinci_lpsc_clk_register()

Herbert Xu (1):
crypto: marvell/cesa - Fix engine load inaccuracy

Hongyu Xie (1):
xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS

Horatiu Vultur (1):
phy: mscc: Fix parsing of unicast frames

Hsin-Te Yuan (1):
thermal: sysfs: Return ENODATA instead of EAGAIN for reads

Hyejeong Choi (1):
dma-buf: insert memory barrier before updating num_fences

Ian Abbott (10):
comedi: pcl812: Fix bit shift out of bounds
comedi: aio_iiro_16: Fix bit shift out of bounds
comedi: das16m1: Fix bit shift out of bounds
comedi: das6402: Fix bit shift out of bounds
comedi: Fix some signed shift left operations
comedi: Fix use of uninitialized data in insn_rw_emulate_bits()
comedi: Fix initialization of data for instructions that write to subdevice
comedi: comedi_test: Fix possible deletion of uninitialized timers
comedi: fix race between polling and detaching
comedi: Fail COMEDI_INSNLIST ioctl if n_insns is too large

Ido Schimmel (1):
mlxsw: spectrum: Forward packets with an IPv4 link-local source IP

Ilan Peer (1):
wifi: cfg80211: Fix interface type validation

Ilya Bakoulin (1):
drm/amd/display: Separate set_gsl from set_gsl_source_select

Imre Deak (1):
drm/dp: Change AUX DPCD probe address from DPCD_REV to LANE0_1_STATUS

Ioana Ciornei (3):
dpaa2-mac: split up initializing the MAC object from connecting to it
dpaa2-mac: export MAC counters even when in TYPE_FIXED
dpaa2-eth: retry the probe when the MAC is not yet discovered on the bus

Ivan Stepchenko (1):
mtd: fix possible integer overflow in erase_xfer()

Jacek Kowalski (2):
e1000e: disregard NVM checksum on tgp when valid checksum bit is not set
e1000e: ignore uninitialized checksum word on tgp

Jack Xiao (1):
drm/amdgpu: fix incorrect vm flags to map bo

Jakub Acs (1):
net, hsr: reject HSR frame if skb can't hold tag

Jakub Kicinski (2):
netpoll: prevent hanging NAPI when netcons gets enabled
uapi: in6: restore visibility of most IPv6 socket options

James Smart (1):
scsi: lpfc: Fix link down processing to address NULL pointer dereference

Jan Beulich (1):
compiler: remove __ADDRESSABLE_ASM{_STR,}() again

Jan Kara (2):
isofs: Verify inode mode when loading from disk
udf: Verify partition map count

Jason Wang (1):
vhost: fail early when __vhost_add_used() fails

Jason Xing (1):
ixgbe: xsk: resolve the negative overflow of budget in ixgbe_xmit_zc

Jay Chen (1):
usb: xhci: Set avg_trb_len = 8 for EP0 during Address Device Command

Jean-Baptiste Maneyrol (1):
iio: imu: inv_icm42600: change invalid data error to -EBUSY

Jeff Layton (1):
nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm()

Jian Shen (2):
net: hns3: refine the struct hane3_tc_info
net: hns3: fixed vf get max channels bug

Jiasheng Jiang (2):
iwlwifi: Add missing check for alloc_ordered_workqueue
scsi: lpfc: Remove redundant assignment to avoid memory leak

Jiaxun Yang (1):
MIPS: mm: tlb-r4k: Uniquify TLB entries on init

Jiayi Li (2):
ACPI: processor: perflib: Fix initial _PPC limit application
memstick: Fix deadlock by moving removing flag earlier

Jiayuan Chen (1):
bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls

Jimmy Assarsson (2):
can: kvaser_pciefd: Store device channel index
can: kvaser_usb: Assign netdev.dev_port based on device channel index

Johan Adolfsson (1):

      leds: leds-lp50xx: Handle reg to get correct multi_index

Johan Hovold (8):
net: gianfar: fix device leak when querying time stamp info
net: dpaa: fix device leak when querying time stamp info
usb: gadget: udc: renesas_usb3: fix device leak at unbind
usb: dwc3: meson-g12a: fix device leaks at unbind
wifi: ath11k: fix source ring-buffer corruption
USB: cdc-acm: do not log successful probe on later errors
usb: musb: omap2430: fix device leak at unbind
wifi: ath11k: fix dest ring-buffer corruption when ring is full

Johan Korsnes (1):
arch: powerpc: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX

Johannes Berg (1):
wifi: cfg80211: reject HTC bit for management frames

John Ernberg (1):
net: usbnet: Avoid potential RCU stall on LINK_CHANGE event

John Garry (2):
scsi: aacraid: Stop using PCI_IRQ_AFFINITY
block: avoid possible overflow for chunk_sectors check in blk_stack_limits()

Jon Hunter (1):
soc/tegra: pmc: Ensure power-domains are in a known state

Jonas Rebmann (1):
net: fec: allow disable coalescing

Jonathan Cameron (1):
iio: light: as73211: Ensure buffer holes are zeroed

Jonathan Santos (1):
iio: adc: ad7768-1: Ensure SYNC_IN pulse minimum timing requirement

Jorge Ramirez-Ortiz (2):
media: venus: hfi: explicitly release IRQ during teardown
media: venus: protect against spurious interrupts during probe

Jose M. Guisado Gomez (1):
netfilter: nft_reject: unify reject init and dump into nft_reject

Judith Mendez (1):
mmc: sdhci_am654: Workaround for Errata i2312

Juergen Gross (1):
xen/gntdev: remove struct gntdev_copy_batch from stack

Justin Tee (1):
scsi: lpfc: Check for hdwq null ptr when cleaning up lpfc_vport structure

Kees Cook (3):
arm64: Handle KCOV __init vs inline mismatches platform/x86: thinkpad_acpi: Handle KCOV __init vs inline mismatches iommu/amd: Avoid stack buffer overflow from kernel cmdline

Kefeng Wang (1):
asm-generic: Add memory barrier dma_mb()

Kito Xu (veritas501) (1):
net: appletalk: Fix use-after-free in AARP proxy probe

Krishna Kurapati (1):
usb: dwc3: qcom: Don't leave BCR asserted

Krzysztof Kozlowski (1):
ARM: dts: vfxxx: Correctly use two tuples for timer address

Kuen-Han Tsai (1):
usb: dwc3: Ignore late xferNotReady event to prevent halt timeout

Kuninori Morimoto (3):
ASoC: soc-dai: tidyup return value of snd_soc_xlate_tdm_slot_mask()
ASoC: soc-dapm: set bias_level if snd_soc_dapm_set_bias_level() was successed
ASoC: soc-dai.c: add missing flag check at snd_soc_pcm_dai_probe()

Kuniyuki Iwashima (2):
rpl: Fix use-after-free in rpl_do_srh_inline().
Bluetooth: Fix null-ptr-deref in l2cap_sock_resume_cb()

Laurentiu Mihalcea (1):
pwm: imx-tpm: Reset counter if CMOD is 0

Len Brown (1):
intel_idle: Allow loading ACPI tables for any family

Leo Yan (1):
perf tests bp_account: Fix leaked file descriptor

Leon Romanovsky (1):
RDMA/rxe: Return CQE error if invalid lkey was supplied

Li Zhong (1):
ACPI: processor: idle: Check acpi_fetch_acpi_dev() return value

Lifeng Zheng (4):
cpufreq: Initialize cpufreq-based frequency-invariance later
cpufreq: Init policy->rwsem before it may be possibly used
cpufreq: Exit governor when failed to start old governor
PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store()

Lin.Cao (1):
drm/sched: Remove optimization that causes hang when killing dependent jobs

Lizhi Xu (2):
vmci: Prevent the dispatching of uninitialized payloads
jfs: truncate good inode pages when hard link is 0

Lorenzo Stoakes (4):
mm: drop the assumption that VM_SHARED always implies writable
mm: update memfd seal write check to include F_SEAL_WRITE
mm: reinstate ability to map write-sealed memfd mappings read-only selftests/memfd: add test for mapping write-sealed memfd read-only

Lucas De Marchi (1):
usb: early: xhci-dbc: Fix early_ioremap leak

Lucy Thrun (1):
ALSA: hda/ca0132: Fix buffer overflow in add_tuning_control

Ludwig Disterhof (1):
media: usbtv: Lock resolution while streaming

Luiz Augusto von Dentz (3):
Bluetooth: SMP: If an unallowed command is received consider it a failure
Bluetooth: SMP: Fix using HCI_ERROR_REMOTE_USER_TERM on timeout
Bluetooth: L2CAP: Fix attempting to adjust outgoing MTU

Lukas Wunner (1):
PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable ports

Ma Ke (2):
sunvdc: Balance device refcount in vdc_port_mpgroup_check
dpaa2-eth: Fix device reference count leak in MAC endpoint handling

Maciej W. Rozycki (1):

      powerpc/eeh: Rely on dev->link_active_reporting

Mael GUERIN (1):
USB: storage: Add unusual-devs entry for Novatek NTK96550-based camera

Maor Gottlieb (1):
RDMA/core: Rate limit GID cache warning messages

Marco Elver (1):
locking/barriers, kcsan: Support generic instrumentation

Marek Szyprowski (1):
zynq_fpga: use sgtable-based scatterlist wrappers

Marek Vasut (1):
usb: renesas-xhci: Fix External ROM access timeouts

Mario Limonciello (3):
usb: xhci: Avoid showing warnings for dying controller
usb: xhci: Avoid showing errors during surprise removal drm/amd: Restore cached power limit during resume

Marius Zachmann (1):
hwmon: (corsair-cpro) Validate the size of the received input buffer

Mark Brown (1):
ASoC: hdac_hdmi: Rate limit logging on connection and disconnection

Martin Kaistra (1):
wifi: rtl8xxxu: Fix RX skb size for aggregation disabled

Masahiro Yamada (3):
kconfig: qconf: fix ConfigList::updateListAllforAll()
kconfig: gconf: avoid hardcoding model2 in on_treeview2_cursor_changed()
kconfig: gconf: fix potential memory leak in renderer_edited()

Masami Hiramatsu (Google) (1):
selftests: tracing: Use mutex_unlock for testing glob filter

Mathias Nyman (5):
usb: hub: fix detection of high tier USB3 devices behind suspended hubs
usb: hub: Fix flushing and scheduling of delayed work that tunes runtime pm
usb: hub: Fix flushing of delayed work used for post resume purposes
usb: hub: avoid warm port reset during USB3 disconnect
usb: hub: Don't try to recover devices lost during warm reset.

Matthew Wilcox (Oracle) (1):
XArray: Add calls to might_alloc()

Matthieu Baerts (NGI0) (2):
selftests: mptcp: connect: also cover alt modes
selftests: mptcp: pm: check flush doesn't reset limits

Maulik Shah (1):
pmdomain: governor: Consider CPU latency tolerance from pm_domain_cpu_gov

Mauro Carvalho Chehab (1):
media: venus: don't de-reference NULL pointers at IRQ time

Meagan Lloyd (2):
rtc: ds1307: handle oscillator stop flag (OSF) for ds1341
rtc: ds1307: remove clear of oscillator stop flag (OSF) in probe

Meng Li (1):
usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock

Mengbiao Xiong (1):
crypto: ccp - Fix crash when rebind ccp device for ccp.ko

Miao Li (1):
usb: quirks: Add DELAY_INIT quick for another SanDisk 3.2Gen1 Flash Drive

Miaohe Lin (1):
mm/zsmalloc.c: convert to use kmem_cache_zalloc in cache_alloc_zspage()

Miaoqian Lin (1):
most: core: Drop device reference after usage in get_channel()

Michael Zhivich (1):
x86/bugs: Fix use of possibly uninit value in amd_check_tsa_microcode()

Michal Schmidt (1):
benet: fix BUG when creating VFs

Mike Christie (1):
vhost-scsi: Fix log flooding with target does not exist errors

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

Ming Lei (2):
block: don't call rq_qos_ops->done_bio if the bio isn't tracked dm rq: don't queue request to blk-mq during DM suspend

Minhong He (1):
ipv6: sr: validate HMAC algorithm ID in seg6_hmac_info_add

Myrrh Periwinkle (3):
usb: typec: ucsi: Update power_supply on power role change
vt: keyboard: Don't process Unicode characters in K_OFF mode
vt: defkeymap: Map keycodes above 127 to K_HOLE

Nathan Chancellor (5):
phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept()
memstick: core: Zero initialize id_reg in h_memstick_read_dev_id()
usb: atm: cxacru: Merge cxacru_upload_firmware() into cxacru_heavy_init()
wifi: brcmsmac: Remove const from tbl_ptr parameter in wlc_lcnphy_common_read_table()
ARM: 9448/1: Use an absolute path to unified.h in KBUILD_AFLAGS

Niklas Söderlund (1):
gpio: rcar: Use raw_spinlock to protect register access

Nilton Perim Neto (1):
Input: xpad - set correct controller type for Acer NGR200

Ojaswin Mujoo (2):
ext4: fix fsmap end of range reporting with bigalloc
ext4: fix reserved gdt blocks handling in fsmap

Olga Kornievskaia (1):
NFSv4.2: another fix for listxattr

Oliver Neukum (3):
usb: net: sierra: check for no status endpoint
usb: core: usb_submit_urb: downgrade type check
cdc-acm: fix race between initial clearing halt and open

Oscar Maes (1):
net: ipv4: fix incorrect MTU in broadcast routes

Ovidiu Panait (1):
hwrng: mtk - handle devm_pm_runtime_enable errors

Pablo Neira Ayuso (1):
netfilter: nft_reject_inet: allow to use reject from inet ingress

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 Cercueil (1):
usb: musb: Add and use inline functions musb_{get,set}_state

Paul Chaignon (1):
bpf: Check flow_dissector ctx accesses are aligned

Paul E. McKenney (1):

      rcu: Protect ->defer_qs_iw_pending from data race

Paul Kocialkowski (1):
clk: sunxi-ng: v3s: Fix de clock definition

Pavel Begunkov (1):
io_uring: don't use int for ABI

Pavel Tikhomirov (1):
move_mount: allow to add a mount into an existing group

Pawan Gupta (1):
x86/bugs: Avoid warning when overriding return thunk

Peter Oberparleiter (2):
s390/hypfs: Avoid unnecessary ioctl registration in debugfs s390/hypfs: Enable limited access during lockdown

Peter Robinson (1):
reset: brcmstb: Enable reset drivers for ARCH_BCM2835

Peter Ujfalusi (1):

      ASoC: core: Check for rtd == NULL in snd_soc_remove_pcm_runtime()

Petr Pavlu (1):
module: Restore the moduleparam prefix length check

Phillip Lougher (1):
squashfs: fix memory leak in squashfs_fill_super

Prashant Malani (1):
cpufreq: CPPC: Mark driver with NEED_UPDATE_LIMITS flag

Praveen Kaligineedi (1):
gve: Fix stuck TX queue for DQ queue format

Pu Lehui (1):

      tracing: Limit access to parser->buffer when trace_get_user failed

Purva Yeshi (1):
md: dm-zoned-target: Initialize return variable r to avoid uninitialized use

Qu Wenruo (1):
btrfs: populate otime when logging an inode item

Quang Le (1):
net/packet: fix a race in packet_set_ring() and packet_notifier()

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()

Rand Deeb (1):
wifi: iwlwifi: dvm: fix potential overflow in rs_fill_link_cmd()

Randy Dunlap (1):
parisc: Makefile: fix a typo in palo.conf

Ranjan Kumar (1):
scsi: Fix sas_user_scan() to handle wildcard and multi-channel scans

Remi Pommarel (2):
wifi: mac80211: Check 802.11 encaps offloading in ieee80211_tx_h_select_key() Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()"

Ricardo Ribalda (2):
media: uvcvideo: Do not mark valid metadata as invalid
media: venus: vdec: Clamp param smaller than 1fps and bigger than 240.

Ricky Wu (1):
misc: rtsx: usb: Ensure mmc child device is active when card is present

RubenKelevra (1):
fs_context: fix parameter name in infofc() macro

Ryan Lee (1):
apparmor: ensure WB_HISTORY_SIZE value is a power of 2

Ryan Mann (NDI) (1):
USB: serial: ftdi_sio: add support for NDI EMGUIDE GEMINI

Ryusuke Konishi (1):
nilfs2: reject invalid file types when reading inodes

Sabrina Dubroca (1):
udp: also consider secpath when evaluating ipsec use for checksumming

Sakari Ailus (1):
media: v4l2-ctrls: Don't reset handler's error in v4l2_ctrl_handler_free()

Salah Triki (1):

      iio: pressure: bmp280: Use IS_ERR() in bmp280_common_probe()

Sarah Newman (1):
drbd: add missing kref_get in handle_write_conflicts

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

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

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

Sergey Senozhatsky (1):
wifi: ath11k: clear initialized flag for deinit-ed srng lists

Seunghui Lee (1):
scsi: ufs: core: Use link recovery when h8 exit fails during runtime resume

Shankari Anand (1):
kconfig: nconf: Ensure null termination where strncpy is used

Shengjiu Wang (1):
ASoC: fsl_sai: replace regmap_write with regmap_update_bits

Shiji Yang (1):

      MIPS: vpe-mt: add missing prototypes for vpe_{alloc,start,stop,free}

Showrya M N (1):

      scsi: libiscsi: Initialize iscsi_conn->dd_data only if memory is allocated

Slark Xiao (2):
USB: serial: option: add Foxconn T99W640
USB: serial: option: add Foxconn T99W709

Stanislav Fomichev (1):
vrf: Drop existing dst reference in vrf_ip6_input_dst

Stanislaw Gruszka (1):
wifi: iwlegacy: Check rate_idx range after addition

Stefan Metzmacher (1):
smb: client: let recv_done() cleanup before notifying the callers.

Steven Rostedt (5):
selftests/tracing: Fix false failure of subsystem event test ktest.pl: Prevent recursion of default variable options
ftrace: Also allocate and copy hash for reading of filter files
tracing: Add down_write(trace_event_sem) when adding trace event
tracing: Remove unneeded goto out logic

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

Sven Schnelle (2):
s390/time: Use monotonic clock in get_cycles() s390/stp: Remove udelay from stp_sync_clock()

Takashi Iwai (4):
ALSA: hda/ca0132: Fix missing error handling in ca0132_alt_select_out()
ALSA: usb-audio: Validate UAC3 power domain descriptors, too
ALSA: usb-audio: Validate UAC3 cluster segment descriptors
ALSA: usb-audio: Use correct sub-type for UAC3 feature unit validation

Tao Xue (1):
usb: gadget : fix use-after-free in composite_dev_cleanup()

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

Thomas Fourier (17):
pch_uart: Fix dma_sync_sg_for_device() nents value
mmc: bcm2835: Fix dma_unmap_sg() nents value
mwl8k: Add missing check after DMA map
crypto: inside-secure - Fix dma_unmap_sg() nents value
scsi: ibmvscsi_tgt: Fix dma_unmap_sg() nents value
scsi: mvsas: Fix dma_unmap_sg() nents value
scsi: isci: Fix dma_unmap_sg() nents value
crypto: img-hash - Fix dma_unmap_sg() nents value
dmaengine: mv_xor: Fix missing check after DMA map and missing unmap
dmaengine: nbpfaxi: Add missing check after DMA map
mtd: rawnand: atmel: Fix dma_mapping_error() address
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().
wifi: rtlwifi: fix possible skb memory leak in _rtl_pci_init_one_rxdesc()
mtd: rawnand: fsmc: Add missing check after DMA map

Thomas Gleixner (3):
perf/core: Don't leak AUX buffer refcount on allocation failure perf/core: Exit early on perf_mmap() fail
perf/core: Prevent VMA split of buffer mappings

Thomas Weißschuh (2):
MIPS: Don't crash in stack_top() for tasks without ABI or vDSO
kbuild: userprogs: use correct linker when mixing clang and GNU ld

Thorsten Blum (1):

      usb: storage: realtek_cr: Use correct byte order for bcs->Residue

Tigran Mkrtchyan (1):
pNFS/flexfiles: don't attempt pnfs on fatal DS errors

Tim Harvey (1):
hwmon: (gsc-hwmon) fix fan pwm setpoint show functions

Timothy Pearson (5):
PCI: pnv_php: Clean up allocated IRQs on unplug
PCI: pnv_php: Work around switches with broken presence detection powerpc/eeh: Export eeh_unfreeze_pe()
powerpc/eeh: Make EEH driver device hotplug safe
PCI: pnv_php: Fix surprise plug detection and recovery

Timur Kristóf (5):
drm/amd/display: Fix fractional fb divider in set_pixel_clock_v3 drm/amd/display: Fix DP audio DTO1 clock source on DCE 6. drm/amd/display: Find first CRTC and its line time in dce110_fill_display_configs drm/amd/display: Fill display clock and vblank time in dce110_fill_display_configs drm/amd/display: Don't overclock DCE 6 by 15%

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

Trond Myklebust (5):
pNFS/flexfiles: Avoid spurious layout returns in ff_layout_choose_ds_for_read
NFS: Fix filehandle bounds checking in nfs_fh_to_dentry()
NFS: Don't set NFS_INO_REVAL_PAGECACHE in the inode cache validity
NFSv4: Fix nfs4_bitmap_copy_adjust()
NFS: Fix the setting of capabilities when automounting a new filesystem

Tzung-Bi Shih (2):
platform/chrome: cros_ec: remove unneeded label and if-condition platform/chrome: cros_ec: Unregister notifier in cros_ec_unregister()

Ulf Hansson (1):
mmc: rtsx_usb_sdmmc: Fix error-path in sd_set_power_mode()

Uwe Kleine-König (4):
platform/chrome: cros_ec: Make cros_ec_unregister() return void
pwm: mediatek: Implement .apply() callback
pwm: mediatek: Handle hardware enable and clock enable separately
pwm: mediatek: Fix duty and period setting

Vedang Nagar (1):
media: venus: Add a check for packet size after reading from shared memory

Viacheslav Dubeyko (4):
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

Victor Shih (1):
mmc: sdhci-pci-gli: GL9763e: Rename the gli_set_gl9763e() for consistency

Vladimir Zapolskiy (1):
media: qcom: camss: cleanup media device allocated resource on error path

Waiman Long (2):
mm/kmemleak: avoid soft lockup in __kmemleak_do_cleanup() cgroup/cpuset: Use static_branch_enable_cpuslocked() on cpusets_insane_config_key

Wang Liang (1):
net: drop UFO packets in udp_rcv_segment()

Wang Zhaolong (1):
smb: client: fix use-after-free in crypt_message when using async crypto

Wayne Chang (1):
phy: tegra: xusb: Fix unbalanced regulator disable in UTMI PHY mode

Weitao Wang (1):
usb: xhci: Fix slot_id resource race conflict

Wen Chen (1):
drm/amd/display: Fix 'failed to blank crtc!'

Wesley Cheng (1):
usb: dwc3: Remove DWC3 locking during gadget suspend/resume

William Liu (4):
net/sched: Return NULL when htb_lookup_leaf encounters an empty rbtree net/sched: Restrict conditions for adding duplicating netems to qdisc tree net/sched: Make cake_enqueue return NET_XMIT_CN when past buffer_limit net/sched: Remove unnecessary WARNING condition for empty child qdisc in htb_activate

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 Mei (2):
net/sched: sch_qfq: Fix race condition on qfq_aggregate
net/sched: sch_qfq: Avoid triggering might_sleep in atomic context in qfq_delete_class

Xin Long (1):
sctp: linearize cloned gso packets in sctp_rcv

Xinxin Wan (1):
ASoC: codecs: rt5640: Retry DEVICE_ID verification

Xinyu Liu (2):
usb: gadget: configfs: Fix OOB read on empty string write
usb: core: config: Prevent OOB read in SS endpoint companion parsing

Xiu Jianfeng (1):
wifi: iwlwifi: Fix memory leak in iwl_mvm_init()

Xiumei Mu (1):
selftests: rtnetlink.sh: remove esp4_offload after test

Xu Yang (2):
usb: chipidea: add USB PHY event
usb: phy: mxs: disconnect line when USB charger is attached

Xu Yilun (1):
fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable()

Yajun Deng (1):
i40e: Add rx_missed_errors for buffer exhaustion

Yang Xiwen (1):
i2c: qup: jump out of the loop in case of timeout

Yang Yingliang (1):
ptp: Fix possible memory leak in ptp_clock_register()

Yangtao Li (1):
hfsplus: remove mutex_lock check in hfsplus_free_extents

Yann E. MORIN (1):
kconfig: lxdialog: fix 'space' to (de)select options

Yazen Ghannam (1):
x86/mce/amd: Add default names for MCA banks and blocks

Ye Bin (1):
fs/buffer: fix use-after-free when call bh_read() helper

Youngjun Lee (1):
media: uvcvideo: Fix 1-byte out-of-bounds read in uvc_parse_format()

Yuan Chen (2):
bpftool: Fix memory leak in dump_xx_nlmsg on realloc failure
pinctrl: sunxi: Fix memory leak on krealloc failure

Yun Lu (2):
af_packet: fix the SO_SNDTIMEO constraint not effective on tpacked_snd()
af_packet: fix soft lockup issue caused by tpacket_snd()

Yunhui Cui (1):
serial: 8250: fix panic due to PSLVERR

Yury Norov [NVIDIA] (1):
RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()

Zenm Chen (1):
USB: storage: Ignore driver CD mode for Realtek multi-mode Wi-Fi dongles

Zhang Lixu (1):
iio: hid-sensor-prox: Fix incorrect OFFSET calculation

Zhang Shurong (1):

      media: ov2659: Fix memory leaks in ov2659_probe()

Zhang Yi (1):
ext4: fix hole length calculation overflow in non-extent inodes

Zheng Yu (1):
jfs: fix metapage reference count leak in dbAllocCtl

chenchangcheng (1):
media: uvcvideo: Fix bandwidth issue for Alcor camera

fangzhong.zhou (1):
i2c: Force DLL0945 touchpad i2c freq to 100khz

jackysliu (1):
scsi: bfa: Double-free fix

tuhaowen (1):
PM: sleep: console: Fix the black screen issue

xin.guo (1):
tcp: fix tcp_ofo_queue() to avoid including too much DUP SACK range

Álvaro Fernández Rojas (4):
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 SWITCH_CTRL access on BCM5325
net: dsa: b53: fix IP_MULTICAST_CTRL on BCM5325

author maintainer
#1 lore raw
Documentation/filesystems/f2fs.rst +3 -3
index de2bacc418fe..483573166ac9 100644
@@ -203,9 +203,9 @@ usrjquota=<file>	 Appoint specified file and type during mount, so that quota
 grpjquota=<file>	 information can be properly updated during recovery flow,
 prjjquota=<file>	 <quota file>: must be in root directory;
 jqfmt=<quota type>	 <quota type>: [vfsold,vfsv0,vfsv1].
-offusrjquota		 Turn off user journalled quota.
-offgrpjquota		 Turn off group journalled quota.
-offprjjquota		 Turn off project journalled quota.
+usrjquota=		 Turn off user journalled quota.
+grpjquota=		 Turn off group journalled quota.
+prjjquota=		 Turn off project journalled quota.
 quota			 Enable plain user disk quota accounting.
 noquota			 Disable all plain disk quota option.
 whint_mode=%s		 Control which write hints are passed down to block
Documentation/firmware-guide/acpi/i2c-muxes.rst +4 -4
index 3a8997ccd7c4..f366539acd79 100644
@@ -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/memory-barriers.txt +6 -5
index 17c8e0c2deb4..774816cf15be 100644
@@ -1894,6 +1894,7 @@ There are some more advanced barrier functions:
 
  (*) dma_wmb();
  (*) dma_rmb();
+ (*) dma_mb();
 
      These are for use with consistent memory to guarantee the ordering
      of writes or reads of shared memory accessible to both the CPU and a
@@ -1925,11 +1926,11 @@ There are some more advanced barrier functions:
      The dma_rmb() allows us guarantee the device has released ownership
      before we read the data from the descriptor, and the dma_wmb() allows
      us to guarantee the data is written to the descriptor before the device
-     can see it now has ownership.  Note that, when using writel(), a prior
-     wmb() is not needed to guarantee that the cache coherent memory writes
-     have completed before writing to the MMIO region.  The cheaper
-     writel_relaxed() does not provide this guarantee and must not be used
-     here.
+     can see it now has ownership.  The dma_mb() implies both a dma_rmb() and
+     a dma_wmb().  Note that, when using writel(), a prior wmb() is not needed
+     to guarantee that the cache coherent memory writes have completed before
+     writing to the MMIO region.  The cheaper writel_relaxed() does not provide
+     this guarantee and must not be used here.
 
      See the subsection "Kernel I/O barrier effects" for more information on
      relaxed I/O accessors and the Documentation/core-api/dma-api.rst file for
Makefile +2 -2
index cff26a5d22bb..3f7fa3e35285 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 240
+SUBLEVEL = 241
 EXTRAVERSION =
 NAME = Dare mighty things
 
@@ -1037,7 +1037,7 @@ KBUILD_USERCFLAGS  += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD
 KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS))
 
 # userspace programs are linked via the compiler, use the correct linker
-ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_LD_IS_LLD),yy)
+ifdef CONFIG_CC_IS_CLANG
 KBUILD_USERLDFLAGS += $(call cc-option, --ld-path=$(LD))
 endif
 
arch/arm/Makefile +1 -1
index 0e5a8765e60b..37646ba4feae 100644
@@ -126,7 +126,7 @@ endif
 
 # Need -Uarm for gcc < 3.x
 KBUILD_CFLAGS	+=$(CFLAGS_ABI) $(CFLAGS_ISA) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
-KBUILD_AFLAGS	+=$(CFLAGS_ABI) $(AFLAGS_ISA) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float
+KBUILD_AFLAGS	+=$(CFLAGS_ABI) $(AFLAGS_ISA) $(arch-y) $(tune-y) -include $(srctree)/arch/arm/include/asm/unified.h -msoft-float
 
 CHECKFLAGS	+= -D__arm__
 
arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi +0 -1
index 770f59b23102..44477206ba0f 100644
@@ -170,7 +170,6 @@ &uart2 {
 	pinctrl-0 = <&pinctrl_uart2>;
 	linux,rs485-enabled-at-boot-time;
 	rs485-rx-during-tx;
-	rs485-rts-active-low;
 	uart-has-rtscts;
 	status = "okay";
 };
arch/arm/boot/dts/vfxxx.dtsi +1 -1
index 2259d11af721..fb7709b8a334 100644
@@ -617,7 +617,7 @@ usbmisc1: usb@400b4800 {
 
 			ftm: ftm@400b8000 {
 				compatible = "fsl,ftm-timer";
-				reg = <0x400b8000 0x1000 0x400b9000 0x1000>;
+				reg = <0x400b8000 0x1000>, <0x400b9000 0x1000>;
 				interrupts = <44 IRQ_TYPE_LEVEL_HIGH>;
 				clock-names = "ftm-evt", "ftm-src",
 					"ftm-evt-counter-en", "ftm-src-counter-en";
arch/arm/mach-rockchip/platsmp.c +9 -6
index d60856898d97..17aee4701e81 100644
@@ -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
index d5c805adf7a8..ea706fac6358 100644
@@ -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/freescale/imx8mm-beacon-som.dtsi +2 -0
index 34b2e862b708..f97e8a8fd16f 100644
@@ -246,6 +246,8 @@ &usdhc3 {
 	pinctrl-0 = <&pinctrl_usdhc3>;
 	pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
 	pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
+	assigned-clocks = <&clk IMX8MM_CLK_USDHC3>;
+	assigned-clock-rates = <400000000>;
 	bus-width = <8>;
 	non-removable;
 	status = "okay";
arch/arm64/include/asm/acpi.h +1 -1
index 702587fda70c..8cbbd08cc8c5 100644
@@ -128,7 +128,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/mm/ptdump_debugfs.c +0 -3
index d29d722ec3ec..457bf5f03771 100644
@@ -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/m68k/Kconfig.debug +1 -1
index 11b306bdd788..5a3713170a61 100644
@@ -10,7 +10,7 @@ config BOOTPARAM_STRING
 
 config EARLY_PRINTK
 	bool "Early printk"
-	depends on !(SUN3 || M68000 || COLDFIRE)
+	depends on MMU_MOTOROLA
 	help
 	  Write kernel log output directly to a serial port.
 	  Where implemented, output goes to the framebuffer as well.
arch/m68k/kernel/early_printk.c +14 -28

65 lines not on this page · raw message

arch/m68k/kernel/head.S +25 -14
index 493c95db0e51..094afc355d89 100644
@@ -3242,8 +3242,8 @@ func_return	putn
  *	turns around and calls the internal routines.  This routine
  *	is used by the boot console.
  *
- *	The calling parameters are:
- *		void debug_cons_nputs(const char *str, unsigned length)
+ *	The function signature is -
+ *		void debug_cons_nputs(struct console *c, const char *s, unsigned int n)
  *
  *	This routine does NOT understand variable arguments only
  *	simple strings!
@@ -3252,8 +3252,8 @@ ENTRY(debug_cons_nputs)
 	moveml	%d0/%d1/%a0,%sp@-
 	movew	%sr,%sp@-
 	ori	#0x0700,%sr
-	movel	%sp@(18),%a0		/* fetch parameter */
-	movel	%sp@(22),%d1		/* fetch parameter */
+	movel	%sp@(22),%a0		/* char *s */
+	movel	%sp@(26),%d1		/* unsigned int n */
 	jra	2f
 1:
 #ifdef CONSOLE_DEBUG
@@ -3379,6 +3379,7 @@ L(console_clear_loop):
 
 	movel	%d4,%d1				/* screen height in pixels */
 	divul	%a0@(FONT_DESC_HEIGHT),%d1	/* d1 = max num rows */
+	subql	#1,%d1				/* row range is 0 to num - 1 */
 
 	movel	%d0,%a2@(Lconsole_struct_num_columns)
 	movel	%d1,%a2@(Lconsole_struct_num_rows)
@@ -3525,15 +3526,14 @@ func_start	console_putc,%a0/%a1/%d0-%d7
 	cmpib	#10,%d7
 	jne	L(console_not_lf)
 	movel	%a0@(Lconsole_struct_cur_row),%d0
-	addil	#1,%d0
-	movel	%d0,%a0@(Lconsole_struct_cur_row)
 	movel	%a0@(Lconsole_struct_num_rows),%d1
 	cmpl	%d1,%d0
 	jcs	1f
-	subil	#1,%d0
-	movel	%d0,%a0@(Lconsole_struct_cur_row)
 	console_scroll
+	jra	L(console_exit)
 1:
+	addql	#1,%d0
+	movel	%d0,%a0@(Lconsole_struct_cur_row)
 	jra	L(console_exit)
 
 L(console_not_lf):
@@ -3560,12 +3560,6 @@ L(console_not_cr):
  */
 L(console_not_home):
 	movel	%a0@(Lconsole_struct_cur_column),%d0
-	addql	#1,%a0@(Lconsole_struct_cur_column)
-	movel	%a0@(Lconsole_struct_num_columns),%d1
-	cmpl	%d1,%d0
-	jcs	1f
-	console_putc	#'\n'	/* recursion is OK! */
-1:
 	movel	%a0@(Lconsole_struct_cur_row),%d1
 
 	/*
@@ -3612,6 +3606,23 @@ L(console_do_font_scanline):
 	addq	#1,%d1
 	dbra	%d7,L(console_read_char_scanline)
 
+	/*
+	 *	Register usage in the code below:
+	 *	a0 = pointer to console globals
+	 *	d0 = cursor column
+	 *	d1 = cursor column limit
+	 */
+
+	lea	%pc@(L(console_globals)),%a0
+
+	movel	%a0@(Lconsole_struct_cur_column),%d0
+	addql	#1,%d0
+	movel	%d0,%a0@(Lconsole_struct_cur_column)	/* Update cursor pos */
+	movel	%a0@(Lconsole_struct_num_columns),%d1
+	cmpl	%d1,%d0
+	jcs	L(console_exit)
+	console_putc	#'\n'		/* Line wrap using tail recursion */
+
 L(console_exit):
 func_return	console_putc
 
arch/mips/crypto/chacha-core.S +7 -13
index 5755f69cfe00..706aeb850fb0 100644
@@ -55,17 +55,13 @@
 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
 #define MSB 0
 #define LSB 3
-#define ROTx rotl
-#define ROTR(n) rotr n, 24
 #define	CPU_TO_LE32(n) \
-	wsbh	n; \
+	wsbh	n, n; \
 	rotr	n, 16;
 #else
 #define MSB 3
 #define LSB 0
-#define ROTx rotr
 #define CPU_TO_LE32(n)
-#define ROTR(n)
 #endif
 
 #define FOR_EACH_WORD(x) \
@@ -192,10 +188,10 @@ CONCAT3(.Lchacha_mips_xor_aligned_, PLUS_ONE(x), _b: ;) \
 	xor	X(W), X(B); \
 	xor	X(Y), X(C); \
 	xor	X(Z), X(D); \
-	rotl	X(V), S;    \
-	rotl	X(W), S;    \
-	rotl	X(Y), S;    \
-	rotl	X(Z), S;
+	rotr	X(V), 32 - S; \
+	rotr	X(W), 32 - S; \
+	rotr	X(Y), 32 - S; \
+	rotr	X(Z), 32 - S;
 
 .text
 .set	reorder
@@ -372,21 +368,19 @@ chacha_crypt_arch:
 	/* First byte */
 	lbu	T1, 0(IN)
 	addiu	$at, BYTES, 1
-	CPU_TO_LE32(SAVED_X)
-	ROTR(SAVED_X)
 	xor	T1, SAVED_X
 	sb	T1, 0(OUT)
 	beqz	$at, .Lchacha_mips_xor_done
 	/* Second byte */
 	lbu	T1, 1(IN)
 	addiu	$at, BYTES, 2
-	ROTx	SAVED_X, 8
+	rotr	SAVED_X, 8
 	xor	T1, SAVED_X
 	sb	T1, 1(OUT)
 	beqz	$at, .Lchacha_mips_xor_done
 	/* Third byte */
 	lbu	T1, 2(IN)
-	ROTx	SAVED_X, 8
+	rotr	SAVED_X, 8
 	xor	T1, SAVED_X
 	sb	T1, 2(OUT)
 	b	.Lchacha_mips_xor_done
arch/mips/include/asm/vpe.h +8 -0
index 012731546cf6..3de6b0ff1627 100644
@@ -126,4 +126,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
index 98ecaf6f3edb..0a5710a4d696 100644
@@ -675,18 +675,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/mm/tlb-r4k.c +55 -1

68 lines not on this page · raw message

arch/parisc/Makefile +1 -1
index 0cf86ed2b7c1..3b615c1840a8 100644
@@ -141,7 +141,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/configs/ppc6xx_defconfig +0 -1
index 021da6736570..7c14fecc7154 100644
@@ -265,7 +265,6 @@ CONFIG_NET_SCH_DSMARK=m
 CONFIG_NET_SCH_NETEM=m
 CONFIG_NET_SCH_INGRESS=m
 CONFIG_NET_CLS_BASIC=m
-CONFIG_NET_CLS_TCINDEX=m
 CONFIG_NET_CLS_ROUTE4=m
 CONFIG_NET_CLS_FW=m
 CONFIG_NET_CLS_U32=m
arch/powerpc/kernel/eeh.c +1 -0
index fbc6eaaf10e1..cd5364e8fe3d 100644
@@ -1140,6 +1140,7 @@ int eeh_unfreeze_pe(struct eeh_pe *pe)
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(eeh_unfreeze_pe);
 
 
 static struct pci_device_id eeh_reset_ids[] = {
arch/powerpc/kernel/eeh_driver.c +32 -16

171 lines not on this page · raw message

arch/powerpc/kernel/eeh_pe.c +6 -5
index a856d9ba42d2..fea58e9546f9 100644
@@ -670,11 +670,12 @@ static void eeh_bridge_check_link(struct eeh_dev *edev)
 	eeh_ops->write_config(edev, cap + PCI_EXP_LNKCTL, 2, val);
 
 	/* Check link */
-	eeh_ops->read_config(edev, cap + PCI_EXP_LNKCAP, 4, &val);
-	if (!(val & PCI_EXP_LNKCAP_DLLLARC)) {
-		eeh_edev_dbg(edev, "No link reporting capability (0x%08x) \n", val);
-		msleep(1000);
-		return;
+	if (edev->pdev) {
+		if (!edev->pdev->link_active_reporting) {
+			eeh_edev_dbg(edev, "No link reporting capability\n");
+			msleep(1000);
+			return;
+		}
 	}
 
 	/* Wait the link is up until timeout (5s) */
arch/powerpc/kernel/pci-hotplug.c +3 -0
index 2fc12198ec07..62de678f9f50 100644
@@ -110,6 +110,9 @@ void pci_hp_add_devices(struct pci_bus *bus)
 	struct pci_controller *phb;
 	struct device_node *dn = pci_bus_to_OF_node(bus);
 
+	if (!dn)
+		return;
+
 	phb = pci_bus_to_host(bus);
 
 	mode = PCI_PROBE_NORMAL;
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c +2 -4
index 04bf6ecf7d55..85e0fa7d902b 100644
@@ -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/s390/hypfs/hypfs_dbfs.c +12 -7
index f4c7dbfaf8ee..5848f2e374a6 100644
@@ -6,6 +6,7 @@
  * Author(s): Michael Holzheu <[email protected]>
  */
 
+#include <linux/security.h>
 #include <linux/slab.h>
 #include "hypfs.h"
 
@@ -64,24 +65,28 @@ static long dbfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
 	long rc;
 
 	mutex_lock(&df->lock);
-	if (df->unlocked_ioctl)
-		rc = df->unlocked_ioctl(file, cmd, arg);
-	else
-		rc = -ENOTTY;
+	rc = df->unlocked_ioctl(file, cmd, arg);
 	mutex_unlock(&df->lock);
 	return rc;
 }
 
-static const struct file_operations dbfs_ops = {
+static const struct file_operations dbfs_ops_ioctl = {
 	.read		= dbfs_read,
 	.llseek		= no_llseek,
 	.unlocked_ioctl = dbfs_ioctl,
 };
 
+static const struct file_operations dbfs_ops = {
+	.read		= dbfs_read,
+};
+
 void hypfs_dbfs_create_file(struct hypfs_dbfs_file *df)
 {
-	df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df,
-					 &dbfs_ops);
+	const struct file_operations *fops = &dbfs_ops;
+
+	if (df->unlocked_ioctl && !security_locked_down(LOCKDOWN_DEBUGFS))
+		fops = &dbfs_ops_ioctl;
+	df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df, fops);
 	mutex_init(&df->lock);
 }
 
arch/s390/include/asm/timex.h +6 -7
index 588aa0f2c842..d0260a1ec298 100644
@@ -167,13 +167,6 @@ static inline unsigned long long get_tod_clock_fast(void)
 	return get_tod_clock();
 #endif
 }
-
-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);
 
@@ -196,6 +189,12 @@ static inline unsigned long 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/time.c +1 -1
index b6517453fa23..cd79e9cd785f 100644
@@ -587,7 +587,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
index 8f9ff7e7187d..b83c684ad6bb 100644
@@ -218,11 +218,9 @@ static int ptdump_show(struct seq_file *m, void *v)
 		.marker = address_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/sh/Makefile +5 -5
index 2faebfd72eca..8e8e24227fff 100644
@@ -103,16 +103,16 @@ UTS_MACHINE		:= sh
 LDFLAGS_vmlinux		+= -e _stext
 
 ifdef CONFIG_CPU_LITTLE_ENDIAN
-ld-bfd			:= elf32-sh-linux
-LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64 --oformat $(ld-bfd)
+ld_bfd			:= elf32-sh-linux
+LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64 --oformat $(ld_bfd)
 KBUILD_LDFLAGS		+= -EL
 else
-ld-bfd			:= elf32-shbig-linux
-LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64+4 --oformat $(ld-bfd)
+ld_bfd			:= elf32-shbig-linux
+LDFLAGS_vmlinux		+= --defsym jiffies=jiffies_64+4 --oformat $(ld_bfd)
 KBUILD_LDFLAGS		+= -EB
 endif
 
-export ld-bfd
+export ld_bfd
 
 head-y	:= arch/sh/kernel/head_32.o
 
arch/sh/boot/compressed/Makefile +2 -2
index 589d2d8a573d..d4baaaace17f 100644
@@ -30,7 +30,7 @@ endif
 
 ccflags-remove-$(CONFIG_MCOUNT) += -pg
 
-LDFLAGS_vmlinux := --oformat $(ld-bfd) -Ttext $(IMAGE_OFFSET) -e startup \
+LDFLAGS_vmlinux := --oformat $(ld_bfd) -Ttext $(IMAGE_OFFSET) -e startup \
 		   -T $(obj)/../../kernel/vmlinux.lds
 
 #
@@ -68,7 +68,7 @@ $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE
 
 OBJCOPYFLAGS += -R .empty_zero_page
 
-LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T
+LDFLAGS_piggy.o := -r --format binary --oformat $(ld_bfd) -T
 
 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE
 	$(call if_changed,ld)
arch/sh/boot/romimage/Makefile +2 -2
index c7c8be58400c..17b03df0a8de 100644
@@ -13,7 +13,7 @@ mmcif-obj-$(CONFIG_CPU_SUBTYPE_SH7724)	:= $(obj)/mmcif-sh7724.o
 load-$(CONFIG_ROMIMAGE_MMCIF)		:= $(mmcif-load-y)
 obj-$(CONFIG_ROMIMAGE_MMCIF)		:= $(mmcif-obj-y)
 
-LDFLAGS_vmlinux := --oformat $(ld-bfd) -Ttext $(load-y) -e romstart \
+LDFLAGS_vmlinux := --oformat $(ld_bfd) -Ttext $(load-y) -e romstart \
 		   -T $(obj)/../../kernel/vmlinux.lds
 
 $(obj)/vmlinux: $(obj)/head.o $(obj-y) $(obj)/piggy.o FORCE
@@ -24,7 +24,7 @@ OBJCOPYFLAGS += -j .empty_zero_page
 $(obj)/zeropage.bin: vmlinux FORCE
 	$(call if_changed,objcopy)
 
-LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T
+LDFLAGS_piggy.o := -r --format binary --oformat $(ld_bfd) -T
 
 $(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/zeropage.bin arch/sh/boot/zImage FORCE
 	$(call if_changed,ld)
arch/x86/include/asm/xen/hypercall.h +4 -2
index 89cd98693efc..019fc7f78d53 100644
@@ -37,6 +37,7 @@
 #include <linux/spinlock.h>
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/stringify.h>
 #include <linux/types.h>
 #include <linux/pgtable.h>
 #include <linux/instrumentation.h>
@@ -94,12 +95,13 @@ DECLARE_STATIC_CALL(xen_hypercall, xen_hypercall_func);
 #ifdef MODULE
 #define __ADDRESSABLE_xen_hypercall
 #else
-#define __ADDRESSABLE_xen_hypercall __ADDRESSABLE_ASM_STR(__SCK__xen_hypercall)
+#define __ADDRESSABLE_xen_hypercall \
+	__stringify(.global STATIC_CALL_KEY(xen_hypercall);)
 #endif
 
 #define __HYPERCALL					\
 	__ADDRESSABLE_xen_hypercall			\
-	"call __SCT__xen_hypercall"
+	__stringify(call STATIC_CALL_TRAMP(xen_hypercall))
 
 #define __HYPERCALL_ENTRY(x)	"a" (x)
 
arch/x86/kernel/cpu/amd.c +2 -0
index e67d7603449b..bf07b2c5418a 100644
@@ -599,6 +599,8 @@ static bool amd_check_tsa_microcode(void)
 	p.model		= c->x86_model;
 	p.ext_model	= c->x86_model >> 4;
 	p.stepping	= c->x86_stepping;
+	/* reserved bits are expected to be 0 in test below */
+	p.__reserved	= 0;
 
 	if (c->x86 == 0x19) {
 		switch (p.ucode_rev >> 8) {
arch/x86/kernel/cpu/bugs.c +2 -3
index 7c269dcb7cec..6ff9fd836d87 100644
@@ -67,10 +67,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/cpu/mce/amd.c +10 -3
index c011fe79f024..2bd22090a159 100644
@@ -1215,13 +1215,20 @@ static const char *get_name(unsigned int bank, struct threshold_block *b)
 	}
 
 	bank_type = smca_get_bank_type(bank);
-	if (bank_type >= N_SMCA_BANK_TYPES)
-		return NULL;
 
 	if (b && bank_type == SMCA_UMC) {
 		if (b->block < ARRAY_SIZE(smca_umc_block_names))
 			return smca_umc_block_names[b->block];
-		return NULL;
+	}
+
+	if (b && b->block) {
+		snprintf(buf_mcatype, MAX_MCATYPE_NAME_LEN, "th_block_%u", b->block);
+		return buf_mcatype;
+	}
+
+	if (bank_type >= N_SMCA_BANK_TYPES) {
+		snprintf(buf_mcatype, MAX_MCATYPE_NAME_LEN, "th_bank_%u", bank);
+		return buf_mcatype;
 	}
 
 	if (smca_banks[bank].hwid->count == 1)
arch/x86/mm/extable.c +2 -3
index b93d6cd08a7f..1ccf065f7af8 100644
@@ -60,13 +60,12 @@ __visible bool ex_handler_fprestore(const struct exception_table_entry *fixup,
 				    unsigned long error_code,
 				    unsigned long fault_addr)
 {
-	regs->ip = ex_fixup_addr(fixup);
-
 	WARN_ONCE(1, "Bad FPU state detected at %pB, reinitializing FPU registers.",
 		  (void *)instruction_pointer(regs));
 
 	__copy_kernel_to_fpregs(&init_fpstate, -1);
-	return true;
+
+	return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr);
 }
 EXPORT_SYMBOL_GPL(ex_handler_fprestore);
 
block/bio.c +1 -1
index 88a09c31095f..7851f54edc76 100644
@@ -1430,7 +1430,7 @@ void bio_endio(struct bio *bio)
 	if (!bio_integrity_endio(bio))
 		return;
 
-	if (bio->bi_disk)
+	if (bio->bi_disk && bio_flagged(bio, BIO_TRACKED))
 		rq_qos_done_bio(bio->bi_disk->queue, bio);
 
 	/*
block/blk-settings.c +1 -1
index ebd373469c80..18855d4bfda2 100644
@@ -605,7 +605,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->misaligned = 1;
 		ret = -1;
drivers/acpi/acpi_processor.c +1 -1
index 707b2c37e5ee..74e949d340a1 100644
@@ -228,7 +228,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 +2 -0
index 72087e05b5a5..250ea9ec5f0c 100644
@@ -860,6 +860,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/processor_idle.c +3 -1
index 42c7bdb352d2..949efdd1b9a1 100644
@@ -1128,7 +1128,9 @@ static int acpi_processor_get_lpi_info(struct acpi_processor *pr)
 
 	status = acpi_get_parent(handle, &pr_ahandle);
 	while (ACPI_SUCCESS(status)) {
-		acpi_bus_get_device(pr_ahandle, &d);
+		if (acpi_bus_get_device(pr_ahandle, &d))
+			break;
+
 		handle = pr_ahandle;
 
 		if (strcmp(acpi_device_hid(d), ACPI_PROCESSOR_CONTAINER_HID))
drivers/acpi/processor_perflib.c +11 -0
index fc42d649c7e4..b67c2ba7b161 100644
@@ -176,6 +176,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;
@@ -196,6 +199,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/ata/Kconfig +26 -9
index 030cb32da980..a752253f7a5e 100644
@@ -117,22 +117,39 @@ config SATA_AHCI
 
 config SATA_MOBILE_LPM_POLICY
 	int "Default SATA Link Power Management policy for mobile chipsets"
-	range 0 4
+	range 0 5
 	default 0
 	depends on SATA_AHCI
 	help
 	  Select the Default SATA Link Power Management (LPM) policy to use
 	  for mobile / laptop variants of chipsets / "South Bridges".
 
-	  The value set has the following meanings:
+	  Each policy combines power saving states and features:
+	   - Partial: The Phy logic is powered but is in a reduced power
+                      state. The exit latency from this state is no longer than
+                      10us).
+	   - Slumber: The Phy logic is powered but is in an even lower power
+                      state. The exit latency from this state is potentially
+		      longer, but no longer than 10ms.
+	   - DevSleep: The Phy logic may be powered down. The exit latency from
+	               this state is no longer than 20 ms, unless otherwise
+		       specified by DETO in the device Identify Device Data log.
+	   - HIPM: Host Initiated Power Management (host automatically
+		   transitions to partial and slumber).
+	   - DIPM: Device Initiated Power Management (device automatically
+		   transitions to partial and slumber).
+
+	  The possible values for the default SATA link power management
+	  policies are:
 		0 => Keep firmware settings
-		1 => Maximum performance
-		2 => Medium power
-		3 => Medium power with Device Initiated PM enabled
-		4 => Minimum power
-
-	  Note "Minimum power" is known to cause issues, including disk
-	  corruption, with some disks and should not be used.
+		1 => No power savings (maximum performance)
+		2 => HIPM (Partial)
+		3 => HIPM (Partial) and DIPM (Partial and Slumber)
+		4 => HIPM (Partial and DevSleep) and DIPM (Partial and Slumber)
+		5 => HIPM (Slumber and DevSleep) and DIPM (Partial and Slumber)
+
+	  Excluding the value 0, higher values represent policies with higher
+	  power savings.
 
 config SATA_AHCI_PLATFORM
 	tristate "Platform AHCI SATA support"
drivers/ata/libata-sata.c +5 -0
index 45656067c547..d5c97dba2dd4 100644
@@ -815,6 +815,11 @@ static ssize_t ata_scsi_lpm_store(struct device *device,
 
 	spin_lock_irqsave(ap->lock, flags);
 
+	if (ap->flags & ATA_FLAG_NO_LPM) {
+		count = -EOPNOTSUPP;
+		goto out_unlock;
+	}
+
 	ata_for_each_link(link, ap, EDGE) {
 		ata_for_each_dev(dev, &ap->link, ENABLED) {
 			if (dev->horkage & ATA_HORKAGE_NOLPM) {
drivers/ata/libata-scsi.c +8 -12
index 36f32fa052df..23f158601c8c 100644
@@ -766,18 +766,14 @@ static void ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 *sk,
 		{0xFF, 0xFF, 0xFF, 0xFF}, // END mark
 	};
 	static const unsigned char stat_table[][4] = {
-		/* Must be first because BUSY means no other bits valid */
-		{0x80,		ABORTED_COMMAND, 0x47, 0x00},
-		// Busy, fake parity for now
-		{0x40,		ILLEGAL_REQUEST, 0x21, 0x04},
-		// Device ready, unaligned write command
-		{0x20,		HARDWARE_ERROR,  0x44, 0x00},
-		// Device fault, internal target failure
-		{0x08,		ABORTED_COMMAND, 0x47, 0x00},
-		// Timed out in xfer, fake parity for now
-		{0x04,		RECOVERED_ERROR, 0x11, 0x00},
-		// Recovered ECC error	  Medium error, recovered
-		{0xFF, 0xFF, 0xFF, 0xFF}, // END mark
+		/* Busy: must be first because BUSY means no other bits valid */
+		{ ATA_BUSY,	ABORTED_COMMAND, 0x00, 0x00 },
+		/* Device fault: INTERNAL TARGET FAILURE */
+		{ ATA_DF,	HARDWARE_ERROR,  0x44, 0x00 },
+		/* Corrected data error */
+		{ ATA_CORR,	RECOVERED_ERROR, 0x00, 0x00 },
+
+		{ 0xFF, 0xFF, 0xFF, 0xFF }, /* END mark */
 	};
 
 	/*
drivers/base/power/domain_governor.c +16 -2
index 490ed7deb99a..99427e18e623 100644
@@ -8,6 +8,7 @@
 #include <linux/pm_domain.h>
 #include <linux/pm_qos.h>
 #include <linux/hrtimer.h>
+#include <linux/cpu.h>
 #include <linux/cpuidle.h>
 #include <linux/cpumask.h>
 #include <linux/ktime.h>
@@ -254,6 +255,8 @@ static bool cpu_power_down_ok(struct dev_pm_domain *pd)
 	struct generic_pm_domain *genpd = pd_to_genpd(pd);
 	struct cpuidle_device *dev;
 	ktime_t domain_wakeup, next_hrtimer;
+	struct device *cpu_dev;
+	s64 cpu_constraint, global_constraint;
 	s64 idle_duration_ns;
 	int cpu, i;
 
@@ -264,6 +267,7 @@ static bool cpu_power_down_ok(struct dev_pm_domain *pd)
 	if (!(genpd->flags & GENPD_FLAG_CPU_DOMAIN))
 		return true;
 
+	global_constraint = cpu_latency_qos_limit();
 	/*
 	 * Find the next wakeup for any of the online CPUs within the PM domain
 	 * and its subdomains. Note, we only need the genpd->cpus, as it already
@@ -277,8 +281,16 @@ static bool cpu_power_down_ok(struct dev_pm_domain *pd)
 			if (ktime_before(next_hrtimer, domain_wakeup))
 				domain_wakeup = next_hrtimer;
 		}
+
+		cpu_dev = get_cpu_device(cpu);
+		if (cpu_dev) {
+			cpu_constraint = dev_pm_qos_raw_resume_latency(cpu_dev);
+			if (cpu_constraint < global_constraint)
+				global_constraint = cpu_constraint;
+		}
 	}
 
+	global_constraint *= NSEC_PER_USEC;
 	/* The minimum idle duration is from now - until the next wakeup. */
 	idle_duration_ns = ktime_to_ns(ktime_sub(domain_wakeup, ktime_get()));
 	if (idle_duration_ns <= 0)
@@ -291,8 +303,10 @@ static bool cpu_power_down_ok(struct dev_pm_domain *pd)
 	 */
 	i = genpd->state_idx;
 	do {
-		if (idle_duration_ns >= (genpd->states[i].residency_ns +
-		    genpd->states[i].power_off_latency_ns)) {
+		if ((idle_duration_ns >= (genpd->states[i].residency_ns +
+		    genpd->states[i].power_off_latency_ns)) &&
+		    (global_constraint >= (genpd->states[i].power_on_latency_ns +
+		    genpd->states[i].power_off_latency_ns))) {
 			genpd->state_idx = i;
 			return true;
 		}
drivers/base/power/runtime.c +5 -0
index 58d376b1cd68..7e912d2ed427 100644
@@ -1716,6 +1716,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/block/drbd/drbd_receiver.c +5 -1
index 405e09575f08..b4d4e4a41b08 100644
@@ -2532,7 +2532,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/sunvdc.c +3 -1
index d9e41d3bbe71..9cf0b858f7b8 100644
@@ -968,8 +968,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/bus/mhi/host/boot.c +4 -4
index 24422f5c3d80..1612078e67a9 100644
@@ -30,8 +30,8 @@ void mhi_rddm_prepare(struct mhi_controller *mhi_cntrl,
 	unsigned int i;
 
 	for (i = 0; i < img_info->entries - 1; i++, mhi_buf++, bhi_vec++) {
-		bhi_vec->dma_addr = mhi_buf->dma_addr;
-		bhi_vec->size = mhi_buf->len;
+		bhi_vec->dma_addr = cpu_to_le64(mhi_buf->dma_addr);
+		bhi_vec->size = cpu_to_le64(mhi_buf->len);
 	}
 
 	dev_dbg(dev, "BHIe programming for RDDM\n");
@@ -372,8 +372,8 @@ static void mhi_firmware_copy(struct mhi_controller *mhi_cntrl,
 	while (remainder) {
 		to_cpy = min(remainder, mhi_buf->len);
 		memcpy(mhi_buf->buf, buf, to_cpy);
-		bhi_vec->dma_addr = mhi_buf->dma_addr;
-		bhi_vec->size = to_cpy;
+		bhi_vec->dma_addr = cpu_to_le64(mhi_buf->dma_addr);
+		bhi_vec->size = cpu_to_le64(to_cpy);
 
 		buf += to_cpy;
 		remainder -= to_cpy;
drivers/bus/mhi/host/internal.h +2 -2
index 7989269ddd96..cdf7ae183d2e 100644
@@ -263,8 +263,8 @@ struct mhi_tre {
 };
 
 struct bhi_vec_entry {
-	u64 dma_addr;
-	u64 size;
+	__le64 dma_addr;
+	__le64 size;
 };
 
 enum mhi_cmd_type {
drivers/char/hw_random/mtk-rng.c +3 -1
index 3e00506543b6..72269d0f2a4e 100644
@@ -142,7 +142,9 @@ static int mtk_rng_probe(struct platform_device *pdev)
 	dev_set_drvdata(&pdev->dev, priv);
 	pm_runtime_set_autosuspend_delay(&pdev->dev, RNG_AUTOSUSPEND_TIMEOUT);
 	pm_runtime_use_autosuspend(&pdev->dev);
-	devm_pm_runtime_enable(&pdev->dev);
+	ret = devm_pm_runtime_enable(&pdev->dev);
+	if (ret)
+		return ret;
 
 	dev_info(&pdev->dev, "registered RNG driver\n");
 
drivers/char/ipmi/ipmi_msghandler.c +4 -4
index b89f300751b1..5b01985aed22 100644
@@ -4307,10 +4307,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]);
 
 		/* Generate an error response for the message. */
 		msg->rsp[0] = msg->data[0] | (1 << 2);
drivers/char/ipmi/ipmi_watchdog.c +42 -17

117 lines not on this page · raw message

drivers/clk/davinci/psc.c +5 -0
index 7387e7f6276e..4e1abfc1e564 100644
@@ -278,6 +278,11 @@ davinci_lpsc_clk_register(struct device *dev, const char *name,
 
 	lpsc->pm_domain.name = devm_kasprintf(dev, GFP_KERNEL, "%s: %s",
 					      best_dev_name(dev), name);
+	if (!lpsc->pm_domain.name) {
+		clk_hw_unregister(&lpsc->hw);
+		kfree(lpsc);
+		return ERR_PTR(-ENOMEM);
+	}
 	lpsc->pm_domain.attach_dev = davinci_psc_genpd_attach_dev;
 	lpsc->pm_domain.detach_dev = davinci_psc_genpd_detach_dev;
 	lpsc->pm_domain.flags = GENPD_FLAG_PM_CLK;
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c +1 -2
index 0e36ca3bf3d5..4fddb489cdce 100644
@@ -334,8 +334,7 @@ static SUNXI_CCU_GATE(dram_ohci_clk,	"dram-ohci",	"dram",
 
 static const char * const de_parents[] = { "pll-video", "pll-periph0" };
 static SUNXI_CCU_M_WITH_MUX_GATE(de_clk, "de", de_parents,
-				 0x104, 0, 4, 24, 2, BIT(31),
-				 CLK_SET_RATE_PARENT);
+				 0x104, 0, 4, 24, 3, BIT(31), 0);
 
 static const char * const tcon_parents[] = { "pll-video" };
 static SUNXI_CCU_M_WITH_MUX_GATE(tcon_clk, "tcon", tcon_parents,
drivers/cpufreq/armada-8k-cpufreq.c +1 -1
index b0fc5e84f857..cab86a9be6bd 100644
@@ -96,7 +96,7 @@ static void armada_8k_cpufreq_free_table(struct freq_table *freq_tables)
 {
 	int opps_index, nb_cpus = num_possible_cpus();
 
-	for (opps_index = 0 ; opps_index <= nb_cpus; opps_index++) {
+	for (opps_index = 0 ; opps_index < nb_cpus; opps_index++) {
 		int i;
 
 		/* If cpu_dev is NULL then we reached the end of the array */
drivers/cpufreq/cppc_cpufreq.c +1 -1
index f29e8d0553a8..17e712651090 100644
@@ -396,7 +396,7 @@ static int cppc_cpufreq_set_boost(struct cpufreq_policy *policy, int state)
 }
 
 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 +16 -13
index 6294e10657b4..149ba2e39a96 100644
@@ -1227,6 +1227,8 @@ static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
 		goto err_free_real_cpus;
 	}
 
+	init_rwsem(&policy->rwsem);
+
 	freq_constraints_init(&policy->constraints);
 
 	policy->nb_min.notifier_call = cpufreq_notifier_min;
@@ -1249,7 +1251,6 @@ static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
 	}
 
 	INIT_LIST_HEAD(&policy->policy_list);
-	init_rwsem(&policy->rwsem);
 	spin_lock_init(&policy->transition_lock);
 	init_waitqueue_head(&policy->transition_wait);
 	INIT_WORK(&policy->update, handle_update);
@@ -2544,10 +2545,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;
@@ -2780,15 +2783,6 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	cpufreq_driver = driver_data;
 	write_unlock_irqrestore(&cpufreq_driver_lock, flags);
 
-	/*
-	 * Mark support for the scheduler's frequency invariance engine for
-	 * drivers that implement target(), target_index() or fast_switch().
-	 */
-	if (!cpufreq_driver->setpolicy) {
-		static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
-		pr_debug("supports frequency invariance");
-	}
-
 	if (driver_data->setpolicy)
 		driver_data->flags |= CPUFREQ_CONST_LOOPS;
 
@@ -2820,6 +2814,15 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	hp_online = ret;
 	ret = 0;
 
+	/*
+	 * Mark support for the scheduler's frequency invariance engine for
+	 * drivers that implement target(), target_index() or fast_switch().
+	 */
+	if (!cpufreq_driver->setpolicy) {
+		static_branch_enable_cpuslocked(&cpufreq_freq_invariance);
+		pr_debug("supports frequency invariance");
+	}
+
 	pr_debug("driver %s up and running\n", driver_data->name);
 	goto out;
 
drivers/cpuidle/governors/menu.c +17 -4
index a95cc8f024fd..d34463f96848 100644
@@ -158,6 +158,14 @@ static inline int performance_multiplier(unsigned long nr_iowaiters)
 
 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);
 
 /*
@@ -288,6 +296,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);
 	}
 
 	/* determine the expected residency time, round up */
@@ -537,10 +553,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/ccp/ccp-debugfs.c +3 -0
index a1055554b47a..dc26bc22c91d 100644
@@ -319,5 +319,8 @@ void ccp5_debugfs_setup(struct ccp_device *ccp)
 
 void ccp5_debugfs_destroy(void)
 {
+	mutex_lock(&ccp_debugfs_lock);
 	debugfs_remove_recursive(ccp_debugfs_dir);
+	ccp_debugfs_dir = NULL;
+	mutex_unlock(&ccp_debugfs_lock);
 }
drivers/crypto/img-hash.c +1 -1
index cecae50d0f58..87eed86ef3fe 100644
@@ -435,7 +435,7 @@ static int img_hash_write_via_dma_stop(struct img_hash_dev *hdev)
 	struct img_hash_request_ctx *ctx = ahash_request_ctx(hdev->req);
 
 	if (ctx->flags & DRIVER_FLAGS_SG)
-		dma_unmap_sg(hdev->dev, ctx->sg, ctx->dma_ct, DMA_TO_DEVICE);
+		dma_unmap_sg(hdev->dev, ctx->sg, 1, DMA_TO_DEVICE);
 
 	return 0;
 }
drivers/crypto/inside-secure/safexcel_hash.c +6 -2
index 1c9af02eb63b..bdb60810ec72 100644
@@ -247,7 +247,9 @@ static int safexcel_handle_req_result(struct safexcel_crypto_priv *priv,
 	safexcel_complete(priv, ring);
 
 	if (sreq->nents) {
-		dma_unmap_sg(priv->dev, areq->src, sreq->nents, DMA_TO_DEVICE);
+		dma_unmap_sg(priv->dev, areq->src,
+			     sg_nents_for_len(areq->src, areq->nbytes),
+			     DMA_TO_DEVICE);
 		sreq->nents = 0;
 	}
 
@@ -495,7 +497,9 @@ static int safexcel_ahash_send_req(struct crypto_async_request *async, int ring,
 			 DMA_FROM_DEVICE);
 unmap_sg:
 	if (req->nents) {
-		dma_unmap_sg(priv->dev, areq->src, req->nents, DMA_TO_DEVICE);
+		dma_unmap_sg(priv->dev, areq->src,
+			     sg_nents_for_len(areq->src, areq->nbytes),
+			     DMA_TO_DEVICE);
 		req->nents = 0;
 	}
 cdesc_rollback:
drivers/crypto/marvell/cesa/cipher.c +3 -1
index 051a661a63ee..e9411c84db74 100644
@@ -75,9 +75,12 @@ mv_cesa_skcipher_dma_cleanup(struct skcipher_request *req)
 static inline void mv_cesa_skcipher_cleanup(struct skcipher_request *req)
 {
 	struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(req);
+	struct mv_cesa_engine *engine = creq->base.engine;
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ)
 		mv_cesa_skcipher_dma_cleanup(req);
+
+	atomic_sub(req->cryptlen, &engine->load);
 }
 
 static void mv_cesa_skcipher_std_step(struct skcipher_request *req)
@@ -205,7 +208,6 @@ mv_cesa_skcipher_complete(struct crypto_async_request *req)
 	struct mv_cesa_engine *engine = creq->base.engine;
 	unsigned int ivsize;
 
-	atomic_sub(skreq->cryptlen, &engine->load);
 	ivsize = crypto_skcipher_ivsize(crypto_skcipher_reqtfm(skreq));
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ) {
drivers/crypto/marvell/cesa/hash.c +3 -2
index 823a8fb114bb..3c4f4f704c64 100644
@@ -109,9 +109,12 @@ static inline void mv_cesa_ahash_dma_cleanup(struct ahash_request *req)
 static inline void mv_cesa_ahash_cleanup(struct ahash_request *req)
 {
 	struct mv_cesa_ahash_req *creq = ahash_request_ctx(req);
+	struct mv_cesa_engine *engine = creq->base.engine;
 
 	if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ)
 		mv_cesa_ahash_dma_cleanup(req);
+
+	atomic_sub(req->nbytes, &engine->load);
 }
 
 static void mv_cesa_ahash_last_cleanup(struct ahash_request *req)
@@ -371,8 +374,6 @@ static void mv_cesa_ahash_complete(struct crypto_async_request *req)
 			}
 		}
 	}
-
-	atomic_sub(ahashreq->nbytes, &engine->load);
 }
 
 static void mv_cesa_ahash_prepare(struct crypto_async_request *req,
drivers/crypto/qat/qat_common/adf_transport_debug.c +3 -1
index e6bdbd3c9b1f..b0a553d680dc 100644
@@ -31,8 +31,10 @@ static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos)
 	struct adf_etr_ring_data *ring = sfile->private;
 
 	if (*pos >= (ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size) /
-		     ADF_MSG_SIZE_TO_BYTES(ring->msg_size)))
+		     ADF_MSG_SIZE_TO_BYTES(ring->msg_size))) {
+		(*pos)++;
 		return NULL;
+	}
 
 	return ring->base_addr +
 		(ADF_MSG_SIZE_TO_BYTES(ring->msg_size) * (*pos)++);
drivers/devfreq/governor_userspace.c +5 -1
index 8a9cf8220808..82c60dedcffd 100644
@@ -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 store_freq(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-buf/dma-resv.c +3 -2
index 539cb4e04338..72e87380b61a 100644
@@ -290,8 +290,9 @@ void dma_resv_add_shared_fence(struct dma_resv *obj, struct dma_fence *fence)
 
 replace:
 	RCU_INIT_POINTER(fobj->shared[i], fence);
-	/* pointer update must be visible before we extend the shared_count */
-	smp_store_mb(fobj->shared_count, count);
+	/* fence update must be visible before we extend the shared_count */
+	smp_wmb();
+	fobj->shared_count = count;
 
 	write_seqcount_end(&obj->seq);
 	dma_fence_put(old);
drivers/dma/mv_xor.c +19 -2
index 65a7db8bb71b..94a12f3267c1 100644
@@ -1061,8 +1061,16 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 	 */
 	mv_chan->dummy_src_addr = dma_map_single(dma_dev->dev,
 		mv_chan->dummy_src, MV_XOR_MIN_BYTE_COUNT, DMA_FROM_DEVICE);
+	if (dma_mapping_error(dma_dev->dev, mv_chan->dummy_src_addr))
+		return ERR_PTR(-ENOMEM);
+
 	mv_chan->dummy_dst_addr = dma_map_single(dma_dev->dev,
 		mv_chan->dummy_dst, MV_XOR_MIN_BYTE_COUNT, DMA_TO_DEVICE);
+	if (dma_mapping_error(dma_dev->dev, mv_chan->dummy_dst_addr)) {
+		ret = -ENOMEM;
+		goto err_unmap_src;
+	}
+
 
 	/* allocate coherent memory for hardware descriptors
 	 * note: writecombine gives slightly better performance, but
@@ -1071,8 +1079,10 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 	mv_chan->dma_desc_pool_virt =
 	  dma_alloc_wc(&pdev->dev, MV_XOR_POOL_SIZE, &mv_chan->dma_desc_pool,
 		       GFP_KERNEL);
-	if (!mv_chan->dma_desc_pool_virt)
-		return ERR_PTR(-ENOMEM);
+	if (!mv_chan->dma_desc_pool_virt) {
+		ret = -ENOMEM;
+		goto err_unmap_dst;
+	}
 
 	/* discover transaction capabilites from the platform data */
 	dma_dev->cap_mask = cap_mask;
@@ -1155,6 +1165,13 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 err_free_dma:
 	dma_free_coherent(&pdev->dev, MV_XOR_POOL_SIZE,
 			  mv_chan->dma_desc_pool_virt, mv_chan->dma_desc_pool);
+err_unmap_dst:
+	dma_unmap_single(dma_dev->dev, mv_chan->dummy_dst_addr,
+			 MV_XOR_MIN_BYTE_COUNT, DMA_TO_DEVICE);
+err_unmap_src:
+	dma_unmap_single(dma_dev->dev, mv_chan->dummy_src_addr,
+			 MV_XOR_MIN_BYTE_COUNT, DMA_FROM_DEVICE);
+
 	return ERR_PTR(ret);
 }
 
drivers/dma/nbpfaxi.c +18 -6
index 9c52c57919c6..94e7e3290691 100644
@@ -712,6 +712,9 @@ static int nbpf_desc_page_alloc(struct nbpf_channel *chan)
 		list_add_tail(&ldesc->node, &lhead);
 		ldesc->hwdesc_dma_addr = dma_map_single(dchan->device->dev,
 					hwdesc, sizeof(*hwdesc), DMA_TO_DEVICE);
+		if (dma_mapping_error(dchan->device->dev,
+				      ldesc->hwdesc_dma_addr))
+			goto unmap_error;
 
 		dev_dbg(dev, "%s(): mapped 0x%p to %pad\n", __func__,
 			hwdesc, &ldesc->hwdesc_dma_addr);
@@ -738,6 +741,16 @@ static int nbpf_desc_page_alloc(struct nbpf_channel *chan)
 	spin_unlock_irq(&chan->lock);
 
 	return ARRAY_SIZE(dpage->desc);
+
+unmap_error:
+	while (i--) {
+		ldesc--; hwdesc--;
+
+		dma_unmap_single(dchan->device->dev, ldesc->hwdesc_dma_addr,
+				 sizeof(hwdesc), DMA_TO_DEVICE);
+	}
+
+	return -ENOMEM;
 }
 
 static void nbpf_desc_put(struct nbpf_desc *desc)
@@ -1356,7 +1369,7 @@ static int nbpf_probe(struct platform_device *pdev)
 	if (irqs == 1) {
 		eirq = irqbuf[0];
 
-		for (i = 0; i <= num_channels; i++)
+		for (i = 0; i < num_channels; i++)
 			nbpf->chan[i].irq = irqbuf[0];
 	} else {
 		eirq = platform_get_irq_byname(pdev, "error");
@@ -1366,16 +1379,15 @@ static int nbpf_probe(struct platform_device *pdev)
 		if (irqs == num_channels + 1) {
 			struct nbpf_channel *chan;
 
-			for (i = 0, chan = nbpf->chan; i <= num_channels;
+			for (i = 0, chan = nbpf->chan; i < num_channels;
 			     i++, chan++) {
 				/* Skip the error IRQ */
 				if (irqbuf[i] == eirq)
 					i++;
+				if (i >= ARRAY_SIZE(irqbuf))
+					return -EINVAL;
 				chan->irq = irqbuf[i];
 			}
-
-			if (chan != nbpf->chan + num_channels)
-				return -EINVAL;
 		} else {
 			/* 2 IRQs and more than one channel */
 			if (irqbuf[0] == eirq)
@@ -1383,7 +1395,7 @@ static int nbpf_probe(struct platform_device *pdev)
 			else
 				irq = irqbuf[0];
 
-			for (i = 0; i <= num_channels; i++)
+			for (i = 0; i < num_channels; i++)
 				nbpf->chan[i].irq = irq;
 		}
 	}
drivers/fpga/zynq-fpga.c +5 -5
index 07fa8d9ec675..cdb2bea8b6c2 100644
@@ -405,12 +405,12 @@ static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt)
 		}
 	}
 
-	priv->dma_nelms =
-	    dma_map_sg(mgr->dev.parent, sgt->sgl, sgt->nents, DMA_TO_DEVICE);
-	if (priv->dma_nelms == 0) {
+	err = dma_map_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE, 0);
+	if (err) {
 		dev_err(&mgr->dev, "Unable to DMA map (TO_DEVICE)\n");
-		return -ENOMEM;
+		return err;
 	}
+	priv->dma_nelms = sgt->nents;
 
 	/* enable clock */
 	err = clk_enable(priv->clk);
@@ -478,7 +478,7 @@ static int zynq_fpga_ops_write(struct fpga_manager *mgr, struct sg_table *sgt)
 	clk_disable(priv->clk);
 
 out_free:
-	dma_unmap_sg(mgr->dev.parent, sgt->sgl, sgt->nents, DMA_TO_DEVICE);
+	dma_unmap_sgtable(mgr->dev.parent, sgt, DMA_TO_DEVICE, 0);
 	return err;
 }
 
drivers/gpio/gpio-rcar.c +10 -10
index 80bf2a84f296..d5db55d78304 100644
@@ -34,7 +34,7 @@ struct gpio_rcar_bank_info {
 
 struct gpio_rcar_priv {
 	void __iomem *base;
-	spinlock_t lock;
+	raw_spinlock_t lock;
 	struct device *dev;
 	struct gpio_chip gpio_chip;
 	struct irq_chip irq_chip;
@@ -114,7 +114,7 @@ static void gpio_rcar_config_interrupt_input_mode(struct gpio_rcar_priv *p,
 	 * "Setting Level-Sensitive Interrupt Input Mode"
 	 */
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 
 	/* Configure positive or negative logic in POSNEG */
 	gpio_rcar_modify_bit(p, POSNEG, hwirq, !active_high_rising_edge);
@@ -133,7 +133,7 @@ static void gpio_rcar_config_interrupt_input_mode(struct gpio_rcar_priv *p,
 	if (!level_trigger)
 		gpio_rcar_write(p, INTCLR, BIT(hwirq));
 
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_irq_set_type(struct irq_data *d, unsigned int type)
@@ -226,7 +226,7 @@ static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip,
 	 * "Setting General Input Mode"
 	 */
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 
 	/* Configure positive logic in POSNEG */
 	gpio_rcar_modify_bit(p, POSNEG, gpio, false);
@@ -241,7 +241,7 @@ static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip,
 	if (p->has_outdtsel && output)
 		gpio_rcar_modify_bit(p, OUTDTSEL, gpio, false);
 
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_request(struct gpio_chip *chip, unsigned offset)
@@ -310,9 +310,9 @@ static void gpio_rcar_set(struct gpio_chip *chip, unsigned offset, int value)
 	struct gpio_rcar_priv *p = gpiochip_get_data(chip);
 	unsigned long flags;
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 	gpio_rcar_modify_bit(p, OUTDT, offset, value);
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static void gpio_rcar_set_multiple(struct gpio_chip *chip, unsigned long *mask,
@@ -329,12 +329,12 @@ static void gpio_rcar_set_multiple(struct gpio_chip *chip, unsigned long *mask,
 	if (!bankmask)
 		return;
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 	val = gpio_rcar_read(p, OUTDT);
 	val &= ~bankmask;
 	val |= (bankmask & bits[0]);
 	gpio_rcar_write(p, OUTDT, val);
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_direction_output(struct gpio_chip *chip, unsigned offset,
@@ -454,7 +454,7 @@ static int gpio_rcar_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	p->dev = dev;
-	spin_lock_init(&p->lock);
+	raw_spin_lock_init(&p->lock);
 
 	/* Get device configuration from DT node */
 	ret = gpio_rcar_parse_dt(p, &npins);
drivers/gpio/gpio-tps65912.c +5 -2
index 510d9ed9fd2a..a8a2ad13e09e 100644
@@ -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-wcd934x.c +5 -2
index 97e6caedf1f3..c00968ce7a56 100644
@@ -45,9 +45,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/amdgpu.h +1 -0
index ff5555353eb4..683bbefc39c1 100644
@@ -997,6 +997,7 @@ struct amdgpu_device {
 
 	bool                            in_pci_err_recovery;
 	struct pci_saved_state          *pci_state;
+	pci_channel_state_t		pci_channel_state;
 };
 
 static inline struct amdgpu_device *drm_to_adev(struct drm_device *ddev)
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +2 -2
index 08047bc4d588..2df9e81e2b49 100644
@@ -94,8 +94,8 @@ int amdgpu_map_static_csa(struct amdgpu_device *adev, struct amdgpu_vm *vm,
 	}
 
 	r = amdgpu_vm_bo_map(adev, *bo_va, csa_addr, 0, size,
-			     AMDGPU_PTE_READABLE | AMDGPU_PTE_WRITEABLE |
-			     AMDGPU_PTE_EXECUTABLE);
+			     AMDGPU_VM_PAGE_READABLE | AMDGPU_VM_PAGE_WRITEABLE |
+			     AMDGPU_VM_PAGE_EXECUTABLE);
 
 	if (r) {
 		DRM_ERROR("failed to do bo_map on static CSA, err=%d\n", r);
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +6 -0
index 40d2f0ed1c75..8efd3ee2621f 100644
@@ -4944,6 +4944,8 @@ pci_ers_result_t amdgpu_pci_error_detected(struct pci_dev *pdev, pci_channel_sta
 		return PCI_ERS_RESULT_DISCONNECT;
 	}
 
+	adev->pci_channel_state = state;
+
 	switch (state) {
 	case pci_channel_io_normal:
 		return PCI_ERS_RESULT_CAN_RECOVER;
@@ -5079,6 +5081,10 @@ void amdgpu_pci_resume(struct pci_dev *pdev)
 
 	DRM_INFO("PCI error: resume callback!!\n");
 
+	/* Only continue execution for the case of pci_channel_io_frozen */
+	if (adev->pci_channel_state != pci_channel_io_frozen)
+		return;
+
 	for (i = 0; i < AMDGPU_MAX_RINGS; ++i) {
 		struct amdgpu_ring *ring = adev->rings[i];
 
drivers/gpu/drm/amd/display/dc/bios/command_table.c +1 -1
index afc10b954ffa..c45fe45ae564 100644
@@ -992,7 +992,7 @@ static enum bp_result set_pixel_clock_v3(
 	allocation.sPCLKInput.usFbDiv =
 			cpu_to_le16((uint16_t)bp_params->feedback_divider);
 	allocation.sPCLKInput.ucFracFbDiv =
-			(uint8_t)bp_params->fractional_feedback_divider;
+			(uint8_t)(bp_params->fractional_feedback_divider / 100000);
 	allocation.sPCLKInput.ucPostDiv =
 			(uint8_t)bp_params->pixel_clock_post_divider;
 
drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/dce_clk_mgr.c +0 -2
index b210f8e9d592..6a1ac3568c87 100644
@@ -384,8 +384,6 @@ static void dce_pplib_apply_display_requirements(
 {
 	struct dm_pp_display_configuration *pp_display_cfg = &context->pp_display_cfg;
 
-	pp_display_cfg->avail_mclk_switch_time_us = dce110_get_min_vblank_time_us(context);
-
 	dce110_fill_display_configs(context, pp_display_cfg);
 
 	if (memcmp(&dc->current_state->pp_display_cfg, pp_display_cfg, sizeof(*pp_display_cfg)) !=  0)
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c +23 -17
index b1e657e137a9..061cc12c9752 100644
@@ -120,9 +120,15 @@ void dce110_fill_display_configs(
 	const struct dc_state *context,
 	struct dm_pp_display_configuration *pp_display_cfg)
 {
+	struct dc *dc = context->clk_mgr->ctx->dc;
 	int j;
 	int num_cfgs = 0;
 
+	pp_display_cfg->avail_mclk_switch_time_us = dce110_get_min_vblank_time_us(context);
+	pp_display_cfg->disp_clk_khz = dc->clk_mgr->clks.dispclk_khz;
+	pp_display_cfg->avail_mclk_switch_time_in_disp_active_us = 0;
+	pp_display_cfg->crtc_index = dc->res_pool->res_cap->num_timing_generator;
+
 	for (j = 0; j < context->stream_count; j++) {
 		int k;
 
@@ -164,6 +170,23 @@ void dce110_fill_display_configs(
 		cfg->v_refresh /= stream->timing.h_total;
 		cfg->v_refresh = (cfg->v_refresh + stream->timing.v_total / 2)
 							/ stream->timing.v_total;
+
+		/* Find first CRTC index and calculate its line time.
+		 * This is necessary for DPM on SI GPUs.
+		 */
+		if (cfg->pipe_idx < pp_display_cfg->crtc_index) {
+			const struct dc_crtc_timing *timing =
+				&context->streams[0]->timing;
+
+			pp_display_cfg->crtc_index = cfg->pipe_idx;
+			pp_display_cfg->line_time_in_us =
+				timing->h_total * 10000 / timing->pix_clk_100hz;
+		}
+	}
+
+	if (!num_cfgs) {
+		pp_display_cfg->crtc_index = 0;
+		pp_display_cfg->line_time_in_us = 0;
 	}
 
 	pp_display_cfg->display_count = num_cfgs;
@@ -222,25 +245,8 @@ void dce11_pplib_apply_display_requirements(
 	pp_display_cfg->min_engine_clock_deep_sleep_khz
 			= context->bw_ctx.bw.dce.sclk_deep_sleep_khz;
 
-	pp_display_cfg->avail_mclk_switch_time_us =
-						dce110_get_min_vblank_time_us(context);
-	/* TODO: dce11.2*/
-	pp_display_cfg->avail_mclk_switch_time_in_disp_active_us = 0;
-
-	pp_display_cfg->disp_clk_khz = dc->clk_mgr->clks.dispclk_khz;
-
 	dce110_fill_display_configs(context, pp_display_cfg);
 
-	/* TODO: is this still applicable?*/
-	if (pp_display_cfg->display_count == 1) {
-		const struct dc_crtc_timing *timing =
-			&context->streams[0]->timing;
-
-		pp_display_cfg->crtc_index =
-			pp_display_cfg->disp_configs[0].pipe_idx;
-		pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz;
-	}
-
 	if (memcmp(&dc->current_state->pp_display_cfg, pp_display_cfg, sizeof(*pp_display_cfg)) !=  0)
 		dm_pp_apply_display_requirements(dc->ctx, pp_display_cfg);
 }
drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/dce60_clk_mgr.c +9 -22
index 0267644717b2..ffd0f4a76310 100644
@@ -83,22 +83,13 @@ static const struct state_dependent_clocks dce60_max_clks_by_state[] = {
 static int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
 {
 	struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
-	int dprefclk_wdivider;
-	int dp_ref_clk_khz;
-	int target_div;
+	struct dc_context *ctx = clk_mgr_base->ctx;
+	int dp_ref_clk_khz = 0;
 
-	/* DCE6 has no DPREFCLK_CNTL to read DP Reference Clock source */
-
-	/* Read the mmDENTIST_DISPCLK_CNTL to get the currently
-	 * programmed DID DENTIST_DPREFCLK_WDIVIDER*/
-	REG_GET(DENTIST_DISPCLK_CNTL, DENTIST_DPREFCLK_WDIVIDER, &dprefclk_wdivider);
-
-	/* Convert DENTIST_DPREFCLK_WDIVIDERto actual divider*/
-	target_div = dentist_get_divider_from_did(dprefclk_wdivider);
-
-	/* Calculate the current DFS clock, in kHz.*/
-	dp_ref_clk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR
-		* clk_mgr->base.dentist_vco_freq_khz) / target_div;
+	if (ASIC_REV_IS_TAHITI_P(ctx->asic_id.hw_internal_rev))
+		dp_ref_clk_khz = ctx->dc_bios->fw_info.default_display_engine_pll_frequency;
+	else
+		dp_ref_clk_khz = clk_mgr_base->clks.dispclk_khz;
 
 	return dce_adjust_dp_ref_freq_for_ss(clk_mgr, dp_ref_clk_khz);
 }
@@ -109,8 +100,6 @@ static void dce60_pplib_apply_display_requirements(
 {
 	struct dm_pp_display_configuration *pp_display_cfg = &context->pp_display_cfg;
 
-	pp_display_cfg->avail_mclk_switch_time_us = dce110_get_min_vblank_time_us(context);
-
 	dce110_fill_display_configs(context, pp_display_cfg);
 
 	if (memcmp(&dc->current_state->pp_display_cfg, pp_display_cfg, sizeof(*pp_display_cfg)) !=  0)
@@ -123,11 +112,9 @@ static void dce60_update_clocks(struct clk_mgr *clk_mgr_base,
 {
 	struct clk_mgr_internal *clk_mgr_dce = TO_CLK_MGR_INTERNAL(clk_mgr_base);
 	struct dm_pp_power_level_change_request level_change_req;
-	int patched_disp_clk = context->bw_ctx.bw.dce.dispclk_khz;
-
-	/*TODO: W/A for dal3 linux, investigate why this works */
-	if (!clk_mgr_dce->dfs_bypass_active)
-		patched_disp_clk = patched_disp_clk * 115 / 100;
+	const int max_disp_clk =
+		clk_mgr_dce->max_clks_by_state[DM_PP_CLOCKS_STATE_PERFORMANCE].display_clk_khz;
+	int patched_disp_clk = min(max_disp_clk, context->bw_ctx.bw.dce.dispclk_khz);
 
 	level_change_req.power_level = dce_get_required_clocks_state(clk_mgr_base, context);
 	/* get max clock state from PPLIB */
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +5 -6
index c6c4888c6665..402d65759e73 100644
@@ -159,14 +159,13 @@ static void dcn20_setup_gsl_group_as_lock(
 	}
 
 	/* at this point we want to program whether it's to enable or disable */
-	if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL &&
-		pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL) {
+	if (pipe_ctx->stream_res.tg->funcs->set_gsl != NULL) {
 		pipe_ctx->stream_res.tg->funcs->set_gsl(
 			pipe_ctx->stream_res.tg,
 			&gsl);
-
-		pipe_ctx->stream_res.tg->funcs->set_gsl_source_select(
-			pipe_ctx->stream_res.tg, group_idx,	enable ? 4 : 0);
+		if (pipe_ctx->stream_res.tg->funcs->set_gsl_source_select != NULL)
+			pipe_ctx->stream_res.tg->funcs->set_gsl_source_select(
+				pipe_ctx->stream_res.tg, group_idx, enable ? 4 : 0);
 	} else
 		BREAK_TO_DEBUGGER();
 }
@@ -736,7 +735,7 @@ enum dc_status dcn20_enable_stream_timing(
 		return DC_ERROR_UNEXPECTED;
 	}
 
-	hws->funcs.wait_for_blank_complete(pipe_ctx->stream_res.opp);
+	fsleep(stream->timing.v_total * (stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz));
 
 	params.vertical_total_min = stream->adjust.v_total_min;
 	params.vertical_total_max = stream->adjust.v_total_max;
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu_helper.c +1 -1
index 60b5ca974356..80d5fb388003 100644
@@ -149,7 +149,7 @@ int phm_wait_on_indirect_register(struct pp_hwmgr *hwmgr,
 	}
 
 	cgs_write_register(hwmgr->device, indirect_port, index);
-	return phm_wait_on_register(hwmgr, indirect_port + 1, mask, value);
+	return phm_wait_on_register(hwmgr, indirect_port + 1, value, mask);
 }
 
 int phm_wait_for_register_unequal(struct pp_hwmgr *hwmgr,
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +6 -0
index ee27970cfff9..3cedfd4851f2 100644
@@ -1332,6 +1332,12 @@ static int smu_resume(void *handle)
 
 	adev->pm.dpm_enabled = true;
 
+	if (smu->current_power_limit) {
+		ret = smu_set_power_limit(smu, smu->current_power_limit);
+		if (ret && ret != -EOPNOTSUPP)
+			return ret;
+	}
+
 	dev_info(adev->dev, "SMU is resumed successfully!\n");
 
 	return 0;
drivers/gpu/drm/drm_dp_helper.c +1 -1
index 6ba16db77500..ba8ab1dc4912 100644
@@ -299,7 +299,7 @@ ssize_t drm_dp_dpcd_read(struct drm_dp_aux *aux, unsigned int offset,
 	 * monitor doesn't power down exactly after the throw away read.
 	 */
 	if (!aux->is_remote) {
-		ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, DP_DPCD_REV,
+		ret = drm_dp_dpcd_access(aux, DP_AUX_NATIVE_READ, DP_LANE0_1_STATUS,
 					 buffer, 1);
 		if (ret != 1)
 			goto out;
drivers/gpu/drm/rockchip/rockchip_drm_fb.c +1 -8
index 3aa37e177667..b386c17e8668 100644
@@ -81,16 +81,9 @@ rockchip_fb_create(struct drm_device *dev, struct drm_file *file,
 	}
 
 	if (drm_is_afbc(mode_cmd->modifier[0])) {
-		int ret, i;
-
 		ret = drm_gem_fb_afbc_init(dev, mode_cmd, afbc_fb);
 		if (ret) {
-			struct drm_gem_object **obj = afbc_fb->base.obj;
-
-			for (i = 0; i < info->num_planes; ++i)
-				drm_gem_object_put(obj[i]);
-
-			kfree(afbc_fb);
+			drm_framebuffer_put(&afbc_fb->base);
 			return ERR_PTR(ret);
 		}
 	}
drivers/gpu/drm/scheduler/sched_entity.c +2 -21
index 750d91370c8a..259bcb3aec7d 100644
@@ -313,19 +313,6 @@ void drm_sched_entity_destroy(struct drm_sched_entity *entity)
 }
 EXPORT_SYMBOL(drm_sched_entity_destroy);
 
-/**
- * drm_sched_entity_clear_dep - callback to clear the entities dependency
- */
-static void drm_sched_entity_clear_dep(struct dma_fence *f,
-				       struct dma_fence_cb *cb)
-{
-	struct drm_sched_entity *entity =
-		container_of(cb, struct drm_sched_entity, cb);
-
-	entity->dependency = NULL;
-	dma_fence_put(f);
-}
-
 /**
  * drm_sched_entity_clear_dep - callback to clear the entities dependency and
  * wake up scheduler
@@ -336,7 +323,8 @@ static void drm_sched_entity_wakeup(struct dma_fence *f,
 	struct drm_sched_entity *entity =
 		container_of(cb, struct drm_sched_entity, cb);
 
-	drm_sched_entity_clear_dep(f, cb);
+	entity->dependency = NULL;
+	dma_fence_put(f);
 	drm_sched_wakeup(entity->rq->sched);
 }
 
@@ -392,13 +380,6 @@ static bool drm_sched_entity_add_dependency_cb(struct drm_sched_entity *entity)
 		fence = dma_fence_get(&s_fence->scheduled);
 		dma_fence_put(entity->dependency);
 		entity->dependency = fence;
-		if (!dma_fence_add_callback(fence, &entity->cb,
-					    drm_sched_entity_clear_dep))
-			return true;
-
-		/* Ignore it when it is already scheduled */
-		dma_fence_put(fence);
-		return false;
 	}
 
 	if (!dma_fence_add_callback(entity->dependency, &entity->cb,
drivers/gpu/drm/ttm/ttm_resource.c +3 -0
index b325b9264203..e6db512ff581 100644
@@ -113,6 +113,9 @@ int ttm_resource_manager_force_list_clean(struct ttm_bo_device *bdev,
 	}
 	spin_unlock(&glob->lru_lock);
 
+	if (ret && ret != -ENOENT)
+		return ret;
+
 	spin_lock(&man->move_lock);
 	fence = dma_fence_get(man->move);
 	spin_unlock(&man->move_lock);
drivers/hid/hid-core.c +14 -5
index 126acf5441c8..89aa7a0e51de 100644
@@ -1662,9 +1662,12 @@ u8 *hid_alloc_report_buf(struct hid_report *report, gfp_t flags)
 	/*
 	 * 7 extra bytes are necessary to achieve proper functionality
 	 * of implement() working on 8 byte chunks
+	 * 1 extra byte for the report ID if it is null (not used) so
+	 * we can reserve that extra byte in the first position of the buffer
+	 * when sending it to .raw_request()
 	 */
 
-	u32 len = hid_report_len(report) + 7;
+	u32 len = hid_report_len(report) + 7 + (report->id == 0);
 
 	return kzalloc(len, flags);
 }
@@ -1727,7 +1730,7 @@ static struct hid_report *hid_get_report(struct hid_report_enum *report_enum,
 int __hid_request(struct hid_device *hid, struct hid_report *report,
 		int reqtype)
 {
-	char *buf;
+	char *buf, *data_buf;
 	int ret;
 	u32 len;
 
@@ -1735,13 +1738,19 @@ int __hid_request(struct hid_device *hid, struct hid_report *report,
 	if (!buf)
 		return -ENOMEM;
 
+	data_buf = buf;
 	len = hid_report_len(report);
 
+	if (report->id == 0) {
+		/* reserve the first byte for the report ID */
+		data_buf++;
+		len++;
+	}
+
 	if (reqtype == HID_REQ_SET_REPORT)
-		hid_output_report(report, buf);
+		hid_output_report(report, data_buf);
 
-	ret = hid->ll_driver->raw_request(hid, report->id, buf, len,
-					  report->type, reqtype);
+	ret = hid_hw_raw_request(hid, report->id, buf, len, report->type, reqtype);
 	if (ret < 0) {
 		dbg_hid("unable to complete request: %d\n", ret);
 		goto out;
drivers/hwmon/corsair-cpro.c +5 -0
index 05df31cab2e5..074f812332e8 100644
@@ -84,6 +84,7 @@ struct ccp_device {
 	struct mutex mutex; /* whenever buffer is used, lock before send_usb_cmd */
 	u8 *cmd_buffer;
 	u8 *buffer;
+	int buffer_recv_size; /* number of received bytes in buffer */
 	int target[6];
 	DECLARE_BITMAP(temp_cnct, NUM_TEMP_SENSORS);
 	DECLARE_BITMAP(fan_cnct, NUM_FANS);
@@ -139,6 +140,9 @@ static int send_usb_cmd(struct ccp_device *ccp, u8 command, u8 byte1, u8 byte2,
 	if (!t)
 		return -ETIMEDOUT;
 
+	if (ccp->buffer_recv_size != IN_BUFFER_SIZE)
+		return -EPROTO;
+
 	return ccp_get_errno(ccp);
 }
 
@@ -150,6 +154,7 @@ static int ccp_raw_event(struct hid_device *hdev, struct hid_report *report, u8
 	spin_lock(&ccp->wait_input_report_lock);
 	if (!completion_done(&ccp->wait_input_report)) {
 		memcpy(ccp->buffer, data, min(IN_BUFFER_SIZE, size));
+		ccp->buffer_recv_size = size;
 		complete_all(&ccp->wait_input_report);
 	}
 	spin_unlock(&ccp->wait_input_report_lock);
drivers/hwmon/gsc-hwmon.c +2 -2
index 89d036bf88df..cded881ac01f 100644
@@ -65,7 +65,7 @@ static ssize_t pwm_auto_point_temp_show(struct device *dev,
 		return ret;
 
 	ret = regs[0] | regs[1] << 8;
-	return sprintf(buf, "%d\n", ret * 10);
+	return sprintf(buf, "%d\n", ret * 100);
 }
 
 static ssize_t pwm_auto_point_temp_store(struct device *dev,
@@ -100,7 +100,7 @@ static ssize_t pwm_auto_point_pwm_show(struct device *dev,
 {
 	struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);
 
-	return sprintf(buf, "%d\n", 255 * (50 + (attr->index * 10)));
+	return sprintf(buf, "%d\n", 255 * (50 + (attr->index * 10)) / 100);
 }
 
 static SENSOR_DEVICE_ATTR_RO(pwm1_auto_point1_pwm, pwm_auto_point_pwm, 0);
drivers/i2c/busses/i2c-qup.c +3 -1
index 8fd51de64d96..49001b2458d4 100644
@@ -452,8 +452,10 @@ static int qup_i2c_bus_active(struct qup_i2c_dev *qup, int len)
 		if (!(status & I2C_STATUS_BUS_ACTIVE))
 			break;
 
-		if (time_after(jiffies, timeout))
+		if (time_after(jiffies, timeout)) {
 			ret = -ETIMEDOUT;
+			break;
+		}
 
 		usleep_range(len, len * 2);
 	}
drivers/i2c/busses/i2c-stm32.c +3 -5
index 157c64e27d0b..f84ec056e36d 100644
@@ -102,7 +102,6 @@ int stm32_i2c_prep_dma_xfer(struct device *dev, struct stm32_i2c_dma *dma,
 			    void *dma_async_param)
 {
 	struct dma_async_tx_descriptor *txdesc;
-	struct device *chan_dev;
 	int ret;
 
 	if (rd_wr) {
@@ -116,11 +115,10 @@ int stm32_i2c_prep_dma_xfer(struct device *dev, struct stm32_i2c_dma *dma,
 	}
 
 	dma->dma_len = len;
-	chan_dev = dma->chan_using->device->dev;
 
-	dma->dma_buf = dma_map_single(chan_dev, buf, dma->dma_len,
+	dma->dma_buf = dma_map_single(dev, buf, dma->dma_len,
 				      dma->dma_data_dir);
-	if (dma_mapping_error(chan_dev, dma->dma_buf)) {
+	if (dma_mapping_error(dev, dma->dma_buf)) {
 		dev_err(dev, "DMA mapping failed\n");
 		return -EINVAL;
 	}
@@ -150,7 +148,7 @@ int stm32_i2c_prep_dma_xfer(struct device *dev, struct stm32_i2c_dma *dma,
 	return 0;
 
 err:
-	dma_unmap_single(chan_dev, dma->dma_buf, dma->dma_len,
+	dma_unmap_single(dev, dma->dma_buf, dma->dma_len,
 			 dma->dma_data_dir);
 	return ret;
 }
drivers/i2c/busses/i2c-stm32f7.c +2 -2
index 0b4e73e63820..c33c655bc41c 100644
@@ -700,10 +700,10 @@ static void stm32f7_i2c_dma_callback(void *arg)
 {
 	struct stm32f7_i2c_dev *i2c_dev = (struct stm32f7_i2c_dev *)arg;
 	struct stm32_i2c_dma *dma = i2c_dev->dma;
-	struct device *dev = dma->chan_using->device->dev;
 
 	stm32f7_i2c_disable_dma_req(i2c_dev);
-	dma_unmap_single(dev, dma->dma_buf, dma->dma_len, dma->dma_data_dir);
+	dma_unmap_single(i2c_dev->dev, dma->dma_buf, dma->dma_len,
+			 dma->dma_data_dir);
 	complete(&dma->dma_complete);
 }
 
drivers/i2c/i2c-core-acpi.c +1 -0
index e7aed9442d56..197b89f0b3e0 100644
@@ -314,6 +314,7 @@ static const struct acpi_device_id i2c_acpi_force_100khz_device_ids[] = {
 	 * the device works without issues on Windows at what is expected to be
 	 * a 400KHz frequency. The root cause of the issue is not known.
 	 */
+	{ "DLL0945", 0 },
 	{ "ELAN06FA", 0 },
 	{}
 };
drivers/i3c/internals.h +1 -0
index 86b7b44cfca2..1906c711f38a 100644
@@ -9,6 +9,7 @@
 #define I3C_INTERNALS_H
 
 #include <linux/i3c/master.h>
+#include <linux/io.h>
 
 extern struct bus_type i3c_bus_type;
 
drivers/i3c/master.c +1 -1
index 6d56d23d6429..203b7497b52d 100644
@@ -1308,7 +1308,7 @@ static int i3c_master_retrieve_dev_info(struct i3c_dev_desc *dev)
 
 	if (dev->info.bcr & I3C_BCR_HDR_CAP) {
 		ret = i3c_master_gethdrcap_locked(master, &dev->info);
-		if (ret)
+		if (ret && ret != -ENOTSUPP)
 			return ret;
 	}
 
drivers/idle/intel_idle.c +1 -1
index 1cead368f961..f6a2211ca4ef 100644
@@ -1154,7 +1154,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
 };
 
 static const struct x86_cpu_id intel_mwait_ids[] __initconst = {
-	X86_MATCH_VENDOR_FAM_FEATURE(INTEL, 6, X86_FEATURE_MWAIT, NULL),
+	X86_MATCH_VENDOR_FAM_FEATURE(INTEL, X86_FAMILY_ANY, X86_FEATURE_MWAIT, NULL),
 	{}
 };
 
drivers/iio/adc/ad7768-1.c +19 -4
index 9580a7f7f73d..883399ad80e0 100644
@@ -202,6 +202,24 @@ static int ad7768_spi_reg_write(struct ad7768_state *st,
 	return spi_write(st->spi, st->data.d8, 2);
 }
 
+static int ad7768_send_sync_pulse(struct ad7768_state *st)
+{
+	/*
+	 * The datasheet specifies a minimum SYNC_IN pulse width of 1.5 × Tmclk,
+	 * where Tmclk is the MCLK period. The supported MCLK frequencies range
+	 * from 0.6 MHz to 17 MHz, which corresponds to a minimum SYNC_IN pulse
+	 * width of approximately 2.5 µs in the worst-case scenario (0.6 MHz).
+	 *
+	 * Add a delay to ensure the pulse width is always sufficient to
+	 * trigger synchronization.
+	 */
+	gpiod_set_value_cansleep(st->gpio_sync_in, 1);
+	fsleep(3);
+	gpiod_set_value_cansleep(st->gpio_sync_in, 0);
+
+	return 0;
+}
+
 static int ad7768_set_mode(struct ad7768_state *st,
 			   enum ad7768_conv_mode mode)
 {
@@ -287,10 +305,7 @@ static int ad7768_set_dig_fil(struct ad7768_state *st,
 		return ret;
 
 	/* A sync-in pulse is required every time the filter dec rate changes */
-	gpiod_set_value(st->gpio_sync_in, 1);
-	gpiod_set_value(st->gpio_sync_in, 0);
-
-	return 0;
+	return ad7768_send_sync_pulse(st);
 }
 
 static int ad7768_set_freq(struct ad7768_state *st,
drivers/iio/adc/ad_sigma_delta.c +2 -2
index 496cb2b26bfd..5dd0debb089a 100644
@@ -371,7 +371,7 @@ static int ad_sd_buffer_postenable(struct iio_dev *indio_dev)
 	return ret;
 }
 
-static int ad_sd_buffer_postdisable(struct iio_dev *indio_dev)
+static int ad_sd_buffer_predisable(struct iio_dev *indio_dev)
 {
 	struct ad_sigma_delta *sigma_delta = iio_device_get_drvdata(indio_dev);
 
@@ -432,7 +432,7 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p)
 
 static const struct iio_buffer_setup_ops ad_sd_buffer_setup_ops = {
 	.postenable = &ad_sd_buffer_postenable,
-	.postdisable = &ad_sd_buffer_postdisable,
+	.predisable = &ad_sd_buffer_predisable,
 	.validate_scan_mask = &iio_validate_scan_mask_onehot,
 };
 
drivers/iio/adc/max1363.c +21 -22

84 lines not on this page · raw message

drivers/iio/adc/stm32-adc-core.c +3 -4
index 20fc867e3998..d7db30b11fb1 100644
@@ -391,10 +391,9 @@ static int stm32_adc_irq_probe(struct platform_device *pdev,
 		return -ENOMEM;
 	}
 
-	for (i = 0; i < priv->cfg->num_irqs; i++) {
-		irq_set_chained_handler(priv->irq[i], stm32_adc_irq_handler);
-		irq_set_handler_data(priv->irq[i], priv);
-	}
+	for (i = 0; i < priv->cfg->num_irqs; i++)
+		irq_set_chained_handler_and_data(priv->irq[i],
+						 stm32_adc_irq_handler, priv);
 
 	return 0;
 }
drivers/iio/imu/inv_icm42600/inv_icm42600_temp.c +5 -1
index 91f0f381082b..8926b48d7661 100644
@@ -32,8 +32,12 @@ static int inv_icm42600_temp_read(struct inv_icm42600_state *st, int16_t *temp)
 		goto exit;
 
 	*temp = (int16_t)be16_to_cpup(raw);
+	/*
+	 * Temperature data is invalid if both accel and gyro are off.
+	 * Return -EBUSY in this case.
+	 */
 	if (*temp == INV_ICM42600_DATA_INVALID)
-		ret = -EINVAL;
+		ret = -EBUSY;
 
 exit:
 	mutex_unlock(&st->lock);
drivers/iio/light/as73211.c +1 -1
index 76b334dc5fbf..dfeaa786b148 100644
@@ -574,7 +574,7 @@ static irqreturn_t as73211_trigger_handler(int irq __always_unused, void *p)
 	struct {
 		__le16 chan[4];
 		s64 ts __aligned(8);
-	} scan;
+	} scan = { };
 	int data_result, ret;
 
 	mutex_lock(&data->mutex);
drivers/iio/light/hid-sensor-prox.c +1 -2
index e9e00ce0c6d4..9109e5d2de36 100644
@@ -101,8 +101,7 @@ static int prox_read_raw(struct iio_dev *indio_dev,
 		ret_type = prox_state->scale_precision;
 		break;
 	case IIO_CHAN_INFO_OFFSET:
-		*val = hid_sensor_convert_exponent(
-				prox_state->prox_attr.unit_expo);
+		*val = 0;
 		ret_type = IIO_VAL_INT;
 		break;
 	case IIO_CHAN_INFO_SAMP_FREQ:
drivers/iio/pressure/bmp280-core.c +5 -4
index 919a338d9181..81670c2fb6ea 100644
@@ -1064,11 +1064,12 @@ int bmp280_common_probe(struct device *dev,
 
 	/* Bring chip out of reset if there is an assigned GPIO line */
 	gpiod = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_HIGH);
+	if (IS_ERR(gpiod))
+		return dev_err_probe(dev, PTR_ERR(gpiod), "failed to get reset GPIO\n");
+
 	/* Deassert the signal */
-	if (gpiod) {
-		dev_info(dev, "release reset\n");
-		gpiod_set_value(gpiod, 0);
-	}
+	dev_info(dev, "release reset\n");
+	gpiod_set_value(gpiod, 0);
 
 	data->regmap = regmap;
 	ret = regmap_read(regmap, BMP280_REG_ID, &chip_id);
drivers/iio/proximity/isl29501.c +11 -5
index 5b6ea783795d..3ccc95cf645c 100644
@@ -938,12 +938,18 @@ static irqreturn_t isl29501_trigger_handler(int irq, void *p)
 	struct iio_dev *indio_dev = pf->indio_dev;
 	struct isl29501_private *isl29501 = iio_priv(indio_dev);
 	const unsigned long *active_mask = indio_dev->active_scan_mask;
-	u32 buffer[4] __aligned(8) = {}; /* 1x16-bit + naturally aligned ts */
-
-	if (test_bit(ISL29501_DISTANCE_SCAN_INDEX, active_mask))
-		isl29501_register_read(isl29501, REG_DISTANCE, buffer);
+	u32 value;
+	struct {
+		u16 data;
+		aligned_s64 ts;
+	} scan = { };
+
+	if (test_bit(ISL29501_DISTANCE_SCAN_INDEX, active_mask)) {
+		isl29501_register_read(isl29501, REG_DISTANCE, &value);
+		scan.data = value;
+	}
 
-	iio_push_to_buffers_with_timestamp(indio_dev, buffer, pf->timestamp);
+	iio_push_to_buffers_with_timestamp(indio_dev, &scan, pf->timestamp);
 	iio_trigger_notify_done(indio_dev->trig);
 
 	return IRQ_HANDLED;
drivers/infiniband/core/cache.c +2 -2
index 7989b7e1d1c0..2bd9fb3195f5 100644
@@ -582,8 +582,8 @@ static int __ib_cache_gid_add(struct ib_device *ib_dev, u8 port,
 out_unlock:
 	mutex_unlock(&table->lock);
 	if (ret)
-		pr_warn("%s: unable to add gid %pI6 error=%d\n",
-			__func__, gid->raw, ret);
+		pr_warn_ratelimited("%s: unable to add gid %pI6 error=%d\n",
+				    __func__, gid->raw, ret);
 	return ret;
 }
 
drivers/infiniband/core/nldev.c +12 -10
index f8dfec7ad7cc..1475069aa428 100644
@@ -1240,10 +1240,11 @@ static const struct nldev_fill_res_entry fill_entries[RDMA_RESTRACK_MAX] = {
 	},
 };
 
-static int res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
-			       struct netlink_ext_ack *extack,
-			       enum rdma_restrack_type res_type,
-			       res_fill_func_t fill_func)
+static noinline_for_stack int
+res_get_common_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
+		    struct netlink_ext_ack *extack,
+		    enum rdma_restrack_type res_type,
+		    res_fill_func_t fill_func)
 {
 	const struct nldev_fill_res_entry *fe = &fill_entries[res_type];
 	struct nlattr *tb[RDMA_NLDEV_ATTR_MAX];
@@ -1877,10 +1878,10 @@ static int nldev_stat_del_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
 	return ret;
 }
 
-static int stat_get_doit_default_counter(struct sk_buff *skb,
-					 struct nlmsghdr *nlh,
-					 struct netlink_ext_ack *extack,
-					 struct nlattr *tb[])
+static noinline_for_stack int
+stat_get_doit_default_counter(struct sk_buff *skb, struct nlmsghdr *nlh,
+			      struct netlink_ext_ack *extack,
+			      struct nlattr *tb[])
 {
 	struct rdma_hw_stats *stats;
 	struct nlattr *table_attr;
@@ -1970,8 +1971,9 @@ static int stat_get_doit_default_counter(struct sk_buff *skb,
 	return ret;
 }
 
-static int stat_get_doit_qp(struct sk_buff *skb, struct nlmsghdr *nlh,
-			    struct netlink_ext_ack *extack, struct nlattr *tb[])
+static noinline_for_stack int
+stat_get_doit_qp(struct sk_buff *skb, struct nlmsghdr *nlh,
+		 struct netlink_ext_ack *extack, struct nlattr *tb[])
 
 {
 	static enum rdma_nl_counter_mode mode;
drivers/infiniband/hw/bnxt_re/qplib_res.c +2 -0
index af23e57fc78e..be98b23488b4 100644
@@ -121,6 +121,7 @@ static int __alloc_pbl(struct bnxt_qplib_res *res,
 	pbl->pg_arr = vmalloc(pages * sizeof(void *));
 	if (!pbl->pg_arr)
 		return -ENOMEM;
+	memset(pbl->pg_arr, 0, pages * sizeof(void *));
 
 	pbl->pg_map_arr = vmalloc(pages * sizeof(dma_addr_t));
 	if (!pbl->pg_map_arr) {
@@ -128,6 +129,7 @@ static int __alloc_pbl(struct bnxt_qplib_res *res,
 		pbl->pg_arr = NULL;
 		return -ENOMEM;
 	}
+	memset(pbl->pg_map_arr, 0, pages * sizeof(dma_addr_t));
 	pbl->pg_count = 0;
 	pbl->pg_size = sginfo->pgsize;
 
drivers/infiniband/hw/hfi1/affinity.c +24 -20

55 lines not on this page · raw message

drivers/infiniband/sw/rxe/rxe_comp.c +10 -6
index a54d80004342..b7645de067f3 100644
@@ -346,13 +346,15 @@ static inline enum comp_state do_read(struct rxe_qp *qp,
 	ret = copy_data(qp->pd, IB_ACCESS_LOCAL_WRITE,
 			&wqe->dma, payload_addr(pkt),
 			payload_size(pkt), to_mem_obj, NULL);
-	if (ret)
+	if (ret) {
+		wqe->status = IB_WC_LOC_PROT_ERR;
 		return COMPST_ERROR;
+	}
 
 	if (wqe->dma.resid == 0 && (pkt->mask & RXE_END_MASK))
 		return COMPST_COMP_ACK;
-	else
-		return COMPST_UPDATE_COMP;
+
+	return COMPST_UPDATE_COMP;
 }
 
 static inline enum comp_state do_atomic(struct rxe_qp *qp,
@@ -366,10 +368,12 @@ static inline enum comp_state do_atomic(struct rxe_qp *qp,
 	ret = copy_data(qp->pd, IB_ACCESS_LOCAL_WRITE,
 			&wqe->dma, &atomic_orig,
 			sizeof(u64), to_mem_obj, NULL);
-	if (ret)
+	if (ret) {
+		wqe->status = IB_WC_LOC_PROT_ERR;
 		return COMPST_ERROR;
-	else
-		return COMPST_COMP_ACK;
+	}
+
+	return COMPST_COMP_ACK;
 }
 
 static void make_send_cqe(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
drivers/input/joystick/xpad.c +1 -1
index a0362201b5d3..31f7d09c71dc 100644
@@ -142,12 +142,12 @@ static const struct xpad_device {
 	{ 0x046d, 0xca88, "Logitech Compact Controller for Xbox", 0, XTYPE_XBOX },
 	{ 0x046d, 0xca8a, "Logitech Precision Vibration Feedback Wheel", 0, XTYPE_XBOX },
 	{ 0x046d, 0xcaa3, "Logitech DriveFx Racing Wheel", 0, XTYPE_XBOX360 },
+	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX360 },
 	{ 0x056e, 0x2004, "Elecom JC-U3613M", 0, XTYPE_XBOX360 },
 	{ 0x05fd, 0x1007, "Mad Catz Controller (unverified)", 0, XTYPE_XBOX },
 	{ 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
 	{ 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
-	{ 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
 	{ 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
 	{ 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
drivers/iommu/amd/init.c +2 -2
index e09391ab3deb..1ba6adb5b912 100644
@@ -3186,7 +3186,7 @@ static int __init parse_ivrs_acpihid(char *str)
 {
 	u32 seg = 0, bus, dev, fn;
 	char *hid, *uid, *p, *addr;
-	char acpiid[ACPIID_LEN] = {0};
+	char acpiid[ACPIID_LEN + 1] = { }; /* size with NULL terminator */
 	int i;
 
 	addr = strchr(str, '@');
@@ -3212,7 +3212,7 @@ static int __init parse_ivrs_acpihid(char *str)
 	/* We have the '@', make it the terminator to get just the acpiid */
 	*addr++ = 0;
 
-	if (strlen(str) > ACPIID_LEN + 1)
+	if (strlen(str) > ACPIID_LEN)
 		goto not_found;
 
 	if (sscanf(str, "=%s", acpiid) != 1)
drivers/leds/leds-lp50xx.c +10 -1
index d4529082935b..279f3958e0ab 100644
@@ -493,6 +493,7 @@ static int lp50xx_probe_dt(struct lp50xx *priv)
 		}
 
 		fwnode_for_each_child_node(child, led_node) {
+			int multi_index;
 			ret = fwnode_property_read_u32(led_node, "color",
 						       &color_id);
 			if (ret) {
@@ -500,8 +501,16 @@ static int lp50xx_probe_dt(struct lp50xx *priv)
 				dev_err(priv->dev, "Cannot read color\n");
 				goto child_out;
 			}
+			ret = fwnode_property_read_u32(led_node, "reg", &multi_index);
+			if (ret != 0) {
+				dev_err(priv->dev, "reg must be set\n");
+				return -EINVAL;
+			} else if (multi_index >= LP50XX_LEDS_PER_MODULE) {
+				dev_err(priv->dev, "reg %i out of range\n", multi_index);
+				return -EINVAL;
+			}
 
-			mc_led_info[num_colors].color_index = color_id;
+			mc_led_info[multi_index].color_index = color_id;
 			num_colors++;
 		}
 
drivers/md/dm-core.h +52 -0

64 lines not on this page · raw message

drivers/md/dm-historical-service-time.c +3 -1
index 06fe43c13ba3..2d23de6742fb 100644
@@ -537,8 +537,10 @@ static int __init dm_hst_init(void)
 {
 	int r = dm_register_path_selector(&hst_ps);
 
-	if (r < 0)
+	if (r < 0) {
 		DMERR("register failed %d", r);
+		return r;
+	}
 
 	DMINFO("version " HST_VERSION " loaded");
 
drivers/md/dm-queue-length.c +3 -1
index 5fd018d18418..cbb72039005a 100644
@@ -256,8 +256,10 @@ static int __init dm_ql_init(void)
 {
 	int r = dm_register_path_selector(&ql_ps);
 
-	if (r < 0)
+	if (r < 0) {
 		DMERR("register failed %d", r);
+		return r;
+	}
 
 	DMINFO("version " QL_VERSION " loaded");
 
drivers/md/dm-round-robin.c +3 -1
index bdbb7e6e8212..fa7205f8f0b4 100644
@@ -212,8 +212,10 @@ static int __init dm_rr_init(void)
 {
 	int r = dm_register_path_selector(&rr_ps);
 
-	if (r < 0)
+	if (r < 0) {
 		DMERR("register failed %d", r);
+		return r;
+	}
 
 	DMINFO("version " RR_VERSION " loaded");
 
drivers/md/dm-rq.c +8 -0
index 7762bde40963..a6ea77432e34 100644
@@ -490,6 +490,14 @@ static blk_status_t dm_mq_queue_rq(struct blk_mq_hw_ctx *hctx,
 	struct mapped_device *md = tio->md;
 	struct dm_target *ti = md->immutable_target;
 
+	/*
+	 * blk-mq's unquiesce may come from outside events, such as
+	 * elevator switch, updating nr_requests or others, and request may
+	 * come during suspend, so simply ask for blk-mq to requeue it.
+	 */
+	if (unlikely(test_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags)))
+		return BLK_STS_RESOURCE;
+
 	if (unlikely(!ti)) {
 		int srcu_idx;
 		struct dm_table *map;
drivers/md/dm-service-time.c +3 -1
index 9cfda665e9eb..563bd9e4d16f 100644
@@ -338,8 +338,10 @@ static int __init dm_st_init(void)
 {
 	int r = dm_register_path_selector(&st_ps);
 
-	if (r < 0)
+	if (r < 0) {
 		DMERR("register failed %d", r);
+		return r;
+	}
 
 	DMINFO("version " ST_VERSION " loaded");
 
drivers/md/dm-zoned-target.c +1 -1
index 48fc723f1ac8..e5f61a9080e4 100644
@@ -1066,7 +1066,7 @@ static int dmz_iterate_devices(struct dm_target *ti,
 	struct dmz_target *dmz = ti->private;
 	unsigned int zone_nr_sectors = dmz_zone_nr_sectors(dmz->metadata);
 	sector_t capacity;
-	int i, r;
+	int i, r = 0;
 
 	for (i = 0; i < dmz->nr_ddevs; i++) {
 		capacity = dmz->dev[i].capacity & ~(zone_nr_sectors - 1);
drivers/md/dm.c +7 -52

113 lines not on this page · raw message

drivers/media/cec/usb/rainshadow/rainshadow-cec.c +2 -1
index ee870ea1a886..6f8d6797c614 100644
@@ -171,11 +171,12 @@ static irqreturn_t rain_interrupt(struct serio *serio, unsigned char data,
 {
 	struct rain *rain = serio_get_drvdata(serio);
 
+	spin_lock(&rain->buf_lock);
 	if (rain->buf_len == DATA_SIZE) {
+		spin_unlock(&rain->buf_lock);
 		dev_warn_once(rain->dev, "buffer overflow\n");
 		return IRQ_HANDLED;
 	}
-	spin_lock(&rain->buf_lock);
 	rain->buf_len++;
 	rain->buf[rain->buf_wr_idx] = data;
 	rain->buf_wr_idx = (rain->buf_wr_idx + 1) & 0xff;
drivers/media/dvb-frontends/dib7000p.c +8 -0
index 8c426baf76ee..08b3ac8ff108 100644
@@ -2198,6 +2198,8 @@ static int w7090p_tuner_write_serpar(struct i2c_adapter *i2c_adap, struct i2c_ms
 	struct dib7000p_state *state = i2c_get_adapdata(i2c_adap);
 	u8 n_overflow = 1;
 	u16 i = 1000;
+	if (msg[0].len < 3)
+		return -EOPNOTSUPP;
 	u16 serpar_num = msg[0].buf[0];
 
 	while (n_overflow == 1 && i) {
@@ -2217,6 +2219,8 @@ static int w7090p_tuner_read_serpar(struct i2c_adapter *i2c_adap, struct i2c_msg
 	struct dib7000p_state *state = i2c_get_adapdata(i2c_adap);
 	u8 n_overflow = 1, n_empty = 1;
 	u16 i = 1000;
+	if (msg[0].len < 1 || msg[1].len < 2)
+		return -EOPNOTSUPP;
 	u16 serpar_num = msg[0].buf[0];
 	u16 read_word;
 
@@ -2261,8 +2265,12 @@ static int dib7090p_rw_on_apb(struct i2c_adapter *i2c_adap,
 	u16 word;
 
 	if (num == 1) {		/* write */
+		if (msg[0].len < 3)
+			return -EOPNOTSUPP;
 		dib7000p_write_word(state, apb_address, ((msg[0].buf[1] << 8) | (msg[0].buf[2])));
 	} else {
+		if (msg[1].len < 2)
+			return -EOPNOTSUPP;
 		word = dib7000p_read_word(state, apb_address);
 		msg[1].buf[0] = (word >> 8) & 0xff;
 		msg[1].buf[1] = (word) & 0xff;
drivers/media/i2c/hi556.c +14 -12
index c66cd1446c0f..e15a9ce1e3b0 100644
@@ -602,21 +602,23 @@ static int hi556_test_pattern(struct hi556 *hi556, u32 pattern)
 	int ret;
 	u32 val;
 
-	if (pattern) {
-		ret = hi556_read_reg(hi556, HI556_REG_ISP,
-				     HI556_REG_VALUE_08BIT, &val);
-		if (ret)
-			return ret;
+	ret = hi556_read_reg(hi556, HI556_REG_ISP,
+			     HI556_REG_VALUE_08BIT, &val);
+	if (ret)
+		return ret;
 
-		ret = hi556_write_reg(hi556, HI556_REG_ISP,
-				      HI556_REG_VALUE_08BIT,
-				      val | HI556_REG_ISP_TPG_EN);
-		if (ret)
-			return ret;
-	}
+	val = pattern ? (val | HI556_REG_ISP_TPG_EN) :
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

drivers/media/i2c/ov2659.c +2 -1
index fb78a1cedc03..e2a0a8877288 100644

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/camss/camss.c +3 -1
index d074f426980d..a4d3cb61b9d0 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/core.c +17 -4
index b8bbd9d71b79..bdf58cc19290 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/core.h +2 -0
index 785a5bbb19c3..0abb152c681f 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/dbgfs.c +9 -0
index 52de47f2ca88..726f4b730e69 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/dbgfs.h +13 -0
index b7b621a8472f..c87c1355d039 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/hfi_venus.c +11 -3
index 91584d197af9..4f25703e55a7 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/qcom/venus/vdec.c +2 -3
index 68390143d37d..b18459c5290c 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/gspca/vicam.c +8 -2
index d98343fd33fe..91e177aa8136 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/hdpvr/hdpvr-i2c.c +6 -0
index 070559b01b01..54956a8ff15e 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/usbtv/usbtv-video.c +4 -0
index f2aaec0f77c8..89f4b55a79c1 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/uvc/uvc_driver.c +3 -0
index f3f91635d67b..419fbdbb7a3b 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/uvc/uvc_video.c +15 -6
index f6e97ff7a8e4..66bed1b64ac9 100644

Lines of this file are not shown. View the raw message.

drivers/media/v4l2-core/v4l2-ctrls.c +32 -5
index 41f8410d08d6..e754bb2a8a4e 100644

Lines of this file are not shown. View the raw message.

drivers/memstick/core/memstick.c +1 -2
index 1c7a9dcfed65..e24ab362e51a 100644

Lines of this file are not shown. View the raw message.

drivers/memstick/host/rtsx_usb_ms.c +1 -0
index dec279845a75..43ec4948daa2 100644

Lines of this file are not shown. View the raw message.

drivers/misc/cardreader/rtsx_usb.c +9 -7
index f150d8769f19..f546b050cb49 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/bcm2835.c +2 -1
index 985079943be7..f9d1e7bba2c8 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/rtsx_usb_sdmmc.c +1 -3
index 1be3a355f10d..ab7023d956eb 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/sdhci-msm.c +14 -0
index c9298a986ef0..183617d56b44 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/sdhci-pci-core.c +2 -1
index 376959569353..f55fdd7468b6 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/sdhci-pci-gli.c +2 -2
index 23b89b4cad08..3a171221f97c 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/host/sdhci_am654.c +6 -3
index 9d74ee989cb7..6ed4ed6071e4 100644

Lines of this file are not shown. View the raw message.

drivers/most/core.c +1 -1
index 353ab277cbc6..0cf0bbd2abfa 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/ftl.c +1 -1
index 2578f27914ef..ffe89209cf4b 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/raw/atmel/nand-controller.c +1 -1
index 0d84f8156d8e..3468cc329399 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/raw/atmel/pmecc.c +6 -0
index d1ed5878b3b1..28ed65dd3d43 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/raw/fsmc_nand.c +2 -0
index 3da66e95e5b7..7fe5418c3e3b 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/kvaser_pciefd.c +1 -0
index 197390dfc6ab..42c2b56d783e 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c +1 -0
index a96b22398407..602f0b3bbcdf 100644

Lines of this file are not shown. View the raw message.

drivers/net/dsa/b53/b53_common.c +38 -16

54 lines not on this page · raw message

drivers/net/dsa/b53/b53_regs.h +2 -0
index b2c539a42154..77fb7ae660b8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/agere/et131x.c +36 -0
index 41f8821f792d..fa04e37de089 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/atheros/ag71xx.c +9 -0
index fe3ca3af431a..67409a53d510 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/cavium/thunder/thunder_bgx.c +2 -2
index f0e48b9373d6..0a71909bb2ee 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/emulex/benet/be_cmds.c +1 -1
index d9bceb26f4e5..d6984c179bae 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/emulex/benet/be_main.c +4 -4
index ff3ea24d2e3f..97cbe7737eb4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +3 -1
index d8cb0b99684a..6542abeca787 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c +44 -22

66 lines not on this page · raw message

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h +13 -0
index 5934b1b4ee97..77b1d39dd5c5 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c +8 -8
index d7de60049700..f65179ed4f33 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c +42 -53

95 lines not on this page · raw message

drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.h +5 -0
index 955a52856210..13d42dd58ec9 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/fec_main.c +16 -18
index 805434ba3035..adf70a1650f4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/freescale/gianfar_ethtool.c +3 -1
index 799a1486f586..0004138088dd 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/google/gve/gve_adminq.c +1 -0
index 67f2b9a61463..f02b3f01a557 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/google/gve/gve_main.c +37 -30

67 lines not on this page · raw message

drivers/net/ethernet/hisilicon/hns3/hnae3.h +8 -9
index 25b6b4f780f1..b0b5324e7f99 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c +2 -1
index dc9a85745e62..d299787eae29 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +16 -17
index 110baa9949a0..727b18cd6c4a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c +1 -1
index 16df050e72cf..9688b394634f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +2 -2
index ec918f2981ec..aa987cad7cad 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c +1 -1
index 9969714d1133..cdfa04bc4598 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +23 -26

49 lines not on this page · raw message

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +11 -14
index aa026eb5cf58..15dca78fd736 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/defines.h +3 -0
index 63c3c79380a1..32e6d16b2dcf 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/ich8lan.c +2 -0
index 1f51252b465a..88a1d47f9005 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/nvm.c +6 -0
index e609f4df86f4..16369e6d245a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/fm10k/fm10k.h +2 -1
index 6119a4108838..65a2816142d9 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e.h +1 -1
index dd630b6bc74b..add9a3107d9a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_ethtool.c +2 -1
index 520929f4d535..7f8fc9b3b105 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_main.c +7 -11
index 35a903f6df21..aa24d1808c98 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +2 -2
index 852ece241a27..c86c429e9a3a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ice/ice_flex_pipe.c +2 -0
index a81be917f653..da2906720c63 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ixgbe/ixgbe.h +2 -1
index 18251edbfabf..3ea7095fc04f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c +3 -1
index ca1a428b278e..54351d6742d0 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlxsw/spectrum.c +2 -0
index 4110e15c22c7..8ab7e591b66a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlxsw/trap.h +1 -0
index 57f9e24602d0..93ca6f90f320 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
index 02b95afe2506..c8bd4880b609 100644

Lines of this file are not shown. View the raw message.

drivers/net/hyperv/hyperv_net.h +3 -0
index 15652d7951f9..4ee5ee2eb852 100644

Lines of this file are not shown. View the raw message.

drivers/net/hyperv/netvsc_drv.c +28 -1
index 9ae4f88ab455..f9f10800968b 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/mscc/mscc_ptp.c +1 -0
index 85102e895665..4a00b82d3ca5 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/mscc/mscc_ptp.h +1 -0
index 3ea163af0f4f..7e3809e4aa5f 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/smsc.c +1 -0
index d860a2626b13..c799c6505767 100644

Lines of this file are not shown. View the raw message.

drivers/net/ppp/pptp.c +11 -7
index 05a75b5a8b68..3c1e7155e2bf 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/sierra_net.c +4 -0
index 777f672f288c..cfc519bc4545 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/usbnet.c +8 -3
index ad425e09c75f..ac439f9ccfd4 100644

Lines of this file are not shown. View the raw message.

drivers/net/virtio_net.c +34 -4
index 99dea89b2678..5698683779ee 100644

Lines of this file are not shown. View the raw message.

drivers/net/vrf.c +2 -0
index c801185ade2b..b43e8041fda3 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath11k/hal.c +22 -3
index f3b9108ab6bd..d5921805af63 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +4 -4
index fbb5e29530e3..af06f31db0e2 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c +1 -1
index 47c0e8e429e5..3064e603e7e3 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlegacy/4965-mac.c +4 -1
index 2549902552e1..6e5decf79a06 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/dvm/main.c +9 -2
index 6a19fc4c6860..54fef25a11a1 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/dvm/rs.c +1 -1
index 958bfc38d390..f44448a13172 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/fw/dbg.c +6 -1
index 558caf78a56d..37c1158b9225 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/mvm/ops.c +3 -1
index 9b1a1455a7d5..1f14636d6a3a 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/mvm/scan.c +1 -1
index a52af491eed5..6e6325717c0a 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/marvell/mwl8k.c +4 -0
index dd72e9f8b407..194087e6a764 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtl818x/rtl8187/dev.c +2 -1
index eb68b2d3caa1..c9df185dc3f4 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +1 -1
index 5b27c22e7e58..7cf2693619c9 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/realtek/rtlwifi/pci.c +16 -7
index f024533d34a9..02821588673e 100644

Lines of this file are not shown. View the raw message.

drivers/net/xen-netfront.c +0 -5
index bad9e549d533..34c4770bf555 100644

Lines of this file are not shown. View the raw message.

drivers/pci/controller/pcie-rockchip-host.c +1 -1
index 0d6df73bb918..86bb4f82048a 100644

Lines of this file are not shown. View the raw message.

drivers/pci/endpoint/pci-ep-cfs.c +1 -0
index 3710adf51912..e9642721e2ff 100644

Lines of this file are not shown. View the raw message.

drivers/pci/endpoint/pci-epf-core.c +1 -1
index c977cf9dce56..365ea23f9285 100644

Lines of this file are not shown. View the raw message.

drivers/pci/hotplug/pnv_php.c +211 -22

233 lines not on this page · raw message

drivers/pci/pci-acpi.c +1 -3
index bda45c524187..f8afce7ba73c 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pci.c +6 -2
index 31bcda363cbb..15618b87bc4b 100644

Lines of this file are not shown. View the raw message.

drivers/pci/probe.c +1 -1
index 7f3d10957eca..0b1ef4f2c90d 100644

Lines of this file are not shown. View the raw message.

drivers/phy/tegra/xusb-tegra186.c +37 -22

59 lines not on this page · raw message

drivers/pinctrl/stm32/pinctrl-stm32.c +1 -0
index 2d852f15cc50..6b6fdb711659 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/sunxi/pinctrl-sunxi.c +8 -3
index e4b41cc6c586..0a50f37c63f4 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec.c +15 -8
index 5a622666a075..a0b6cec9bfee 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec.h +1 -1
index e69fc1ff68b4..8ed455edbaeb 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec_i2c.c +3 -1
index 30c8938c27d5..22feb0fd4ce7 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec_lpc.c +3 -1
index 1f7861944044..8527a1bac765 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec_spi.c +3 -1
index f9df218fc2bb..2f2c07e8f95a 100644

Lines of this file are not shown. View the raw message.

drivers/platform/chrome/cros_ec_typec.c +2 -2
index 983daa220ee3..137f99c1848e 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/thinkpad_acpi.c +2 -2
index 5a8434da60e7..d18b6ddba982 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/max14577_charger.c +2 -2
index dcedae18d7be..5436e2818ec1 100644

Lines of this file are not shown. View the raw message.

drivers/pps/pps.c +9 -2
index 2d008e0d116a..ea966fc67d28 100644

Lines of this file are not shown. View the raw message.

drivers/ptp/ptp_clock.c +9 -4
index c895e26b1f17..869023f0987e 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-imx-tpm.c +9 -0
index 6e8db0acf71d..b7307acfce33 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-mediatek.c +52 -26

78 lines not on this page · raw message

drivers/regulator/core.c +1 -0
index a0cc907a76c1..b2d866d60651 100644

Lines of this file are not shown. View the raw message.

drivers/reset/Kconfig +5 -5
index 147543ad303f..315324dcdac4 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-ds1307.c +13 -4
index 3a2401ce2ec9..ecfd6c27ba54 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-hym8563.c +1 -1
index 0fb79c4afb46..b5e76d6ee64b 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-pcf85063.c +1 -1
index dd3336cbb792..0c957144e8ec 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-pcf8563.c +1 -1
index 2dc30eafa639..129bd2f51779 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-rv3028.c +1 -1
index fa226f0fe67d..56fa66b6cadf 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/aacraid/comminit.c +1 -2
index 34e45c87cae0..7b520e824c29 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/bfa/bfad_im.c +1 -0
index 22f06be2606f..6dcf1094e01b 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ibmvscsi_tgt/libsrp.c +4 -2
index 8a0e28aec928..0ecad398ed3d 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/isci/request.c +1 -1
index a4129e456efa..b375245ce2cd 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libiscsi.c +2 -1
index 05799b41974d..bad5730bf7ab 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_debugfs.c +0 -1
index f91eee01ce95..c3e77db18945 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_scsi.c +4 -0
index 212153483874..a35426409a6f 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/lpfc/lpfc_sli.c +5 -3
index ff39c596f000..49931577da38 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mpt3sas/mpt3sas_scsih.c +19 -0
index e797f6e3982c..4f4c2a20f47a 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mvsas/mv_sas.c +2 -2
index a2a13969c686..239b81ab924f 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/pm8001/pm8001_init.c +11 -0
index f40db6f40b1d..45bffa49f876 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/pm8001/pm8001_sas.h +1 -0
index 5cd6fe6a7d2d..74099d82e436 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla4xxx/ql4_os.c +2 -0
index f02d8bbea3e5..fc9382833435 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/scsi_scan.c +1 -1
index e8703b043805..1dea44c1c568 100644

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/scsi/ufs/ufs-exynos.c +2 -2
index 3bc7121921ce..3fd024c487ef 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ufs/ufshcd.c +9 -1
index a4c70fbc809f..a212e6ad11d5 100644

Lines of this file are not shown. View the raw message.

drivers/soc/aspeed/aspeed-lpc-snoop.c +12 -1
index 43e30937fc9d..f3462ce22a0b 100644

Lines of this file are not shown. View the raw message.

drivers/soc/qcom/mdt_loader.c +41 -0

41 lines not on this page · raw message

drivers/soc/tegra/pmc.c +29 -22

51 lines not on this page · raw message

drivers/soundwire/stream.c +1 -1
index a377c3d02c55..e4ceaea331a2 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/comedi_fops.c +52 -9

61 lines not on this page · raw message

drivers/staging/comedi/comedi_internal.h +1 -0
index 9b3631a654c8..cf10ba016ebc 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers.c +20 -10
index 750a6ff3c03c..fd098e62a308 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/aio_iiro_16.c +2 -1
index fe3876235075..60c9c683906b 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/comedi_test.c +1 -1
index bea9a3adf08c..f5199474c0e9 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/das16m1.c +2 -1
index 75f3dbbe97ac..0d54387a1c26 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/das6402.c +2 -1
index 96f4107b8054..927d4b832ecc 100644

Lines of this file are not shown. View the raw message.

drivers/staging/comedi/drivers/pcl812.c +2 -1
index b87ab3840eee..fc06f284ba74 100644

Lines of this file are not shown. View the raw message.

drivers/staging/fbtft/fbtft-core.c +1 -0
index d0c8d85f3db0..2c04fcff0e1c 100644

Lines of this file are not shown. View the raw message.

drivers/staging/media/imx/imx-media-csc-scaler.c +1 -1
index 939843b89544..7ffd9e80a1d4 100644

Lines of this file are not shown. View the raw message.

drivers/staging/nvec/nvec_power.c +1 -1
index 0e861c4bfcbf..590b801c5992 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/thermal_sysfs.c +6 -3
index 05e9a3de80b5..d64af62abcc6 100644

Lines of this file are not shown. View the raw message.

drivers/thunderbolt/domain.c +1 -1
index f0de94f7acbf..4414d44953d7 100644

Lines of this file are not shown. View the raw message.

drivers/thunderbolt/switch.c +1 -1
index f6580d11c0fe..3a65650c82ce 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/8250/8250_port.c +1 -2
index 0042ac7e713b..c65a190ac060 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/pch_uart.c +1 -1
index cb68a1028090..e96aff583dc8 100644

Lines of this file are not shown. View the raw message.

drivers/tty/vt/defkeymap.c_shipped +112 -0

112 lines not on this page · raw message

drivers/tty/vt/keyboard.c +1 -1
index aa0026a9839c..1c60976b2f86 100644

Lines of this file are not shown. View the raw message.

drivers/uio/uio_hv_generic.c +3 -1
index 6625d340f3ac..865a5b289e0a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/atm/cxacru.c +49 -57

106 lines not on this page · raw message

drivers/usb/chipidea/ci.h +16 -2
index 7b00b93dad9b..f12e177bfc55 100644

Lines of this file are not shown. View the raw message.

drivers/usb/chipidea/udc.c +10 -0
index 1c7af91bf03a..122d2d82c67c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/class/cdc-acm.c +7 -6
index 571b70b9231c..07543731bfa5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/config.c +8 -2
index 1508e0f00dbc..93eaeea87660 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/hub.c +53 -7

60 lines not on this page · raw message

drivers/usb/core/hub.h +1 -0
index dd049bc85f88..9144e02dfe5c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/quirks.c +1 -0
index ff3b5131903a..f5894cb16686 100644

Lines of this file are not shown. View the raw message.

drivers/usb/core/urb.c +1 -1
index 9c285026f827..c41b25bc585c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/core.c +0 -10
index 1264683d45f2..118ab7790366 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/dwc3-meson-g12a.c +3 -0
index 2d3ca6e8eb65..a970eae93a20 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/dwc3-qcom.c +2 -5
index db3559a10207..d013d774edc1 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/gadget.c +14 -0
index f3103baa7459..a2aa37ca6ad2 100644

Lines of this file are not shown. View the raw message.

drivers/usb/early/xhci-dbc.c +4 -0
index 6c0434100e38..7f832c98699c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/composite.c +5 -0
index 8adb54886443..f694823f67a1 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/configfs.c +2 -0
index 6bb69a4e6470..d810b96a7ba4 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/renesas_usb3.c +1 -0
index d888741d3e2f..3cc65f1d2a06 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-hub.c +1 -2
index e92f920256b2..05f119e7178c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-mem.c +13 -11
index 5b0e00978322..e681c0dd9fbf 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-pci-renesas.c +4 -3
index 01ad6fc1adca..68ca59b29183 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-plat.c +2 -1
index 83c7dffa945c..daf93bee7669 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci-ring.c +14 -5
index 954cd962e113..bf2787bb04ea 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci.c +17 -7
index 908445cff24f..7eb060197474 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci.h +2 -1
index 2d2e9c59add6..6bb1ddc3918c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_core.c +31 -31

62 lines not on this page · raw message

drivers/usb/musb/musb_core.h +11 -0
index dbe5623db1e0..8c0fec972b65 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_debugfs.c +3 -3
index 5401ae66894e..2d623284edf6 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_gadget.c +16 -14
index 8dc657c71541..421fe1645e32 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_host.c +3 -3
index 1880b0f20df0..a89011c946dd 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/musb_virthub.c +9 -9
index cafc69536e1d..d1cfd45d69e3 100644

Lines of this file are not shown. View the raw message.

drivers/usb/musb/omap2430.c +7 -3
index 1d435e4ee857..baa95e22e602 100644

Lines of this file are not shown. View the raw message.

drivers/usb/phy/phy-mxs-usb.c +3 -1
index e3cddcac3252..214db28f3c15 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio.c +2 -0
index 749c8630cd0c..ece0d3e23500 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio_ids.h +3 -0
index 9c95ca876bae..324065cc352c 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/option.c +7 -0
index 99fa4fb56920..f1a99519bbd5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/realtek_cr.c +1 -1
index 0c423916d7bf..a026c6cb6e68 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/unusual_devs.h +29 -0
index e7f45e60812d..b7bc46c10489 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/mux/intel_pmc_mux.c +1 -1
index 1276112edeff..9b4963450fe8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/tcpm/fusb302.c +8 -0
index 700e38e92152..f0eb65cf9393 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/ucsi/psy.c +1 -1
index 571a51e16234..ba5f797156dc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/ucsi/ucsi.c +1 -0
index ee625f47029a..0851d93d5909 100644

Lines of this file are not shown. View the raw message.

drivers/usb/typec/ucsi/ucsi.h +4 -3
index f75b1e2c05fe..ed8fcd7ecf21 100644

Lines of this file are not shown. View the raw message.

drivers/vhost/scsi.c +1 -3
index fcde3752b4f1..6956b4e0b9be 100644

Lines of this file are not shown. View the raw message.

drivers/vhost/vhost.c +3 -0
index 8ed9c9b63eb1..97e00c481870 100644

Lines of this file are not shown. View the raw message.

drivers/video/console/vgacon.c +1 -1
index ae555fa5f583..042e166d9268 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/imxfb.c +7 -2
index d663e080b157..91f041f3a56f 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/dw_wdt.c +2 -0
index 3cd118281980..d18530bafc4e 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/ziirave_wdt.c +3 -0
index cab86a08456b..3cfab859e507 100644

Lines of this file are not shown. View the raw message.

drivers/xen/gntdev-common.h +4 -0
index 9c286b2a1900..ac8ce3179ba2 100644

Lines of this file are not shown. View the raw message.

drivers/xen/gntdev.c +50 -21

71 lines not on this page · raw message

fs/btrfs/ctree.h +1 -1
index 7ad3091db571..d9d6a57acafe 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/inode.c +2 -2
index 82805ac91b06..7e66ebb91af7 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/ioctl.c +1 -1
index 24c4d059cfab..9d5dfcec22de 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/qgroup.c +1 -1
index 95a39d535a82..bc1feb97698c 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/send.c +2 -2
index 3e7bb24eb227..d86b4d13cae4 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/transaction.c +1 -1
index 21a5a963c70e..f68cfcc1f830 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/tree-log.c +35 -18

53 lines not on this page · raw message

fs/buffer.c +1 -1
index ee66abadcbc2..9c41306e8d82 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifssmb.c +10 -0
index 95992c93bbe3..a19e5e7c7d0f 100644

Lines of this file are not shown. View the raw message.

fs/cifs/smb2ops.c +6 -1
index aa1acc698caa..1297acb5bf8e 100644

Lines of this file are not shown. View the raw message.

fs/cifs/smbdirect.c +8 -6
index 7d18b9268817..ae332f3771f6 100644

Lines of this file are not shown. View the raw message.

fs/ext4/fsmap.c +20 -3
index 53a05b8292f0..1b68586f73f3 100644

Lines of this file are not shown. View the raw message.

fs/ext4/indirect.c +2 -2
index c2bb2ff3fbb6..48b368f13d30 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inline.c +16 -3
index 8ccbb3703954..f02fcaa62804 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inode.c +1 -1
index ef39d6b141a6..8fe4aa6b4593 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/f2fs.h +1 -1
index 4e42ca56da86..622e8a816f7e 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/inode.c +26 -2
index 452c0240cc11..1b504bdf39c2 100644

Lines of this file are not shown. View the raw message.

fs/f2fs/node.c +10 -0
index 57baaba17174..1dddb65e249a 100644

Lines of this file are not shown. View the raw message.

fs/file.c +43 -40

83 lines not on this page · raw message

fs/hfs/bnode.c +93 -0

93 lines not on this page · raw message

fs/hfsplus/bnode.c +92 -0

92 lines not on this page · raw message

fs/hfsplus/extents.c +0 -3
index c95a2f0ed4a7..fad1c250f150 100644

Lines of this file are not shown. View the raw message.

fs/hfsplus/unicode.c +7 -0
index 73342c925a4b..36b6cf2a3abb 100644

Lines of this file are not shown. View the raw message.

fs/hfsplus/xattr.c +5 -1
index d91f76ef18d9..2438cd759620 100644

Lines of this file are not shown. View the raw message.

fs/hugetlbfs/inode.c +1 -1
index bf3cda498962..6e97a54ffda1 100644

Lines of this file are not shown. View the raw message.

fs/isofs/inode.c +8 -1
index 4c763f573faf..a5385b91275f 100644

Lines of this file are not shown. View the raw message.

fs/jbd2/checkpoint.c +1 -0
index 0aaff82ecd1c..8a2446d44b03 100644

Lines of this file are not shown. View the raw message.

fs/jfs/file.c +3 -0
index 930d2701f206..44872daeca01 100644

Lines of this file are not shown. View the raw message.

fs/jfs/inode.c +1 -1
index 980aa3300f10..2472b33e3a2d 100644

Lines of this file are not shown. View the raw message.

fs/jfs/jfs_dmap.c +9 -1
index 37888187b977..f34025cc9b05 100644

Lines of this file are not shown. View the raw message.

fs/libfs.c +2 -2
index aa0fbd720409..c6ed6c58dee6 100644

Lines of this file are not shown. View the raw message.

fs/namespace.c +85 -4

89 lines not on this page · raw message

fs/nfs/blocklayout/blocklayout.c +2 -2
index a9e563145e0c..a853711bcad2 100644

Lines of this file are not shown. View the raw message.

fs/nfs/blocklayout/dev.c +3 -2
index 16412d6636e8..4e176d7d704d 100644

Lines of this file are not shown. View the raw message.

fs/nfs/blocklayout/extent_tree.c +15 -5
index 8f7cff7a4293..0add0f329816 100644

Lines of this file are not shown. View the raw message.

fs/nfs/client.c +42 -4

46 lines not on this page · raw message

fs/nfs/export.c +9 -2
index 993be63ab301..784d0f1cfb93 100644

Lines of this file are not shown. View the raw message.

fs/nfs/flexfilelayout/flexfilelayout.c +17 -15
index f8962eaec87b..57150b27c0fd 100644

Lines of this file are not shown. View the raw message.

fs/nfs/flexfilelayout/flexfilelayoutdev.c +3 -3
index 4b0cdddce6eb..11777d33a85e 100644

Lines of this file are not shown. View the raw message.

fs/nfs/inode.c +2 -4
index 3e3114a9d193..da8d727eb09d 100644

Lines of this file are not shown. View the raw message.

fs/nfs/internal.h +7 -3
index 2fdc7c2a17fe..838f3a374485 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4client.c +1 -14
index 252c99c76a42..89835457b7fd 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +24 -22

46 lines not on this page · raw message

fs/nfs/pnfs.c +8 -3
index 758689877d85..e14cf7140bab 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4state.c +29 -5
index bf78745b19ca..202e89613aa8 100644

Lines of this file are not shown. View the raw message.

fs/nilfs2/inode.c +8 -1
index b7873d2fb4ef..11201919aa44 100644

Lines of this file are not shown. View the raw message.

fs/orangefs/orangefs-debugfs.c +4 -4
index fa41db088488..cd4bfd92ebd6 100644

Lines of this file are not shown. View the raw message.

fs/squashfs/super.c +7 -7
index 5a47b5c2fdc0..7b640c8fe804 100644

Lines of this file are not shown. View the raw message.

fs/udf/super.c +11 -2
index 8dae5e73a00b..723184b1201f 100644

Lines of this file are not shown. View the raw message.

include/asm-generic/barrier.h +33 -0
index 640f09479bdf..ce75c53dd338 100644

Lines of this file are not shown. View the raw message.

include/linux/blk_types.h +4 -4
index d9b69bbde5cc..4c7b7c5c8216 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler.h +0 -8
index 13a43651984f..bbd74420fa21 100644

Lines of this file are not shown. View the raw message.

include/linux/cpuset.h +17 -0
index b70224370832..e0139d9747d4 100644

Lines of this file are not shown. View the raw message.

include/linux/fs.h +2 -2
index 9463dddce6bf..11294a89a53b 100644

Lines of this file are not shown. View the raw message.

include/linux/fs_context.h +1 -1
index e869ce3ae660..40dd74bdd9fb 100644

Lines of this file are not shown. View the raw message.

include/linux/if_vlan.h +3 -3
index 64cfe7cd292c..3728e3978f83 100644

Lines of this file are not shown. View the raw message.

include/linux/memfd.h +14 -0
index 4f1600413f91..5d06bba9d7e5 100644

Lines of this file are not shown. View the raw message.

include/linux/minmax.h +17 -0
index 5433c08fcc68..1aea34b8f19b 100644

Lines of this file are not shown. View the raw message.

include/linux/mm.h +57 -23

80 lines not on this page · raw message

include/linux/mmzone.h +22 -0
index 71150fb1cb2a..e0106e13f74f 100644

Lines of this file are not shown. View the raw message.

include/linux/moduleparam.h +2 -3
index f25a1c484390..2c9d43eed9c7 100644

Lines of this file are not shown. View the raw message.

include/linux/pci.h +1 -0
index d3d84eb466f0..8360b87ca4d5 100644

Lines of this file are not shown. View the raw message.

include/linux/platform_data/cros_ec_proto.h +4 -0
index 7f03e02c48cd..4e78365bad83 100644

Lines of this file are not shown. View the raw message.

include/linux/pps_kernel.h +1 -0
index c7abce28ed29..aab0aebb529e 100644

Lines of this file are not shown. View the raw message.

include/linux/sched/mm.h +16 -0
index e3e5e149b00e..a856c4478d8c 100644

Lines of this file are not shown. View the raw message.

include/linux/skbuff.h +30 -1
index 3248e4aeec03..4b5731245bf1 100644

Lines of this file are not shown. View the raw message.

include/linux/usb/usbnet.h +1 -0
index 8110c29fab42..6aaef1a3e16c 100644

Lines of this file are not shown. View the raw message.

include/linux/xarray.h +15 -0
index 92c0160b3352..05c025c5c100 100644

Lines of this file are not shown. View the raw message.

include/net/cfg80211.h +1 -1
index 4536a122c4bc..5595c2a94939 100644

Lines of this file are not shown. View the raw message.

include/net/tc_act/tc_ctinfo.h +3 -3
index f071c1d70a25..a04bcac7adf4 100644

Lines of this file are not shown. View the raw message.

include/net/udp.h +18 -6
index db599b15b630..5e5e8c7c6777 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/in6.h +2 -2
index 5ad396a57eb3..327fd76c0962 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/io_uring.h +1 -1
index 6481db937002..a4f27ccb3ae4 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/mount.h +2 -1
index dd8306ea336c..fc6a2e63130b 100644

Lines of this file are not shown. View the raw message.

kernel/cgroup/cpuset.c +23 -0
index 731547a0d057..efe9785c6c13 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +17 -3
index bf9f9eab6f67..c9cd1f622a1f 100644

Lines of this file are not shown. View the raw message.

kernel/fork.c +1 -1
index 6ece27056fe9..cdf28ac44879 100644

Lines of this file are not shown. View the raw message.

kernel/power/console.c +6 -1
index fcdf0e14a47d..19c48aa5355d 100644

Lines of this file are not shown. View the raw message.

kernel/rcu/tree_plugin.h +3 -0
index c07a84197173..ed17deba8b18 100644

Lines of this file are not shown. View the raw message.

kernel/trace/ftrace.c +10 -9
index 5a33ee30b40f..e62bbeb94faf 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +15 -18
index 42c38a26c801..0c7aa47fb4d3 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.h +7 -1
index f47938d8401a..2f5558a097e9 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace_events.c +5 -0
index 92693e2140a9..9cd97b274e6c 100644

Lines of this file are not shown. View the raw message.

mm/filemap.c +1 -1
index 3b0d8c6dd587..b98af5680bb9 100644

Lines of this file are not shown. View the raw message.

mm/hmm.c +1 -1
index cbe9d0c66650..0bd308210da7 100644

Lines of this file are not shown. View the raw message.

mm/kmemleak.c +9 -1
index 4801751cb6b6..b977c8b6af7e 100644

Lines of this file are not shown. View the raw message.

mm/madvise.c +1 -1
index a63aa04ec7fa..370d0ef719eb 100644

Lines of this file are not shown. View the raw message.

mm/memfd.c +1 -1
index 278e5636623e..8ce796ca5bfa 100644

Lines of this file are not shown. View the raw message.

mm/mmap.c +7 -3
index 8c188ed3738a..4d5e9d085f0a 100644

Lines of this file are not shown. View the raw message.

mm/page_alloc.c +13 -0
index 59e1fcc05566..d906c6b96181 100644

Lines of this file are not shown. View the raw message.

mm/ptdump.c +2 -0
index a917bf55c61e..adbc141083c7 100644

Lines of this file are not shown. View the raw message.

mm/shmem.c +1 -1
index 6666114ed53b..5f8d8899bd0e 100644

Lines of this file are not shown. View the raw message.

mm/slab.h +1 -4
index 6952e10cf33b..4b70cf4493e6 100644

Lines of this file are not shown. View the raw message.

mm/slob.c +2 -4
index 7cc9805c8091..8d4bfa46247f 100644

Lines of this file are not shown. View the raw message.

mm/vmalloc.c +11 -5
index fd1c8f51aa53..66c24ed6e201 100644

Lines of this file are not shown. View the raw message.

mm/zsmalloc.c +4 -2
index c18dc8e61d35..f5f80981ac98 100644

Lines of this file are not shown. View the raw message.

net/8021q/vlan.c +33 -9

42 lines not on this page · raw message

net/8021q/vlan.h +1 -0
index c37349277114..2633b7616526 100644

Lines of this file are not shown. View the raw message.

net/appletalk/aarp.c +30 -12

42 lines not on this page · raw message

net/appletalk/ddp.c +4 -3
index c9edfca153c9..f38b170a51af 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/l2cap_core.c +21 -5
index 8c8631e609f6..b6345996fc02 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/l2cap_sock.c +3 -0
index 49564c61ad4a..7d7f4ba60a20 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/smp.c +19 -2
index 8f9566f37498..fc896d39a6d9 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/smp.h +1 -0
index 5fe68e255cb2..bad594642a53 100644

Lines of this file are not shown. View the raw message.

net/bridge/netfilter/nft_reject_bridge.c +2 -58

60 lines not on this page · raw message

net/caif/cfctrl.c +144 -150

294 lines not on this page · raw message

net/core/filter.c +3 -0
index 2018001d16bf..076b317c3594 100644

Lines of this file are not shown. View the raw message.

net/core/netpoll.c +7 -0
index 66a6f6241239..db18154aa238 100644

Lines of this file are not shown. View the raw message.

net/hsr/hsr_slave.c +7 -1
index aecc05a28fa1..03b64ecb9dca 100644

Lines of this file are not shown. View the raw message.

net/ipv4/netfilter/nf_reject_ipv4.c +2 -2
index efe14a6a5d9b..e89a4cbd9f5d 100644

Lines of this file are not shown. View the raw message.

net/ipv4/route.c +0 -1
index 815b6b0089c2..7c4479adbf32 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_input.c +2 -1
index 82382ac1514f..64a87a39287a 100644

Lines of this file are not shown. View the raw message.

net/ipv4/udp_offload.c +1 -1
index 73beaa7e2d70..5d4413fe4195 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_offload.c +3 -1
index 673f02ea62aa..c145be2fd6e4 100644

Lines of this file are not shown. View the raw message.

net/ipv6/netfilter/nf_reject_ipv6.c +2 -2
index df572724f254..5384b73e318e 100644

Lines of this file are not shown. View the raw message.

net/ipv6/rpl_iptunnel.c +4 -4
index 5d47948c0364..b849d2a13f87 100644

Lines of this file are not shown. View the raw message.

net/ipv6/seg6_hmac.c +3 -0
index 2e2b94ae6355..4a3f7bb027ed 100644

Lines of this file are not shown. View the raw message.

net/mac80211/tx.c +7 -0
index 0d6d12fc3c07..30ad46cfcad8 100644

Lines of this file are not shown. View the raw message.

net/ncsi/internal.h +1 -1
index c61d2e2e93ad..6ebf9e55c046 100644

Lines of this file are not shown. View the raw message.

net/ncsi/ncsi-rsp.c +1 -0
index 88fb86cf7b20..c1d42bbfdc7e 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_conntrack_netlink.c +13 -11
index b2b06033ef2c..f622fcad3f50 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_api.c +2 -2
index ff419ecb268a..8e799848cbcc 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_reject.c +11 -1
index 61fb7e8afbf0..927ff8459bd9 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nft_reject_inet.c +12 -56

68 lines not on this page · raw message

net/netfilter/xt_nfacct.c +2 -2
index a97c2259bbc8..dd72f6fc57aa 100644

Lines of this file are not shown. View the raw message.

net/netlink/af_netlink.c +1 -1
index 77631cb74a19..552682a5ff24 100644

Lines of this file are not shown. View the raw message.

net/packet/af_packet.c +19 -20
index 2f69cf5270db..4614fae54ed7 100644

Lines of this file are not shown. View the raw message.

net/phonet/pep.c +1 -1
index 65d463ad8770..87066e3d4887 100644

Lines of this file are not shown. View the raw message.

net/sched/act_ctinfo.c +11 -8
index 5aa005835c06..9e7dab17c978 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_cake.c +12 -2
index d9535129f4e9..6dabe5eaa3be 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_codel.c +1 -4
index d99c7386e24e..0d4228bfd1a0 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_drr.c +4 -3
index 7ddf73f5a418..7200895d98c0 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_ets.c +28 -18

46 lines not on this page · raw message

net/sched/sch_fq_codel.c +2 -4
index 60dbc549e991..3c1efe360def 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_hfsc.c +6 -2
index 443db2c08a09..2454bafbbb11 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_htb.c +10 -9
index ff84ed531199..b301efa41c1c 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_netem.c +40 -0
index 22f5d9421f6a..951156d7e548 100644

Lines of this file are not shown. View the raw message.

net/sched/sch_qfq.c +27 -13
index 1ee15db5fcc8..e85b56a9a39e 100644

Lines of this file are not shown. View the raw message.

net/sctp/input.c +1 -1
index 8fe1a74f0618..079b1bfc7d31 100644

Lines of this file are not shown. View the raw message.

net/tls/tls_sw.c +13 -0
index 7a448fd96f81..e519a0160668 100644

Lines of this file are not shown. View the raw message.

net/vmw_vsock/af_vsock.c +2 -1
index 56bbc2970ffe..f04b39c601f8 100644

Lines of this file are not shown. View the raw message.

net/wireless/mlme.c +2 -1
index 6dcfc5a34874..8fce621a3f01 100644

Lines of this file are not shown. View the raw message.

samples/mei/mei-amt-version.c +1 -1
index ad3e56042f96..892a221b44b4 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/gconf.c +5 -3
index 409799912731..e092bb686f45 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/lxdialog/inputbox.c +4 -2
index 1dcfb288ee63..327b60cdb8da 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/lxdialog/menubox.c +1 -1
index 58c2f8afe59b..7e10e919fbdc 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/nconf.c +2 -0
index af814b39b876..cdbd60a3ae16 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/nconf.gui.c +1 -0
index 77f525a8617c..8b3e9bc893a7 100644

Lines of this file are not shown. View the raw message.

scripts/kconfig/qconf.cc +1 -1
index b889fe604e42..1c44c83f61a6 100644

Lines of this file are not shown. View the raw message.

security/apparmor/include/match.h +2 -1
index 884489590588..29306ec87fd1 100644

Lines of this file are not shown. View the raw message.

security/apparmor/match.c +1 -0
index 3e9e1eaf990e..0e683ee323e3 100644

Lines of this file are not shown. View the raw message.

security/inode.c +0 -2
index 6c326939750d..e6e07787eec9 100644

Lines of this file are not shown. View the raw message.

sound/core/pcm_native.c +15 -4
index 98bd6fe850d3..145e5157515f 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_ca0132.c +5 -2
index 6d67cca4cfa6..3acb4066b5ea 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_hdmi.c +19 -0
index 0ffab5541de8..426b0db21dd0 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_realtek.c +3 -0
index 2c289a42d178..a78ca3f97967 100644

Lines of this file are not shown. View the raw message.

sound/pci/intel8x0.c +1 -1
index 3707dc27324d..324d9df7f111 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/hdac_hdmi.c +6 -4
index 6de3e47b92d8..76e06c88f279 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/rt5640.c +5 -0
index a5674c227b3a..c12966025cfa 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/fsl_sai.c +16 -14
index 998102711da0..0314d4257b2d 100644

Lines of this file are not shown. View the raw message.

sound/soc/intel/boards/Kconfig +1 -1
index dddb672a6d55..0e1166c4f89b 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-core.c +3 -0
index e9da95ebccc8..1120d669fe2e 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-dai.c +12 -7
index f9aba413e495..583b18d0f446 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-dapm.c +4 -0
index acb46e1f9c0a..175c8c264b62 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-ops.c +15 -11
index 55f7c7999330..91afd73cdd13 100644

Lines of this file are not shown. View the raw message.

sound/usb/mixer_quirks.c +7 -7
index eee5a3ce9471..c0948922562b 100644

Lines of this file are not shown. View the raw message.

sound/usb/mixer_scarlett_gen2.c +8 -0
index 1b7c7b754c38..1c31a9d21d42 100644

Lines of this file are not shown. View the raw message.

sound/usb/stream.c +22 -3
index d6d3ce9e9637..1bdb6a2f5596 100644

Lines of this file are not shown. View the raw message.

sound/usb/validate.c +13 -1
index 6fe206f6e911..a0d55b77c994 100644

Lines of this file are not shown. View the raw message.

tools/bpf/bpftool/net.c +9 -6
index ff3aa0cf3997..7f0421713e1c 100644

Lines of this file are not shown. View the raw message.

tools/include/linux/sched/mm.h +2 -0
index c8d9f19c1f35..967294b8edcf 100644

Lines of this file are not shown. View the raw message.

tools/perf/tests/bp_account.c +1 -0
index 489b50604cf2..ac39f4947fd8 100644

Lines of this file are not shown. View the raw message.

tools/power/cpupower/utils/idle_monitor/mperf_monitor.c +2 -2
index 08a399b0be28..6ab9139f16af 100644

Lines of this file are not shown. View the raw message.

tools/testing/ktest/ktest.pl +4 -1
index 8ac30e2ac3ac..512a3cc586fd 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/test.d/event/subsystem-enable.tc +26 -2
index b7c8f29c09a9..65916bb55dfb 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc +1 -1
index 4b994b6df5ac..ed81eaf2afd6 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/futex/include/futextest.h +11 -0
index ddbcfc9b7bac..7a5fd1d5355e 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/memfd/memfd_test.c +43 -0

43 lines not on this page · raw message

tools/testing/selftests/net/mptcp/Makefile +2 -1
index 7072ef1c0ae7..c77ce687ae2d 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/mptcp/mptcp_connect_mmap.sh new file +5 -0
new file mode 100644
index 000000000000..5dd30f9394af

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/mptcp/pm_netlink.sh +1 -0
index fff6f74ebe16..7d194f5c2939 100755

Lines of this file are not shown. View the raw message.

tools/testing/selftests/net/rtnetlink.sh +6 -0
index a3597b3e579f..0a6212a96415 100755

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.