Skip to contentSkip to conversation

Linux 5.0.20

DISCUSSION Greg KH 1 participant 2 messages May 31, 2019 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.0.20 kernel.

All users of the 5.0 kernel series must upgrade.

The updated 5.0.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.0.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

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

 Documentation/arm64/silicon-errata.txt                             |    1 
 Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt             |    6 
 Makefile                                                           |    2 
 arch/arm/include/asm/cp15.h                                        |    2 
 arch/arm/vdso/vgettimeofday.c                                      |    5 
 arch/arm64/Kconfig                                                 |   18 +
 arch/arm64/include/asm/cpucaps.h                                   |    3 
 arch/arm64/include/asm/pgtable.h                                   |    3 
 arch/arm64/include/asm/vdso_datapage.h                             |    1 
 arch/arm64/kernel/asm-offsets.c                                    |    2 
 arch/arm64/kernel/cpu_errata.c                                     |   24 +
 arch/arm64/kernel/cpu_ops.c                                        |    1 
 arch/arm64/kernel/kaslr.c                                          |    6 
 arch/arm64/kernel/module.c                                         |    2 
 arch/arm64/kernel/syscall.c                                        |   31 ++
 arch/arm64/kernel/vdso.c                                           |    3 
 arch/arm64/kernel/vdso/gettimeofday.S                              |    7 
 arch/arm64/mm/dma-mapping.c                                        |   10 
 arch/arm64/mm/fault.c                                              |   37 ++
 arch/powerpc/boot/addnote.c                                        |    6 
 arch/powerpc/kernel/head_64.S                                      |    4 
 arch/powerpc/kernel/watchdog.c                                     |   81 ++---
 arch/powerpc/mm/numa.c                                             |   18 -
 arch/powerpc/perf/imc-pmu.c                                        |    7 
 arch/powerpc/platforms/powernv/opal-imc.c                          |    2 
 arch/s390/kernel/kexec_elf.c                                       |    7 
 arch/s390/mm/pgtable.c                                             |    2 
 arch/sh/include/cpu-sh4/cpu/sh7786.h                               |    2 
 arch/x86/Makefile                                                  |    2 
 arch/x86/events/intel/cstate.c                                     |    2 
 arch/x86/events/intel/rapl.c                                       |    2 
 arch/x86/events/msr.c                                              |    1 
 arch/x86/ia32/ia32_signal.c                                        |   29 +-
 arch/x86/include/asm/text-patching.h                               |    4 
 arch/x86/include/asm/uaccess.h                                     |    7 
 arch/x86/kernel/alternative.c                                      |   28 +-
 arch/x86/kernel/cpu/hygon.c                                        |    5 
 arch/x86/kernel/cpu/mce/core.c                                     |   66 +++-
 arch/x86/kernel/cpu/mce/inject.c                                   |   14 -
 arch/x86/kernel/cpu/microcode/core.c                               |    3 
 arch/x86/kernel/ftrace.c                                           |    8 
 arch/x86/kernel/irq_64.c                                           |   19 +
 arch/x86/kernel/module.c                                           |    2 
 arch/x86/kernel/signal.c                                           |   29 +-
 arch/x86/kernel/vmlinux.lds.S                                      |    6 
 arch/x86/kvm/svm.c                                                 |    6 
 arch/x86/kvm/x86.c                                                 |    2 
 arch/x86/lib/memcpy_64.S                                           |    3 
 arch/x86/mm/fault.c                                                |    2 
 block/blk-mq-sched.c                                               |   12 
 block/blk-mq.c                                                     |  139 +++++-----
 block/blk.h                                                        |    2 
 block/genhd.c                                                      |   19 +
 block/partition-generic.c                                          |    7 
 block/sed-opal.c                                                   |    9 
 crypto/hmac.c                                                      |    2 
 drivers/acpi/arm64/iort.c                                          |   19 +
 drivers/acpi/property.c                                            |    8 
 drivers/base/power/main.c                                          |    4 
 drivers/bluetooth/btbcm.c                                          |    4 
 drivers/bluetooth/hci_qca.c                                        |    2 
 drivers/char/hw_random/omap-rng.c                                  |    1 
 drivers/char/random.c                                              |   57 ++--
 drivers/char/virtio_console.c                                      |    3 
 drivers/clk/renesas/r8a774a1-cpg-mssr.c                            |    8 
 drivers/clk/renesas/r8a774c0-cpg-mssr.c                            |    2 
 drivers/clk/renesas/r8a7795-cpg-mssr.c                             |    8 
 drivers/clk/renesas/r8a7796-cpg-mssr.c                             |    8 
 drivers/clk/renesas/r8a77965-cpg-mssr.c                            |    8 
 drivers/clk/renesas/r8a77990-cpg-mssr.c                            |    2 
 drivers/clk/renesas/r8a77995-cpg-mssr.c                            |    2 
 drivers/clk/rockchip/clk-rk3288.c                                  |   21 -
 drivers/clk/zynqmp/divider.c                                       |    9 
 drivers/cpufreq/cpufreq.c                                          |    1 
 drivers/cpufreq/cpufreq_governor.c                                 |    2 
 drivers/cpufreq/imx6q-cpufreq.c                                    |    4 
 drivers/cpufreq/kirkwood-cpufreq.c                                 |   19 -
 drivers/cpufreq/pasemi-cpufreq.c                                   |    1 
 drivers/cpufreq/pmac32-cpufreq.c                                   |    2 
 drivers/cpufreq/ppc_cbe_cpufreq.c                                  |    1 
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c                            |    5 
 drivers/crypto/vmx/aesp8-ppc.pl                                    |    2 
 drivers/devfreq/devfreq.c                                          |    4 
 drivers/dma/at_xdmac.c                                             |    6 
 drivers/dma/pl330.c                                                |   10 
 drivers/dma/tegra210-adma.c                                        |   28 --
 drivers/extcon/extcon-arizona.c                                    |   10 
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c                          |   24 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                  |    5 
 drivers/gpu/drm/amd/display/dc/core/dc.c                           |   15 +
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c                  |    6 
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c              |   20 +
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c          |   12 
 drivers/gpu/drm/drm_atomic_state_helper.c                          |    4 
 drivers/gpu/drm/drm_drv.c                                          |    5 
 drivers/gpu/drm/drm_file.c                                         |    1 
 drivers/gpu/drm/drm_writeback.c                                    |   14 -
 drivers/gpu/drm/etnaviv/etnaviv_drv.c                              |    5 
 drivers/gpu/drm/etnaviv/etnaviv_drv.h                              |    1 
 drivers/gpu/drm/msm/adreno/a5xx_gpu.c                              |   10 
 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c                        |   15 -
 drivers/gpu/drm/msm/msm_gem_vma.c                                  |    2 
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c                     |   12 
 drivers/gpu/drm/omapdrm/dss/dsi.c                                  |   60 ++--
 drivers/gpu/drm/omapdrm/omap_connector.c                           |   28 +-
 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c                   |    3 
 drivers/gpu/drm/pl111/pl111_versatile.c                            |    4 
 drivers/gpu/drm/rcar-du/rcar_lvds.c                                |    8 
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c                             |    8 
 drivers/gpu/drm/tinydrm/ili9225.c                                  |    6 
 drivers/gpu/drm/tinydrm/mipi-dbi.c                                 |   58 +++-
 drivers/gpu/drm/v3d/v3d_drv.c                                      |    8 
 drivers/gpu/drm/v3d/v3d_drv.h                                      |    2 
 drivers/gpu/drm/v3d/v3d_irq.c                                      |   13 
 drivers/hid/hid-core.c                                             |   36 +-
 drivers/hid/hid-logitech-hidpp.c                                   |   23 +
 drivers/hwmon/f71805f.c                                            |   15 -
 drivers/hwmon/pc87427.c                                            |   14 -
 drivers/hwmon/smsc47b397.c                                         |   13 
 drivers/hwmon/smsc47m1.c                                           |   28 +-
 drivers/hwmon/vt1211.c                                             |   15 -
 drivers/iio/adc/Kconfig                                            |    1 
 drivers/iio/adc/ad_sigma_delta.c                                   |   16 -
 drivers/iio/adc/ti-ads7950.c                                       |   19 +
 drivers/iio/common/ssp_sensors/ssp_iio.c                           |    2 
 drivers/iio/magnetometer/hmc5843_i2c.c                             |    7 
 drivers/iio/magnetometer/hmc5843_spi.c                             |    7 
 drivers/infiniband/core/cma.c                                      |   25 +
 drivers/infiniband/hw/cxgb4/cm.c                                   |    2 
 drivers/infiniband/hw/hfi1/init.c                                  |    3 
 drivers/infiniband/hw/hns/hns_roce_ah.c                            |    2 
 drivers/md/bcache/alloc.c                                          |    5 
 drivers/md/bcache/journal.c                                        |   26 +
 drivers/md/bcache/super.c                                          |   25 +
 drivers/media/common/videobuf2/videobuf2-core.c                    |   22 +
 drivers/media/dvb-frontends/m88ds3103.c                            |    9 
 drivers/media/dvb-frontends/si2165.c                               |    8 
 drivers/media/i2c/ov2659.c                                         |    6 
 drivers/media/i2c/ov6650.c                                         |   25 +
 drivers/media/pci/saa7146/hexium_gemini.c                          |    5 
 drivers/media/pci/saa7146/hexium_orion.c                           |    5 
 drivers/media/platform/coda/coda-bit.c                             |    3 
 drivers/media/platform/stm32/stm32-dcmi.c                          |   20 +
 drivers/media/platform/video-mux.c                                 |    5 
 drivers/media/platform/vim2m.c                                     |   35 +-
 drivers/media/platform/vimc/vimc-core.c                            |    2 
 drivers/media/platform/vimc/vimc-streamer.c                        |    2 
 drivers/media/platform/vivid/vivid-vid-cap.c                       |    2 
 drivers/media/radio/wl128x/fmdrv_common.c                          |    7 
 drivers/media/rc/serial_ir.c                                       |    9 
 drivers/media/usb/au0828/au0828-video.c                            |   16 -
 drivers/media/usb/cpia2/cpia2_v4l.c                                |    3 
 drivers/media/usb/dvb-usb-v2/dvbsky.c                              |   18 -
 drivers/media/usb/go7007/go7007-fw.c                               |    4 
 drivers/media/usb/gspca/gspca.c                                    |   12 
 drivers/media/usb/pvrusb2/pvrusb2-hdw.c                            |    2 
 drivers/media/usb/pvrusb2/pvrusb2-hdw.h                            |    1 
 drivers/media/v4l2-core/v4l2-fwnode.c                              |    6 
 drivers/mmc/core/pwrseq_emmc.c                                     |   38 +-
 drivers/mmc/core/sd.c                                              |    8 
 drivers/mmc/host/mmc_spi.c                                         |    4 
 drivers/mmc/host/sdhci-iproc.c                                     |    6 
 drivers/mmc/host/sdhci-of-esdhc.c                                  |    8 
 drivers/net/ethernet/amazon/ena/ena_netdev.c                       |   27 +
 drivers/net/ethernet/chelsio/cxgb3/l2t.h                           |    2 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c                    |   15 -
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c                   |    7 
 drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h                    |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c                    |   20 +
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c                 |    5 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c             |   11 
 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c           |   13 
 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c          |   12 
 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c           |    7 
 drivers/net/ethernet/intel/e1000e/netdev.c                         |    2 
 drivers/net/ethernet/intel/i40e/i40e_main.c                        |    8 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c                 |    6 
 drivers/net/ethernet/intel/ice/ice_main.c                          |   25 +
 drivers/net/ethernet/intel/igb/igb_main.c                          |    3 
 drivers/net/ethernet/ti/cpsw.c                                     |   12 
 drivers/net/ethernet/ti/cpsw_ale.c                                 |   19 -
 drivers/net/ethernet/ti/cpsw_ale.h                                 |    3 
 drivers/net/hyperv/netvsc.c                                        |   15 -
 drivers/net/phy/phy_device.c                                       |   16 +
 drivers/net/usb/qmi_wwan.c                                         |   65 ++--
 drivers/net/wireless/ath/wil6210/cfg80211.c                        |    5 
 drivers/net/wireless/ath/wil6210/wmi.c                             |   11 
 drivers/net/wireless/atmel/at76c50x-usb.c                          |    4 
 drivers/net/wireless/broadcom/b43/phy_lp.c                         |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c        |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c            |   15 -
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h            |   16 -
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c        |   42 +--
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c          |    2 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c             |   27 +
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c          |    5 
 drivers/net/wireless/intel/iwlwifi/pcie/rx.c                       |    7 
 drivers/net/wireless/marvell/mwifiex/cfg80211.c                    |    6 
 drivers/net/wireless/marvell/mwifiex/cfp.c                         |    3 
 drivers/net/wireless/realtek/rtlwifi/base.c                        |    5 
 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c                |    2 
 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c          |    2 
 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c                |    2 
 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c                |    2 
 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c                |    2 
 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c                |    4 
 drivers/net/wireless/rsi/rsi_91x_mac80211.c                        |   30 +-
 drivers/net/wireless/st/cw1200/main.c                              |    5 
 drivers/nvdimm/pmem.c                                              |   10 
 drivers/nvme/host/core.c                                           |    7 
 drivers/nvme/host/rdma.c                                           |   10 
 drivers/nvme/host/tcp.c                                            |    8 
 drivers/perf/arm-cci.c                                             |   21 -
 drivers/phy/allwinner/phy-sun4i-usb.c                              |    4 
 drivers/phy/motorola/Kconfig                                       |    2 
 drivers/pinctrl/pinctrl-pistachio.c                                |    2 
 drivers/pinctrl/pinctrl-st.c                                       |   15 -
 drivers/pinctrl/samsung/pinctrl-exynos-arm.c                       |    1 
 drivers/pinctrl/zte/pinctrl-zx.c                                   |    1 
 drivers/regulator/core.c                                           |    3 
 drivers/regulator/da9055-regulator.c                               |    2 
 drivers/regulator/da9062-regulator.c                               |    2 
 drivers/regulator/da9063-regulator.c                               |    5 
 drivers/regulator/da9211-regulator.c                               |    4 
 drivers/regulator/lp8755.c                                         |   15 -
 drivers/regulator/ltc3589.c                                        |   10 
 drivers/regulator/ltc3676.c                                        |   10 
 drivers/regulator/pv88060-regulator.c                              |    4 
 drivers/regulator/pv88080-regulator.c                              |    4 
 drivers/regulator/pv88090-regulator.c                              |    4 
 drivers/regulator/wm831x-dcdc.c                                    |    4 
 drivers/regulator/wm831x-isink.c                                   |    2 
 drivers/regulator/wm831x-ldo.c                                     |    2 
 drivers/rtc/rtc-88pm860x.c                                         |    2 
 drivers/rtc/rtc-stm32.c                                            |    9 
 drivers/rtc/rtc-xgene.c                                            |   18 -
 drivers/s390/cio/cio.h                                             |    2 
 drivers/s390/cio/vfio_ccw_drv.c                                    |   32 +-
 drivers/s390/cio/vfio_ccw_ops.c                                    |   11 
 drivers/s390/crypto/zcrypt_api.c                                   |    4 
 drivers/s390/net/qeth_core.h                                       |   10 
 drivers/s390/net/qeth_core_main.c                                  |   14 -
 drivers/scsi/libsas/sas_expander.c                                 |    5 
 drivers/scsi/lpfc/lpfc_ct.c                                        |   22 +
 drivers/scsi/lpfc/lpfc_hbadisc.c                                   |   15 +
 drivers/scsi/lpfc/lpfc_nvme.c                                      |    8 
 drivers/scsi/lpfc/lpfc_sli.c                                       |    2 
 drivers/scsi/qedf/qedf_io.c                                        |    1 
 drivers/scsi/qedi/qedi_iscsi.c                                     |    3 
 drivers/scsi/qla2xxx/qla_isr.c                                     |    6 
 drivers/scsi/qla2xxx/qla_target.c                                  |   25 -
 drivers/scsi/qla2xxx/tcm_qla2xxx.c                                 |    7 
 drivers/scsi/qla4xxx/ql4_os.c                                      |    2 
 drivers/scsi/sd.c                                                  |    3 
 drivers/scsi/ufs/ufs-hisi.c                                        |    4 
 drivers/scsi/ufs/ufshcd.c                                          |   28 +-
 drivers/slimbus/qcom-ngd-ctrl.c                                    |    4 
 drivers/spi/atmel-quadspi.c                                        |    6 
 drivers/spi/spi-imx.c                                              |    2 
 drivers/spi/spi-pxa2xx.c                                           |    8 
 drivers/spi/spi-rspi.c                                             |    9 
 drivers/spi/spi-stm32-qspi.c                                       |   46 ++-
 drivers/spi/spi-tegra114.c                                         |   32 +-
 drivers/spi/spi-topcliff-pch.c                                     |   15 -
 drivers/spi/spi.c                                                  |    2 
 drivers/ssb/bridge_pcmcia_80211.c                                  |    9 
 drivers/staging/media/davinci_vpfe/Kconfig                         |    2 
 drivers/staging/media/ipu3/ipu3.c                                  |    2 
 drivers/staging/media/sunxi/cedrus/cedrus.h                        |    3 
 drivers/staging/media/sunxi/cedrus/cedrus_hw.c                     |    3 
 drivers/staging/mt7621-mmc/sd.c                                    |   27 +
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c |    3 
 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c     |    2 
 drivers/thunderbolt/icm.c                                          |    5 
 drivers/thunderbolt/property.c                                     |   12 
 drivers/thunderbolt/switch.c                                       |   67 ++--
 drivers/thunderbolt/tb.h                                           |    3 
 drivers/thunderbolt/xdomain.c                                      |    8 
 drivers/tty/ipwireless/main.c                                      |    8 
 drivers/usb/core/hcd.c                                             |    3 
 drivers/usb/core/hub.c                                             |    5 
 drivers/usb/dwc2/gadget.c                                          |   27 +
 drivers/usb/dwc3/core.c                                            |    2 
 drivers/usb/dwc3/gadget.c                                          |    2 
 drivers/usb/gadget/function/f_fs.c                                 |    3 
 drivers/video/fbdev/core/fbcmap.c                                  |    2 
 drivers/video/fbdev/core/modedb.c                                  |    3 
 drivers/video/fbdev/efifb.c                                        |    3 
 drivers/w1/w1_io.c                                                 |    3 
 drivers/xen/biomerge.c                                             |    5 
 fs/afs/xattr.c                                                     |   15 -
 fs/btrfs/backref.c                                                 |   19 -
 fs/btrfs/extent-tree.c                                             |   28 --
 fs/btrfs/file.c                                                    |   19 +
 fs/btrfs/relocation.c                                              |   31 +-
 fs/btrfs/root-tree.c                                               |   17 -
 fs/btrfs/sysfs.c                                                   |    7 
 fs/btrfs/tree-log.c                                                |    1 
 fs/char_dev.c                                                      |    6 
 fs/cifs/cifsglob.h                                                 |    1 
 fs/cifs/cifssmb.c                                                  |    2 
 fs/cifs/transport.c                                                |   10 
 fs/ext4/inode.c                                                    |   23 -
 fs/gfs2/glock.c                                                    |   23 +
 fs/gfs2/incore.h                                                   |    1 
 fs/gfs2/lock_dlm.c                                                 |    9 
 fs/gfs2/log.c                                                      |    3 
 fs/gfs2/lops.c                                                     |    6 
 fs/gfs2/super.c                                                    |    8 
 fs/internal.h                                                      |    2 
 fs/nfs/client.c                                                    |    7 
 fs/nfs/nfs4file.c                                                  |    2 
 fs/overlayfs/dir.c                                                 |    2 
 fs/overlayfs/inode.c                                               |    3 
 include/crypto/hash.h                                              |    8 
 include/drm/tinydrm/mipi-dbi.h                                     |    5 
 include/linux/bio.h                                                |    2 
 include/linux/cgroup-defs.h                                        |    5 
 include/linux/filter.h                                             |    1 
 include/linux/genhd.h                                              |    1 
 include/linux/hid.h                                                |    1 
 include/linux/iio/adc/ad_sigma_delta.h                             |    1 
 include/linux/mount.h                                              |    2 
 include/linux/overflow.h                                           |   12 
 include/linux/rcupdate.h                                           |    6 
 include/linux/smpboot.h                                            |    2 
 include/linux/time64.h                                             |   21 +
 include/media/videobuf2-core.h                                     |    1 
 include/net/bluetooth/hci.h                                        |    1 
 include/xen/xen.h                                                  |    4 
 kernel/acct.c                                                      |    4 
 kernel/auditfilter.c                                               |   12 
 kernel/auditsc.c                                                   |   10 
 kernel/bpf/devmap.c                                                |    3 
 kernel/cgroup/cgroup.c                                             |    6 
 kernel/irq_work.c                                                  |   75 +++--
 kernel/jump_label.c                                                |   21 -
 kernel/module.c                                                    |    5 
 kernel/rcu/rcuperf.c                                               |    5 
 kernel/rcu/rcutorture.c                                            |    5 
 kernel/sched/core.c                                                |    9 
 kernel/sched/fair.c                                                |   16 -
 kernel/sched/rt.c                                                  |    5 
 kernel/time/time.c                                                 |    2 
 kernel/time/timekeeping.c                                          |    6 
 kernel/trace/trace_branch.c                                        |    4 
 lib/kobject_uevent.c                                               |   11 
 lib/sbitmap.c                                                      |    2 
 lib/strncpy_from_user.c                                            |    5 
 lib/strnlen_user.c                                                 |    4 
 net/batman-adv/distributed-arp-table.c                             |    4 
 net/batman-adv/main.c                                              |    1 
 net/batman-adv/multicast.c                                         |   11 
 net/batman-adv/types.h                                             |    5 
 net/bluetooth/hci_core.c                                           |    5 
 net/bluetooth/hci_event.c                                          |   12 
 net/bluetooth/hci_request.c                                        |    5 
 net/bluetooth/hci_request.h                                        |    1 
 net/mac80211/mlme.c                                                |    3 
 net/netfilter/nf_conntrack_netlink.c                               |    2 
 net/wireless/nl80211.c                                             |    5 
 samples/bpf/asm_goto_workaround.h                                  |    1 
 security/selinux/netlabel.c                                        |   14 -
 sound/pci/hda/hda_codec.c                                          |    8 
 sound/soc/codecs/hdmi-codec.c                                      |    6 
 sound/soc/fsl/Kconfig                                              |    9 
 sound/soc/fsl/eukrea-tlv320.c                                      |    4 
 sound/soc/fsl/fsl_sai.c                                            |    2 
 sound/soc/fsl/fsl_utils.c                                          |    1 
 sound/soc/intel/boards/kbl_da7219_max98357a.c                      |    2 
 sound/soc/ti/Kconfig                                               |    4 
 sound/soc/ti/davinci-mcasp.c                                       |    2 
 tools/bpf/bpftool/.gitignore                                       |    2 
 tools/lib/bpf/bpf.c                                                |    2 
 tools/lib/bpf/bpf.h                                                |    1 
 tools/testing/selftests/bpf/test_libbpf_open.c                     |    2 
 tools/testing/selftests/bpf/trace_helpers.c                        |    4 
 tools/testing/selftests/cgroup/test_memcontrol.c                   |   38 +-
 378 files changed, 2616 insertions(+), 1201 deletions(-)

Abhi Das (1):
gfs2: fix race between gfs2_freeze_func and unmount

Adam Ludkiewicz (1):
i40e: Able to add up to 16 MAC filters on an untrusted VF

Aditya Pakki (5):
rsi: Fix NULL pointer dereference in kmalloc
thunderbolt: Fix to check the return value of kmemdup
thunderbolt: Fix to check return value of ida_simple_get
thunderbolt: Fix to check for kmemdup failure spi : spi-topcliff-pch: Fix to handle empty DMA buffers

Akinobu Mita (1):
media: ov2659: make S_FMT succeed even if requested format doesn't match

Al Viro (1):
acct_on(): don't mess with freeze protection

Alan Stern (1):
USB: core: Don't unbind interfaces following device reset failure

Alexander Potapenko (1):

      media: vivid: use vfree() instead of kfree() for dev->bitmap_cap

Alexandre Belloni (1):
rtc: xgene: fix possible race condition

Alexei Starovoitov (1):
samples/bpf: fix build with new clang

Amir Goldstein (1):
ovl: relax WARN_ON() for overlapping layers use case

Andrea Merello (1):
mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers

Andrea Parri (2):
bio: fix improper use of smp_mb__before_atomic()
sbitmap: fix improper use of smp_mb__before_atomic()

Andreas Gruenbacher (2):
gfs2: Fix sign extension bug in gfs2_update_stats
gfs2: Fix occasional glock use-after-free

Anju T Sudhakar (2):
powerpc/perf: Return accordingly on invalid chip-id in powerpc/perf: Fix loop exit condition in nest_imc_event_init

Ard Biesheuvel (2):
arm64/kernel: kaslr: reduce module randomization range to 2 GB
efifb: Omit memory map check on legacy boot

Arend van Spriel (2):
brcmfmac: assure SSID length from firmware is limited
brcmfmac: add subtype check for event handling in data path

Arnd Bergmann (16):
ASoC: imx: fix fiq dependencies
s390: qeth: address type mismatch warning
bcache: avoid clang -Wunintialized warning
phy: mapphone-mdm6600: add gpiolib dependency
s390: zcrypt: initialize variables before_use
s390: cio: fix cio_irb declaration
b43: shut up clang -Wuninitialized variable warning
scsi: qla4xxx: avoid freeing unallocated dma memory
scsi: lpfc: avoid uninitialized variable warning
selinux: avoid uninitialized variable warning
media: staging/intel-ipu3: mark PM function as __maybe_unused
media: staging: davinci_vpfe: disallow building with COMPILE_TEST
media: go7007: avoid clang frame overflow warning with KASAN
media: saa7146: avoid high stack usage with clang
ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
ASoC: ti: fix davinci_mcasp_probe dependencies

Balakrishna Godavarthi (1):
Bluetooth: hci_qca: Give enough time to ROME controller to bootup.

Bard liao (1):
ALSA: hda: fix unregister device twice on ASoC driver

Bart Van Assche (4):
scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
scsi: qla2xxx: Fix hardirq-unsafe locking

Benjamin Coddington (1):
NFS: Fix a double unlock from nfs_match,get_client

Bo YU (1):
powerpc/boot: Fix missing check of lseek() return value

Borislav Petkov (1):
x86/microcode: Fix the ancient deprecated microcode loading method

Brett Creeley (1):
ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset

Chad Dupuis (1):
scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check

Charles Keepax (2):
extcon: arizona: Disable mic detect if running when driver is removed
regulator: core: Avoid potential deadlock on regulator_unregister

Chengguang Xu (1):
chardev: add additional check for minor range overlap

Chris Lesiak (1):
spi: Fix zero length xfer bug

Chris Wilson (1):
drm: Wake up next in drm_read() chain if we are forced to putback the event

Christian König (1):
drm/amdgpu: fix old fence check in amdgpu_fence_emit

Christoph Hellwig (1):

      arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable

Claudiu Beznea (1):
spi: atmel-quadspi: fix crash while suspending

Colin Ian King (1):
RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure

Coly Li (2):
bcache: return error immediately in bch_journal_replay()
bcache: add failure check to run_cache_set() for journal replay

Corentin Labbe (1):
crypto: sun4i-ss - Fix invalid calculation of hash end

Dan Carpenter (4):
brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
mwifiex: prevent an array overflow
media: pvrusb2: Prevent a buffer overflow
media: wl128x: prevent two potential buffer overflows

Dan Williams (1):
libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead

Daniel Axtens (1):
crypto: vmx - CTR: always increment IV as quadword

Daniel Baluta (1):
ASoC: fsl_sai: Update is_slave_mode with correct value

Daniel T. Lee (2):
libbpf: fix samples/bpf build failure due to undefined UINT32_MAX selftests/bpf: ksym_search won't check symbols exists

Dave Ertman (1):
ice: Prevent unintended multiple chain resets

David Howells (1):
afs: Fix getting the afs.fid xattr

David Kozub (1):
block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR

David Sterba (1):
Revert "btrfs: Honour FITRIM range constraints during free space trim"

Dmytro Laktyushkin (1):
drm/amd/display: fix releasing planes when exiting odm

Douglas Anderson (3):
clk: rockchip: undo several noc and special clocks as critical on rk3288
clk: rockchip: Fix video codec clocks on rk3288
clk: rockchip: Make rkpwm a critical clock on rk3288

Enric Balletbo i Serra (1):
PM / devfreq: Fix static checker warning in try_then_request_governor

Eric Anholt (1):
drm/v3d: Handle errors from IRQ setup.

Eric Biggers (1):
crypto: hash - fix incorrect HASH_MAX_DESCSIZE

Eric Dumazet (1):
bpf: devmap: fix use-after-free Read in __dev_map_entry_free

Evan Green (1):
dt-bindings: phy-qcom-qmp: Add UFS PHY reset

Ezequiel Garcia (1):
media: gspca: Kill URBs on USB device disconnect

Fabien Dessenne (2):
media: stm32-dcmi: return appropriate error codes during probe
rtc: stm32: manage the get_irq probe defer case

Fabrice Gasnier (1):
iio: adc: stm32-dfsdm: fix unmet direct dependencies detected

Farhan Ali (3):
vfio-ccw: Do not call flush_workqueue while holding the spinlock
vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
vfio-ccw: Prevent quiesce function going into an infinite loop

Fei Yang (1):
usb: gadget: f_fs: don't free buffer prematurely

Ferry Toth (1):
Bluetooth: btbcm: Add default address for BCM43341B

Filipe Manana (3):
Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
Btrfs: avoid fallback to transaction commit during fsync of files with holes
Btrfs: fix race between ranged fsync and writeback of adjacent ranges

Flavio Suligoi (1):
spi: pxa2xx: fix SCR (divisor) calculation

Geert Uytterhoeven (2):
sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
spi: rspi: Fix sequencer reset during initialization

George Hilliard (2):
staging: mt7621-mmc: Initialize completions a single time during probe
staging: mt7621-mmc: Check for nonzero number of scatterlist entries

Greg Kroah-Hartman (1):

      Linux 5.0.20

Grygorii Strashko (1):
net: ethernet: ti: cpsw: fix allmulti cfg in dual_mac mode

Guenter Roeck (5):
hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
hwmon: (f71805f) Use request_muxed_region for Super-IO accesses

Gustavo A. R. Silva (1):
cxgb3/l2t: Fix undefined behaviour

Haiyang Zhang (1):
hv_netvsc: fix race that may miss tx queue wakeup

Hans Verkuil (5):
media: vb2: add waiting_in_dqbuf flag
media: au0828: stop video streaming only when last user stops
media: gspca: do not resubmit URBs when streaming has stopped
media: vimc: zero the media_device on probe
media: vim2m: replace devm_kzalloc by kzalloc

Hans de Goede (2):
HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent

Heiner Kallweit (1):
net: phy: improve genphy_soft_reset

Helen Fornazier (1):
media: vimc: stream: fix thread state before sleep

Huazhong Tan (4):
net: hns3: use atomic_t replace u32 for arq's count
net: hns3: fix keep_alive_timer not stop problem
net: hns3: add error handler for initializing command queue
net: hns3: check resetting status in hns3_get_stats()

Hugues Fruchet (1):
media: stm32-dcmi: fix crash when subdev do not expose any formats

Ioana Ciocoi Radulescu (1):
dpaa2-eth: Fix Rx classification status

James Hutchinson (1):
media: m88ds3103: serialize reset messages in m88ds3103_set_frontend

James Smart (4):
scsi: lpfc: Fix FDMI manufacturer attribute value
scsi: lpfc: Fix fc4type information for FDMI
scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
scsi: lpfc: Fix use-after-free mailbox cmd completion

Jan Kara (2):
ext4: do not delete unlinked inode from orphan list on failed truncate
ext4: wait for outstanding dio during truncate in nojournal mode

Janusz Krzysztofik (1):

      media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper

Jernej Skrabec (1):
media: cedrus: Add a quirk for not setting DMA offset

Jerome Brunet (1):
ASoC: hdmi-codec: unlock the device on startup errors

Jeykumar Sankaran (1):
drm/msm/dpu: release resources on modeset failure

Jian Shen (1):
net: hns3: add protect when handling mac addr list

Jiri Kosina (1):
x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()

Jiufei Xue (1):
fbdev: fix WARNING in __alloc_pages_nodemask bug

Johannes Berg (1):
iwlwifi: pcie: don't crash on invalid RX interrupt

John Garry (1):
scsi: libsas: Do discovery on empty PHY to update PHY info

Jon DeVree (1):
random: fix CRNG initialization when random.trust_cpu=1

Jon Derrick (1):
drm/nouveau/bar/nv50: ensure BAR is mapped

Josef Bacik (3):
btrfs: don't double unlock on error in btrfs_punch_hole
btrfs: honor path->skip_locking in backref code
btrfs: fix panic during relocation after ENOSPC before writeback happens

João Paulo Rechi Vita (1):
Bluetooth: Ignore CC events not matching the last HCI command

Julian Wiedmann (1):
s390/qeth: handle error from qeth_update_from_chp_desc()

Justin Chen (1):
iio: adc: ti-ads7950: Fix improper use of mlock

Kai-Heng Feng (2):
e1000e: Disable runtime PM on CNP+
igb: Exclude device from suspend direct complete optimization

Kan Liang (3):
perf/x86/msr: Add Icelake support
perf/x86/intel/rapl: Add Icelake support
perf/x86/intel/cstate: Add Icelake support

Kangjie Lu (12):
slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
net: cw1200: fix a NULL pointer dereference
mmc_spi: add a status check for spi_sync_locked
iio: hmc5843: fix potential NULL pointer dereferences
rtlwifi: fix a potential NULL pointer dereference
brcmfmac: fix missing checks for kmemdup
media: video-mux: fix null pointer dereferences
thunderbolt: property: Fix a missing check of kzalloc
tty: ipwireless: fix missing checks for ioremap
thunderbolt: property: Fix a NULL pointer dereference
media: si2165: fix a missing check of return value
scsi: ufs: fix a missing check of devm_reset_control_get

Kees Cook (2):
x86/build: Move _etext to actual end of .text x86/build: Keep local relocations with ld.lld

Kefeng Wang (1):
ACPI/IORT: Reject platform device creation on NUMA node mapping failure

Konstantin Khlebnikov (3):
sched/core: Check quota and period overflow at usec to nsec conversion sched/rt: Check integer overflow at usec to nsec conversion sched/core: Handle overflow in cpu_shares_write_u64

Kristian Evensen (2):
netfilter: ctnetlink: Resolve conntrack L3-protocol flush regression
qmi_wwan: Add quirk for Quectel dynamic config

Lars-Peter Clausen (1):
iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion

Laurent Pinchart (3):
drm: rcar-du: lvds: Set LVEN and LVRES bits together on D3
drm: writeback: Fix leak of writeback job
drm/omap: Notify all devices in the pipeline of output disconnection

Leon Romanovsky (2):
RDMA/hns: Fix bad endianess of port_pd variable
overflow: Fix -Wtype-limits compilation warnings

Li RongQing (1):
audit: fix a memleak caused by auditing load module

Linus Lüssing (2):
batman-adv: mcast: fix multicast tt/tvlv worker locking
batman-adv: allow updating DAT entry timeouts on incoming ARP Replies

Lior David (1):
wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext

Luca Weiss (1):
drm/msm: Fix NULL pointer dereference

Ludovic Barre (1):
spi: stm32-qspi: add spi_master_put in release function

Mac Chiang (1):

      ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE

Manish Rangankar (1):
scsi: qedi: Abort ep termination if offload not scheduled

Marc Zyngier (1):
ARM: vdso: Remove dependency with the arch_timer driver internals

Marek Szyprowski (1):
usb: dwc3: move synchronize_irq() out of the spinlock protected block

Mariusz Bialonczyk (1):
w1: fix the resume command API

Martin K. Petersen (1):
Revert "scsi: sd: Keep disk read-only when re-reading partition"

Masahiro Yamada (1):
bpftool: exclude bash-completion/bpftool from .gitignore pattern

Maxime Ripard (2):
drm/sun4i: dsi: Change the start delay calculation drm/sun4i: dsi: Enforce boundaries on the start delay

Michael Tretter (1):
clk: zynqmp: fix check for fractional clock

Mika Westerberg (1):
thunderbolt: Take domain lock in switch sysfs attribute callbacks

Mike Marciniszyn (1):
IB/hfi1: Fix WQ_MEM_RECLAIM warning

Minas Harutyunyan (1):
usb: dwc2: gadget: Increase descriptors count for ISOC's

Ming Lei (3):
blk-mq: split blk_mq_alloc_and_init_hctx into two parts
blk-mq: grab .q_usage_counter when queuing request from plug code path
block: pass page to xen_biovec_phys_mergeable

Murton Liu (1):
drm/amd/display: Fix Divide by 0 in memory calculations

Nadav Amit (2):
x86/ftrace: Set trampoline pages as executable x86/modules: Avoid breaking W^X while loading modules

Nathan Chancellor (1):
iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data

Nathan Lynch (1):
powerpc/numa: improve control of topology updates

Neeraj Upadhyay (1):

      rcu: Do a single rhp->func read in rcu_head_after_call_rcu()

Nicholas Kazlauskas (3):
drm/amd/display: Prevent cursor hotspot overflow for RV overlay planes drm/amd/display: Reset alpha state for planes to the correct values drm/amd/display: Set stream->mode_changed when connectors change

Nicholas Mc Guire (1):
staging: vc04_services: handle kzalloc failure

Nicholas Nunley (1):
i40e: don't allow changes to HW VLAN stripping on active port VLANs

Nicholas Piggin (3):
powerpc/watchdog: Use hrtimers for per-CPU heartbeat sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
irq_work: Do not raise an IPI when queueing work on the local CPU

Nicolas Ferre (1):
dmaengine: at_xdmac: remove BUG_ON macro in tasklet

Nicolas Saenz Julienne (1):
HID: core: move Usage Page concatenation to Main item

Noralf Trønnes (2):
tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers drm/drv: Hold ref on parent device during drm_device lifetime

Pankaj Gupta (1):
virtio_console: initialize vtermno value for ports

Paolo Bonzini (1):
KVM: x86: fix return value for reserved EFER

Parav Pandit (1):
RDMA/cma: Consider scope_id while binding to ipv6 ll address

Paul E. McKenney (2):
rcutorture: Fix cleanup path for invalid torture_type strings
rcuperf: Fix cleanup path for invalid perf_type strings

Paul Kocialkowski (1):
phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode

Peng Li (1):
net: hns3: free the pending skb when clean RX ring

Peter Zijlstra (7):
x86/uaccess: Dont leak the AC flag into __put_user() argument evaluation mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions locking/static_key: Fix false positive warnings on concurrent dec/inc x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP x86/uaccess, signal: Fix AC=1 bloat
x86/ia32: Fix ia32_restore_sigcontext() AC leak
x86/uaccess: Fix up the fixup

Philipp Rudo (1):
s390/kexec_file: Fix detection of text segment in ELF loader

Philipp Zabel (1):
media: coda: clear error return value before picture run

Pierre-Louis Bossart (1):
ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()

Ping-Ke Shih (1):
rtlwifi: fix potential NULL pointer dereference

Piotr Figiel (4):
brcmfmac: convert dev_init_lock mutex to completion
brcmfmac: fix WARNING during USB disconnect in case of unempty psq
brcmfmac: fix race during disconnect when USB completion is in progress
brcmfmac: fix Oops when bringing up interface during USB disconnect

Pu Wen (1):
x86/CPU/hygon: Fix phys_proc_id calculation logic for multi-die processors

Qian Cai (1):
arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable

Qu Wenruo (1):
btrfs: Don't panic when we can't find a root key

Raul E Rangel (1):
mmc: core: Verify SD bus width

Robbie Ko (1):
Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve

Roberto Bergantinos Corpas (1):
NFS: make nfs_match_client killable

Robin Murphy (1):
perf/arm-cci: Remove broken race mitigation

Roman Gushchin (2):
cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
selftests: cgroup: fix cleanup path in test_memcg_subtree_control()

Ronnie Sahlberg (1):
cifs: fix credits leak for SMB1 oplock breaks

Ross Lagerwall (1):
gfs2: Fix lru_count going negative

Rouven Czerwinski (1):
hwrng: omap - Set default quality

Russell Currey (1):
powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX

Russell King (1):
drm: etnaviv: avoid DMA API warning when importing buffers

Sagi Grimberg (3):
nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
nvme-rdma: fix a NULL deref when an admin connect times out
nvme-tcp: fix a NULL deref when an admin connect times out

Sakari Ailus (1):
media: v4l2-fwnode: The first default data lane is 0 on C-PHY

Sameeh Jubran (2):
net: ena: gcc 8: fix compilation warning
net: ena: fix: set freed objects to NULL to avoid failing future allocations

Sameer Pujar (2):
dmaengine: tegra210-dma: free dma controller in remove()
dmaengine: tegra210-adma: use devm_clk_*() helpers

Samson Tam (1):
drm/amd/display: Link train only when link is DP and backend is enabled

Sean Paul (1):
drm/msm: dpu: Don't set frame_busy_mask for async updates

Sebastian Andrzej Siewior (2):
smpboot: Place the __percpu annotation correctly
random: add a spinlock_t to struct batched_entropy

Sergey Matyukevich (1):
mac80211/cfg80211: update bss channel on channel switch

Shenghui Wang (1):
bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set

Shile Zhang (1):
fbdev: fix divide error in fb_var_to_videomode

Shuah Khan (1):
media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()

Sowjanya Komatineni (1):
spi: tegra114: reset controller on probe

Stanley Chu (2):
scsi: ufs: Fix regulator load and icc-level configuration
scsi: ufs: Avoid configuring regulator with undefined voltage range

Stefan Brüns (1):
media: dvbsky: Avoid leaking dvb frontend

Steve Twiss (13):
regulator: wm831x ldo: Fix notifier mutex lock warning
regulator: wm831x isink: Fix notifier mutex lock warning
regulator: ltc3676: Fix notifier mutex lock warning
regulator: ltc3589: Fix notifier mutex lock warning
regulator: pv88060: Fix notifier mutex lock warning
regulator: lp8755: Fix notifier mutex lock warning
regulator: da9211: Fix notifier mutex lock warning
regulator: da9063: Fix notifier mutex lock warning
regulator: pv88080: Fix notifier mutex lock warning
regulator: wm831x: Fix notifier mutex lock warning
regulator: pv88090: Fix notifier mutex lock warning
regulator: da9062: Fix notifier mutex lock warning
regulator: da9055: Fix notifier mutex lock warning

Steven Rostedt (VMware) (1):
x86: Hide the int3_emulate_call/jmp functions from UML

Sugar Zhang (1):
dmaengine: pl330: _stop: clear interrupt status

Suthikulpanit, Suravee (1):
kvm: svm/avic: fix off-by-one in checking host APIC ID

Sven Van Asbroeck (1):

      rtc: 88pm860x: prevent use-after-free on device remove

Takeshi Kihara (2):
clk: renesas: rcar-gen3: Correct parent clock of SYS-DMAC
clk: renesas: rcar-gen3: Correct parent clock of Audio-DMAC

Tang Junhui (1):
bcache: fix failure in journal relplay

Tetsuo Handa (1):
kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.

Thomas Gleixner (2):
x86/irq/64: Limit IST stack overflow check to #DB stack
timekeeping: Force upper bound for setting CLOCK_REALTIME

Thomas Huth (1):
s390/mm: silence compiler warning when compiling without CONFIG_PGSTE

Tobin C. Harding (2):
btrfs: sysfs: Fix error path kobject memory leak
btrfs: sysfs: don't leak memory when failing add fsid

Tony Lindgren (2):
usb: core: Add PM runtime calls to usb_hcd_platform_shutdown drm/omap: dsi: Fix PM for display blank with paired dss_pll calls

Tony Luck (1):
x86/mce: Fix machine_check_poll() tests for error types

Tony Nguyen (1):
ice: Separate if conditions for ice_set_features()

Trac Hoang (2):
mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem

Trent Piepho (1):
spi: imx: stop buffer overflow in RX FIFO flush

Ulf Hansson (1):

      PM / core: Propagate dev->power.wakeup_path when no callbacks

Vincenzo Frascino (1):
arm64: vdso: Fix clock_getres() for CLOCK_REALTIME

Vineet Gupta (1):
tools/bpf: fix perf build error with uClibc (seen on ARC)

Viresh Kumar (1):
sched/cpufreq: Fix kobject memleak

Wen Yang (14):
pinctrl: zte: fix leaked of_node references
pinctrl: pistachio: fix leaked of_node references
pinctrl: st: fix leaked of_node references
pinctrl: samsung: fix leaked of_node references
drm/msm: a5xx: fix possible object reference leak
cpufreq: ppc_cbe: fix possible object reference leak cpufreq/pasemi: fix possible object reference leak
cpufreq: pmac32: fix possible object reference leak
cpufreq: kirkwood: fix possible object reference leak
cpufreq: imx6q: fix possible object reference leak drm/pl111: fix possible object reference leak
arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put

Wenjing Liu (1):
drm/amd/display: add pipe lock during stream update

Wenwen Wang (1):
audit: fix a memory leak bug

Will Deacon (1):
arm64: errata: Add workaround for Cortex-A76 erratum #1463225

Xiaoli Feng (1):
Fix nfs4.2 return -EINVAL when do dedupe operation

Yannick Fertré (1):
drm/panel: otm8009a: Add delay at the end of initialization

Yazen Ghannam (1):
x86/mce: Handle varying MCA bank counts

Yinbo Zhu (3):
mmc: sdhci-of-esdhc: add erratum eSDHC5 support
mmc: sdhci-of-esdhc: add erratum A-009204 support
mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support

Yonghong Song (1):
selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c

YueHaibing (6):
media: cpia2: Fix use-after-free in cpia2_exit
media: serial_ir: Fix use-after-free in serial_ir_init_module
ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
at76c50x-usb: Don't register led_trigger if usb_register_driver failed
cxgb4: Fix error path in cxgb4_init_module
mwifiex: Fix mem leak in mwifiex_tm_cmd

Yufen Yu (1):
block: fix use-after-free on gendisk

Yunsheng Lin (1):
net: hns3: fix for TX clean num when cleaning TX BD

author maintainer
#1 lore raw
Documentation/arm64/silicon-errata.txt +1 -0
index ddb8ce5333ba..7a7e271be3f1 100644
@@ -61,6 +61,7 @@ stable kernels.
 | ARM            | Cortex-A76      | #1188873        | ARM64_ERRATUM_1188873       |
 | ARM            | Cortex-A76      | #1165522        | ARM64_ERRATUM_1165522       |
 | ARM            | Cortex-A76      | #1286807        | ARM64_ERRATUM_1286807       |
+| ARM            | Cortex-A76      | #1463225        | ARM64_ERRATUM_1463225       |
 | ARM            | MMU-500         | #841119,#826419 | N/A                         |
 |                |                 |                 |                             |
 | Cavium         | ThunderX ITS    | #22375, #24313  | CAVIUM_ERRATUM_22375        |
Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt +4 -2
index 41a1074228ba..6b6ca4456dc7 100644
@@ -53,7 +53,8 @@ Required properties:
 	   one for each entry in reset-names.
  - reset-names: "phy" for reset of phy block,
 		"common" for phy common block reset,
-		"cfg" for phy's ahb cfg block reset.
+		"cfg" for phy's ahb cfg block reset,
+		"ufsphy" for the PHY reset in the UFS controller.
 
 		For "qcom,ipq8074-qmp-pcie-phy" must contain:
 			"phy", "common".
@@ -65,7 +66,8 @@ Required properties:
 			"phy", "common".
 		For "qcom,sdm845-qmp-usb3-uni-phy" must contain:
 			"phy", "common".
-		For "qcom,sdm845-qmp-ufs-phy": no resets are listed.
+		For "qcom,sdm845-qmp-ufs-phy": must contain:
+			"ufsphy".
 
  - vdda-phy-supply: Phandle to a regulator supply to PHY core block.
  - vdda-pll-supply: Phandle to 1.8V regulator supply to PHY refclk pll block.
Makefile +1 -1
index 66efffc3fb41..25390977536b 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 0
-SUBLEVEL = 19
+SUBLEVEL = 20
 EXTRAVERSION =
 NAME = Shy Crocodile
 
arch/arm/include/asm/cp15.h +2 -0
index 07e27f212dc7..d2453e2d3f1f 100644
@@ -68,6 +68,8 @@
 #define BPIALL				__ACCESS_CP15(c7, 0, c5, 6)
 #define ICIALLU				__ACCESS_CP15(c7, 0, c5, 0)
 
+#define CNTVCT				__ACCESS_CP15_64(1, c14)
+
 extern unsigned long cr_alignment;	/* defined in entry-armv.S */
 
 static inline unsigned long get_cr(void)
arch/arm/vdso/vgettimeofday.c +3 -2
index a9dd619c6c29..7bdbf5d5c47d 100644
@@ -18,9 +18,9 @@
 #include <linux/compiler.h>
 #include <linux/hrtimer.h>
 #include <linux/time.h>
-#include <asm/arch_timer.h>
 #include <asm/barrier.h>
 #include <asm/bug.h>
+#include <asm/cp15.h>
 #include <asm/page.h>
 #include <asm/unistd.h>
 #include <asm/vdso_datapage.h>
@@ -123,7 +123,8 @@ static notrace u64 get_ns(struct vdso_data *vdata)
 	u64 cycle_now;
 	u64 nsec;
 
-	cycle_now = arch_counter_get_cntvct();
+	isb();
+	cycle_now = read_sysreg(CNTVCT);
 
 	cycle_delta = (cycle_now - vdata->cs_cycle_last) & vdata->cs_mask;
 
arch/arm64/Kconfig +18 -0
index a4168d366127..4535b2b48fd9 100644
@@ -518,6 +518,24 @@ config ARM64_ERRATUM_1286807
 
 	  If unsure, say Y.
 
+config ARM64_ERRATUM_1463225
+	bool "Cortex-A76: Software Step might prevent interrupt recognition"
+	default y
+	help
+	  This option adds a workaround for Arm Cortex-A76 erratum 1463225.
+
+	  On the affected Cortex-A76 cores (r0p0 to r3p1), software stepping
+	  of a system call instruction (SVC) can prevent recognition of
+	  subsequent interrupts when software stepping is disabled in the
+	  exception handler of the system call and either kernel debugging
+	  is enabled or VHE is in use.
+
+	  Work around the erratum by triggering a dummy step exception
+	  when handling a system call from a task that is being stepped
+	  in a VHE configuration of the kernel.
+
+	  If unsure, say Y.
+
 config CAVIUM_ERRATUM_22375
 	bool "Cavium erratum 22375, 24313"
 	default y
arch/arm64/include/asm/cpucaps.h +2 -1
index 82e9099834ae..99db8de83734 100644
@@ -60,7 +60,8 @@
 #define ARM64_HAS_ADDRESS_AUTH_IMP_DEF		39
 #define ARM64_HAS_GENERIC_AUTH_ARCH		40
 #define ARM64_HAS_GENERIC_AUTH_IMP_DEF		41
+#define ARM64_WORKAROUND_1463225		42
 
-#define ARM64_NCAPS				42
+#define ARM64_NCAPS				43
 
 #endif /* __ASM_CPUCAPS_H */
arch/arm64/include/asm/pgtable.h +2 -1
index de70c1eabf33..74ebe9693714 100644
@@ -478,6 +478,8 @@ static inline phys_addr_t pmd_page_paddr(pmd_t pmd)
 	return __pmd_to_phys(pmd);
 }
 
+static inline void pte_unmap(pte_t *pte) { }
+
 /* Find an entry in the third-level page table. */
 #define pte_index(addr)		(((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
 
@@ -486,7 +488,6 @@ static inline phys_addr_t pmd_page_paddr(pmd_t pmd)
 
 #define pte_offset_map(dir,addr)	pte_offset_kernel((dir), (addr))
 #define pte_offset_map_nested(dir,addr)	pte_offset_kernel((dir), (addr))
-#define pte_unmap(pte)			do { } while (0)
 #define pte_unmap_nested(pte)		do { } while (0)
 
 #define pte_set_fixmap(addr)		((pte_t *)set_fixmap_offset(FIX_PTE, addr))
arch/arm64/include/asm/vdso_datapage.h +1 -0
index 2b9a63771eda..f89263c8e11a 100644
@@ -38,6 +38,7 @@ struct vdso_data {
 	__u32 tz_minuteswest;	/* Whacky timezone stuff */
 	__u32 tz_dsttime;
 	__u32 use_syscall;
+	__u32 hrtimer_res;
 };
 
 #endif /* !__ASSEMBLY__ */
arch/arm64/kernel/asm-offsets.c +1 -1
index 65b8afc84466..ddcd3ea87b81 100644
@@ -102,7 +102,7 @@ int main(void)
   DEFINE(CLOCK_REALTIME,	CLOCK_REALTIME);
   DEFINE(CLOCK_MONOTONIC,	CLOCK_MONOTONIC);
   DEFINE(CLOCK_MONOTONIC_RAW,	CLOCK_MONOTONIC_RAW);
-  DEFINE(CLOCK_REALTIME_RES,	MONOTONIC_RES_NSEC);
+  DEFINE(CLOCK_REALTIME_RES,	offsetof(struct vdso_data, hrtimer_res));
   DEFINE(CLOCK_REALTIME_COARSE,	CLOCK_REALTIME_COARSE);
   DEFINE(CLOCK_MONOTONIC_COARSE,CLOCK_MONOTONIC_COARSE);
   DEFINE(CLOCK_COARSE_RES,	LOW_RES_NSEC);
arch/arm64/kernel/cpu_errata.c +24 -0
index 9950bb0cbd52..87019cd73f22 100644
@@ -464,6 +464,22 @@ static bool has_ssbd_mitigation(const struct arm64_cpu_capabilities *entry,
 }
 #endif	/* CONFIG_ARM64_SSBD */
 
+#ifdef CONFIG_ARM64_ERRATUM_1463225
+DEFINE_PER_CPU(int, __in_cortex_a76_erratum_1463225_wa);
+
+static bool
+has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry,
+			       int scope)
+{
+	u32 midr = read_cpuid_id();
+	/* Cortex-A76 r0p0 - r3p1 */
+	struct midr_range range = MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 3, 1);
+
+	WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
+	return is_midr_in_range(midr, &range) && is_kernel_in_hyp_mode();
+}
+#endif
+
 static void __maybe_unused
 cpu_enable_cache_maint_trap(const struct arm64_cpu_capabilities *__unused)
 {
@@ -738,6 +754,14 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
 		.capability = ARM64_WORKAROUND_1165522,
 		ERRATA_MIDR_RANGE(MIDR_CORTEX_A76, 0, 0, 2, 0),
 	},
+#endif
+#ifdef CONFIG_ARM64_ERRATUM_1463225
+	{
+		.desc = "ARM erratum 1463225",
+		.capability = ARM64_WORKAROUND_1463225,
+		.type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM,
+		.matches = has_cortex_a76_erratum_1463225,
+	},
 #endif
 	{
 	}
arch/arm64/kernel/cpu_ops.c +1 -0
index ea001241bdd4..00f8b8612b69 100644
@@ -85,6 +85,7 @@ static const char *__init cpu_read_enable_method(int cpu)
 				pr_err("%pOF: missing enable-method property\n",
 					dn);
 		}
+		of_node_put(dn);
 	} else {
 		enable_method = acpi_get_enable_method(cpu);
 		if (!enable_method) {
arch/arm64/kernel/kaslr.c +3 -3
index b09b6f75f759..06941c1fe418 100644
@@ -145,15 +145,15 @@ u64 __init kaslr_early_init(u64 dt_phys)
 
 	if (IS_ENABLED(CONFIG_RANDOMIZE_MODULE_REGION_FULL)) {
 		/*
-		 * Randomize the module region over a 4 GB window covering the
+		 * Randomize the module region over a 2 GB window covering the
 		 * kernel. This reduces the risk of modules leaking information
 		 * about the address of the kernel itself, but results in
 		 * branches between modules and the core kernel that are
 		 * resolved via PLTs. (Branches between modules will be
 		 * resolved normally.)
 		 */
-		module_range = SZ_4G - (u64)(_end - _stext);
-		module_alloc_base = max((u64)_end + offset - SZ_4G,
+		module_range = SZ_2G - (u64)(_end - _stext);
+		module_alloc_base = max((u64)_end + offset - SZ_2G,
 					(u64)MODULES_VADDR);
 	} else {
 		/*
arch/arm64/kernel/module.c +1 -1
index f713e2fc4d75..1e418e69b58c 100644
@@ -56,7 +56,7 @@ void *module_alloc(unsigned long size)
 		 * can simply omit this fallback in that case.
 		 */
 		p = __vmalloc_node_range(size, MODULE_ALIGN, module_alloc_base,
-				module_alloc_base + SZ_4G, GFP_KERNEL,
+				module_alloc_base + SZ_2G, GFP_KERNEL,
 				PAGE_KERNEL_EXEC, 0, NUMA_NO_NODE,
 				__builtin_return_address(0));
 
arch/arm64/kernel/syscall.c +31 -0
index 5610ac01c1ec..871c739f060a 100644
@@ -8,6 +8,7 @@
 #include <linux/syscalls.h>
 
 #include <asm/daifflags.h>
+#include <asm/debug-monitors.h>
 #include <asm/fpsimd.h>
 #include <asm/syscall.h>
 #include <asm/thread_info.h>
@@ -60,6 +61,35 @@ static inline bool has_syscall_work(unsigned long flags)
 int syscall_trace_enter(struct pt_regs *regs);
 void syscall_trace_exit(struct pt_regs *regs);
 
+#ifdef CONFIG_ARM64_ERRATUM_1463225
+DECLARE_PER_CPU(int, __in_cortex_a76_erratum_1463225_wa);
+
+static void cortex_a76_erratum_1463225_svc_handler(void)
+{
+	u32 reg, val;
+
+	if (!unlikely(test_thread_flag(TIF_SINGLESTEP)))
+		return;
+
+	if (!unlikely(this_cpu_has_cap(ARM64_WORKAROUND_1463225)))
+		return;
+
+	__this_cpu_write(__in_cortex_a76_erratum_1463225_wa, 1);
+	reg = read_sysreg(mdscr_el1);
+	val = reg | DBG_MDSCR_SS | DBG_MDSCR_KDE;
+	write_sysreg(val, mdscr_el1);
+	asm volatile("msr daifclr, #8");
+	isb();
+
+	/* We will have taken a single-step exception by this point */
+
+	write_sysreg(reg, mdscr_el1);
+	__this_cpu_write(__in_cortex_a76_erratum_1463225_wa, 0);
+}
+#else
+static void cortex_a76_erratum_1463225_svc_handler(void) { }
+#endif /* CONFIG_ARM64_ERRATUM_1463225 */
+
 static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
 			   const syscall_fn_t syscall_table[])
 {
@@ -68,6 +98,7 @@ static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
 	regs->orig_x0 = regs->regs[0];
 	regs->syscallno = scno;
 
+	cortex_a76_erratum_1463225_svc_handler();
 	local_daif_restore(DAIF_PROCCTX);
 	user_exit();
 
arch/arm64/kernel/vdso.c +3 -0
index 2d419006ad43..ec0bb588d755 100644
@@ -232,6 +232,9 @@ void update_vsyscall(struct timekeeper *tk)
 	vdso_data->wtm_clock_sec		= tk->wall_to_monotonic.tv_sec;
 	vdso_data->wtm_clock_nsec		= tk->wall_to_monotonic.tv_nsec;
 
+	/* Read without the seqlock held by clock_getres() */
+	WRITE_ONCE(vdso_data->hrtimer_res, hrtimer_resolution);
+
 	if (!use_syscall) {
 		/* tkr_mono.cycle_last == tkr_raw.cycle_last */
 		vdso_data->cs_cycle_last	= tk->tkr_mono.cycle_last;
arch/arm64/kernel/vdso/gettimeofday.S +3 -4
index e8f60112818f..856fee6d3512 100644
@@ -308,13 +308,14 @@ ENTRY(__kernel_clock_getres)
 	ccmp	w0, #CLOCK_MONOTONIC_RAW, #0x4, ne
 	b.ne	1f
 
-	ldr	x2, 5f
+	adr	vdso_data, _vdso_data
+	ldr	w2, [vdso_data, #CLOCK_REALTIME_RES]
 	b	2f
 1:
 	cmp	w0, #CLOCK_REALTIME_COARSE
 	ccmp	w0, #CLOCK_MONOTONIC_COARSE, #0x4, ne
 	b.ne	4f
-	ldr	x2, 6f
+	ldr	x2, 5f
 2:
 	cbz	x1, 3f
 	stp	xzr, x2, [x1]
@@ -328,8 +329,6 @@ ENTRY(__kernel_clock_getres)
 	svc	#0
 	ret
 5:
-	.quad	CLOCK_REALTIME_RES
-6:
 	.quad	CLOCK_COARSE_RES
 	.cfi_endproc
 ENDPROC(__kernel_clock_getres)
arch/arm64/mm/dma-mapping.c +10 -0
index 78c0a72f822c..674860e3e478 100644
@@ -249,6 +249,11 @@ static int __iommu_mmap_attrs(struct device *dev, struct vm_area_struct *vma,
 	if (dma_mmap_from_dev_coherent(dev, vma, cpu_addr, size, &ret))
 		return ret;
 
+	if (!is_vmalloc_addr(cpu_addr)) {
+		unsigned long pfn = page_to_pfn(virt_to_page(cpu_addr));
+		return __swiotlb_mmap_pfn(vma, pfn, size);
+	}
+
 	if (attrs & DMA_ATTR_FORCE_CONTIGUOUS) {
 		/*
 		 * DMA_ATTR_FORCE_CONTIGUOUS allocations are always remapped,
@@ -272,6 +277,11 @@ static int __iommu_get_sgtable(struct device *dev, struct sg_table *sgt,
 	unsigned int count = PAGE_ALIGN(size) >> PAGE_SHIFT;
 	struct vm_struct *area = find_vm_area(cpu_addr);
 
+	if (!is_vmalloc_addr(cpu_addr)) {
+		struct page *page = virt_to_page(cpu_addr);
+		return __swiotlb_get_sgtable_page(sgt, page, size);
+	}
+
 	if (attrs & DMA_ATTR_FORCE_CONTIGUOUS) {
 		/*
 		 * DMA_ATTR_FORCE_CONTIGUOUS allocations are always remapped,
arch/arm64/mm/fault.c +35 -2
index ef46925096f0..d3bdef0b2f60 100644
@@ -824,14 +824,47 @@ void __init hook_debug_fault_code(int nr,
 	debug_fault_info[nr].name	= name;
 }
 
+#ifdef CONFIG_ARM64_ERRATUM_1463225
+DECLARE_PER_CPU(int, __in_cortex_a76_erratum_1463225_wa);
+
+static int __exception
+cortex_a76_erratum_1463225_debug_handler(struct pt_regs *regs)
+{
+	if (user_mode(regs))
+		return 0;
+
+	if (!__this_cpu_read(__in_cortex_a76_erratum_1463225_wa))
+		return 0;
+
+	/*
+	 * We've taken a dummy step exception from the kernel to ensure
+	 * that interrupts are re-enabled on the syscall path. Return back
+	 * to cortex_a76_erratum_1463225_svc_handler() with debug exceptions
+	 * masked so that we can safely restore the mdscr and get on with
+	 * handling the syscall.
+	 */
+	regs->pstate |= PSR_D_BIT;
+	return 1;
+}
+#else
+static int __exception
+cortex_a76_erratum_1463225_debug_handler(struct pt_regs *regs)
+{
+	return 0;
+}
+#endif /* CONFIG_ARM64_ERRATUM_1463225 */
+
 asmlinkage int __exception do_debug_exception(unsigned long addr_if_watchpoint,
-					      unsigned int esr,
-					      struct pt_regs *regs)
+					       unsigned int esr,
+					       struct pt_regs *regs)
 {
 	const struct fault_info *inf = esr_to_debug_fault_info(esr);
 	unsigned long pc = instruction_pointer(regs);
 	int rv;
 
+	if (cortex_a76_erratum_1463225_debug_handler(regs))
+		return 0;
+
 	/*
 	 * Tell lockdep we disabled irqs in entry.S. Do nothing if they were
 	 * already disabled to preserve the last enabled/disabled addresses.
arch/powerpc/boot/addnote.c +5 -1
index 9d9f6f334d3c..3da3e2b1b51b 100644
@@ -223,7 +223,11 @@ main(int ac, char **av)
 	PUT_16(E_PHNUM, np + 2);
 
 	/* write back */
-	lseek(fd, (long) 0, SEEK_SET);
+	i = lseek(fd, (long) 0, SEEK_SET);
+	if (i < 0) {
+		perror("lseek");
+		exit(1);
+	}
 	i = write(fd, buf, n);
 	if (i < 0) {
 		perror("write");
arch/powerpc/kernel/head_64.S +3 -1
index 4898e9491a1c..9168a247e24f 100644
@@ -970,7 +970,9 @@ start_here_multiplatform:
 
 	/* Restore parameters passed from prom_init/kexec */
 	mr	r3,r31
-	bl	early_setup		/* also sets r13 and SPRG_PACA */
+	LOAD_REG_ADDR(r12, DOTSYM(early_setup))
+	mtctr	r12
+	bctrl		/* also sets r13 and SPRG_PACA */
 
 	LOAD_REG_ADDR(r3, start_here_common)
 	ld	r4,PACAKMSR(r13)
arch/powerpc/kernel/watchdog.c +40 -41

153 lines not on this page · raw message

arch/powerpc/mm/numa.c +12 -6
index b5d1c45c1475..2a85a4bcc277 100644
@@ -1494,6 +1494,9 @@ int start_topology_update(void)
 {
 	int rc = 0;
 
+	if (!topology_updates_enabled)
+		return 0;
+
 	if (firmware_has_feature(FW_FEATURE_PRRN)) {
 		if (!prrn_enabled) {
 			prrn_enabled = 1;
@@ -1527,6 +1530,9 @@ int stop_topology_update(void)
 {
 	int rc = 0;
 
+	if (!topology_updates_enabled)
+		return 0;
+
 	if (prrn_enabled) {
 		prrn_enabled = 0;
 #ifdef CONFIG_SMP
@@ -1584,11 +1590,13 @@ static ssize_t topology_write(struct file *file, const char __user *buf,
 
 	kbuf[read_len] = '\0';
 
-	if (!strncmp(kbuf, "on", 2))
+	if (!strncmp(kbuf, "on", 2)) {
+		topology_updates_enabled = true;
 		start_topology_update();
-	else if (!strncmp(kbuf, "off", 3))
+	} else if (!strncmp(kbuf, "off", 3)) {
 		stop_topology_update();
-	else
+		topology_updates_enabled = false;
+	} else
 		return -EINVAL;
 
 	return count;
@@ -1603,9 +1611,7 @@ static const struct file_operations topology_ops = {
 
 static int topology_update_init(void)
 {
-	/* Do not poll for changes if disabled at boot */
-	if (topology_updates_enabled)
-		start_topology_update();
+	start_topology_update();
 
 	if (vphn_enabled)
 		topology_schedule_update();
arch/powerpc/perf/imc-pmu.c +6 -1
index f292a3f284f1..d1009fe3130b 100644
@@ -496,6 +496,11 @@ static int nest_imc_event_init(struct perf_event *event)
 	 * Get the base memory addresss for this cpu.
 	 */
 	chip_id = cpu_to_chip_id(event->cpu);
+
+	/* Return, if chip_id is not valid */
+	if (chip_id < 0)
+		return -ENODEV;
+
 	pcni = pmu->mem_info;
 	do {
 		if (pcni->id == chip_id) {
@@ -503,7 +508,7 @@ static int nest_imc_event_init(struct perf_event *event)
 			break;
 		}
 		pcni++;
-	} while (pcni);
+	} while (pcni->vbase != 0);
 
 	if (!flag)
 		return -ENODEV;
arch/powerpc/platforms/powernv/opal-imc.c +1 -1
index 58a07948c76e..3d27f02695e4 100644
@@ -127,7 +127,7 @@ static int imc_get_mem_addr_nest(struct device_node *node,
 								nr_chips))
 		goto error;
 
-	pmu_ptr->mem_info = kcalloc(nr_chips, sizeof(*pmu_ptr->mem_info),
+	pmu_ptr->mem_info = kcalloc(nr_chips + 1, sizeof(*pmu_ptr->mem_info),
 				    GFP_KERNEL);
 	if (!pmu_ptr->mem_info)
 		goto error;
arch/s390/kernel/kexec_elf.c +6 -1
index 5a286b012043..602e7cc26d11 100644
@@ -19,10 +19,15 @@ static int kexec_file_add_elf_kernel(struct kimage *image,
 	struct kexec_buf buf;
 	const Elf_Ehdr *ehdr;
 	const Elf_Phdr *phdr;
+	Elf_Addr entry;
 	int i, ret;
 
 	ehdr = (Elf_Ehdr *)kernel;
 	buf.image = image;
+	if (image->type == KEXEC_TYPE_CRASH)
+		entry = STARTUP_KDUMP_OFFSET;
+	else
+		entry = ehdr->e_entry;
 
 	phdr = (void *)ehdr + ehdr->e_phoff;
 	for (i = 0; i < ehdr->e_phnum; i++, phdr++) {
@@ -35,7 +40,7 @@ static int kexec_file_add_elf_kernel(struct kimage *image,
 		buf.mem = ALIGN(phdr->p_paddr, phdr->p_align);
 		buf.memsz = phdr->p_memsz;
 
-		if (phdr->p_paddr == 0) {
+		if (entry - phdr->p_paddr < phdr->p_memsz) {
 			data->kernel_buf = buf.buffer;
 			data->memsz += STARTUP_NORMAL_OFFSET;
 
arch/s390/mm/pgtable.c +2 -0
index f2cc7da473e4..ae894ac83fd6 100644
@@ -410,6 +410,7 @@ static inline pmd_t pmdp_flush_lazy(struct mm_struct *mm,
 	return old;
 }
 
+#ifdef CONFIG_PGSTE
 static pmd_t *pmd_alloc_map(struct mm_struct *mm, unsigned long addr)
 {
 	pgd_t *pgd;
@@ -427,6 +428,7 @@ static pmd_t *pmd_alloc_map(struct mm_struct *mm, unsigned long addr)
 	pmd = pmd_alloc(mm, pud, addr);
 	return pmd;
 }
+#endif
 
 pmd_t pmdp_xchg_direct(struct mm_struct *mm, unsigned long addr,
 		       pmd_t *pmdp, pmd_t new)
arch/sh/include/cpu-sh4/cpu/sh7786.h +1 -1
index 8f9bfbf3cdb1..d6cce65b4871 100644
@@ -132,7 +132,7 @@ enum {
 
 static inline u32 sh7786_mm_sel(void)
 {
-	return __raw_readl(0xFC400020) & 0x7;
+	return __raw_readl((const volatile void __iomem *)0xFC400020) & 0x7;
 }
 
 #endif /* __CPU_SH7786_H__ */
arch/x86/Makefile +1 -1
index c0c7291d4ccf..2cf52617a1e7 100644
@@ -47,7 +47,7 @@ export REALMODE_CFLAGS
 export BITS
 
 ifdef CONFIG_X86_NEED_RELOCS
-        LDFLAGS_vmlinux := --emit-relocs
+        LDFLAGS_vmlinux := --emit-relocs --discard-none
 endif
 
 #
arch/x86/events/intel/cstate.c +2 -0
index 56194c571299..4a650eb3d94a 100644
@@ -584,6 +584,8 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
 	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_X, glm_cstates),
 
 	X86_CSTATES_MODEL(INTEL_FAM6_ATOM_GOLDMONT_PLUS, glm_cstates),
+
+	X86_CSTATES_MODEL(INTEL_FAM6_ICELAKE_MOBILE, snb_cstates),
 	{ },
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);
arch/x86/events/intel/rapl.c +2 -0
index 91039ffed633..2413169ce362 100644
@@ -780,6 +780,8 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT_X, hsw_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT_PLUS, hsw_rapl_init),
+
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_ICELAKE_MOBILE,  skl_rapl_init),
 	{},
 };
 
arch/x86/events/msr.c +1 -0
index 1b9f85abf9bc..ace6c1e752fb 100644
@@ -89,6 +89,7 @@ static bool test_intel(int idx)
 	case INTEL_FAM6_SKYLAKE_X:
 	case INTEL_FAM6_KABYLAKE_MOBILE:
 	case INTEL_FAM6_KABYLAKE_DESKTOP:
+	case INTEL_FAM6_ICELAKE_MOBILE:
 		if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
 			return true;
 		break;
arch/x86/ia32/ia32_signal.c +17 -12
index 321fe5f5d0e9..4d5fcd47ab75 100644
@@ -61,9 +61,8 @@
 } while (0)
 
 #define RELOAD_SEG(seg)		{		\
-	unsigned int pre = GET_SEG(seg);	\
+	unsigned int pre = (seg) | 3;		\
 	unsigned int cur = get_user_seg(seg);	\
-	pre |= 3;				\
 	if (pre != cur)				\
 		set_user_seg(seg, pre);		\
 }
@@ -72,6 +71,7 @@ static int ia32_restore_sigcontext(struct pt_regs *regs,
 				   struct sigcontext_32 __user *sc)
 {
 	unsigned int tmpflags, err = 0;
+	u16 gs, fs, es, ds;
 	void __user *buf;
 	u32 tmp;
 
@@ -79,16 +79,10 @@ static int ia32_restore_sigcontext(struct pt_regs *regs,
 	current->restart_block.fn = do_no_restart_syscall;
 
 	get_user_try {
-		/*
-		 * Reload fs and gs if they have changed in the signal
-		 * handler.  This does not handle long fs/gs base changes in
-		 * the handler, but does not clobber them at least in the
-		 * normal case.
-		 */
-		RELOAD_SEG(gs);
-		RELOAD_SEG(fs);
-		RELOAD_SEG(ds);
-		RELOAD_SEG(es);
+		gs = GET_SEG(gs);
+		fs = GET_SEG(fs);
+		ds = GET_SEG(ds);
+		es = GET_SEG(es);
 
 		COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx);
 		COPY(dx); COPY(cx); COPY(ip); COPY(ax);
@@ -106,6 +100,17 @@ static int ia32_restore_sigcontext(struct pt_regs *regs,
 		buf = compat_ptr(tmp);
 	} get_user_catch(err);
 
+	/*
+	 * Reload fs and gs if they have changed in the signal
+	 * handler.  This does not handle long fs/gs base changes in
+	 * the handler, but does not clobber them at least in the
+	 * normal case.
+	 */
+	RELOAD_SEG(gs);
+	RELOAD_SEG(fs);
+	RELOAD_SEG(ds);
+	RELOAD_SEG(es);
+
 	err |= fpu__restore_sig(buf, 1);
 
 	force_iret();
arch/x86/include/asm/text-patching.h +3 -1
index 05861cc08787..0bbb07eaed6b 100644
@@ -39,6 +39,7 @@ extern int poke_int3_handler(struct pt_regs *regs);
 extern void *text_poke_bp(void *addr, const void *opcode, size_t len, void *handler);
 extern int after_bootmem;
 
+#ifndef CONFIG_UML_X86
 static inline void int3_emulate_jmp(struct pt_regs *regs, unsigned long ip)
 {
 	regs->ip = ip;
@@ -65,6 +66,7 @@ static inline void int3_emulate_call(struct pt_regs *regs, unsigned long func)
 	int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE);
 	int3_emulate_jmp(regs, func);
 }
-#endif
+#endif /* CONFIG_X86_64 */
+#endif /* !CONFIG_UML_X86 */
 
 #endif /* _ASM_X86_TEXT_PATCHING_H */
arch/x86/include/asm/uaccess.h +4 -3
index f3aed639dccd..2b0dd1b9c208 100644
@@ -431,10 +431,11 @@ do {									\
 ({								\
 	__label__ __pu_label;					\
 	int __pu_err = -EFAULT;					\
-	__typeof__(*(ptr)) __pu_val;				\
-	__pu_val = x;						\
+	__typeof__(*(ptr)) __pu_val = (x);			\
+	__typeof__(ptr) __pu_ptr = (ptr);			\
+	__typeof__(size) __pu_size = (size);			\
 	__uaccess_begin();					\
-	__put_user_size(__pu_val, (ptr), (size), __pu_label);	\
+	__put_user_size(__pu_val, __pu_ptr, __pu_size, __pu_label);	\
 	__pu_err = 0;						\
 __pu_label:							\
 	__uaccess_end();					\
arch/x86/kernel/alternative.c +21 -7
index ebeac487a20c..2db985513917 100644
@@ -666,15 +666,29 @@ void __init alternative_instructions(void)
  * handlers seeing an inconsistent instruction while you patch.
  */
 void *__init_or_module text_poke_early(void *addr, const void *opcode,
-					      size_t len)
+				       size_t len)
 {
 	unsigned long flags;
-	local_irq_save(flags);
-	memcpy(addr, opcode, len);
-	local_irq_restore(flags);
-	sync_core();
-	/* Could also do a CLFLUSH here to speed up CPU recovery; but
-	   that causes hangs on some VIA CPUs. */
+
+	if (boot_cpu_has(X86_FEATURE_NX) &&
+	    is_module_text_address((unsigned long)addr)) {
+		/*
+		 * Modules text is marked initially as non-executable, so the
+		 * code cannot be running and speculative code-fetches are
+		 * prevented. Just change the code.
+		 */
+		memcpy(addr, opcode, len);
+	} else {
+		local_irq_save(flags);
+		memcpy(addr, opcode, len);
+		local_irq_restore(flags);
+		sync_core();
+
+		/*
+		 * Could also do a CLFLUSH here to speed up CPU recovery; but
+		 * that causes hangs on some VIA CPUs.
+		 */
+	}
 	return addr;
 }
 
arch/x86/kernel/cpu/hygon.c +5 -0
index cf25405444ab..415621ddb8a2 100644
@@ -19,6 +19,8 @@
 
 #include "cpu.h"
 
+#define APICID_SOCKET_ID_BIT 6
+
 /*
  * nodes_per_socket: Stores the number of nodes per socket.
  * Refer to CPUID Fn8000_001E_ECX Node Identifiers[10:8]
@@ -87,6 +89,9 @@ static void hygon_get_topology(struct cpuinfo_x86 *c)
 		if (!err)
 			c->x86_coreid_bits = get_count_order(c->x86_max_cores);
 
+		/* Socket ID is ApicId[6] for these processors. */
+		c->phys_proc_id = c->apicid >> APICID_SOCKET_ID_BIT;
+
 		cacheinfo_hygon_init_llc_id(c, cpu, node_id);
 	} else if (cpu_has(c, X86_FEATURE_NODEID_MSR)) {
 		u64 value;
arch/x86/kernel/cpu/mce/core.c +44 -22

110 lines not on this page · raw message

arch/x86/kernel/cpu/mce/inject.c +7 -7
index 8492ef7d9015..3f82afd0f46f 100644
@@ -46,8 +46,6 @@
 static struct mce i_mce;
 static struct dentry *dfs_inj;
 
-static u8 n_banks;
-
 #define MAX_FLAG_OPT_SIZE	4
 #define NBCFG			0x44
 
@@ -570,9 +568,15 @@ static void do_inject(void)
 static int inj_bank_set(void *data, u64 val)
 {
 	struct mce *m = (struct mce *)data;
+	u8 n_banks;
+	u64 cap;
+
+	/* Get bank count on target CPU so we can handle non-uniform values. */
+	rdmsrl_on_cpu(m->extcpu, MSR_IA32_MCG_CAP, &cap);
+	n_banks = cap & MCG_BANKCNT_MASK;
 
 	if (val >= n_banks) {
-		pr_err("Non-existent MCE bank: %llu\n", val);
+		pr_err("MCA bank %llu non-existent on CPU%d\n", val, m->extcpu);
 		return -EINVAL;
 	}
 
@@ -665,10 +669,6 @@ static struct dfs_node {
 static int __init debugfs_init(void)
 {
 	unsigned int i;
-	u64 cap;
-
-	rdmsrl(MSR_IA32_MCG_CAP, cap);
-	n_banks = cap & MCG_BANKCNT_MASK;
 
 	dfs_inj = debugfs_create_dir("mce-inject", NULL);
 	if (!dfs_inj)
arch/x86/kernel/cpu/microcode/core.c +2 -1
index 97f9ada9ceda..fc70d39b804f 100644
@@ -418,8 +418,9 @@ static int do_microcode_update(const void __user *buf, size_t size)
 		if (ustate == UCODE_ERROR) {
 			error = -1;
 			break;
-		} else if (ustate == UCODE_OK)
+		} else if (ustate == UCODE_NEW) {
 			apply_microcode_on_target(cpu);
+		}
 	}
 
 	return error;
arch/x86/kernel/ftrace.c +8 -0
index 2ee4b12a70e8..becb075954aa 100644
@@ -748,6 +748,7 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
 	unsigned long end_offset;
 	unsigned long op_offset;
 	unsigned long offset;
+	unsigned long npages;
 	unsigned long size;
 	unsigned long retq;
 	unsigned long *ptr;
@@ -780,6 +781,7 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
 		return 0;
 
 	*tramp_size = size + RET_SIZE + sizeof(void *);
+	npages = DIV_ROUND_UP(*tramp_size, PAGE_SIZE);
 
 	/* Copy ftrace_caller onto the trampoline memory */
 	ret = probe_kernel_read(trampoline, (void *)start_offset, size);
@@ -824,6 +826,12 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
 	/* ALLOC_TRAMP flags lets us know we created it */
 	ops->flags |= FTRACE_OPS_FL_ALLOC_TRAMP;
 
+	/*
+	 * Module allocation needs to be completed by making the page
+	 * executable. The page is still writable, which is a security hazard,
+	 * but anyhow ftrace breaks W^X completely.
+	 */
+	set_memory_x((unsigned long)trampoline, npages);
 	return (unsigned long)trampoline;
 fail:
 	tramp_free(trampoline, *tramp_size);
arch/x86/kernel/irq_64.c +14 -5
index 0469cd078db1..b50ac9c7397b 100644
@@ -26,9 +26,18 @@ int sysctl_panic_on_stackoverflow;
 /*
  * Probabilistic stack overflow check:
  *
- * Only check the stack in process context, because everything else
- * runs on the big interrupt stacks. Checking reliably is too expensive,
- * so we just check from interrupts.
+ * Regular device interrupts can enter on the following stacks:
+ *
+ * - User stack
+ *
+ * - Kernel task stack
+ *
+ * - Interrupt stack if a device driver reenables interrupts
+ *   which should only happen in really old drivers.
+ *
+ * - Debug IST stack
+ *
+ * All other contexts are invalid.
  */
 static inline void stack_overflow_check(struct pt_regs *regs)
 {
@@ -53,8 +62,8 @@ static inline void stack_overflow_check(struct pt_regs *regs)
 		return;
 
 	oist = this_cpu_ptr(&orig_ist);
-	estack_top = (u64)oist->ist[0] - EXCEPTION_STKSZ + STACK_TOP_MARGIN;
-	estack_bottom = (u64)oist->ist[N_EXCEPTION_STACKS - 1];
+	estack_bottom = (u64)oist->ist[DEBUG_STACK];
+	estack_top = estack_bottom - DEBUG_STKSZ + STACK_TOP_MARGIN;
 	if (regs->sp >= estack_top && regs->sp <= estack_bottom)
 		return;
 
arch/x86/kernel/module.c +1 -1
index b052e883dd8c..cfa3106faee4 100644
@@ -87,7 +87,7 @@ void *module_alloc(unsigned long size)
 	p = __vmalloc_node_range(size, MODULE_ALIGN,
 				    MODULES_VADDR + get_module_load_offset(),
 				    MODULES_END, GFP_KERNEL,
-				    PAGE_KERNEL_EXEC, 0, NUMA_NO_NODE,
+				    PAGE_KERNEL, 0, NUMA_NO_NODE,
 				    __builtin_return_address(0));
 	if (p && (kasan_module_alloc(p, size) < 0)) {
 		vfree(p);
arch/x86/kernel/signal.c +17 -12
index 08dfd4c1a4f9..c8aa58a2bab9 100644
@@ -132,16 +132,6 @@ static int restore_sigcontext(struct pt_regs *regs,
 		COPY_SEG_CPL3(cs);
 		COPY_SEG_CPL3(ss);
 
-#ifdef CONFIG_X86_64
-		/*
-		 * Fix up SS if needed for the benefit of old DOSEMU and
-		 * CRIU.
-		 */
-		if (unlikely(!(uc_flags & UC_STRICT_RESTORE_SS) &&
-			     user_64bit_mode(regs)))
-			force_valid_ss(regs);
-#endif
-
 		get_user_ex(tmpflags, &sc->flags);
 		regs->flags = (regs->flags & ~FIX_EFLAGS) | (tmpflags & FIX_EFLAGS);
 		regs->orig_ax = -1;		/* disable syscall checks */
@@ -150,6 +140,15 @@ static int restore_sigcontext(struct pt_regs *regs,
 		buf = (void __user *)buf_val;
 	} get_user_catch(err);
 
+#ifdef CONFIG_X86_64
+	/*
+	 * Fix up SS if needed for the benefit of old DOSEMU and
+	 * CRIU.
+	 */
+	if (unlikely(!(uc_flags & UC_STRICT_RESTORE_SS) && user_64bit_mode(regs)))
+		force_valid_ss(regs);
+#endif
+
 	err |= fpu__restore_sig(buf, IS_ENABLED(CONFIG_X86_32));
 
 	force_iret();
@@ -461,6 +460,7 @@ static int __setup_rt_frame(int sig, struct ksignal *ksig,
 {
 	struct rt_sigframe __user *frame;
 	void __user *fp = NULL;
+	unsigned long uc_flags;
 	int err = 0;
 
 	frame = get_sigframe(&ksig->ka, regs, sizeof(struct rt_sigframe), &fp);
@@ -473,9 +473,11 @@ static int __setup_rt_frame(int sig, struct ksignal *ksig,
 			return -EFAULT;
 	}
 
+	uc_flags = frame_uc_flags(regs);
+
 	put_user_try {
 		/* Create the ucontext.  */
-		put_user_ex(frame_uc_flags(regs), &frame->uc.uc_flags);
+		put_user_ex(uc_flags, &frame->uc.uc_flags);
 		put_user_ex(0, &frame->uc.uc_link);
 		save_altstack_ex(&frame->uc.uc_stack, regs->sp);
 
@@ -541,6 +543,7 @@ static int x32_setup_rt_frame(struct ksignal *ksig,
 {
 #ifdef CONFIG_X86_X32_ABI
 	struct rt_sigframe_x32 __user *frame;
+	unsigned long uc_flags;
 	void __user *restorer;
 	int err = 0;
 	void __user *fpstate = NULL;
@@ -555,9 +558,11 @@ static int x32_setup_rt_frame(struct ksignal *ksig,
 			return -EFAULT;
 	}
 
+	uc_flags = frame_uc_flags(regs);
+
 	put_user_try {
 		/* Create the ucontext.  */
-		put_user_ex(frame_uc_flags(regs), &frame->uc.uc_flags);
+		put_user_ex(uc_flags, &frame->uc.uc_flags);
 		put_user_ex(0, &frame->uc.uc_link);
 		compat_save_altstack_ex(&frame->uc.uc_stack, regs->sp);
 		put_user_ex(0, &frame->uc.uc__pad0);
arch/x86/kernel/vmlinux.lds.S +3 -3
index c45214c44e61..5cbce783d4d1 100644
@@ -141,11 +141,11 @@ SECTIONS
 		*(.text.__x86.indirect_thunk)
 		__indirect_thunk_end = .;
 #endif
-
-		/* End of text section */
-		_etext = .;
 	} :text = 0x9090
 
+	/* End of text section */
+	_etext = .;
+
 	NOTES :text :note
 
 	EXCEPTION_TABLE(16) :text = 0x9090
arch/x86/kvm/svm.c +5 -1
index 2a07e43ee666..847db4bd1dc5 100644
@@ -2020,7 +2020,11 @@ static void avic_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
 	if (!kvm_vcpu_apicv_active(vcpu))
 		return;
 
-	if (WARN_ON(h_physical_id >= AVIC_MAX_PHYSICAL_ID_COUNT))
+	/*
+	 * Since the host physical APIC id is 8 bits,
+	 * we can support host APIC ID upto 255.
+	 */
+	if (WARN_ON(h_physical_id > AVIC_PHYSICAL_ID_ENTRY_HOST_PHYSICAL_ID_MASK))
 		return;
 
 	entry = READ_ONCE(*(svm->avic_physical_id_cache));
arch/x86/kvm/x86.c +1 -1
index 0bbb21a49082..03b5c5803b5c 100644
@@ -1288,7 +1288,7 @@ static int set_efer(struct kvm_vcpu *vcpu, struct msr_data *msr_info)
 	u64 efer = msr_info->data;
 
 	if (efer & efer_reserved_bits)
-		return false;
+		return 1;
 
 	if (!msr_info->host_initiated) {
 		if (!__kvm_valid_efer(vcpu, efer))
arch/x86/lib/memcpy_64.S +2 -1
index 3b24dc05251c..9d05572370ed 100644
@@ -257,6 +257,7 @@ ENTRY(__memcpy_mcsafe)
 	/* Copy successful. Return zero */
 .L_done_memcpy_trap:
 	xorl %eax, %eax
+.L_done:
 	ret
 ENDPROC(__memcpy_mcsafe)
 EXPORT_SYMBOL_GPL(__memcpy_mcsafe)
@@ -273,7 +274,7 @@ EXPORT_SYMBOL_GPL(__memcpy_mcsafe)
 	addl	%edx, %ecx
 .E_trailing_bytes:
 	mov	%ecx, %eax
-	ret
+	jmp	.L_done
 
 	/*
 	 * For write fault handling, given the destination is unaligned,
arch/x86/mm/fault.c +0 -2
index 9d5c75f02295..55233dec5ff4 100644
@@ -359,8 +359,6 @@ static noinline int vmalloc_fault(unsigned long address)
 	if (!(address >= VMALLOC_START && address < VMALLOC_END))
 		return -1;
 
-	WARN_ON_ONCE(in_nmi());
-
 	/*
 	 * Copy kernel mappings over when needed. This can also
 	 * happen within a race in page table update. In the later
block/blk-mq-sched.c +11 -1
index 0c98b6c1ca49..1213556a20da 100644
@@ -413,6 +413,14 @@ void blk_mq_sched_insert_requests(struct blk_mq_hw_ctx *hctx,
 				  struct list_head *list, bool run_queue_async)
 {
 	struct elevator_queue *e;
+	struct request_queue *q = hctx->queue;
+
+	/*
+	 * blk_mq_sched_insert_requests() is called from flush plug
+	 * context only, and hold one usage counter to prevent queue
+	 * from being released.
+	 */
+	percpu_ref_get(&q->q_usage_counter);
 
 	e = hctx->queue->elevator;
 	if (e && e->type->ops.insert_requests)
@@ -426,12 +434,14 @@ void blk_mq_sched_insert_requests(struct blk_mq_hw_ctx *hctx,
 		if (!hctx->dispatch_busy && !e && !run_queue_async) {
 			blk_mq_try_issue_list_directly(hctx, list);
 			if (list_empty(list))
-				return;
+				goto out;
 		}
 		blk_mq_insert_requests(hctx, ctx, list);
 	}
 
 	blk_mq_run_hw_queue(hctx, run_queue_async);
+ out:
+	percpu_ref_put(&q->q_usage_counter);
 }
 
 static void blk_mq_sched_free_tags(struct blk_mq_tag_set *set,
block/blk-mq.c +75 -64

199 lines not on this page · raw message

block/blk.h +1 -1
index 848278c52030..a57bc90e44bb 100644
@@ -75,7 +75,7 @@ static inline bool biovec_phys_mergeable(struct request_queue *q,
 
 	if (addr1 + vec1->bv_len != addr2)
 		return false;
-	if (xen_domain() && !xen_biovec_phys_mergeable(vec1, vec2))
+	if (xen_domain() && !xen_biovec_phys_mergeable(vec1, vec2->bv_page))
 		return false;
 	if ((addr1 | mask) != ((addr2 + vec2->bv_len - 1) | mask))
 		return false;
block/genhd.c +19 -0
index 1dd8fd6613b8..ef28a5126d21 100644
@@ -531,6 +531,18 @@ void blk_free_devt(dev_t devt)
 	}
 }
 
+/**
+ *	We invalidate devt by assigning NULL pointer for devt in idr.
+ */
+void blk_invalidate_devt(dev_t devt)
+{
+	if (MAJOR(devt) == BLOCK_EXT_MAJOR) {
+		spin_lock_bh(&ext_devt_lock);
+		idr_replace(&ext_devt_idr, NULL, blk_mangle_minor(MINOR(devt)));
+		spin_unlock_bh(&ext_devt_lock);
+	}
+}
+
 static char *bdevt_str(dev_t devt, char *buf)
 {
 	if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) {
@@ -791,6 +803,13 @@ void del_gendisk(struct gendisk *disk)
 
 	if (!(disk->flags & GENHD_FL_HIDDEN))
 		blk_unregister_region(disk_devt(disk), disk->minors);
+	/*
+	 * Remove gendisk pointer from idr so that it cannot be looked up
+	 * while RCU period before freeing gendisk is running to prevent
+	 * use-after-free issues. Note that the device number stays
+	 * "in-use" until we really free the gendisk.
+	 */
+	blk_invalidate_devt(disk_devt(disk));
 
 	kobject_put(disk->part0.holder_dir);
 	kobject_put(disk->slave_dir);
block/partition-generic.c +7 -0
index 8e596a8dff32..aee643ce13d1 100644
@@ -285,6 +285,13 @@ void delete_partition(struct gendisk *disk, int partno)
 	kobject_put(part->holder_dir);
 	device_del(part_to_dev(part));
 
+	/*
+	 * Remove gendisk pointer from idr so that it cannot be looked up
+	 * while RCU period before freeing gendisk is running to prevent
+	 * use-after-free issues. Note that the device number stays
+	 * "in-use" until we really free the gendisk.
+	 */
+	blk_invalidate_devt(part_devt(part));
 	hd_struct_kill(part);
 }
 
block/sed-opal.c +6 -3
index e0de4dd448b3..119640897293 100644
@@ -2095,13 +2095,16 @@ static int opal_erase_locking_range(struct opal_dev *dev,
 static int opal_enable_disable_shadow_mbr(struct opal_dev *dev,
 					  struct opal_mbr_data *opal_mbr)
 {
+	u8 enable_disable = opal_mbr->enable_disable == OPAL_MBR_ENABLE ?
+		OPAL_TRUE : OPAL_FALSE;
+
 	const struct opal_step mbr_steps[] = {
 		{ opal_discovery0, },
 		{ start_admin1LSP_opal_session, &opal_mbr->key },
-		{ set_mbr_done, &opal_mbr->enable_disable },
+		{ set_mbr_done, &enable_disable },
 		{ end_opal_session, },
 		{ start_admin1LSP_opal_session, &opal_mbr->key },
-		{ set_mbr_enable_disable, &opal_mbr->enable_disable },
+		{ set_mbr_enable_disable, &enable_disable },
 		{ end_opal_session, },
 		{ NULL, }
 	};
@@ -2221,7 +2224,7 @@ static int __opal_lock_unlock(struct opal_dev *dev,
 
 static int __opal_set_mbr_done(struct opal_dev *dev, struct opal_key *key)
 {
-	u8 mbr_done_tf = 1;
+	u8 mbr_done_tf = OPAL_TRUE;
 	const struct opal_step mbrdone_step [] = {
 		{ opal_discovery0, },
 		{ start_admin1LSP_opal_session, key },
crypto/hmac.c +2 -0
index e74730224f0a..4b8c8ee8f15c 100644
@@ -168,6 +168,8 @@ static int hmac_init_tfm(struct crypto_tfm *tfm)
 
 	parent->descsize = sizeof(struct shash_desc) +
 			   crypto_shash_descsize(hash);
+	if (WARN_ON(parent->descsize > HASH_MAX_DESCSIZE))
+		return -EINVAL;
 
 	ctx->hash = hash;
 	return 0;
drivers/acpi/arm64/iort.c +14 -5
index e48894e002ba..a46c2c162c03 100644
@@ -1232,18 +1232,24 @@ static bool __init arm_smmu_v3_is_coherent(struct acpi_iort_node *node)
 /*
  * set numa proximity domain for smmuv3 device
  */
-static void  __init arm_smmu_v3_set_proximity(struct device *dev,
+static int  __init arm_smmu_v3_set_proximity(struct device *dev,
 					      struct acpi_iort_node *node)
 {
 	struct acpi_iort_smmu_v3 *smmu;
 
 	smmu = (struct acpi_iort_smmu_v3 *)node->node_data;
 	if (smmu->flags & ACPI_IORT_SMMU_V3_PXM_VALID) {
-		set_dev_node(dev, acpi_map_pxm_to_node(smmu->pxm));
+		int node = acpi_map_pxm_to_node(smmu->pxm);
+
+		if (node != NUMA_NO_NODE && !node_online(node))
+			return -EINVAL;
+
+		set_dev_node(dev, node);
 		pr_info("SMMU-v3[%llx] Mapped to Proximity domain %d\n",
 			smmu->base_address,
 			smmu->pxm);
 	}
+	return 0;
 }
 #else
 #define arm_smmu_v3_set_proximity NULL
@@ -1318,7 +1324,7 @@ struct iort_dev_config {
 	int (*dev_count_resources)(struct acpi_iort_node *node);
 	void (*dev_init_resources)(struct resource *res,
 				     struct acpi_iort_node *node);
-	void (*dev_set_proximity)(struct device *dev,
+	int (*dev_set_proximity)(struct device *dev,
 				    struct acpi_iort_node *node);
 };
 
@@ -1369,8 +1375,11 @@ static int __init iort_add_platform_device(struct acpi_iort_node *node,
 	if (!pdev)
 		return -ENOMEM;
 
-	if (ops->dev_set_proximity)
-		ops->dev_set_proximity(&pdev->dev, node);
+	if (ops->dev_set_proximity) {
+		ret = ops->dev_set_proximity(&pdev->dev, node);
+		if (ret)
+			goto dev_put;
+	}
 
 	count = ops->dev_count_resources(node);
 
drivers/acpi/property.c +8 -0
index 77abe0ec4043..bd533f68b1de 100644
@@ -1031,6 +1031,14 @@ struct fwnode_handle *acpi_get_next_subnode(const struct fwnode_handle *fwnode,
 		const struct acpi_data_node *data = to_acpi_data_node(fwnode);
 		struct acpi_data_node *dn;
 
+		/*
+		 * We can have a combination of device and data nodes, e.g. with
+		 * hierarchical _DSD properties. Make sure the adev pointer is
+		 * restored before going through data nodes, otherwise we will
+		 * be looking for data_nodes below the last device found instead
+		 * of the common fwnode shared by device_nodes and data_nodes.
+		 */
+		adev = to_acpi_device_node(fwnode);
 		if (adev)
 			head = &adev->data.subnodes;
 		else if (data)
drivers/base/power/main.c +4 -0
index 0992e67e862b..7900debc5ce4 100644
@@ -1738,6 +1738,10 @@ static int __device_suspend(struct device *dev, pm_message_t state, bool async)
 	if (dev->power.syscore)
 		goto Complete;
 
+	/* Avoid direct_complete to let wakeup_path propagate. */
+	if (device_may_wakeup(dev) || dev->power.wakeup_path)
+		dev->power.direct_complete = false;
+
 	if (dev->power.direct_complete) {
 		if (pm_runtime_status_suspended(dev)) {
 			pm_runtime_disable(dev);
drivers/bluetooth/btbcm.c +3 -1
index d5d6e6e5da3b..62d3aa2b26f6 100644
@@ -37,6 +37,7 @@
 #define BDADDR_BCM43430A0 (&(bdaddr_t) {{0xac, 0x1f, 0x12, 0xa0, 0x43, 0x43}})
 #define BDADDR_BCM4324B3 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb3, 0x24, 0x43}})
 #define BDADDR_BCM4330B1 (&(bdaddr_t) {{0x00, 0x00, 0x00, 0xb1, 0x30, 0x43}})
+#define BDADDR_BCM43341B (&(bdaddr_t) {{0xac, 0x1f, 0x00, 0x1b, 0x34, 0x43}})
 
 int btbcm_check_bdaddr(struct hci_dev *hdev)
 {
@@ -82,7 +83,8 @@ int btbcm_check_bdaddr(struct hci_dev *hdev)
 	    !bacmp(&bda->bdaddr, BDADDR_BCM20702A1) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM4324B3) ||
 	    !bacmp(&bda->bdaddr, BDADDR_BCM4330B1) ||
-	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A0)) {
+	    !bacmp(&bda->bdaddr, BDADDR_BCM43430A0) ||
+	    !bacmp(&bda->bdaddr, BDADDR_BCM43341B)) {
 		bt_dev_info(hdev, "BCM: Using default device address (%pMR)",
 			    &bda->bdaddr);
 		set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks);
drivers/bluetooth/hci_qca.c +2 -0
index f036c8f98ea3..97bc17670b7a 100644
@@ -508,6 +508,8 @@ static int qca_open(struct hci_uart *hu)
 		qcadev = serdev_device_get_drvdata(hu->serdev);
 		if (qcadev->btsoc_type != QCA_WCN3990) {
 			gpiod_set_value_cansleep(qcadev->bt_en, 1);
+			/* Controller needs time to bootup. */
+			msleep(150);
 		} else {
 			hu->init_speed = qcadev->init_speed;
 			hu->oper_speed = qcadev->oper_speed;
drivers/char/hw_random/omap-rng.c +1 -0
index b65ff6962899..e9b6ac61fb7f 100644
@@ -443,6 +443,7 @@ static int omap_rng_probe(struct platform_device *pdev)
 	priv->rng.read = omap_rng_do_read;
 	priv->rng.init = omap_rng_init;
 	priv->rng.cleanup = omap_rng_cleanup;
+	priv->rng.quality = 900;
 
 	priv->rng.priv = (unsigned long)priv;
 	platform_set_drvdata(pdev, priv);
drivers/char/random.c +31 -26

122 lines not on this page · raw message

drivers/char/virtio_console.c +2 -1
index fbeb71953526..05dbfdb9f4af 100644
@@ -75,7 +75,7 @@ struct ports_driver_data {
 	/* All the console devices handled by this driver */
 	struct list_head consoles;
 };
-static struct ports_driver_data pdrvdata;
+static struct ports_driver_data pdrvdata = { .next_vtermno = 1};
 
 static DEFINE_SPINLOCK(pdrvdata_lock);
 static DECLARE_COMPLETION(early_console_added);
@@ -1394,6 +1394,7 @@ static int add_port(struct ports_device *portdev, u32 id)
 	port->async_queue = NULL;
 
 	port->cons.ws.ws_row = port->cons.ws.ws_col = 0;
+	port->cons.vtermno = 0;
 
 	port->host_connected = port->guest_connected = false;
 	port->stats = (struct port_stats) { 0 };
drivers/clk/renesas/r8a774a1-cpg-mssr.c +4 -4
index 10e852518870..904d4d4ebcad 100644
@@ -122,8 +122,8 @@ static const struct mssr_mod_clk r8a774a1_mod_clks[] __initconst = {
 	DEF_MOD("msiof2",		 209,	R8A774A1_CLK_MSO),
 	DEF_MOD("msiof1",		 210,	R8A774A1_CLK_MSO),
 	DEF_MOD("msiof0",		 211,	R8A774A1_CLK_MSO),
-	DEF_MOD("sys-dmac2",		 217,	R8A774A1_CLK_S0D3),
-	DEF_MOD("sys-dmac1",		 218,	R8A774A1_CLK_S0D3),
+	DEF_MOD("sys-dmac2",		 217,	R8A774A1_CLK_S3D1),
+	DEF_MOD("sys-dmac1",		 218,	R8A774A1_CLK_S3D1),
 	DEF_MOD("sys-dmac0",		 219,	R8A774A1_CLK_S0D3),
 	DEF_MOD("cmt3",			 300,	R8A774A1_CLK_R),
 	DEF_MOD("cmt2",			 301,	R8A774A1_CLK_R),
@@ -142,8 +142,8 @@ static const struct mssr_mod_clk r8a774a1_mod_clks[] __initconst = {
 	DEF_MOD("rwdt",			 402,	R8A774A1_CLK_R),
 	DEF_MOD("intc-ex",		 407,	R8A774A1_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A774A1_CLK_S0D3),
-	DEF_MOD("audmac1",		 501,	R8A774A1_CLK_S0D3),
-	DEF_MOD("audmac0",		 502,	R8A774A1_CLK_S0D3),
+	DEF_MOD("audmac1",		 501,	R8A774A1_CLK_S1D2),
+	DEF_MOD("audmac0",		 502,	R8A774A1_CLK_S1D2),
 	DEF_MOD("hscif4",		 516,	R8A774A1_CLK_S3D1),
 	DEF_MOD("hscif3",		 517,	R8A774A1_CLK_S3D1),
 	DEF_MOD("hscif2",		 518,	R8A774A1_CLK_S3D1),
drivers/clk/renesas/r8a774c0-cpg-mssr.c +1 -1
index 10b96895d452..4a0525425c16 100644
@@ -149,7 +149,7 @@ static const struct mssr_mod_clk r8a774c0_mod_clks[] __initconst = {
 	DEF_MOD("intc-ex",		 407,	R8A774C0_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A774C0_CLK_S0D3),
 
-	DEF_MOD("audmac0",		 502,	R8A774C0_CLK_S3D4),
+	DEF_MOD("audmac0",		 502,	R8A774C0_CLK_S1D2),
 	DEF_MOD("hscif4",		 516,	R8A774C0_CLK_S3D1C),
 	DEF_MOD("hscif3",		 517,	R8A774C0_CLK_S3D1C),
 	DEF_MOD("hscif2",		 518,	R8A774C0_CLK_S3D1C),
drivers/clk/renesas/r8a7795-cpg-mssr.c +4 -4
index 86842c9fd314..0825cd0ff286 100644
@@ -129,8 +129,8 @@ static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = {
 	DEF_MOD("msiof2",		 209,	R8A7795_CLK_MSO),
 	DEF_MOD("msiof1",		 210,	R8A7795_CLK_MSO),
 	DEF_MOD("msiof0",		 211,	R8A7795_CLK_MSO),
-	DEF_MOD("sys-dmac2",		 217,	R8A7795_CLK_S0D3),
-	DEF_MOD("sys-dmac1",		 218,	R8A7795_CLK_S0D3),
+	DEF_MOD("sys-dmac2",		 217,	R8A7795_CLK_S3D1),
+	DEF_MOD("sys-dmac1",		 218,	R8A7795_CLK_S3D1),
 	DEF_MOD("sys-dmac0",		 219,	R8A7795_CLK_S0D3),
 	DEF_MOD("sceg-pub",		 229,	R8A7795_CLK_CR),
 	DEF_MOD("cmt3",			 300,	R8A7795_CLK_R),
@@ -153,8 +153,8 @@ static struct mssr_mod_clk r8a7795_mod_clks[] __initdata = {
 	DEF_MOD("rwdt",			 402,	R8A7795_CLK_R),
 	DEF_MOD("intc-ex",		 407,	R8A7795_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A7795_CLK_S0D3),
-	DEF_MOD("audmac1",		 501,	R8A7795_CLK_S0D3),
-	DEF_MOD("audmac0",		 502,	R8A7795_CLK_S0D3),
+	DEF_MOD("audmac1",		 501,	R8A7795_CLK_S1D2),
+	DEF_MOD("audmac0",		 502,	R8A7795_CLK_S1D2),
 	DEF_MOD("drif7",		 508,	R8A7795_CLK_S3D2),
 	DEF_MOD("drif6",		 509,	R8A7795_CLK_S3D2),
 	DEF_MOD("drif5",		 510,	R8A7795_CLK_S3D2),
drivers/clk/renesas/r8a7796-cpg-mssr.c +4 -4
index 12c455859f2c..997cd956f12b 100644
@@ -126,8 +126,8 @@ static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = {
 	DEF_MOD("msiof2",		 209,	R8A7796_CLK_MSO),
 	DEF_MOD("msiof1",		 210,	R8A7796_CLK_MSO),
 	DEF_MOD("msiof0",		 211,	R8A7796_CLK_MSO),
-	DEF_MOD("sys-dmac2",		 217,	R8A7796_CLK_S0D3),
-	DEF_MOD("sys-dmac1",		 218,	R8A7796_CLK_S0D3),
+	DEF_MOD("sys-dmac2",		 217,	R8A7796_CLK_S3D1),
+	DEF_MOD("sys-dmac1",		 218,	R8A7796_CLK_S3D1),
 	DEF_MOD("sys-dmac0",		 219,	R8A7796_CLK_S0D3),
 	DEF_MOD("cmt3",			 300,	R8A7796_CLK_R),
 	DEF_MOD("cmt2",			 301,	R8A7796_CLK_R),
@@ -146,8 +146,8 @@ static const struct mssr_mod_clk r8a7796_mod_clks[] __initconst = {
 	DEF_MOD("rwdt",			 402,	R8A7796_CLK_R),
 	DEF_MOD("intc-ex",		 407,	R8A7796_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A7796_CLK_S0D3),
-	DEF_MOD("audmac1",		 501,	R8A7796_CLK_S0D3),
-	DEF_MOD("audmac0",		 502,	R8A7796_CLK_S0D3),
+	DEF_MOD("audmac1",		 501,	R8A7796_CLK_S1D2),
+	DEF_MOD("audmac0",		 502,	R8A7796_CLK_S1D2),
 	DEF_MOD("drif7",		 508,	R8A7796_CLK_S3D2),
 	DEF_MOD("drif6",		 509,	R8A7796_CLK_S3D2),
 	DEF_MOD("drif5",		 510,	R8A7796_CLK_S3D2),
drivers/clk/renesas/r8a77965-cpg-mssr.c +4 -4
index eb1cca58a1e1..afc9c72fa094 100644
@@ -123,8 +123,8 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = {
 	DEF_MOD("msiof2",		209,	R8A77965_CLK_MSO),
 	DEF_MOD("msiof1",		210,	R8A77965_CLK_MSO),
 	DEF_MOD("msiof0",		211,	R8A77965_CLK_MSO),
-	DEF_MOD("sys-dmac2",		217,	R8A77965_CLK_S0D3),
-	DEF_MOD("sys-dmac1",		218,	R8A77965_CLK_S0D3),
+	DEF_MOD("sys-dmac2",		217,	R8A77965_CLK_S3D1),
+	DEF_MOD("sys-dmac1",		218,	R8A77965_CLK_S3D1),
 	DEF_MOD("sys-dmac0",		219,	R8A77965_CLK_S0D3),
 
 	DEF_MOD("cmt3",			300,	R8A77965_CLK_R),
@@ -146,8 +146,8 @@ static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = {
 	DEF_MOD("intc-ex",		407,	R8A77965_CLK_CP),
 	DEF_MOD("intc-ap",		408,	R8A77965_CLK_S0D3),
 
-	DEF_MOD("audmac1",		501,	R8A77965_CLK_S0D3),
-	DEF_MOD("audmac0",		502,	R8A77965_CLK_S0D3),
+	DEF_MOD("audmac1",		501,	R8A77965_CLK_S1D2),
+	DEF_MOD("audmac0",		502,	R8A77965_CLK_S1D2),
 	DEF_MOD("drif7",		508,	R8A77965_CLK_S3D2),
 	DEF_MOD("drif6",		509,	R8A77965_CLK_S3D2),
 	DEF_MOD("drif5",		510,	R8A77965_CLK_S3D2),
drivers/clk/renesas/r8a77990-cpg-mssr.c +1 -1
index 9a278c75c918..03f445d47ef6 100644
@@ -152,7 +152,7 @@ static const struct mssr_mod_clk r8a77990_mod_clks[] __initconst = {
 	DEF_MOD("intc-ex",		 407,	R8A77990_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A77990_CLK_S0D3),
 
-	DEF_MOD("audmac0",		 502,	R8A77990_CLK_S3D4),
+	DEF_MOD("audmac0",		 502,	R8A77990_CLK_S1D2),
 	DEF_MOD("drif7",		 508,	R8A77990_CLK_S3D2),
 	DEF_MOD("drif6",		 509,	R8A77990_CLK_S3D2),
 	DEF_MOD("drif5",		 510,	R8A77990_CLK_S3D2),
drivers/clk/renesas/r8a77995-cpg-mssr.c +1 -1
index eee3874865a9..68707277b17b 100644
@@ -133,7 +133,7 @@ static const struct mssr_mod_clk r8a77995_mod_clks[] __initconst = {
 	DEF_MOD("rwdt",			 402,	R8A77995_CLK_R),
 	DEF_MOD("intc-ex",		 407,	R8A77995_CLK_CP),
 	DEF_MOD("intc-ap",		 408,	R8A77995_CLK_S1D2),
-	DEF_MOD("audmac0",		 502,	R8A77995_CLK_S3D1),
+	DEF_MOD("audmac0",		 502,	R8A77995_CLK_S1D2),
 	DEF_MOD("hscif3",		 517,	R8A77995_CLK_S3D1C),
 	DEF_MOD("hscif0",		 520,	R8A77995_CLK_S3D1C),
 	DEF_MOD("thermal",		 522,	R8A77995_CLK_CP),
drivers/clk/rockchip/clk-rk3288.c +9 -12
index 5a67b7869960..355d6a3611db 100644
@@ -219,7 +219,7 @@ PNAME(mux_hsadcout_p)	= { "hsadc_src", "ext_hsadc" };
 PNAME(mux_edp_24m_p)	= { "ext_edp_24m", "xin24m" };
 PNAME(mux_tspout_p)	= { "cpll", "gpll", "npll", "xin27m" };
 
-PNAME(mux_aclk_vcodec_pre_p)	= { "aclk_vepu", "aclk_vdpu" };
+PNAME(mux_aclk_vcodec_pre_p)	= { "aclk_vdpu", "aclk_vepu" };
 PNAME(mux_usbphy480m_p)		= { "sclk_otgphy1_480m", "sclk_otgphy2_480m",
 				    "sclk_otgphy0_480m" };
 PNAME(mux_hsicphy480m_p)	= { "cpll", "gpll", "usbphy480m_src" };
@@ -313,13 +313,13 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 	COMPOSITE_NOMUX(0, "aclk_core_mp", "armclk", CLK_IGNORE_UNUSED,
 			RK3288_CLKSEL_CON(0), 4, 4, DFLAGS | CLK_DIVIDER_READ_ONLY,
 			RK3288_CLKGATE_CON(12), 6, GFLAGS),
-	COMPOSITE_NOMUX(0, "atclk", "armclk", CLK_IGNORE_UNUSED,
+	COMPOSITE_NOMUX(0, "atclk", "armclk", 0,
 			RK3288_CLKSEL_CON(37), 4, 5, DFLAGS | CLK_DIVIDER_READ_ONLY,
 			RK3288_CLKGATE_CON(12), 7, GFLAGS),
 	COMPOSITE_NOMUX(0, "pclk_dbg_pre", "armclk", CLK_IGNORE_UNUSED,
 			RK3288_CLKSEL_CON(37), 9, 5, DFLAGS | CLK_DIVIDER_READ_ONLY,
 			RK3288_CLKGATE_CON(12), 8, GFLAGS),
-	GATE(0, "pclk_dbg", "pclk_dbg_pre", CLK_IGNORE_UNUSED,
+	GATE(0, "pclk_dbg", "pclk_dbg_pre", 0,
 			RK3288_CLKGATE_CON(12), 9, GFLAGS),
 	GATE(0, "cs_dbg", "pclk_dbg_pre", CLK_IGNORE_UNUSED,
 			RK3288_CLKGATE_CON(12), 10, GFLAGS),
@@ -420,7 +420,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 	COMPOSITE(0, "aclk_vdpu", mux_pll_src_cpll_gpll_usb480m_p, 0,
 			RK3288_CLKSEL_CON(32), 14, 2, MFLAGS, 8, 5, DFLAGS,
 			RK3288_CLKGATE_CON(3), 11, GFLAGS),
-	MUXGRF(0, "aclk_vcodec_pre", mux_aclk_vcodec_pre_p, 0,
+	MUXGRF(0, "aclk_vcodec_pre", mux_aclk_vcodec_pre_p, CLK_SET_RATE_PARENT,
 			RK3288_GRF_SOC_CON(0), 7, 1, MFLAGS),
 	GATE(ACLK_VCODEC, "aclk_vcodec", "aclk_vcodec_pre", 0,
 		RK3288_CLKGATE_CON(9), 0, GFLAGS),
@@ -647,7 +647,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 	INVERTER(SCLK_HSADC, "sclk_hsadc", "sclk_hsadc_out",
 			RK3288_CLKSEL_CON(22), 7, IFLAGS),
 
-	GATE(0, "jtag", "ext_jtag", CLK_IGNORE_UNUSED,
+	GATE(0, "jtag", "ext_jtag", 0,
 			RK3288_CLKGATE_CON(4), 14, GFLAGS),
 
 	COMPOSITE_NODIV(SCLK_USBPHY480M_SRC, "usbphy480m_src", mux_usbphy480m_p, 0,
@@ -656,7 +656,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 	COMPOSITE_NODIV(SCLK_HSICPHY480M, "sclk_hsicphy480m", mux_hsicphy480m_p, 0,
 			RK3288_CLKSEL_CON(29), 0, 2, MFLAGS,
 			RK3288_CLKGATE_CON(3), 6, GFLAGS),
-	GATE(0, "hsicphy12m_xin12m", "xin12m", CLK_IGNORE_UNUSED,
+	GATE(0, "hsicphy12m_xin12m", "xin12m", 0,
 			RK3288_CLKGATE_CON(13), 9, GFLAGS),
 	DIV(0, "hsicphy12m_usbphy", "sclk_hsicphy480m", 0,
 			RK3288_CLKSEL_CON(11), 8, 6, DFLAGS),
@@ -697,7 +697,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = {
 	GATE(PCLK_TZPC, "pclk_tzpc", "pclk_cpu", 0, RK3288_CLKGATE_CON(11), 3, GFLAGS),
 	GATE(PCLK_UART2, "pclk_uart2", "pclk_cpu", 0, RK3288_CLKGATE_CON(11), 9, GFLAGS),
 	GATE(PCLK_EFUSE256, "pclk_efuse_256", "pclk_cpu", 0, RK3288_CLKGATE_CON(11), 10, GFLAGS),
-	GATE(PCLK_RKPWM, "pclk_rkpwm", "pclk_cpu", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(11), 11, GFLAGS),
+	GATE(PCLK_RKPWM, "pclk_rkpwm", "pclk_cpu", 0, RK3288_CLKGATE_CON(11), 11, GFLAGS),
 
 	/* ddrctrl [DDR Controller PHY clock] gates */
 	GATE(0, "nclk_ddrupctl0", "ddrphy", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(11), 4, GFLAGS),
@@ -837,12 +837,9 @@ static const char *const rk3288_critical_clocks[] __initconst = {
 	"pclk_alive_niu",
 	"pclk_pd_pmu",
 	"pclk_pmu_niu",
-	"pclk_core_niu",
-	"pclk_ddrupctl0",
-	"pclk_publ0",
-	"pclk_ddrupctl1",
-	"pclk_publ1",
 	"pmu_hclk_otg0",
+	/* pwm-regulators on some boards, so handoff-critical later */
+	"pclk_rkpwm",
 };
 
 static void __iomem *rk3288_cru_base;
drivers/clk/zynqmp/divider.c +6 -3
index a371c66e72ef..bd9b5fbc443b 100644
@@ -31,12 +31,14 @@
  * struct zynqmp_clk_divider - adjustable divider clock
  * @hw:		handle between common and hardware-specific interfaces
  * @flags:	Hardware specific flags
+ * @is_frac:	The divider is a fractional divider
  * @clk_id:	Id of clock
  * @div_type:	divisor type (TYPE_DIV1 or TYPE_DIV2)
  */
 struct zynqmp_clk_divider {
 	struct clk_hw hw;
 	u8 flags;
+	bool is_frac;
 	u32 clk_id;
 	u32 div_type;
 };
@@ -116,8 +118,7 @@ static long zynqmp_clk_divider_round_rate(struct clk_hw *hw,
 
 	bestdiv = zynqmp_divider_get_val(*prate, rate);
 
-	if ((clk_hw_get_flags(hw) & CLK_SET_RATE_PARENT) &&
-	    (divider->flags & CLK_FRAC))
+	if ((clk_hw_get_flags(hw) & CLK_SET_RATE_PARENT) && divider->is_frac)
 		bestdiv = rate % *prate ? 1 : bestdiv;
 	*prate = rate * bestdiv;
 
@@ -195,11 +196,13 @@ struct clk_hw *zynqmp_clk_register_divider(const char *name,
 
 	init.name = name;
 	init.ops = &zynqmp_clk_divider_ops;
-	init.flags = nodes->flag;
+	/* CLK_FRAC is not defined in the common clk framework */
+	init.flags = nodes->flag & ~CLK_FRAC;
 	init.parent_names = parents;
 	init.num_parents = 1;
 
 	/* struct clk_divider assignments */
+	div->is_frac = !!(nodes->flag & CLK_FRAC);
 	div->flags = nodes->type_flag;
 	div->hw.init = &init;
 	div->clk_id = clk_id;
drivers/cpufreq/cpufreq.c +1 -0
index ef0e33e21b98..97b094963253 100644
@@ -1103,6 +1103,7 @@ static struct cpufreq_policy *cpufreq_policy_alloc(unsigned int cpu)
 				   cpufreq_global_kobject, "policy%u", cpu);
 	if (ret) {
 		pr_err("%s: failed to init policy->kobj: %d\n", __func__, ret);
+		kobject_put(&policy->kobj);
 		goto err_free_real_cpus;
 	}
 
drivers/cpufreq/cpufreq_governor.c +2 -0
index ffa9adeaba31..9d1d9bf02710 100644
@@ -459,6 +459,8 @@ int cpufreq_dbs_governor_init(struct cpufreq_policy *policy)
 	/* Failure, so roll back. */
 	pr_err("initialization failed (dbs_data kobject init error %d)\n", ret);
 
+	kobject_put(&dbs_data->attr_set.kobj);
+
 	policy->governor_data = NULL;
 
 	if (!have_governor_per_policy())
drivers/cpufreq/imx6q-cpufreq.c +2 -2
index 9fedf627e000..3ee55aee5d71 100644
@@ -407,11 +407,11 @@ static int imx6q_cpufreq_probe(struct platform_device *pdev)
 		ret = imx6ul_opp_check_speed_grading(cpu_dev);
 		if (ret) {
 			if (ret == -EPROBE_DEFER)
-				return ret;
+				goto put_node;
 
 			dev_err(cpu_dev, "failed to read ocotp: %d\n",
 				ret);
-			return ret;
+			goto put_node;
 		}
 	} else {
 		imx6q_opp_check_speed_grading(cpu_dev);
drivers/cpufreq/kirkwood-cpufreq.c +11 -8
index c2dd43f3f5d8..8d63a6dc8383 100644
@@ -124,13 +124,14 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
 	priv.cpu_clk = of_clk_get_by_name(np, "cpu_clk");
 	if (IS_ERR(priv.cpu_clk)) {
 		dev_err(priv.dev, "Unable to get cpuclk\n");
-		return PTR_ERR(priv.cpu_clk);
+		err = PTR_ERR(priv.cpu_clk);
+		goto out_node;
 	}
 
 	err = clk_prepare_enable(priv.cpu_clk);
 	if (err) {
 		dev_err(priv.dev, "Unable to prepare cpuclk\n");
-		return err;
+		goto out_node;
 	}
 
 	kirkwood_freq_table[0].frequency = clk_get_rate(priv.cpu_clk) / 1000;
@@ -161,20 +162,22 @@ static int kirkwood_cpufreq_probe(struct platform_device *pdev)
 		goto out_ddr;
 	}
 
-	of_node_put(np);
-	np = NULL;
-
 	err = cpufreq_register_driver(&kirkwood_cpufreq_driver);
-	if (!err)
-		return 0;
+	if (err) {
+		dev_err(priv.dev, "Failed to register cpufreq driver\n");
+		goto out_powersave;
+	}
 
-	dev_err(priv.dev, "Failed to register cpufreq driver\n");
+	of_node_put(np);
+	return 0;
 
+out_powersave:
 	clk_disable_unprepare(priv.powersave_clk);
 out_ddr:
 	clk_disable_unprepare(priv.ddr_clk);
 out_cpu:
 	clk_disable_unprepare(priv.cpu_clk);
+out_node:
 	of_node_put(np);
 
 	return err;
drivers/cpufreq/pasemi-cpufreq.c +1 -0
index 75dfbd2a58ea..c7710c149de8 100644
@@ -146,6 +146,7 @@ static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)
 
 	cpu = of_get_cpu_node(policy->cpu, NULL);
 
+	of_node_put(cpu);
 	if (!cpu)
 		goto out;
 
drivers/cpufreq/pmac32-cpufreq.c +2 -0
index 52f0d91d30c1..9b4ce2eb8222 100644
@@ -552,6 +552,7 @@ static int pmac_cpufreq_init_7447A(struct device_node *cpunode)
 	volt_gpio_np = of_find_node_by_name(NULL, "cpu-vcore-select");
 	if (volt_gpio_np)
 		voltage_gpio = read_gpio(volt_gpio_np);
+	of_node_put(volt_gpio_np);
 	if (!voltage_gpio){
 		pr_err("missing cpu-vcore-select gpio\n");
 		return 1;
@@ -588,6 +589,7 @@ static int pmac_cpufreq_init_750FX(struct device_node *cpunode)
 	if (volt_gpio_np)
 		voltage_gpio = read_gpio(volt_gpio_np);
 
+	of_node_put(volt_gpio_np);
 	pvr = mfspr(SPRN_PVR);
 	has_cpu_l2lve = !((pvr & 0xf00) == 0x100);
 
drivers/cpufreq/ppc_cbe_cpufreq.c +1 -0
index 41a0f0be3f9f..8414c3a4ea08 100644
@@ -86,6 +86,7 @@ static int cbe_cpufreq_cpu_init(struct cpufreq_policy *policy)
 	if (!cbe_get_cpu_pmd_regs(policy->cpu) ||
 	    !cbe_get_cpu_mic_tm_regs(policy->cpu)) {
 		pr_info("invalid CBE regs pointers for cpufreq\n");
+		of_node_put(cpu);
 		return -EINVAL;
 	}
 
drivers/crypto/sunxi-ss/sun4i-ss-hash.c +4 -1
index a4b5ff2b72f8..f6936bb3b7be 100644
@@ -240,7 +240,10 @@ static int sun4i_hash(struct ahash_request *areq)
 		}
 	} else {
 		/* Since we have the flag final, we can go up to modulo 4 */
-		end = ((areq->nbytes + op->len) / 4) * 4 - op->len;
+		if (areq->nbytes < 4)
+			end = 0;
+		else
+			end = ((areq->nbytes + op->len) / 4) * 4 - op->len;
 	}
 
 	/* TODO if SGlen % 4 and !op->len then DMA */
drivers/crypto/vmx/aesp8-ppc.pl +1 -1
index de78282b8f44..9c6b5c1d6a1a 100644
@@ -1357,7 +1357,7 @@ Loop_ctr32_enc:
 	addi		$idx,$idx,16
 	bdnz		Loop_ctr32_enc
 
-	vadduwm		$ivec,$ivec,$one
+	vadduqm		$ivec,$ivec,$one
 	 vmr		$dat,$inptail
 	 lvx		$inptail,0,$inp
 	 addi		$inp,$inp,16
drivers/devfreq/devfreq.c +2 -2
index 0ae3de76833b..839621b044f4 100644
@@ -228,7 +228,7 @@ static struct devfreq_governor *find_devfreq_governor(const char *name)
  * if is not found. This can happen when both drivers (the governor driver
  * and the driver that call devfreq_add_device) are built as modules.
  * devfreq_list_lock should be held by the caller. Returns the matched
- * governor's pointer.
+ * governor's pointer or an error pointer.
  */
 static struct devfreq_governor *try_then_request_governor(const char *name)
 {
@@ -254,7 +254,7 @@ static struct devfreq_governor *try_then_request_governor(const char *name)
 		/* Restore previous state before return */
 		mutex_lock(&devfreq_list_lock);
 		if (err)
-			return NULL;
+			return ERR_PTR(err);
 
 		governor = find_devfreq_governor(name);
 	}
drivers/dma/at_xdmac.c +5 -1
index fe69dccfa0c0..37a269420435 100644
@@ -1606,7 +1606,11 @@ static void at_xdmac_tasklet(unsigned long data)
 					struct at_xdmac_desc,
 					xfer_node);
 		dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc);
-		BUG_ON(!desc->active_xfer);
+		if (!desc->active_xfer) {
+			dev_err(chan2dev(&atchan->chan), "Xfer not active: exiting");
+			spin_unlock_bh(&atchan->lock);
+			return;
+		}
 
 		txd = &desc->tx_dma_desc;
 
drivers/dma/pl330.c +7 -3
index cff1b143fff5..9b7a49fc7697 100644
@@ -966,6 +966,7 @@ static void _stop(struct pl330_thread *thrd)
 {
 	void __iomem *regs = thrd->dmac->base;
 	u8 insn[6] = {0, 0, 0, 0, 0, 0};
+	u32 inten = readl(regs + INTEN);
 
 	if (_state(thrd) == PL330_STATE_FAULT_COMPLETING)
 		UNTIL(thrd, PL330_STATE_FAULTING | PL330_STATE_KILLING);
@@ -978,10 +979,13 @@ static void _stop(struct pl330_thread *thrd)
 
 	_emit_KILL(0, insn);
 
-	/* Stop generating interrupts for SEV */
-	writel(readl(regs + INTEN) & ~(1 << thrd->ev), regs + INTEN);
-
 	_execute_DBGINSN(thrd, insn, is_manager(thrd));
+
+	/* clear the event */
+	if (inten & (1 << thrd->ev))
+		writel(1 << thrd->ev, regs + INTCLR);
+	/* Stop generating interrupts for SEV */
+	writel(inten & ~(1 << thrd->ev), regs + INTEN);
 }
 
 /* Start doing req 'idx' of thread 'thrd' */
drivers/dma/tegra210-adma.c +13 -15
index b26256f23d67..09b6756366c3 100644
@@ -22,7 +22,6 @@
 #include <linux/of_device.h>
 #include <linux/of_dma.h>
 #include <linux/of_irq.h>
-#include <linux/pm_clock.h>
 #include <linux/pm_runtime.h>
 #include <linux/slab.h>
 
@@ -141,6 +140,7 @@ struct tegra_adma {
 	struct dma_device		dma_dev;
 	struct device			*dev;
 	void __iomem			*base_addr;
+	struct clk			*ahub_clk;
 	unsigned int			nr_channels;
 	unsigned long			rx_requests_reserved;
 	unsigned long			tx_requests_reserved;
@@ -637,8 +637,9 @@ static int tegra_adma_runtime_suspend(struct device *dev)
 	struct tegra_adma *tdma = dev_get_drvdata(dev);
 
 	tdma->global_cmd = tdma_read(tdma, ADMA_GLOBAL_CMD);
+	clk_disable_unprepare(tdma->ahub_clk);
 
-	return pm_clk_suspend(dev);
+	return 0;
 }
 
 static int tegra_adma_runtime_resume(struct device *dev)
@@ -646,10 +647,11 @@ static int tegra_adma_runtime_resume(struct device *dev)
 	struct tegra_adma *tdma = dev_get_drvdata(dev);
 	int ret;
 
-	ret = pm_clk_resume(dev);
-	if (ret)
+	ret = clk_prepare_enable(tdma->ahub_clk);
+	if (ret) {
+		dev_err(dev, "ahub clk_enable failed: %d\n", ret);
 		return ret;
-
+	}
 	tdma_write(tdma, ADMA_GLOBAL_CMD, tdma->global_cmd);
 
 	return 0;
@@ -692,13 +694,11 @@ static int tegra_adma_probe(struct platform_device *pdev)
 	if (IS_ERR(tdma->base_addr))
 		return PTR_ERR(tdma->base_addr);
 
-	ret = pm_clk_create(&pdev->dev);
-	if (ret)
-		return ret;
-
-	ret = of_pm_clk_add_clk(&pdev->dev, "d_audio");
-	if (ret)
-		goto clk_destroy;
+	tdma->ahub_clk = devm_clk_get(&pdev->dev, "d_audio");
+	if (IS_ERR(tdma->ahub_clk)) {
+		dev_err(&pdev->dev, "Error: Missing ahub controller clock\n");
+		return PTR_ERR(tdma->ahub_clk);
+	}
 
 	pm_runtime_enable(&pdev->dev);
 
@@ -775,8 +775,6 @@ static int tegra_adma_probe(struct platform_device *pdev)
 	pm_runtime_put_sync(&pdev->dev);
 rpm_disable:
 	pm_runtime_disable(&pdev->dev);
-clk_destroy:
-	pm_clk_destroy(&pdev->dev);
 
 	return ret;
 }
@@ -786,6 +784,7 @@ static int tegra_adma_remove(struct platform_device *pdev)
 	struct tegra_adma *tdma = platform_get_drvdata(pdev);
 	int i;
 
+	of_dma_controller_free(pdev->dev.of_node);
 	dma_async_device_unregister(&tdma->dma_dev);
 
 	for (i = 0; i < tdma->nr_channels; ++i)
@@ -793,7 +792,6 @@ static int tegra_adma_remove(struct platform_device *pdev)
 
 	pm_runtime_put_sync(&pdev->dev);
 	pm_runtime_disable(&pdev->dev);
-	pm_clk_destroy(&pdev->dev);
 
 	return 0;
 }
drivers/extcon/extcon-arizona.c +10 -0
index da0e9bc4262f..9327479c719c 100644
@@ -1726,6 +1726,16 @@ static int arizona_extcon_remove(struct platform_device *pdev)
 	struct arizona_extcon_info *info = platform_get_drvdata(pdev);
 	struct arizona *arizona = info->arizona;
 	int jack_irq_rise, jack_irq_fall;
+	bool change;
+
+	regmap_update_bits_check(arizona->regmap, ARIZONA_MIC_DETECT_1,
+				 ARIZONA_MICD_ENA, 0,
+				 &change);
+
+	if (change) {
+		regulator_disable(info->micvdd);
+		pm_runtime_put(info->dev);
+	}
 
 	gpiod_put(info->micd_pol_gpio);
 
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +17 -7
index ee47c11e92ce..4dee2326b29c 100644
@@ -136,8 +136,9 @@ int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f,
 {
 	struct amdgpu_device *adev = ring->adev;
 	struct amdgpu_fence *fence;
-	struct dma_fence *old, **ptr;
+	struct dma_fence __rcu **ptr;
 	uint32_t seq;
+	int r;
 
 	fence = kmem_cache_alloc(amdgpu_fence_slab, GFP_KERNEL);
 	if (fence == NULL)
@@ -153,15 +154,24 @@ int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f,
 			       seq, flags | AMDGPU_FENCE_FLAG_INT);
 
 	ptr = &ring->fence_drv.fences[seq & ring->fence_drv.num_fences_mask];
+	if (unlikely(rcu_dereference_protected(*ptr, 1))) {
+		struct dma_fence *old;
+
+		rcu_read_lock();
+		old = dma_fence_get_rcu_safe(ptr);
+		rcu_read_unlock();
+
+		if (old) {
+			r = dma_fence_wait(old, false);
+			dma_fence_put(old);
+			if (r)
+				return r;
+		}
+	}
+
 	/* This function can't be called concurrently anyway, otherwise
 	 * emitting the fence would mess up the hardware ring buffer.
 	 */
-	old = rcu_dereference_protected(*ptr, 1);
-	if (old && !dma_fence_is_signaled(old)) {
-		DRM_INFO("rcu slot is busy\n");
-		dma_fence_wait(old, false);
-	}
-
 	rcu_assign_pointer(*ptr, dma_fence_get(&fence->base));
 
 	*f = &fence->base;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +3 -2
index 84ee77786944..864c2faf672b 100644
@@ -3519,6 +3519,8 @@ static void dm_drm_plane_reset(struct drm_plane *plane)
 		plane->state = &amdgpu_state->base;
 		plane->state->plane = plane;
 		plane->state->rotation = DRM_MODE_ROTATE_0;
+		plane->state->alpha = DRM_BLEND_ALPHA_OPAQUE;
+		plane->state->pixel_blend_mode = DRM_MODE_BLEND_PREMULTI;
 	}
 }
 
@@ -4976,8 +4978,7 @@ static void amdgpu_dm_commit_planes(struct drm_atomic_state *state,
 static void amdgpu_dm_crtc_copy_transient_flags(struct drm_crtc_state *crtc_state,
 						struct dc_stream_state *stream_state)
 {
-	stream_state->mode_changed =
-		crtc_state->mode_changed || crtc_state->active_changed;
+	stream_state->mode_changed = drm_atomic_crtc_needs_modeset(crtc_state);
 }
 
 static int amdgpu_dm_atomic_commit(struct drm_device *dev,
drivers/gpu/drm/amd/display/dc/core/dc.c +14 -1
index 5af2ea1f201d..c0db7788c464 100644
@@ -524,6 +524,14 @@ void dc_link_set_preferred_link_settings(struct dc *dc,
 	struct dc_stream_state *link_stream;
 	struct dc_link_settings store_settings = *link_setting;
 
+	link->preferred_link_setting = store_settings;
+
+	/* Retrain with preferred link settings only relevant for
+	 * DP signal type
+	 */
+	if (!dc_is_dp_signal(link->connector_signal))
+		return;
+
 	for (i = 0; i < MAX_PIPES; i++) {
 		pipe = &dc->current_state->res_ctx.pipe_ctx[i];
 		if (pipe->stream && pipe->stream->sink
@@ -539,7 +547,10 @@ void dc_link_set_preferred_link_settings(struct dc *dc,
 
 	link_stream = link->dc->current_state->res_ctx.pipe_ctx[i].stream;
 
-	link->preferred_link_setting = store_settings;
+	/* Cannot retrain link if backend is off */
+	if (link_stream->dpms_off)
+		return;
+
 	if (link_stream)
 		decide_link_settings(link_stream, &store_settings);
 
@@ -1500,6 +1511,7 @@ static void commit_planes_do_stream_update(struct dc *dc,
 				continue;
 
 			if (stream_update->dpms_off) {
+				dc->hwss.pipe_control_lock(dc, pipe_ctx, true);
 				if (*stream_update->dpms_off) {
 					core_link_disable_stream(pipe_ctx, KEEP_ACQUIRED_RESOURCE);
 					dc->hwss.optimize_bandwidth(dc, dc->current_state);
@@ -1507,6 +1519,7 @@ static void commit_planes_do_stream_update(struct dc *dc,
 					dc->hwss.prepare_bandwidth(dc, dc->current_state);
 					core_link_enable_stream(dc->current_state, pipe_ctx);
 				}
+				dc->hwss.pipe_control_lock(dc, pipe_ctx, false);
 			}
 
 			if (stream_update->abm_level && pipe_ctx->stream_res.abm) {
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +4 -2
index 76137df74a53..c6aa80d7e639 100644
@@ -1266,10 +1266,12 @@ bool dc_remove_plane_from_context(
 			 * For head pipe detach surfaces from pipe for tail
 			 * pipe just zero it out
 			 */
-			if (!pipe_ctx->top_pipe) {
+			if (!pipe_ctx->top_pipe ||
+				(!pipe_ctx->top_pipe->top_pipe &&
+					pipe_ctx->top_pipe->stream_res.opp != pipe_ctx->stream_res.opp)) {
 				pipe_ctx->plane_state = NULL;
 				pipe_ctx->bottom_pipe = NULL;
-			} else  {
+			} else {
 				memset(pipe_ctx, 0, sizeof(*pipe_ctx));
 			}
 		}
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c +15 -5
index 4a863a5dab41..321af9af95e8 100644
@@ -406,15 +406,25 @@ void dpp1_dscl_calc_lb_num_partitions(
 		int *num_part_y,
 		int *num_part_c)
 {
+	int lb_memory_size, lb_memory_size_c, lb_memory_size_a, num_partitions_a,
+	lb_bpc, memory_line_size_y, memory_line_size_c, memory_line_size_a;
+
 	int line_size = scl_data->viewport.width < scl_data->recout.width ?
 			scl_data->viewport.width : scl_data->recout.width;
 	int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ?
 			scl_data->viewport_c.width : scl_data->recout.width;
-	int lb_bpc = dpp1_dscl_get_lb_depth_bpc(scl_data->lb_params.depth);
-	int memory_line_size_y = (line_size * lb_bpc + 71) / 72; /* +71 to ceil */
-	int memory_line_size_c = (line_size_c * lb_bpc + 71) / 72; /* +71 to ceil */
-	int memory_line_size_a = (line_size + 5) / 6; /* +5 to ceil */
-	int lb_memory_size, lb_memory_size_c, lb_memory_size_a, num_partitions_a;
+
+	if (line_size == 0)
+		line_size = 1;
+
+	if (line_size_c == 0)
+		line_size_c = 1;
+
+
+	lb_bpc = dpp1_dscl_get_lb_depth_bpc(scl_data->lb_params.depth);
+	memory_line_size_y = (line_size * lb_bpc + 71) / 72; /* +71 to ceil */
+	memory_line_size_c = (line_size_c * lb_bpc + 71) / 72; /* +71 to ceil */
+	memory_line_size_a = (line_size + 5) / 6; /* +5 to ceil */
 
 	if (lb_config == LB_MEMORY_CONFIG_1) {
 		lb_memory_size = 816;
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +9 -3
index a684b38332ac..2ab05a4e8ed4 100644
@@ -2658,9 +2658,15 @@ static void dcn10_set_cursor_position(struct pipe_ctx *pipe_ctx)
 		.rotation = pipe_ctx->plane_state->rotation,
 		.mirror = pipe_ctx->plane_state->horizontal_mirror
 	};
-
-	pos_cpy.x_hotspot += pipe_ctx->plane_state->dst_rect.x;
-	pos_cpy.y_hotspot += pipe_ctx->plane_state->dst_rect.y;
+	uint32_t x_plane = pipe_ctx->plane_state->dst_rect.x;
+	uint32_t y_plane = pipe_ctx->plane_state->dst_rect.y;
+	uint32_t x_offset = min(x_plane, pos_cpy.x);
+	uint32_t y_offset = min(y_plane, pos_cpy.y);
+
+	pos_cpy.x -= x_offset;
+	pos_cpy.y -= y_offset;
+	pos_cpy.x_hotspot += (x_plane - x_offset);
+	pos_cpy.y_hotspot += (y_plane - y_offset);
 
 	if (pipe_ctx->plane_state->address.type
 			== PLN_ADDR_TYPE_VIDEO_PROGRESSIVE)
drivers/gpu/drm/drm_atomic_state_helper.c +4 -0
index 4985384e51f6..59ffb6b9c745 100644
@@ -30,6 +30,7 @@
 #include <drm/drm_connector.h>
 #include <drm/drm_atomic.h>
 #include <drm/drm_device.h>
+#include <drm/drm_writeback.h>
 
 #include <linux/slab.h>
 #include <linux/dma-fence.h>
@@ -412,6 +413,9 @@ __drm_atomic_helper_connector_destroy_state(struct drm_connector_state *state)
 
 	if (state->commit)
 		drm_crtc_commit_put(state->commit);
+
+	if (state->writeback_job)
+		drm_writeback_cleanup_job(state->writeback_job);
 }
 EXPORT_SYMBOL(__drm_atomic_helper_connector_destroy_state);
 
drivers/gpu/drm/drm_drv.c +4 -1
index 7a59b8b3ed5a..81c8936bc1d3 100644
@@ -499,7 +499,7 @@ int drm_dev_init(struct drm_device *dev,
 	BUG_ON(!parent);
 
 	kref_init(&dev->ref);
-	dev->dev = parent;
+	dev->dev = get_device(parent);
 	dev->driver = driver;
 
 	/* no per-device feature limits by default */
@@ -569,6 +569,7 @@ int drm_dev_init(struct drm_device *dev,
 	drm_minor_free(dev, DRM_MINOR_RENDER);
 	drm_fs_inode_free(dev->anon_inode);
 err_free:
+	put_device(dev->dev);
 	mutex_destroy(&dev->master_mutex);
 	mutex_destroy(&dev->ctxlist_mutex);
 	mutex_destroy(&dev->clientlist_mutex);
@@ -604,6 +605,8 @@ void drm_dev_fini(struct drm_device *dev)
 	drm_minor_free(dev, DRM_MINOR_PRIMARY);
 	drm_minor_free(dev, DRM_MINOR_RENDER);
 
+	put_device(dev->dev);
+
 	mutex_destroy(&dev->master_mutex);
 	mutex_destroy(&dev->ctxlist_mutex);
 	mutex_destroy(&dev->clientlist_mutex);
drivers/gpu/drm/drm_file.c +1 -0
index 3f20f598cd7c..9c5bc0121ff9 100644
@@ -567,6 +567,7 @@ ssize_t drm_read(struct file *filp, char __user *buffer,
 				file_priv->event_space -= length;
 				list_add(&e->link, &file_priv->event_list);
 				spin_unlock_irq(&dev->event_lock);
+				wake_up_interruptible(&file_priv->event_wait);
 				break;
 			}
 
drivers/gpu/drm/drm_writeback.c +11 -3
index c20e6fe00cb3..2d75032f8159 100644
@@ -268,6 +268,15 @@ void drm_writeback_queue_job(struct drm_writeback_connector *wb_connector,
 }
 EXPORT_SYMBOL(drm_writeback_queue_job);
 
+void drm_writeback_cleanup_job(struct drm_writeback_job *job)
+{
+	if (job->fb)
+		drm_framebuffer_put(job->fb);
+
+	kfree(job);
+}
+EXPORT_SYMBOL(drm_writeback_cleanup_job);
+
 /*
  * @cleanup_work: deferred cleanup of a writeback job
  *
@@ -280,10 +289,9 @@ static void cleanup_work(struct work_struct *work)
 	struct drm_writeback_job *job = container_of(work,
 						     struct drm_writeback_job,
 						     cleanup_work);
-	drm_framebuffer_put(job->fb);
-	kfree(job);
-}
 
+	drm_writeback_cleanup_job(job);
+}
 
 /**
  * drm_writeback_signal_completion - Signal the completion of a writeback job
drivers/gpu/drm/etnaviv/etnaviv_drv.c +5 -0
index 18c27f795cf6..3156450723ba 100644
@@ -515,6 +515,9 @@ static int etnaviv_bind(struct device *dev)
 	}
 	drm->dev_private = priv;
 
+	dev->dma_parms = &priv->dma_parms;
+	dma_set_max_seg_size(dev, SZ_2G);
+
 	mutex_init(&priv->gem_lock);
 	INIT_LIST_HEAD(&priv->gem_list);
 	priv->num_gpus = 0;
@@ -552,6 +555,8 @@ static void etnaviv_unbind(struct device *dev)
 
 	component_unbind_all(dev, drm);
 
+	dev->dma_parms = NULL;
+
 	drm->dev_private = NULL;
 	kfree(priv);
 
drivers/gpu/drm/etnaviv/etnaviv_drv.h +1 -0
index 4bf698de5996..51b7bdf5748b 100644
@@ -43,6 +43,7 @@ struct etnaviv_file_private {
 
 struct etnaviv_drm_private {
 	int num_gpus;
+	struct device_dma_parameters dma_parms;
 	struct etnaviv_gpu *gpu[ETNA_MAX_PIPES];
 
 	/* list of GEM objects: */
drivers/gpu/drm/msm/adreno/a5xx_gpu.c +6 -4
index d5f5e56422f5..270da14cba67 100644
@@ -34,7 +34,7 @@ static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname)
 {
 	struct device *dev = &gpu->pdev->dev;
 	const struct firmware *fw;
-	struct device_node *np;
+	struct device_node *np, *mem_np;
 	struct resource r;
 	phys_addr_t mem_phys;
 	ssize_t mem_size;
@@ -48,11 +48,13 @@ static int zap_shader_load_mdt(struct msm_gpu *gpu, const char *fwname)
 	if (!np)
 		return -ENODEV;
 
-	np = of_parse_phandle(np, "memory-region", 0);
-	if (!np)
+	mem_np = of_parse_phandle(np, "memory-region", 0);
+	of_node_put(np);
+	if (!mem_np)
 		return -EINVAL;
 
-	ret = of_address_to_resource(np, 0, &r);
+	ret = of_address_to_resource(mem_np, 0, &r);
+	of_node_put(mem_np);
 	if (ret)
 		return ret;
 
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +12 -3
index 36158b7d99cd..1aea0fc894b2 100644
@@ -1034,13 +1034,13 @@ static void dpu_encoder_virt_mode_set(struct drm_encoder *drm_enc,
 			if (!dpu_enc->hw_pp[i]) {
 				DPU_ERROR_ENC(dpu_enc, "no pp block assigned"
 					     "at idx: %d\n", i);
-				return;
+				goto error;
 			}
 
 			if (!hw_ctl[i]) {
 				DPU_ERROR_ENC(dpu_enc, "no ctl block assigned"
 					     "at idx: %d\n", i);
-				return;
+				goto error;
 			}
 
 			phys->hw_pp = dpu_enc->hw_pp[i];
@@ -1053,6 +1053,9 @@ static void dpu_encoder_virt_mode_set(struct drm_encoder *drm_enc,
 	}
 
 	dpu_enc->mode_set_complete = true;
+
+error:
+	dpu_rm_release(&dpu_kms->rm, drm_enc);
 }
 
 static void _dpu_encoder_virt_enable_helper(struct drm_encoder *drm_enc)
@@ -1558,8 +1561,14 @@ static void _dpu_encoder_kickoff_phys(struct dpu_encoder_virt *dpu_enc,
 		if (!ctl)
 			continue;
 
-		if (phys->split_role != ENC_ROLE_SLAVE)
+		/*
+		 * This is cleared in frame_done worker, which isn't invoked
+		 * for async commits. So don't set this for async, since it'll
+		 * roll over to the next commit.
+		 */
+		if (!async && phys->split_role != ENC_ROLE_SLAVE)
 			set_bit(i, dpu_enc->frame_busy_mask);
+
 		if (!phys->ops.needs_single_flush ||
 				!phys->ops.needs_single_flush(phys))
 			_dpu_encoder_trigger_flush(&dpu_enc->base, phys, 0x0,
drivers/gpu/drm/msm/msm_gem_vma.c +1 -1
index 49c04829cf34..fcf7a83f0e6f 100644
@@ -85,7 +85,7 @@ msm_gem_map_vma(struct msm_gem_address_space *aspace,
 
 	vma->mapped = true;
 
-	if (aspace->mmu)
+	if (aspace && aspace->mmu)
 		ret = aspace->mmu->funcs->map(aspace->mmu, vma->iova, sgt,
 				size, prot);
 
drivers/gpu/drm/nouveau/nvkm/subdev/bar/nv50.c +9 -3
index 157b076a1272..38c9c086754b 100644
@@ -109,7 +109,7 @@ nv50_bar_oneinit(struct nvkm_bar *base)
 	struct nvkm_device *device = bar->base.subdev.device;
 	static struct lock_class_key bar1_lock;
 	static struct lock_class_key bar2_lock;
-	u64 start, limit;
+	u64 start, limit, size;
 	int ret;
 
 	ret = nvkm_gpuobj_new(device, 0x20000, 0, false, NULL, &bar->mem);
@@ -127,7 +127,10 @@ nv50_bar_oneinit(struct nvkm_bar *base)
 
 	/* BAR2 */
 	start = 0x0100000000ULL;
-	limit = start + device->func->resource_size(device, 3);
+	size = device->func->resource_size(device, 3);
+	if (!size)
+		return -ENOMEM;
+	limit = start + size;
 
 	ret = nvkm_vmm_new(device, start, limit-- - start, NULL, 0,
 			   &bar2_lock, "bar2", &bar->bar2_vmm);
@@ -164,7 +167,10 @@ nv50_bar_oneinit(struct nvkm_bar *base)
 
 	/* BAR1 */
 	start = 0x0000000000ULL;
-	limit = start + device->func->resource_size(device, 1);
+	size = device->func->resource_size(device, 1);
+	if (!size)
+		return -ENOMEM;
+	limit = start + size;
 
 	ret = nvkm_vmm_new(device, start, limit-- - start, NULL, 0,
 			   &bar1_lock, "bar1", &bar->bar1_vmm);
drivers/gpu/drm/omapdrm/dss/dsi.c +31 -29

113 lines not on this page · raw message

drivers/gpu/drm/omapdrm/omap_connector.c +16 -12
index b81302c4bf9e..a45f925cb19a 100644
@@ -36,18 +36,22 @@ struct omap_connector {
 };
 
 static void omap_connector_hpd_notify(struct drm_connector *connector,
-				      struct omap_dss_device *src,
 				      enum drm_connector_status status)
 {
-	if (status == connector_status_disconnected) {
-		/*
-		 * If the source is an HDMI encoder, notify it of disconnection.
-		 * This is required to let the HDMI encoder reset any internal
-		 * state related to connection status, such as the CEC address.
-		 */
-		if (src && src->type == OMAP_DISPLAY_TYPE_HDMI &&
-		    src->ops->hdmi.lost_hotplug)
-			src->ops->hdmi.lost_hotplug(src);
+	struct omap_connector *omap_connector = to_omap_connector(connector);
+	struct omap_dss_device *dssdev;
+
+	if (status != connector_status_disconnected)
+		return;
+
+	/*
+	 * Notify all devics in the pipeline of disconnection. This is required
+	 * to let the HDMI encoders reset their internal state related to
+	 * connection status, such as the CEC address.
+	 */
+	for (dssdev = omap_connector->output; dssdev; dssdev = dssdev->next) {
+		if (dssdev->ops && dssdev->ops->hdmi.lost_hotplug)
+			dssdev->ops->hdmi.lost_hotplug(dssdev);
 	}
 }
 
@@ -67,7 +71,7 @@ static void omap_connector_hpd_cb(void *cb_data,
 	if (old_status == status)
 		return;
 
-	omap_connector_hpd_notify(connector, omap_connector->hpd, status);
+	omap_connector_hpd_notify(connector, status);
 
 	drm_kms_helper_hotplug_event(dev);
 }
@@ -128,7 +132,7 @@ static enum drm_connector_status omap_connector_detect(
 		       ? connector_status_connected
 		       : connector_status_disconnected;
 
-		omap_connector_hpd_notify(connector, dssdev->src, status);
+		omap_connector_hpd_notify(connector, status);
 	} else {
 		switch (omap_connector->display->type) {
 		case OMAP_DISPLAY_TYPE_DPI:
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c +3 -0
index 87fa316e1d7b..58ccf648b70f 100644
@@ -248,6 +248,9 @@ static int otm8009a_init_sequence(struct otm8009a *ctx)
 	/* Send Command GRAM memory write (no parameters) */
 	dcs_write_seq(ctx, MIPI_DCS_WRITE_MEMORY_START);
 
+	/* Wait a short while to let the panel be ready before the 1st frame */
+	mdelay(10);
+
 	return 0;
 }
 
drivers/gpu/drm/pl111/pl111_versatile.c +4 -0
index b9baefdba38a..1c318ad32a8c 100644
@@ -330,6 +330,7 @@ int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv)
 		ret = vexpress_muxfpga_init();
 		if (ret) {
 			dev_err(dev, "unable to initialize muxfpga driver\n");
+			of_node_put(np);
 			return ret;
 		}
 
@@ -337,17 +338,20 @@ int pl111_versatile_init(struct device *dev, struct pl111_drm_dev_private *priv)
 		pdev = of_find_device_by_node(np);
 		if (!pdev) {
 			dev_err(dev, "can't find the sysreg device, deferring\n");
+			of_node_put(np);
 			return -EPROBE_DEFER;
 		}
 		map = dev_get_drvdata(&pdev->dev);
 		if (!map) {
 			dev_err(dev, "sysreg has not yet probed\n");
 			platform_device_put(pdev);
+			of_node_put(np);
 			return -EPROBE_DEFER;
 		}
 	} else {
 		map = syscon_node_to_regmap(np);
 	}
+	of_node_put(np);
 
 	if (IS_ERR(map)) {
 		dev_err(dev, "no Versatile syscon regmap\n");
drivers/gpu/drm/rcar-du/rcar_lvds.c +6 -2
index 534a128a869d..ccdfc64e122a 100644
@@ -427,9 +427,13 @@ static void rcar_lvds_enable(struct drm_bridge *bridge)
 	}
 
 	if (lvds->info->quirks & RCAR_LVDS_QUIRK_GEN3_LVEN) {
-		/* Turn on the LVDS PHY. */
+		/*
+		 * Turn on the LVDS PHY. On D3, the LVEN and LVRES bit must be
+		 * set at the same time, so don't write the register yet.
+		 */
 		lvdcr0 |= LVDCR0_LVEN;
-		rcar_lvds_write(lvds, LVDCR0, lvdcr0);
+		if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_PWD))
+			rcar_lvds_write(lvds, LVDCR0, lvdcr0);
 	}
 
 	if (!(lvds->info->quirks & RCAR_LVDS_QUIRK_EXT_PLL)) {
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +7 -1
index e3b34a345546..97a0573cc514 100644
@@ -357,7 +357,13 @@ static void sun6i_dsi_inst_init(struct sun6i_dsi *dsi,
 static u16 sun6i_dsi_get_video_start_delay(struct sun6i_dsi *dsi,
 					   struct drm_display_mode *mode)
 {
-	return mode->vtotal - (mode->vsync_end - mode->vdisplay) + 1;
+	u16 start = clamp(mode->vtotal - mode->vdisplay - 10, 8, 100);
+	u16 delay = mode->vtotal - (mode->vsync_end - mode->vdisplay) + start;
+
+	if (delay > mode->vtotal)
+		delay = delay % mode->vtotal;
+
+	return max_t(u16, delay, 1);
 }
 
 static void sun6i_dsi_setup_burst(struct sun6i_dsi *dsi,
drivers/gpu/drm/tinydrm/ili9225.c +3 -3
index 78f7c2d1b449..5d85894607c7 100644
@@ -279,7 +279,7 @@ static void ili9225_pipe_disable(struct drm_simple_display_pipe *pipe)
 	mipi->enabled = false;
 }
 
-static int ili9225_dbi_command(struct mipi_dbi *mipi, u8 cmd, u8 *par,
+static int ili9225_dbi_command(struct mipi_dbi *mipi, u8 *cmd, u8 *par,
 			       size_t num)
 {
 	struct spi_device *spi = mipi->spi;
@@ -289,11 +289,11 @@ static int ili9225_dbi_command(struct mipi_dbi *mipi, u8 cmd, u8 *par,
 
 	gpiod_set_value_cansleep(mipi->dc, 0);
 	speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1);
-	ret = tinydrm_spi_transfer(spi, speed_hz, NULL, 8, &cmd, 1);
+	ret = tinydrm_spi_transfer(spi, speed_hz, NULL, 8, cmd, 1);
 	if (ret || !num)
 		return ret;
 
-	if (cmd == ILI9225_WRITE_DATA_TO_GRAM && !mipi->swap_bytes)
+	if (*cmd == ILI9225_WRITE_DATA_TO_GRAM && !mipi->swap_bytes)
 		bpw = 16;
 
 	gpiod_set_value_cansleep(mipi->dc, 1);
drivers/gpu/drm/tinydrm/mipi-dbi.c +42 -16

130 lines not on this page · raw message

drivers/gpu/drm/v3d/v3d_drv.c +6 -2
index f0afcec72c34..30ae1c74edaa 100644
@@ -312,14 +312,18 @@ static int v3d_platform_drm_probe(struct platform_device *pdev)
 	if (ret)
 		goto dev_destroy;
 
-	v3d_irq_init(v3d);
+	ret = v3d_irq_init(v3d);
+	if (ret)
+		goto gem_destroy;
 
 	ret = drm_dev_register(drm, 0);
 	if (ret)
-		goto gem_destroy;
+		goto irq_disable;
 
 	return 0;
 
+irq_disable:
+	v3d_irq_disable(v3d);
 gem_destroy:
 	v3d_gem_destroy(drm);
 dev_destroy:
drivers/gpu/drm/v3d/v3d_drv.h +1 -1
index dcb772a19191..f2937a1da581 100644
@@ -311,7 +311,7 @@ void v3d_invalidate_caches(struct v3d_dev *v3d);
 void v3d_flush_caches(struct v3d_dev *v3d);
 
 /* v3d_irq.c */
-void v3d_irq_init(struct v3d_dev *v3d);
+int v3d_irq_init(struct v3d_dev *v3d);
 void v3d_irq_enable(struct v3d_dev *v3d);
 void v3d_irq_disable(struct v3d_dev *v3d);
 void v3d_irq_reset(struct v3d_dev *v3d);
drivers/gpu/drm/v3d/v3d_irq.c +11 -2
index 69338da70ddc..29d746cfce57 100644
@@ -156,7 +156,7 @@ v3d_hub_irq(int irq, void *arg)
 	return status;
 }
 
-void
+int
 v3d_irq_init(struct v3d_dev *v3d)
 {
 	int ret, core;
@@ -173,13 +173,22 @@ v3d_irq_init(struct v3d_dev *v3d)
 	ret = devm_request_irq(v3d->dev, platform_get_irq(v3d->pdev, 0),
 			       v3d_hub_irq, IRQF_SHARED,
 			       "v3d_hub", v3d);
+	if (ret)
+		goto fail;
+
 	ret = devm_request_irq(v3d->dev, platform_get_irq(v3d->pdev, 1),
 			       v3d_irq, IRQF_SHARED,
 			       "v3d_core0", v3d);
 	if (ret)
-		dev_err(v3d->dev, "IRQ setup failed: %d\n", ret);
+		goto fail;
 
 	v3d_irq_enable(v3d);
+	return 0;
+
+fail:
+	if (ret != -EPROBE_DEFER)
+		dev_err(v3d->dev, "IRQ setup failed: %d\n", ret);
+	return ret;
 }
 
 void
drivers/hid/hid-core.c +24 -12
index 860e21ec6a49..63a43726cce0 100644
@@ -218,13 +218,14 @@ static unsigned hid_lookup_collection(struct hid_parser *parser, unsigned type)
  * Add a usage to the temporary parser table.
  */
 
-static int hid_add_usage(struct hid_parser *parser, unsigned usage)
+static int hid_add_usage(struct hid_parser *parser, unsigned usage, u8 size)
 {
 	if (parser->local.usage_index >= HID_MAX_USAGES) {
 		hid_err(parser->device, "usage index exceeded\n");
 		return -1;
 	}
 	parser->local.usage[parser->local.usage_index] = usage;
+	parser->local.usage_size[parser->local.usage_index] = size;
 	parser->local.collection_index[parser->local.usage_index] =
 		parser->collection_stack_ptr ?
 		parser->collection_stack[parser->collection_stack_ptr - 1] : 0;
@@ -486,10 +487,7 @@ static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
 			return 0;
 		}
 
-		if (item->size <= 2)
-			data = (parser->global.usage_page << 16) + data;
-
-		return hid_add_usage(parser, data);
+		return hid_add_usage(parser, data, item->size);
 
 	case HID_LOCAL_ITEM_TAG_USAGE_MINIMUM:
 
@@ -498,9 +496,6 @@ static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
 			return 0;
 		}
 
-		if (item->size <= 2)
-			data = (parser->global.usage_page << 16) + data;
-
 		parser->local.usage_minimum = data;
[… more lines in the raw message]

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

drivers/hid/hid-logitech-hidpp.c +18 -5
index 199cc256e9d9..e74fa990ba13 100644

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

drivers/hwmon/f71805f.c +12 -3
index 73c681162653..623736d2a7c1 100644

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

drivers/hwmon/pc87427.c +13 -1
index dc5a9d5ada51..81a05cd1a512 100644

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

drivers/hwmon/smsc47b397.c +11 -2
index 6bd200756560..cbdb5c4991ae 100644

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

drivers/hwmon/smsc47m1.c +19 -9
index c7b6a425e2c0..5eeac9853d0a 100644

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

drivers/hwmon/vt1211.c +12 -3
index 3a6bfa51cb94..95d5e8ec8b7f 100644

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

drivers/iio/adc/Kconfig +1 -0
index 7a3ca4ec0cb7..0a11f6cbc91a 100644

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

drivers/iio/adc/ad_sigma_delta.c +11 -5
index 54d9978b2740..a4310600a853 100644

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

drivers/iio/adc/ti-ads7950.c +15 -4
index 0ad63592cc3c..1e47bef72bb7 100644

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

drivers/iio/common/ssp_sensors/ssp_iio.c +1 -1
index 645f2e3975db..e38f704d88b7 100644

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

drivers/iio/magnetometer/hmc5843_i2c.c +6 -1
index 3de7f4426ac4..86abba5827a2 100644

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

drivers/iio/magnetometer/hmc5843_spi.c +6 -1
index 535f03a70d63..79b2b707f90e 100644

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

drivers/infiniband/core/cma.c +19 -6
index 81bded0d37d1..cb482f338950 100644

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

drivers/infiniband/hw/cxgb4/cm.c +2 -0
index 25a81fbb0d4d..f1819b527256 100644

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

drivers/infiniband/hw/hfi1/init.c +2 -1
index c532ceb0bb9a..b66c4fe8151a 100644

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

drivers/infiniband/hw/hns/hns_roce_ah.c +1 -1
index b3c8c45ec1e3..64e0c69b69c5 100644

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

drivers/md/bcache/alloc.c +3 -2
index 5002838ea476..f8986effcb50 100644

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

drivers/md/bcache/journal.c +23 -3
index d3725c17ce3a..6c94fa007796 100644

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

drivers/md/bcache/super.c +20 -5
index ee36e6b3bcad..0148dd931f68 100644

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

drivers/media/common/videobuf2/videobuf2-core.c +22 -0
index 70e8c3366f9c..b68bf44216f4 100644

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

drivers/media/dvb-frontends/m88ds3103.c +4 -5
index 123f2a33738b..403f42806455 100644

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

drivers/media/dvb-frontends/si2165.c +5 -3
index feacd8da421d..d55d8f169dca 100644

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

drivers/media/i2c/ov2659.c +4 -2
index 799acce803fe..a1e9a980a445 100644

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

drivers/media/i2c/ov6650.c +14 -11
index 2d3f7e00b129..ba54ceb0b726 100644

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

drivers/media/pci/saa7146/hexium_gemini.c +2 -3
index 5817d9cde4d0..6d8e4afe9673 100644

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

drivers/media/pci/saa7146/hexium_orion.c +2 -3
index 0a05176c18ab..a794f9e5f990 100644

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

drivers/media/platform/coda/coda-bit.c +3 -0
index 8e0194993a52..b9fc58916110 100644

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

drivers/media/platform/stm32/stm32-dcmi.c +14 -6
index 6732874114cf..a33d497bd5b7 100644

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

drivers/media/platform/video-mux.c +5 -0
index c33900e3c23e..4135165cdabe 100644

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

drivers/media/platform/vim2m.c +22 -13
index 89d9c4c21037..333bd34e47c4 100644

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

drivers/media/platform/vimc/vimc-core.c +2 -0
index ce809d2e3d53..64eb424c15ab 100644

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

drivers/media/platform/vimc/vimc-streamer.c +1 -1
index fcc897fb247b..392754c18046 100644

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

drivers/media/platform/vivid/vivid-vid-cap.c +1 -1
index c059fc12668a..234dee12256f 100644

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

drivers/media/radio/wl128x/fmdrv_common.c +5 -2
index 800d69c3f80b..1cf4019689a5 100644

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

drivers/media/rc/serial_ir.c +1 -8
index ffe2c672d105..3998ba29beb6 100644

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

drivers/media/usb/au0828/au0828-video.c +11 -5
index 7876c897cc1d..222723d946e4 100644

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

drivers/media/usb/cpia2/cpia2_v4l.c +1 -2
index 748739c2b8b2..39b20a6ae350 100644

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

drivers/media/usb/dvb-usb-v2/dvbsky.c +10 -8
index e28bd8836751..ae0814dd202a 100644

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

drivers/media/usb/go7007/go7007-fw.c +2 -2
index 24f5b615dc7a..dfa9f899d0c2 100644

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

drivers/media/usb/gspca/gspca.c +9 -3
index 3137f5d89d80..bdb81e93b74d 100644

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

drivers/media/usb/pvrusb2/pvrusb2-hdw.c +2 -0
index 446a999dd2ce..2bab4713bc5b 100644

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

drivers/media/usb/pvrusb2/pvrusb2-hdw.h +1 -0
index 25648add77e5..bd2b7a67b732 100644

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

drivers/media/v4l2-core/v4l2-fwnode.c +5 -1
index 9bfedd7596a1..a398b7885399 100644

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

drivers/mmc/core/pwrseq_emmc.c +20 -18
index efb8a7965dd4..154f4204d58c 100644

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

drivers/mmc/core/sd.c +8 -0
index d0d9f90e7cdf..cfb8ee24eaba 100644

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

drivers/mmc/host/mmc_spi.c +4 -0
index 8ade14fb2148..3410e2151579 100644

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

drivers/mmc/host/sdhci-iproc.c +4 -2
index 9d12c06c7fd6..2feb4ef32035 100644

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

drivers/mmc/host/sdhci-of-esdhc.c +8 -0
index 4e669b4edfc1..7e0eae8dafae 100644

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

drivers/net/ethernet/amazon/ena/ena_netdev.c +16 -11
index a6eacf2099c3..9b03d7e404f8 100644

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

drivers/net/ethernet/chelsio/cxgb3/l2t.h +1 -1
index c2fd323c4078..ea75f275023f 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +12 -3
index 6ba9099ca7fe..8bc7a0738adb 100644

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

drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c +6 -1
index 1ca9a18139ec..0982fb4f131d 100644

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

drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h +1 -1
index 691d12174902..3c7a26bb8322 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +17 -3
index 40b69eaf2cb3..a6481bd34c3b 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +5 -0
index e678b6939da3..36b35c58304b 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c +8 -3
index e483a6e730e6..87fa4787bb76 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c +9 -4
index 4e78e8812a04..1e7df81c95ad 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +11 -1
index 82103d5fa815..57f658379b16 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c +4 -3
index 84653f58b2d1..fbba8b83b36c 100644

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

drivers/net/ethernet/intel/e1000e/netdev.c +1 -1
index 7acc61e4f645..c10c9d7eadaa 100644

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

drivers/net/ethernet/intel/i40e/i40e_main.c +8 -0
index e4ff531db14a..3a3382613263 100644

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

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +4 -2
index 2ac23ebfbf31..715c6a9f30f9 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +19 -6
index 8725569d11f0..f8801267502a 100644

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

drivers/net/ethernet/intel/igb/igb_main.c +3 -0
index 21ccadb720d1..2a000b8f341b 100644

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

drivers/net/ethernet/ti/cpsw.c +9 -3
index a591583d120e..dd12b73a8853 100644

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

drivers/net/ethernet/ti/cpsw_ale.c +10 -9
index 798c989d5d93..b3d9591b4824 100644

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

drivers/net/ethernet/ti/cpsw_ale.h +1 -2
index cd07a3e96d57..1fe196d8a5e4 100644

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

drivers/net/hyperv/netvsc.c +9 -6
index e0dce373cdd9..3d4a166a49d5 100644

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

drivers/net/phy/phy_device.c +14 -2
index ff2426e00682..67a06fa7566b 100644

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

drivers/net/usb/qmi_wwan.c +31 -34

65 lines not on this page · raw message

drivers/net/wireless/ath/wil6210/cfg80211.c +5 -0
index 5a44f9d0ff02..c7b5a7786e38 100644

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

drivers/net/wireless/ath/wil6210/wmi.c +6 -5
index 345f05969190..fc1b4b897cb8 100644

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

drivers/net/wireless/atmel/at76c50x-usb.c +2 -2
index e99e766a3028..1cabae424839 100644

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

drivers/net/wireless/broadcom/b43/phy_lp.c +3 -3
index 46408a560814..aedee026c5e2 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +6 -0
index 35301237d435..ded629460fc0 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +10 -5
index 860a4372cb56..36a04c1144e5 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h +12 -4
index 816f80ea925b..ebd66fe0d949 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c +24 -18

42 lines not on this page · raw message

drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c +1 -1
index 4e8397a0cbc8..ee922b052561 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c +16 -11
index a4308c6e72d7..44ead0fea7c6 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/vendor.c +3 -2
index 8eff2753abad..d493021f6031 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/rx.c +6 -1
index c596c7b13504..4354c0fedda7 100644

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

drivers/net/wireless/marvell/mwifiex/cfg80211.c +5 -1
index 883752f640b4..4bc25dc5dc1d 100644

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

drivers/net/wireless/marvell/mwifiex/cfp.c +3 -0
index bfe84e55df77..f1522fb1c1e8 100644

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

drivers/net/wireless/realtek/rtlwifi/base.c +5 -0
index ef9b502ce576..a3189294ecb8 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c +2 -0
index 63874512598b..b5f91c994c79 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c +2 -0
index f3bff66e85d0..81ec0e6e07c1 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c +2 -0
index 84a0d0eb72e1..a933490928ba 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c +2 -0
index bf9859f74b6f..52f108744e96 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c +2 -0
index f2441fbb92f1..307c2bd77f06 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c +4 -0
index d868a034659f..d7235f6165fd 100644

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

drivers/net/wireless/rsi/rsi_91x_mac80211.c +18 -12
index e56fc83faf0e..2f604e8bc991 100644

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

drivers/net/wireless/st/cw1200/main.c +5 -0
index 90dc979f260b..c1608f0bf6d0 100644

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

drivers/nvdimm/pmem.c +8 -2
index 0279eb1da3ef..7733eb240564 100644

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

drivers/nvme/host/core.c +6 -1
index 4c4413ad3ceb..5b389fed6d54 100644

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

drivers/nvme/host/rdma.c +6 -4
index 52abc3a6de12..1b1645a77daf 100644

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

drivers/nvme/host/tcp.c +6 -2
index 5f0a00425242..e71b0058c57b 100644

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

drivers/perf/arm-cci.c +12 -9
index 1bfeb160c5b1..14a541c453e5 100644

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

drivers/phy/allwinner/phy-sun4i-usb.c +4 -0
index 4bbd9ede38c8..cc5af961778d 100644

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

drivers/phy/motorola/Kconfig +1 -1
index 82651524ffb9..718f8729701d 100644

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

drivers/pinctrl/pinctrl-pistachio.c +2 -0
index aa5f949ef219..5b0678f310e5 100644

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

drivers/pinctrl/pinctrl-st.c +10 -5
index e66af93f2cbf..195b442a2343 100644

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

drivers/pinctrl/samsung/pinctrl-exynos-arm.c +1 -0
index 44c6b753f692..85ddf49a5188 100644

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

drivers/pinctrl/zte/pinctrl-zx.c +1 -0
index caa44dd2880a..3cb69309912b 100644

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

drivers/regulator/core.c +2 -1
index fb9fe26fd0fa..218b9331475b 100644

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

drivers/regulator/da9055-regulator.c +2 -0
index 588c3d2445cf..acba42d5b57d 100644

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

drivers/regulator/da9062-regulator.c +2 -0
index 34a70d9dc450..5224304c10b3 100644

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

drivers/regulator/da9063-regulator.c +4 -1
index 8cbcd2a3eb20..d3ea73ab5920 100644

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

drivers/regulator/da9211-regulator.c +4 -0
index 109ee12d4362..4d7fe4819c1c 100644

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

drivers/regulator/lp8755.c +12 -3
index 244822bb63cd..d82d3077f3b8 100644

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

drivers/regulator/ltc3589.c +8 -2
index 63f724f260ef..75089b037b72 100644

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

drivers/regulator/ltc3676.c +8 -2
index 71fd0f2a4b76..cd0f11254c77 100644

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

drivers/regulator/pv88060-regulator.c +4 -0
index a9446056435f..000c34914fe3 100644

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

drivers/regulator/pv88080-regulator.c +4 -0
index 9a08cb2de501..d99f1b9fa075 100644

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

drivers/regulator/pv88090-regulator.c +4 -0
index 7a0c15957bd0..b4ff646608f5 100644

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

drivers/regulator/wm831x-dcdc.c +4 -0
index 5a5bc4bb08d2..4f5461ad7b62 100644

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

drivers/regulator/wm831x-isink.c +2 -0
index 6dd891d7eee3..11f351191dba 100644

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

drivers/regulator/wm831x-ldo.c +2 -0
index e4a6f888484e..fcd038e7cd80 100644

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

drivers/rtc/rtc-88pm860x.c +1 -1
index 01ffc0ef8033..fbcf13bbbd8d 100644

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

drivers/rtc/rtc-stm32.c +6 -3
index c5908cfea234..8e6c9b3bcc29 100644

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

drivers/rtc/rtc-xgene.c +11 -7
index 153820876a82..2f741f455c30 100644

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

drivers/s390/cio/cio.h +1 -1
index 9811fd8a0c73..92eabbb5f18d 100644

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

drivers/s390/cio/vfio_ccw_drv.c +18 -14
index 0b3b9de45c60..9e84d8a971ad 100644

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

drivers/s390/cio/vfio_ccw_ops.c +10 -1
index f673e106c041..dc5ff47de3fe 100644

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

drivers/s390/crypto/zcrypt_api.c +4 -0
index eb93c2d27d0a..df1e847dd36e 100644

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

drivers/s390/net/qeth_core.h +7 -3
index 122059ecad84..614bb0f34e8e 100644

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

drivers/s390/net/qeth_core_main.c +10 -4
index 89f912213e62..8786805b9d1c 100644

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

drivers/scsi/libsas/sas_expander.c +5 -0
index f21c93bbb35c..a761f5019b07 100644

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

drivers/scsi/lpfc/lpfc_ct.c +14 -8
index 221f8fd87d24..b385b8ece343 100644

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

drivers/scsi/lpfc/lpfc_hbadisc.c +14 -1
index b183b882d506..8d553cfb85aa 100644

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

drivers/scsi/lpfc/lpfc_nvme.c +4 -4
index 8c9f79042228..56df8b510186 100644

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

drivers/scsi/lpfc/lpfc_sli.c +1 -1
index 2242e9b3ca12..d3a942971d81 100644

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

drivers/scsi/qedf/qedf_io.c +1 -0
index 6bbc38b1b465..a17c13846d1e 100644

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

drivers/scsi/qedi/qedi_iscsi.c +3 -0
index 6d6d6013e35b..bf371e7b957d 100644

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

drivers/scsi/qla2xxx/qla_isr.c +5 -1
index 1a20e5d8f057..51df171b32ed 100644

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

drivers/scsi/qla2xxx/qla_target.c +8 -17
index d4ac18573d81..4758cd687718 100644

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

drivers/scsi/qla2xxx/tcm_qla2xxx.c +4 -3
index 283e6b80abb5..5e3bb49687df 100644

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

drivers/scsi/qla4xxx/ql4_os.c +1 -1
index 80289c885c07..9edec8e27b7c 100644

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

drivers/scsi/sd.c +1 -2
index d64553c0a051..ef43f06bc7a7 100644

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

drivers/scsi/ufs/ufs-hisi.c +4 -0
index 452e19f8fb47..c2cee73a8560 100644

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

drivers/scsi/ufs/ufshcd.c +20 -8
index 2ddf24466a62..c02e70428711 100644

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

drivers/slimbus/qcom-ngd-ctrl.c +4 -0
index 71f094c9ec68..f3585777324c 100644

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

drivers/spi/atmel-quadspi.c +4 -2
index ddc712410812..ec6e9970d775 100644

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

drivers/spi/spi-imx.c +1 -1
index 6ec647bbba77..a81ae29aa68a 100644

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

drivers/spi/spi-pxa2xx.c +6 -2
index 3e82eaad0f2d..41aadb41a20b 100644

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

drivers/spi/spi-rspi.c +6 -3
index a4ef641b5227..b0824df3e04b 100644

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

drivers/spi/spi-stm32-qspi.c +28 -18

46 lines not on this page · raw message

drivers/spi/spi-tegra114.c +18 -14
index a76acedd7e2f..a1888dc6a938 100644

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

drivers/spi/spi-topcliff-pch.c +13 -2
index 97d137591b18..4389ab80c23e 100644

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

drivers/spi/spi.c +2 -0
index 9a7def7c3237..0632a32c1105 100644

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

drivers/ssb/bridge_pcmcia_80211.c +7 -2
index f51f150307df..ffa379efff83 100644

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

drivers/staging/media/davinci_vpfe/Kconfig +1 -1
index aea449a8dbf8..76818cc48ddc 100644

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

drivers/staging/media/ipu3/ipu3.c +1 -1
index d521b3afb8b1..0b161888ec28 100644

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

drivers/staging/media/sunxi/cedrus/cedrus.h +3 -0
index 3acfdcf83691..726bef649ba6 100644

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

drivers/staging/media/sunxi/cedrus/cedrus_hw.c +2 -1
index 300339fee1bc..24a06a1260f0 100644

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

drivers/staging/mt7621-mmc/sd.c +21 -6
index 4b26ec896a96..38f9ea02ee3a 100644

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

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +3 -0
index dd4898861b83..eb1e5dcb0d52 100644

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

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +2 -0
index 53f5a1cb4636..819813e742d8 100644

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

drivers/thunderbolt/icm.c +5 -0
index e3fc920af682..8b7f9131e9d1 100644

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

drivers/thunderbolt/property.c +11 -1
index b2f0d6386cee..8c077c4f3b5b 100644

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

drivers/thunderbolt/switch.c +35 -32

67 lines not on this page · raw message

drivers/thunderbolt/tb.h +1 -2
index 52584c4003e3..f5e0282225d1 100644

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

drivers/thunderbolt/xdomain.c +7 -1
index e27dd8beb94b..e0642dcb8b9b 100644

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

drivers/tty/ipwireless/main.c +8 -0
index 3475e841ef5c..4c18bbfe1a92 100644

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

drivers/usb/core/hcd.c +3 -0
index 015b126ce455..a5c8bcb7723b 100644

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

drivers/usb/core/hub.c +4 -1
index 55c87be5764c..d325dd66f10e 100644

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

drivers/usb/dwc2/gadget.c +15 -12
index 55ef3cc2701b..f54127473239 100644

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

drivers/usb/dwc3/core.c +2 -0
index f944cea4056b..72110a8c49d6 100644

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

drivers/usb/dwc3/gadget.c +0 -2
index 9f941cdb0691..1227e8f5a5c8 100644

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

drivers/usb/gadget/function/f_fs.c +2 -1
index 0f8d16de7a37..768230795bb2 100644

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

drivers/video/fbdev/core/fbcmap.c +2 -0
index 68a113594808..2811c4afde01 100644

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

drivers/video/fbdev/core/modedb.c +3 -0
index 283d9307df21..ac049871704d 100644

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

drivers/video/fbdev/efifb.c +2 -1
index fd02e8a4841d..9f39f0c360e0 100644

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

drivers/w1/w1_io.c +1 -2
index 0364d3329c52..3516ce6718d9 100644

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

drivers/xen/biomerge.c +3 -2
index f3fbb700f569..05a286d24f14 100644

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

fs/afs/xattr.c +12 -3
index a2cdf25573e2..706801c6c4c4 100644

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

fs/btrfs/backref.c +12 -7
index ef66db38cedb..efe4d4080a21 100644

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

fs/btrfs/extent-tree.c +7 -21
index a19bbfce449e..e4772b90dad0 100644

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

fs/btrfs/file.c +15 -4
index d38dc8c31533..7f082b019766 100644

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

fs/btrfs/relocation.c +20 -11
index 272b287f8cf0..0395b8233c90 100644

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

fs/btrfs/root-tree.c +9 -8
index 65bda0682928..3228d3b3084a 100644

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

fs/btrfs/sysfs.c +6 -1
index 5a5930e3d32b..2f078b77fe14 100644

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

fs/btrfs/tree-log.c +1 -0
index 7f3b74a55073..1a1b4fa503f8 100644

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

fs/char_dev.c +6 -0
index a279c58fe360..8a63cfa29005 100644

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

fs/cifs/cifsglob.h +1 -0
index 10ead04346ee..8c295e37ac23 100644

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

fs/cifs/cifssmb.c +1 -1
index 551924beb86f..f91e714928d4 100644

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

fs/cifs/transport.c +5 -5
index 9544eb99b5a2..95f3be904eed 100644

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

fs/ext4/inode.c +10 -13
index 878f8b5dd39f..d3ca3b221e21 100644

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

fs/gfs2/glock.c +14 -9
index 4b038f25f256..c925e9ec68f4 100644

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

fs/gfs2/incore.h +1 -0
index e10e0b0a7cd5..e1a33d288121 100644

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

fs/gfs2/lock_dlm.c +5 -4
index 31df26ed7854..69bd1597bacf 100644

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

fs/gfs2/log.c +2 -1
index b8830fda51e8..0e04f87a7ddd 100644

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

fs/gfs2/lops.c +4 -2
index 2295042bc625..f09cd5d8ac63 100644

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

fs/gfs2/super.c +5 -3
index ca71163ff7cf..360206704a14 100644

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

fs/internal.h +0 -2
index d410186bc369..d109665b9e50 100644

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

fs/nfs/client.c +6 -1
index 90d71fda65ce..dfb796eab912 100644

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

fs/nfs/nfs4file.c +1 -1
index 00d17198ee12..f10b660805fc 100644

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

fs/overlayfs/dir.c +1 -1
index 82c129bfe58d..93872bb50230 100644

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

fs/overlayfs/inode.c +2 -1
index 3b7ed5d2279c..b48273e846ad 100644

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

include/crypto/hash.h +7 -1
index 3b31c1b349ae..bc143b410359 100644

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

include/drm/tinydrm/mipi-dbi.h +3 -2
index b8ba58861986..bcc98bd447f7 100644

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

include/linux/bio.h +1 -1
index 7380b094dcca..4f7618cf9f38 100644

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

include/linux/cgroup-defs.h +5 -0
index 120d1d40704b..319c07305500 100644

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

include/linux/filter.h +1 -0
index 3358646a8e7a..42513fa6846c 100644

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

include/linux/genhd.h +1 -0
index 06c0fd594097..69db1affedb0 100644

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

include/linux/hid.h +1 -0
index f9707d1dcb58..ac0c70b4ce10 100644

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

include/linux/iio/adc/ad_sigma_delta.h +1 -0
index 7e84351fa2c0..6e9fb1932dde 100644

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

include/linux/mount.h +2 -0
index 037eed52164b..03138a0f46f9 100644

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

include/linux/overflow.h +9 -3
index 40b48e2133cb..15eb85de9226 100644

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

include/linux/rcupdate.h +4 -2
index 4db8bcacc51a..991d97cf395a 100644

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

include/linux/smpboot.h +1 -1
index d0884b525001..9d1bc65d226c 100644

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

include/linux/time64.h +21 -0
index 05634afba0db..4a45aea0f96e 100644

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

include/media/videobuf2-core.h +1 -0
index 4a737b2c610b..bc3bc82778da 100644

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

include/net/bluetooth/hci.h +1 -0
index c36dc1e20556..60b7cbc0a6cb 100644

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

include/xen/xen.h +3 -1
index 0e2156786ad2..e1ba6921bc8e 100644

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

kernel/acct.c +2 -2
index addf7732fb56..81f9831a7859 100644

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

kernel/auditfilter.c +7 -5
index bf309f2592c4..425c67e4f568 100644

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

kernel/auditsc.c +9 -1
index b585ceb2f7a2..71e737774611 100644

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

kernel/bpf/devmap.c +3 -0
index 191b79948424..1e525d70f833 100644

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

kernel/cgroup/cgroup.c +6 -0
index f84bf28f36ba..ee77b0f00edd 100644

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

kernel/irq_work.c +42 -33

75 lines not on this page · raw message

kernel/jump_label.c +13 -8
index bad96b476eb6..a799b1ac6b2f 100644

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

kernel/module.c +5 -0
index 2ad1b5239910..ae1b77da6a20 100644

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

kernel/rcu/rcuperf.c +5 -0
index b459da70b4fc..5444a7831451 100644

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

kernel/rcu/rcutorture.c +5 -0
index f6e85faa4ff4..584b0d1da0a3 100644

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

kernel/sched/core.c +8 -1
index 62cc29364fba..9346e2ce0ac0 100644

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

kernel/sched/fair.c +10 -6
index be55a64748ba..d905c443e10e 100644

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

kernel/sched/rt.c +5 -0
index e4f398ad9e73..aa7ee3a0bf90 100644

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

kernel/time/time.c +1 -1
index 2edb5088a70b..e7a3b9236f0b 100644

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

kernel/time/timekeeping.c +3 -3
index ac5dbf2cd4a2..161b2728ac09 100644

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

kernel/trace/trace_branch.c +4 -0
index 4ad967453b6f..3ea65cdff30d 100644

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

lib/kobject_uevent.c +7 -4
index 27c6118afd1c..bd26df36757f 100644

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

lib/sbitmap.c +1 -1
index 155fe38756ec..4a7fc4915dfc 100644

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

lib/strncpy_from_user.c +3 -2
index 58eacd41526c..023ba9f3b99f 100644

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

lib/strnlen_user.c +2 -2
index 1c1a1b0e38a5..7f2db3fe311f 100644

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

net/batman-adv/distributed-arp-table.c +3 -1
index b9ffe1826527..0b8d84ece7db 100644

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

net/batman-adv/main.c +1 -0
index d1ed839fd32b..64558df6a119 100644

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

net/batman-adv/multicast.c +3 -8
index 69244e4598f5..454b9067fbbd 100644

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

net/batman-adv/types.h +5 -0
index cbe17da36fcb..2b0ea1cbbc2f 100644

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

net/bluetooth/hci_core.c +5 -0
index 7352fe85674b..c25c664a2504 100644

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

net/bluetooth/hci_event.c +12 -0
index ac2826ce162b..ef5ae4c7e286 100644

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

net/bluetooth/hci_request.c +5 -0
index ca73d36cc149..e9a95ed65491 100644

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

net/bluetooth/hci_request.h +1 -0
index 692cc8b13368..55b2050cc9ff 100644

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

net/mac80211/mlme.c +0 -3
index 687821567287..715ab0e6579c 100644

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

net/netfilter/nf_conntrack_netlink.c +1 -1
index 36619ad8ab8c..8233dfafb339 100644

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

net/wireless/nl80211.c +5 -0
index 156ce708b533..0044bfb526ab 100644

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

samples/bpf/asm_goto_workaround.h +1 -0
index 5cd7c1d1a5d5..7409722727ca 100644

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

security/selinux/netlabel.c +5 -9
index 186e727b737b..6fd9954e1c08 100644

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

sound/pci/hda/hda_codec.c +7 -1
index b238e903b9d7..a00bd7986646 100644

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

sound/soc/codecs/hdmi-codec.c +5 -1
index d5f73c837281..7994e8ddc7d2 100644

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

sound/soc/fsl/Kconfig +5 -4
index 2e75b5bc5f1d..f721cd4e3f97 100644

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

sound/soc/fsl/eukrea-tlv320.c +2 -2
index 191426a6d9ad..30a3d68b5c03 100644

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

sound/soc/fsl/fsl_sai.c +2 -0
index 4163f2cfc06f..bfc5b21d0c3f 100644

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

sound/soc/fsl/fsl_utils.c +1 -0
index 9981668ab590..040d06b89f00 100644

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

sound/soc/intel/boards/kbl_da7219_max98357a.c +1 -1
index 38f6ab74709d..07491a0f8fb8 100644

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

sound/soc/ti/Kconfig +2 -2
index 4bf3c15d4e51..ee7c202c69b7 100644

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

sound/soc/ti/davinci-mcasp.c +2 -0
index a10fcb5963c6..570d435e3e8b 100644

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

tools/bpf/bpftool/.gitignore +1 -1
index 67167e44b726..8248b8dd89d4 100644

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

tools/lib/bpf/bpf.c +2 -0
index 88cbd110ae58..ddeb46c9eef2 100644

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

tools/lib/bpf/bpf.h +1 -0
index 8f09de482839..64762a62c008 100644

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

tools/testing/selftests/bpf/test_libbpf_open.c +2 -0
index 8fcd1c076add..cbd55f5f8d59 100644

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

tools/testing/selftests/bpf/trace_helpers.c +4 -0
index 4cdb63bf0521..9a9fc6c9b70b 100644

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

tools/testing/selftests/cgroup/test_memcontrol.c +21 -17
index 28d321ba311b..6f339882a6ca 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.