Skip to contentSkip to conversation

Linux 5.10.227

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Oct 17, 2024 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.10.227 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

------------

 .gitignore                                                          |    1 
 Documentation/admin-guide/kernel-parameters.txt                     |   10 
 Documentation/arm64/silicon-errata.rst                              |    4 
 Documentation/driver-api/ipmi.rst                                   |    2 
 Makefile                                                            |    2 
 arch/arm/boot/dts/imx7d-zii-rmu2.dts                                |    2 
 arch/arm/boot/dts/sam9x60.dtsi                                      |    4 
 arch/arm/mach-realview/platsmp-dt.c                                 |    1 
 arch/arm64/Kconfig                                                  |    2 
 arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts                |    4 
 arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi                       |   23 
 arch/arm64/include/asm/cputype.h                                    |    4 
 arch/arm64/kernel/cpu_errata.c                                      |    2 
 arch/m68k/kernel/process.c                                          |    2 
 arch/microblaze/mm/init.c                                           |    5 
 arch/parisc/kernel/entry.S                                          |    6 
 arch/parisc/kernel/syscall.S                                        |   14 
 arch/powerpc/kernel/setup-common.c                                  |    1 
 arch/powerpc/mm/mem.c                                               |    2 
 arch/riscv/Kconfig                                                  |    5 
 arch/riscv/kernel/perf_callchain.c                                  |    2 
 arch/s390/include/asm/facility.h                                    |    6 
 arch/s390/kernel/perf_cpum_sf.c                                     |   12 
 arch/s390/mm/cmm.c                                                  |   18 
 arch/x86/events/intel/pt.c                                          |   15 
 arch/x86/include/asm/syscall.h                                      |    7 
 arch/x86/kernel/cpu/mshyperv.c                                      |    1 
 arch/x86/kernel/kprobes/core.c                                      |   11 
 arch/x86/mm/init.c                                                  |   16 
 arch/x86/xen/setup.c                                                |    2 
 block/bfq-iosched.c                                                 |   13 
 block/blk-iocost.c                                                  |    8 
 block/partitions/core.c                                             |    8 
 drivers/acpi/acpica/dbconvert.c                                     |    2 
 drivers/acpi/acpica/exprep.c                                        |    3 
 drivers/acpi/acpica/psargs.c                                        |   47 
 drivers/acpi/battery.c                                              |   28 
 drivers/acpi/device_sysfs.c                                         |    5 
 drivers/acpi/ec.c                                                   |   55 
 drivers/acpi/pmic/tps68470_pmic.c                                   |    6 
 drivers/acpi/resource.c                                             |   20 
 drivers/ata/sata_sil.c                                              |   12 
 drivers/base/bus.c                                                  |    6 
 drivers/base/firmware_loader/main.c                                 |   30 
 drivers/base/property.c                                             |    4 
 drivers/block/aoe/aoecmd.c                                          |   13 
 drivers/block/drbd/drbd_main.c                                      |    6 
 drivers/block/drbd/drbd_state.c                                     |    2 
 drivers/bluetooth/btmrvl_sdio.c                                     |    3 
 drivers/bluetooth/btusb.c                                           |    5 
 drivers/bus/arm-integrator-lm.c                                     |    1 
 drivers/char/hw_random/cctrng.c                                     |    1 
 drivers/char/hw_random/mtk-rng.c                                    |    2 
 drivers/char/tpm/tpm-dev-common.c                                   |    2 
 drivers/char/tpm/tpm2-space.c                                       |    3 
 drivers/char/virtio_console.c                                       |   18 
 drivers/clk/bcm/clk-bcm53573-ilp.c                                  |    2 
 drivers/clk/imx/clk-imx7d.c                                         |    4 
 drivers/clk/imx/clk-imx8mp.c                                        |    4 
 drivers/clk/qcom/clk-rpmh.c                                         |    2 
 drivers/clk/qcom/dispcc-sm8250.c                                    |    3 
 drivers/clk/qcom/gcc-sm8250.c                                       |    6 
 drivers/clk/rockchip/clk-rk3228.c                                   |    2 
 drivers/clk/rockchip/clk.c                                          |    3 
 drivers/clk/ti/clk-dra7-atl.c                                       |    1 
 drivers/clocksource/timer-qcom.c                                    |    7 
 drivers/cpufreq/ti-cpufreq.c                                        |   10 
 drivers/crypto/ccp/sev-dev.c                                        |    2 
 drivers/dma-buf/heaps/heap-helpers.c                                |    2 
 drivers/firmware/efi/libstub/tpm.c                                  |    2 
 drivers/firmware/tegra/bpmp.c                                       |    6 
 drivers/gpio/gpio-aspeed.c                                          |    4 
 drivers/gpio/gpio-davinci.c                                         |    8 
 drivers/gpio/gpiolib-cdev.c                                         |   13 
 drivers/gpio/gpiolib.c                                              |    3 
 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c                      |   26 
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                               |    4 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c         |    2 
 drivers/gpu/drm/amd/display/dc/core/dc.c                            |    8 
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c                   |    2 
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c              |    2 
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c              |    4 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c |    2 
 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c   |    2 
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c             |    2 
 drivers/gpu/drm/amd/include/atombios.h                              |    2 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c            |    2 
 drivers/gpu/drm/arm/display/komeda/komeda_kms.c                     |   10 
 drivers/gpu/drm/drm_atomic_uapi.c                                   |    2 
 drivers/gpu/drm/drm_crtc.c                                          |    1 
 drivers/gpu/drm/drm_print.c                                         |   13 
 drivers/gpu/drm/exynos/exynos_drm_gsc.c                             |    2 
 drivers/gpu/drm/msm/adreno/a2xx_gpu.c                               |    3 
 drivers/gpu/drm/msm/adreno/a3xx_gpu.c                               |    3 
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c                               |    3 
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c                               |   20 
 drivers/gpu/drm/msm/adreno/a5xx_gpu.h                               |    2 
 drivers/gpu/drm/msm/adreno/a5xx_preempt.c                           |   30 
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c                               |    9 
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h                               |   10 
 drivers/gpu/drm/msm/adreno/adreno_gpu.c                             |    4 
 drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c                            |    2 
 drivers/gpu/drm/msm/msm_debugfs.c                                   |    7 
 drivers/gpu/drm/msm/msm_drv.c                                       |   13 
 drivers/gpu/drm/msm/msm_drv.h                                       |   15 
 drivers/gpu/drm/msm/msm_gem.c                                       |   28 
 drivers/gpu/drm/msm/msm_gem_shrinker.c                              |   12 
 drivers/gpu/drm/msm/msm_gpu.c                                       |    2 
 drivers/gpu/drm/msm/msm_gpu.h                                       |   16 
 drivers/gpu/drm/nouveau/nouveau_dmem.c                              |    2 
 drivers/gpu/drm/omapdrm/omap_drv.c                                  |    5 
 drivers/gpu/drm/radeon/atombios.h                                   |    2 
 drivers/gpu/drm/radeon/evergreen_cs.c                               |   62 
 drivers/gpu/drm/radeon/r100.c                                       |   70 
 drivers/gpu/drm/radeon/radeon_atombios.c                            |   26 
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c                         |    2 
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c                         |  113 
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h                         |    3 
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c                         |   25 
 drivers/gpu/drm/rockchip/rockchip_vop_reg.h                         |    1 
 drivers/gpu/drm/scheduler/sched_entity.c                            |    2 
 drivers/gpu/drm/stm/drv.c                                           |    4 
 drivers/hid/hid-ids.h                                               |    2 
 drivers/hid/hid-plantronics.c                                       |   23 
 drivers/hid/intel-ish-hid/ishtp-fw-loader.c                         |    2 
 drivers/hwmon/Kconfig                                               |    2 
 drivers/hwmon/max16065.c                                            |   27 
 drivers/hwmon/ntc_thermistor.c                                      |    1 
 drivers/hwmon/pmbus/pmbus.h                                         |    8 
 drivers/hwmon/pmbus/pmbus_core.c                                    |   39 
 drivers/hwtracing/coresight/coresight-tmc-etr.c                     |    2 
 drivers/i2c/busses/i2c-aspeed.c                                     |   16 
 drivers/i2c/busses/i2c-i801.c                                       |    9 
 drivers/i2c/busses/i2c-isch.c                                       |    3 
 drivers/i2c/busses/i2c-qcom-geni.c                                  |    4 
 drivers/i2c/busses/i2c-stm32f7.c                                    |    6 
 drivers/i2c/busses/i2c-xiic.c                                       |  145 
 drivers/i2c/i2c-core-base.c                                         |   19 
 drivers/iio/adc/ad7606.c                                            |    8 
 drivers/iio/adc/ad7606_spi.c                                        |    5 
 drivers/iio/magnetometer/ak8975.c                                   |   32 
 drivers/infiniband/core/iwcm.c                                      |    2 
 drivers/infiniband/core/mad.c                                       |   14 
 drivers/infiniband/hw/cxgb4/cm.c                                    |    5 
 drivers/infiniband/hw/hns/hns_roce_hem.c                            |  255 
 drivers/infiniband/hw/hns/hns_roce_mr.c                             |   56 
 drivers/infiniband/hw/hns/hns_roce_qp.c                             |   16 
 drivers/infiniband/sw/rxe/rxe_comp.c                                |    6 
 drivers/input/keyboard/adp5589-keys.c                               |   13 
 drivers/input/mouse/synaptics.c                                     |    1 
 drivers/input/rmi4/rmi_driver.c                                     |    6 
 drivers/input/serio/i8042-acpipnpio.h                               |   46 
 drivers/input/touchscreen/ads7846.c                                 |    2 
 drivers/input/touchscreen/goodix.c                                  |   18 
 drivers/interconnect/qcom/sm8250.c                                  |    1 
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c                          |    7 
 drivers/iommu/intel/dmar.c                                          |   16 
 drivers/iommu/intel/iommu.c                                         |    6 
 drivers/mailbox/bcm2835-mailbox.c                                   |    3 
 drivers/mailbox/rockchip-mailbox.c                                  |    2 
 drivers/md/dm-rq.c                                                  |    4 
 drivers/md/dm.c                                                     |   11 
 drivers/media/common/videobuf2/videobuf2-core.c                     |    8 
 drivers/media/dvb-frontends/rtl2830.c                               |    2 
 drivers/media/dvb-frontends/rtl2832.c                               |    2 
 drivers/media/platform/qcom/venus/core.c                            |    1 
 drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c                  |    5 
 drivers/media/usb/usbtv/usbtv-video.c                               |    7 
 drivers/mtd/devices/powernv_flash.c                                 |    3 
 drivers/mtd/devices/slram.c                                         |    2 
 drivers/net/bareudp.c                                               |   25 
 drivers/net/can/m_can/m_can.c                                       |   13 
 drivers/net/can/m_can/m_can.h                                       |    2 
 drivers/net/can/m_can/m_can_platform.c                              |   13 
 drivers/net/dsa/b53/b53_common.c                                    |   17 
 drivers/net/dsa/lan9303-core.c                                      |   29 
 drivers/net/dsa/microchip/ksz9477.c                                 |    1 
 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c                 |    4 
 drivers/net/ethernet/cortina/gemini.c                               |   15 
 drivers/net/ethernet/faraday/ftgmac100.c                            |   26 
 drivers/net/ethernet/faraday/ftgmac100.h                            |    2 
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c                      |    9 
 drivers/net/ethernet/freescale/enetc/enetc.c                        |    3 
 drivers/net/ethernet/hisilicon/hip04_eth.c                          |    1 
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c                   |    1 
 drivers/net/ethernet/hisilicon/hns_mdio.c                           |    1 
 drivers/net/ethernet/ibm/emac/mal.c                                 |    2 
 drivers/net/ethernet/intel/ice/ice_sched.c                          |    6 
 drivers/net/ethernet/intel/ice/ice_switch.c                         |    4 
 drivers/net/ethernet/intel/igb/igb_main.c                           |    4 
 drivers/net/ethernet/jme.c                                          |   10 
 drivers/net/ethernet/lantiq_etop.c                                  |    4 
 drivers/net/ethernet/marvell/mvpp2/mvpp2.h                          |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c                |    4 
 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c                     |    1 
 drivers/net/ethernet/mellanox/mlx5/core/lib/pci_vsc.c               |   10 
 drivers/net/ethernet/mellanox/mlx5/core/main.c                      |    1 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c                 |    2 
 drivers/net/ethernet/netronome/nfp/nfp_net_common.c                 |    5 
 drivers/net/ethernet/realtek/r8169_main.c                           |   31 
 drivers/net/ethernet/realtek/r8169_phy_config.c                     |    2 
 drivers/net/ethernet/seeq/ether3.c                                  |    2 
 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c                     |    1 
 drivers/net/geneve.c                                                |   91 
 drivers/net/ieee802154/Kconfig                                      |    1 
 drivers/net/ieee802154/mcr20a.c                                     |    5 
 drivers/net/phy/bcm84881.c                                          |    4 
 drivers/net/phy/dp83869.c                                           |    1 
 drivers/net/phy/vitesse.c                                           |   14 
 drivers/net/ppp/ppp_async.c                                         |    2 
 drivers/net/slip/slhc.c                                             |   57 
 drivers/net/usb/ipheth.c                                            |    5 
 drivers/net/vrf.c                                                   |   13 
 drivers/net/wireless/ath/ath11k/dp_rx.c                             |    2 
 drivers/net/wireless/ath/ath9k/debug.c                              |    4 
 drivers/net/wireless/ath/ath9k/hif_usb.c                            |    6 
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c                   |    9 
 drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c            |    3 
 drivers/net/wireless/marvell/mwifiex/fw.h                           |    2 
 drivers/net/wireless/marvell/mwifiex/scan.c                         |    3 
 drivers/net/wireless/mediatek/mt76/mt7915/main.c                    |    3 
 drivers/net/wireless/microchip/wilc1000/hif.c                       |    4 
 drivers/net/wireless/realtek/rtw88/Kconfig                          |    1 
 drivers/net/wireless/realtek/rtw88/main.c                           |    7 
 drivers/net/wireless/realtek/rtw88/rtw8822c.c                       |   10 
 drivers/net/xen-netback/hash.c                                      |    5 
 drivers/ntb/hw/intel/ntb_hw_gen1.c                                  |    2 
 drivers/ntb/hw/mscc/ntb_hw_switchtec.c                              |    1 
 drivers/ntb/test/ntb_perf.c                                         |    2 
 drivers/nvdimm/nd_virtio.c                                          |    9 
 drivers/of/irq.c                                                    |   38 
 drivers/pci/controller/dwc/pci-keystone.c                           |    2 
 drivers/pci/controller/pcie-xilinx-nwl.c                            |   24 
 drivers/pci/quirks.c                                                |    8 
 drivers/pinctrl/mvebu/pinctrl-dove.c                                |   45 
 drivers/pinctrl/pinctrl-at91.c                                      |    5 
 drivers/pinctrl/pinctrl-single.c                                    |    3 
 drivers/platform/x86/touchscreen_dmi.c                              |   26 
 drivers/power/reset/brcmstb-reboot.c                                |    3 
 drivers/power/supply/axp20x_battery.c                               |   31 
 drivers/power/supply/max17042_battery.c                             |    5 
 drivers/powercap/intel_rapl_msr.c                                   |    2 
 drivers/pps/clients/pps_parport.c                                   |   14 
 drivers/reset/reset-berlin.c                                        |    3 
 drivers/rtc/rtc-at91sam9.c                                          |    1 
 drivers/s390/char/zcore.c                                           |   44 
 drivers/scsi/aacraid/aacraid.h                                      |    2 
 drivers/soc/versatile/soc-integrator.c                              |    1 
 drivers/soc/versatile/soc-realview.c                                |   20 
 drivers/soundwire/stream.c                                          |    8 
 drivers/spi/spi-bcm63xx.c                                           |    2 
 drivers/spi/spi-fsl-lpspi.c                                         |    9 
 drivers/spi/spi-imx.c                                               |    2 
 drivers/spi/spi-nxp-fspi.c                                          |    5 
 drivers/spi/spi-ppc4xx.c                                            |    7 
 drivers/spi/spi-s3c64xx.c                                           |    4 
 drivers/staging/media/atomisp/pci/sh_css_frac.h                     |   26 
 drivers/tty/serial/rp2.c                                            |    2 
 drivers/usb/chipidea/udc.c                                          |    8 
 drivers/usb/class/cdc-acm.c                                         |    2 
 drivers/usb/class/usbtmc.c                                          |    2 
 drivers/usb/dwc2/platform.c                                         |   26 
 drivers/usb/dwc3/core.c                                             |   63 
 drivers/usb/dwc3/core.h                                             |   15 
 drivers/usb/dwc3/gadget.c                                           |   11 
 drivers/usb/host/xhci-pci-renesas.c                                 |    5 
 drivers/usb/host/xhci-pci.c                                         |   15 
 drivers/usb/host/xhci-pci.h                                         |    3 
 drivers/usb/misc/appledisplay.c                                     |   15 
 drivers/usb/misc/cypress_cy7c63.c                                   |    4 
 drivers/usb/misc/yurex.c                                            |    5 
 drivers/usb/serial/pl2303.c                                         |    1 
 drivers/usb/serial/pl2303.h                                         |    4 
 drivers/usb/storage/unusual_devs.h                                  |   11 
 drivers/vhost/scsi.c                                                |   27 
 drivers/vhost/vdpa.c                                                |   18 
 drivers/video/fbdev/hpfb.c                                          |    1 
 drivers/video/fbdev/pxafb.c                                         |    1 
 drivers/video/fbdev/sis/sis_main.c                                  |    2 
 drivers/virtio/virtio_vdpa.c                                        |    1 
 drivers/watchdog/imx_sc_wdt.c                                       |   24 
 drivers/xen/swiotlb-xen.c                                           |    6 
 fs/btrfs/disk-io.c                                                  |   11 
 fs/btrfs/inode.c                                                    |    1 
 fs/btrfs/relocation.c                                               |    2 
 fs/ceph/addr.c                                                      |    1 
 fs/exec.c                                                           |    3 
 fs/exfat/balloc.c                                                   |   10 
 fs/ext4/extents.c                                                   |   57 
 fs/ext4/file.c                                                      |  155 
 fs/ext4/ialloc.c                                                    |   14 
 fs/ext4/inline.c                                                    |   35 
 fs/ext4/inode.c                                                     |   11 
 fs/ext4/mballoc.c                                                   |   10 
 fs/ext4/migrate.c                                                   |    2 
 fs/ext4/move_extent.c                                               |    1 
 fs/ext4/namei.c                                                     |   14 
 fs/ext4/xattr.c                                                     |    4 
 fs/f2fs/acl.c                                                       |   23 
 fs/f2fs/dir.c                                                       |    3 
 fs/f2fs/f2fs.h                                                      |    4 
 fs/f2fs/file.c                                                      |   24 
 fs/f2fs/super.c                                                     |    4 
 fs/f2fs/xattr.c                                                     |   27 
 fs/fcntl.c                                                          |   14 
 fs/inode.c                                                          |    4 
 fs/jbd2/checkpoint.c                                                |   14 
 fs/jbd2/journal.c                                                   |    2 
 fs/jfs/jfs_discard.c                                                |   11 
 fs/jfs/jfs_dmap.c                                                   |   11 
 fs/jfs/jfs_imap.c                                                   |    2 
 fs/jfs/xattr.c                                                      |    2 
 fs/namespace.c                                                      |   23 
 fs/nfs/callback_xdr.c                                               |    2 
 fs/nfs/client.c                                                     |    1 
 fs/nfs/delegation.c                                                 |   15 
 fs/nfs/nfs42proc.c                                                  |    2 
 fs/nfs/nfs4state.c                                                  |    3 
 fs/nfsd/filecache.c                                                 |    7 
 fs/nfsd/nfs4idmap.c                                                 |   13 
 fs/nfsd/nfs4recover.c                                               |    8 
 fs/nfsd/nfs4state.c                                                 |    5 
 fs/nfsd/nfs4xdr.c                                                   |   10 
 fs/nfsd/vfs.c                                                       |    1 
 fs/nilfs2/btree.c                                                   |   12 
 fs/ocfs2/aops.c                                                     |    5 
 fs/ocfs2/buffer_head_io.c                                           |    4 
 fs/ocfs2/journal.c                                                  |    7 
 fs/ocfs2/localalloc.c                                               |   19 
 fs/ocfs2/quota_local.c                                              |    8 
 fs/ocfs2/refcounttree.c                                             |   26 
 fs/ocfs2/xattr.c                                                    |   38 
 fs/proc/base.c                                                      |   61 
 fs/super.c                                                          |    3 
 fs/unicode/mkutf8data.c                                             |   70 
 fs/unicode/utf8data.h_shipped                                       | 6703 ++++------
 include/drm/drm_print.h                                             |   54 
 include/linux/cgroup-defs.h                                         |    7 
 include/linux/fs.h                                                  |    2 
 include/linux/i2c.h                                                 |    2 
 include/linux/kallsyms.h                                            |    7 
 include/linux/module.h                                              |    9 
 include/linux/nfs_fs_sb.h                                           |    1 
 include/linux/pci_ids.h                                             |    2 
 include/linux/property.h                                            |    4 
 include/linux/skbuff.h                                              |    5 
 include/linux/vdpa.h                                                |    6 
 include/net/flow.h                                                  |    6 
 include/net/ip_tunnels.h                                            |   16 
 include/net/netfilter/nf_tables.h                                   |   13 
 include/net/sch_generic.h                                           |    1 
 include/net/sock.h                                                  |    2 
 include/net/tcp.h                                                   |   21 
 include/trace/events/f2fs.h                                         |    3 
 include/trace/events/sched.h                                        |   84 
 include/uapi/linux/cec.h                                            |    6 
 include/uapi/linux/if_link.h                                        |    1 
 include/uapi/linux/netfilter/nf_tables.h                            |    2 
 kernel/bpf/arraymap.c                                               |    3 
 kernel/bpf/devmap.c                                                 |   20 
 kernel/bpf/hashtab.c                                                |    3 
 kernel/bpf/helpers.c                                                |    4 
 kernel/bpf/trampoline.c                                             |   20 
 kernel/cgroup/cgroup-internal.h                                     |    3 
 kernel/cgroup/cgroup.c                                              |   14 
 kernel/events/core.c                                                |    6 
 kernel/events/uprobes.c                                             |    2 
 kernel/kallsyms.c                                                   |    2 
 kernel/kprobes.c                                                    |    8 
 kernel/kthread.c                                                    |   19 
 kernel/locking/lockdep.c                                            |   48 
 kernel/module.c                                                     |    2 
 kernel/padata.c                                                     |    6 
 kernel/rcu/rcuscale.c                                               |    4 
 kernel/resource.c                                                   |   58 
 kernel/signal.c                                                     |   11 
 kernel/trace/ftrace.c                                               |   71 
 kernel/trace/trace.c                                                |   18 
 kernel/trace/trace_kprobe.c                                         |   76 
 kernel/trace/trace_output.c                                         |    6 
 kernel/trace/trace_probe.h                                          |    1 
 lib/debugobjects.c                                                  |    5 
 lib/xz/xz_crc32.c                                                   |    2 
 lib/xz/xz_private.h                                                 |    4 
 mm/slab_common.c                                                    |    7 
 mm/util.c                                                           |    2 
 net/bluetooth/l2cap_sock.c                                          |   52 
 net/bluetooth/rfcomm/sock.c                                         |    2 
 net/bridge/br_netfilter_hooks.c                                     |    5 
 net/can/bcm.c                                                       |    4 
 net/can/j1939/transport.c                                           |    8 
 net/core/dev.c                                                      |   12 
 net/core/sock_destructor.h                                          |   12 
 net/core/sock_map.c                                                 |    1 
 net/ipv4/devinet.c                                                  |    6 
 net/ipv4/fib_frontend.c                                             |    9 
 net/ipv4/fib_semantics.c                                            |    2 
 net/ipv4/fib_trie.c                                                 |    7 
 net/ipv4/fou.c                                                      |    4 
 net/ipv4/inet_fragment.c                                            |   70 
 net/ipv4/ip_fragment.c                                              |    2 
 net/ipv4/ip_gre.c                                                   |   10 
 net/ipv4/ip_tunnel.c                                                |    9 
 net/ipv4/netfilter/ipt_rpfilter.c                                   |    3 
 net/ipv4/netfilter/nf_dup_ipv4.c                                    |    7 
 net/ipv4/netfilter/nft_fib_ipv4.c                                   |    5 
 net/ipv4/route.c                                                    |    4 
 net/ipv4/tcp_input.c                                                |   31 
 net/ipv4/tcp_ipv4.c                                                 |    3 
 net/ipv4/xfrm4_policy.c                                             |    4 
 net/ipv6/Kconfig                                                    |    1 
 net/ipv6/ip6_output.c                                               |    3 
 net/ipv6/netfilter/ip6t_rpfilter.c                                  |    6 
 net/ipv6/netfilter/nf_conntrack_reasm.c                             |    2 
 net/ipv6/netfilter/nf_dup_ipv6.c                                    |    7 
 net/ipv6/netfilter/nf_reject_ipv6.c                                 |   14 
 net/ipv6/netfilter/nft_fib_ipv6.c                                   |    8 
 net/ipv6/route.c                                                    |   12 
 net/ipv6/rpl_iptunnel.c                                             |   12 
 net/ipv6/seg6_local.c                                               |    1 
 net/ipv6/xfrm6_policy.c                                             |    3 
 net/l3mdev/l3mdev.c                                                 |   43 
 net/mac80211/iface.c                                                |   17 
 net/mptcp/options.c                                                 |    2 
 net/mptcp/pm_netlink.c                                              |   27 
 net/mptcp/protocol.h                                                |    5 
 net/mptcp/subflow.c                                                 |    2 
 net/netfilter/nf_conntrack_netlink.c                                |    7 
 net/netfilter/nf_tables_api.c                                       |   15 
 net/netfilter/nft_lookup.c                                          |    1 
 net/netfilter/nft_set_pipapo.c                                      |    6 
 net/netlink/af_netlink.c                                            |    3 
 net/qrtr/af_qrtr.c                                                  |    2 
 net/sched/sch_api.c                                                 |    7 
 net/sched/sch_taprio.c                                              |    4 
 net/sctp/socket.c                                                   |   20 
 net/tipc/bcast.c                                                    |    2 
 net/tipc/bearer.c                                                   |    8 
 net/wireless/nl80211.c                                              |    3 
 net/wireless/scan.c                                                 |    6 
 net/wireless/sme.c                                                  |    3 
 net/xfrm/xfrm_policy.c                                              |    4 
 scripts/kconfig/merge_config.sh                                     |    2 
 scripts/kconfig/qconf.cc                                            |    2 
 security/Kconfig                                                    |   32 
 security/selinux/hooks.c                                            |    3 
 security/smack/smack_lsm.c                                          |    3 
 security/smack/smackfs.c                                            |    2 
 security/tomoyo/domain.c                                            |    9 
 sound/core/init.c                                                   |   14 
 sound/core/oss/mixer_oss.c                                          |    4 
 sound/pci/asihpi/hpimsgx.c                                          |    2 
 sound/pci/hda/hda_generic.c                                         |    4 
 sound/pci/hda/hda_intel.c                                           |    2 
 sound/pci/hda/patch_conexant.c                                      |   24 
 sound/pci/hda/patch_realtek.c                                       |   78 
 sound/pci/rme9652/hdsp.c                                            |    6 
 sound/pci/rme9652/hdspm.c                                           |    6 
 sound/soc/au1x/db1200.c                                             |    1 
 sound/soc/codecs/rt5682.c                                           |    4 
 sound/soc/codecs/tda7419.c                                          |    1 
 sound/soc/intel/keembay/kmb_platform.c                              |    1 
 sound/soc/meson/axg-card.c                                          |    3 
 sound/usb/card.c                                                    |    6 
 sound/usb/line6/podhd.c                                             |    2 
 sound/usb/quirks-table.h                                            |   77 
 tools/iio/iio_generic_buffer.c                                      |    4 
 tools/perf/builtin-sched.c                                          |    8 
 tools/perf/util/time-utils.c                                        |    4 
 tools/testing/ktest/ktest.pl                                        |    2 
 tools/testing/selftests/bpf/bench.c                                 |    1 
 tools/testing/selftests/bpf/map_tests/sk_storage_map.c              |    2 
 tools/testing/selftests/bpf/prog_tests/flow_dissector.c             |    1 
 tools/testing/selftests/bpf/prog_tests/kfree_skb.c                  |    1 
 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c                    |    1 
 tools/testing/selftests/bpf/progs/cg_storage_multi.h                |    2 
 tools/testing/selftests/bpf/test_cpp.cpp                            |    4 
 tools/testing/selftests/bpf/test_lru_map.c                          |    3 
 tools/testing/selftests/breakpoints/step_after_suspend_test.c       |    5 
 tools/testing/selftests/net/fcnal-test.sh                           |    2 
 tools/testing/selftests/vDSO/parse_vdso.c                           |    3 
 tools/testing/selftests/vm/charge_reserved_hugetlb.sh               |    2 
 tools/testing/selftests/vm/write_to_hugetlbfs.c                     |   21 
 483 files changed, 7111 insertions(+), 5131 deletions(-)

Adrian Hunter (1):
perf/x86/intel/pt: Fix sampling synchronization

Adrian Ratiu (1):
proc: add config & param to block forcing mem writes

Ai Chao (1):
ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9

Aleksander Jan Bajkowski (1):
net: ethernet: lantiq_etop: fix memory disclosure

Aleksandr Mishin (3):
ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe() drm/msm: Fix incorrect file name output in adreno_request_fw()
ice: Adjust over allocation of memory in ice_sched_add_root_node() and ice_sched_add_node()

Aleksandrs Vinarskis (1):
ACPICA: iasl: handle empty connection_node

Alex Bee (1):
drm/rockchip: vop: Allow 4096px width scaling

Alex Deucher (2):
drm/amdgpu: properly handle vbios fake edid sizing drm/radeon: properly handle vbios fake edid sizing

Alex Hung (4):
drm/amd/display: Check null pointers before using dc->clk_mgr drm/amd/display: Check stream before comparing them drm/amd/display: Initialize get_bytes_per_element's default to 1 drm/amd/display: Check null pointer before dereferencing se

Alex Williamson (1):
PCI: Mark Creative Labs EMU20k2 INTx masking as broken

Alexander Dahl (1):
ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks

Alexander Egorenkov (2):
s390/zcore: no need to check return value of debugfs_create functions s390/zcore: release dump save area on restart or power down

Alexander Stein (2):
spi: lpspi: Silence error message upon deferred probe
spi: lpspi: release requested DMA channels

Anastasia Kovaleva (1):
net: Fix an unsafe loop on the list

Anatolij Gustschin (1):
net: dsa: lan9303: ensure chip reset and wait for READY status

Anders Roxell (1):
scripts: kconfig: merge_config: config files: add a trailing newline

Andi Shyti (1):
i2c: xiic: Use devm_clk_get_enabled()

Andrea Mayer (1):
net: seg6: fix seg6_lookup_any_nexthop() to handle VRFs using flowi_l3mdev

Andrew Davis (2):
hwmon: (max16065) Remove use of i2c_match_id()
power: reset: brcmstb: Do not go into infinite loop if reset fails

Andrew Jones (1):
of/irq: Support #msi-cells=<0> in of_msi_get_domain

Andrey Shumilin (1):
fbdev: sisfb: Fix strbuf array overflow

Andrii Nakryiko (1):
tracing/kprobes: Fix symbol counting logic by looking at modules as well

Andy Roulin (1):
netfilter: br_netfilter: fix panic with metadata_dst skb

Andy Shevchenko (4):
fs/namespace: fnic: Switch to use %ptTd
spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ device property: Add const qualifier to device_get_match_data() parameter
i2c: isch: Add missed 'else'

Ankit Agrawal (1):
clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()

Anshuman Khandual (1):
arm64: Add Cortex-715 CPU part definition

Anthony Iliopoulos (1):
mount: warn only once about timestamp range expiration

Antoine Tenart (1):
net: vrf: determine the dst using the original ifindex for multicast

Anton Danilov (1):
ipv4: ip_gre: Fix drops of small packets in ipgre_xmit

Ard Biesheuvel (1):
efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption

Armin Wolf (4):
ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
ACPI: battery: Simplify battery hook locking
ACPI: battery: Fix possible crash when unregistering a battery hook

Arseniy Krasnov (1):
ASoC: meson: axg-card: fix 'use-after-free'

Artem Sadovnikov (1):
ext4: fix i_data_sem unlock order in ext4_ind_migrate()

Artur Weber (1):
power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense

Baokun Li (8):
ext4: avoid use-after-free in ext4_ext_show_leaf()
ext4: fix slab-use-after-free in ext4_split_extent_at()
ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free
ext4: aovid use-after-free in ext4_ext_insert_extent()
ext4: fix double brelse() the buffer of the extents path
ext4: update orig_path in ext4_find_extent()
jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error

Barnabás Czémán (1):
iio: magnetometer: ak8975: Fix reading for ak099xx sensors

Ben Dooks (1):
spi: s3c64xx: fix timeout counters in flush_fifo

Benjamin Berg (1):
wifi: iwlwifi: lower message level for FW buffer destination

Benjamin Gaignard (1):
media: usbtv: Remove useless locks in usbtv_video_free()

Biju Das (1):

      i2c: Add i2c_get_match_data()

Billy Tsai (2):
gpio: aspeed: Add the flush write to ensure the write complete.
gpio: aspeed: Use devm_clk api to manage clock source

Bitterblue Smith (1):
wifi: rtw88: 8822c: Fix reported RX band width

Bob Pearson (1):
RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt

Chao Yu (4):
f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()
f2fs: fix to update i_ctime in __f2fs_setxattr()
f2fs: remove unneeded check condition in __f2fs_setxattr()
f2fs: reduce expensive checkpoint trigger frequency

Charles Han (1):
mtd: powernv: Add check devm_kasprintf() returned value

Chen Yu (1):
kthread: fix task state in kthread worker if being frozen

Chengchang Tang (1):
RDMA/hns: Fix spin_unlock_irqrestore() called with IRQs enabled

Chris Morgan (1):

      power: supply: axp20x_battery: Remove design from min and max voltage

Christian Heusel (1):
block: print symbolic error name instead of error code

Christoph Hellwig (1):
fs: explicitly unregister per-superblock BDIs

Christophe JAILLET (6):
fbdev: hpfb: Fix an error handling path in hpfb_dio_probe() drm/stm: Fix an error handling path in stm_drm_platform_probe()
pps: remove usage of the deprecated ida_simple_xx() API
spi: lpspi: Simplify some error message
ALSA: mixer_oss: Remove some incorrect kfree_const() usages
net: phy: bcm84881: Fix some error handling paths

Christophe Leroy (2):
powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
selftests: vDSO: fix vDSO symbols lookup for powerpc64

Chuck Lever (2):
NFSD: Fix NFSv4's PUTPUBFH operation
NFSD: Mark filecache "down" if init fails

Chun-Yi Lee (1):
aoe: fix the potential use-after-free problem in more places

Ckath (1):
platform/x86: touchscreen_dmi: add nanote-next quirk

Colin Ian King (1):

      r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"

Damien Le Moal (1):
ata: sata_sil: Rename sil_blacklist to sil_quirks

Dan Carpenter (2):
PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
SUNRPC: Fix integer overflow in decode_rc_list()

Daniel Borkmann (1):
bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit

Daniel Jordan (1):
ktest.pl: Avoid false positives with grub2 skip regex

Danilo Krummrich (1):
mm: krealloc: consider spare memory for __GFP_ZERO

Dave Ertman (1):
ice: fix VLAN replay after reset

David Ahern (3):
net: Add l3mdev index to flow struct and avoid oif reset for port devices
xfrm: Pass flowi_oif or l3mdev as oif to xfrm_dst_lookup
net: Handle l3mdev in ip_tunnel_init_flow

David Gow (1):
mm: only enforce minimum stack gap size if it's sensible

David Hildenbrand (1):
selftests/mm: fix charge_reserved_hugetlb.sh test

David Lechner (1):
clk: ti: dra7-atl: Fix leak of of_nodes

Davide Caratti (1):
mptcp: validate 'id' when stopping the ADD_ADDR retransmit timer

Dmitry Antipov (5):
wifi: rtw88: always wait for both firmware loading attempts
wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan()
wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
net: sched: consistently use rcu_replace_pointer() in taprio_change()

Dmitry Baryshkov (1):
clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks

Dmitry Kandybka (1):
wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()

Dragan Simic (2):
arm64: dts: rockchip: Raise Pinebook Pro's panel backlight PWM frequency
arm64: dts: rockchip: Correct the Pinebook Pro battery design capacity

Edward Adam Davis (5):
mptcp: pm: Fix uaf in __timer_delete_sync
USB: usbtmc: prevent kernel-usb-infoleak
jfs: Fix uaf in dbFreeBits
jfs: check if leafidx greater than num leaves per dmap tree
ext4: no need to continue when the number of entries is 1

Emanuele Ghidoli (1):
gpio: davinci: fix lazy disable

Emmanuel Grumbach (1):
wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead

Eric Dumazet (8):
sock_map: Add a cond_resched() in sock_hash_free()
netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
netfilter: nf_tables: prevent nf_skb_duplicated corruption
net: avoid potential underflow in qdisc_pkt_len_init() with UFO
net: add more sanity checks to qdisc_pkt_len_init() net/sched: accept TCA_STAB only for root qdisc
ppp: fix ppp_async_encode() illegal access
slip: make slhc_remember() more robust against malicious packets

Eyal Birger (2):
net: geneve: support IPv4/IPv6 as inner protocol
net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_INHERIT

Faisal Hassan (1):
usb: dwc3: core: update LC timer as per USB Spec V3.2

Faiz Abbas (1):
can: m_can: Add support for transceiver as phy

Fangzhi Zuo (1):
drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination

Ferry Meng (2):
ocfs2: add bounds checking to ocfs2_xattr_find_entry()
ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()

Filipe Manana (1):
btrfs: wait for fixup workers before stopping cleaner kthread during umount

Finn Thain (1):
m68k: Fix kernel_clone_args.flags in m68k_clone()

Florian Fainelli (1):
tty: rp2: Fix reset with non forgiving PCIe host bridges

Florian Westphal (2):
inet: inet_defrag: prevent sk release while still in use
netfilter: fib: check correct rtable in vrf setups

Foster Snowhill (1):
usbnet: ipheth: fix carrier detection in modes 1 and 4

Francis Laniel (1):
tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols

Gabriel Krisman Bertazi (1):
unicode: Don't special case ignorable code points

Gal Pressman (1):
geneve: Fix incorrect inner network header offset when innerprotoinherit is set

Gaosheng Cui (1):
hwrng: cctrng - Add missing clk_disable_unprepare in cctrng_resume

Gautham Ananthakrishna (1):
ocfs2: reserve space for inline xattr before attaching reflink tree

Geert Uytterhoeven (2):
drm/radeon/r100: Handle unknown family in r100_cp_init_microcode() of/irq: Refer to actual buffer size in of_irq_parse_one()

Geliang Tang (1):
mptcp: export lookup_anno_list_by_saddr

Gerald Schaefer (1):
s390/mm: Add cond_resched() to cmm_alloc/free_pages()

Gerd Bayer (1):
net/mlx5: Fix error path in multi-packet WQE transmit

Greg Kroah-Hartman (2):
net: dsa: microchip: fix build warning
Linux 5.10.227

Guenter Roeck (3):
hwmon: (max16065) Fix overflows seen when writing limits
hwmon: (max16065) Fix alarm attributes
hwmon: (tmp513) Add missing dependency on REGMAP_I2C

Guillaume Nault (4):
bareudp: allow redirecting bareudp packets to eth devices
bareudp: Pull inner IP header in bareudp_udp_encap_recv().
bareudp: Pull inner IP header on xmit.
netfilter: rpfilter/fib: Set ->flowic_uid correctly for user namespaces.

Guillaume Stols (2):
iio: adc: ad7606: fix oversampling gpio array
iio: adc: ad7606: fix standby gpio state to match the documentation

Guoqing Jiang (2):
nfsd: call cache_put if xdr_reserve_space returns NULL
hwrng: mtk - Use devm_pm_runtime_enable

Gustavo A. R. Silva (1):
wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()

Hagar Hemdan (1):
gpio: prevent potential speculation leaks in gpio_device_get_desc()

Han Xu (1):
spi: nxp-fspi: fix the KASAN report out-of-bounds bug

Hans P. Moller (1):
ALSA: line6: add hw monitor volume control to POD HD500X

Hans Verkuil (1):
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags

Hans de Goede (4):
Input: goodix - use the new soc_intel_is_byt() helper
ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[]
ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_override[]
i2c: i801: Use a different adapter-name for IDF adapters

Haoran Zhang (1):
vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()

Harshit Mogalapalli (1):
usb: yurex: Fix inconsistent locking bug in yurex_read()

Heiko Carstens (1):
s390/facility: Disable compile time optimization for decompressor code

Heiner Kallweit (2):
r8169: disable ALDPS per default for RTL8125
r8169: add tally counter fields added with RTL8125

Helge Deller (3):
parisc: Fix itlb miss handler for 64-bit programs
parisc: Fix 64-bit userspace syscall path
parisc: Fix stack start for ADDR_NO_RANDOMIZE personality

Heming Zhao (1):
ocfs2: fix the la space leak when unmounting an ocfs2 volume

Hermann Lauer (1):

      power: supply: axp20x_battery: allow disabling battery charging

Hongbo Li (1):
ASoC: allow module autoloading for table db1200_pids

Howard Hsu (1):
wifi: mt76: mt7915: fix rx filter setting for bfee functionality

Huang Ying (1):
resource: fix region_intersects() vs add_memory_driver_managed()

Hugh Cole-Baker (2):
drm/rockchip: define gamma registers for RK3399 drm/rockchip: support gamma control on RK3399

Ian Rogers (1):
perf time-utils: Fix 32-bit nsec parsing

Icenowy Zheng (1):
usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip

Ido Schimmel (1):
ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family

Ingo van Lil (1):
net: phy: dp83869: fix memory corruption when enabling fiber

Jack Pham (1):
usb: dwc3: Decouple USB 2.0 L1 & L2 events

Jacky Chou (2):
net: ftgmac100: Enable TX interrupt to avoid TX timeout
net: ftgmac100: Ensure tx descriptor updates are visible

Jacob Keller (1):
ice: fix accounting for filters shared by multiple VSIs

Jan Kara (2):
ext4: properly sync file size update after O_SYNC direct IO
ext4: fix warning in ext4_dio_write_end_io()

Jann Horn (2):
firmware_loader: Block path traversal
f2fs: Require FMODE_WRITE for atomic write ioctls

Jaroslav Kysela (1):
ALSA: core: add isascii() check to card ID generator

Jason Wang (1):
vhost_vdpa: assign irq bypass producer token correctly

Jason Xing (1):
tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process

Javier Carrasco (1):
hwmon: (adm9240) Add missing dependency on REGMAP_I2C

Jeff Layton (3):
btrfs: update target inode's ctime on unlink
nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire
nfsd: fix refcount leak when file is unhashed after being found

Jeongjun Park (2):
jfs: fix out-of-bounds in dbNextAG() and diAlloc() net/xen-netback: prevent UAF in xenvif_flush_hash()

Jiawei Ye (2):
wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso

Jinjie Ruan (12):
net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
riscv: Fix fp alignment bug in perf_callchain_user()
ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
spi: spi-fsl-lpspi: Undo runtime PM changes at driver exit time
ieee802154: Fix build error
net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()
Bluetooth: btmrvl: Use IRQF_NO_AUTOEN flag in request_irq()
nfp: Use IRQF_NO_AUTOEN flag in request_irq()
spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
spi: bcm63xx: Fix module autoloading
i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled

Jiri Olsa (2):
kallsyms: Make kallsyms_on_each_symbol generally available
kallsyms: Make module_kallsyms_on_each_symbol generally available

Jisheng Zhang (1):
riscv: define ILLEGAL_POINTER_VALUE for 64bit

Jonas Blixt (1):
watchdog: imx_sc_wdt: Don't disable WDT in suspend

Jonas Gorski (5):
net: dsa: b53: fix jumbo frame mtu check
net: dsa: b53: fix max MTU for 1g switches
net: dsa: b53: fix max MTU for BCM5325/BCM5365
net: dsa: b53: allow lower MTUs on BCM5325/5365
net: dsa: b53: fix jumbo frames on 10/100 ports

Jonas Karlman (2):
drm/rockchip: dw_hdmi: Fix reading EDID when using a forced mode
clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228

Jonathan Denose (1):
Input: synaptics - enable SMBus for HP Elitebook 840 G2

Jonathan McDowell (1):
tpm: Clean up TPM space after command failure

Jose Alberto Reguero (1):
usb: xhci: Fix problem with xhci resume from suspend

Joseph Qi (2):
ocfs2: fix uninit-value in ocfs2_get_block()
ocfs2: cancel dqi_sync_work before freeing oinfo

Josh Hunt (1):
tcp: check skb is non-NULL in tcp_rto_delta_us()

Joshua Pius (1):
ALSA: usb-audio: Add logitech Audio profile quirk

Juergen Gross (2):
xen: use correct end address of kernel for conflict checking xen/swiotlb: add alignment check for dma buffers

Julian Sun (2):
vfs: fix race between evice_inodes() and find_inode()&iput()
ocfs2: fix null-ptr-deref when journal load failed.

Junhao Xie (1):
USB: serial: pl2303: add device id for Macrosilicon MS3020

Junlin Li (2):
drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error

Junxian Huang (1):
RDMA/hns: Optimize hem allocation performance

Justin Iurman (1):
net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input

Kailang Yang (2):
ALSA: hda/realtek - Fixed ALC256 headphone no sound
ALSA: hda/realtek - FIxed ALC285 headphone no sound

Kaixin Wang (3):
net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
fbdev: pxafb: Fix possible use after free in pxafb_task()
ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition

Kamlesh Gurudasani (1):
padata: Honor the caller's alignment in case of chunk_size 0

Karthikeyan Periyasamy (1):
wifi: ath11k: fix array out-of-bound access in SoC stats

Kees Cook (2):
x86/syscall: Avoid memcpy() for ia32 syscall_get_arguments()
scsi: aacraid: Rearrange order of struct aac_srb_unit

Kemeng Shi (4):
ext4: avoid buffer_head leak in ext4_mark_inode_used()
ext4: avoid potential buffer_head leak in __ext4_new_inode()
ext4: avoid negative min_clusters in find_group_orlov()
jbd2: correctly compare tids with tid_geq function in jbd2_fc_begin_commit

Kent Gibson (1):
gpiolib: cdev: Ignore reconfiguration without direction

KhaiWenTan (1):
net: stmmac: Fix zero-division error when disabling tc cbs

Konrad Dybcio (1):
interconnect: qcom: sm8250: Enable sync_state

Konstantin Ovsepian (1):
blk_iocost: fix more out of bound shifts

Krzysztof Kozlowski (15):
soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
ARM: dts: imx7d-zii-rmu2: fix Ethernet PHY pinctrl property
ARM: versatile: fix OF node leak in CPUs prepare
reset: berlin: fix OF node leak in probe() error path
soc: versatile: integrator: fix OF node leak in probe() error path
bus: integrator-lm: fix OF node leak in probe()
soc: versatile: realview: fix memory leak during device remove
soc: versatile: realview: fix soc_dev leak during device remove
net: hisilicon: hip04: fix OF node leak in probe()
net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
net: hisilicon: hns_mdio: fix OF node leak in probe()
firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
rtc: at91sam9: fix OF node leak in probe() error path
i2c: xiic: Simplify with dev_err_probe()
clk: bcm: bcm53573: fix OF node leak in init

Kuniyuki Iwashima (2):
can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).

Lars-Peter Clausen (1):
i2c: xiic: xiic_xfer(): Fix runtime PM leak on error path

Lasse Collin (1):
xz: cleanup CRC32 edits from 2018

Laurent Pinchart (2):
Remove *.orig pattern from .gitignore
media: sun4i_csi: Implement link validate for sun4i_csi subdev

Lee Jones (1):
usb: yurex: Replace snprintf() with the safer scnprintf() variant

Li Lingfeng (3):
nfsd: return -EINVAL when namelen is 0
nfs: fix memory leak in error path of nfs4_do_reclaim
nfsd: map the EBADMSG to nfserr_io to avoid warning

Liao Chen (4):
ASoC: intel: fix module autoloading
ASoC: tda7419: fix module autoloading
spi: bcm63xx: Enable module autoloading
mailbox: rockchip: fix a typo in module autoloading

Linus Walleij (1):
net: ethernet: cortina: Drop TSO support

Lizhi Xu (2):
ocfs2: remove unreasonable unlock in ocfs2_read_blocks
ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate

Lorenzo Stoakes (1):
minmax: reduce min/max macro expansion in atomisp driver

Lu Baolu (1):
iommu/vt-d: Always reserve a domain ID for identity setup

Luis Henriques (SUSE) (2):
ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()

Luiz Augusto von Dentz (3):
Bluetooth: btusb: Fix not handling ZPL/short-transfer
Bluetooth: L2CAP: Fix not validating setsockopt user input
Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change

Luo Gengkun (1):
perf/core: Fix small negative period being ignored

Ma Ke (4):
spi: ppc4xx: handle irq_of_parse_and_map() errors
ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error
pps: add an error check in parport_attach
drm: omapdrm: Add missing check for alloc_ordered_workqueue

Manivannan Sadhasivam (1):
clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()

Marc Ferland (1):
i2c: xiic: improve error message when transfer fails to start

Marc Gonzalez (1):
iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux

Marc Kleine-Budde (1):
can: m_can: m_can_close(): stop clocks after device has been shut down

Marek Vasut (5):
Input: ads7846 - ratelimit the spi_sync error message
i2c: xiic: Fix broken locking on tx_msg
i2c: xiic: Switch from waitqueue to completion
i2c: xiic: Fix RX IRQ busy check
i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume

Mark Rutland (2):
arm64: cputype: Add Neoverse-N3 definitions
arm64: errata: Expand speculative SSBS workaround once more

Masahiro Yamada (1):
kconfig: qconf: fix buffer overflow in debug links

Mathias Krause (1):
Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal

Mathias Nyman (1):
xhci: Set quirky xHC PCI hosts to D3 _after_ stopping and freeing them.

Matthew Brost (1):
drm/printer: Allow NULL data in devcoredump printer

Matthieu Baerts (NGI0) (1):
mptcp: fix sometimes-uninitialized warning

Max Hawking (1):
ntb_perf: Fix printk format

Meir Lichtinger (1):
net/mlx5: Update the list of the PCI supported devices

Michael Kelley (1):
x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency

Michael S. Tsirkin (1):
virtio_console: fix misc probe bugs

Mickaël Salaün (1):
fs: Fix file_set_fowner LSM hook inconsistencies

Mike Rapoport (1):
microblaze: don't treat zero reserved memory regions as error

Mike Tipton (1):
clk: qcom: clk-rpmh: Fix overflow in BCM vote

Mikhail Lobanov (2):
RDMA/cxgb4: Added NULL check for lookup_atid
drbd: Add NULL check for net_conf to prevent dereference in state validation

Mikulas Patocka (1):
Revert "dm: requeue IO if mapping table not yet available"

Mirsad Todorovac (1):
mtd: slram: insert break after errors in parsing the map

Mohamed Khalfella (2):
net/mlx5: Added cond_resched() to crdump collection
igb: Do not bring the device up after non-fatal error

Moon Yeounsu (1):
net: ethernet: use ip_hdrlen() instead of bit shift

Moritz Fischer (1):
usb: renesas-xhci: Remove renesas_xhci_pci_exit()

Muhammad Usama Anjum (1):
fou: fix initialization of grc

Mårten Lindahl (1):
hwmon: (pmbus) Introduce and use write_byte_data callback

Neal Cardwell (2):
tcp: fix to allow timestamp undo if no retransmits were sent
tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe

NeilBrown (1):
nfsd: fix delegation_blocked() to block correctly for at least 30 seconds

Nikita Zhandarovich (3):
drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
f2fs: prevent possible int overflow in dir_block_index()
f2fs: avoid potential int overflow in sanity_check_area_boundary()

Nishanth Menon (1):
cpufreq: ti-cpufreq: Introduce quirks to handle syscon fails appropriately

Nuno Sa (1):

      Input: adp5589-keys - fix adp5589_gpio_get_value()

Oder Chiou (1):
ALSA: hda/realtek: Fix the push button function for the ALC257

Olaf Hering (1):
mount: handle OOM on mnt_warn_timestamp_expiry

Oleg Nesterov (1):
uprobes: fix kernel info leak via "[uprobes]" vma

Oliver Neukum (5):
USB: appledisplay: close race between probe and completion handler
USB: misc: cypress_cy7c63: check for short transfer
USB: class: CDC-ACM: fix race between get_serial and set_serial
USB: misc: yurex: fix race between read and write
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"

Pablo Neira Ayuso (5):
netfilter: nft_set_pipapo: walk over current view on netlink dump
netfilter: nf_tables: missing iterator type in lookup walk
netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
netfilter: nf_tables: reject element expiration with no timeout
netfilter: nf_tables: reject expiration higher than timeout

Patryk Biel (1):
hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2

Paul E. McKenney (1):
rcuscale: Provide clear error when async specified without primitives

Paulo Miguel Almeida (2):
drm/amdgpu: Replace one-element array with flexible-array member drm/radeon: Replace one-element array with flexible-array member

Pavan Kumar Paluri (1):
crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure

Pawel Dembicki (1):
net: phy: vitesse: repair vsc73xx autonegotiation

Pei Xiao (1):
ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()

Peng Fan (1):
clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D

Peng Liu (2):
drm/amdgpu: add raven1 gfxoff quirk
drm/amdgpu: enable gfxoff quirk on HP 705G4

Peter Zijlstra (1):
x86/ibt,ftrace: Search for __fentry__ location

Phil Sutter (4):
netfilter: nf_tables: Keep deleted flowtable hooks until after RCU
netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED
netfilter: rpfilter/fib: Populate flowic_l3mdev field
netfilter: ip6t_rpfilter: Fix regression with VRF interfaces

Philip Chen (1):
virtio_pmem: Check device status before requesting flush

Piyush Mehta (1):
usb: dwc3: core: Enable GUCTL1 bit 10 for fixing termination error after resume bug

Pu Lehui (2):
Revert "bpf: Fix DEVMAP_HASH overflow check on 32-bit arches" Revert "bpf: Eliminate rlimit-based memory accounting for devmap maps"

Qiu-ji Chen (1):
drbd: Fix atomicity violation in drbd_uuid_set_bm()

Qu Wenruo (1):
btrfs: fix a NULL pointer dereference when failed to start a new trasacntion

Quentin Schulz (1):
arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma

Rafael J. Wysocki (1):
ACPI: EC: Do not release locks during operation region accesses

Remington Brasga (1):
jfs: UBSAN: shift-out-of-bounds in dbFindBits

Riyan Dhiman (1):
block: fix potential invalid pointer dereference in blk_add_partition

Rob Clark (5):
drm/msm/adreno: Fix error return if missing firmware-name drm/msm: Add priv->mm_lock to protect active/inactive lists drm/msm: Drop priv->lastctx
kthread: add kthread_work tracepoints
drm/crtc: fix uninitialized variable use even harder

Robert Hancock (2):
i2c: xiic: Try re-initialization on bus busy timeout
i2c: xiic: Wait for TX empty to avoid missed TX NAKs

Robin Chen (1):
drm/amd/display: Round calculated vtotal

Rosen Penev (1):
net: ibm: emac: mal: fix wrong goto

Ryusuke Konishi (3):
nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
nilfs2: determine empty node blocks as corrupted
nilfs2: fix potential oob read in nilfs_btree_check_delete()

Sanjay K Kumar (1):
iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count

Saravanan Vajravel (1):
RDMA/mad: Improve handling of timed out WRs of mad agent

Scott Mayhew (1):
selinux,smack: don't bypass permissions check in inode_setsecctx hook

Sean Anderson (3):
net: dpaa: Pad packets to ETH_ZLEN
PCI: xilinx-nwl: Fix register misspelling
PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler

Sebastian Reichel (1):
clk: rockchip: fix error for unknown clocks

Selvarasu Ganesan (1):
usb: dwc3: core: Stop processing of pending events if controller is halted

Shahar Shitrit (1):
net/mlx5e: Add missing link modes to ptys2ethtool_map

Shawn Shao (1):
usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario

Sherry Yang (1):
drm/msm: fix %s null argument error

Simon Horman (4):
netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
tipc: guard against string buffer overrun
net: mvpp2: Increase size of queue_name buffer
net: atlantic: Avoid warning about potential string truncation

Srinivasan Shanmugam (4):
drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation drm/amd/display: Fix index out of bounds in degamma hardware format translation drm/amd/display: Fix index out of bounds in DCN30 color transformation

Stefan Wahren (1):
mailbox: bcm2835: Fix timeout during suspend mode

Steven Rostedt (Google) (2):
tracing: Remove precision vsnprintf() check from print event
tracing: Have saved_cmdlines arrays all in one allocation

Su Hui (1):
net: tipc: avoid possible garbage value

Subramanian Ananthanarayanan (1):
PCI: Add ACS quirk for Qualcomm SA8775P

Sumeet Pawnikar (1):
powercap: RAPL: fix invalid initialization for pl4_supported field

SurajSonawane2415 (1):
hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma

Suzuki K Poulose (1):
coresight: tmc: sg: Do not leak sg_table

T.J. Mercier (1):
dma-buf: heaps: Fix off-by-one in CMA heap fault handler

Takashi Iwai (6):
Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
ALSA: usb-audio: Define macros for quirk table entries
ALSA: asihpi: Fix potential OOB array access
ALSA: hdsp: Break infinite MIDI input flush loop

Tao Chen (1):
bpf: Check percpu map value size first

Tetsuo Handa (1):
tomoyo: fallback to realpath if symlink's pathname does not exist

Thadeu Lima de Souza Cascardo (3):
ext4: return error on ext4_find_inline_entry
ext4: avoid OOB when system.data xattr changes underneath the filesystem
ext4: ext4_search_dir should return a proper error

Thomas Blocher (1):
pinctrl: at91: make it work with current gpiolib

Thomas Gleixner (2):
PCI: xilinx-nwl: Use irq_data_get_irq_chip_data()
signal: Replace BUG_ON()s

Thomas Richter (1):
s390/cpum_sf: Remove WARN_ON_ONCE statements

Thomas Weißschuh (2):
net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
ACPI: sysfs: validate return type of _STR method

Thomas Zimmermann (1):
drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS

Tim Huang (1):
drm/amd/pm: ensure the fw_info is not null before using it

Toke Høiland-Jørgensen (2):
bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit

Tommy Huang (1):
i2c: aspeed: Update the stop sw state when the bus recovery occurs

Tony Ambardar (8):
selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c selftests/bpf: Fix missing ARRAY_SIZE() definition in bench.c selftests/bpf: Fix compiling kfree_skb.c with musl-libc selftests/bpf: Fix compiling flow_dissector.c with musl-libc selftests/bpf: Fix compiling tcp_rtt.c with musl-libc selftests/bpf: Fix errors compiling cg_storage_multi.h with musl libc selftests/bpf: Fix error compiling test_lru_map.c selftests/bpf: Fix C++ compile error from missing _Bool type

Tony Luck (1):
x86/mm: Switch to new Intel CPU model defines

Trond Myklebust (1):
NFS: Avoid unnecessary rescanning of the per-server delegation list

Tvrtko Ursulin (1):
drm/sched: Add locking to drm_sched_entity_modify_sched

Val Packett (1):
drm/rockchip: vop: clear DMA stop bit on RK3066

VanGiang Nguyen (1):
padata: use integer wrap around to prevent deadlock on seq_nr overflow

Vincenzo Palazzo (1):
usb: dwc3: Fix a typo in field name

Vladimir Lypak (4):
drm/msm/a5xx: disable preemption in submits by default drm/msm/a5xx: properly clear preemption records on resume drm/msm/a5xx: fix races in preemption evaluation stage drm/msm/a5xx: workaround early ring-buffer emptiness check

Wade Wang (1):
HID: plantronics: Workaround for an unexcepted opposite volume key

Waiman Long (1):
cgroup: Move rcu_head up near the top of cgroup_root

Wang Jianzheng (1):
pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function

WangYuli (1):
PCI: Add function 0 DMA alias quirk for Glenfly Arise chip

Werner Sembach (4):
Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table
Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
Input: i8042 - add another board name for TUXEDO Stellaris Gen5 AMD line
ACPI: resource: Add another DMI match for the TongFang GMxXGxx

Wojciech Gładysz (1):
ext4: nested locking for xattr inode

Wolfram Sang (1):
ipmi: docs: don't advertise deprecated sysfs entries

Xi Wang (2):
RDMA/hns: Add mapped page count checking for MTR RDMA/hns: Refactor root BT allocation for MTR

Xie Yongji (1):
vdpa: Add eventfd for the vdpa callback

Xin Long (2):
sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_listen_start

Xiubo Li (1):
ceph: remove the incorrect Fw reference check when dirtying pages

Xu Yang (1):
usb: chipidea: udc: enable suspend interrupt after usb reset

Yafang Shao (1):
cgroup: Make operations on the cgroup root_list RCU safe

Yang Jihong (2):
perf sched timehist: Fix missing free of session in perf_sched__timehist() perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time

Yang Yingliang (1):
pinctrl: single: fix missing error code in pcs_probe()

Yangtao Li (1):
pinctrl: mvebu: Use devm_platform_get_and_ioremap_resource()

Yanjun Zhang (1):
NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()

Yifei Liu (1):
selftests: breakpoints: use remaining time to check if suspend succeed

Yixing Liu (1):
RDMA/hns: Fix uninitialized variable

Yonatan Maman (1):
nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

Yonggil Song (1):
f2fs: fix typo

Youssef Samir (1):
net: qrtr: Update packets cloning when broadcasting

Yu Kuai (3):
block, bfq: fix possible UAF for bfqq->bic with merge chain block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator() block, bfq: don't break merge chain in bfq_split_bfqq()

Yuesong Li (1):
drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind()

Yuezhang Mo (1):
exfat: fix memory leak in exfat_load_bitmap()

Yunke Cao (1):
media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()

Yuntao Liu (1):
hwmon: (ntc_thermistor) fix module autoloading

Zhang Changzhong (1):
can: j1939: use correct function name in comment

Zhao Mengmeng (1):
jfs: Fix uninit-value access of new_ea in ea_buffer

Zhen Lei (1):
debugobjects: Fix conditions in fill_pool()

Zheng Wang (1):
media: venus: fix use after free bug in venus_remove due to race condition

Zheng Yejian (1):
ftrace: Fix possible use-after-free issue in ftrace_location()

Zhiguo Niu (1):
lockdep: fix deadlock issue between lockdep and rcu

Zhihao Cheng (1):
ext4: dax: fix overflowing extents beyond inode size when partially writing

Zhipeng Wang (1):
clk: imx: imx8mp: fix clock tree update of TF-A managed clocks

Zhu Jun (1):
tools/iio: Add memory allocation failure check for trigger_name

Zhu Yanjun (1):
RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency

Zijun Hu (1):
driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute

Zong-Zhe Yang (1):
wifi: rtw88: select WANT_DEV_COREDUMP

hongchi.peng (1):
drm: komeda: Fix an issue related to normalized zpos

wenglianfa (1):
RDMA/hns: Fix the overflow risk of hem_list_calc_ba_range()

yangerkun (1):
ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard

zhanchengbin (1):
ext4: fix inode tree inconsistency caused by ENOMEM

author maintainer
#1 lore raw
.gitignore +0 -1
index 67d2f3503128..f53e8be649a2 100644
@@ -124,7 +124,6 @@ GTAGS
 # id-utils files
 ID
 
-*.orig
 *~
 \#*#
 
Documentation/admin-guide/kernel-parameters.txt +10 -0
index 8e4882bb8cf8..097ef49b3d3a 100644
@@ -4059,6 +4059,16 @@
 	printk.time=	Show timing data prefixed to each printk message line
 			Format: <bool>  (1/Y/y=enable, 0/N/n=disable)
 
+	proc_mem.force_override= [KNL]
+			Format: {always | ptrace | never}
+			Traditionally /proc/pid/mem allows memory permissions to be
+			overridden without restrictions. This option may be set to
+			restrict that. Can be one of:
+			- 'always': traditional behavior always allows mem overrides.
+			- 'ptrace': only allow mem overrides for active ptracers.
+			- 'never':  never allow mem overrides.
+			If not specified, default is the CONFIG_PROC_MEM_* choice.
+
 	processor.max_cstate=	[HW,ACPI]
 			Limit processor to maximum C-state
 			max_cstate=9 overrides any DMI blacklist limit.
Documentation/arm64/silicon-errata.rst +4 -0
index 14eef7e93614..9ee134914557 100644
@@ -108,6 +108,8 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A710     | #3324338        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Cortex-A715     | #3456084        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A720     | #3456091        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Cortex-A725     | #3456106        | ARM64_ERRATUM_3194386       |
@@ -134,6 +136,8 @@ stable kernels.
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-N2     | #3324339        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
+| ARM            | Neoverse-N3     | #3456111        | ARM64_ERRATUM_3194386       |
++----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V1     | #3324341        | ARM64_ERRATUM_3194386       |
 +----------------+-----------------+-----------------+-----------------------------+
 | ARM            | Neoverse-V2     | #3324336        | ARM64_ERRATUM_3194386       |
Documentation/driver-api/ipmi.rst +1 -1
index bc281f10ce4b..0bfeeeeb17c8 100644
@@ -519,7 +519,7 @@ at module load time (for a module) with::
 	alerts_broken
 
 The addresses are normal I2C addresses.  The adapter is the string
-name of the adapter, as shown in /sys/class/i2c-adapter/i2c-<n>/name.
+name of the adapter, as shown in /sys/bus/i2c/devices/i2c-<n>/name.
 It is *NOT* i2c-<n> itself.  Also, the comparison is done ignoring
 spaces, so if the name is "This is an I2C chip" you can say
 adapter_name=ThisisanI2cchip.  This is because it's hard to pass in
Makefile +1 -1
index cf232897553b..87bfb6c78600 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 10
-SUBLEVEL = 226
+SUBLEVEL = 227
 EXTRAVERSION =
 NAME = Dare mighty things
 
arch/arm/boot/dts/imx7d-zii-rmu2.dts +1 -1
index 1065941807e8..ce59342e55aa 100644
@@ -350,7 +350,7 @@ MX7D_PAD_SD3_RESET_B__SD3_RESET_B	0x59
 
 &iomuxc_lpsr {
 	pinctrl_enet1_phy_interrupt: enet1phyinterruptgrp {
-		fsl,phy = <
+		fsl,pins = <
 			MX7D_PAD_LPSR_GPIO1_IO02__GPIO1_IO2	0x08
 		>;
 	};
arch/arm/boot/dts/sam9x60.dtsi +2 -2
index e1e0dec8cc1f..5e569cf1cccf 100644
@@ -692,7 +692,7 @@ rtt: rtt@fffffe20 {
 				compatible = "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
 				reg = <0xfffffe20 0x20>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
-				clocks = <&clk32k 0>;
+				clocks = <&clk32k 1>;
 			};
 
 			pit: timer@fffffe40 {
@@ -718,7 +718,7 @@ rtc: rtc@fffffea8 {
 				compatible = "microchip,sam9x60-rtc", "atmel,at91sam9x5-rtc";
 				reg = <0xfffffea8 0x100>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
-				clocks = <&clk32k 0>;
+				clocks = <&clk32k 1>;
 			};
 
 			watchdog: watchdog@ffffff80 {
arch/arm/mach-realview/platsmp-dt.c +1 -0
index 5ae783767a5d..083e6a6f7520 100644
@@ -66,6 +66,7 @@ static void __init realview_smp_prepare_cpus(unsigned int max_cpus)
 		return;
 	}
 	map = syscon_node_to_regmap(np);
+	of_node_put(np);
 	if (IS_ERR(map)) {
 		pr_err("PLATSMP: No syscon regmap\n");
 		return;
arch/arm64/Kconfig +2 -0
index 9fdf8b036428..cd13f02d579b 100644
@@ -703,6 +703,7 @@ config ARM64_ERRATUM_3194386
 	  * ARM Cortex-A78C erratum 3324346
 	  * ARM Cortex-A78C erratum 3324347
 	  * ARM Cortex-A710 erratam 3324338
+	  * ARM Cortex-A715 errartum 3456084
 	  * ARM Cortex-A720 erratum 3456091
 	  * ARM Cortex-A725 erratum 3456106
 	  * ARM Cortex-X1 erratum 3324344
@@ -713,6 +714,7 @@ config ARM64_ERRATUM_3194386
 	  * ARM Cortex-X925 erratum 3324334
 	  * ARM Neoverse-N1 erratum 3324349
 	  * ARM Neoverse N2 erratum 3324339
+	  * ARM Neoverse-N3 erratum 3456111
 	  * ARM Neoverse-V1 erratum 3324341
 	  * ARM Neoverse V2 erratum 3324336
 	  * ARM Neoverse-V3 erratum 3312417
arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +2 -2
index 913ba25ea72f..015e004bf275 100644
@@ -25,12 +25,12 @@ chosen {
 	backlight: edp-backlight {
 		compatible = "pwm-backlight";
 		power-supply = <&vcc_12v>;
-		pwms = <&pwm0 0 740740 0>;
+		pwms = <&pwm0 0 125000 0>;
 	};
 
 	bat: battery {
 		compatible = "simple-battery";
-		charge-full-design-microamp-hours = <9800000>;
+		charge-full-design-microamp-hours = <10000000>;
 		voltage-max-design-microvolt = <4350000>;
 		voltage-min-design-microvolt = <3000000>;
 	};
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +22 -1
index 0cf656824e23..40457a2a5cf2 100644
@@ -148,6 +148,22 @@ &emmc_phy {
 	drive-impedance-ohm = <33>;
 };
 
+&gpio3 {
+	/*
+	 * The Qseven BIOS_DISABLE signal on the RK3399-Q7 keeps the on-module
+	 * eMMC and SPI flash powered-down initially (in fact it keeps the
+	 * reset signal asserted). BIOS_DISABLE_OVERRIDE pin allows to override
+	 * that signal so that eMMC and SPI can be used regardless of the state
+	 * of the signal.
+	 */
+	bios-disable-override-hog {
+		gpios = <RK_PD5 GPIO_ACTIVE_LOW>;
+		gpio-hog;
+		line-name = "bios_disable_override";
+		output-high;
+	};
+};
+
 &gmac {
 	assigned-clocks = <&cru SCLK_RMII_SRC>;
 	assigned-clock-parents = <&clkin_gmac>;
@@ -437,9 +453,14 @@ &pcie_clkreqn_cpm {
 
 &pinctrl {
 	pinctrl-names = "default";
-	pinctrl-0 = <&q7_thermal_pin>;
+	pinctrl-0 = <&q7_thermal_pin &bios_disable_override_hog_pin>;
 
 	gpios {
+		bios_disable_override_hog_pin: bios-disable-override-hog-pin {
+			rockchip,pins =
+				<3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_down>;
+		};
+
 		q7_thermal_pin: q7-thermal-pin {
 			rockchip,pins =
 				<0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
arch/arm64/include/asm/cputype.h +4 -0
index 91890e9fcb6c..d8305b4657d2 100644
@@ -81,6 +81,7 @@
 #define ARM_CPU_PART_CORTEX_A510	0xD46
 #define ARM_CPU_PART_CORTEX_A520	0xD80
 #define ARM_CPU_PART_CORTEX_A710	0xD47
+#define ARM_CPU_PART_CORTEX_A715	0xD4D
 #define ARM_CPU_PART_CORTEX_X2		0xD48
 #define ARM_CPU_PART_NEOVERSE_N2	0xD49
 #define ARM_CPU_PART_CORTEX_A78C	0xD4B
@@ -92,6 +93,7 @@
 #define ARM_CPU_PART_NEOVERSE_V3	0xD84
 #define ARM_CPU_PART_CORTEX_X925	0xD85
 #define ARM_CPU_PART_CORTEX_A725	0xD87
+#define ARM_CPU_PART_NEOVERSE_N3	0xD8E
 
 #define APM_CPU_PART_POTENZA		0x000
 
@@ -141,6 +143,7 @@
 #define MIDR_CORTEX_A510 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A510)
 #define MIDR_CORTEX_A520 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A520)
 #define MIDR_CORTEX_A710 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A710)
+#define MIDR_CORTEX_A715 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A715)
 #define MIDR_CORTEX_X2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X2)
 #define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2)
 #define MIDR_CORTEX_A78C	MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78C)
@@ -152,6 +155,7 @@
 #define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
 #define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
 #define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
+#define MIDR_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
 #define MIDR_THUNDERX	MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
 #define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
 #define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)
arch/arm64/kernel/cpu_errata.c +2 -0
index 6e63dc8f0e8c..a77fcc9e7c72 100644
@@ -371,6 +371,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A78C),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A710),
+	MIDR_ALL_VERSIONS(MIDR_CORTEX_A715),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_X1),
@@ -381,6 +382,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
 	MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
+	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N3),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
 	MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
arch/m68k/kernel/process.c +1 -1
index da83cc83e791..8c2656371a87 100644
@@ -116,7 +116,7 @@ asmlinkage int m68k_clone(struct pt_regs *regs)
 {
 	/* regs will be equal to current_pt_regs() */
 	struct kernel_clone_args args = {
-		.flags		= regs->d1 & ~CSIGNAL,
+		.flags		= (u32)(regs->d1) & ~CSIGNAL,
 		.pidfd		= (int __user *)regs->d3,
 		.child_tid	= (int __user *)regs->d4,
 		.parent_tid	= (int __user *)regs->d3,
arch/microblaze/mm/init.c +0 -5
index 45da639bd22c..a2cd139c5eb4 100644
@@ -245,11 +245,6 @@ asmlinkage void __init mmu_init(void)
 {
 	unsigned int kstart, ksize;
 
-	if (!memblock.reserved.cnt) {
-		pr_emerg("Error memory count\n");
-		machine_restart(NULL);
-	}
-
 	if ((u32) memblock.memory.regions[0].size < 0x400000) {
 		pr_emerg("Memory must be greater than 4MB\n");
 		machine_restart(NULL);
arch/parisc/kernel/entry.S +2 -4
index 25bef679290f..b86ba022136e 100644
@@ -1071,8 +1071,7 @@ ENTRY_CFI(intr_save)		/* for os_hpmc */
 	STREG           %r16, PT_ISR(%r29)
 	STREG           %r17, PT_IOR(%r29)
 
-#if 0 && defined(CONFIG_64BIT)
-	/* Revisit when we have 64-bit code above 4Gb */
+#if defined(CONFIG_64BIT)
 	b,n		intr_save2
 
 skip_save_ior:
@@ -1080,8 +1079,7 @@ skip_save_ior:
 	 * need to adjust iasq/iaoq here in the same way we adjusted isr/ior
 	 * above.
 	 */
-	extrd,u,*	%r8,PSW_W_BIT,1,%r1
-	cmpib,COND(=),n	1,%r1,intr_save2
+	bb,COND(>=),n	%r8,PSW_W_BIT,intr_save2
 	LDREG		PT_IASQ0(%r29), %r16
 	LDREG		PT_IAOQ0(%r29), %r17
 	/* adjust iasq/iaoq */
arch/parisc/kernel/syscall.S +8 -6
index 4e53515cf81f..2fb0f0ac980c 100644
@@ -217,10 +217,10 @@ linux_gateway_entry:
 
 #ifdef CONFIG_64BIT
 	ldil	L%sys_call_table, %r1
-	or,=	%r2,%r2,%r2
-	addil	L%(sys_call_table64-sys_call_table), %r1
+	or,ev	%r2,%r2,%r2
+	ldil	L%sys_call_table64, %r1
 	ldo	R%sys_call_table(%r1), %r19
-	or,=	%r2,%r2,%r2
+	or,ev	%r2,%r2,%r2
 	ldo	R%sys_call_table64(%r1), %r19
 #else
 	load32	sys_call_table, %r19
@@ -355,10 +355,10 @@ tracesys_next:
 	extrd,u	%r19,63,1,%r2			/* W hidden in bottom bit */
 
 	ldil	L%sys_call_table, %r1
-	or,=	%r2,%r2,%r2
-	addil	L%(sys_call_table64-sys_call_table), %r1
+	or,ev	%r2,%r2,%r2
+	ldil	L%sys_call_table64, %r1
 	ldo	R%sys_call_table(%r1), %r19
-	or,=	%r2,%r2,%r2
+	or,ev	%r2,%r2,%r2
 	ldo	R%sys_call_table64(%r1), %r19
 #else
 	load32	sys_call_table, %r19
@@ -931,6 +931,8 @@ ENTRY(sys_call_table)
 END(sys_call_table)
 
 #ifdef CONFIG_64BIT
+#undef __SYSCALL_WITH_COMPAT
+#define __SYSCALL_WITH_COMPAT(nr, native, compat)	__SYSCALL(nr, native)
 	.align 8
 ENTRY(sys_call_table64)
 #include <asm/syscall_table_64.h>    /* 64-bit native syscalls */
arch/powerpc/kernel/setup-common.c +1 -0
index 1e417c3eedfe..b99b35ba2412 100644
@@ -908,6 +908,7 @@ void __init setup_arch(char **cmdline_p)
 	mem_topology_setup();
 	/* Set max_mapnr before paging_init() */
 	set_max_mapnr(max_pfn);
+	high_memory = (void *)__va(max_low_pfn * PAGE_SIZE);
 
 	/*
 	 * Release secondary cpus out of their spinloops at 0x60 now that
arch/powerpc/mm/mem.c +0 -2
index 08e3422eb792..cd6a68a64d87 100644
@@ -292,8 +292,6 @@ void __init mem_init(void)
 		swiotlb_init(0);
 #endif
 
-	high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);
-
 	kasan_late_init();
 
 	memblock_free_all();
arch/riscv/Kconfig +5 -0
index 70271db83383..57753b477ea2 100644
@@ -193,6 +193,11 @@ config GENERIC_HWEIGHT
 config FIX_EARLYCON_MEM
 	def_bool MMU
 
+config ILLEGAL_POINTER_VALUE
+	hex
+	default 0 if 32BIT
+	default 0xdead000000000000 if 64BIT
+
 config PGTABLE_LEVELS
 	int
 	default 3 if 64BIT
arch/riscv/kernel/perf_callchain.c +1 -1
index fb02811df714..3c0a43cb1c33 100644
@@ -71,7 +71,7 @@ void perf_callchain_user(struct perf_callchain_entry_ctx *entry,
 	perf_callchain_store(entry, regs->epc);
 
 	fp = user_backtrace(entry, fp, regs->ra);
-	while (fp && !(fp & 0x3) && entry->nr < entry->max_stack)
+	while (fp && !(fp & 0x7) && entry->nr < entry->max_stack)
 		fp = user_backtrace(entry, fp, 0);
 }
 
arch/s390/include/asm/facility.h +4 -2
index 68c476b20b57..c7031d9ada29 100644
@@ -53,8 +53,10 @@ static inline int test_facility(unsigned long nr)
 	unsigned long facilities_als[] = { FACILITIES_ALS };
 
 	if (__builtin_constant_p(nr) && nr < sizeof(facilities_als) * 8) {
-		if (__test_facility(nr, &facilities_als))
-			return 1;
+		if (__test_facility(nr, &facilities_als)) {
+			if (!__is_defined(__DECOMPRESSOR))
+				return 1;
+		}
 	}
 	return __test_facility(nr, &S390_lowcore.stfle_fac_list);
 }
arch/s390/kernel/perf_cpum_sf.c +4 -8
index bcd31e0b4edb..a9e05f4d0a48 100644
@@ -1432,7 +1432,7 @@ static int aux_output_begin(struct perf_output_handle *handle,
 	unsigned long head, base, offset;
 	struct hws_trailer_entry *te;
 
-	if (WARN_ON_ONCE(handle->head & ~PAGE_MASK))
+	if (handle->head & ~PAGE_MASK)
 		return -EINVAL;
 
 	aux->head = handle->head >> PAGE_SHIFT;
@@ -1613,7 +1613,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 	unsigned long num_sdb;
 
 	aux = perf_get_aux(handle);
-	if (WARN_ON_ONCE(!aux))
+	if (!aux)
 		return;
 
 	/* Inform user space new data arrived */
@@ -1635,7 +1635,7 @@ static void hw_collect_aux(struct cpu_hw_sf *cpuhw)
 					    __func__);
 			break;
 		}
-		if (WARN_ON_ONCE(!aux))
+		if (!aux)
 			return;
 
 		/* Update head and alert_mark to new position */
@@ -1870,12 +1870,8 @@ static void cpumsf_pmu_start(struct perf_event *event, int flags)
 {
 	struct cpu_hw_sf *cpuhw = this_cpu_ptr(&cpu_hw_sf);
 
-	if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED)))
+	if (!(event->hw.state & PERF_HES_STOPPED))
 		return;
-
-	if (flags & PERF_EF_RELOAD)
-		WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE));
-
 	perf_pmu_disable(event->pmu);
 	event->hw.state = 0;
 	cpuhw->lsctl.cs = 1;
arch/s390/mm/cmm.c +17 -1
index 1141c8d5c0d0..9b4304fa37bf 100644
@@ -95,11 +95,12 @@ static long cmm_alloc_pages(long nr, long *counter,
 		(*counter)++;
 		spin_unlock(&cmm_lock);
 		nr--;
+		cond_resched();
 	}
 	return nr;
 }
 
-static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+static long __cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 {
 	struct cmm_page_array *pa;
 	unsigned long addr;
@@ -123,6 +124,21 @@ static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
 	return nr;
 }
 
+static long cmm_free_pages(long nr, long *counter, struct cmm_page_array **list)
+{
+	long inc = 0;
+
+	while (nr) {
+		inc = min(256L, nr);
+		nr -= inc;
+		inc = __cmm_free_pages(inc, counter, list);
+		if (inc)
+			break;
+		cond_resched();
+	}
+	return nr + inc;
+}
+
 static int cmm_oom_notify(struct notifier_block *self,
 			  unsigned long dummy, void *parm)
 {
arch/x86/events/intel/pt.c +7 -8
index da7e8c2b5347..1e31ff3d9940 100644
@@ -1586,6 +1586,7 @@ static void pt_event_stop(struct perf_event *event, int mode)
 	 * see comment in intel_pt_interrupt().
 	 */
 	WRITE_ONCE(pt->handle_nmi, 0);
+	barrier();
 
 	pt_config_stop(event);
 
@@ -1637,11 +1638,10 @@ static long pt_event_snapshot_aux(struct perf_event *event,
 		return 0;
 
 	/*
-	 * Here, handle_nmi tells us if the tracing is on
+	 * There is no PT interrupt in this mode, so stop the trace and it will
+	 * remain stopped while the buffer is copied.
 	 */
-	if (READ_ONCE(pt->handle_nmi))
-		pt_config_stop(event);
-
+	pt_config_stop(event);
 	pt_read_offset(buf);
 	pt_update_head(pt);
 
@@ -1653,11 +1653,10 @@ static long pt_event_snapshot_aux(struct perf_event *event,
 	ret = perf_output_copy_aux(&pt->handle, handle, from, to);
 
 	/*
-	 * If the tracing was on when we turned up, restart it.
-	 * Compiler barrier not needed as we couldn't have been
-	 * preempted by anything that touches pt->handle_nmi.
+	 * Here, handle_nmi tells us if the tracing was on.
+	 * If the tracing was on, restart it.
 	 */
-	if (pt->handle_nmi)
+	if (READ_ONCE(pt->handle_nmi))
 		pt_config_start(event);
 
 	return ret;
arch/x86/include/asm/syscall.h +6 -1
index 7cbf733d11af..e8a28380d0ad 100644
@@ -85,7 +85,12 @@ static inline void syscall_get_arguments(struct task_struct *task,
 					 struct pt_regs *regs,
 					 unsigned long *args)
 {
-	memcpy(args, &regs->bx, 6 * sizeof(args[0]));
+	args[0] = regs->bx;
+	args[1] = regs->cx;
+	args[2] = regs->dx;
+	args[3] = regs->si;
+	args[4] = regs->di;
+	args[5] = regs->bp;
 }
 
 static inline void syscall_set_arguments(struct task_struct *task,
arch/x86/kernel/cpu/mshyperv.c +1 -0
index 021cd067733e..a91aad434d03 100644
@@ -275,6 +275,7 @@ static void __init ms_hyperv_init_platform(void)
 	    ms_hyperv.misc_features & HV_FEATURE_FREQUENCY_MSRS_AVAILABLE) {
 		x86_platform.calibrate_tsc = hv_get_tsc_khz;
 		x86_platform.calibrate_cpu = hv_get_tsc_khz;
+		setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ);
 	}
 
 	if (ms_hyperv.hints & HV_X64_ENLIGHTENED_VMCS_RECOMMENDED) {
arch/x86/kernel/kprobes/core.c +2 -9
index e7edc9e4c6cd..6d59c8e7719b 100644
@@ -194,17 +194,10 @@ static unsigned long
 __recover_probed_insn(kprobe_opcode_t *buf, unsigned long addr)
 {
 	struct kprobe *kp;
-	unsigned long faddr;
+	bool faddr;
 
 	kp = get_kprobe((void *)addr);
-	faddr = ftrace_location(addr);
-	/*
-	 * Addresses inside the ftrace location are refused by
-	 * arch_check_ftrace_location(). Something went terribly wrong
-	 * if such an address is checked here.
-	 */
-	if (WARN_ON(faddr && faddr != addr))
-		return 0UL;
+	faddr = ftrace_location(addr) == addr;
 	/*
 	 * Use the current code if it is not modified by Kprobe
 	 * and it cannot be modified by ftrace.
arch/x86/mm/init.c +6 -10
index dd15fdee4536..17f1a89e26fc 100644
@@ -257,21 +257,17 @@ static void __init probe_page_size_mask(void)
 	}
 }
 
-#define INTEL_MATCH(_model) { .vendor  = X86_VENDOR_INTEL,	\
-			      .family  = 6,			\
-			      .model = _model,			\
-			    }
 /*
  * INVLPG may not properly flush Global entries
  * on these CPUs when PCIDs are enabled.
  */
 static const struct x86_cpu_id invlpg_miss_ids[] = {
-	INTEL_MATCH(INTEL_FAM6_ALDERLAKE   ),
-	INTEL_MATCH(INTEL_FAM6_ALDERLAKE_L ),
-	INTEL_MATCH(INTEL_FAM6_ALDERLAKE_N ),
-	INTEL_MATCH(INTEL_FAM6_RAPTORLAKE  ),
-	INTEL_MATCH(INTEL_FAM6_RAPTORLAKE_P),
-	INTEL_MATCH(INTEL_FAM6_RAPTORLAKE_S),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE,      0),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,    0),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N,    0),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,     0),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,   0),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,   0),
 	{}
 };
 
arch/x86/xen/setup.c +1 -1
index 1f80dd3a2dd4..629c94d1ab24 100644
@@ -856,7 +856,7 @@ char * __init xen_memory_setup(void)
 	 * to relocating (and even reusing) pages with kernel text or data.
 	 */
 	if (xen_is_e820_reserved(__pa_symbol(_text),
-			__pa_symbol(__bss_stop) - __pa_symbol(_text))) {
+				 __pa_symbol(_end) - __pa_symbol(_text))) {
 		xen_raw_console_write("Xen hypervisor allocated kernel memory conflicts with E820 map\n");
 		BUG();
 	}
block/bfq-iosched.c +9 -4
index 6687b805bab3..515e3c1a5475 100644
@@ -2616,8 +2616,12 @@ bfq_setup_cooperator(struct bfq_data *bfqd, struct bfq_queue *bfqq,
 	struct bfq_queue *in_service_bfqq, *new_bfqq;
 
 	/* if a merge has already been setup, then proceed with that first */
-	if (bfqq->new_bfqq)
-		return bfqq->new_bfqq;
+	new_bfqq = bfqq->new_bfqq;
+	if (new_bfqq) {
+		while (new_bfqq->new_bfqq)
+			new_bfqq = new_bfqq->new_bfqq;
+		return new_bfqq;
+	}
 
 	/*
 	 * Do not perform queue merging if the device is non
@@ -6009,7 +6013,7 @@ bfq_split_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq)
 {
 	bfq_log_bfqq(bfqq->bfqd, bfqq, "splitting queue");
 
-	if (bfqq_process_refs(bfqq) == 1) {
+	if (bfqq_process_refs(bfqq) == 1 && !bfqq->new_bfqq) {
 		bfqq->pid = current->pid;
 		bfq_clear_bfqq_coop(bfqq);
 		bfq_clear_bfqq_split_coop(bfqq);
@@ -6194,7 +6198,8 @@ static struct bfq_queue *bfq_init_rq(struct request *rq)
 	 * addition, if the queue has also just been split, we have to
 	 * resume its state.
 	 */
-	if (likely(bfqq != &bfqd->oom_bfqq) && bfqq_process_refs(bfqq) == 1) {
+	if (likely(bfqq != &bfqd->oom_bfqq) && !bfqq->new_bfqq &&
+	    bfqq_process_refs(bfqq) == 1) {
 		bfqq->bic = bic;
 		if (split) {
 			/*
block/blk-iocost.c +5 -3
index fe5b0c79e541..7d56506eb8ff 100644
@@ -2022,7 +2022,7 @@ static void ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors,
 			      struct ioc_now *now)
 {
 	struct ioc_gq *iocg;
-	u64 dur, usage_pct, nr_cycles;
+	u64 dur, usage_pct, nr_cycles, nr_cycles_shift;
 
 	/* if no debtor, reset the cycle */
 	if (!nr_debtors) {
@@ -2084,10 +2084,12 @@ static void ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors,
 		old_debt = iocg->abs_vdebt;
 		old_delay = iocg->delay;
 
+		nr_cycles_shift = min_t(u64, nr_cycles, BITS_PER_LONG - 1);
 		if (iocg->abs_vdebt)
-			iocg->abs_vdebt = iocg->abs_vdebt >> nr_cycles ?: 1;
+			iocg->abs_vdebt = iocg->abs_vdebt >> nr_cycles_shift ?: 1;
+
 		if (iocg->delay)
-			iocg->delay = iocg->delay >> nr_cycles ?: 1;
+			iocg->delay = iocg->delay >> nr_cycles_shift ?: 1;
 
 		iocg_kick_waitq(iocg, true, now);
 
block/partitions/core.c +5 -3
index e3d61ec4a5a6..45fe4317fffa 100644
@@ -691,9 +691,11 @@ static bool blk_add_partition(struct gendisk *disk, struct block_device *bdev,
 
 	part = add_partition(disk, p, from, size, state->parts[p].flags,
 			     &state->parts[p].info);
-	if (IS_ERR(part) && PTR_ERR(part) != -ENXIO) {
-		printk(KERN_ERR " %s: p%d could not be added: %ld\n",
-		       disk->disk_name, p, -PTR_ERR(part));
+	if (IS_ERR(part)) {
+		if (PTR_ERR(part) != -ENXIO) {
+			printk(KERN_ERR " %s: p%d could not be added: %pe\n",
+			       disk->disk_name, p, part);
+		}
 		return true;
 	}
 
drivers/acpi/acpica/dbconvert.c +2 -0
index 2b84ac093698..8dbab6932049 100644
@@ -174,6 +174,8 @@ acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object)
 	elements =
 	    ACPI_ALLOCATE_ZEROED(DB_DEFAULT_PKG_ELEMENTS *
 				 sizeof(union acpi_object));
+	if (!elements)
+		return (AE_NO_MEMORY);
 
 	this = string;
 	for (i = 0; i < (DB_DEFAULT_PKG_ELEMENTS - 1); i++) {
drivers/acpi/acpica/exprep.c +3 -0
index 4a0f03157e08..ab500f31c96e 100644
@@ -437,6 +437,9 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
 
 		if (info->connection_node) {
 			second_desc = info->connection_node->object;
+			if (second_desc == NULL) {
+				break;
+			}
 			if (!(second_desc->common.flags & AOPOBJ_DATA_VALID)) {
 				status =
 				    acpi_ds_get_buffer_arguments(second_desc);
drivers/acpi/acpica/psargs.c +47 -0

77 lines not on this page · raw message

drivers/acpi/battery.c +17 -11
index 2e1462b8929c..f9fb092f33a2 100644
@@ -695,27 +695,34 @@ static LIST_HEAD(acpi_battery_list);
 static LIST_HEAD(battery_hook_list);
 static DEFINE_MUTEX(hook_mutex);
 
-static void __battery_hook_unregister(struct acpi_battery_hook *hook, int lock)
+static void battery_hook_unregister_unlocked(struct acpi_battery_hook *hook)
 {
 	struct acpi_battery *battery;
+
 	/*
 	 * In order to remove a hook, we first need to
 	 * de-register all the batteries that are registered.
 	 */
-	if (lock)
-		mutex_lock(&hook_mutex);
 	list_for_each_entry(battery, &acpi_battery_list, list) {
 		hook->remove_battery(battery->bat);
 	}
-	list_del(&hook->list);
-	if (lock)
-		mutex_unlock(&hook_mutex);
+	list_del_init(&hook->list);
+
 	pr_info("extension unregistered: %s\n", hook->name);
 }
 
 void battery_hook_unregister(struct acpi_battery_hook *hook)
 {
-	__battery_hook_unregister(hook, 1);
+	mutex_lock(&hook_mutex);
+	/*
+	 * Ignore already unregistered battery hooks. This might happen
+	 * if a battery hook was previously unloaded due to an error when
+	 * adding a new battery.
+	 */
+	if (!list_empty(&hook->list))
+		battery_hook_unregister_unlocked(hook);
+
+	mutex_unlock(&hook_mutex);
 }
 EXPORT_SYMBOL_GPL(battery_hook_unregister);
 
@@ -724,7 +731,6 @@ void battery_hook_register(struct acpi_battery_hook *hook)
 	struct acpi_battery *battery;
 
 	mutex_lock(&hook_mutex);
-	INIT_LIST_HEAD(&hook->list);
 	list_add(&hook->list, &battery_hook_list);
 	/*
 	 * Now that the driver is registered, we need
@@ -741,7 +747,7 @@ void battery_hook_register(struct acpi_battery_hook *hook)
 			 * hooks.
 			 */
 			pr_err("extension failed to load: %s", hook->name);
-			__battery_hook_unregister(hook, 0);
+			battery_hook_unregister_unlocked(hook);
 			goto end;
 		}
 	}
@@ -778,7 +784,7 @@ static void battery_hook_add_battery(struct acpi_battery *battery)
 			 */
 			pr_err("error in extension, unloading: %s",
 					hook_node->name);
-			__battery_hook_unregister(hook_node, 0);
+			battery_hook_unregister_unlocked(hook_node);
 		}
 	}
 	mutex_unlock(&hook_mutex);
@@ -811,7 +817,7 @@ static void __exit battery_hook_exit(void)
 	 * need to remove the hooks.
 	 */
 	list_for_each_entry_safe(hook, ptr, &battery_hook_list, list) {
-		__battery_hook_unregister(hook, 1);
+		battery_hook_unregister(hook);
 	}
 	mutex_destroy(&hook_mutex);
 }
drivers/acpi/device_sysfs.c +3 -2
index 566067a855a1..57ee8314dfb8 100644
@@ -533,8 +533,9 @@ int acpi_device_setup_files(struct acpi_device *dev)
 	 * If device has _STR, 'description' file is created
 	 */
 	if (acpi_has_method(dev->handle, "_STR")) {
-		status = acpi_evaluate_object(dev->handle, "_STR",
-					NULL, &buffer);
+		status = acpi_evaluate_object_typed(dev->handle, "_STR",
+						    NULL, &buffer,
+						    ACPI_TYPE_BUFFER);
 		if (ACPI_FAILURE(status))
 			buffer.pointer = NULL;
 		dev->pnp.str_obj = buffer.pointer;
drivers/acpi/ec.c +49 -6

114 lines not on this page · raw message

drivers/acpi/pmic/tps68470_pmic.c +2 -4
index ebd03e472955..0d1a82eeb4b0 100644
@@ -376,10 +376,8 @@ static int tps68470_pmic_opregion_probe(struct platform_device *pdev)
 	struct tps68470_pmic_opregion *opregion;
 	acpi_status status;
 
-	if (!dev || !tps68470_regmap) {
-		dev_warn(dev, "dev or regmap is NULL\n");
-		return -EINVAL;
-	}
+	if (!tps68470_regmap)
+		return dev_err_probe(dev, -EINVAL, "regmap is missing\n");
 
 	if (!handle) {
 		dev_warn(dev, "acpi handle is NULL\n");
drivers/acpi/resource.c +20 -0
index aa92ec4fe721..520acfcbf9db 100644
@@ -442,6 +442,13 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B2402CBA"),
 		},
 	},
+	{
+		/* Asus Vivobook X1704VAP */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "X1704VAP"),
+		},
+	},
 	{
 		/* TongFang GMxXGxx/TUXEDO Polaris 15 Gen5 AMD */
 		.matches = {
@@ -455,6 +462,12 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "B1402CVA"),
 		},
 	},
+	{
+		/* TongFang GMxXGxX/TUXEDO Polaris 15 Gen5 AMD */
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"),
+		},
+	},
 	{
 		/* TongFang GMxXGxx sold as Eluktronics Inc. RP-15 */
 		.matches = {
@@ -481,6 +494,13 @@ static const struct dmi_system_id asus_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "GXxHRXx"),
 		},
 	},
+	{
+		/* Asus ExpertBook B2502CVA */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "B2502CVA"),
+		},
+	},
 	{
 		/* TongFang GMxHGxx/TUXEDO Stellaris Slim Gen1 AMD */
 		.matches = {
drivers/ata/sata_sil.c +6 -6
index 75321f1ceba5..fc438c4518fb 100644
@@ -128,7 +128,7 @@ static const struct pci_device_id sil_pci_tbl[] = {
 static const struct sil_drivelist {
 	const char *product;
 	unsigned int quirk;
-} sil_blacklist [] = {
+} sil_quirks[] = {
 	{ "ST320012AS",		SIL_QUIRK_MOD15WRITE },
 	{ "ST330013AS",		SIL_QUIRK_MOD15WRITE },
 	{ "ST340017AS",		SIL_QUIRK_MOD15WRITE },
@@ -601,8 +601,8 @@ static void sil_thaw(struct ata_port *ap)
  *	list, and apply the fixups to only the specific
  *	devices/hosts/firmwares that need it.
  *
- *	20040111 - Seagate drives affected by the Mod15Write bug are blacklisted
- *	The Maxtor quirk is in the blacklist, but I'm keeping the original
+ *	20040111 - Seagate drives affected by the Mod15Write bug are quirked
+ *	The Maxtor quirk is in sil_quirks, but I'm keeping the original
  *	pessimistic fix for the following reasons...
  *	- There seems to be less info on it, only one device gleaned off the
  *	Windows	driver, maybe only one is affected.  More info would be greatly
@@ -621,9 +621,9 @@ static void sil_dev_config(struct ata_device *dev)
 
 	ata_id_c_string(dev->id, model_num, ATA_ID_PROD, sizeof(model_num));
 
-	for (n = 0; sil_blacklist[n].product; n++)
-		if (!strcmp(sil_blacklist[n].product, model_num)) {
-			quirks = sil_blacklist[n].quirk;
+	for (n = 0; sil_quirks[n].product; n++)
+		if (!strcmp(sil_quirks[n].product, model_num)) {
+			quirks = sil_quirks[n].quirk;
 			break;
 		}
 
drivers/base/bus.c +4 -2
index df85e928b97f..47ab755aee94 100644
@@ -104,7 +104,8 @@ static ssize_t bus_attr_show(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for reading a bus attribute without show() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->show)
 		ret = bus_attr->show(subsys_priv->bus, buf);
@@ -116,7 +117,8 @@ static ssize_t bus_attr_store(struct kobject *kobj, struct attribute *attr,
 {
 	struct bus_attribute *bus_attr = to_bus_attr(attr);
 	struct subsys_private *subsys_priv = to_subsys_private(kobj);
-	ssize_t ret = 0;
+	/* return -EIO for writing a bus attribute without store() */
+	ssize_t ret = -EIO;
 
 	if (bus_attr->store)
 		ret = bus_attr->store(subsys_priv->bus, buf, count);
drivers/base/firmware_loader/main.c +30 -0
index a4dd500bc141..a83bf68450ed 100644
@@ -786,6 +786,26 @@ static void fw_abort_batch_reqs(struct firmware *fw)
 	mutex_unlock(&fw_lock);
 }
 
+/*
+ * Reject firmware file names with ".." path components.
+ * There are drivers that construct firmware file names from device-supplied
+ * strings, and we don't want some device to be able to tell us "I would like to
+ * be sent my firmware from ../../../etc/shadow, please".
+ *
+ * Search for ".." surrounded by either '/' or start/end of string.
+ *
+ * This intentionally only looks at the firmware name, not at the firmware base
+ * directory or at symlink contents.
+ */
+static bool name_contains_dotdot(const char *name)
+{
+	size_t name_len = strlen(name);
+
+	return strcmp(name, "..") == 0 || strncmp(name, "../", 3) == 0 ||
+	       strstr(name, "/../") != NULL ||
+	       (name_len >= 3 && strcmp(name+name_len-3, "/..") == 0);
+}
+
 /* called from request_firmware() and request_firmware_work_func() */
 static int
 _request_firmware(const struct firmware **firmware_p, const char *name,
@@ -806,6 +826,14 @@ _request_firmware(const struct firmware **firmware_p, const char *name,
 		goto out;
 	}
 
+	if (name_contains_dotdot(name)) {
+		dev_warn(device,
+			 "Firmware load for '%s' refused, path contains '..' component\n",
+			 name);
+		ret = -EINVAL;
+		goto out;
+	}
+
 	ret = _request_firmware_prepare(&fw, name, device, buf, size,
 					offset, opt_flags);
 	if (ret <= 0) /* error or already assigned */
@@ -876,6 +904,8 @@ _request_firmware(const struct firmware **firmware_p, const char *name,
  *      @name will be used as $FIRMWARE in the uevent environment and
  *      should be distinctive enough not to be confused with any other
  *      firmware image for this or any other device.
+ *	It must not contain any ".." path components - "foo/bar..bin" is
+ *	allowed, but "foo/../bar.bin" is not.
  *
  *	Caller must hold the reference count of @device.
  *
drivers/base/property.c +2 -2
index cf88a5554d9c..e9fdef1f4517 100644
@@ -18,7 +18,7 @@
 #include <linux/etherdevice.h>
 #include <linux/phy.h>
 
-struct fwnode_handle *dev_fwnode(struct device *dev)
+struct fwnode_handle *dev_fwnode(const struct device *dev)
 {
 	return IS_ENABLED(CONFIG_OF) && dev->of_node ?
 		&dev->of_node->fwnode : dev->fwnode;
@@ -1179,7 +1179,7 @@ int fwnode_graph_parse_endpoint(const struct fwnode_handle *fwnode,
 }
 EXPORT_SYMBOL(fwnode_graph_parse_endpoint);
 
-const void *device_get_match_data(struct device *dev)
+const void *device_get_match_data(const struct device *dev)
 {
 	return fwnode_call_ptr_op(dev_fwnode(dev), device_get_match_data, dev);
 }
drivers/block/aoe/aoecmd.c +12 -1
index c805909c8e77..833ccf2cd5df 100644
@@ -362,6 +362,7 @@ ata_rw_frameinit(struct frame *f)
 	}
 
 	ah->cmdstat = ATA_CMD_PIO_READ | writebit | extbit;
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 }
 
@@ -402,6 +403,8 @@ aoecmd_ata_rw(struct aoedev *d)
 		__skb_queue_head_init(&queue);
 		__skb_queue_tail(&queue, skb);
 		aoenet_xmit(&queue);
+	} else {
+		dev_put(f->t->ifp->nd);
 	}
 	return 1;
 }
@@ -484,10 +487,13 @@ resend(struct aoedev *d, struct frame *f)
 	memcpy(h->dst, t->addr, sizeof h->dst);
 	memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src);
 
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 	skb = skb_clone(skb, GFP_ATOMIC);
-	if (skb == NULL)
+	if (skb == NULL) {
+		dev_put(t->ifp->nd);
 		return;
+	}
 	f->sent = ktime_get();
 	__skb_queue_head_init(&queue);
 	__skb_queue_tail(&queue, skb);
@@ -618,6 +624,8 @@ probe(struct aoetgt *t)
 		__skb_queue_head_init(&queue);
 		__skb_queue_tail(&queue, skb);
 		aoenet_xmit(&queue);
+	} else {
+		dev_put(f->t->ifp->nd);
 	}
 }
 
@@ -1403,6 +1411,7 @@ aoecmd_ata_id(struct aoedev *d)
 	ah->cmdstat = ATA_CMD_ID_ATA;
 	ah->lba3 = 0xa0;
 
+	dev_hold(t->ifp->nd);
 	skb->dev = t->ifp->nd;
 
 	d->rttavg = RTTAVG_INIT;
@@ -1412,6 +1421,8 @@ aoecmd_ata_id(struct aoedev *d)
 	skb = skb_clone(skb, GFP_ATOMIC);
 	if (skb)
 		f->sent = ktime_get();
+	else
+		dev_put(t->ifp->nd);
 
 	return skb;
 }
drivers/block/drbd/drbd_main.c +4 -2
index 420bdaf8c356..28ee47d71f1c 100644
@@ -3429,10 +3429,12 @@ void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local)
 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local)
 {
 	unsigned long flags;
-	if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0)
+	spin_lock_irqsave(&device->ldev->md.uuid_lock, flags);
+	if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0) {
+		spin_unlock_irqrestore(&device->ldev->md.uuid_lock, flags);
 		return;
+	}
 
-	spin_lock_irqsave(&device->ldev->md.uuid_lock, flags);
 	if (val == 0) {
 		drbd_uuid_move_history(device);
 		device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP];
drivers/block/drbd/drbd_state.c +1 -1
index 5fbaea6b77b1..2c954bb70bff 100644
@@ -876,7 +876,7 @@ is_valid_state(struct drbd_device *device, union drbd_state ns)
 		  ns.disk == D_OUTDATED)
 		rv = SS_CONNECTED_OUTDATES;
 
-	else if ((ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) &&
+	else if (nc && (ns.conn == C_VERIFY_S || ns.conn == C_VERIFY_T) &&
 		 (nc->verify_alg[0] == 0))
 		rv = SS_NO_VERIFY_ALG;
 
drivers/bluetooth/btmrvl_sdio.c +1 -2
index 33d58b30c5ac..6e40a984ba7b 100644
@@ -105,7 +105,7 @@ static int btmrvl_sdio_probe_of(struct device *dev,
 		} else {
 			ret = devm_request_irq(dev, cfg->irq_bt,
 					       btmrvl_wake_irq_bt,
-					       0, "bt_wake", card);
+					       IRQF_NO_AUTOEN, "bt_wake", card);
 			if (ret) {
 				dev_err(dev,
 					"Failed to request irq_bt %d (%d)\n",
@@ -114,7 +114,6 @@ static int btmrvl_sdio_probe_of(struct device *dev,
 
 			/* Configure wakeup (enabled by default) */
 			device_init_wakeup(dev, true);
-			disable_irq(cfg->irq_bt);
 		}
 	}
 
drivers/bluetooth/btusb.c +4 -1
index b0d97c9ffd26..930dee28271e 100644
@@ -928,7 +928,10 @@ static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags)
 	if (!urb)
 		return -ENOMEM;
 
-	size = le16_to_cpu(data->intr_ep->wMaxPacketSize);
+	/* Use maximum HCI Event size so the USB stack handles
+	 * ZPL/short-transfer automatically.
+	 */
+	size = HCI_MAX_EVENT_SIZE;
 
 	buf = kmalloc(size, mem_flags);
 	if (!buf) {
drivers/bus/arm-integrator-lm.c +1 -0
index 845b6c43fef8..0c9bcbbeb484 100644
@@ -84,6 +84,7 @@ static int integrator_ap_lm_probe(struct platform_device *pdev)
 		return -ENODEV;
 	}
 	map = syscon_node_to_regmap(syscon);
+	of_node_put(syscon);
 	if (IS_ERR(map)) {
 		dev_err(dev,
 			"could not find Integrator/AP system controller\n");
drivers/char/hw_random/cctrng.c +1 -0
index 7a293f2147a0..9c61807dfe13 100644
@@ -679,6 +679,7 @@ static int __maybe_unused cctrng_resume(struct device *dev)
 	/* wait for Cryptocell reset completion */
 	if (!cctrng_wait_for_reset_completion(drvdata)) {
 		dev_err(dev, "Cryptocell reset not completed");
+		clk_disable_unprepare(drvdata->clk);
 		return -EBUSY;
 	}
 
drivers/char/hw_random/mtk-rng.c +1 -1
index 6c00ea008555..3e00506543b6 100644
@@ -142,7 +142,7 @@ 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);
-	pm_runtime_enable(&pdev->dev);
+	devm_pm_runtime_enable(&pdev->dev);
 
 	dev_info(&pdev->dev, "registered RNG driver\n");
 
drivers/char/tpm/tpm-dev-common.c +2 -0
index b99e1941c52c..fde81ecbd6a3 100644
@@ -48,6 +48,8 @@ static ssize_t tpm_dev_transmit(struct tpm_chip *chip, struct tpm_space *space,
 
 	if (!ret)
 		ret = tpm2_commit_space(chip, space, buf, &len);
+	else
+		tpm2_flush_space(chip);
 
 out_rc:
 	return ret ? ret : len;
drivers/char/tpm/tpm2-space.c +3 -0
index ffb35f0154c1..c57404c6b98c 100644
@@ -166,6 +166,9 @@ void tpm2_flush_space(struct tpm_chip *chip)
 	struct tpm_space *space = &chip->work_space;
 	int i;
 
+	if (!space)
+		return;
+
 	for (i = 0; i < ARRAY_SIZE(space->context_tbl); i++)
 		if (space->context_tbl[i] && ~space->context_tbl[i])
 			tpm2_flush_context(chip, space->context_tbl[i]);
drivers/char/virtio_console.c +10 -8
index 6d361420ffe8..1734b4341585 100644
@@ -2049,25 +2049,27 @@ static int virtcons_probe(struct virtio_device *vdev)
 		multiport = true;
 	}
 
-	err = init_vqs(portdev);
-	if (err < 0) {
-		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
-		goto free_chrdev;
-	}
-
 	spin_lock_init(&portdev->ports_lock);
 	INIT_LIST_HEAD(&portdev->ports);
 	INIT_LIST_HEAD(&portdev->list);
 
-	virtio_device_ready(portdev->vdev);
-
 	INIT_WORK(&portdev->config_work, &config_work_handler);
 	INIT_WORK(&portdev->control_work, &control_work_handler);
 
 	if (multiport) {
 		spin_lock_init(&portdev->c_ivq_lock);
 		spin_lock_init(&portdev->c_ovq_lock);
+	}
 
+	err = init_vqs(portdev);
+	if (err < 0) {
+		dev_err(&vdev->dev, "Error %d initializing vqs\n", err);
+		goto free_chrdev;
+	}
+
+	virtio_device_ready(portdev->vdev);
+
+	if (multiport) {
 		err = fill_queue(portdev->c_ivq, &portdev->c_ivq_lock);
 		if (err < 0) {
 			dev_err(&vdev->dev,
drivers/clk/bcm/clk-bcm53573-ilp.c +1 -1
index 84f2af736ee8..83ef41d618be 100644
@@ -112,7 +112,7 @@ static void bcm53573_ilp_init(struct device_node *np)
 		goto err_free_ilp;
 	}
 
-	ilp->regmap = syscon_node_to_regmap(of_get_parent(np));
+	ilp->regmap = syscon_node_to_regmap(np->parent);
 	if (IS_ERR(ilp->regmap)) {
 		err = PTR_ERR(ilp->regmap);
 		goto err_free_ilp;
drivers/clk/imx/clk-imx7d.c +2 -2
index 3f6fd7ef2a68..0e68e5f2d7e7 100644
@@ -498,9 +498,9 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
 	hws[IMX7D_ENET_AXI_ROOT_SRC] = imx_clk_hw_mux2_flags("enet_axi_src", base + 0x8900, 24, 3, enet_axi_sel, ARRAY_SIZE(enet_axi_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_NAND_USDHC_BUS_ROOT_SRC] = imx_clk_hw_mux2_flags("nand_usdhc_src", base + 0x8980, 24, 3, nand_usdhc_bus_sel, ARRAY_SIZE(nand_usdhc_bus_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_DRAM_PHYM_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_phym_src", base + 0x9800, 24, 1, dram_phym_sel, ARRAY_SIZE(dram_phym_sel), CLK_SET_PARENT_GATE);
-	hws[IMX7D_DRAM_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_src", base + 0x9880, 24, 1, dram_sel, ARRAY_SIZE(dram_sel), CLK_SET_PARENT_GATE);
+	hws[IMX7D_DRAM_ROOT_SRC] = imx_clk_hw_mux2("dram_src", base + 0x9880, 24, 1, dram_sel, ARRAY_SIZE(dram_sel));
 	hws[IMX7D_DRAM_PHYM_ALT_ROOT_SRC] = imx_clk_hw_mux2_flags("dram_phym_alt_src", base + 0xa000, 24, 3, dram_phym_alt_sel, ARRAY_SIZE(dram_phym_alt_sel), CLK_SET_PARENT_GATE);
-	hws[IMX7D_DRAM_ALT_ROOT_SRC]  = imx_clk_hw_mux2_flags("dram_alt_src", base + 0xa080, 24, 3, dram_alt_sel, ARRAY_SIZE(dram_alt_sel), CLK_SET_PARENT_GATE);
+	hws[IMX7D_DRAM_ALT_ROOT_SRC]  = imx_clk_hw_mux2("dram_alt_src", base + 0xa080, 24, 3, dram_alt_sel, ARRAY_SIZE(dram_alt_sel));
 	hws[IMX7D_USB_HSIC_ROOT_SRC] = imx_clk_hw_mux2_flags("usb_hsic_src", base + 0xa100, 24, 3, usb_hsic_sel, ARRAY_SIZE(usb_hsic_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_PCIE_CTRL_ROOT_SRC] = imx_clk_hw_mux2_flags("pcie_ctrl_src", base + 0xa180, 24, 3, pcie_ctrl_sel, ARRAY_SIZE(pcie_ctrl_sel), CLK_SET_PARENT_GATE);
 	hws[IMX7D_PCIE_PHY_ROOT_SRC] = imx_clk_hw_mux2_flags("pcie_phy_src", base + 0xa200, 24, 3, pcie_phy_sel, ARRAY_SIZE(pcie_phy_sel), CLK_SET_PARENT_GATE);
drivers/clk/imx/clk-imx8mp.c +2 -2
index 148572852e70..56d45caa603f 100644
@@ -579,8 +579,8 @@ static int imx8mp_clocks_probe(struct platform_device *pdev)
 	hws[IMX8MP_CLK_IPG_ROOT] = imx_clk_hw_divider2("ipg_root", "ahb_root", ccm_base + 0x9080, 0, 1);
 	hws[IMX8MP_CLK_IPG_AUDIO_ROOT] = imx_clk_hw_divider2("ipg_audio_root", "audio_ahb", ccm_base + 0x9180, 0, 1);
 
-	hws[IMX8MP_CLK_DRAM_ALT] = imx8m_clk_hw_composite("dram_alt", imx8mp_dram_alt_sels, ccm_base + 0xa000);
-	hws[IMX8MP_CLK_DRAM_APB] = imx8m_clk_hw_composite_critical("dram_apb", imx8mp_dram_apb_sels, ccm_base + 0xa080);
+	hws[IMX8MP_CLK_DRAM_ALT] = imx8m_clk_hw_fw_managed_composite("dram_alt", imx8mp_dram_alt_sels, ccm_base + 0xa000);
+	hws[IMX8MP_CLK_DRAM_APB] = imx8m_clk_hw_fw_managed_composite_critical("dram_apb", imx8mp_dram_apb_sels, ccm_base + 0xa080);
 	hws[IMX8MP_CLK_VPU_G1] = imx8m_clk_hw_composite("vpu_g1", imx8mp_vpu_g1_sels, ccm_base + 0xa100);
 	hws[IMX8MP_CLK_VPU_G2] = imx8m_clk_hw_composite("vpu_g2", imx8mp_vpu_g2_sels, ccm_base + 0xa180);
 	hws[IMX8MP_CLK_CAN1] = imx8m_clk_hw_composite("can1", imx8mp_can1_sels, ccm_base + 0xa200);
drivers/clk/qcom/clk-rpmh.c +2 -0
index e2c669b08aff..6c7cce8e82f7 100644
@@ -270,6 +270,8 @@ static int clk_rpmh_bcm_send_cmd(struct clk_rpmh *c, bool enable)
 		cmd_state = 0;
 	}
 
+	cmd_state = min(cmd_state, BCM_TCS_CMD_VOTE_MASK);
+
 	if (c->last_sent_aggr_state != cmd_state) {
 		cmd.addr = c->res_addr;
 		cmd.data = BCM_TCS_CMD(1, enable, 0, cmd_state);
drivers/clk/qcom/dispcc-sm8250.c +3 -0
index 07a98d3f882d..bbdd27946bf1 100644
@@ -665,6 +665,7 @@ static struct clk_branch disp_cc_mdss_dp_link1_intf_clk = {
 				.hw = &disp_cc_mdss_dp_link1_div_clk_src.clkr.hw,
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},
@@ -700,6 +701,7 @@ static struct clk_branch disp_cc_mdss_dp_link_intf_clk = {
 				.hw = &disp_cc_mdss_dp_link_div_clk_src.clkr.hw,
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},
@@ -825,6 +827,7 @@ static struct clk_branch disp_cc_mdss_mdp_lut_clk = {
 				.hw = &disp_cc_mdss_mdp_clk_src.clkr.hw,
 			},
 			.num_parents = 1,
+			.flags = CLK_SET_RATE_PARENT,
 			.ops = &clk_branch2_ops,
 		},
 	},
drivers/clk/qcom/gcc-sm8250.c +3 -3
index 70723e4dab00..4b36f83fb31b 100644
@@ -3229,7 +3229,7 @@ static struct gdsc pcie_0_gdsc = {
 	.pd = {
 		.name = "pcie_0_gdsc",
 	},
-	.pwrsts = PWRSTS_OFF_ON,
+	.pwrsts = PWRSTS_RET_ON,
 };
 
 static struct gdsc pcie_1_gdsc = {
@@ -3237,7 +3237,7 @@ static struct gdsc pcie_1_gdsc = {
 	.pd = {
 		.name = "pcie_1_gdsc",
 	},
-	.pwrsts = PWRSTS_OFF_ON,
+	.pwrsts = PWRSTS_RET_ON,
 };
 
 static struct gdsc pcie_2_gdsc = {
@@ -3245,7 +3245,7 @@ static struct gdsc pcie_2_gdsc = {
 	.pd = {
 		.name = "pcie_2_gdsc",
 	},
-	.pwrsts = PWRSTS_OFF_ON,
+	.pwrsts = PWRSTS_RET_ON,
 };
 
 static struct gdsc ufs_card_gdsc = {
drivers/clk/rockchip/clk-rk3228.c +1 -1
index 47d6482dda9d..a2b4d5487514 100644
@@ -408,7 +408,7 @@ static struct rockchip_clk_branch rk3228_clk_branches[] __initdata = {
 			RK2928_CLKSEL_CON(29), 0, 3, DFLAGS),
 	DIV(0, "sclk_vop_pre", "sclk_vop_src", 0,
 			RK2928_CLKSEL_CON(27), 8, 8, DFLAGS),
-	MUX(DCLK_VOP, "dclk_vop", mux_dclk_vop_p, 0,
+	MUX(DCLK_VOP, "dclk_vop", mux_dclk_vop_p, CLK_SET_RATE_PARENT | CLK_SET_RATE_NO_REPARENT,
 			RK2928_CLKSEL_CON(27), 1, 1, MFLAGS),
 
 	FACTOR(0, "xin12m", "xin24m", 0, 1, 2),
drivers/clk/rockchip/clk.c +2 -1
index b443169dd408..09683c97e6cc 100644
@@ -442,12 +442,13 @@ void rockchip_clk_register_branches(struct rockchip_clk_provider *ctx,
 				    struct rockchip_clk_branch *list,
 				    unsigned int nr_clk)
 {
-	struct clk *clk = NULL;
+	struct clk *clk;
 	unsigned int idx;
 	unsigned long flags;
 
 	for (idx = 0; idx < nr_clk; idx++, list++) {
 		flags = list->flags;
+		clk = NULL;
 
 		/* catch simple muxes */
 		switch (list->branch_type) {
drivers/clk/ti/clk-dra7-atl.c +1 -0
index 62508e74a47a..fc266c0ab629 100644
@@ -258,6 +258,7 @@ static int of_dra7_atl_clk_probe(struct platform_device *pdev)
 		}
 
 		clk = of_clk_get_from_provider(&clkspec);
+		of_node_put(clkspec.np);
 		if (IS_ERR(clk)) {
 			pr_err("%s: failed to get atl clock %d from provider\n",
 			       __func__, i);
drivers/clocksource/timer-qcom.c +6 -1
index b4afe3a67583..eac4c95c6127 100644
@@ -233,6 +233,7 @@ static int __init msm_dt_timer_init(struct device_node *np)
 	}
 
 	if (of_property_read_u32(np, "clock-frequency", &freq)) {
+		iounmap(cpu0_base);
 		pr_err("Unknown frequency\n");
 		return -EINVAL;
 	}
@@ -243,7 +244,11 @@ static int __init msm_dt_timer_init(struct device_node *np)
 	freq /= 4;
 	writel_relaxed(DGT_CLK_CTL_DIV_4, source_base + DGT_CLK_CTL);
 
-	return msm_timer_init(freq, 32, irq, !!percpu_offset);
+	ret = msm_timer_init(freq, 32, irq, !!percpu_offset);
+	if (ret)
+		iounmap(cpu0_base);
+
+	return ret;
 }
 TIMER_OF_DECLARE(kpss_timer, "qcom,kpss-timer", msm_dt_timer_init);
 TIMER_OF_DECLARE(scss_timer, "qcom,scss-timer", msm_dt_timer_init);
drivers/cpufreq/ti-cpufreq.c +8 -2
index 8f9fdd864391..0d100f869ae1 100644
@@ -53,6 +53,9 @@ struct ti_cpufreq_soc_data {
 	unsigned long efuse_shift;
 	unsigned long rev_offset;
 	bool multi_regulator;
+/* Backward compatibility hack: Might have missing syscon */
+#define TI_QUIRK_SYSCON_MAY_BE_MISSING	0x1
+	u8 quirks;
 };
 
 struct ti_cpufreq_data {
@@ -156,6 +159,7 @@ static struct ti_cpufreq_soc_data omap34xx_soc_data = {
 	.efuse_mask = BIT(3),
 	.rev_offset = OMAP3_CONTROL_IDCODE - OMAP3_SYSCON_BASE,
 	.multi_regulator = false,
+	.quirks = TI_QUIRK_SYSCON_MAY_BE_MISSING,
 };
 
 /*
@@ -183,6 +187,7 @@ static struct ti_cpufreq_soc_data omap36xx_soc_data = {
 	.efuse_mask = BIT(9),
 	.rev_offset = OMAP3_CONTROL_IDCODE - OMAP3_SYSCON_BASE,
 	.multi_regulator = true,
+	.quirks = TI_QUIRK_SYSCON_MAY_BE_MISSING,
 };
 
 /*
@@ -197,6 +202,7 @@ static struct ti_cpufreq_soc_data am3517_soc_data = {
 	.efuse_mask = 0,
 	.rev_offset = OMAP3_CONTROL_IDCODE - OMAP3_SYSCON_BASE,
 	.multi_regulator = false,
+	.quirks = TI_QUIRK_SYSCON_MAY_BE_MISSING,
 };
 
 
@@ -216,7 +222,7 @@ static int ti_cpufreq_get_efuse(struct ti_cpufreq_data *opp_data,
 
 	ret = regmap_read(opp_data->syscon, opp_data->soc_data->efuse_offset,
 			  &efuse);
-	if (ret == -EIO) {
+	if (opp_data->soc_data->quirks & TI_QUIRK_SYSCON_MAY_BE_MISSING && ret == -EIO) {
 		/* not a syscon register! */
 		void __iomem *regs = ioremap(OMAP3_SYSCON_BASE +
 				opp_data->soc_data->efuse_offset, 4);
@@ -257,7 +263,7 @@ static int ti_cpufreq_get_rev(struct ti_cpufreq_data *opp_data,
 
 	ret = regmap_read(opp_data->syscon, opp_data->soc_data->rev_offset,
 			  &revision);
-	if (ret == -EIO) {
+	if (opp_data->soc_data->quirks & TI_QUIRK_SYSCON_MAY_BE_MISSING && ret == -EIO) {
 		/* not a syscon register! */
 		void __iomem *regs = ioremap(OMAP3_SYSCON_BASE +
 				opp_data->soc_data->rev_offset, 4);
drivers/crypto/ccp/sev-dev.c +2 -0
index 055cbb2ad75e..b6bba46b330f 100644
@@ -1129,6 +1129,8 @@ void sev_pci_init(void)
 	return;
 
 err:
+	sev_dev_destroy(psp_master);
+
 	psp_master->sev_data = NULL;
 }
 
drivers/dma-buf/heaps/heap-helpers.c +1 -1
index d0696cf937af..a852b5e8122f 100644
@@ -161,7 +161,7 @@ static vm_fault_t dma_heap_vm_fault(struct vm_fault *vmf)
 	struct vm_area_struct *vma = vmf->vma;
 	struct heap_helper_buffer *buffer = vma->vm_private_data;
 
-	if (vmf->pgoff > buffer->pagecount)
+	if (vmf->pgoff >= buffer->pagecount)
 		return VM_FAULT_SIGBUS;
 
 	vmf->page = buffer->pages[vmf->pgoff];
drivers/firmware/efi/libstub/tpm.c +1 -1
index 7acbac16eae0..95da291c3083 100644
@@ -115,7 +115,7 @@ void efi_retrieve_tpm2_eventlog(void)
 	}
 
 	/* Allocate space for the logs and copy them. */
-	status = efi_bs_call(allocate_pool, EFI_LOADER_DATA,
+	status = efi_bs_call(allocate_pool, EFI_ACPI_RECLAIM_MEMORY,
 			     sizeof(*log_tbl) + log_size, (void **)&log_tbl);
 
 	if (status != EFI_SUCCESS) {
drivers/firmware/tegra/bpmp.c +0 -6
index 5654c5e9862b..ff9a73585cdc 100644
@@ -25,12 +25,6 @@
 #define MSG_RING	BIT(1)
 #define TAG_SZ		32
 
-static inline struct tegra_bpmp *
-mbox_client_to_bpmp(struct mbox_client *client)
-{
-	return container_of(client, struct tegra_bpmp, mbox.client);
-}
-
 static inline const struct tegra_bpmp_ops *
 channel_to_ops(struct tegra_bpmp_channel *channel)
 {
drivers/gpio/gpio-aspeed.c +3 -1
index bbd04a63fb12..a70c499c2a19 100644
@@ -404,6 +404,8 @@ static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
 	gpio->dcache[GPIO_BANK(offset)] = reg;
 
 	iowrite32(reg, addr);
+	/* Flush write */
+	ioread32(addr);
 }
 
 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset,
@@ -1157,7 +1159,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
 	if (!gpio_id)
 		return -EINVAL;
 
-	gpio->clk = of_clk_get(pdev->dev.of_node, 0);
+	gpio->clk = devm_clk_get_enabled(&pdev->dev, NULL);
 	if (IS_ERR(gpio->clk)) {
 		dev_warn(&pdev->dev,
 				"Failed to get clock from devicetree, debouncing disabled\n");
drivers/gpio/gpio-davinci.c +4 -4
index 33623bcfc886..62ad1d818a31 100644
@@ -293,7 +293,7 @@ static int davinci_gpio_probe(struct platform_device *pdev)
  * serve as EDMA event triggers.
  */
 
-static void gpio_irq_disable(struct irq_data *d)
+static void gpio_irq_mask(struct irq_data *d)
 {
 	struct davinci_gpio_regs __iomem *g = irq2regs(d);
 	uintptr_t mask = (uintptr_t)irq_data_get_irq_handler_data(d);
@@ -302,7 +302,7 @@ static void gpio_irq_disable(struct irq_data *d)
 	writel_relaxed(mask, &g->clr_rising);
 }
 
-static void gpio_irq_enable(struct irq_data *d)
+static void gpio_irq_unmask(struct irq_data *d)
 {
 	struct davinci_gpio_regs __iomem *g = irq2regs(d);
 	uintptr_t mask = (uintptr_t)irq_data_get_irq_handler_data(d);
@@ -328,8 +328,8 @@ static int gpio_irq_type(struct irq_data *d, unsigned trigger)
 
 static struct irq_chip gpio_irqchip = {
 	.name		= "GPIO",
-	.irq_enable	= gpio_irq_enable,
-	.irq_disable	= gpio_irq_disable,
+	.irq_unmask	= gpio_irq_unmask,
+	.irq_mask	= gpio_irq_mask,
 	.irq_set_type	= gpio_irq_type,
 	.flags		= IRQCHIP_SET_TYPE_MASKED | IRQCHIP_SKIP_SET_WAKE,
 };
drivers/gpio/gpiolib-cdev.c +8 -5
index 95861916deff..56eb2be71e25 100644
@@ -1110,15 +1110,18 @@ static long linereq_set_config_unlocked(struct linereq *lr,
 	for (i = 0; i < lr->num_lines; i++) {
 		desc = lr->lines[i].desc;
 		flags = gpio_v2_line_config_flags(lc, i);
+		/*
+		 * Lines not explicitly reconfigured as input or output
+		 * are left unchanged.
+		 */
+		if (!(flags & GPIO_V2_LINE_DIRECTION_FLAGS))
+			continue;
+
 		polarity_change =
 			(!!test_bit(FLAG_ACTIVE_LOW, &desc->flags) !=
 			 ((flags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) != 0));
 
 		gpio_v2_line_config_flags_to_desc_flags(flags, &desc->flags);
-		/*
-		 * Lines have to be requested explicitly for input
-		 * or output, else the line will be treated "as is".
-		 */
 		if (flags & GPIO_V2_LINE_FLAG_OUTPUT) {
 			int val = gpio_v2_line_config_output_value(lc, i);
 
@@ -1126,7 +1129,7 @@ static long linereq_set_config_unlocked(struct linereq *lr,
 			ret = gpiod_direction_output(desc, val);
 			if (ret)
 				return ret;
-		} else if (flags & GPIO_V2_LINE_FLAG_INPUT) {
+		} else {
 			ret = gpiod_direction_input(desc);
 			if (ret)
 				return ret;
drivers/gpio/gpiolib.c +2 -1
index 374bb9f43266..4f35cc93e57b 100644
@@ -4,6 +4,7 @@
 #include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/irq.h>
+#include <linux/nospec.h>
 #include <linux/spinlock.h>
 #include <linux/list.h>
 #include <linux/device.h>
@@ -143,7 +144,7 @@ struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc,
 	if (hwnum >= gdev->ngpio)
 		return ERR_PTR(-EINVAL);
 
-	return &gdev->descs[hwnum];
+	return &gdev->descs[array_index_nospec(hwnum, gdev->ngpio)];
 }
 EXPORT_SYMBOL_GPL(gpiochip_get_desc);
 
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c +16 -10
index 8339c8c3a328..9030f7151171 100644
@@ -2098,23 +2098,29 @@ amdgpu_atombios_encoder_get_lcd_info(struct amdgpu_encoder *encoder)
 					fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record;
 					if (fake_edid_record->ucFakeEDIDLength) {
 						struct edid *edid;
-						int edid_size =
-							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
-						edid = kmalloc(edid_size, GFP_KERNEL);
+						int edid_size;
+
+						if (fake_edid_record->ucFakeEDIDLength == 128)
+							edid_size = fake_edid_record->ucFakeEDIDLength;
+						else
+							edid_size = fake_edid_record->ucFakeEDIDLength * 128;
+						edid = kmemdup(&fake_edid_record->ucFakeEDIDString[0],
+							       edid_size, GFP_KERNEL);
 						if (edid) {
-							memcpy((u8 *)edid, (u8 *)&fake_edid_record->ucFakeEDIDString[0],
-							       fake_edid_record->ucFakeEDIDLength);
-
 							if (drm_edid_is_valid(edid)) {
 								adev->mode_info.bios_hardcoded_edid = edid;
 								adev->mode_info.bios_hardcoded_edid_size = edid_size;
-							} else
+							} else {
 								kfree(edid);
+							}
 						}
+						record += struct_size(fake_edid_record,
+								      ucFakeEDIDString,
+								      edid_size);
+					} else {
+						/* empty fake edid record must be 3 bytes long */
+						record += sizeof(ATOM_FAKE_EDID_PATCH_RECORD) + 1;
 					}
-					record += fake_edid_record->ucFakeEDIDLength ?
-						fake_edid_record->ucFakeEDIDLength + 2 :
-						sizeof(ATOM_FAKE_EDID_PATCH_RECORD);
 					break;
 				case LCD_PANEL_RESOLUTION_RECORD_TYPE:
 					panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record;
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +4 -0
index acef2227d992..432c24f3c798 100644
@@ -1250,6 +1250,10 @@ static const struct amdgpu_gfxoff_quirk amdgpu_gfxoff_quirk_list[] = {
 	{ 0x1002, 0x15dd, 0x1002, 0x15dd, 0xc6 },
 	/* Apple MacBook Pro (15-inch, 2019) Radeon Pro Vega 20 4 GB */
 	{ 0x1002, 0x69af, 0x106b, 0x019a, 0xc0 },
+	/* https://bbs.openkylin.top/t/topic/171497 */
+	{ 0x1002, 0x15d8, 0x19e5, 0x3e14, 0xc2 },
+	/* HP 705G4 DM with R5 2400G */
+	{ 0x1002, 0x15dd, 0x103c, 0x8464, 0xd6 },
 	{ 0, 0, 0, 0, 0 },
 };
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +1 -1
index 767b3d31c720..509c5556692a 100644
@@ -201,7 +201,7 @@ static bool validate_dsc_caps_on_connector(struct amdgpu_dm_connector *aconnecto
 		aconnector->dsc_aux = &aconnector->mst_port->dm_dp_aux.aux;
 
 	/* synaptics cascaded MST hub case */
-	if (!aconnector->dsc_aux && is_synaptics_cascaded_panamera(aconnector->dc_link, port))
+	if (is_synaptics_cascaded_panamera(aconnector->dc_link, port))
 		aconnector->dsc_aux = port->mgr->aux;
 
 	if (!aconnector->dsc_aux)
drivers/gpu/drm/amd/display/dc/core/dc.c +5 -3
index 272252cd0500..84fb1377ec93 100644
@@ -1258,7 +1258,7 @@ bool dc_validate_seamless_boot_timing(const struct dc *dc,
 		if (crtc_timing->pix_clk_100hz != pix_clk_100hz)
 			return false;
 
-		if (!se->funcs->dp_get_pixel_format)
+		if (!se || !se->funcs->dp_get_pixel_format)
 			return false;
 
 		if (!se->funcs->dp_get_pixel_format(
@@ -2614,7 +2614,8 @@ static void commit_planes_for_stream(struct dc *dc,
 		dc->hwss.pipe_control_lock(dc, top_pipe_to_program, false);
 
 	if ((update_type != UPDATE_TYPE_FAST) && stream->update_flags.bits.dsc_changed)
-		if (top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) {
+		if (top_pipe_to_program &&
+		    top_pipe_to_program->stream_res.tg->funcs->lock_doublebuffer_enable) {
 			top_pipe_to_program->stream_res.tg->funcs->wait_for_state(
 					top_pipe_to_program->stream_res.tg,
 					CRTC_STATE_VACTIVE);
@@ -3082,7 +3083,8 @@ void dc_allow_idle_optimizations(struct dc *dc, bool allow)
 	if (allow == dc->idle_optimizations_allowed)
 		return;
 
-	if (dc->hwss.apply_idle_power_optimizations && dc->hwss.apply_idle_power_optimizations(dc, allow))
+	if (dc->hwss.apply_idle_power_optimizations && dc->clk_mgr != NULL &&
+	    dc->hwss.apply_idle_power_optimizations(dc, allow))
 		dc->idle_optimizations_allowed = allow;
 }
 
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +2 -0
index 0a13c06eea44..3af9591baa76 100644
@@ -1697,6 +1697,8 @@ static bool are_stream_backends_same(
 bool dc_is_stream_unchanged(
 	struct dc_stream_state *old_stream, struct dc_stream_state *stream)
 {
+	if (!old_stream || !stream)
+		return false;
 
 	if (!are_stream_backends_same(old_stream, stream))
 		return false;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c +2 -0
index bd9bc51983fe..da7aeb9c4632 100644
@@ -560,6 +560,8 @@ bool cm_helper_translate_curve_to_degamma_hw_format(
 				i += increment) {
 			if (j == hw_points - 1)
 				break;
+			if (i >= TRANSFER_FUNC_POINTS)
+				return false;
 			rgb_resulted[j].red = output_tf->tf_pts.red[i];
 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
 			rgb_resulted[j].blue = output_tf->tf_pts.blue[i];
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c +4 -0
index e0df9b0065f9..62c02adae7e7 100644
@@ -178,6 +178,8 @@ bool cm3_helper_translate_curve_to_hw_format(
 				i += increment) {
 			if (j == hw_points - 1)
 				break;
+			if (i >= TRANSFER_FUNC_POINTS)
+				return false;
 			rgb_resulted[j].red = output_tf->tf_pts.red[i];
 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
 			rgb_resulted[j].blue = output_tf->tf_pts.blue[i];
@@ -355,6 +357,8 @@ bool cm3_helper_translate_curve_to_degamma_hw_format(
 				i += increment) {
 			if (j == hw_points - 1)
 				break;
+			if (i >= TRANSFER_FUNC_POINTS)
+				return false;
 			rgb_resulted[j].red = output_tf->tf_pts.red[i];
 			rgb_resulted[j].green = output_tf->tf_pts.green[i];
 			rgb_resulted[j].blue = output_tf->tf_pts.blue[i];
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c +1 -1
index 6a6d5970d1d5..0388694572f5 100644
@@ -78,7 +78,7 @@ static void calculate_ttu_cursor(struct display_mode_lib *mode_lib,
 
 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma)
 {
-	unsigned int ret_val = 0;
+	unsigned int ret_val = 1;
 
 	if (source_format == dm_444_16) {
 		if (!is_chroma)
drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c +1 -1
index dc1c81a6e377..8593fd07116a 100644
@@ -53,7 +53,7 @@ static void calculate_ttu_cursor(
 
 static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma)
 {
-	unsigned int ret_val = 0;
+	unsigned int ret_val = 1;
 
 	if (source_format == dm_444_16) {
 		if (!is_chroma)
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +1 -1
index 627d578175cf..6725ce27662c 100644
@@ -131,7 +131,7 @@ static unsigned int calc_v_total_from_refresh(
 
 	v_total = div64_u64(div64_u64(((unsigned long long)(
 			frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)),
-			stream->timing.h_total), 1000000);
+			stream->timing.h_total) + 500000, 1000000);
 
 	/* v_total cannot be less than nominal */
 	if (v_total < stream->timing.v_total) {
drivers/gpu/drm/amd/include/atombios.h +1 -1
index 8ba21747b40a..c9f70accd46d 100644
@@ -4107,7 +4107,7 @@ typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
   UCHAR ucFakeEDIDLength;       // = 128 means EDID length is 128 bytes, otherwise the EDID length = ucFakeEDIDLength*128
-  UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
+  UCHAR ucFakeEDIDString[];     // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
 typedef struct  _ATOM_PANEL_RESOLUTION_PATCH_RECORD
drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c +2 -0
index 6606511891e3..04bf14cdefad 100644
@@ -1189,6 +1189,8 @@ static int init_overdrive_limits(struct pp_hwmgr *hwmgr,
 	fw_info = smu_atom_get_data_table(hwmgr->adev,
 			 GetIndexIntoMasterTable(DATA, FirmwareInfo),
 			 &size, &frev, &crev);
+	PP_ASSERT_WITH_CODE(fw_info != NULL,
+			    "Missing firmware info!", return -EINVAL);
 
 	if ((fw_info->ucTableFormatRevision == 1)
 	    && (le16_to_cpu(fw_info->usStructureSize) >= sizeof(ATOM_FIRMWARE_INFO_V1_4)))
drivers/gpu/drm/arm/display/komeda/komeda_kms.c +7 -3
index 1f6682032ca4..ac8b7fb20d8f 100644
@@ -142,6 +142,7 @@ static int komeda_crtc_normalize_zpos(struct drm_crtc *crtc,
 	struct drm_plane *plane;
 	struct list_head zorder_list;
 	int order = 0, err;
+	u32 slave_zpos = 0;
 
 	DRM_DEBUG_ATOMIC("[CRTC:%d:%s] calculating normalized zpos values\n",
 			 crtc->base.id, crtc->name);
@@ -181,10 +182,13 @@ static int komeda_crtc_normalize_zpos(struct drm_crtc *crtc,
 				 plane_st->zpos, plane_st->normalized_zpos);
 
 		/* calculate max slave zorder */
-		if (has_bit(drm_plane_index(plane), kcrtc->slave_planes))
+		if (has_bit(drm_plane_index(plane), kcrtc->slave_planes)) {
+			slave_zpos = plane_st->normalized_zpos;
+			if (to_kplane_st(plane_st)->layer_split)
+				slave_zpos++;
 			kcrtc_st->max_slave_zorder =
-				max(plane_st->normalized_zpos,
-				    kcrtc_st->max_slave_zorder);
+				max(slave_zpos, kcrtc_st->max_slave_zorder);
+		}
 	}
 
 	crtc_st->zpos_changed = true;
drivers/gpu/drm/drm_atomic_uapi.c +1 -1
index b6062833370f..f6d8bee10fa0 100644
@@ -584,7 +584,7 @@ static int drm_atomic_plane_set_property(struct drm_plane *plane,
 					&state->fb_damage_clips,
 					val,
 					-1,
-					sizeof(struct drm_rect),
+					sizeof(struct drm_mode_rect),
 					&replaced);
 		return ret;
 	} else if (plane->funcs->atomic_set_property) {
drivers/gpu/drm/drm_crtc.c +1 -0
index 4ed3fc28d4da..5d2cbff02df1 100644
@@ -754,6 +754,7 @@ int drm_mode_setcrtc(struct drm_device *dev, void *data,
 	connector_set = NULL;
 	fb = NULL;
 	mode = NULL;
+	num_connectors = 0;
 
 	DRM_MODESET_LOCK_ALL_END(dev, ctx, ret);
 
drivers/gpu/drm/drm_print.c +8 -5
index 111b932cf2a9..02fdf001b047 100644
@@ -78,8 +78,9 @@ void __drm_puts_coredump(struct drm_printer *p, const char *str)
 			copy = iterator->remain;
 
 		/* Copy out the bit of the string that we need */
-		memcpy(iterator->data,
-			str + (iterator->start - iterator->offset), copy);
+		if (iterator->data)
+			memcpy(iterator->data,
+			       str + (iterator->start - iterator->offset), copy);
 
 		iterator->offset = iterator->start + copy;
 		iterator->remain -= copy;
@@ -88,7 +89,8 @@ void __drm_puts_coredump(struct drm_printer *p, const char *str)
 
 		len = min_t(ssize_t, strlen(str), iterator->remain);
 
-		memcpy(iterator->data + pos, str, len);
+		if (iterator->data)
+			memcpy(iterator->data + pos, str, len);
 
 		iterator->offset += len;
 		iterator->remain -= len;
@@ -118,8 +120,9 @@ void __drm_printfn_coredump(struct drm_printer *p, struct va_format *vaf)
 	if ((iterator->offset >= iterator->start) && (len < iterator->remain)) {
 		ssize_t pos = iterator->offset - iterator->start;
 
-		snprintf(((char *) iterator->data) + pos,
-			iterator->remain, "%pV", vaf);
+		if (iterator->data)
+			snprintf(((char *) iterator->data) + pos,
+				 iterator->remain, "%pV", vaf);
 
 		iterator->offset += len;
 		iterator->remain -= len;
drivers/gpu/drm/exynos/exynos_drm_gsc.c +1 -1
index bcf830c5b8ea..1bc2afcf9f08 100644
@@ -1169,7 +1169,7 @@ static int gsc_bind(struct device *dev, struct device *master, void *data)
 	struct exynos_drm_ipp *ipp = &ctx->ipp;
 
 	ctx->drm_dev = drm_dev;
-	ctx->drm_dev = drm_dev;
+	ipp->drm_dev = drm_dev;
 	exynos_drm_register_dma(drm_dev, dev, &ctx->dma_priv);
 
 	exynos_drm_ipp_register(dev, ipp, &ipp_funcs,
drivers/gpu/drm/msm/adreno/a2xx_gpu.c +1 -2
index 64ee63dcdb7c..caa791eb746f 100644
@@ -12,7 +12,6 @@ static bool a2xx_idle(struct msm_gpu *gpu);
 
 static void a2xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
-	struct msm_drm_private *priv = gpu->dev->dev_private;
 	struct msm_ringbuffer *ring = submit->ring;
 	unsigned int i;
 
@@ -23,7 +22,7 @@ static void a2xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
 			/* ignore if there has not been a ctx switch: */
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
drivers/gpu/drm/msm/adreno/a3xx_gpu.c +1 -2
index f29c77d9cd42..7e5d0afa05db 100644
@@ -30,7 +30,6 @@ static bool a3xx_idle(struct msm_gpu *gpu);
 
 static void a3xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
-	struct msm_drm_private *priv = gpu->dev->dev_private;
 	struct msm_ringbuffer *ring = submit->ring;
 	unsigned int i;
 
@@ -41,7 +40,7 @@ static void a3xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
 			/* ignore if there has not been a ctx switch: */
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
drivers/gpu/drm/msm/adreno/a4xx_gpu.c +1 -2
index 2b93b33b05e4..f6d22fba9c1b 100644
@@ -24,7 +24,6 @@ static bool a4xx_idle(struct msm_gpu *gpu);
 
 static void a4xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
-	struct msm_drm_private *priv = gpu->dev->dev_private;
 	struct msm_ringbuffer *ring = submit->ring;
 	unsigned int i;
 
@@ -35,7 +34,7 @@ static void a4xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
 			/* ignore if there has not been a ctx switch: */
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
drivers/gpu/drm/msm/adreno/a5xx_gpu.c +13 -7
index 9ae0e60ecac3..e0cf42323cf9 100644
@@ -56,7 +56,8 @@ void a5xx_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring,
 
 static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
-	struct msm_drm_private *priv = gpu->dev->dev_private;
+	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
+	struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu);
 	struct msm_ringbuffer *ring = submit->ring;
 	struct msm_gem_object *obj;
 	uint32_t *ptr, dwords;
@@ -67,7 +68,7 @@ static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit
 		case MSM_SUBMIT_CMD_IB_TARGET_BUF:
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
@@ -101,6 +102,7 @@ static void a5xx_submit_in_rb(struct msm_gpu *gpu, struct msm_gem_submit *submit
 		}
 	}
 
+	a5xx_gpu->last_seqno[ring->id] = submit->seqno;
 	a5xx_flush(gpu, ring, true);
 	a5xx_preempt_trigger(gpu);
 
@@ -117,12 +119,11 @@ static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
 	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
 	struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu);
-	struct msm_drm_private *priv = gpu->dev->dev_private;
 	struct msm_ringbuffer *ring = submit->ring;
 	unsigned int i, ibs = 0;
 
 	if (IS_ENABLED(CONFIG_DRM_MSM_GPU_SUDO) && submit->in_rb) {
-		priv->lastctx = NULL;
+		gpu->cur_ctx_seqno = 0;
 		a5xx_submit_in_rb(gpu, submit);
 		return;
 	}
@@ -143,9 +144,13 @@ static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 	OUT_PKT7(ring, CP_SET_PROTECTED_MODE, 1);
 	OUT_RING(ring, 1);
 
-	/* Enable local preemption for finegrain preemption */
+	/*
+	 * Disable local preemption by default because it requires
+	 * user-space to be aware of it and provide additional handling
+	 * to restore rendering state or do various flushes on switch.
+	 */
 	OUT_PKT7(ring, CP_PREEMPT_ENABLE_LOCAL, 1);
-	OUT_RING(ring, 0x1);
+	OUT_RING(ring, 0x0);
 
 	/* Allow CP_CONTEXT_SWITCH_YIELD packets in the IB2 */
 	OUT_PKT7(ring, CP_YIELD_ENABLE, 1);
@@ -157,7 +162,7 @@ static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 		case MSM_SUBMIT_CMD_IB_TARGET_BUF:
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
@@ -189,6 +194,7 @@ static void a5xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 	/* Write the fence to the scratch register */
 	OUT_PKT4(ring, REG_A5XX_CP_SCRATCH_REG(2), 1);
 	OUT_RING(ring, submit->seqno);
+	a5xx_gpu->last_seqno[ring->id] = submit->seqno;
 
 	/*
 	 * Execute a CACHE_FLUSH_TS event. This will ensure that the
drivers/gpu/drm/msm/adreno/a5xx_gpu.h +2 -0
index c7187bcc5e90..9c0d701fe4b8 100644
@@ -34,8 +34,10 @@ struct a5xx_gpu {
 	struct drm_gem_object *preempt_counters_bo[MSM_GPU_MAX_RINGS];
 	struct a5xx_preempt_record *preempt[MSM_GPU_MAX_RINGS];
 	uint64_t preempt_iova[MSM_GPU_MAX_RINGS];
+	uint32_t last_seqno[MSM_GPU_MAX_RINGS];
 
 	atomic_t preempt_state;
+	spinlock_t preempt_start_lock;
 	struct timer_list preempt_timer;
 
 	struct drm_gem_object *shadow_bo;
drivers/gpu/drm/msm/adreno/a5xx_preempt.c +28 -2
index b8e71ad6f8d8..8976c30df1a2 100644
@@ -55,6 +55,8 @@ static inline void update_wptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring)
 /* Return the highest priority ringbuffer with something in it */
 static struct msm_ringbuffer *get_next_ring(struct msm_gpu *gpu)
 {
+	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
+	struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu);
 	unsigned long flags;
 	int i;
 
@@ -64,6 +66,8 @@ static struct msm_ringbuffer *get_next_ring(struct msm_gpu *gpu)
 
 		spin_lock_irqsave(&ring->preempt_lock, flags);
 		empty = (get_wptr(ring) == gpu->funcs->get_rptr(gpu, ring));
+		if (!empty && ring == a5xx_gpu->cur_ring)
+			empty = ring->memptrs->fence == a5xx_gpu->last_seqno[i];
 		spin_unlock_irqrestore(&ring->preempt_lock, flags);
 
 		if (!empty)
@@ -98,12 +102,19 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 	if (gpu->nr_rings == 1)
 		return;
 
+	/*
+	 * Serialize preemption start to ensure that we always make
+	 * decision on latest state. Otherwise we can get stuck in
+	 * lower priority or empty ring.
+	 */
+	spin_lock_irqsave(&a5xx_gpu->preempt_start_lock, flags);
+
 	/*
 	 * Try to start preemption by moving from NONE to START. If
 	 * unsuccessful, a preemption is already in flight
 	 */
 	if (!try_preempt_state(a5xx_gpu, PREEMPT_NONE, PREEMPT_START))
-		return;
+		goto out;
 
 	/* Get the next ring to preempt to */
 	ring = get_next_ring(gpu);
@@ -128,9 +139,11 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 		set_preempt_state(a5xx_gpu, PREEMPT_ABORT);
 		update_wptr(gpu, a5xx_gpu->cur_ring);
 		set_preempt_state(a5xx_gpu, PREEMPT_NONE);
-		return;
+		goto out;
 	}
 
+	spin_unlock_irqrestore(&a5xx_gpu->preempt_start_lock, flags);
+
 	/* Make sure the wptr doesn't update while we're in motion */
 	spin_lock_irqsave(&ring->preempt_lock, flags);
 	a5xx_gpu->preempt[ring->id]->wptr = get_wptr(ring);
@@ -154,6 +167,10 @@ void a5xx_preempt_trigger(struct msm_gpu *gpu)
 
 	/* And actually start the preemption */
 	gpu_write(gpu, REG_A5XX_CP_CONTEXT_SWITCH_CNTL, 1);
+	return;
+
+out:
+	spin_unlock_irqrestore(&a5xx_gpu->preempt_start_lock, flags);
 }
 
 void a5xx_preempt_irq(struct msm_gpu *gpu)
@@ -191,6 +208,12 @@ void a5xx_preempt_irq(struct msm_gpu *gpu)
 	update_wptr(gpu, a5xx_gpu->cur_ring);
 
 	set_preempt_state(a5xx_gpu, PREEMPT_NONE);
+
+	/*
+	 * Try to trigger preemption again in case there was a submit or
+	 * retire during ring switch
+	 */
+	a5xx_preempt_trigger(gpu);
 }
 
 void a5xx_preempt_hw_init(struct msm_gpu *gpu)
@@ -207,6 +230,8 @@ void a5xx_preempt_hw_init(struct msm_gpu *gpu)
 		return;
 
 	for (i = 0; i < gpu->nr_rings; i++) {
+		a5xx_gpu->preempt[i]->data = 0;
+		a5xx_gpu->preempt[i]->info = 0;
 		a5xx_gpu->preempt[i]->wptr = 0;
 		a5xx_gpu->preempt[i]->rptr = 0;
 		a5xx_gpu->preempt[i]->rbase = gpu->rb[i]->iova;
@@ -303,5 +328,6 @@ void a5xx_preempt_init(struct msm_gpu *gpu)
 		}
 	}
 
+	spin_lock_init(&a5xx_gpu->preempt_start_lock);
 	timer_setup(&a5xx_gpu->preempt_timer, a5xx_preempt_timer, 0);
 }
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +3 -6
index 29b40acedb38..a78f47a788f7 100644
@@ -99,7 +99,7 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,
 	u32 asid;
 	u64 memptr = rbmemptr(ring, ttbr0);
 
-	if (ctx->seqno == a6xx_gpu->cur_ctx_seqno)
+	if (ctx->seqno == a6xx_gpu->base.base.cur_ctx_seqno)
 		return;
 
 	if (msm_iommu_pagetable_params(ctx->aspace->mmu, &ttbr, &asid))
@@ -131,14 +131,11 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,
 
 	OUT_PKT7(ring, CP_EVENT_WRITE, 1);
 	OUT_RING(ring, 0x31);
-
-	a6xx_gpu->cur_ctx_seqno = ctx->seqno;
 }
 
 static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 {
 	unsigned int index = submit->seqno % MSM_GPU_SUBMIT_STATS_COUNT;
-	struct msm_drm_private *priv = gpu->dev->dev_private;
 	struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
 	struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
 	struct msm_ringbuffer *ring = submit->ring;
@@ -170,7 +167,7 @@ static void a6xx_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 		case MSM_SUBMIT_CMD_IB_TARGET_BUF:
 			break;
 		case MSM_SUBMIT_CMD_CTX_RESTORE_BUF:
-			if (priv->lastctx == submit->queue->ctx)
+			if (gpu->cur_ctx_seqno == submit->queue->ctx->seqno)
 				break;
 			fallthrough;
 		case MSM_SUBMIT_CMD_BUF:
@@ -887,7 +884,7 @@ static int a6xx_hw_init(struct msm_gpu *gpu)
 	/* Always come up on rb 0 */
 	a6xx_gpu->cur_ring = gpu->rb[0];
 
-	a6xx_gpu->cur_ctx_seqno = 0;
+	gpu->cur_ctx_seqno = 0;
 
 	/* Enable the SQE_to start the CP engine */
 	gpu_write(gpu, REG_A6XX_CP_SQE_CNTL, 1);
drivers/gpu/drm/msm/adreno/a6xx_gpu.h +0 -10
index f923edbd5daa..189daaf77744 100644
@@ -20,16 +20,6 @@ struct a6xx_gpu {
 
 	struct msm_ringbuffer *cur_ring;
 
-	/**
-	 * cur_ctx_seqno:
-	 *
-	 * The ctx->seqno value of the context with current pgtables
-	 * installed.  Tracked by seqno rather than pointer value to
-	 * avoid dangling pointers, and cases where a ctx can be freed
-	 * and a new one created with the same address.
-	 */
-	int cur_ctx_seqno;
-
 	struct a6xx_gmu gmu;
 
 	struct drm_gem_object *shadow_bo;
drivers/gpu/drm/msm/adreno/adreno_gpu.c +2 -2
index 11a6a41b4910..773bd463ad47 100644
@@ -93,7 +93,7 @@ static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname,
 		 * was a bad idea, and is only provided for backwards
 		 * compatibility for older targets.
 		 */
-		return -ENODEV;
+		return -ENOENT;
 	}
 
 	if (IS_ERR(fw)) {
@@ -308,7 +308,7 @@ adreno_request_fw(struct adreno_gpu *adreno_gpu, const char *fwname)
 		ret = request_firmware_direct(&fw, fwname, drm->dev);
 		if (!ret) {
 			DRM_DEV_INFO(drm->dev, "loaded %s from legacy location\n",
-				newname);
+				fwname);
 			adreno_gpu->fwloc = FW_LOCATION_LEGACY;
 			goto out;
 		} else if (adreno_gpu->fwloc != FW_LOCATION_UNKNOWN) {
drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c +1 -1
index d7fa2c49e741..45820ac1a525 100644
@@ -356,7 +356,7 @@ void mdp5_smp_dump(struct mdp5_smp *smp, struct drm_printer *p)
 
 			drm_printf(p, "%s:%d\t%d\t%s\n",
 				pipe2name(pipe), j, inuse,
-				plane ? plane->name : NULL);
+				plane ? plane->name : "(null)");
 
 			total += inuse;
 		}
drivers/gpu/drm/msm/msm_debugfs.c +7 -0
index 7a7ccad65c92..97cbb850ad6d 100644
@@ -113,6 +113,11 @@ static int msm_gem_show(struct drm_device *dev, struct seq_file *m)
 {
 	struct msm_drm_private *priv = dev->dev_private;
 	struct msm_gpu *gpu = priv->gpu;
+	int ret;
+
+	ret = mutex_lock_interruptible(&priv->mm_lock);
+	if (ret)
+		return ret;
 
 	if (gpu) {
 		seq_printf(m, "Active Objects (%s):\n", gpu->name);
@@ -122,6 +127,8 @@ static int msm_gem_show(struct drm_device *dev, struct seq_file *m)
 	seq_printf(m, "Inactive Objects:\n");
 	msm_gem_describe_objects(&priv->inactive_list, m);
 
+	mutex_unlock(&priv->mm_lock);
+
 	return 0;
 }
 
drivers/gpu/drm/msm/msm_drv.c +7 -6
index 087efcb1f34c..d7a7113dcafa 100644
@@ -7,6 +7,7 @@
 
 #include <linux/dma-mapping.h>
 #include <linux/kthread.h>
+#include <linux/sched/mm.h>
 #include <linux/uaccess.h>
 #include <uapi/linux/sched/types.h>
 
@@ -442,6 +443,12 @@ static int msm_drm_init(struct device *dev, struct drm_driver *drv)
 	init_llist_head(&priv->free_list);
 
 	INIT_LIST_HEAD(&priv->inactive_list);
+	mutex_init(&priv->mm_lock);
+
+	/* Teach lockdep about lock ordering wrt. shrinker: */
+	fs_reclaim_acquire(GFP_KERNEL);
+	might_lock(&priv->mm_lock);
+	fs_reclaim_release(GFP_KERNEL);
 
 	drm_mode_config_init(ddev);
 
@@ -619,14 +626,8 @@ static void context_close(struct msm_file_private *ctx)
 
 static void msm_postclose(struct drm_device *dev, struct drm_file *file)
 {
-	struct msm_drm_private *priv = dev->dev_private;
 	struct msm_file_private *ctx = file->driver_priv;
 
-	mutex_lock(&dev->struct_mutex);
-	if (ctx == priv->lastctx)
-		priv->lastctx = NULL;
-	mutex_unlock(&dev->struct_mutex);
-
 	context_close(ctx);
 }
 
drivers/gpu/drm/msm/msm_drv.h +13 -2
index 1fe809add8f6..52da60bbf6b3 100644
@@ -165,7 +165,7 @@ struct msm_drm_private {
 
 	/* when we have more than one 'msm_gpu' these need to be an array: */
 	struct msm_gpu *gpu;
-	struct msm_file_private *lastctx;
+
 	/* gpu is only set on open(), but we need this info earlier */
 	bool is_a2xx;
 
@@ -175,8 +175,19 @@ struct msm_drm_private {
 	struct msm_rd_state *hangrd;   /* debugfs to dump hanging submits */
 	struct msm_perf_state *perf;
 
-	/* list of GEM objects: */
+	/*
+	 * List of inactive GEM objects.  Every bo is either in the inactive_list
+	 * or gpu->active_list (for the gpu it is active on[1])
+	 *
+	 * These lists are protected by mm_lock.  If struct_mutex is involved, it
+	 * should be aquired prior to mm_lock.  One should *not* hold mm_lock in
+	 * get_pages()/vmap()/etc paths, as they can trigger the shrinker.
+	 *
+	 * [1] if someone ever added support for the old 2d cores, there could be
+	 *     more than one gpu object
+	 */
 	struct list_head inactive_list;
+	struct mutex mm_lock;
 
 	/* worker for delayed free of objects: */
 	struct work_struct free_work;
drivers/gpu/drm/msm/msm_gem.c +16 -12
index 9c05bf6c4551..d0201909ee7a 100644
@@ -745,13 +745,17 @@ int msm_gem_sync_object(struct drm_gem_object *obj,
 void msm_gem_active_get(struct drm_gem_object *obj, struct msm_gpu *gpu)
 {
 	struct msm_gem_object *msm_obj = to_msm_bo(obj);
-	WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex));
+	struct msm_drm_private *priv = obj->dev->dev_private;
+
+	might_sleep();
 	WARN_ON(msm_obj->madv != MSM_MADV_WILLNEED);
 
 	if (!atomic_fetch_inc(&msm_obj->active_count)) {
+		mutex_lock(&priv->mm_lock);
 		msm_obj->gpu = gpu;
 		list_del_init(&msm_obj->mm_list);
 		list_add_tail(&msm_obj->mm_list, &gpu->active_list);
+		mutex_unlock(&priv->mm_lock);
 	}
 }
 
@@ -760,12 +764,14 @@ void msm_gem_active_put(struct drm_gem_object *obj)
 	struct msm_gem_object *msm_obj = to_msm_bo(obj);
 	struct msm_drm_private *priv = obj->dev->dev_private;
 
-	WARN_ON(!mutex_is_locked(&obj->dev->struct_mutex));
+	might_sleep();
 
 	if (!atomic_dec_return(&msm_obj->active_count)) {
+		mutex_lock(&priv->mm_lock);
 		msm_obj->gpu = NULL;
 		list_del_init(&msm_obj->mm_list);
 		list_add_tail(&msm_obj->mm_list, &priv->inactive_list);
+		mutex_unlock(&priv->mm_lock);
 	}
 }
 
@@ -921,13 +927,16 @@ static void free_object(struct msm_gem_object *msm_obj)
 {
 	struct drm_gem_object *obj = &msm_obj->base;
 	struct drm_device *dev = obj->dev;
+	struct msm_drm_private *priv = dev->dev_private;
 
 	WARN_ON(!mutex_is_locked(&dev->struct_mutex));
 
 	/* object should not be on active list: */
 	WARN_ON(is_active(msm_obj));
 
+	mutex_lock(&priv->mm_lock);
 	list_del(&msm_obj->mm_list);
+	mutex_unlock(&priv->mm_lock);
 
 	mutex_lock(&msm_obj->lock);
 
@@ -1103,14 +1112,9 @@ static struct drm_gem_object *_msm_gem_new(struct drm_device *dev,
 		mapping_set_gfp_mask(obj->filp->f_mapping, GFP_HIGHUSER);
 	}
 
-	if (struct_mutex_locked) {
-		WARN_ON(!mutex_is_locked(&dev->struct_mutex));
-		list_add_tail(&msm_obj->mm_list, &priv->inactive_list);
-	} else {
-		mutex_lock(&dev->struct_mutex);
-		list_add_tail(&msm_obj->mm_list, &priv->inactive_list);
-		mutex_unlock(&dev->struct_mutex);
-	}
+	mutex_lock(&priv->mm_lock);
+	list_add_tail(&msm_obj->mm_list, &priv->inactive_list);
+	mutex_unlock(&priv->mm_lock);
 
 	return obj;
 
@@ -1174,9 +1178,9 @@ struct drm_gem_object *msm_gem_import(struct drm_device *dev,
 
 	mutex_unlock(&msm_obj->lock);
 
-	mutex_lock(&dev->struct_mutex);
+	mutex_lock(&priv->mm_lock);
 	list_add_tail(&msm_obj->mm_list, &priv->inactive_list);
-	mutex_unlock(&dev->struct_mutex);
+	mutex_unlock(&priv->mm_lock);
 
 	return obj;
 
drivers/gpu/drm/msm/msm_gem_shrinker.c +12 -0
index 482576d7a39a..c41b84a3a484 100644
@@ -51,11 +51,15 @@ msm_gem_shrinker_count(struct shrinker *shrinker, struct shrink_control *sc)
 	if (!msm_gem_shrinker_lock(dev, &unlock))
 		return 0;
 
+	mutex_lock(&priv->mm_lock);
+
 	list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) {
 		if (is_purgeable(msm_obj))
 			count += msm_obj->base.size >> PAGE_SHIFT;
 	}
 
+	mutex_unlock(&priv->mm_lock);
+
 	if (unlock)
 		mutex_unlock(&dev->struct_mutex);
 
@@ -75,6 +79,8 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc)
 	if (!msm_gem_shrinker_lock(dev, &unlock))
 		return SHRINK_STOP;
 
+	mutex_lock(&priv->mm_lock);
+
 	list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) {
 		if (freed >= sc->nr_to_scan)
 			break;
@@ -84,6 +90,8 @@ msm_gem_shrinker_scan(struct shrinker *shrinker, struct shrink_control *sc)
 		}
 	}
 
+	mutex_unlock(&priv->mm_lock);
+
 	if (unlock)
 		mutex_unlock(&dev->struct_mutex);
 
@@ -106,6 +114,8 @@ msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr)
 	if (!msm_gem_shrinker_lock(dev, &unlock))
 		return NOTIFY_DONE;
 
+	mutex_lock(&priv->mm_lock);
+
 	list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) {
 		if (is_vunmapable(msm_obj)) {
 			msm_gem_vunmap(&msm_obj->base, OBJ_LOCK_SHRINKER);
@@ -118,6 +128,8 @@ msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr)
 		}
 	}
 
+	mutex_unlock(&priv->mm_lock);
+
 	if (unlock)
 		mutex_unlock(&dev->struct_mutex);
 
drivers/gpu/drm/msm/msm_gpu.c +1 -1
index 90c26da10902..c5f3c561ecc6 100644
@@ -795,7 +795,7 @@ void msm_gpu_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit)
 	}
 
 	gpu->funcs->submit(gpu, submit);
-	priv->lastctx = submit->queue->ctx;
+	gpu->cur_ctx_seqno = submit->queue->ctx->seqno;
 
 	hangcheck_timer_reset(gpu);
 }
drivers/gpu/drm/msm/msm_gpu.h +15 -1
index 6c9e1fdc1a76..b1feaae50b9e 100644
@@ -94,7 +94,21 @@ struct msm_gpu {
 	struct msm_ringbuffer *rb[MSM_GPU_MAX_RINGS];
 	int nr_rings;
 
-	/* list of GEM active objects: */
+	/**
+	 * cur_ctx_seqno:
+	 *
+	 * The ctx->seqno value of the last context to submit rendering,
+	 * and the one with current pgtables installed (for generations
+	 * that support per-context pgtables).  Tracked by seqno rather
+	 * than pointer value to avoid dangling pointers, and cases where
+	 * a ctx can be freed and a new one created with the same address.
+	 */
+	int cur_ctx_seqno;
+
+	/*
+	 * List of GEM active objects on this gpu.  Protected by
+	 * msm_drm_private::mm_lock
+	 */
 	struct list_head active_list;
 
 	/* does gpu need hw_init? */
drivers/gpu/drm/nouveau/nouveau_dmem.c +1 -1
index 5e72e6cb2f84..56729fc39733 100644
@@ -149,7 +149,7 @@ static vm_fault_t nouveau_dmem_fault_copy_one(struct nouveau_drm *drm,
 	if (!spage || !(args->src[0] & MIGRATE_PFN_MIGRATE))
 		return 0;
 
-	dpage = alloc_page_vma(GFP_HIGHUSER, vmf->vma, vmf->address);
+	dpage = alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO, vmf->vma, vmf->address);
 	if (!dpage)
 		return VM_FAULT_SIGBUS;
 	lock_page(dpage);
drivers/gpu/drm/omapdrm/omap_drv.c +5 -0
index 53d5e184ee77..8c664ef0cf62 100644
@@ -600,6 +600,10 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev)
 	soc = soc_device_match(omapdrm_soc_devices);
 	priv->omaprev = soc ? (unsigned int)soc->data : 0;
 	priv->wq = alloc_ordered_workqueue("omapdrm", 0);
+	if (!priv->wq) {
+		ret = -ENOMEM;
+		goto err_alloc_workqueue;
+	}
 
 	mutex_init(&priv->list_lock);
 	INIT_LIST_HEAD(&priv->obj_list);
@@ -649,6 +653,7 @@ static int omapdrm_init(struct omap_drm_private *priv, struct device *dev)
 err_gem_deinit:
 	omap_gem_deinit(ddev);
 	destroy_workqueue(priv->wq);
+err_alloc_workqueue:
 	omap_disconnect_pipelines(ddev);
 	omap_crtc_pre_uninit(priv);
 	drm_dev_put(ddev);
drivers/gpu/drm/radeon/atombios.h +1 -1
index 4b86e8b45009..e3f496464764 100644
@@ -3615,7 +3615,7 @@ typedef struct _ATOM_FAKE_EDID_PATCH_RECORD
 {
   UCHAR ucRecordType;
   UCHAR ucFakeEDIDLength;
-  UCHAR ucFakeEDIDString[1];    // This actually has ucFakeEdidLength elements.
+  UCHAR ucFakeEDIDString[];    // This actually has ucFakeEdidLength elements.
 } ATOM_FAKE_EDID_PATCH_RECORD;
 
 typedef struct  _ATOM_PANEL_RESOLUTION_PATCH_RECORD
drivers/gpu/drm/radeon/evergreen_cs.c +31 -31

166 lines not on this page · raw message

drivers/gpu/drm/radeon/r100.c +45 -25

90 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_atombios.c +16 -10
index aca6e5cfae53..b5ce63ca3f05 100644
@@ -1720,23 +1720,29 @@ struct radeon_encoder_atom_dig *radeon_atombios_get_lvds_info(struct
 					fake_edid_record = (ATOM_FAKE_EDID_PATCH_RECORD *)record;
 					if (fake_edid_record->ucFakeEDIDLength) {
 						struct edid *edid;
-						int edid_size =
-							max((int)EDID_LENGTH, (int)fake_edid_record->ucFakeEDIDLength);
-						edid = kmalloc(edid_size, GFP_KERNEL);
+						int edid_size;
+
+						if (fake_edid_record->ucFakeEDIDLength == 128)
+							edid_size = fake_edid_record->ucFakeEDIDLength;
+						else
+							edid_size = fake_edid_record->ucFakeEDIDLength * 128;
+						edid = kmemdup(&fake_edid_record->ucFakeEDIDString[0],
+							       edid_size, GFP_KERNEL);
 						if (edid) {
-							memcpy((u8 *)edid, (u8 *)&fake_edid_record->ucFakeEDIDString[0],
-							       fake_edid_record->ucFakeEDIDLength);
-
 							if (drm_edid_is_valid(edid)) {
 								rdev->mode_info.bios_hardcoded_edid = edid;
 								rdev->mode_info.bios_hardcoded_edid_size = edid_size;
-							} else
+							} else {
 								kfree(edid);
+							}
 						}
+						record += struct_size(fake_edid_record,
+								      ucFakeEDIDString,
+								      edid_size);
+					} else {
+						/* empty fake edid record must be 3 bytes long */
+						record += sizeof(ATOM_FAKE_EDID_PATCH_RECORD) + 1;
 					}
-					record += fake_edid_record->ucFakeEDIDLength ?
-						fake_edid_record->ucFakeEDIDLength + 2 :
-						sizeof(ATOM_FAKE_EDID_PATCH_RECORD);
 					break;
 				case LCD_PANEL_RESOLUTION_RECORD_TYPE:
 					panel_res_record = (ATOM_PANEL_RESOLUTION_PATCH_RECORD *)record;
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c +2 -0
index 515e6f187dc7..91e28fcdd22e 100644
@@ -389,6 +389,8 @@ static void dw_hdmi_rk3328_setup_hpd(struct dw_hdmi *dw_hdmi, void *data)
 		HIWORD_UPDATE(RK3328_HDMI_SDAIN_MSK | RK3328_HDMI_SCLIN_MSK,
 			      RK3328_HDMI_SDAIN_MSK | RK3328_HDMI_SCLIN_MSK |
 			      RK3328_HDMI_HPD_IOE));
+
+	dw_hdmi_rk3328_read_hpd(dw_hdmi, data);
 }
 
 static const struct dw_hdmi_phy_ops rk3228_hdmi_phy_ops = {
drivers/gpu/drm/rockchip/rockchip_drm_vop.c +77 -36

186 lines not on this page · raw message

drivers/gpu/drm/rockchip/rockchip_drm_vop.h +3 -0
index 857d97cdc67c..32d1783be01d 100644
@@ -99,8 +99,11 @@ struct vop_common {
 	struct vop_reg dither_down_en;
 	struct vop_reg dither_up;
 	struct vop_reg dsp_lut_en;
+	struct vop_reg update_gamma_lut;
+	struct vop_reg lut_buffer_index;
 	struct vop_reg gate_en;
 	struct vop_reg mmu_en;
+	struct vop_reg dma_stop;
 	struct vop_reg out_mode;
 	struct vop_reg standby;
 };
drivers/gpu/drm/rockchip/rockchip_vop_reg.c +23 -2
index 39e1e1ebea92..b43b684bee86 100644
@@ -401,6 +401,7 @@ static const struct vop_output rk3066_output = {
 };
 
 static const struct vop_common rk3066_common = {
+	.dma_stop = VOP_REG(RK3066_SYS_CTRL0, 0x1, 0),
 	.standby = VOP_REG(RK3066_SYS_CTRL0, 0x1, 1),
 	.out_mode = VOP_REG(RK3066_DSP_CTRL0, 0xf, 0),
 	.cfg_done = VOP_REG(RK3066_REG_CFG_DONE, 0x1, 0),
@@ -836,6 +837,24 @@ static const struct vop_output rk3399_output = {
 	.mipi_dual_channel_en = VOP_REG(RK3288_SYS_CTRL, 0x1, 3),
 };
 
+static const struct vop_common rk3399_common = {
+	.standby = VOP_REG_SYNC(RK3399_SYS_CTRL, 0x1, 22),
+	.gate_en = VOP_REG(RK3399_SYS_CTRL, 0x1, 23),
+	.mmu_en = VOP_REG(RK3399_SYS_CTRL, 0x1, 20),
+	.dither_down_sel = VOP_REG(RK3399_DSP_CTRL1, 0x1, 4),
+	.dither_down_mode = VOP_REG(RK3399_DSP_CTRL1, 0x1, 3),
+	.dither_down_en = VOP_REG(RK3399_DSP_CTRL1, 0x1, 2),
+	.pre_dither_down = VOP_REG(RK3399_DSP_CTRL1, 0x1, 1),
+	.dither_up = VOP_REG(RK3399_DSP_CTRL1, 0x1, 6),
+	.dsp_lut_en = VOP_REG(RK3399_DSP_CTRL1, 0x1, 0),
+	.update_gamma_lut = VOP_REG(RK3399_DSP_CTRL1, 0x1, 7),
+	.lut_buffer_index = VOP_REG(RK3399_DBG_POST_REG1, 0x1, 1),
+	.data_blank = VOP_REG(RK3399_DSP_CTRL0, 0x1, 19),
+	.dsp_blank = VOP_REG(RK3399_DSP_CTRL0, 0x3, 18),
+	.out_mode = VOP_REG(RK3399_DSP_CTRL0, 0xf, 0),
+	.cfg_done = VOP_REG_SYNC(RK3399_REG_CFG_DONE, 0x1, 0),
+};
+
 static const struct vop_yuv2yuv_phy rk3399_yuv2yuv_win01_data = {
 	.y2r_coefficients = {
 		VOP_REG(RK3399_WIN0_YUV2YUV_Y2R + 0, 0xffff, 0),
@@ -917,7 +936,7 @@ static const struct vop_data rk3399_vop_big = {
 	.version = VOP_VERSION(3, 5),
 	.feature = VOP_FEATURE_OUTPUT_RGB10,
 	.intr = &rk3366_vop_intr,
-	.common = &rk3288_common,
+	.common = &rk3399_common,
 	.modeset = &rk3288_modeset,
 	.output = &rk3399_output,
 	.afbc = &rk3399_vop_afbc,
@@ -925,6 +944,7 @@ static const struct vop_data rk3399_vop_big = {
 	.win = rk3399_vop_win_data,
 	.win_size = ARRAY_SIZE(rk3399_vop_win_data),
 	.win_yuv2yuv = rk3399_vop_big_win_yuv2yuv_data,
+	.lut_size = 1024,
 };
 
 static const struct vop_win_data rk3399_vop_lit_win_data[] = {
@@ -943,13 +963,14 @@ static const struct vop_win_yuv2yuv_data rk3399_vop_lit_win_yuv2yuv_data[] = {
 static const struct vop_data rk3399_vop_lit = {
 	.version = VOP_VERSION(3, 6),
 	.intr = &rk3366_vop_intr,
-	.common = &rk3288_common,
+	.common = &rk3399_common,
 	.modeset = &rk3288_modeset,
 	.output = &rk3399_output,
 	.misc = &rk3368_misc,
 	.win = rk3399_vop_lit_win_data,
 	.win_size = ARRAY_SIZE(rk3399_vop_lit_win_data),
 	.win_yuv2yuv = rk3399_vop_lit_win_yuv2yuv_data,
+	.lut_size = 256,
 };
 
 static const struct vop_win_data rk3228_vop_win_data[] = {
drivers/gpu/drm/rockchip/rockchip_vop_reg.h +1 -0
index 6e9fa5815d4d..9f410a4ece7b 100644
@@ -628,6 +628,7 @@
 #define RK3399_YUV2YUV_WIN			0x02c0
 #define RK3399_YUV2YUV_POST			0x02c4
 #define RK3399_AUTO_GATING_EN			0x02cc
+#define RK3399_DBG_POST_REG1			0x036c
 #define RK3399_WIN0_CSC_COE			0x03a0
 #define RK3399_WIN1_CSC_COE			0x03c0
 #define RK3399_WIN2_CSC_COE			0x03e0
drivers/gpu/drm/scheduler/sched_entity.c +2 -0
index 3f7f761df4cd..750d91370c8a 100644
@@ -96,8 +96,10 @@ void drm_sched_entity_modify_sched(struct drm_sched_entity *entity,
 {
 	WARN_ON(!num_sched_list || !sched_list);
 
+	spin_lock(&entity->rq_lock);
 	entity->sched_list = sched_list;
 	entity->num_sched_list = num_sched_list;
+	spin_unlock(&entity->rq_lock);
 }
 EXPORT_SYMBOL(drm_sched_entity_modify_sched);
 
drivers/gpu/drm/stm/drv.c +3 -1
index 411103f013e2..08c50e68cfca 100644
@@ -195,12 +195,14 @@ static int stm_drm_platform_probe(struct platform_device *pdev)
 
 	ret = drm_dev_register(ddev, 0);
 	if (ret)
-		goto err_put;
+		goto err_unload;
 
 	drm_fbdev_generic_setup(ddev, 16);
 
 	return 0;
 
+err_unload:
+	drv_unload(ddev);
 err_put:
 	drm_dev_put(ddev);
 
drivers/hid/hid-ids.h +2 -0
index c4e4a24692f6..fd8c68d3ed8e 100644
@@ -963,6 +963,8 @@
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3220_SERIES	0xc056
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3215_SERIES	0xc057
 #define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES	0xc058
+#define USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES	0x430c
+#define USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES		0x431e
 
 #define USB_VENDOR_ID_PANASONIC		0x04da
 #define USB_DEVICE_ID_PANABOARD_UBT780	0x1044
drivers/hid/hid-plantronics.c +23 -0
index 3d414ae194ac..25cfd964dc25 100644
@@ -38,8 +38,10 @@
 			    (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER)
 
 #define PLT_QUIRK_DOUBLE_VOLUME_KEYS BIT(0)
+#define PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS BIT(1)
 
 #define PLT_DOUBLE_KEY_TIMEOUT 5 /* ms */
+#define PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT 220 /* ms */
 
 struct plt_drv_data {
 	unsigned long device_type;
@@ -137,6 +139,21 @@ static int plantronics_event(struct hid_device *hdev, struct hid_field *field,
 
 		drv_data->last_volume_key_ts = cur_ts;
 	}
+	if (drv_data->quirks & PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS) {
+		unsigned long prev_ts, cur_ts;
+
+		/* Usages are filtered in plantronics_usages. */
+
+		if (!value) /* Handle key presses only. */
+			return 0;
+
+		prev_ts = drv_data->last_volume_key_ts;
+		cur_ts = jiffies;
+		if (jiffies_to_msecs(cur_ts - prev_ts) <= PLT_FOLLOWED_OPPOSITE_KEY_TIMEOUT)
+			return 1; /* Ignore the followed opposite volume key. */
+
+		drv_data->last_volume_key_ts = cur_ts;
+	}
 
 	return 0;
 }
@@ -210,6 +227,12 @@ static const struct hid_device_id plantronics_devices[] = {
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
 					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3225_SERIES),
 		.driver_data = PLT_QUIRK_DOUBLE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_BLACKWIRE_3325_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
+	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS,
+					 USB_DEVICE_ID_PLANTRONICS_ENCOREPRO_500_SERIES),
+		.driver_data = PLT_QUIRK_FOLLOWED_OPPOSITE_VOLUME_KEYS },
 	{ HID_USB_DEVICE(USB_VENDOR_ID_PLANTRONICS, HID_ANY_ID) },
 	{ }
 };
drivers/hid/intel-ish-hid/ishtp-fw-loader.c +1 -1
index b6d6d119035c..1bb5316c2a8b 100644
@@ -630,7 +630,7 @@ static int ish_fw_xfer_direct_dma(struct ishtp_cl_data *client_data,
 				  const struct firmware *fw,
 				  const struct shim_fw_info fw_info)
 {
-	int rv;
+	int rv = 0;
 	void *dma_buf;
 	dma_addr_t dma_buf_phy;
 	u32 fragment_offset, fragment_size, payload_max_size;
drivers/hwmon/Kconfig +2 -0
index 8a427467a842..606cb865195f 100644
@@ -178,6 +178,7 @@ config SENSORS_ADM9240
 	tristate "Analog Devices ADM9240 and compatibles"
 	depends on I2C
 	select HWMON_VID
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for Analog Devices ADM9240,
 	  Dallas DS1780, National Semiconductor LM81 sensor chips.
@@ -1866,6 +1867,7 @@ config SENSORS_TMP421
 config SENSORS_TMP513
 	tristate "Texas Instruments TMP513 and compatibles"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  If you say yes here you get support for Texas Instruments TMP512,
 	  and TMP513 temperature and power supply sensor chips.
drivers/hwmon/max16065.c +17 -10
index a26226e7bc37..b4c519e52fff 100644
@@ -79,7 +79,7 @@ static const bool max16065_have_current[] = {
 };
 
 struct max16065_data {
-	enum chips type;
+	enum chips chip;
 	struct i2c_client *client;
 	const struct attribute_group *groups[4];
 	struct mutex update_lock;
@@ -114,9 +114,10 @@ static inline int LIMIT_TO_MV(int limit, int range)
 	return limit * range / 256;
 }
 
-static inline int MV_TO_LIMIT(int mv, int range)
+static inline int MV_TO_LIMIT(unsigned long mv, int range)
 {
-	return clamp_val(DIV_ROUND_CLOSEST(mv * 256, range), 0, 255);
+	mv = clamp_val(mv, 0, ULONG_MAX / 256);
+	return DIV_ROUND_CLOSEST(clamp_val(mv * 256, 0, range * 255), range);
 }
 
 static inline int ADC_TO_CURR(int adc, int gain)
@@ -161,10 +162,17 @@ static struct max16065_data *max16065_update_device(struct device *dev)
 						     MAX16065_CURR_SENSE);
 		}
 
-		for (i = 0; i < DIV_ROUND_UP(data->num_adc, 8); i++)
+		for (i = 0; i < 2; i++)
 			data->fault[i]
 			  = i2c_smbus_read_byte_data(client, MAX16065_FAULT(i));
 
+		/*
+		 * MAX16067 and MAX16068 have separate undervoltage and
+		 * overvoltage alarm bits. Squash them together.
+		 */
+		if (data->chip == max16067 || data->chip == max16068)
+			data->fault[0] |= data->fault[1];
+
 		data->last_updated = jiffies;
 		data->valid = 1;
 	}
@@ -493,8 +501,6 @@ static const struct attribute_group max16065_max_group = {
 	.is_visible = max16065_secondary_is_visible,
 };
 
-static const struct i2c_device_id max16065_id[];
-
 static int max16065_probe(struct i2c_client *client)
 {
 	struct i2c_adapter *adapter = client->adapter;
@@ -505,7 +511,7 @@ static int max16065_probe(struct i2c_client *client)
 	bool have_secondary;		/* true if chip has secondary limits */
 	bool secondary_is_max = false;	/* secondary limits reflect max */
 	int groups = 0;
-	const struct i2c_device_id *id = i2c_match_id(max16065_id, client);
+	enum chips chip = (uintptr_t)i2c_get_match_data(client);
 
 	if (!i2c_check_functionality(adapter, I2C_FUNC_SMBUS_BYTE_DATA
 				     | I2C_FUNC_SMBUS_READ_WORD_DATA))
@@ -515,12 +521,13 @@ static int max16065_probe(struct i2c_client *client)
 	if (unlikely(!data))
 		return -ENOMEM;
 
+	data->chip = chip;
 	data->client = client;
 	mutex_init(&data->update_lock);
 
-	data->num_adc = max16065_num_adc[id->driver_data];
-	data->have_current = max16065_have_current[id->driver_data];
-	have_secondary = max16065_have_secondary[id->driver_data];
+	data->num_adc = max16065_num_adc[chip];
+	data->have_current = max16065_have_current[chip];
+	have_secondary = max16065_have_secondary[chip];
 
[… more lines in the raw message]

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

drivers/hwmon/ntc_thermistor.c +1 -0
index 3aad62a0e661..7e20beb8b11f 100644

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

drivers/hwmon/pmbus/pmbus.h +8 -0
index de27837e8527..a46c479962b0 100644

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

drivers/hwmon/pmbus/pmbus_core.c +34 -5
index 117e3ce9c76a..b795c90a46d9 100644

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

drivers/hwtracing/coresight/coresight-tmc-etr.c +1 -1
index ae2dd0c88f4e..d8632bf97074 100644

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

drivers/i2c/busses/i2c-aspeed.c +8 -8
index b915dfcff00d..c2f86fc4c224 100644

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

drivers/i2c/busses/i2c-i801.c +8 -1
index 4baa9bce02b6..3d5ef84482b2 100644

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

drivers/i2c/busses/i2c-isch.c +1 -2
index 2dc7ada06ac5..d283e6bb1ff8 100644

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

drivers/i2c/busses/i2c-qcom-geni.c +1 -3
index 86f028febce3..8758983a3ce1 100644

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

drivers/i2c/busses/i2c-stm32f7.c +3 -3
index 7b9272f9cc21..0b4e73e63820 100644

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

drivers/i2c/busses/i2c-xiic.c +80 -65

145 lines not on this page · raw message

drivers/i2c/i2c-core-base.c +19 -0
index 6fac638e423a..ef6d52a38b5c 100644

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

drivers/iio/adc/ad7606.c +4 -4
index ee7b108688b3..141c75be27e1 100644

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

drivers/iio/adc/ad7606_spi.c +3 -2
index 29945ad07dca..e1ad2cd61b7f 100644

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

drivers/iio/magnetometer/ak8975.c +16 -16
index 3774e5975f77..fd3a6cd16bcf 100644

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

drivers/infiniband/core/iwcm.c +1 -1
index 7a6747850aea..44362f693df9 100644

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

drivers/infiniband/core/mad.c +8 -6
index 9355e521d9f4..521c3d050be2 100644

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

drivers/infiniband/hw/cxgb4/cm.c +5 -0
index 8c54b1be0442..95300b2e1ffe 100644

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

drivers/infiniband/hw/hns/hns_roce_hem.c +161 -94

255 lines not on this page · raw message

drivers/infiniband/hw/hns/hns_roce_mr.c +34 -22

56 lines not on this page · raw message

drivers/infiniband/hw/hns/hns_roce_qp.c +8 -8
index 1a6de9a9e57c..0cd2f778cdff 100644

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

drivers/infiniband/sw/rxe/rxe_comp.c +3 -3
index 0a1e6393250b..a54d80004342 100644

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

drivers/input/keyboard/adp5589-keys.c +10 -3
index eb0e9cd66bcb..15a00aad7c7f 100644

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

drivers/input/mouse/synaptics.c +1 -0
index e2c130832c15..82504b0ce01b 100644

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

drivers/input/rmi4/rmi_driver.c +3 -3
index aa32371f04af..ef9ea295f9e0 100644

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

drivers/input/serio/i8042-acpipnpio.h +46 -0

46 lines not on this page · raw message

drivers/input/touchscreen/ads7846.c +1 -1
index 1753288cedde..08a1eac2dfa2 100644

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

drivers/input/touchscreen/goodix.c +2 -16
index 53792a1b6ac3..440091064803 100644

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

drivers/interconnect/qcom/sm8250.c +1 -0
index 40820043c8d3..cc558fec74e3 100644

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

drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +7 -0
index a5164d5cb6a3..91d9c4d98f39 100644

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

drivers/iommu/intel/dmar.c +11 -5
index 72b380e17a1b..68153e6329b5 100644

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

drivers/iommu/intel/iommu.c +3 -3
index 6be92e0afdb0..c694ecbd304e 100644

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

drivers/mailbox/bcm2835-mailbox.c +2 -1
index 39761d190545..5c33c01a9d26 100644

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

drivers/mailbox/rockchip-mailbox.c +1 -1
index 979acc810f30..ca50f7f176f6 100644

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

drivers/md/dm-rq.c +3 -1
index 5f933dbb0152..7762bde40963 100644

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

drivers/md/dm.c +8 -3
index b56ea42ab7d2..4fdf0e666777 100644

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

drivers/media/common/videobuf2/videobuf2-core.c +4 -4
index 3bafde87a125..78ad2b278da4 100644

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

drivers/media/dvb-frontends/rtl2830.c +1 -1
index e6b8367c8cce..84c00c6894d3 100644

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

drivers/media/dvb-frontends/rtl2832.c +1 -1
index e5bffaaeed38..1c3e572cad3f 100644

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

drivers/media/platform/qcom/venus/core.c +1 -0
index 5f7ac2807e5f..c757cab6b335 100644

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

drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.c +5 -0
index 64f25921463e..1efaa1d0948b 100644

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

drivers/media/usb/usbtv/usbtv-video.c +0 -7
index 3b4a2e769230..f2aaec0f77c8 100644

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

drivers/mtd/devices/powernv_flash.c +3 -0
index 0b757d9ba2f6..0ab64a1cec09 100644

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

drivers/mtd/devices/slram.c +2 -0
index 28131a127d06..8297b366a066 100644

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

drivers/net/bareudp.c +24 -1
index d9917120b8fa..826f912ea820 100644

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

drivers/net/can/m_can/m_can.c +11 -2
index 19a19a7b7deb..6181ac277b62 100644

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

drivers/net/can/m_can/m_can.h +2 -0
index b2699a7c9997..8cad1235afa0 100644

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

drivers/net/can/m_can/m_can_platform.c +13 -0
index 161cb9be018c..dbebb9bba545 100644

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

drivers/net/dsa/b53/b53_common.c +13 -4
index 2bf07a398054..2fc33019e814 100644

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

drivers/net/dsa/lan9303-core.c +29 -0
index f5ab0bff4ac2..6598d019eb7b 100644

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

drivers/net/dsa/microchip/ksz9477.c +0 -1
index 535b64155320..4d0c2be652ae 100644

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

drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c +2 -2
index 1d512e6a89f5..c6d9da0bb010 100644

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

drivers/net/ethernet/cortina/gemini.c +2 -13
index fa46854fd697..04a034cd5183 100644

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

drivers/net/ethernet/faraday/ftgmac100.c +18 -8
index 969af4dd6405..bc9a7f2d2350 100644

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

drivers/net/ethernet/faraday/ftgmac100.h +1 -1
index 63b3e02fab16..4968f6f0bdbc 100644

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

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +8 -1
index 90bd5583ac34..cf7e9b26a0e3 100644

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

drivers/net/ethernet/freescale/enetc/enetc.c +1 -2
index 5f9603d4c049..18c862124667 100644

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

drivers/net/ethernet/hisilicon/hip04_eth.c +1 -0
index e53512f6878a..09acd839a72c 100644

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

drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c +1 -0
index 1f44a6463f45..5929ac50e351 100644

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

drivers/net/ethernet/hisilicon/hns_mdio.c +1 -0
index 883d0d7c6858..229288dbe708 100644

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

drivers/net/ethernet/ibm/emac/mal.c +1 -1
index 075c07303f16..b095d5057b5e 100644

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

drivers/net/ethernet/intel/ice/ice_sched.c +2 -4
index 44a228530253..f5bfb662f1df 100644

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

drivers/net/ethernet/intel/ice/ice_switch.c +1 -3
index 0155c45d9d7f..68d756e86ca1 100644

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

drivers/net/ethernet/intel/igb/igb_main.c +4 -0
index e2c38e5232dc..17cdda3fe415 100644

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

drivers/net/ethernet/jme.c +4 -6
index e9efe074edc1..80858206c514 100644

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

drivers/net/ethernet/lantiq_etop.c +3 -1
index 1d7c0b872c59..45155023a298 100644

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

drivers/net/ethernet/marvell/mvpp2/mvpp2.h +1 -1
index e999ac2de34e..40a9d10c56cd 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +4 -0
index 1fdb42899a9f..1e61f31a689a 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_tx.c +0 -1
index 373668068071..9b1e43ff8ae1 100644

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

drivers/net/ethernet/mellanox/mlx5/core/lib/pci_vsc.c +10 -0
index 6b774e0c2766..c14f9529c25f 100644

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

drivers/net/ethernet/mellanox/mlx5/core/main.c +1 -0
index 35e11cb883c9..f76a4860032c 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c +1 -1
index 1892cea05ee7..cdb47486f377 100644

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

drivers/net/ethernet/netronome/nfp/nfp_net_common.c +2 -3
index 5ab230aab2cd..4a4d171e4f5b 100644

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

drivers/net/ethernet/realtek/r8169_main.c +29 -2
index 4c588fc43eb9..e9296d63450d 100644

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

drivers/net/ethernet/realtek/r8169_phy_config.c +2 -0
index e18a76f5049f..f8f6f2ce3db3 100644

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

drivers/net/ethernet/seeq/ether3.c +2 -0
index 65c98837ec45..3d4a86bf8fd1 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c +1 -0
index 4da1a80de722..3539c1542eb8 100644

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

drivers/net/geneve.c +70 -21

91 lines not on this page · raw message

drivers/net/ieee802154/Kconfig +1 -0
index 0f7c6dc2ed15..26f393a0507c 100644

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

drivers/net/ieee802154/mcr20a.c +1 -4
index 383231b85464..16474990dc01 100644

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

drivers/net/phy/bcm84881.c +2 -2
index 9717a1626f3f..37a64a37b2ae 100644

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

drivers/net/phy/dp83869.c +0 -1
index 65b69ff35e40..01b593e0bb4a 100644

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

drivers/net/phy/vitesse.c +0 -14
index bb680352708a..3f594c8784e2 100644

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

drivers/net/ppp/ppp_async.c +1 -1
index aada8a3c1821..164c11df8192 100644

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

drivers/net/slip/slhc.c +34 -23

57 lines not on this page · raw message

drivers/net/usb/ipheth.c +3 -2
index 4485388dcff2..bb3d4c5dadfc 100644

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

drivers/net/vrf.c +6 -7
index 8ab0b5a8dfef..c801185ade2b 100644

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

drivers/net/wireless/ath/ath11k/dp_rx.c +1 -1
index 6c4b84282e44..720c94806e1a 100644

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

drivers/net/wireless/ath/ath9k/debug.c +2 -2
index 8d98347e0ddf..8631258b1ea7 100644

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

drivers/net/wireless/ath/ath9k/hif_usb.c +2 -4
index e0130beb304d..6c73c0c0b82a 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +8 -1
index 08008b0c0637..fa784d835290 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c +2 -1
index 56f63f5f5dd3..2afa5c91bc76 100644

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

drivers/net/wireless/marvell/mwifiex/fw.h +1 -1
index 96c42b979e9b..284671618e9c 100644

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

drivers/net/wireless/marvell/mwifiex/scan.c +1 -2
index 78ef40e315b5..7f949aa77268 100644

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

drivers/net/wireless/mediatek/mt76/mt7915/main.c +1 -2
index e78d3efa3fdf..6495d2edf7dc 100644

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

drivers/net/wireless/microchip/wilc1000/hif.c +3 -1
index 3f167bf4eef3..5f363653ed9d 100644

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

drivers/net/wireless/realtek/rtw88/Kconfig +1 -0
index e3d7cb6c1290..5c18da555681 100644

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

drivers/net/wireless/realtek/rtw88/main.c +4 -3
index 2ef1416899f0..91eea38f62cd 100644

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

drivers/net/wireless/realtek/rtw88/rtw8822c.c +6 -4
index cee586335552..abed17e4c8c7 100644

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

drivers/net/xen-netback/hash.c +2 -3
index ff96f22648ef..45ddce35f6d2 100644

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

drivers/ntb/hw/intel/ntb_hw_gen1.c +1 -1
index 4f1add57d81d..16e34bb8e69e 100644

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

drivers/ntb/hw/mscc/ntb_hw_switchtec.c +1 -0
index 4c6eb61a6ac6..ad09946100b5 100644

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

drivers/ntb/test/ntb_perf.c +1 -1
index 65e1e5cf1b29..5a7a02408166 100644

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

drivers/nvdimm/nd_virtio.c +9 -0
index 10351d5b49fa..41e97c6567cf 100644

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

drivers/of/irq.c +9 -29
index ad0cb49e233a..f59bbcc94430 100644

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

drivers/pci/controller/dwc/pci-keystone.c +1 -1
index 0b49bdf149a6..08f37ae8a111 100644

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

drivers/pci/controller/pcie-xilinx-nwl.c +10 -14
index 2a9fe7c3aef9..bf9c30776087 100644

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

drivers/pci/quirks.c +8 -0
index 60a469bdc7e3..86b91f8da1ca 100644

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

drivers/pinctrl/mvebu/pinctrl-dove.c +30 -15

45 lines not on this page · raw message

drivers/pinctrl/pinctrl-at91.c +4 -1
index 52ecd47c18e2..bb9348f14b1b 100644

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

drivers/pinctrl/pinctrl-single.c +2 -1
index 5b76594b535c..22fd7ebd5cf3 100644

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

drivers/platform/x86/touchscreen_dmi.c +26 -0
index dce2d26b1d0f..eff29dc7e2c6 100644

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

drivers/power/reset/brcmstb-reboot.c +0 -3
index 884b53c483c0..9f8b9e5cad93 100644

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

drivers/power/supply/axp20x_battery.c +22 -9
index 9fda98b950ba..d62a249f65da 100644

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

drivers/power/supply/max17042_battery.c +4 -1
index 76b0f45a20b4..b68bf3a35465 100644

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

drivers/powercap/intel_rapl_msr.c +1 -1
index 6b68e5ed2081..17692b234f42 100644

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

drivers/pps/clients/pps_parport.c +9 -5
index 7a41fb7b0dec..84e49204912f 100644

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

drivers/reset/reset-berlin.c +2 -1
index 371197bbd055..542d32719b8a 100644

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

drivers/rtc/rtc-at91sam9.c +1 -0
index e39e89867d29..881d750d0900 100644

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

drivers/s390/char/zcore.c +27 -17

44 lines not on this page · raw message

drivers/scsi/aacraid/aacraid.h +1 -1
index e3e4ecbea726..76c88610c6d7 100644

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

drivers/soc/versatile/soc-integrator.c +1 -0
index bab4ad87aa75..d5099a3386b4 100644

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

drivers/soc/versatile/soc-realview.c +16 -4
index c6876d232d8f..cf91abe07d38 100644

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

drivers/soundwire/stream.c +4 -4
index d8f556f793fc..a377c3d02c55 100644

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

drivers/spi/spi-bcm63xx.c +2 -0
index d36384fef0d7..b31b5f4e959e 100644

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

drivers/spi/spi-fsl-lpspi.c +7 -2
index c21d7959dcd2..8ab3105ae8c0 100644

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

drivers/spi/spi-imx.c +1 -1
index 8566da12d15e..f1a0073a8700 100644

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

drivers/spi/spi-nxp-fspi.c +3 -2
index f40b93960b89..d5c62c6e03d3 100644

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

drivers/spi/spi-ppc4xx.c +5 -2
index 4200b12fc347..6413bcd28913 100644

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

drivers/spi/spi-s3c64xx.c +2 -2
index d435df1b715b..7beea6f93093 100644

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

drivers/staging/media/atomisp/pci/sh_css_frac.h +19 -7
index 8f08df5c88cc..569a2f59e551 100644

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

drivers/tty/serial/rp2.c +1 -1
index 944a4c010579..a8d3fbde5b0e 100644

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

drivers/usb/chipidea/udc.c +7 -1
index 67d8da04848e..5cdf03534c0c 100644

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

drivers/usb/class/cdc-acm.c +2 -0
index c494b77e6749..59154e808ea5 100644

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

drivers/usb/class/usbtmc.c +1 -1
index 76ff182427bc..78adc112a77b 100644

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

drivers/usb/dwc2/platform.c +14 -12
index 9d0dd09a2015..f421650cfa03 100644

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

drivers/usb/dwc3/core.c +60 -3

63 lines not on this page · raw message

drivers/usb/dwc3/core.h +9 -6
index 1c8496fc732e..3649400f04a7 100644

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

drivers/usb/dwc3/gadget.c +0 -11
index 550eae39a63d..da9599d81929 100644

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

drivers/usb/host/xhci-pci-renesas.c +0 -5
index 96692dbbd4da..01ad6fc1adca 100644

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

drivers/usb/host/xhci-pci.c +10 -5
index 88f223b975d3..ace65992e0da 100644

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

drivers/usb/host/xhci-pci.h +0 -3
index acd7cf0a1706..cb9a8f331a44 100644

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

drivers/usb/misc/appledisplay.c +11 -4
index c8098e9b432e..62b5a30edc42 100644

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

drivers/usb/misc/cypress_cy7c63.c +4 -0
index 14faec51d7a5..3be5551a9867 100644

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

drivers/usb/misc/yurex.c +4 -1
index 6c3d760bd4dd..8bc7c683bf83 100644

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

drivers/usb/serial/pl2303.c +1 -0
index 16118d9f2392..e45d8f873f46 100644

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

drivers/usb/serial/pl2303.h +4 -0
index 732f9b13ad5d..d60eda7f6eda 100644

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

drivers/usb/storage/unusual_devs.h +11 -0
index 20dcbccb290b..41c76566d751 100644

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

drivers/vhost/scsi.c +15 -12
index 4ce9f00ae10e..a23a65e7d828 100644

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

drivers/vhost/vdpa.c +15 -3
index c9f585db1553..61d11e7317ac 100644

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

drivers/video/fbdev/hpfb.c +1 -0
index 8d418abdd767..1e9c52e2714d 100644

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

drivers/video/fbdev/pxafb.c +1 -0
index f1551e00eb12..a0db2b3d0736 100644

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

drivers/video/fbdev/sis/sis_main.c +1 -1
index e540cb0c5172..7787fd21932c 100644

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

drivers/virtio/virtio_vdpa.c +1 -0
index 3f95dedccceb..7b2c37a3880f 100644

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

drivers/watchdog/imx_sc_wdt.c +0 -24
index 8ac021748d16..79649b0e89e4 100644

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

drivers/xen/swiotlb-xen.c +6 -0
index ad3ee4857e15..000d02ea4f7d 100644

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

fs/btrfs/disk-io.c +11 -0
index c484c145c5d0..104c86784796 100644

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

fs/btrfs/inode.c +1 -0
index cd3156a9a268..24598acb9a31 100644

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

fs/btrfs/relocation.c +1 -1
index 93db4486a943..cdd16583b2ff 100644

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

fs/ceph/addr.c +0 -1
index 3465ff95cb89..2362f2591f4a 100644

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

fs/exec.c +2 -1
index 6a4bbe58d3c0..6e5324c7e9b6 100644

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

fs/exfat/balloc.c +5 -5
index ab091440e8b9..0501b8c04d8d 100644

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

fs/ext4/extents.c +39 -18

57 lines not on this page · raw message

fs/ext4/file.c +67 -88

155 lines not on this page · raw message

fs/ext4/ialloc.c +9 -5
index d178543ca13f..c91e0cef04a5 100644

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

fs/ext4/inline.c +25 -10
index 979935c078fb..da1ca9e0869f 100644

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

fs/ext4/inode.c +7 -4
index 6e9323a56d28..c991955412a4 100644

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

fs/ext4/mballoc.c +4 -6
index 7cbbcee225dd..990d8031bed6 100644

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

fs/ext4/migrate.c +1 -1
index b0ea646454ac..59290356aa5b 100644

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

fs/ext4/move_extent.c +0 -1
index f8dd5d972c33..661a8544d781 100644

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

fs/ext4/namei.c +8 -6
index bf312f94c3bf..703c4282b19e 100644

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

fs/ext4/xattr.c +2 -2
index b91a1d1099d5..d1d930d09cb8 100644

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

fs/f2fs/acl.c +22 -1
index 306413589827..a89b2b1390e8 100644

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

fs/f2fs/dir.c +2 -1
index 6694298b1660..c6348e346851 100644

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

fs/f2fs/f2fs.h +3 -1
index 4380df9b2d70..3da7be53a3de 100644

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

fs/f2fs/file.c +22 -2
index 50514962771a..7ce22137afbe 100644

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

fs/f2fs/super.c +2 -2
index 9fed42e7bb1d..9afbb51bd678 100644

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

fs/f2fs/xattr.c +20 -7
index dd50b747b671..bd7099457018 100644

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

fs/fcntl.c +4 -10
index fcf34f83bf6a..4a65d3689620 100644

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

fs/inode.c +4 -0
index de7a63c24c5d..320b70ce79a7 100644

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

fs/jbd2/checkpoint.c +10 -4
index 7898983c9fba..0aaff82ecd1c 100644

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

fs/jbd2/journal.c +1 -1
index 205e6c7c2fd0..972f30f527bb 100644

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

fs/jfs/jfs_discard.c +9 -2
index 575cb2ba74fc..5f4b305030ad 100644

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

fs/jfs/jfs_dmap.c +7 -4
index 9b6849b9bfdb..8efd93992946 100644

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

fs/jfs/jfs_imap.c +1 -1
index 36ed75682064..da3a1c27d349 100644

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

fs/jfs/xattr.c +2 -0
index aea5531559c0..4ebee6e4dc1f 100644

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

fs/namespace.c +15 -8
index b020a12c53a2..7e67db7456b3 100644

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

fs/nfs/callback_xdr.c +2 -0
index db69fc267c9a..c8f5a0555ad2 100644

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

fs/nfs/client.c +1 -0
index 1437eb31dd03..6afb66b8855e 100644

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

fs/nfs/delegation.c +5 -10
index 1eb6c7a142ff..c15188d0b6b3 100644

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

fs/nfs/nfs42proc.c +1 -1
index dfeea712014b..47aa721d0d83 100644

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

fs/nfs/nfs4state.c +2 -1
index d8fc5d72a161..807dd6f17e1b 100644

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

fs/nfsd/filecache.c +4 -3
index 615ea8324911..585163b4e11c 100644

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

fs/nfsd/nfs4idmap.c +9 -4
index 5e9809aff37e..717e400b16b8 100644

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

fs/nfsd/nfs4recover.c +8 -0
index 189c622dde61..2904268c18c9 100644

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

fs/nfsd/nfs4state.c +3 -2
index 8e84ddccce4b..18d64a9312a7 100644

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

fs/nfsd/nfs4xdr.c +1 -9
index 5a68c6286492..d1625a6ff3ce 100644

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

fs/nfsd/vfs.c +1 -0
index dab44f187d01..54be4cd9794a 100644

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

fs/nilfs2/btree.c +8 -4
index a426e4e2acda..7c9f4d79bdbc 100644

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

fs/ocfs2/aops.c +2 -3
index 1a5f23e79f5e..667d63d23f8f 100644

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

fs/ocfs2/buffer_head_io.c +2 -2
index f0b104e483d8..c8a6e3480be1 100644

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

fs/ocfs2/journal.c +4 -3
index dfa6ff2756fb..c319495988b6 100644

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

fs/ocfs2/localalloc.c +19 -0
index fc8252a28cb1..67c39fe20969 100644

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

fs/ocfs2/quota_local.c +6 -2
index b1a8b046f4c2..7a1c8da9e44b 100644

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

fs/ocfs2/refcounttree.c +24 -2
index 3b397fa9c9e8..85d25c211c87 100644

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

fs/ocfs2/xattr.c +19 -19
index 10df2e1dfef7..00ede36aeec9 100644

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

fs/proc/base.c +60 -1

61 lines not on this page · raw message

fs/super.c +3 -0
index 282aa36901eb..3d040c09f723 100644

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

fs/unicode/mkutf8data.c +0 -70

70 lines not on this page · raw message

fs/unicode/utf8data.h_shipped +3346 -3357

6,703 lines not on this page · raw message

include/drm/drm_print.h +53 -1

54 lines not on this page · raw message

include/linux/cgroup-defs.h +4 -3
index 6c6323a01d43..c1bf210fe718 100644

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

include/linux/fs.h +2 -0
index 2e202f01c38d..a7d839b19606 100644

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

include/linux/i2c.h +2 -0
index 6cfb530b3d43..63476bcf955d 100644

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

include/linux/kallsyms.h +6 -1
index 465060acc981..430f1cefbb9e 100644

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

include/linux/module.h +9 -0
index a55a40c28568..63fe94e6ae6f 100644

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

include/linux/nfs_fs_sb.h +1 -0
index 38e60ec742df..cb2cb4d9c013 100644

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

include/linux/pci_ids.h +2 -0
index b2418bfda4a9..c4ad85bf9897 100644

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

include/linux/property.h +2 -2
index 2d4542629d80..34ac286db88d 100644

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

include/linux/skbuff.h +1 -4
index 31755d496b01..31ae4b74d435 100644

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

include/linux/vdpa.h +6 -0
index 30bc7a7223bb..2ee60c7c1eb0 100644

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

include/net/flow.h +5 -1
index 7ffa1fe1107c..1c19af4f3b97 100644

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

include/net/ip_tunnels.h +12 -4
index 1f016af0622b..f6cb68c2bead 100644

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

include/net/netfilter/nf_tables.h +13 -0
index 3cc25a5faa23..484f9cdf2dd0 100644

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

include/net/sch_generic.h +0 -1
index a62677be7452..4db11c4695cf 100644

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

include/net/sock.h +2 -0
index 0be681984987..c45958a68978 100644

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

include/net/tcp.h +19 -2
index d6e4b6f7d6ce..2aad2e79ac6a 100644

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

include/trace/events/f2fs.h +2 -1
index e8cd19e91de1..1eb386122f1c 100644

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

include/trace/events/sched.h +84 -0

84 lines not on this page · raw message

include/uapi/linux/cec.h +5 -1
index dc8879d179fd..570527734743 100644

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

include/uapi/linux/if_link.h +1 -0
index c4b23f06f69e..9334f2128bb2 100644

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

include/uapi/linux/netfilter/nf_tables.h +1 -1
index 40d900537093..702bcb7c9c73 100644

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

kernel/bpf/arraymap.c +3 -0
index 5102338129d5..3d92e42c3895 100644

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

kernel/bpf/devmap.c +18 -2
index 07b5edb2c70f..7eb1282edc8e 100644

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

kernel/bpf/hashtab.c +3 -0
index 72bc5f575254..4c7cab79d90e 100644

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

kernel/bpf/helpers.c +2 -2
index 084ac7e42919..31e3a5482156 100644

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

kernel/bpf/trampoline.c +4 -16
index 87becf77cc75..0a14f14d83fe 100644

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

kernel/cgroup/cgroup-internal.h +2 -1
index d8fcc139ac05..f38f56b8cc41 100644

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

kernel/cgroup/cgroup.c +7 -7
index 643d8e178f7b..66970b74106c 100644

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

kernel/events/core.c +5 -1
index 55033d6c0577..956d4e1a36ef 100644

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

kernel/events/uprobes.c +1 -1
index e91d6aac9855..1ea2c1f31126 100644

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

kernel/kallsyms.c +0 -2
index 8043a90aa50e..a0d3f0865916 100644

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

kernel/kprobes.c +2 -6
index c8e62458d323..551ac118159f 100644

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

kernel/kthread.c +18 -1
index 9d6cc9c15a55..8cf3609d3f52 100644

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

kernel/locking/lockdep.c +32 -16

48 lines not on this page · raw message

kernel/module.c +0 -2
index edc7b99cb16f..7f3ba597af6c 100644

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

kernel/padata.c +5 -1
index 2a514cf8379b..914a88d9cee1 100644

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

kernel/rcu/rcuscale.c +2 -2
index 3b9783eda679..cfe861bac1bd 100644

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

kernel/resource.c +50 -8

58 lines not on this page · raw message

kernel/signal.c +7 -4
index bfc1da526ebb..7a9af6d4f2b0 100644

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

kernel/trace/ftrace.c +55 -16

71 lines not on this page · raw message

kernel/trace/trace.c +8 -10
index b16291f4c573..9f5b9036f001 100644

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

kernel/trace/trace_kprobe.c +76 -0

76 lines not on this page · raw message

kernel/trace/trace_output.c +2 -4
index 753b84c50848..94b0991717b6 100644

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

kernel/trace/trace_probe.h +1 -0
index d4a69b83902e..22c05ca97758 100644

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

lib/debugobjects.c +3 -2
index b055741a5a4d..49fc61c08ee3 100644

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

lib/xz/xz_crc32.c +1 -1
index 88a2c35e1b59..5627b00fca29 100644

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

lib/xz/xz_private.h +0 -4
index 09360ebb510e..482b90f363fe 100644

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

mm/slab_common.c +7 -0
index ec832904f408..2faea1ecd811 100644

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

mm/util.c +1 -1
index 7fd3c2bb3e4f..ad8f8c482d14 100644

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

net/bluetooth/l2cap_sock.c +20 -32

52 lines not on this page · raw message

net/bluetooth/rfcomm/sock.c +0 -2
index 4cf1fa9900ca..5a490f707c81 100644

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

net/bridge/br_netfilter_hooks.c +5 -0
index f14beb9a62ed..4f867aca6300 100644

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

net/can/bcm.c +3 -1
index b2b1bd672787..cb849b5a8c14 100644

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

net/can/j1939/transport.c +4 -4
index 478dafc73857..a86256ab1402 100644

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

net/core/dev.c +8 -4
index 5e91496fd3a3..5edab9328d5e 100644

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

net/core/sock_destructor.h new file +12 -0
new file mode 100644
index 000000000000..2f396e6bfba5

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

net/core/sock_map.c +1 -0
index d1d0ee2dbfaa..73c081fb4220 100644

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

net/ipv4/devinet.c +2 -4
index 9ac7d47d27b8..7868f316a477 100644

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

net/ipv4/fib_frontend.c +4 -5
index 41f890bf9d4c..5e2a003cd83c 100644

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

net/ipv4/fib_semantics.c +1 -1
index bb5255178d75..a308d3f0f845 100644

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

net/ipv4/fib_trie.c +2 -5
index 3f4f6458d40e..1bdcdc79d43f 100644

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

net/ipv4/fou.c +2 -2
index 135da756dd5a..1d67df4d8ed6 100644

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

net/ipv4/inet_fragment.c +57 -13

70 lines not on this page · raw message

net/ipv4/ip_fragment.c +1 -1
index fad803d2d711..ec2264adf2a6 100644

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

net/ipv4/ip_gre.c +5 -5
index 0ac652fef06d..ae0189828aa9 100644

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

net/ipv4/ip_tunnel.c +5 -4
index 0953d805cbbe..53cc17b1da34 100644

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

net/ipv4/netfilter/ipt_rpfilter.c +2 -1
index 8cd3224d913e..26b3b0e2adcd 100644

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

net/ipv4/netfilter/nf_dup_ipv4.c +5 -2
index 6cc5743c553a..9a21175693db 100644

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

net/ipv4/netfilter/nft_fib_ipv4.c +2 -3
index 9e6f0f1275e2..273b64e3f2f9 100644

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

net/ipv4/route.c +2 -2
index 1eb1e4316ed6..c34386a9d99b 100644

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

net/ipv4/tcp_input.c +29 -2
index 06c03b21500f..6b926c71b6f3 100644

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

net/ipv4/tcp_ipv4.c +3 -0
index 0e7179a19e22..3dfa856e9926 100644

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

net/ipv4/xfrm4_policy.c +1 -3
index 9ebd54752e03..4548a91acdc8 100644

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

net/ipv6/Kconfig +1 -0
index 747f56e0c636..db430f7c45a2 100644

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

net/ipv6/ip6_output.c +1 -2
index 436733021b1e..26d8105981e9 100644

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

net/ipv6/netfilter/ip6t_rpfilter.c +3 -3
index d800801a5dd2..67c87a88cde4 100644

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

net/ipv6/netfilter/nf_conntrack_reasm.c +1 -1
index c129ad334eb3..8c2163f95711 100644

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

net/ipv6/netfilter/nf_dup_ipv6.c +5 -2
index a0a2de30be3e..0c39c77fe8a8 100644

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

net/ipv6/netfilter/nf_reject_ipv6.c +2 -12
index 832d9f9cd10a..df572724f254 100644

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

net/ipv6/netfilter/nft_fib_ipv6.c +5 -3
index 602743f6dcee..1a08b00aa321 100644

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

net/ipv6/route.c +0 -12
index 799779475c7d..37e05a77fe49 100644

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

net/ipv6/rpl_iptunnel.c +7 -5
index 2ba605db6976..274593b7c610 100644

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

net/ipv6/seg6_local.c +1 -0
index 11f7da4139f6..de0b20cd09f0 100644

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

net/ipv6/xfrm6_policy.c +1 -2
index 7c903e0e446c..492b9692c0dc 100644

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

net/l3mdev/l3mdev.c +17 -26

43 lines not on this page · raw message

net/mac80211/iface.c +16 -1
index 06ce138eedf1..55e3dfa7505d 100644

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

net/mptcp/options.c +1 -1
index 9b11396552df..8bc8812f7526 100644

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

net/mptcp/pm_netlink.c +16 -11
index f115c92c45d4..bd03fb6df729 100644

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

net/mptcp/protocol.h +4 -1
index b8351b671c2f..44944e8f73c5 100644

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

net/mptcp/subflow.c +1 -1
index 8a0ef50c307c..843c61ebd421 100644

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

net/netfilter/nf_conntrack_netlink.c +2 -5
index b55e87143c2c..8c9edad0826e 100644

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

net/netfilter/nf_tables_api.c +13 -2
index 249c30c47cbd..2bd1c7e7edc3 100644

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

net/netfilter/nft_lookup.c +1 -0
index d2f8131edaf1..f6ea1b32dae1 100644

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

net/netfilter/nft_set_pipapo.c +4 -2
index 9e0269e85017..ce617f6a215f 100644

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

net/netlink/af_netlink.c +2 -1
index 4f2a3d46554f..bda604b37db0 100644

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

net/qrtr/af_qrtr.c +1 -1
index 29c0886eb9ef..8476a229bce0 100644

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

net/sched/sch_api.c +6 -1
index 5c2d230790db..d0e4845ea701 100644

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

net/sched/sch_taprio.c +3 -1
index ec6b24edf5f9..04ed23b5f21b 100644

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

net/sctp/socket.c +15 -5
index 5053d813e91c..f529574aa068 100644

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

net/tipc/bcast.c +1 -1
index 593846d25214..114fef65f92e 100644

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

net/tipc/bearer.c +6 -2
index 2511718b8f3f..69dfb0431008 100644

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

net/wireless/nl80211.c +2 -1
index 9a6bbf24b0f7..a989231198fe 100644

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

net/wireless/scan.c +3 -3
index e8a9ce039295..f6307061aac4 100644

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

net/wireless/sme.c +2 -1
index f7e2e172a68d..ae8ff2cdf1ff 100644

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

net/xfrm/xfrm_policy.c +3 -1
index fadb309b25b4..39910d4eff62 100644

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

scripts/kconfig/merge_config.sh +2 -0
index 63c8565206a4..d7d5c58b8b6a 100755

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

scripts/kconfig/qconf.cc +1 -1
index f7eb093614f2..b889fe604e42 100644

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

security/Kconfig +32 -0
index 9893c316da89..b49370d4f466 100644

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

security/selinux/hooks.c +2 -1
index 46c00a68bb4b..90935ed3d8d8 100644

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

security/smack/smack_lsm.c +2 -1
index 92bc6c9d793d..cb4801fcf9a8 100644

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

security/smack/smackfs.c +1 -1
index 8403c91a6b29..44f0b5148a5b 100644

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

security/tomoyo/domain.c +6 -3
index dc4ecc0b2038..2e00a2d6f343 100644

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

sound/core/init.c +10 -4
index b6dd43005c27..476ab6df3aeb 100644

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

sound/core/oss/mixer_oss.c +2 -2
index bfed82a3a188..eb1a6229a31c 100644

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

sound/pci/asihpi/hpimsgx.c +1 -1
index f7427f8eb630..761fc62f68f1 100644

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

sound/pci/hda/hda_generic.c +2 -2
index 733dc9953a38..d697041a8529 100644

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

sound/pci/hda/hda_intel.c +1 -1
index a3c6a5eeba3a..b92095bb28c3 100644

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

sound/pci/hda/patch_conexant.c +19 -5
index d908a39af9f5..4046ce3db4b5 100644

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

sound/pci/hda/patch_realtek.c +53 -25

78 lines not on this page · raw message

sound/pci/rme9652/hdsp.c +4 -2
index 954347424500..f592eb7a5d1b 100644

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

sound/pci/rme9652/hdspm.c +4 -2
index 51c3c6a08a1c..04f9d92af46c 100644

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

sound/soc/au1x/db1200.c +1 -0
index 5f8baad37a40..48243164b7ac 100644

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

sound/soc/codecs/rt5682.c +3 -1
index 113ed00ddf1e..d62212791dff 100644

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

sound/soc/codecs/tda7419.c +1 -0
index 83d220054c96..9183db51547d 100644

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

sound/soc/intel/keembay/kmb_platform.c +1 -0
index 291a686568c2..c7b754034d24 100644

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

sound/soc/meson/axg-card.c +2 -1
index 2b77010c2c5c..985dbe1805e3 100644

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

sound/usb/card.c +6 -0
index 6b172db58a31..476694ffc393 100644

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

sound/usb/line6/podhd.c +1 -1
index b24bc82f89e3..a933a0241524 100644

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

sound/usb/quirks-table.h +77 -0

77 lines not on this page · raw message

tools/iio/iio_generic_buffer.c +4 -0
index 2fd10eab75b5..5ef09ac6e7cf 100644

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

tools/perf/builtin-sched.c +6 -2
index 02e5774cabb6..4f8658f5f9de 100644

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

tools/perf/util/time-utils.c +2 -2
index 302443921681..1b91ccd4d523 100644

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

tools/testing/ktest/ktest.pl +1 -1
index f72da30795dd..f260b455b74d 100755

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

tools/testing/selftests/bpf/bench.c +1 -0
index 332ed2f7b402..0a257dd3e027 100644

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

tools/testing/selftests/bpf/map_tests/sk_storage_map.c +1 -1
index e569edc679d8..9228e33cc0db 100644

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

tools/testing/selftests/bpf/prog_tests/flow_dissector.c +1 -0
index cd6dc80edf18..5518bbf370bf 100644

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

tools/testing/selftests/bpf/prog_tests/kfree_skb.c +1 -0
index 42c3a3103c26..a37b1d663f96 100644

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

tools/testing/selftests/bpf/prog_tests/tcp_rtt.c +1 -0
index d207e968e6b1..dee68ef976ae 100644

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

tools/testing/selftests/bpf/progs/cg_storage_multi.h +0 -2
index a0778fe7857a..41d59f0ee606 100644

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

tools/testing/selftests/bpf/test_cpp.cpp +4 -0
index a8d2e9a87fbf..6edcb541cc90 100644

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

tools/testing/selftests/bpf/test_lru_map.c +2 -1
index 6a5349f9eb14..7748d28e8b97 100644

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

tools/testing/selftests/breakpoints/step_after_suspend_test.c +4 -1
index 2cf6f10ab7c4..fc02918962c7 100644

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

tools/testing/selftests/net/fcnal-test.sh +1 -1
index e13b0fb63333..acffe0029fdd 100755

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

tools/testing/selftests/vDSO/parse_vdso.c +2 -1
index 4ae417372e9e..d9ccc5acac18 100644

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

tools/testing/selftests/vm/charge_reserved_hugetlb.sh +1 -1
index d0107f8ae621..28192ec98498 100644

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

tools/testing/selftests/vm/write_to_hugetlbfs.c +12 -9
index 6a2caba19ee1..1289d311efd7 100644

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.