Skip to contentSkip to conversation

Linux 5.4.7

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

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.4.7 kernel.

All users of the 5.4 kernel series must upgrade.

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

thanks,

greg k-h

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

 Makefile                                                            |    2 
 arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi                      |    4 
 arch/arm64/kernel/psci.c                                            |   15 -
 arch/arm64/kvm/sys_regs.c                                           |    5 
 arch/mips/include/asm/barrier.h                                     |   13 
 arch/mips/include/asm/futex.h                                       |   15 -
 arch/mips/include/asm/pgtable-64.h                                  |    9 
 arch/mips/ralink/Kconfig                                            |    1 
 arch/powerpc/include/asm/spinlock.h                                 |    4 
 arch/powerpc/kernel/irq.c                                           |    4 
 arch/powerpc/kvm/book3s_hv_rmhandlers.S                             |    4 
 arch/powerpc/platforms/pseries/setup.c                              |    7 
 arch/s390/crypto/sha_common.c                                       |    7 
 arch/s390/include/asm/pgalloc.h                                     |   16 -
 arch/s390/include/asm/timex.h                                       |   16 -
 arch/s390/kernel/dis.c                                              |   13 
 arch/s390/kernel/perf_cpum_cf.c                                     |   21 -
 arch/s390/kernel/perf_cpum_cf_diag.c                                |   10 
 arch/s390/kernel/perf_event.c                                       |    8 
 arch/s390/mm/maccess.c                                              |   12 
 arch/s390/net/bpf_jit_comp.c                                        |    5 
 arch/sh/include/cpu-sh4/cpu/sh7734.h                                |    2 
 arch/x86/include/asm/crash.h                                        |    2 
 arch/x86/include/asm/fixmap.h                                       |    2 
 arch/x86/include/asm/syscall_wrapper.h                              |   23 -
 arch/x86/kernel/apic/io_apic.c                                      |    9 
 arch/x86/kernel/cpu/mce/amd.c                                       |    4 
 arch/x86/kernel/cpu/mce/core.c                                      |    2 
 arch/x86/kernel/cpu/mce/therm_throt.c                               |    2 
 arch/x86/kernel/early-quirks.c                                      |    2 
 arch/x86/kvm/cpuid.c                                                |    6 
 arch/x86/lib/x86-opcode-map.txt                                     |   18 -
 arch/x86/math-emu/fpu_system.h                                      |    6 
 arch/x86/math-emu/reg_ld_str.c                                      |    6 
 arch/x86/mm/pgtable.c                                               |    4 
 block/blk-iocost.c                                                  |   13 
 crypto/Kconfig                                                      |    1 
 crypto/Makefile                                                     |    2 
 crypto/asymmetric_keys/asym_tpm.c                                   |    1 
 crypto/asymmetric_keys/public_key.c                                 |    1 
 drivers/acpi/button.c                                               |   11 
 drivers/ata/libata-core.c                                           |    3 
 drivers/base/firmware_loader/builtin/Makefile                       |    3 
 drivers/block/loop.c                                                |   26 +
 drivers/block/nbd.c                                                 |    6 
 drivers/bluetooth/btusb.c                                           |    5 
 drivers/char/hw_random/omap3-rom-rng.c                              |    3 
 drivers/char/ipmi/ipmi_msghandler.c                                 |   23 +
 drivers/char/tpm/tpm-dev-common.c                                   |    8 
 drivers/char/tpm/tpm_tis_core.c                                     |   35 +-
 drivers/clk/imx/clk-composite-8m.c                                  |    2 
 drivers/clk/imx/clk-imx7ulp.c                                       |    1 
 drivers/clk/imx/clk-pll14xx.c                                       |    2 
 drivers/cpufreq/cpufreq.c                                           |    7 
 drivers/cpufreq/sun50i-cpufreq-nvmem.c                              |   25 -
 drivers/crypto/atmel-aes.c                                          |   18 -
 drivers/crypto/atmel-authenc.h                                      |    2 
 drivers/crypto/atmel-sha.c                                          |    2 
 drivers/crypto/inside-secure/safexcel.c                             |    2 
 drivers/crypto/sunxi-ss/sun4i-ss-cipher.c                           |   22 -
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c                             |   12 
 drivers/crypto/virtio/virtio_crypto_algs.c                          |   12 
 drivers/crypto/vmx/Makefile                                         |    6 
 drivers/edac/amd64_edac.c                                           |    2 
 drivers/edac/ghes_edac.c                                            |   10 
 drivers/extcon/extcon-sm5502.c                                      |    4 
 drivers/extcon/extcon-sm5502.h                                      |    2 
 drivers/firmware/efi/efi.c                                          |   28 +
 drivers/fsi/fsi-core.c                                              |   31 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c                         |   10 
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c                            |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h                           |   18 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c                              |   12 
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                               |    3 
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c                              |   61 ++--
 drivers/gpu/drm/amd/amdgpu/si_ih.c                                  |    3 
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c               |    3 
 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c                          |    5 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                   |    5 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c        |   10 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c |    2 
 drivers/gpu/drm/amd/display/dc/core/dc_link.c                       |   17 -
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c                    |    2 
 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c                  |    3 
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c                     |    4 
 drivers/gpu/drm/amd/display/dc/dce/dce_abm.c                        |    3 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c                  |    5 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c                   |    4 
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c               |    7 
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c                 |   40 +-
 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h                   |    6 
 drivers/gpu/drm/amd/display/include/ddc_service_types.h             |    2 
 drivers/gpu/drm/amd/display/modules/freesync/freesync.c             |   13 
 drivers/gpu/drm/amd/display/modules/power/power_helpers.c           |   77 +++--
 drivers/gpu/drm/amd/display/modules/power/power_helpers.h           |    1 
 drivers/gpu/drm/amd/powerplay/amdgpu_smu.c                          |    5 
 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c                   |   12 
 drivers/gpu/drm/amd/powerplay/renoir_ppt.c                          |    4 
 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c                    |    2 
 drivers/gpu/drm/bridge/analogix-anx78xx.c                           |    8 
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c                           |   12 
 drivers/gpu/drm/drm_edid.c                                          |    6 
 drivers/gpu/drm/drm_mipi_dbi.c                                      |    5 
 drivers/gpu/drm/drm_vblank.c                                        |    6 
 drivers/gpu/drm/exynos/exynos_hdmi.c                                |   31 +-
 drivers/gpu/drm/gma500/oaktrail_crtc.c                              |    2 
 drivers/gpu/drm/meson/meson_vclk.c                                  |    9 
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c                         |   24 -
 drivers/gpu/drm/nouveau/nouveau_connector.c                         |   33 +-
 drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c               |    1 
 drivers/gpu/drm/panel/panel-sitronix-st7789v.c                      |    1 
 drivers/gpu/drm/scheduler/sched_main.c                              |   43 +--
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c                              |    4 
 drivers/gpu/drm/tegra/sor.c                                         |    5 
 drivers/gpu/drm/ttm/ttm_bo.c                                        |   44 +--
 drivers/gpu/drm/vc4/vc4_hdmi.c                                      |   13 
 drivers/gpu/drm/virtio/virtgpu_ioctl.c                              |   28 +
 drivers/gpu/host1x/job.c                                            |   11 
 drivers/hwtracing/intel_th/core.c                                   |    7 
 drivers/hwtracing/intel_th/intel_th.h                               |    2 
 drivers/hwtracing/intel_th/msu.c                                    |   14 
 drivers/hwtracing/intel_th/pci.c                                    |   10 
 drivers/iio/adc/dln2-adc.c                                          |   20 -
 drivers/iio/adc/max1027.c                                           |    8 
 drivers/iio/dac/Kconfig                                             |    4 
 drivers/iio/dac/ad5446.c                                            |    6 
 drivers/iio/light/bh1750.c                                          |    4 
 drivers/iio/pressure/cros_ec_baro.c                                 |    3 
 drivers/iio/temperature/max31856.c                                  |    2 
 drivers/infiniband/core/device.c                                    |   22 +
 drivers/infiniband/hw/bnxt_re/main.c                                |    9 
 drivers/infiniband/hw/bnxt_re/qplib_res.h                           |    8 
 drivers/infiniband/hw/efa/efa_com.c                                 |    5 
 drivers/infiniband/hw/hns/hns_roce_restrack.c                       |   10 
 drivers/infiniband/hw/hns/hns_roce_srq.c                            |   24 -
 drivers/infiniband/hw/qedr/main.c                                   |    1 
 drivers/infiniband/hw/qedr/verbs.c                                  |   12 
 drivers/infiniband/sw/siw/siw_main.c                                |   20 -
 drivers/infiniband/sw/siw/siw_verbs.c                               |  143 ++++++++--
 drivers/infiniband/ulp/iser/iscsi_iser.c                            |    1 
 drivers/iommu/intel-iommu.c                                         |   12 
 drivers/iommu/iommu.c                                               |    8 
 drivers/md/bcache/alloc.c                                           |    5 
 drivers/md/bcache/bcache.h                                          |    2 
 drivers/md/bcache/super.c                                           |   51 ++-
 drivers/md/md-bitmap.c                                              |    2 
 drivers/md/md.c                                                     |   46 ++-
 drivers/media/i2c/Kconfig                                           |    1 
 drivers/media/i2c/ad5820.c                                          |    1 
 drivers/media/i2c/ov2659.c                                          |   18 -
 drivers/media/i2c/ov5640.c                                          |    5 
 drivers/media/i2c/ov6650.c                                          |   75 +++--
 drivers/media/i2c/smiapp/smiapp-core.c                              |   12 
 drivers/media/i2c/st-mipid02.c                                      |    5 
 drivers/media/pci/cx88/cx88-video.c                                 |   11 
 drivers/media/platform/am437x/am437x-vpfe.c                         |    4 
 drivers/media/platform/aspeed-video.c                               |   12 
 drivers/media/platform/exynos4-is/media-dev.c                       |    7 
 drivers/media/platform/meson/ao-cec-g12a.c                          |   36 +-
 drivers/media/platform/meson/ao-cec.c                               |   30 +-
 drivers/media/platform/qcom/venus/core.c                            |    9 
 drivers/media/platform/qcom/venus/hfi_venus.c                       |    6 
 drivers/media/platform/rcar_drif.c                                  |    1 
 drivers/media/platform/seco-cec/seco-cec.c                          |    1 
 drivers/media/platform/ti-vpe/vpdma.h                               |    1 
 drivers/media/platform/ti-vpe/vpe.c                                 |   52 ++-
 drivers/media/platform/vicodec/vicodec-core.c                       |    4 
 drivers/media/platform/vim2m.c                                      |    8 
 drivers/media/platform/vimc/vimc-common.c                           |    3 
 drivers/media/platform/vimc/vimc-debayer.c                          |    1 
 drivers/media/platform/vimc/vimc-scaler.c                           |    1 
 drivers/media/platform/vimc/vimc-sensor.c                           |    1 
 drivers/media/platform/vivid/vivid-core.c                           |    4 
 drivers/media/radio/si470x/radio-si470x-i2c.c                       |    2 
 drivers/media/usb/b2c2/flexcop-usb.c                                |    8 
 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c                            |    9 
 drivers/media/v4l2-core/v4l2-ctrls.c                                |    7 
 drivers/media/v4l2-core/v4l2-ioctl.c                                |   33 +-
 drivers/misc/fastrpc.c                                              |    4 
 drivers/misc/ocxl/file.c                                            |   23 -
 drivers/mmc/host/mtk-sd.c                                           |    2 
 drivers/mmc/host/sdhci-msm.c                                        |   28 +
 drivers/mmc/host/sdhci-of-esdhc.c                                   |    7 
 drivers/mmc/host/sdhci-pci-core.c                                   |   10 
 drivers/mmc/host/sdhci.c                                            |   11 
 drivers/mmc/host/sdhci.h                                            |    2 
 drivers/mmc/host/tmio_mmc_core.c                                    |    2 
 drivers/net/bonding/bond_main.c                                     |   39 +-
 drivers/net/can/flexcan.c                                           |   73 ++---
 drivers/net/can/m_can/tcan4x5x.c                                    |    2 
 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c                    |    6 
 drivers/net/can/xilinx_can.c                                        |    7 
 drivers/net/dsa/Kconfig                                             |    1 
 drivers/net/dsa/b53/b53_common.c                                    |   21 +
 drivers/net/dsa/sja1105/sja1105_main.c                              |    4 
 drivers/net/ethernet/amazon/ena/ena_com.h                           |    2 
 drivers/net/ethernet/amazon/ena/ena_ethtool.c                       |   24 -
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c                   |   16 -
 drivers/net/ethernet/broadcom/bnxt/bnxt.c                           |    8 
 drivers/net/ethernet/broadcom/bnxt/bnxt.h                           |    1 
 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c                   |    9 
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c                   |    2 
 drivers/net/ethernet/cortina/gemini.c                               |    2 
 drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c                    |   14 
 drivers/net/ethernet/hisilicon/hip04_eth.c                          |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c                     |    3 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c             |    3 
 drivers/net/ethernet/ibm/ibmvnic.c                                  |   19 -
 drivers/net/ethernet/intel/i40e/i40e_common.c                       |   13 
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c                      |   32 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c                         |   10 
 drivers/net/ethernet/intel/ice/ice_controlq.c                       |    2 
 drivers/net/ethernet/intel/ice/ice_controlq.h                       |    5 
 drivers/net/ethernet/intel/ice/ice_ethtool.c                        |   13 
 drivers/net/ethernet/intel/ice/ice_main.c                           |   18 -
 drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c                    |   12 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c                       |    3 
 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c                     |    6 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c               |    7 
 drivers/net/ethernet/netronome/nfp/flower/metadata.c                |   12 
 drivers/net/ethernet/qlogic/qede/qede_filter.c                      |    2 
 drivers/net/ethernet/qlogic/qede/qede_main.c                        |    4 
 drivers/net/ethernet/qlogic/qla3xxx.c                               |    8 
 drivers/net/ethernet/realtek/r8169_main.c                           |   18 +
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c               |    2 
 drivers/net/ethernet/ti/Kconfig                                     |    1 
 drivers/net/ethernet/ti/cpsw_ale.c                                  |    2 
 drivers/net/ethernet/ti/davinci_cpdma.c                             |    5 
 drivers/net/fjes/fjes_main.c                                        |    3 
 drivers/net/phy/dp83867.c                                           |   15 -
 drivers/net/phy/phy_device.c                                        |   21 -
 drivers/net/team/team.c                                             |    5 
 drivers/net/tun.c                                                   |    4 
 drivers/net/usb/lan78xx.c                                           |    1 
 drivers/net/wireless/ath/ath10k/coredump.c                          |   11 
 drivers/net/wireless/ath/ath10k/htt_rx.c                            |    2 
 drivers/net/wireless/ath/ath10k/mac.c                               |   26 -
 drivers/net/wireless/ath/ath10k/txrx.c                              |    2 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c             |    5 
 drivers/net/wireless/intel/iwlwifi/dvm/led.c                        |    3 
 drivers/net/wireless/intel/iwlwifi/mvm/led.c                        |    3 
 drivers/net/wireless/intel/iwlwifi/mvm/rx.c                         |    3 
 drivers/net/wireless/intel/iwlwifi/pcie/rx.c                        |   13 
 drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c                |   25 -
 drivers/net/wireless/intel/iwlwifi/pcie/trans.c                     |   30 ++
 drivers/net/wireless/marvell/libertas/if_sdio.c                     |    5 
 drivers/net/wireless/marvell/mwifiex/pcie.c                         |    5 
 drivers/net/wireless/mediatek/mt76/mt7603/mac.c                     |    4 
 drivers/net/wireless/mediatek/mt76/mt7615/mac.c                     |    4 
 drivers/net/wireless/quantenna/qtnfmac/commands.c                   |    6 
 drivers/net/wireless/quantenna/qtnfmac/event.c                      |    7 
 drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c                  |    6 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h                    |    1 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c              |    1 
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c               |    3 
 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c                 |    2 
 drivers/net/wireless/realtek/rtlwifi/usb.c                          |    5 
 drivers/net/wireless/realtek/rtw88/coex.c                           |   24 +
 drivers/net/wireless/realtek/rtw88/main.c                           |    3 
 drivers/nfc/nxp-nci/i2c.c                                           |    2 
 drivers/nvme/host/core.c                                            |   14 
 drivers/nvme/host/multipath.c                                       |    1 
 drivers/nvmem/imx-ocotp.c                                           |    4 
 drivers/parport/share.c                                             |   21 +
 drivers/phy/qualcomm/phy-qcom-usb-hs.c                              |    7 
 drivers/phy/renesas/phy-rcar-gen2.c                                 |    5 
 drivers/pinctrl/devicetree.c                                        |   25 +
 drivers/pinctrl/intel/pinctrl-baytrail.c                            |   81 +++--
 drivers/pinctrl/pinctrl-amd.c                                       |    3 
 drivers/pinctrl/qcom/pinctrl-sc7180.c                               |   18 -
 drivers/pinctrl/sh-pfc/pfc-r8a77990.c                               |   25 -
 drivers/pinctrl/sh-pfc/pfc-sh7734.c                                 |    4 
 drivers/platform/x86/hp-wmi.c                                       |    2 
 drivers/power/supply/cpcap-battery.c                                |    8 
 drivers/regulator/core.c                                            |    5 
 drivers/regulator/max8907-regulator.c                               |   15 -
 drivers/soundwire/intel.c                                           |   10 
 drivers/spi/spi-cadence.c                                           |    6 
 drivers/spi/spi-dw.c                                                |    8 
 drivers/spi/spi-fsl-spi.c                                           |    7 
 drivers/spi/spi-gpio.c                                              |    4 
 drivers/spi/spi-img-spfi.c                                          |    2 
 drivers/spi/spi-pxa2xx.c                                            |    6 
 drivers/spi/spi-sifive.c                                            |   11 
 drivers/spi/spi-sprd-adi.c                                          |    3 
 drivers/spi/spi-st-ssc4.c                                           |    3 
 drivers/spi/spi-tegra20-slink.c                                     |    5 
 drivers/spi/spidev.c                                                |    3 
 drivers/staging/comedi/drivers/gsc_hpdi.c                           |   10 
 drivers/staging/fbtft/fbtft-core.c                                  |    2 
 drivers/staging/iio/frequency/ad9834.c                              |    4 
 drivers/staging/media/imx/imx-media-capture.c                       |    6 
 drivers/staging/media/imx/imx7-mipi-csis.c                          |    7 
 drivers/staging/media/sunxi/cedrus/cedrus.c                         |    2 
 drivers/staging/media/sunxi/cedrus/cedrus.h                         |    8 
 drivers/staging/media/sunxi/cedrus/cedrus_h264.c                    |    8 
 drivers/staging/media/sunxi/cedrus/cedrus_regs.h                    |   31 +-
 drivers/staging/mt7621-pci/Kconfig                                  |    1 
 drivers/staging/rtl8188eu/core/rtw_xmit.c                           |    4 
 drivers/staging/rtl8192u/r8192U_core.c                              |   17 -
 drivers/staging/wilc1000/wilc_hif.c                                 |    2 
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c                   |   18 -
 drivers/tty/serial/atmel_serial.c                                   |   43 +--
 drivers/tty/serial/sprd_serial.c                                    |    3 
 drivers/usb/core/devio.c                                            |   15 -
 drivers/usb/host/ehci-q.c                                           |   13 
 drivers/usb/host/xhci-pci.c                                         |    6 
 drivers/usb/renesas_usbhs/common.h                                  |    3 
 drivers/usb/renesas_usbhs/mod_gadget.c                              |   12 
 drivers/usb/usbip/usbip_common.c                                    |    3 
 drivers/usb/usbip/vhci_rx.c                                         |   13 
 drivers/xen/Kconfig                                                 |    3 
 fs/btrfs/async-thread.c                                             |   56 +++
 fs/btrfs/ctree.c                                                    |    2 
 fs/btrfs/ctree.h                                                    |    2 
 fs/btrfs/disk-io.c                                                  |    2 
 fs/btrfs/extent-tree.c                                              |    7 
 fs/btrfs/extent_io.c                                                |    6 
 fs/btrfs/file-item.c                                                |    7 
 fs/btrfs/inode.c                                                    |   12 
 fs/btrfs/ioctl.c                                                    |   10 
 fs/btrfs/reada.c                                                    |   10 
 fs/btrfs/relocation.c                                               |    1 
 fs/btrfs/scrub.c                                                    |    3 
 fs/btrfs/send.c                                                     |    6 
 fs/btrfs/tests/free-space-tree-tests.c                              |    4 
 fs/btrfs/tests/qgroup-tests.c                                       |    4 
 fs/btrfs/tree-checker.c                                             |   18 +
 fs/btrfs/tree-log.c                                                 |   52 +++
 fs/btrfs/uuid-tree.c                                                |    2 
 fs/ext4/dir.c                                                       |    5 
 fs/ext4/inode.c                                                     |    4 
 fs/ext4/namei.c                                                     |   32 +-
 fs/ext4/super.c                                                     |  143 ++++------
 include/drm/drm_dp_mst_helper.h                                     |    2 
 include/linux/cpufreq.h                                             |   11 
 include/linux/ipmi_smi.h                                            |   12 
 include/linux/mod_devicetable.h                                     |    4 
 include/linux/nvme.h                                                |    1 
 include/linux/nvmem-consumer.h                                      |    2 
 include/linux/phy.h                                                 |    2 
 include/linux/sched/cpufreq.h                                       |    3 
 include/net/arp.h                                                   |    4 
 include/net/dst.h                                                   |    2 
 include/net/ndisc.h                                                 |    8 
 include/net/neighbour.h                                             |    1 
 include/net/sock.h                                                  |   12 
 include/trace/events/wbt.h                                          |   12 
 include/uapi/linux/cec-funcs.h                                      |    6 
 kernel/bpf/stackmap.c                                               |    7 
 kernel/bpf/verifier.c                                               |   19 +
 kernel/cgroup/freezer.c                                             |    9 
 kernel/events/core.c                                                |    6 
 kernel/sched/core.c                                                 |    6 
 kernel/sched/cpufreq.c                                              |   18 +
 kernel/sched/cpufreq_schedutil.c                                    |    8 
 kernel/sched/sched.h                                                |    2 
 kernel/trace/trace.c                                                |    2 
 kernel/trace/trace_kprobe.c                                         |   27 +
 lib/ubsan.c                                                         |    5 
 mm/vmscan.c                                                         |    2 
 net/bluetooth/hci_conn.c                                            |    8 
 net/bluetooth/hci_core.c                                            |   13 
 net/bluetooth/hci_request.c                                         |    9 
 net/can/j1939/socket.c                                              |   10 
 net/core/neighbour.c                                                |    3 
 net/core/net-sysfs.c                                                |    7 
 net/mac80211/status.c                                               |    3 
 net/nfc/nci/uart.c                                                  |    2 
 net/packet/af_packet.c                                              |    3 
 net/sctp/protocol.c                                                 |    5 
 net/sctp/stream.c                                                   |    8 
 net/smc/smc_core.c                                                  |    9 
 samples/pktgen/functions.sh                                         |   17 -
 sound/core/pcm_native.c                                             |    7 
 sound/core/timer.c                                                  |   10 
 sound/firewire/bebob/bebob_stream.c                                 |   11 
 sound/pci/hda/patch_ca0132.c                                        |   23 +
 sound/soc/codecs/rt5677.c                                           |    1 
 sound/soc/codecs/wm2200.c                                           |    5 
 sound/soc/codecs/wm5100.c                                           |    2 
 sound/soc/codecs/wm8904.c                                           |    1 
 sound/soc/intel/boards/bytcr_rt5640.c                               |   10 
 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c                 |    3 
 sound/soc/soc-pcm.c                                                 |   14 
 sound/soc/sof/imx/Kconfig                                           |    8 
 sound/soc/sof/intel/hda.c                                           |    1 
 sound/soc/sof/topology.c                                            |    4 
 tools/arch/x86/lib/x86-opcode-map.txt                               |   18 -
 tools/bpf/Makefile                                                  |    6 
 tools/lib/bpf/btf_dump.c                                            |    8 
 tools/lib/bpf/libbpf.c                                              |   14 
 tools/lib/bpf/xsk.c                                                 |   14 
 tools/lib/subcmd/Makefile                                           |    4 
 tools/lib/traceevent/parse-filter.c                                 |    9 
 tools/memory-model/linux-kernel.cat                                 |    2 
 tools/objtool/check.c                                               |    1 
 tools/perf/arch/arm64/util/sym-handling.c                           |    3 
 tools/perf/builtin-report.c                                         |    7 
 tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json   |    2 
 tools/perf/pmu-events/jevents.c                                     |   13 
 tools/perf/tests/bp_signal.c                                        |   15 -
 tools/perf/tests/task-exit.c                                        |    9 
 tools/perf/util/cs-etm.c                                            |    4 
 tools/perf/util/dwarf-aux.c                                         |   80 ++++-
 tools/perf/util/dwarf-aux.h                                         |    3 
 tools/perf/util/parse-events.c                                      |   26 +
 tools/perf/util/probe-finder.c                                      |   45 ++-
 tools/perf/util/session.c                                           |   44 +--
 tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c              |    1 
 tools/testing/selftests/bpf/cgroup_helpers.c                        |    2 
 tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c      |    5 
 tools/testing/selftests/bpf/progs/test_seg6_loop.c                  |    4 
 tools/testing/selftests/bpf/progs/test_sysctl_loop1.c               |    5 
 tools/testing/selftests/bpf/test_progs.c                            |   17 -
 tools/testing/selftests/bpf/test_tc_tunnel.sh                       |    5 
 tools/testing/selftests/net/forwarding/router_bridge_vlan.sh        |    2 
 tools/testing/selftests/net/so_txtime.c                             |    4 
 tools/testing/selftests/net/tls.c                                   |   28 -
 tools/testing/selftests/net/udpgso.c                                |    3 
 tools/testing/selftests/net/udpgso_bench_tx.c                       |    3 
 tools/testing/selftests/proc/proc-self-map-files-002.c              |    6 
 virt/kvm/arm/mmu.c                                                  |   21 +
 423 files changed, 3084 insertions(+), 1505 deletions(-)

Adham Abozaeid (1):
staging: wilc1000: check if device is initialzied before changing vif

Adrian Hunter (3):
x86/insn: Add some Intel instructions to the opcode map
mmc: sdhci: Workaround broken command queuing on Intel GLK
mmc: sdhci: Add a quirk for broken command queuing

Akeem G Abodunrin (1):
ice: Only disable VF state when freeing each VF resources

Alan Stern (1):
tools/memory-model: Fix data race detection for unordered store and load

Alex Williamson (1):
iommu/vt-d: Set ISA bridge reserved region as relaxable

Alexander Lobakin (1):
net: wireless: intel: iwlwifi: fix GRO_NORMAL packet stalling

Alexander Shishkin (5):
perf/core: Fix the mlock accounting, again
intel_th: pci: Add Comet Lake PCH-V support
intel_th: pci: Add Elkhart Lake SOC support
intel_th: Fix freeing IRQs
intel_th: msu: Fix window switching without windows

Alexandru Ardelean (1):
iio: dln2-adc: fix iio_triggered_buffer_postenable() position

Alexey Budankov (1):
perf session: Fix decompression of PERF_RECORD_COMPRESSED records

Allen Pais (2):
libertas: fix a potential NULL pointer dereference drm/amdkfd: fix a potential NULL pointer dereference (v2)

Anand Jain (1):
btrfs: send: remove WARN_ON for readonly mount

Andrea Merello (1):
iio: max31856: add missing of_node and parent references to iio_dev

Andrea Righi (1):
bcache: fix deadlock in bcache_allocator

Andrew Jeffery (1):
fsi: core: Fix small accesses and unaligned offsets via sysfs

Andrey Grodzovsky (1):
drm/amdgpu: Avoid accidental thread reactivation.

Andrii Nakryiko (4):
selftests/bpf: Fix btf_dump padding test case
libbpf: Fix struct end padding in btf_dump selftests/bpf: Make a copy of subtest name
libbpf: Fix negative FD close() in xsk_setup_xdp_prog()

Andy Shevchenko (1):
fbtft: Make sure string is NULL terminated

Anilkumar Kolli (1):
ath10k: fix backtrace on coredump

Anthony Koo (2):
drm/amd/display: set minimum abm backlight level drm/amd/display: correctly populate dpp refclk in fpga

Ard Biesheuvel (4):
crypto: aegis128-neon - use Clang compatible cflags for ARM
crypto: aegis128/simd - build 32-bit ARM for v8 architecture explicitly
crypto: virtio - deal with unsupported input sizes efi/memreserve: Register reservations as 'reserved' in /proc/iomem

Aric Cyr (1):
drm/amd/display: Properly round nominal frequency for SPD

Arnd Bergmann (3):
x86/math-emu: Check __copy_from_user() result
crypto: inside-secure - Fix a maybe-uninitialized warning
Bluetooth: btusb: avoid unused function warning

Arthur Kiyanovski (2):
net: ena: fix default tx interrupt moderation interval
net: ena: fix issues in setting interrupt moderation params in ethtool

Bart Van Assche (2):
block: Fix writeback throttling W=1 compiler warnings RDMA/core: Set DMA parameters correctly

Ben Dooks (Codethink) (2):
Bluetooth: missed cpu_to_le16 conversion in hci_init4_req
pinctrl: amd: fix __iomem annotation in amd_gpio_irq_handler()

Ben Greear (1):
ath10k: fix offchannel tx failure when no ath10k_mac_tx_frm_has_freq

Ben Hutchings (1):
net: qlogic: Fix error paths in ql_alloc_large_buffers()

Ben Zhang (1):

      ASoC: rt5677: Mark reg RT5677_PWR_ANLG2 as volatile

Benjamin Berg (1):
x86/mce: Lower throttling MCE messages' priority to warning

Benoit Parrot (11):
media: am437x-vpfe: Setting STD to current value is not an error
media: i2c: ov2659: fix s_stream return value
media: i2c: ov2659: Fix missing 720p register config
media: ti-vpe: vpe: Fix Motion Vector vpdma stride
media: ti-vpe: vpe: fix a v4l2-compliance warning about invalid pixel format
media: ti-vpe: vpe: fix a v4l2-compliance failure about frame sequence number
media: ti-vpe: vpe: Make sure YUYV is set as default format
media: ti-vpe: vpe: fix a v4l2-compliance failure causing a kernel panic
media: ti-vpe: vpe: ensure buffers are cleaned up properly in abort cases
media: ti-vpe: vpe: fix a v4l2-compliance failure about invalid sizeimage
media: ov5640: Make 2592x1944 mode only available at 15 fps

Bernard Metzler (2):
RDMA/siw: Fix SQ/RQ drain logic
RDMA/siw: Fix post_recv QP state locking

Biju Das (1):
phy: renesas: phy-rcar-gen2: Fix the array off by one warning

Bjorn Andersson (2):
ath10k: Correct error handling of dma_map_single()
ath10k: Revert "ath10k: add cleanup in ath10k_sta_state()"

Brett Creeley (1):
ice: Fix setting coalesce to handle DCB configuration

Brian Masney (1):
drm/bridge: analogix-anx78xx: silence -EPROBE_DEFER warnings

Chaotian Jing (1):

      mmc: mediatek: fix CMD_TA to 2 for MT8173 HS200/HS400 mode

Charles Keepax (2):
spi: dw: Correct handling of native chipselect
spi: cadence: Correct handling of native chipselect

Chris Chiu (1):
rtl8xxxu: fix RTL8723BU connection failure issue after warm reboot

Christian König (2):
drm/amdgpu: grab the id mgr lock while accessing passid_mapping drm/ttm: return -EBUSY on pipelining with no_gpu_wait (v2)

Christophe JAILLET (2):
media: seco-cec: Add a missing 'release_region()' in an error handling path
media: cx88: Fix some error handling path in 'cx8800_initdev()'

Christophe Leroy (3):
spi: fsl: don't map irq during probe
spi: fsl: use platform_get_irq() instead of of_irq_to_resource() powerpc/irq: fix stack overflow verification

Chuhong Yuan (11):
fjes: fix missed check in fjes_acpi_add
staging: iio: ad9834: add a check for devm_clk_get
media: st-mipid02: add a check for devm_gpiod_get_optional
media: imx7-mipi-csis: Add a check for devm_regulator_get
spi: sifive: disable clk when probe fails and remove
media: si470x-i2c: add missed operations in remove
spi: pxa2xx: Add missed security checks
spi: tegra20-slink: add missed clk_unprepare
ASoC: wm2200: add missed operations in remove and probe failure
spi: st-ssc4: add missed pm_runtime_disable
ASoC: wm5100: add missed pm_runtime_disable

Colin Ian King (2):
RDMA/hns: Fix memory leak on 'context' on error return path drm/amdgpu: fix uninitialized variable pasid_mapping_needed

Coly Li (1):
bcache: fix static checker warning in bcache_device_free()

Connor Kuehl (1):
staging: rtl8188eu: fix possible null dereference

Corentin Labbe (1):
crypto: sun4i-ss - Fix 64-bit size_t warnings on sun4i-ss-hash.c

Corey Minyard (1):
ipmi: Don't allow device module unload when in use

Cristian Birsan (1):
net: usb: lan78xx: Fix suspend/resume PHY register access error

Dan Carpenter (4):
btrfs: return error pointer from alloc_test_extent_buffer drm/mipi-dbi: fix a loop in debugfs code
staging: wilc1000: potential corruption in wilc_parse_join_bss_param()
ext4: unlock on error in ext4_expand_extra_isize()

Daniel Kurtz (1):
drm/bridge: dw-hdmi: Restore audio when setting a mode

Daniel T. Lee (1):
samples: pktgen: fix proc_cmd command result check logic

Daniel Vetter (1):
drm: Use EOPNOTSUPP, not ENOTSUPP

Dariusz Marcinkiewicz (2):
drm/vc4/vc4_hdmi: fill in connector info
drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register

Darrick J. Wong (1):
loop: fix no-unmap write-zeroes request behavior

David Engraf (1):
tty/serial: atmel: fix out of range clock divider handling

David Galiffi (1):
drm/amd/display: Fix dongle_caps containing stale information.

Devesh Sharma (2):
RDMA/bnxt_re: Fix missing le16_to_cpu RDMA/bnxt_re: Fix stat push into dma buffer on gen p5 devices

Dmitry Osipenko (1):
regulator: core: Release coupled_rdevs on regulator_init_coupling() error

Dmytro Laktyushkin (1):
drm/amd/display: enable hostvm based on roimmu active for dcn2.1

Eduard Hasenleithner (1):
nvme: Discard workaround for non-conformant devices

Eric Auger (1):
iommu: fix KASAN use-after-free in iommu_insert_resv_region

Eric Biggers (1):
KEYS: asymmetric: return ENOMEM if akcipher_request_alloc() fails

Eric Dumazet (3):
neighbour: remove neigh_cleanup() method
bonding: fix bond_neigh_init()
net: avoid potential false sharing in neighbor related code

Erkka Talvitie (1):
USB: EHCI: Do not return -EPIPE when hub is disconnected

Eugeniu Rosca (1):
mmc: tmio: Add MMC_CAP_ERASE to allow erase/discard/trim requests

Fabio Estevam (1):
media: staging/imx: Use a shorter name for driver

Faiz Abbas (2):
Revert "mmc: sdhci: Fix incorrect switch to HS mode"
mmc: sdhci: Update the tuning failed messages to pr_debug level

Filipe Manana (3):
Btrfs: make tree checker detect checksum items with overlapping ranges
Btrfs: fix missing data checksums after replaying a log tree
Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues

Florian Fainelli (1):
net: dsa: b53: Fix egress flooding settings

Frederic Barrat (1):
ocxl: Fix concurrent AFU open and device removal

Gal Pressman (1):
RDMA/efa: Clear the admin command buffer prior to its submission

Geert Uytterhoeven (4):
net: dst: Force 4-byte alignment of dst_metrics
Revert "pinctrl: sh-pfc: r8a77990: Fix MOD_SEL1 bit30 when using SSI_SCK2 and SSI_WS2" Revert "pinctrl: sh-pfc: r8a77990: Fix MOD_SEL1 bit31 when using SIM0_D"
pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B

Gerald Schaefer (1):
s390/mm: add mm_pxd_folded() checks to pxd_free()

Gerd Hoffmann (1):
drm/virtio: switch virtio_gpu_wait_ioctl() to gem helper.

Greg Kroah-Hartman (1):

      Linux 5.4.7

Grygorii Strashko (3):
net: ethernet: ti: davinci_cpdma: fix warning "device driver frees DMA memory with different size"
net: phy: dp83867: enable robust auto-mdix
net: ethernet: ti: ale: clean ale tbl on init and intf restart

Guenter Roeck (1):
usb: xhci: Fix build warning seen with CONFIG_PM=n

Guoqing Jiang (1):
md/bitmap: avoid race window between md_bitmap_resize and bitmap_file_clear_bit

Gwendal Grignou (1):
iio: cros_ec_baro: set info_mask_shared_by_all_available field

Hangbin Liu (1):
team: call RCU read lock when walking the port_list

Hans Verkuil (5):
media: cedrus: fill in bus_info for media device
media: cec-funcs.h: add status_req checks
media: vivid: media_device_cleanup was called too early
media: vicodec: media_device_cleanup was called too early
media: vim2m: media_device_cleanup was called too early

Hans de Goede (4):
ACPI: button: Add DMI quirk for Medion Akoya E2215T
ASoC: Intel: bytcr_rt5640: Update quirk for Acer Switch 10 SW5-012 2-in-1 platform/x86: hp-wmi: Make buffer for HPWMI_FEATURE2_QUERY 128 bytes
pinctrl: baytrail: Really serialize all register accesses

Hauke Mehrtens (1):
ath10k: Check if station exists before forwarding tx airtime report

Hawking Zhang (1):
drm/amdgpu: disallow direct upload save restore list from gfx driver

Heiko Carstens (1):
s390/time: ensure get_clock_monotonic() returns monotonic values

Heiner Kallweit (1):
r8169: respect EEE user setting when restarting network

Herbert Xu (2):
crypto: atmel - Fix authenc support when it is set to m
crypto: sun4i-ss - Fix 64-bit size_t warnings

Hewenliang (1):
libtraceevent: Fix memory leakage in copy_filter_type

Honglei Wang (1):
cgroup: freezer: don't change task and cgroups status unnecessarily

Ian Abbott (1):
staging: comedi: gsc_hpdi: check dma_alloc_coherent() return value

Ian Rogers (2):
perf tools: Splice events onto evlist even on error perf parse: If pmu configuration fails free terms

Ido Schimmel (2):
selftests: forwarding: Delete IPv6 address at the end
mlxsw: spectrum_router: Remove unlikely user-triggerable warning

Ilya Leoshkevich (3):
s390: add error handling to perf_callchain_kernel s390/bpf: Use kvcalloc for addrs array s390/disassembler: don't hide instruction addresses

Ilya Maximets (1):
libbpf: Fix passing uninitialized bytes to setsockopt

Ingo Rohloff (1):
usb: usbfs: Suppress problematic bind and unbind uevents.

Ioana Ciornei (1):
dpaa2-ptp: fix double free of the ptp_qoriq IRQ

Ivan Khoronzhuk (1):
selftests/bpf: Correct path to include msg + path

Jack Zhang (1):
drm/amdgpu/sriov: add ring_stop before ring_create in psp v11 code

Jae Hyun Yoo (2):
media: aspeed: set hsync and vsync polarities to normal before starting mode detection
media: aspeed: clear garbage interrupts

Jaehyun Chung (1):
drm/amd/display: OTC underflow fix

Jagan Teki (1):
drm/sun4i: dsi: Fix TCON DRQ set bits

James Clark (1):
libsubcmd: Use -O0 with DEBUG=1

Jan H. Schönherr (1):
x86/mce: Fix possibly incorrect severity calculation on AMD

Jan Kara (2):
ext4: fix ext4_empty_dir() for directories with holes
ext4: check for directory entries too close to block end

Janusz Krzysztofik (5):
media: ov6650: Fix control handler not freed on init error
media: ov6650: Fix crop rectangle alignment not passed back
media: ov6650: Fix stored frame format not in sync with hardware
media: ov6650: Fix stored crop rectangle not in sync with hardware
media: ov6650: Fix stored frame interval not in sync with hardware

Jaroslaw Gawin (1):
i40e: Wrong 'Advertised FEC modes' after set FEC to AUTO

Jason Gunthorpe (1):
xen/gntdev: Use select for DMA_SHARED_BUFFER

Jernej Skrabec (2):
media: vim2m: Fix abort issue
media: cedrus: Use helpers to access capture queue

Jerry Snitselaar (3):
tpm_tis: reserve chip for duration of tpm_tis_core_init
iommu: set group default domain before creating direct mappings iommu/vt-d: Allocate reserved region for ISA with correct permission

Jia-Ju Bai (1):
net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_receive()

Jian Shen (1):
net: hns3: log and clear hardware error after reset complete

Jiangfeng Xiao (1):
net: hisilicon: Fix a BUG trigered by wrong bytes_compl

Jim Mattson (2):
kvm: x86: Host feature SSBD doesn't imply guest feature SPEC_CTRL_SSBD
kvm: x86: Host feature SSBD doesn't imply guest feature AMD_SSBD

Jin Yao (1):
perf report: Add warning when libunwind not compiled in

Jing Zhou (1):
drm/amd/display: verify stream link before link test

Jiri Benc (1):
selftests, bpf: Fix test_tc_tunnel hanging

Joakim Zhang (2):
can: flexcan: poll MCR_LPM_ACK instead of GPR ACK for stop mode acknowledgment
can: flexcan: add low power enter/exit acknowledgment helper

Johannes Berg (1):
iwlwifi: check kasprintf() return value

John Garry (3):
perf vendor events arm64: Fix Hisi hip08 DDRC PMU eventname
libata: Ensure ata_port probe has completed before detach perf tools: Fix cross compile for ARM64

John Hurley (1):
nfp: flower: fix stats id allocation

Josef Bacik (6):
btrfs: don't double lock the subvol_sem for rename exchange
btrfs: do not call synchronize_srcu() in inode_tree_del
btrfs: abort transaction after failed inode updates in create_subvol
btrfs: skip log replay on orphaned roots
btrfs: do not leak reloc root if we fail to read the fs root
btrfs: handle ENOENT in btrfs_uuid_tree_iterate

Josip Pavic (1):
drm/amd/display: wait for set pipe mcp command completion

Jouni Hogander (1):
net-sysfs: Call dev_hold always in rx_queue_add_kobject

Julian Parkin (1):
drm/amd/display: Program DWB watermarks from correct state

Kai Vehmanen (1):
ASoC: SOF: enable sync_write in hdac_bus

Kai-Heng Feng (1):
x86/intel: Disable HPET on Intel Coffee Lake H platforms

Kamal Heib (1):
RDMA/core: Fix return code when modify_port isn't supported

Kangjie Lu (2):
drm/gma500: fix memory disclosures due to uninitialized bytes
media: rcar_drif: fix a memory disclosure

Kefeng Wang (1):
media: vim2m: Fix BUG_ON in vim2m_device_release()

Kevin Wang (1):
drm/amdgpu: fix amdgpu trace event print string format error

Konstantin Khlebnikov (1):
x86/MCE/AMD: Do not use rdmsr_safe_on_cpu() in smca_configure()

Krzysztof Wilczynski (1):
iio: light: bh1750: Resolve compiler warning and make code more readable

Kuninori Morimoto (1):
ASoC: soc-pcm: fixup dpcm_prune_paths() loop continue

Laurent Pinchart (1):
drm/panel: Add missing drm_panel_init() in panel drivers

Le Ma (1):
drm/amd/powerplay: avoid disabling ECC if RAS is enabled for VEGA20

Leo Yan (4):
perf test: Report failure for mmap events perf test: Avoid infinite loop for task exit case perf tests: Disable bp_signal testing for arm64 perf cs-etm: Fix definition of macro TO_CS_QUEUE_NR

Lianbo Jiang (1):
x86/crash: Add a forward declaration of struct kimage

Lingling Xu (1):
spi: sprd: adi: Add missing lock protection when rebooting

Linus Walleij (1):
firmware_loader: Fix labels with comma for builtin firmware

Loic Poulain (1):
media: venus: core: Fix msm8996 frequency table

Lorenzo Bianconi (1):
mt76: fix possible out-of-bound access in mt7615_fill_txs/mt7603_fill_txs

Lu Baolu (1):
iommu/vt-d: Fix dmar pte read access not set error

Luca Coelho (1):
iwlwifi: pcie: move power gating workaround earlier in the flow

Lucas Stach (1):
nvmem: imx-ocotp: reset error status on probe

Luigi Rizzo (1):
net-af_xdp: Use correct number of channels from ethtool

Luiz Augusto von Dentz (1):
Bluetooth: Fix advertising duplicated flags

Lukasz Majewski (1):
spi: Add call to spi_slave_abort() function when spidev driver is released

Luke Starrett (1):
RDMA/bnxt_re: Fix chip number validation Broadcom's Gen P5 series

Lyude Paul (1):
drm/nouveau: Don't grab runtime PM refs for HPD IRQs

Manish Chopra (3):
qede: Disable hardware gro when xdp prog is installed
qede: Fix multicast mac configuration
bnx2x: Fix PF-VF communication over multi-cos queues.

Manjunath Patil (1):
ixgbe: protect TX timestamping from API misuse

Mao Wenan (3):
af_packet: set defaule value for tmo
net: dsa: LAN9303: select REGMAP when LAN9303 enable
net: ethernet: ti: Add dependency for TI_DAVINCI_EMAC

Marc Zyngier (1):
KVM: arm/arm64: Properly handle faulting of device mappings

Marcelo Ricardo Leitner (1):
sctp: fix memleak on err handling of stream initialization

Marcus Comstedt (1):
KVM: PPC: Book3S HV: Fix regression on big endian hosts

Martin Tsai (1):
drm/amd/display: Handle virtual signal type in disable_link()

Masami Hiramatsu (16):
perf probe: Fix to find range-only function instance
perf probe: Fix to list probe event with correct line number perf probe: Walk function lines in lexical blocks
perf probe: Fix to probe an inline function which has no entry pc perf probe: Fix to show ranges of variables in functions without entry_pc perf probe: Fix to show inlined function callsite without entry_pc perf probe: Fix to probe a function which has no entry pc
perf probe: Skip overlapped location on searching variables
perf probe: Return a better scope DIE if there is no best scope perf probe: Fix to show calling lines of inlined functions
perf probe: Skip end-of-sequence and non statement lines
perf probe: Filter out instances except for inlined subroutine and subprogram
selftests: proc: Make va_max 1MB
selftests: net: Fix printf format warnings on arm tracing/kprobe: Check whether the non-suffixed symbol is notrace perf probe: Fix to show function entry line as probe-able

Matthias Kaehlcke (1):
drm/bridge: dw-hdmi: Refuse DDC/CI transfers on the internal I2C controller

Mattijs Korpershoek (1):
Bluetooth: hci_core: fix init for HCI_USER_CHANNEL

Max Gurtovoy (2):
IB/iser: bound protection_sg size by data_sg size
nvme: introduce "Command Aborted By host" status code

Miaoqing Pan (1):
ath10k: fix get invalid tx rate for Mesh metric

Michael Chan (1):
bnxt_en: Improve RX buffer error handling.

Michael Ellerman (1):
crypto: vmx - Avoid weird build failures

Michael Walle (1):
ASoC: wm8904: fix regcache handling

Michal Kalderon (2):
RDMA/qedr: Fix memory leak in user qp and mr RDMA/qedr: Fix srqs xarray initialization

Michal Swiatkowski (1):
ice: Check for null pointer dereference when setting rings

Mihail Atanassov (1):
drm/komeda: Workaround for broken FLIP_COMPLETE timestamps

Mika Westerberg (1):
xhci-pci: Allow host runtime PM as default also for Intel Ice Lake xHCI

Mike Christie (1):
nbd: fix shutdown and recv work deadlock v2

Mike Isely (1):
media: pvrusb2: Fix oops on tear-down when radio support is not present

Mike Rapoport (1):
mips: fix build when "48 bits virtual memory" is enabled

Mikita Lipski (1):
drm/amd/display: Rebuild mapped resources after pipe split

Miquel Raynal (1):
iio: adc: max1027: Reset the device at probe time

Mitch Williams (1):
ice: delay less

Nathan Chancellor (1):
tools/power/cpupower: Fix initializer override in hsw_ext_cstates

Navid Emamdoost (5):
net: gemini: Fix memory leak in gmac_setup_txqs
staging: rtl8192u: fix multiple memory leaks on error path
rtlwifi: prevent memory leak in rtl_usb_probe
spi: gpio: prevent memory leak in spi_gpio_probe
mwifiex: pcie: Fix memory leak in mwifiex_pcie_init_evt_ring

Neil Armstrong (2):
drm/meson: vclk: use the correct G12A frac max value
media: meson/ao-cec: move cec_notifier_cec_adap_register after hw setup

Nicholas Nunley (1):
i40e: initialize ITRN registers with correct values

Nikola Cornij (1):
drm/amd/display: Set number of pipes to 1 if the second pipe was disabled

Oak Zeng (1):
drm/amdkfd: Fix MQD size calculation

Oleksij Rempel (1):

      can: j1939: j1939_sk_bind(): take priv after lock is held

Omar Sandoval (4):
btrfs: don't prematurely free work in end_workqueue_fn()
btrfs: don't prematurely free work in run_ordered_work()
btrfs: don't prematurely free work in reada_start_machine_worker()
btrfs: don't prematurely free work in scrub_missing_raid56_worker()

Ondrej Jirman (1):
cpufreq: sun50i: Fix CPU speed bin detection

Padmanabhan Rajanbabu (1):
net: stmmac: platform: Fix MDIO init for platforms without PHY

Pan Bian (2):
spi: img-spfi: fix potential double release drm/amdgpu: fix potential double drop fence reference

Pascal Paillet (1):
regulator: core: Let boot-on regulators be powered off

Paul Burton (2):
MIPS: futex: Emit Loongson3 sync workarounds within asm
MIPS: futex: Restore \n after sync instructions

Paul Kocialkowski (1):
media: cedrus: Fix undefined shift with a SHIFT_AND_MASK_BITS macro

Peng Fan (3):
clk: imx: clk-imx7ulp: Add missing sentinel of ulp_div_table
clk: imx: clk-composite-8m: add lock to gate/mux
clk: imx: pll14xx: fix clk_pll14xx_wait_lock

Petar Penkov (1):
tun: fix data-race in gro_normal_list()

Peter Zijlstra (1):
ubsan, x86: Annotate and allow __ubsan_handle_shift_out_of_bounds() in uaccess regions

Pi-Hsun Shih (1):
media: v4l2-ctrl: Lock main_hdl on operations of requests_queued.

Pierre-Louis Bossart (2):
ASoC: SOF: imx: fix reverse CONFIG_SND_SOC_SOF_OF dependency
soundwire: intel: fix PDI/stream mapping for Bulk

Ping-Ke Shih (3):
rtw88: fix NSS of hw_cap
rtw88: coex: Set 4 slot mode for A2DP
rtlwifi: fix memory leak in rtl92c_set_fw_rsvdpagepkt()

Quentin Monnet (1):
tools, bpf: Fix build for 'make -s tools/bpf O=<dir>'

Rafael J. Wysocki (1):
cpufreq: Avoid leaving stale IRQ work items during CPU offline

Rafał Miłecki (1):
brcmfmac: remove monitor interface when detaching

Rajendra Nayak (1):
pinctrl: qcom: sc7180: Add missing tile info in SDC_QDSD_PINGROUP/UFS_RESET

Ranjani Sridharan (1):
ASoC: SOF: topology: set trigger order for FE DAI link

Rasmus Villemoes (1):
mmc: sdhci-of-esdhc: Revert "mmc: sdhci-of-esdhc: add erratum A-009204 support"

Raul E Rangel (2):
drm/amd/display: fix struct init in update_bounding_box drm/amd/powerplay: fix struct init in renoir_print_clk_levels

Ricardo Ribalda Delgado (1):
media: ad5820: Define entity function

Robert Richter (1):
EDAC/ghes: Fix grain calculation

Rodrigo Siqueira (1):
drm/drm_vblank: Change EINVAL by the correct errno

Russell King (4):
mod_devicetable: fix PHY module format
net: phy: ensure that phy IDs are correctly typed
net: phy: avoid matching all-ones clause 45 PHY IDs
net: phy: initialise phydev speed and duplex sanely

Sakari Ailus (1):
media: smiapp: Register sensor after enabling runtime PM on the device

Sam Bobroff (1):
drm/amdgpu: fix bad DMA from INTERRUPT_CNTL2

Sami Tolvanen (2):
syscalls/x86: Use the correct function type in SYSCALL_DEFINE0 x86/mm: Use the correct function type for native_set_fixmap()

Sean Nyekjaer (2):
can: m_can: tcan4x5x: add required delay after reset
can: flexcan: fix possible deadlock and out-of-order reception after wakeup

Sean Paul (1):
drm: mst: Fix query_payload ack reply struct

Sebastian Reichel (1):
nvmem: core: fix nvmem_cell_write inline function

Sergey Matyukevich (3):
qtnfmac: fix debugfs support for multiple cards
qtnfmac: fix invalid channel information output
qtnfmac: fix using skb after free

Sergio Paracuellos (1):
MIPS: ralink: enable PCI support only if driver for mt7621 SoC is selected

Seung-Woo Kim (1):
media: exynos4-is: fix wrong mdev and v4l2 dev order in error path

Sharat Masetty (1):
drm: msm: a6xx: fix debug bus register configuration

Shengjiu Wang (1):
ASoC: soc-pcm: check symmetry before hw_params

Shuah Khan (1):
media: vimc: Fix gpf in rmmod path when stream is active

Song Liu (1):
bpf/stackmap: Fix deadlock with rq_lock in bpf_get_stack()

Srikar Dronamraju (1):
powerpc/vcpu: Assume dedicated processors as non-preempt

Srinivas Kandagatla (1):

      misc: fastrpc: fix memory leak from miscdev->name

Srinivas Neeli (1):
can: xilinx_can: Fix missing Rx can packets on CANFD2.0

Stanimir Varbanov (1):
media: venus: Fix occasionally failures to suspend

Stefan Popa (1):
iio: dac: ad5446: Add support for new AD5600 DAC

Stephan Gerhold (3):
NFC: nxp-nci: Fix probing without ACPI
extcon: sm5502: Reset registers during initialization
phy: qcom-usb-hs: Fix extcon double register after power cycle

Steven Price (1):
drm: Don't free jobs in wait_event_interruptible()

Sudip Mukherjee (1):
parport: load lowlevel driver if ports not found

Suwan Kim (2):
usbip: Fix receive error in vhci-hcd when using scatter-gather
usbip: Fix error path of vhci_recv_ret_submit()

Sven Schnelle (1):
s390/ftrace: fix endless recursion in function_graph tracer

Szymon Janc (1):
Bluetooth: Workaround directed advertising bug in Broadcom controllers

Tadeusz Struk (1):
tpm: fix invalid locking in NONBLOCKING mode

Takashi Iwai (6):
ALSA: pcm: Avoid possible info leaks from PCM stream buffers
ALSA: hda/ca0132 - Keep power on during processing DSP response
ALSA: hda/ca0132 - Avoid endless loop
ALSA: hda/ca0132 - Fix work handling in delayed HP detection
ALSA: pcm: Fix missing check of the new non-cached buffer type
ALSA: timer: Limit max amount of slave instances

Takashi Sakamoto (1):
ALSA: bebob: expand sleep just after breaking connections for protocol version 1

Tejun Heo (1):
iocost: over-budget forced IOs should schedule async delay

Thadeu Lima de Souza Cascardo (1):
selftests: net: tls: remove recv_rcvbuf test

Theodore Ts'o (1):
ext4: validate the debug_want_extra_isize mount option at parse time

Thierry Reding (2):
drm/tegra: sor: Use correct SOR index on Tegra210
gpu: host1x: Allocate gather copy for host1x

Thomas Falcon (1):
ibmvnic: Fix completion structure initialization

Thomas Gleixner (1):
x86/ioapic: Prevent inconsistent state when moving an interrupt

Thomas Pedersen (1):
mac80211: consider QoS Null frames for STA_NULLFUNC_ACKED

Thomas Richter (1):
s390/cpumf: Adjust registration of s390 PMU device drivers

Thor Thayer (1):
spi: dw: Fix Designware SPI loopback

Toke Høiland-Jørgensen (1):
libbpf: Fix error handling in bpf_map__reuse_fd()

Tony Lindgren (3):
hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
power: supply: cpcap-battery: Check voltage before orderly_poweroff
ARM: dts: Fix vcsi regulator to be always-on for droid4 to prevent hangs

Ursula Braun (1):
net/smc: increase device refcount for added link group

Valentin Schneider (1):
sched/uclamp: Fix overzealous type replacement

Vandana BN (1):
media: v4l2-core: fix touch support in v4l_g_fmt

Vasily Gorbik (1):
s390/kasan: support memcpy_real with TRACE_IRQFLAGS

Vasundhara Volam (1):
bnxt_en: Return proper error code for non-existent NVM variable

Veerabhadrarao Badiganti (1):
mmc: sdhci-msm: Correct the offset and value for DDR_CONFIG register

Veeraiyan Chidambaram (1):
usb: renesas_usbhs: add suspend event support in gadget mode

Viresh Kumar (1):
cpufreq: Register drivers only after CPU devices have been registered

Vitaly Prosyak (1):
drm/amd/display: add new active dongle to existent w/a

Vlad Buslov (1):
net/mlx5e: Verify that rule has at least one fwd/drop action

Vladimir Oltean (1):
net: dsa: sja1105: Disallow management xmit during switch reset

Wang Xuerui (1):
iwlwifi: mvm: fix unaligned read of rx_pkt_status

Weihang Li (1):

      RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que

Wenwen Wang (1):
ath10k: add cleanup in ath10k_sta_state()

Will Deacon (2):
pinctrl: devicetree: Avoid taking direct reference to device name string
KVM: arm64: Ensure 'params' is initialised when looking up sys register

Xiaolong Huang (1):
can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices

Xin Long (1):
sctp: fully initialize v4 addr in some functions

Yang Shi (1):
mm: vmscan: protect shrinker idr replace with CONFIG_MEMCG

Yang Yingliang (1):
media: flexcop-usb: fix NULL-ptr deref in flexcop_usb_transfer_init()

Yangbo Lu (1):
mmc: sdhci-of-esdhc: fix P2020 errata handling

Yazen Ghannam (2):
EDAC/amd64: Set grain per DIMM
x86/MCE/AMD: Allow Reserved types to be overwritten in smca_banks[]

Yizhuo (1):
regulator: max8907: Fix the usage of uninitialized variable in max8907_regulator_probe()

Yonghan Ye (1):
serial: sprd: Add clearing break interrupt operation

Yonghong Song (3):
bpf, testing: Workaround a verifier failure for test_progs selftests, bpf: Workaround an alu32 sub-register spilling issue
bpf: Provide better register bounds after jmp32 instructions

Yu-Hsuan Hsu (1):

      ASoC: Intel: kbl_rt5663_rt5514_max98927: Add dmic format constraint

YueHaibing (2):
media: max2175: Fix build error without CONFIG_REGMAP_I2C s390/crypto: Fix unsigned variable compared with zero

Yufen Yu (2):
md: no longer compare spare disk superblock events in super_load
md: avoid invalid memory access for array sb->dev_roles

Yuming Han (1):
tracing: use kvcalloc for tgid_map array allocation

Yunfeng Ye (2):
arm64: psci: Reduce the waiting time for cpu_psci_cpu_kill() perf jevents: Fix resource leak in process_mapfile() and main()

Yunsheng Lin (1):
net: hns3: add struct netdev_queue debug info for TX timeout

Zhan liu (1):
drm/amd/display: setting the DIG_MODE to the correct value.

chen gong (1):
drm/amd/powerplay: A workaround to GPU RESET on APU

joseph gravenor (1):
drm/amd/display: fix header for RN clk mgr

author maintainer
#1 lore raw
Makefile +1 -1
index 20ec7c20279e..0e2e0a034064 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 4
-SUBLEVEL = 6
+SUBLEVEL = 7
 EXTRAVERSION =
 NAME = Kleptomaniac Octopus
 
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi +2 -2
index d1eae47b83f6..82f7ae030600 100644
@@ -160,12 +160,12 @@
 		regulator-enable-ramp-delay = <1000>;
 	};
 
-	/* Used by DSS */
+	/* Used by DSS and is the "zerov_regulator" trigger for SoC off mode */
 	vcsi: VCSI {
 		regulator-min-microvolt = <1800000>;
 		regulator-max-microvolt = <1800000>;
 		regulator-enable-ramp-delay = <1000>;
-		regulator-boot-on;
+		regulator-always-on;
 	};
 
 	vdac: VDAC {
arch/arm64/kernel/psci.c +9 -6
index c9f72b2665f1..43ae4e0c968f 100644
@@ -81,7 +81,8 @@ static void cpu_psci_cpu_die(unsigned int cpu)
 
 static int cpu_psci_cpu_kill(unsigned int cpu)
 {
-	int err, i;
+	int err;
+	unsigned long start, end;
 
 	if (!psci_ops.affinity_info)
 		return 0;
@@ -91,16 +92,18 @@ static int cpu_psci_cpu_kill(unsigned int cpu)
 	 * while it is dying. So, try again a few times.
 	 */
 
-	for (i = 0; i < 10; i++) {
+	start = jiffies;
+	end = start + msecs_to_jiffies(100);
+	do {
 		err = psci_ops.affinity_info(cpu_logical_map(cpu), 0);
 		if (err == PSCI_0_2_AFFINITY_LEVEL_OFF) {
-			pr_info("CPU%d killed.\n", cpu);
+			pr_info("CPU%d killed (polled %d ms)\n", cpu,
+				jiffies_to_msecs(jiffies - start));
 			return 0;
 		}
 
-		msleep(10);
-		pr_info("Retrying again to check for CPU kill\n");
-	}
+		usleep_range(100, 1000);
+	} while (time_before(jiffies, end));
 
 	pr_warn("CPU%d may not have shut down cleanly (AFFINITY_INFO reports %d)\n",
 			cpu, err);
arch/arm64/kvm/sys_regs.c +4 -1
index 46822afc57e0..01a515e0171e 100644
@@ -2360,8 +2360,11 @@ static const struct sys_reg_desc *index_to_sys_reg_desc(struct kvm_vcpu *vcpu,
 	if ((id & KVM_REG_ARM_COPROC_MASK) != KVM_REG_ARM64_SYSREG)
 		return NULL;
 
+	if (!index_to_params(id, &params))
+		return NULL;
+
 	table = get_target_table(vcpu->arch.target, true, &num);
-	r = find_reg_by_id(id, &params, table, num);
+	r = find_reg(&params, table, num);
 	if (!r)
 		r = find_reg(&params, sys_reg_descs, ARRAY_SIZE(sys_reg_descs));
 
arch/mips/include/asm/barrier.h +7 -6
index 9228f7386220..fb842965d541 100644
@@ -218,13 +218,14 @@
  * ordering will be done by smp_llsc_mb() and friends.
  */
 #if defined(CONFIG_WEAK_REORDERING_BEYOND_LLSC) && defined(CONFIG_SMP)
-#define __WEAK_LLSC_MB		"	sync	\n"
-#define smp_llsc_mb()		__asm__ __volatile__(__WEAK_LLSC_MB : : :"memory")
-#define __LLSC_CLOBBER
+# define __WEAK_LLSC_MB		sync
+# define smp_llsc_mb() \
+	__asm__ __volatile__(__stringify(__WEAK_LLSC_MB) : : :"memory")
+# define __LLSC_CLOBBER
 #else
-#define __WEAK_LLSC_MB		"		\n"
-#define smp_llsc_mb()		do { } while (0)
-#define __LLSC_CLOBBER		"memory"
+# define __WEAK_LLSC_MB
+# define smp_llsc_mb()		do { } while (0)
+# define __LLSC_CLOBBER		"memory"
 #endif
 
 #ifdef CONFIG_CPU_CAVIUM_OCTEON
arch/mips/include/asm/futex.h +7 -8
index b83b0397462d..110220705e97 100644
@@ -16,6 +16,7 @@
 #include <asm/barrier.h>
 #include <asm/compiler.h>
 #include <asm/errno.h>
+#include <asm/sync.h>
 #include <asm/war.h>
 
 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)		\
@@ -32,7 +33,7 @@
 		"	.set	arch=r4000			\n"	\
 		"2:	sc	$1, %2				\n"	\
 		"	beqzl	$1, 1b				\n"	\
-		__WEAK_LLSC_MB						\
+		__stringify(__WEAK_LLSC_MB) "			\n"	\
 		"3:						\n"	\
 		"	.insn					\n"	\
 		"	.set	pop				\n"	\
@@ -50,19 +51,19 @@
 		  "i" (-EFAULT)						\
 		: "memory");						\
 	} else if (cpu_has_llsc) {					\
-		loongson_llsc_mb();					\
 		__asm__ __volatile__(					\
 		"	.set	push				\n"	\
 		"	.set	noat				\n"	\
 		"	.set	push				\n"	\
 		"	.set	"MIPS_ISA_ARCH_LEVEL"		\n"	\
+		"	" __SYNC(full, loongson3_war) "		\n"	\
 		"1:	"user_ll("%1", "%4")" # __futex_atomic_op\n"	\
 		"	.set	pop				\n"	\
 		"	" insn	"				\n"	\
 		"	.set	"MIPS_ISA_ARCH_LEVEL"		\n"	\
 		"2:	"user_sc("$1", "%2")"			\n"	\
 		"	beqz	$1, 1b				\n"	\
-		__WEAK_LLSC_MB						\
+		__stringify(__WEAK_LLSC_MB) "			\n"	\
 		"3:						\n"	\
 		"	.insn					\n"	\
 		"	.set	pop				\n"	\
@@ -147,7 +148,7 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
 		"	.set	arch=r4000				\n"
 		"2:	sc	$1, %2					\n"
 		"	beqzl	$1, 1b					\n"
-		__WEAK_LLSC_MB
+		__stringify(__WEAK_LLSC_MB) "				\n"
 		"3:							\n"
 		"	.insn						\n"
 		"	.set	pop					\n"
@@ -164,13 +165,13 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
 		  "i" (-EFAULT)
 		: "memory");
 	} else if (cpu_has_llsc) {
-		loongson_llsc_mb();
 		__asm__ __volatile__(
 		"# futex_atomic_cmpxchg_inatomic			\n"
 		"	.set	push					\n"
 		"	.set	noat					\n"
 		"	.set	push					\n"
 		"	.set	"MIPS_ISA_ARCH_LEVEL"			\n"
+		"	" __SYNC(full, loongson3_war) "			\n"
 		"1:	"user_ll("%1", "%3")"				\n"
 		"	bne	%1, %z4, 3f				\n"
 		"	.set	pop					\n"
@@ -178,8 +179,7 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
 		"	.set	"MIPS_ISA_ARCH_LEVEL"			\n"
 		"2:	"user_sc("$1", "%2")"				\n"
 		"	beqz	$1, 1b					\n"
-		__WEAK_LLSC_MB
-		"3:							\n"
+		"3:	" __SYNC_ELSE(full, loongson3_war, __WEAK_LLSC_MB) "\n"
 		"	.insn						\n"
 		"	.set	pop					\n"
 		"	.section .fixup,\"ax\"				\n"
@@ -194,7 +194,6 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
 		: GCC_OFF_SMALL_ASM() (*uaddr), "Jr" (oldval), "Jr" (newval),
 		  "i" (-EFAULT)
 		: "memory");
-		loongson_llsc_mb();
 	} else
 		return -ENOSYS;
 
arch/mips/include/asm/pgtable-64.h +7 -2
index 93a9dce31f25..813dfe5f45a5 100644
@@ -18,10 +18,12 @@
 #include <asm/fixmap.h>
 
 #define __ARCH_USE_5LEVEL_HACK
-#if defined(CONFIG_PAGE_SIZE_64KB) && !defined(CONFIG_MIPS_VA_BITS_48)
+#if CONFIG_PGTABLE_LEVELS == 2
 #include <asm-generic/pgtable-nopmd.h>
-#elif !(defined(CONFIG_PAGE_SIZE_4KB) && defined(CONFIG_MIPS_VA_BITS_48))
+#elif CONFIG_PGTABLE_LEVELS == 3
 #include <asm-generic/pgtable-nopud.h>
+#else
+#include <asm-generic/5level-fixup.h>
 #endif
 
 /*
@@ -216,6 +218,9 @@ static inline unsigned long pgd_page_vaddr(pgd_t pgd)
 	return pgd_val(pgd);
 }
 
+#define pgd_phys(pgd)		virt_to_phys((void *)pgd_val(pgd))
+#define pgd_page(pgd)		(pfn_to_page(pgd_phys(pgd) >> PAGE_SHIFT))
+
 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address)
 {
 	return (pud_t *)pgd_page_vaddr(*pgd) + pud_index(address);
arch/mips/ralink/Kconfig +1 -0
index 1434fa60f3db..94e9ce994494 100644
@@ -51,6 +51,7 @@ choice
 		select MIPS_GIC
 		select COMMON_CLK
 		select CLKSRC_MIPS_GIC
+		select HAVE_PCI if PCI_MT7621
 endchoice
 
 choice
arch/powerpc/include/asm/spinlock.h +3 -1
index e9a960e28f3c..cac95a3f30c2 100644
@@ -36,10 +36,12 @@
 #endif
 
 #ifdef CONFIG_PPC_PSERIES
+DECLARE_STATIC_KEY_FALSE(shared_processor);
+
 #define vcpu_is_preempted vcpu_is_preempted
 static inline bool vcpu_is_preempted(int cpu)
 {
-	if (!firmware_has_feature(FW_FEATURE_SPLPAR))
+	if (!static_branch_unlikely(&shared_processor))
 		return false;
 	return !!(be32_to_cpu(lppaca_of(cpu).yield_count) & 1);
 }
arch/powerpc/kernel/irq.c +2 -2
index 5645bc9cbc09..add67498c126 100644
@@ -619,8 +619,6 @@ void __do_irq(struct pt_regs *regs)
 
 	trace_irq_entry(regs);
 
-	check_stack_overflow();
-
 	/*
 	 * Query the platform PIC for the interrupt & ack it.
 	 *
@@ -652,6 +650,8 @@ void do_IRQ(struct pt_regs *regs)
 	irqsp = hardirq_ctx[raw_smp_processor_id()];
 	sirqsp = softirq_ctx[raw_smp_processor_id()];
 
+	check_stack_overflow();
+
 	/* Already there ? */
 	if (unlikely(cursp == irqsp || cursp == sirqsp)) {
 		__do_irq(regs);
arch/powerpc/kvm/book3s_hv_rmhandlers.S +2 -2
index 0496e66aaa56..c6fbbd29bd87 100644
@@ -1117,7 +1117,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)
 	ld	r7, VCPU_GPR(R7)(r4)
 	bne	ret_to_ultra
 
-	lwz	r0, VCPU_CR(r4)
+	ld	r0, VCPU_CR(r4)
 	mtcr	r0
 
 	ld	r0, VCPU_GPR(R0)(r4)
@@ -1137,7 +1137,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)
  *   R3 = UV_RETURN
  */
 ret_to_ultra:
-	lwz	r0, VCPU_CR(r4)
+	ld	r0, VCPU_CR(r4)
 	mtcr	r0
 
 	ld	r0, VCPU_GPR(R3)(r4)
arch/powerpc/platforms/pseries/setup.c +7 -0
index 0a40201f315f..0c8421dd01ab 100644
@@ -74,6 +74,9 @@
 #include "pseries.h"
 #include "../../../../drivers/pci/pci.h"
 
+DEFINE_STATIC_KEY_FALSE(shared_processor);
+EXPORT_SYMBOL_GPL(shared_processor);
+
 int CMO_PrPSP = -1;
 int CMO_SecPSP = -1;
 unsigned long CMO_PageSize = (ASM_CONST(1) << IOMMU_PAGE_SHIFT_4K);
@@ -758,6 +761,10 @@ static void __init pSeries_setup_arch(void)
 
 	if (firmware_has_feature(FW_FEATURE_LPAR)) {
 		vpa_init(boot_cpuid);
+
+		if (lppaca_shared_proc(get_lppaca()))
+			static_branch_enable(&shared_processor);
+
 		ppc_md.power_save = pseries_lpar_idle;
 		ppc_md.enable_pmcs = pseries_lpar_enable_pmcs;
 #ifdef CONFIG_PCI_IOV
arch/s390/crypto/sha_common.c +5 -2
index d39e0f079217..686fe7aa192f 100644
@@ -74,14 +74,17 @@ int s390_sha_final(struct shash_desc *desc, u8 *out)
 	struct s390_sha_ctx *ctx = shash_desc_ctx(desc);
 	unsigned int bsize = crypto_shash_blocksize(desc->tfm);
 	u64 bits;
-	unsigned int n, mbl_offset;
+	unsigned int n;
+	int mbl_offset;
 
 	n = ctx->count % bsize;
 	bits = ctx->count * 8;
-	mbl_offset = s390_crypto_shash_parmsize(ctx->func) / sizeof(u32);
+	mbl_offset = s390_crypto_shash_parmsize(ctx->func);
 	if (mbl_offset < 0)
 		return -EINVAL;
 
+	mbl_offset = mbl_offset / sizeof(u32);
+
 	/* set total msg bit length (mbl) in CPACF parmblock */
 	switch (ctx->func) {
 	case CPACF_KLMD_SHA_1:
arch/s390/include/asm/pgalloc.h +14 -2
index bccb8f4a63e2..77606c4acd58 100644
@@ -56,7 +56,12 @@ static inline p4d_t *p4d_alloc_one(struct mm_struct *mm, unsigned long address)
 		crst_table_init(table, _REGION2_ENTRY_EMPTY);
 	return (p4d_t *) table;
 }
-#define p4d_free(mm, p4d) crst_table_free(mm, (unsigned long *) p4d)
+
+static inline void p4d_free(struct mm_struct *mm, p4d_t *p4d)
+{
+	if (!mm_p4d_folded(mm))
+		crst_table_free(mm, (unsigned long *) p4d);
+}
 
 static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address)
 {
@@ -65,7 +70,12 @@ static inline pud_t *pud_alloc_one(struct mm_struct *mm, unsigned long address)
 		crst_table_init(table, _REGION3_ENTRY_EMPTY);
 	return (pud_t *) table;
 }
-#define pud_free(mm, pud) crst_table_free(mm, (unsigned long *) pud)
+
+static inline void pud_free(struct mm_struct *mm, pud_t *pud)
+{
+	if (!mm_pud_folded(mm))
+		crst_table_free(mm, (unsigned long *) pud);
+}
 
 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr)
 {
@@ -83,6 +93,8 @@ static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long vmaddr)
 
 static inline void pmd_free(struct mm_struct *mm, pmd_t *pmd)
 {
+	if (mm_pmd_folded(mm))
+		return;
 	pgtable_pmd_page_dtor(virt_to_page(pmd));
 	crst_table_free(mm, (unsigned long *) pmd);
 }
arch/s390/include/asm/timex.h +10 -6
index 64539c221672..2dc9eb4e1acc 100644
@@ -10,8 +10,9 @@
 #ifndef _ASM_S390_TIMEX_H
 #define _ASM_S390_TIMEX_H
 
-#include <asm/lowcore.h>
+#include <linux/preempt.h>
 #include <linux/time64.h>
+#include <asm/lowcore.h>
 
 /* The value of the TOD clock for 1.1.1970. */
 #define TOD_UNIX_EPOCH 0x7d91048bca000000ULL
@@ -186,15 +187,18 @@ extern unsigned char tod_clock_base[16] __aligned(8);
 /**
  * get_clock_monotonic - returns current time in clock rate units
  *
- * The caller must ensure that preemption is disabled.
  * The clock and tod_clock_base get changed via stop_machine.
- * Therefore preemption must be disabled when calling this
- * function, otherwise the returned value is not guaranteed to
- * be monotonic.
+ * Therefore preemption must be disabled, otherwise the returned
+ * value is not guaranteed to be monotonic.
  */
 static inline unsigned long long get_tod_clock_monotonic(void)
 {
-	return get_tod_clock() - *(unsigned long long *) &tod_clock_base[1];
+	unsigned long long tod;
+
+	preempt_disable_notrace();
+	tod = get_tod_clock() - *(unsigned long long *) &tod_clock_base[1];
+	preempt_enable_notrace();
+	return tod;
 }
 
 /**
arch/s390/kernel/dis.c +7 -6
index 7abe6ae261b4..f304802ecf7b 100644
@@ -461,10 +461,11 @@ static int print_insn(char *buffer, unsigned char *code, unsigned long addr)
 				ptr += sprintf(ptr, "%%c%i", value);
 			else if (operand->flags & OPERAND_VR)
 				ptr += sprintf(ptr, "%%v%i", value);
-			else if (operand->flags & OPERAND_PCREL)
-				ptr += sprintf(ptr, "%lx", (signed int) value
-								      + addr);
-			else if (operand->flags & OPERAND_SIGNED)
+			else if (operand->flags & OPERAND_PCREL) {
+				void *pcrel = (void *)((int)value + addr);
+
+				ptr += sprintf(ptr, "%px", pcrel);
+			} else if (operand->flags & OPERAND_SIGNED)
 				ptr += sprintf(ptr, "%i", value);
 			else
 				ptr += sprintf(ptr, "%u", value);
@@ -536,7 +537,7 @@ void show_code(struct pt_regs *regs)
 		else
 			*ptr++ = ' ';
 		addr = regs->psw.addr + start - 32;
-		ptr += sprintf(ptr, "%016lx: ", addr);
+		ptr += sprintf(ptr, "%px: ", (void *)addr);
 		if (start + opsize >= end)
 			break;
 		for (i = 0; i < opsize; i++)
@@ -564,7 +565,7 @@ void print_fn_code(unsigned char *code, unsigned long len)
 		opsize = insn_length(*code);
 		if (opsize > len)
 			break;
-		ptr += sprintf(ptr, "%p: ", code);
+		ptr += sprintf(ptr, "%px: ", code);
 		for (i = 0; i < opsize; i++)
 			ptr += sprintf(ptr, "%02x", code[i]);
 		*ptr++ = '\t';
arch/s390/kernel/perf_cpum_cf.c +10 -11
index 48d48b6187c0..0eb1d1cc53a8 100644
@@ -199,7 +199,7 @@ static const int cpumf_generic_events_user[] = {
 	[PERF_COUNT_HW_BUS_CYCLES]	    = -1,
 };
 
-static int __hw_perf_event_init(struct perf_event *event)
+static int __hw_perf_event_init(struct perf_event *event, unsigned int type)
 {
 	struct perf_event_attr *attr = &event->attr;
 	struct hw_perf_event *hwc = &event->hw;
@@ -207,7 +207,7 @@ static int __hw_perf_event_init(struct perf_event *event)
 	int err = 0;
 	u64 ev;
 
-	switch (attr->type) {
+	switch (type) {
 	case PERF_TYPE_RAW:
 		/* Raw events are used to access counters directly,
 		 * hence do not permit excludes */
@@ -294,17 +294,16 @@ static int __hw_perf_event_init(struct perf_event *event)
 
 static int cpumf_pmu_event_init(struct perf_event *event)
 {
+	unsigned int type = event->attr.type;
 	int err;
 
-	switch (event->attr.type) {
-	case PERF_TYPE_HARDWARE:
-	case PERF_TYPE_HW_CACHE:
-	case PERF_TYPE_RAW:
-		err = __hw_perf_event_init(event);
-		break;
-	default:
+	if (type == PERF_TYPE_HARDWARE || type == PERF_TYPE_RAW)
+		err = __hw_perf_event_init(event, type);
+	else if (event->pmu->type == type)
+		/* Registered as unknown PMU */
+		err = __hw_perf_event_init(event, PERF_TYPE_RAW);
+	else
 		return -ENOENT;
-	}
 
 	if (unlikely(err) && event->destroy)
 		event->destroy(event);
@@ -553,7 +552,7 @@ static int __init cpumf_pmu_init(void)
 		return -ENODEV;
 
 	cpumf_pmu.attr_groups = cpumf_cf_event_group();
-	rc = perf_pmu_register(&cpumf_pmu, "cpum_cf", PERF_TYPE_RAW);
+	rc = perf_pmu_register(&cpumf_pmu, "cpum_cf", -1);
 	if (rc)
 		pr_err("Registering the cpum_cf PMU failed with rc=%i\n", rc);
 	return rc;
arch/s390/kernel/perf_cpum_cf_diag.c +5 -5
index 2654e348801a..e949ab832ed7 100644
@@ -243,13 +243,13 @@ static int cf_diag_event_init(struct perf_event *event)
 	int err = -ENOENT;
 
 	debug_sprintf_event(cf_diag_dbg, 5,
-			    "%s event %p cpu %d config %#llx "
+			    "%s event %p cpu %d config %#llx type:%u "
 			    "sample_type %#llx cf_diag_events %d\n", __func__,
-			    event, event->cpu, attr->config, attr->sample_type,
-			    atomic_read(&cf_diag_events));
+			    event, event->cpu, attr->config, event->pmu->type,
+			    attr->sample_type, atomic_read(&cf_diag_events));
 
 	if (event->attr.config != PERF_EVENT_CPUM_CF_DIAG ||
-	    event->attr.type != PERF_TYPE_RAW)
+	    event->attr.type != event->pmu->type)
 		goto out;
 
 	/* Raw events are used to access counters directly,
@@ -693,7 +693,7 @@ static int __init cf_diag_init(void)
 	}
 	debug_register_view(cf_diag_dbg, &debug_sprintf_view);
 
-	rc = perf_pmu_register(&cf_diag, "cpum_cf_diag", PERF_TYPE_RAW);
+	rc = perf_pmu_register(&cf_diag, "cpum_cf_diag", -1);
 	if (rc) {
 		debug_unregister_view(cf_diag_dbg, &debug_sprintf_view);
 		debug_unregister(cf_diag_dbg);
arch/s390/kernel/perf_event.c +6 -2
index fcb6c2e92b07..1e75cc983546 100644
@@ -224,9 +224,13 @@ void perf_callchain_kernel(struct perf_callchain_entry_ctx *entry,
 			   struct pt_regs *regs)
 {
 	struct unwind_state state;
+	unsigned long addr;
 
-	unwind_for_each_frame(&state, current, regs, 0)
-		perf_callchain_store(entry, state.ip);
+	unwind_for_each_frame(&state, current, regs, 0) {
+		addr = unwind_get_return_address(&state);
+		if (!addr || perf_callchain_store(entry, addr))
+			return;
+	}
 }
 
 /* Perf definitions for PMU event attributes in sysfs */
arch/s390/mm/maccess.c +8 -4
index 1864a8bb9622..59ad7997fed1 100644
@@ -70,7 +70,7 @@ void notrace s390_kernel_write(void *dst, const void *src, size_t size)
 	spin_unlock_irqrestore(&s390_kernel_write_lock, flags);
 }
 
-static int __memcpy_real(void *dest, void *src, size_t count)
+static int __no_sanitize_address __memcpy_real(void *dest, void *src, size_t count)
 {
 	register unsigned long _dest asm("2") = (unsigned long) dest;
 	register unsigned long _len1 asm("3") = (unsigned long) count;
@@ -91,19 +91,23 @@ static int __memcpy_real(void *dest, void *src, size_t count)
 	return rc;
 }
 
-static unsigned long _memcpy_real(unsigned long dest, unsigned long src,
-				  unsigned long count)
+static unsigned long __no_sanitize_address _memcpy_real(unsigned long dest,
+							unsigned long src,
+							unsigned long count)
 {
 	int irqs_disabled, rc;
 	unsigned long flags;
 
 	if (!count)
 		return 0;
-	flags = __arch_local_irq_stnsm(0xf8UL);
+	flags = arch_local_irq_save();
 	irqs_disabled = arch_irqs_disabled_flags(flags);
 	if (!irqs_disabled)
 		trace_hardirqs_off();
+	__arch_local_irq_stnsm(0xf8); // disable DAT
 	rc = __memcpy_real((void *) dest, (void *) src, (size_t) count);
+	if (flags & PSW_MASK_DAT)
+		__arch_local_irq_stosm(0x04); // enable DAT
 	if (!irqs_disabled)
 		trace_hardirqs_on();
 	__arch_local_irq_ssm(flags);
arch/s390/net/bpf_jit_comp.c +3 -2
index ce88211b9c6c..c8c16b5eed6b 100644
@@ -23,6 +23,7 @@
 #include <linux/filter.h>
 #include <linux/init.h>
 #include <linux/bpf.h>
+#include <linux/mm.h>
 #include <asm/cacheflush.h>
 #include <asm/dis.h>
 #include <asm/facility.h>
@@ -1369,7 +1370,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
 	}
 
 	memset(&jit, 0, sizeof(jit));
-	jit.addrs = kcalloc(fp->len + 1, sizeof(*jit.addrs), GFP_KERNEL);
+	jit.addrs = kvcalloc(fp->len + 1, sizeof(*jit.addrs), GFP_KERNEL);
 	if (jit.addrs == NULL) {
 		fp = orig_fp;
 		goto out;
@@ -1422,7 +1423,7 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *fp)
 	if (!fp->is_func || extra_pass) {
 		bpf_prog_fill_jited_linfo(fp, jit.addrs + 1);
 free_addrs:
-		kfree(jit.addrs);
+		kvfree(jit.addrs);
 		kfree(jit_data);
 		fp->aux->jit_data = NULL;
 	}
arch/sh/include/cpu-sh4/cpu/sh7734.h +1 -1
index 96f0246ad2f2..82b63208135a 100644
@@ -134,7 +134,7 @@ enum {
 	GPIO_FN_EX_WAIT1, GPIO_FN_SD1_DAT0_A, GPIO_FN_DREQ2, GPIO_FN_CAN1_TX_C,
 		GPIO_FN_ET0_LINK_C, GPIO_FN_ET0_ETXD5_A,
 	GPIO_FN_EX_WAIT0, GPIO_FN_TCLK1_B,
-	GPIO_FN_RD_WR, GPIO_FN_TCLK0,
+	GPIO_FN_RD_WR, GPIO_FN_TCLK0, GPIO_FN_CAN_CLK_B, GPIO_FN_ET0_ETXD4,
 	GPIO_FN_EX_CS5, GPIO_FN_SD1_CMD_A, GPIO_FN_ATADIR, GPIO_FN_QSSL_B,
 		GPIO_FN_ET0_ETXD3_A,
 	GPIO_FN_EX_CS4, GPIO_FN_SD1_WP_A, GPIO_FN_ATAWR, GPIO_FN_QMI_QIO1_B,
arch/x86/include/asm/crash.h +2 -0
index 0acf5ee45a21..ef5638f641f2 100644
@@ -2,6 +2,8 @@
 #ifndef _ASM_X86_CRASH_H
 #define _ASM_X86_CRASH_H
 
+struct kimage;
+
 int crash_load_segments(struct kimage *image);
 int crash_copy_backup_region(struct kimage *image);
 int crash_setup_memmap_entries(struct kimage *image,
arch/x86/include/asm/fixmap.h +1 -1
index 0c47aa82e2e2..28183ee3cc42 100644
@@ -156,7 +156,7 @@ extern pte_t *kmap_pte;
 extern pte_t *pkmap_page_table;
 
 void __native_set_fixmap(enum fixed_addresses idx, pte_t pte);
-void native_set_fixmap(enum fixed_addresses idx,
+void native_set_fixmap(unsigned /* enum fixed_addresses */ idx,
 		       phys_addr_t phys, pgprot_t flags);
 
 #ifndef CONFIG_PARAVIRT_XXL
arch/x86/include/asm/syscall_wrapper.h +12 -11
index e046a405743d..90eb70df0b18 100644
@@ -48,12 +48,13 @@
  * To keep the naming coherent, re-define SYSCALL_DEFINE0 to create an alias
  * named __ia32_sys_*()
  */
-#define SYSCALL_DEFINE0(sname)					\
-	SYSCALL_METADATA(_##sname, 0);				\
-	asmlinkage long __x64_sys_##sname(void);		\
-	ALLOW_ERROR_INJECTION(__x64_sys_##sname, ERRNO);	\
-	SYSCALL_ALIAS(__ia32_sys_##sname, __x64_sys_##sname);	\
-	asmlinkage long __x64_sys_##sname(void)
+
+#define SYSCALL_DEFINE0(sname)						\
+	SYSCALL_METADATA(_##sname, 0);					\
+	asmlinkage long __x64_sys_##sname(const struct pt_regs *__unused);\
+	ALLOW_ERROR_INJECTION(__x64_sys_##sname, ERRNO);		\
+	SYSCALL_ALIAS(__ia32_sys_##sname, __x64_sys_##sname);		\
+	asmlinkage long __x64_sys_##sname(const struct pt_regs *__unused)
 
 #define COND_SYSCALL(name)						\
 	cond_syscall(__x64_sys_##name);					\
@@ -181,11 +182,11 @@
  * macros to work correctly.
  */
 #ifndef SYSCALL_DEFINE0
-#define SYSCALL_DEFINE0(sname)					\
-	SYSCALL_METADATA(_##sname, 0);				\
-	asmlinkage long __x64_sys_##sname(void);		\
-	ALLOW_ERROR_INJECTION(__x64_sys_##sname, ERRNO);	\
-	asmlinkage long __x64_sys_##sname(void)
+#define SYSCALL_DEFINE0(sname)						\
+	SYSCALL_METADATA(_##sname, 0);					\
+	asmlinkage long __x64_sys_##sname(const struct pt_regs *__unused);\
+	ALLOW_ERROR_INJECTION(__x64_sys_##sname, ERRNO);		\
+	asmlinkage long __x64_sys_##sname(const struct pt_regs *__unused)
 #endif
 
 #ifndef COND_SYSCALL
arch/x86/kernel/apic/io_apic.c +6 -3
index d6af97fd170a..f0262cb5657a 100644
@@ -1727,9 +1727,10 @@ static bool io_apic_level_ack_pending(struct mp_chip_data *data)
 
 static inline bool ioapic_irqd_mask(struct irq_data *data)
 {
-	/* If we are moving the irq we need to mask it */
+	/* If we are moving the IRQ we need to mask it */
 	if (unlikely(irqd_is_setaffinity_pending(data))) {
-		mask_ioapic_irq(data);
+		if (!irqd_irq_masked(data))
+			mask_ioapic_irq(data);
 		return true;
 	}
 	return false;
@@ -1766,7 +1767,9 @@ static inline void ioapic_irqd_unmask(struct irq_data *data, bool masked)
 		 */
 		if (!io_apic_level_ack_pending(data->chip_data))
 			irq_move_masked_irq(data);
-		unmask_ioapic_irq(data);
+		/* If the IRQ is masked in the core, leave it: */
+		if (!irqd_irq_masked(data))
+			unmask_ioapic_irq(data);
 	}
 }
 #else
arch/x86/kernel/cpu/mce/amd.c +2 -2
index 6ea7fdc82f3c..259f3f4e2e5f 100644
@@ -266,10 +266,10 @@ static void smca_configure(unsigned int bank, unsigned int cpu)
 	smca_set_misc_banks_map(bank, cpu);
 
 	/* Return early if this bank was already initialized. */
-	if (smca_banks[bank].hwid)
+	if (smca_banks[bank].hwid && smca_banks[bank].hwid->hwid_mcatype != 0)
 		return;
 
-	if (rdmsr_safe_on_cpu(cpu, MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) {
+	if (rdmsr_safe(MSR_AMD64_SMCA_MCx_IPID(bank), &low, &high)) {
 		pr_warn("Failed to read MCA_IPID for bank %d\n", bank);
 		return;
 	}
arch/x86/kernel/cpu/mce/core.c +1 -1
index 743370ee4983..aecb15ba66cd 100644
@@ -814,8 +814,8 @@ static int mce_no_way_out(struct mce *m, char **msg, unsigned long *validp,
 		if (quirk_no_way_out)
 			quirk_no_way_out(i, m, regs);
 
+		m->bank = i;
 		if (mce_severity(m, mca_cfg.tolerant, &tmp, true) >= MCE_PANIC_SEVERITY) {
-			m->bank = i;
 			mce_read_aux(m, i);
 			*msg = tmp;
 			return 1;
arch/x86/kernel/cpu/mce/therm_throt.c +1 -1
index 6e2becf547c5..bc441d68d060 100644
@@ -188,7 +188,7 @@ static void therm_throt_process(bool new_event, int event, int level)
 	/* if we just entered the thermal event */
 	if (new_event) {
 		if (event == THERMAL_THROTTLING_EVENT)
-			pr_crit("CPU%d: %s temperature above threshold, cpu clock throttled (total events = %lu)\n",
+			pr_warn("CPU%d: %s temperature above threshold, cpu clock throttled (total events = %lu)\n",
 				this_cpu,
 				level == CORE_LEVEL ? "Core" : "Package",
 				state->count);
arch/x86/kernel/early-quirks.c +2 -0
index 4cba91ec8049..606711f5ebf8 100644
@@ -710,6 +710,8 @@ static struct chipset early_qrk[] __initdata = {
 	 */
 	{ PCI_VENDOR_ID_INTEL, 0x0f00,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
+	{ PCI_VENDOR_ID_INTEL, 0x3e20,
+		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_INTEL, 0x3ec4,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_BROADCOM, 0x4331,
arch/x86/kvm/cpuid.c +4 -2
index 53dbcca9af09..b1d5a8c94a57 100644
@@ -402,7 +402,8 @@ static inline void do_cpuid_7_mask(struct kvm_cpuid_entry2 *entry, int index)
 			entry->edx |= F(SPEC_CTRL);
 		if (boot_cpu_has(X86_FEATURE_STIBP))
 			entry->edx |= F(INTEL_STIBP);
-		if (boot_cpu_has(X86_FEATURE_SSBD))
+		if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) ||
+		    boot_cpu_has(X86_FEATURE_AMD_SSBD))
 			entry->edx |= F(SPEC_CTRL_SSBD);
 		/*
 		 * We emulate ARCH_CAPABILITIES in software even
@@ -759,7 +760,8 @@ static inline int __do_cpuid_func(struct kvm_cpuid_entry2 *entry, u32 function,
 			entry->ebx |= F(AMD_IBRS);
 		if (boot_cpu_has(X86_FEATURE_STIBP))
 			entry->ebx |= F(AMD_STIBP);
-		if (boot_cpu_has(X86_FEATURE_SSBD))
+		if (boot_cpu_has(X86_FEATURE_SPEC_CTRL_SSBD) ||
+		    boot_cpu_has(X86_FEATURE_AMD_SSBD))
 			entry->ebx |= F(AMD_SSBD);
 		if (!boot_cpu_has_bug(X86_BUG_SPEC_STORE_BYPASS))
 			entry->ebx |= F(AMD_SSB_NO);
arch/x86/lib/x86-opcode-map.txt +12 -6
index e0b85930dd77..0a0e9112f284 100644
@@ -333,7 +333,7 @@ AVXcode: 1
 06: CLTS
 07: SYSRET (o64)
 08: INVD
-09: WBINVD
+09: WBINVD | WBNOINVD (F3)
 0a:
 0b: UD2 (1B)
 0c:
@@ -364,7 +364,7 @@ AVXcode: 1
 # a ModR/M byte.
 1a: BNDCL Gv,Ev (F3) | BNDCU Gv,Ev (F2) | BNDMOV Gv,Ev (66) | BNDLDX Gv,Ev
 1b: BNDCN Gv,Ev (F2) | BNDMOV Ev,Gv (66) | BNDMK Gv,Ev (F3) | BNDSTX Ev,Gv
-1c:
+1c: Grp20 (1A),(1C)
 1d:
 1e:
 1f: NOP Ev
@@ -792,6 +792,8 @@ f3: Grp17 (1A)
 f5: BZHI Gy,Ey,By (v) | PEXT Gy,By,Ey (F3),(v) | PDEP Gy,By,Ey (F2),(v)
 f6: ADCX Gy,Ey (66) | ADOX Gy,Ey (F3) | MULX By,Gy,rDX,Ey (F2),(v)
 f7: BEXTR Gy,Ey,By (v) | SHLX Gy,Ey,By (66),(v) | SARX Gy,Ey,By (F3),(v) | SHRX Gy,Ey,By (F2),(v)
+f8: MOVDIR64B Gv,Mdqq (66) | ENQCMD Gv,Mdqq (F2) | ENQCMDS Gv,Mdqq (F3)
+f9: MOVDIRI My,Gy
 EndTable
 
 Table: 3-byte opcode 2 (0x0f 0x3a)
@@ -943,9 +945,9 @@ GrpTable: Grp6
 EndTable
 
 GrpTable: Grp7
-0: SGDT Ms | VMCALL (001),(11B) | VMLAUNCH (010),(11B) | VMRESUME (011),(11B) | VMXOFF (100),(11B)
-1: SIDT Ms | MONITOR (000),(11B) | MWAIT (001),(11B) | CLAC (010),(11B) | STAC (011),(11B)
-2: LGDT Ms | XGETBV (000),(11B) | XSETBV (001),(11B) | VMFUNC (100),(11B) | XEND (101)(11B) | XTEST (110)(11B)
+0: SGDT Ms | VMCALL (001),(11B) | VMLAUNCH (010),(11B) | VMRESUME (011),(11B) | VMXOFF (100),(11B) | PCONFIG (101),(11B) | ENCLV (000),(11B)
+1: SIDT Ms | MONITOR (000),(11B) | MWAIT (001),(11B) | CLAC (010),(11B) | STAC (011),(11B) | ENCLS (111),(11B)
+2: LGDT Ms | XGETBV (000),(11B) | XSETBV (001),(11B) | VMFUNC (100),(11B) | XEND (101)(11B) | XTEST (110)(11B) | ENCLU (111),(11B)
 3: LIDT Ms
 4: SMSW Mw/Rv
 5: rdpkru (110),(11B) | wrpkru (111),(11B)
@@ -1020,7 +1022,7 @@ GrpTable: Grp15
 3: vstmxcsr Md (v1) | WRGSBASE Ry (F3),(11B)
 4: XSAVE | ptwrite Ey (F3),(11B)
 5: XRSTOR | lfence (11B)
-6: XSAVEOPT | clwb (66) | mfence (11B)
+6: XSAVEOPT | clwb (66) | mfence (11B) | TPAUSE Rd (66),(11B) | UMONITOR Rv (F3),(11B) | UMWAIT Rd (F2),(11B)
 7: clflush | clflushopt (66) | sfence (11B)
 EndTable
 
@@ -1051,6 +1053,10 @@ GrpTable: Grp19
 6: vscatterpf1qps/d Wx (66),(ev)
 EndTable
 
+GrpTable: Grp20
+0: cldemote Mb
+EndTable
+
 # AMD's Prefetch Group
 GrpTable: GrpP
 0: PREFETCH
arch/x86/math-emu/fpu_system.h +4 -2
index f98a0c956764..9b41391867dc 100644
@@ -107,6 +107,8 @@ static inline bool seg_writable(struct desc_struct *d)
 #define FPU_access_ok(y,z)	if ( !access_ok(y,z) ) \
 				math_abort(FPU_info,SIGSEGV)
 #define FPU_abort		math_abort(FPU_info, SIGSEGV)
+#define FPU_copy_from_user(to, from, n)	\
+		do { if (copy_from_user(to, from, n)) FPU_abort; } while (0)
 
 #undef FPU_IGNORE_CODE_SEGV
 #ifdef FPU_IGNORE_CODE_SEGV
@@ -122,7 +124,7 @@ static inline bool seg_writable(struct desc_struct *d)
 #define	FPU_code_access_ok(z) FPU_access_ok((void __user *)FPU_EIP,z)
 #endif
 
-#define FPU_get_user(x,y)       get_user((x),(y))
-#define FPU_put_user(x,y)       put_user((x),(y))
+#define FPU_get_user(x,y) do { if (get_user((x),(y))) FPU_abort; } while (0)
+#define FPU_put_user(x,y) do { if (put_user((x),(y))) FPU_abort; } while (0)
 
 #endif
arch/x86/math-emu/reg_ld_str.c +3 -3
index f3779743d15e..fe6246ff9887 100644
@@ -85,7 +85,7 @@ int FPU_load_extended(long double __user *s, int stnr)
 
 	RE_ENTRANT_CHECK_OFF;
 	FPU_access_ok(s, 10);
-	__copy_from_user(sti_ptr, s, 10);
+	FPU_copy_from_user(sti_ptr, s, 10);
 	RE_ENTRANT_CHECK_ON;
 
 	return FPU_tagof(sti_ptr);
@@ -1126,9 +1126,9 @@ void frstor(fpu_addr_modes addr_modes, u_char __user *data_address)
 	/* Copy all registers in stack order. */
 	RE_ENTRANT_CHECK_OFF;
 	FPU_access_ok(s, 80);
-	__copy_from_user(register_base + offset, s, other);
+	FPU_copy_from_user(register_base + offset, s, other);
 	if (offset)
-		__copy_from_user(register_base, s + other, offset);
+		FPU_copy_from_user(register_base, s + other, offset);
 	RE_ENTRANT_CHECK_ON;
 
 	for (i = 0; i < 8; i++) {
arch/x86/mm/pgtable.c +2 -2
index 3e4b9035bb9a..7bd2c3a52297 100644
@@ -643,8 +643,8 @@ void __native_set_fixmap(enum fixed_addresses idx, pte_t pte)
 	fixmaps_set++;
 }
 
-void native_set_fixmap(enum fixed_addresses idx, phys_addr_t phys,
-		       pgprot_t flags)
+void native_set_fixmap(unsigned /* enum fixed_addresses */ idx,
+		       phys_addr_t phys, pgprot_t flags)
 {
 	/* Sanitize 'prot' against any unsupported bits: */
 	pgprot_val(flags) &= __default_kernel_pte_mask;
block/blk-iocost.c +8 -5
index e01267f99183..27ca68621137 100644
@@ -1212,7 +1212,7 @@ static enum hrtimer_restart iocg_waitq_timer_fn(struct hrtimer *timer)
 	return HRTIMER_NORESTART;
 }
 
-static void iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now, u64 cost)
+static bool iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now, u64 cost)
 {
 	struct ioc *ioc = iocg->ioc;
 	struct blkcg_gq *blkg = iocg_to_blkg(iocg);
@@ -1229,11 +1229,11 @@ static void iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now, u64 cost)
 	/* clear or maintain depending on the overage */
 	if (time_before_eq64(vtime, now->vnow)) {
 		blkcg_clear_delay(blkg);
-		return;
+		return false;
 	}
 	if (!atomic_read(&blkg->use_delay) &&
 	    time_before_eq64(vtime, now->vnow + vmargin))
-		return;
+		return false;
 
 	/* use delay */
 	if (cost) {
@@ -1250,10 +1250,11 @@ static void iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now, u64 cost)
 	oexpires = ktime_to_ns(hrtimer_get_softexpires(&iocg->delay_timer));
 	if (hrtimer_is_queued(&iocg->delay_timer) &&
 	    abs(oexpires - expires) <= margin_ns / 4)
-		return;
+		return true;
 
 	hrtimer_start_range_ns(&iocg->delay_timer, ns_to_ktime(expires),
 			       margin_ns / 4, HRTIMER_MODE_ABS);
+	return true;
 }
 
 static enum hrtimer_restart iocg_delay_timer_fn(struct hrtimer *timer)
@@ -1739,7 +1740,9 @@ static void ioc_rqos_throttle(struct rq_qos *rqos, struct bio *bio)
 	 */
 	if (bio_issue_as_root_blkg(bio) || fatal_signal_pending(current)) {
 		atomic64_add(abs_cost, &iocg->abs_vdebt);
-		iocg_kick_delay(iocg, &now, cost);
+		if (iocg_kick_delay(iocg, &now, cost))
+			blkcg_schedule_throttle(rqos->q,
+					(bio->bi_opf & REQ_SWAP) == REQ_SWAP);
 		return;
 	}
 
crypto/Kconfig +1 -0
index 9e524044d312..29472fb795f3 100644
@@ -309,6 +309,7 @@ config CRYPTO_AEGIS128
 config CRYPTO_AEGIS128_SIMD
 	bool "Support SIMD acceleration for AEGIS-128"
 	depends on CRYPTO_AEGIS128 && ((ARM || ARM64) && KERNEL_MODE_NEON)
+	depends on !ARM || CC_IS_CLANG || GCC_VERSION >= 40800
 	default y
 
 config CRYPTO_AEGIS128_AESNI_SSE2
crypto/Makefile +1 -1
index fcb1ee679782..aa740c8492b9 100644
@@ -93,7 +93,7 @@ obj-$(CONFIG_CRYPTO_AEGIS128) += aegis128.o
 aegis128-y := aegis128-core.o
 
 ifeq ($(ARCH),arm)
-CFLAGS_aegis128-neon-inner.o += -ffreestanding -march=armv7-a -mfloat-abi=softfp
+CFLAGS_aegis128-neon-inner.o += -ffreestanding -march=armv8-a -mfloat-abi=softfp
 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-neon-fp-armv8
 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o
 endif
crypto/asymmetric_keys/asym_tpm.c +1 -0
index 76d2ce3a1b5b..5154e280ada2 100644
@@ -486,6 +486,7 @@ static int tpm_key_encrypt(struct tpm_key *tk,
 	if (ret < 0)
 		goto error_free_tfm;
 
+	ret = -ENOMEM;
 	req = akcipher_request_alloc(tfm, GFP_KERNEL);
 	if (!req)
 		goto error_free_tfm;
crypto/asymmetric_keys/public_key.c +1 -0
index 364b9df9d631..d7f43d4ea925 100644
@@ -184,6 +184,7 @@ static int software_key_eds_op(struct kernel_pkey_params *params,
 	if (IS_ERR(tfm))
 		return PTR_ERR(tfm);
 
+	ret = -ENOMEM;
 	req = akcipher_request_alloc(tfm, GFP_KERNEL);
 	if (!req)
 		goto error_free_tfm;
drivers/acpi/button.c +11 -0
index 4a2cde2c536a..ce93a355bd1c 100644
@@ -78,6 +78,17 @@ static const struct dmi_system_id lid_blacklst[] = {
 			DMI_MATCH(DMI_BIOS_VERSION, "BYT70A.YNCHENG.WIN.007"),
 		},
 	},
+	{
+		/*
+		 * Medion Akoya E2215T, notification of the LID device only
+		 * happens on close, not on open and _LID always returns closed.
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MEDION"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "E2215T MD60198"),
+		},
+		.driver_data = (void *)(long)ACPI_BUTTON_LID_INIT_OPEN,
+	},
 	{}
 };
 
drivers/ata/libata-core.c +3 -0
index 28c492be0a57..74c9b3032d46 100644
@@ -6708,6 +6708,9 @@ void ata_host_detach(struct ata_host *host)
 {
 	int i;
 
+	/* Ensure ata_port probe has completed */
+	async_synchronize_full();
+
 	for (i = 0; i < host->n_ports; i++)
 		ata_port_detach(host->ports[i]);
 
drivers/base/firmware_loader/builtin/Makefile +2 -1
index 37e5ae387400..4a66888e7253 100644
@@ -8,7 +8,8 @@ fwdir := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir))
 obj-y  := $(addsuffix .gen.o, $(subst $(quote),,$(CONFIG_EXTRA_FIRMWARE)))
 
 FWNAME    = $(patsubst $(obj)/%.gen.S,%,$@)
-FWSTR     = $(subst /,_,$(subst .,_,$(subst -,_,$(FWNAME))))
+comma     := ,
+FWSTR     = $(subst $(comma),_,$(subst /,_,$(subst .,_,$(subst -,_,$(FWNAME)))))
 ASM_WORD  = $(if $(CONFIG_64BIT),.quad,.long)
 ASM_ALIGN = $(if $(CONFIG_64BIT),3,2)
 PROGBITS  = $(if $(CONFIG_ARM),%,@)progbits
drivers/block/loop.c +18 -8
index f6f77eaa7217..ef6e251857c8 100644
@@ -417,18 +417,20 @@ static int lo_read_transfer(struct loop_device *lo, struct request *rq,
 	return ret;
 }
 
-static int lo_discard(struct loop_device *lo, struct request *rq, loff_t pos)
+static int lo_fallocate(struct loop_device *lo, struct request *rq, loff_t pos,
+			int mode)
 {
 	/*
-	 * We use punch hole to reclaim the free space used by the
-	 * image a.k.a. discard. However we do not support discard if
-	 * encryption is enabled, because it may give an attacker
-	 * useful information.
+	 * We use fallocate to manipulate the space mappings used by the image
+	 * a.k.a. discard/zerorange. However we do not support this if
+	 * encryption is enabled, because it may give an attacker useful
+	 * information.
 	 */
 	struct file *file = lo->lo_backing_file;
-	int mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE;
 	int ret;
 
+	mode |= FALLOC_FL_KEEP_SIZE;
+
 	if ((!file->f_op->fallocate) || lo->lo_encrypt_key_size) {
 		ret = -EOPNOTSUPP;
 		goto out;
@@ -596,9 +598,17 @@ static int do_req_filebacked(struct loop_device *lo, struct request *rq)
 	switch (req_op(rq)) {
 	case REQ_OP_FLUSH:
 		return lo_req_flush(lo, rq);
-	case REQ_OP_DISCARD:
 	case REQ_OP_WRITE_ZEROES:
-		return lo_discard(lo, rq, pos);
+		/*
+		 * If the caller doesn't want deallocation, call zeroout to
+		 * write zeroes the range.  Otherwise, punch them out.
+		 */
+		return lo_fallocate(lo, rq, pos,
+			(rq->cmd_flags & REQ_NOUNMAP) ?
+				FALLOC_FL_ZERO_RANGE :
+				FALLOC_FL_PUNCH_HOLE);
+	case REQ_OP_DISCARD:
+		return lo_fallocate(lo, rq, pos, FALLOC_FL_PUNCH_HOLE);
 	case REQ_OP_WRITE:
 		if (lo->transfer)
 			return lo_write_transfer(lo, rq, pos);
drivers/block/nbd.c +3 -3
index 57532465fb83..b4607dd96185 100644
@@ -1296,10 +1296,10 @@ static int nbd_start_device_ioctl(struct nbd_device *nbd, struct block_device *b
 	mutex_unlock(&nbd->config_lock);
 	ret = wait_event_interruptible(config->recv_wq,
 					 atomic_read(&config->recv_threads) == 0);
-	if (ret) {
+	if (ret)
 		sock_shutdown(nbd);
-		flush_workqueue(nbd->recv_workq);
-	}
+	flush_workqueue(nbd->recv_workq);
+
 	mutex_lock(&nbd->config_lock);
 	nbd_bdev_reset(bdev);
 	/* user requested, ignore socket errors */
drivers/bluetooth/btusb.c +2 -3
index a9c35ebb30f8..23e606aaaea4 100644
@@ -3807,8 +3807,8 @@ static int btusb_probe(struct usb_interface *intf,
 		btusb_check_needs_reset_resume(intf);
 	}
 
-#ifdef CONFIG_BT_HCIBTUSB_RTL
-	if (id->driver_info & BTUSB_REALTEK) {
+	if (IS_ENABLED(CONFIG_BT_HCIBTUSB_RTL) &&
+	    (id->driver_info & BTUSB_REALTEK)) {
 		hdev->setup = btrtl_setup_realtek;
 		hdev->shutdown = btrtl_shutdown_realtek;
 		hdev->cmd_timeout = btusb_rtl_cmd_timeout;
@@ -3819,7 +3819,6 @@ static int btusb_probe(struct usb_interface *intf,
 		 */
 		set_bit(BTUSB_WAKEUP_DISABLE, &data->flags);
 	}
-#endif
 
 	if (id->driver_info & BTUSB_AMP) {
 		/* AMP controllers do not support SCO packets */
drivers/char/hw_random/omap3-rom-rng.c +2 -1
index 38b719017186..648e39ce6bd9 100644
@@ -121,7 +121,8 @@ static int omap3_rom_rng_remove(struct platform_device *pdev)
 {
 	cancel_delayed_work_sync(&idle_work);
 	hwrng_unregister(&omap3_rom_rng_ops);
-	clk_disable_unprepare(rng_clk);
+	if (!rng_idle)
+		clk_disable_unprepare(rng_clk);
 	return 0;
 }
 
drivers/char/ipmi/ipmi_msghandler.c +16 -7
index 2aab80e19ae0..3c8a559506e8 100644
@@ -448,6 +448,8 @@ enum ipmi_stat_indexes {
 
 #define IPMI_IPMB_NUM_SEQ	64
 struct ipmi_smi {
+	struct module *owner;
+
 	/* What interface number are we? */
 	int intf_num;
 
@@ -1220,6 +1222,11 @@ int ipmi_create_user(unsigned int          if_num,
 	if (rv)
 		goto out_kfree;
 
+	if (!try_module_get(intf->owner)) {
+		rv = -ENODEV;
+		goto out_kfree;
+	}
+
 	/* Note that each existing user holds a refcount to the interface. */
 	kref_get(&intf->refcount);
 
@@ -1349,6 +1356,7 @@ static void _ipmi_destroy_user(struct ipmi_user *user)
 	}
 
 	kref_put(&intf->refcount, intf_free);
+	module_put(intf->owner);
 }
 
 int ipmi_destroy_user(struct ipmi_user *user)
@@ -2459,7 +2467,7 @@ static int __get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc)
  * been recently fetched, this will just use the cached data.  Otherwise
  * it will run a new fetch.
  *
- * Except for the first time this is called (in ipmi_register_smi()),
+ * Except for the first time this is called (in ipmi_add_smi()),
  * this will always return good data;
  */
 static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,
@@ -3377,10 +3385,11 @@ static void redo_bmc_reg(struct work_struct *work)
 	kref_put(&intf->refcount, intf_free);
 }
 
-int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
-		      void		       *send_info,
-		      struct device            *si_dev,
-		      unsigned char            slave_addr)
+int ipmi_add_smi(struct module         *owner,
+		 const struct ipmi_smi_handlers *handlers,
+		 void		       *send_info,
+		 struct device         *si_dev,
+		 unsigned char         slave_addr)
 {
 	int              i, j;
 	int              rv;
@@ -3406,7 +3415,7 @@ int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
 		return rv;
 	}
 
-
+	intf->owner = owner;
 	intf->bmc = &intf->tmp_bmc;
 	INIT_LIST_HEAD(&intf->bmc->intfs);
 	mutex_init(&intf->bmc->dyn_mutex);
@@ -3514,7 +3523,7 @@ int ipmi_register_smi(const struct ipmi_smi_handlers *handlers,
 
 	return rv;
 }
-EXPORT_SYMBOL(ipmi_register_smi);
+EXPORT_SYMBOL(ipmi_add_smi);
 
 static void deliver_smi_err_response(struct ipmi_smi *intf,
 				     struct ipmi_smi_msg *msg,
drivers/char/tpm/tpm-dev-common.c +8 -0
index 2ec47a69a2a6..b23b0b999232 100644
@@ -61,6 +61,12 @@ static void tpm_dev_async_work(struct work_struct *work)
 
 	mutex_lock(&priv->buffer_mutex);
 	priv->command_enqueued = false;
+	ret = tpm_try_get_ops(priv->chip);
+	if (ret) {
+		priv->response_length = ret;
+		goto out;
+	}
+
 	ret = tpm_dev_transmit(priv->chip, priv->space, priv->data_buffer,
 			       sizeof(priv->data_buffer));
 	tpm_put_ops(priv->chip);
@@ -68,6 +74,7 @@ static void tpm_dev_async_work(struct work_struct *work)
 		priv->response_length = ret;
 		mod_timer(&priv->user_read_timer, jiffies + (120 * HZ));
 	}
+out:
 	mutex_unlock(&priv->buffer_mutex);
 	wake_up_interruptible(&priv->async_wait);
 }
@@ -204,6 +211,7 @@ ssize_t tpm_common_write(struct file *file, const char __user *buf,
 	if (file->f_flags & O_NONBLOCK) {
 		priv->command_enqueued = true;
 		queue_work(tpm_dev_wq, &priv->async_work);
+		tpm_put_ops(priv->chip);
 		mutex_unlock(&priv->buffer_mutex);
 		return size;
 	}
drivers/char/tpm/tpm_tis_core.c +18 -17
index 270f43acbb77..f528fc39ea6b 100644
@@ -899,13 +899,13 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 
 	if (wait_startup(chip, 0) != 0) {
 		rc = -ENODEV;
-		goto out_err;
+		goto err_start;
 	}
 
 	/* Take control of the TPM's interrupt hardware and shut it off */
 	rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask);
 	if (rc < 0)
-		goto out_err;
+		goto err_start;
 
 	intmask |= TPM_INTF_CMD_READY_INT | TPM_INTF_LOCALITY_CHANGE_INT |
 		   TPM_INTF_DATA_AVAIL_INT | TPM_INTF_STS_VALID_INT;
@@ -914,21 +914,21 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 
 	rc = tpm_chip_start(chip);
 	if (rc)
-		goto out_err;
+		goto err_start;
+
 	rc = tpm2_probe(chip);
-	tpm_chip_stop(chip);
 	if (rc)
-		goto out_err;
+		goto err_probe;
 
 	rc = tpm_tis_read32(priv, TPM_DID_VID(0), &vendor);
 	if (rc < 0)
-		goto out_err;
+		goto err_probe;
 
 	priv->manufacturer_id = vendor;
 
 	rc = tpm_tis_read8(priv, TPM_RID(0), &rid);
 	if (rc < 0)
-		goto out_err;
+		goto err_probe;
 
 	dev_info(dev, "%s TPM (device-id 0x%X, rev-id %d)\n",
 		 (chip->flags & TPM_CHIP_FLAG_TPM2) ? "2.0" : "1.2",
@@ -937,13 +937,13 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 	probe = probe_itpm(chip);
 	if (probe < 0) {
 		rc = -ENODEV;
-		goto out_err;
+		goto err_probe;
 	}
 
 	/* Figure out the capabilities */
 	rc = tpm_tis_read32(priv, TPM_INTF_CAPS(priv->locality), &intfcaps);
 	if (rc < 0)
-		goto out_err;
+		goto err_probe;
 
 	dev_dbg(dev, "TPM interface capabilities (0x%x):\n",
 		intfcaps);
@@ -977,10 +977,9 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 		if (tpm_get_timeouts(chip)) {
 			dev_err(dev, "Could not get TPM timeouts and durations\n");
 			rc = -ENODEV;
-			goto out_err;
+			goto err_probe;
 		}
 
-		tpm_chip_start(chip);
 		chip->flags |= TPM_CHIP_FLAG_IRQ;
 		if (irq) {
 			tpm_tis_probe_irq_single(chip, intmask, IRQF_SHARED,
@@ -991,18 +990,20 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq,
 		} else {
 			tpm_tis_probe_irq(chip, intmask);
 		}
-		tpm_chip_stop(chip);
 	}
 
+	tpm_chip_stop(chip);
+
 	rc = tpm_chip_register(chip);
 	if (rc)
-		goto out_err;
-
-	if (chip->ops->clk_enable != NULL)
-		chip->ops->clk_enable(chip, false);
+		goto err_start;
 
 	return 0;
-out_err:
+
+err_probe:
+	tpm_chip_stop(chip);
+
+err_start:
 	if ((chip->ops != NULL) && (chip->ops->clk_enable != NULL))
 		chip->ops->clk_enable(chip, false);
 
drivers/clk/imx/clk-composite-8m.c +2 -0
index 388bdb94f841..d3486ee79ab5 100644
@@ -142,6 +142,7 @@ struct clk *imx8m_clk_composite_flags(const char *name,
 	mux->reg = reg;
 	mux->shift = PCG_PCS_SHIFT;
 	mux->mask = PCG_PCS_MASK;
+	mux->lock = &imx_ccm_lock;
 
 	div = kzalloc(sizeof(*div), GFP_KERNEL);
 	if (!div)
@@ -161,6 +162,7 @@ struct clk *imx8m_clk_composite_flags(const char *name,
 	gate_hw = &gate->hw;
 	gate->reg = reg;
 	gate->bit_idx = PCG_CGC_SHIFT;
+	gate->lock = &imx_ccm_lock;
 
 	hw = clk_hw_register_composite(NULL, name, parent_names, num_parents,
 			mux_hw, &clk_mux_ops, div_hw,
drivers/clk/imx/clk-imx7ulp.c +1 -0
index 2022d9bead91..a0f650150367 100644
@@ -40,6 +40,7 @@ static const struct clk_div_table ulp_div_table[] = {
 	{ .val = 5, .div = 16, },
 	{ .val = 6, .div = 32, },
 	{ .val = 7, .div = 64, },
+	{ /* sentinel */ },
 };
 
 static const int pcc2_uart_clk_ids[] __initconst = {
drivers/clk/imx/clk-pll14xx.c +1 -1
index 7a815ec76aa5..d43b4a3c0de8 100644
@@ -153,7 +153,7 @@ static int clk_pll14xx_wait_lock(struct clk_pll14xx *pll)
 {
 	u32 val;
 
-	return readl_poll_timeout(pll->base, val, val & LOCK_TIMEOUT_US, 0,
+	return readl_poll_timeout(pll->base, val, val & LOCK_STATUS, 0,
 			LOCK_TIMEOUT_US);
 }
 
drivers/cpufreq/cpufreq.c +7 -0
index bc19d6c16aaa..a7db4f22a077 100644
@@ -2634,6 +2634,13 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data)
 	if (cpufreq_disabled())
 		return -ENODEV;
 
+	/*
+	 * The cpufreq core depends heavily on the availability of device
+	 * structure, make sure they are available before proceeding further.
+	 */
+	if (!get_cpu_device(0))
+		return -EPROBE_DEFER;
+
 	if (!driver_data || !driver_data->verify || !driver_data->init ||
 	    !(driver_data->setpolicy || driver_data->target_index ||
 		    driver_data->target) ||
drivers/cpufreq/sun50i-cpufreq-nvmem.c +10 -15
index eca32e443716..9907a165135b 100644
@@ -25,7 +25,7 @@
 static struct platform_device *cpufreq_dt_pdev, *sun50i_cpufreq_pdev;
 
 /**
- * sun50i_cpufreq_get_efuse() - Parse and return efuse value present on SoC
+ * sun50i_cpufreq_get_efuse() - Determine speed grade from efuse value
  * @versions: Set to the value parsed from efuse
  *
  * Returns 0 if success.
@@ -69,21 +69,16 @@ static int sun50i_cpufreq_get_efuse(u32 *versions)
 		return PTR_ERR(speedbin);
 
 	efuse_value = (*speedbin >> NVMEM_SHIFT) & NVMEM_MASK;
-	switch (efuse_value) {
-	case 0b0001:
-		*versions = 1;
-		break;
-	case 0b0011:
-		*versions = 2;
-		break;
-	default:
-		/*
-		 * For other situations, we treat it as bin0.
-		 * This vf table can be run for any good cpu.
-		 */
+
+	/*
+	 * We treat unexpected efuse values as if the SoC was from
+	 * the slowest bin. Expected efuse values are 1-3, slowest
+	 * to fastest.
+	 */
+	if (efuse_value >= 1 && efuse_value <= 3)
+		*versions = efuse_value - 1;
+	else
 		*versions = 0;
-		break;
-	}
 
 	kfree(speedbin);
 	return 0;
drivers/crypto/atmel-aes.c +9 -9
index 00920a2b95ce..db99cee1991c 100644
@@ -145,7 +145,7 @@ struct atmel_aes_xts_ctx {
 	u32			key2[AES_KEYSIZE_256 / sizeof(u32)];
 };
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 struct atmel_aes_authenc_ctx {
 	struct atmel_aes_base_ctx	base;
 	struct atmel_sha_authenc_ctx	*auth;
@@ -157,7 +157,7 @@ struct atmel_aes_reqctx {
 	u32			lastc[AES_BLOCK_SIZE / sizeof(u32)];
 };
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 struct atmel_aes_authenc_reqctx {
 	struct atmel_aes_reqctx	base;
 
@@ -486,7 +486,7 @@ static inline bool atmel_aes_is_encrypt(const struct atmel_aes_dev *dd)
 	return (dd->flags & AES_FLAGS_ENCRYPT);
 }
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 static void atmel_aes_authenc_complete(struct atmel_aes_dev *dd, int err);
 #endif
 
@@ -515,7 +515,7 @@ static void atmel_aes_set_iv_as_last_ciphertext_block(struct atmel_aes_dev *dd)
 
 static inline int atmel_aes_complete(struct atmel_aes_dev *dd, int err)
 {
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 	if (dd->ctx->is_aead)
 		atmel_aes_authenc_complete(dd, err);
 #endif
@@ -1980,7 +1980,7 @@ static struct crypto_alg aes_xts_alg = {
 	}
 };
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 /* authenc aead functions */
 
 static int atmel_aes_authenc_start(struct atmel_aes_dev *dd);
@@ -2467,7 +2467,7 @@ static void atmel_aes_unregister_algs(struct atmel_aes_dev *dd)
 {
 	int i;
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 	if (dd->caps.has_authenc)
 		for (i = 0; i < ARRAY_SIZE(aes_authenc_algs); i++)
 			crypto_unregister_aead(&aes_authenc_algs[i]);
@@ -2514,7 +2514,7 @@ static int atmel_aes_register_algs(struct atmel_aes_dev *dd)
 			goto err_aes_xts_alg;
 	}
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 	if (dd->caps.has_authenc) {
 		for (i = 0; i < ARRAY_SIZE(aes_authenc_algs); i++) {
 			err = crypto_register_aead(&aes_authenc_algs[i]);
@@ -2526,7 +2526,7 @@ static int atmel_aes_register_algs(struct atmel_aes_dev *dd)
 
 	return 0;
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 	/* i = ARRAY_SIZE(aes_authenc_algs); */
 err_aes_authenc_alg:
 	for (j = 0; j < i; j++)
@@ -2716,7 +2716,7 @@ static int atmel_aes_probe(struct platform_device *pdev)
 
 	atmel_aes_get_cap(aes_dd);
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 	if (aes_dd->caps.has_authenc && !atmel_sha_authenc_is_ready()) {
 		err = -EPROBE_DEFER;
 		goto iclk_unprepare;
drivers/crypto/atmel-authenc.h +1 -1
index cbd37a2edada..d6de810df44f 100644
@@ -12,7 +12,7 @@
 #ifndef __ATMEL_AUTHENC_H__
 #define __ATMEL_AUTHENC_H__
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 
 #include <crypto/authenc.h>
 #include <crypto/hash.h>
drivers/crypto/atmel-sha.c +1 -1
index 84cb8748a795..d32626458e67 100644
@@ -2212,7 +2212,7 @@ static struct ahash_alg sha_hmac_algs[] = {
 },
 };
 
-#ifdef CONFIG_CRYPTO_DEV_ATMEL_AUTHENC
+#if IS_ENABLED(CONFIG_CRYPTO_DEV_ATMEL_AUTHENC)
 /* authenc functions */
 
 static int atmel_sha_authenc_init2(struct atmel_sha_dev *dd);
drivers/crypto/inside-secure/safexcel.c +2 -0
index 294debd435b6..991a4425f006 100644
@@ -1120,6 +1120,8 @@ static int safexcel_request_ring_irq(void *pdev, int irqid,
 				irq_name, irq);
 			return irq;
 		}
+	} else {
+		return -ENXIO;
 	}
 
 	ret = devm_request_threaded_irq(dev, irq, handler,
drivers/crypto/sunxi-ss/sun4i-ss-cipher.c +14 -8
index 6536fd4bee65..7e5e092a23b3 100644
@@ -72,7 +72,8 @@ static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq)
 	oi = 0;
 	oo = 0;
 	do {
-		todo = min3(rx_cnt, ileft, (mi.length - oi) / 4);
+		todo = min(rx_cnt, ileft);
+		todo = min_t(size_t, todo, (mi.length - oi) / 4);
 		if (todo) {
 			ileft -= todo;
 			writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo);
@@ -87,7 +88,8 @@ static int noinline_for_stack sun4i_ss_opti_poll(struct skcipher_request *areq)
 		rx_cnt = SS_RXFIFO_SPACES(spaces);
 		tx_cnt = SS_TXFIFO_SPACES(spaces);
 
-		todo = min3(tx_cnt, oleft, (mo.length - oo) / 4);
+		todo = min(tx_cnt, oleft);
+		todo = min_t(size_t, todo, (mo.length - oo) / 4);
 		if (todo) {
 			oleft -= todo;
 			readsl(ss->base + SS_TXFIFO, mo.addr + oo, todo);
@@ -239,7 +241,8 @@ static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
 			 * todo is the number of consecutive 4byte word that we
 			 * can read from current SG
 			 */
-			todo = min3(rx_cnt, ileft / 4, (mi.length - oi) / 4);
+			todo = min(rx_cnt, ileft / 4);
+			todo = min_t(size_t, todo, (mi.length - oi) / 4);
 			if (todo && !ob) {
 				writesl(ss->base + SS_RXFIFO, mi.addr + oi,
 					todo);
@@ -253,8 +256,8 @@ static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
 				 * we need to be able to write all buf in one
 				 * pass, so it is why we min() with rx_cnt
 				 */
-				todo = min3(rx_cnt * 4 - ob, ileft,
-					    mi.length - oi);
+				todo = min(rx_cnt * 4 - ob, ileft);
+				todo = min_t(size_t, todo, mi.length - oi);
 				memcpy(buf + ob, mi.addr + oi, todo);
 				ileft -= todo;
 				oi += todo;
@@ -274,7 +277,8 @@ static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
 		spaces = readl(ss->base + SS_FCSR);
 		rx_cnt = SS_RXFIFO_SPACES(spaces);
 		tx_cnt = SS_TXFIFO_SPACES(spaces);
-		dev_dbg(ss->dev, "%x %u/%u %u/%u cnt=%u %u/%u %u/%u cnt=%u %u\n",
+		dev_dbg(ss->dev,
+			"%x %u/%zu %u/%u cnt=%u %u/%zu %u/%u cnt=%u %u\n",
 			mode,
 			oi, mi.length, ileft, areq->cryptlen, rx_cnt,
 			oo, mo.length, oleft, areq->cryptlen, tx_cnt, ob);
@@ -282,7 +286,8 @@ static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
 		if (!tx_cnt)
 			continue;
 		/* todo in 4bytes word */
-		todo = min3(tx_cnt, oleft / 4, (mo.length - oo) / 4);
+		todo = min(tx_cnt, oleft / 4);
+		todo = min_t(size_t, todo, (mo.length - oo) / 4);
 		if (todo) {
 			readsl(ss->base + SS_TXFIFO, mo.addr + oo, todo);
 			oleft -= todo * 4;
@@ -308,7 +313,8 @@ static int sun4i_ss_cipher_poll(struct skcipher_request *areq)
 				 * no more than remaining buffer
 				 * no need to test against oleft
 				 */
-				todo = min(mo.length - oo, obl - obo);
+				todo = min_t(size_t,
+					     mo.length - oo, obl - obo);
 				memcpy(mo.addr + oo, bufo + obo, todo);
 				oleft -= todo;
 				obo += todo;
drivers/crypto/sunxi-ss/sun4i-ss-hash.c +6 -6
index fcffba5ef927..1369c5fa3087 100644
@@ -272,8 +272,8 @@ static int sun4i_hash(struct ahash_request *areq)
 			 */
 			while (op->len < 64 && i < end) {
 				/* how many bytes we can read from current SG */
-				in_r = min3(mi.length - in_i, end - i,
-					    64 - op->len);
+				in_r = min(end - i, 64 - op->len);
+				in_r = min_t(size_t, mi.length - in_i, in_r);
 				memcpy(op->buf + op->len, mi.addr + in_i, in_r);
 				op->len += in_r;
 				i += in_r;
@@ -293,8 +293,8 @@ static int sun4i_hash(struct ahash_request *areq)
 		}
 		if (mi.length - in_i > 3 && i < end) {
 			/* how many bytes we can read from current SG */
-			in_r = min3(mi.length - in_i, areq->nbytes - i,
-				    ((mi.length - in_i) / 4) * 4);
+			in_r = min_t(size_t, mi.length - in_i, areq->nbytes - i);
+			in_r = min_t(size_t, ((mi.length - in_i) / 4) * 4, in_r);
 			/* how many bytes we can write in the device*/
 			todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4);
 			writesl(ss->base + SS_RXFIFO, mi.addr + in_i, todo);
@@ -320,8 +320,8 @@ static int sun4i_hash(struct ahash_request *areq)
 	if ((areq->nbytes - i) < 64) {
 		while (i < areq->nbytes && in_i < mi.length && op->len < 64) {
 			/* how many bytes we can read from current SG */
-			in_r = min3(mi.length - in_i, areq->nbytes - i,
-				    64 - op->len);
+			in_r = min(areq->nbytes - i, 64 - op->len);
+			in_r = min_t(size_t, mi.length - in_i, in_r);
 			memcpy(op->buf + op->len, mi.addr + in_i, in_r);
 			op->len += in_r;
 			i += in_r;
drivers/crypto/virtio/virtio_crypto_algs.c +10 -2
index 42d19205166b..673fb29fda53 100644
@@ -105,8 +105,6 @@ virtio_crypto_alg_validate_key(int key_len, uint32_t *alg)
 		*alg = VIRTIO_CRYPTO_CIPHER_AES_CBC;
 		break;
 	default:
-		pr_err("virtio_crypto: Unsupported key length: %d\n",
-			key_len);
 		return -EINVAL;
 	}
 	return 0;
@@ -484,6 +482,11 @@ static int virtio_crypto_ablkcipher_encrypt(struct ablkcipher_request *req)
 	/* Use the first data virtqueue as default */
 	struct data_queue *data_vq = &vcrypto->data_vq[0];
 
+	if (!req->nbytes)
+		return 0;
+	if (req->nbytes % AES_BLOCK_SIZE)
+		return -EINVAL;
+
 	vc_req->dataq = data_vq;
 	vc_req->alg_cb = virtio_crypto_dataq_sym_callback;
 	vc_sym_req->ablkcipher_ctx = ctx;
@@ -504,6 +507,11 @@ static int virtio_crypto_ablkcipher_decrypt(struct ablkcipher_request *req)
 	/* Use the first data virtqueue as default */
 	struct data_queue *data_vq = &vcrypto->data_vq[0];
 
+	if (!req->nbytes)
+		return 0;
+	if (req->nbytes % AES_BLOCK_SIZE)
+		return -EINVAL;
+
 	vc_req->dataq = data_vq;
 	vc_req->alg_cb = virtio_crypto_dataq_sym_callback;
 	vc_sym_req->ablkcipher_ctx = ctx;
drivers/crypto/vmx/Makefile +3 -3
index cab32cfec9c4..709670d2b553 100644
@@ -3,13 +3,13 @@ obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o
 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
 
 ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
-TARGET := linux-ppc64le
+override flavour := linux-ppc64le
 else
-TARGET := linux-ppc64
+override flavour := linux-ppc64
 endif
 
 quiet_cmd_perl = PERL $@
-      cmd_perl = $(PERL) $(<) $(TARGET) > $(@)
+      cmd_perl = $(PERL) $(<) $(flavour) > $(@)
 
 targets += aesp8-ppc.S ghashp8-ppc.S
 
drivers/edac/amd64_edac.c +2 -0
index c1d4536ae466..cc5e56d752c8 100644
@@ -2936,6 +2936,7 @@ static int init_csrows_df(struct mem_ctl_info *mci)
 			dimm->mtype = pvt->dram_type;
 			dimm->edac_mode = edac_mode;
 			dimm->dtype = dev_type;
+			dimm->grain = 64;
 		}
 	}
 
@@ -3012,6 +3013,7 @@ static int init_csrows(struct mem_ctl_info *mci)
 			dimm = csrow->channels[j]->dimm;
 			dimm->mtype = pvt->dram_type;
 			dimm->edac_mode = edac_mode;
+			dimm->grain = 64;
 		}
 	}
 
drivers/edac/ghes_edac.c +8 -2
index 296e714bf553..523dd56a798c 100644
@@ -231,6 +231,7 @@ void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err)
 	/* Cleans the error report buffer */
 	memset(e, 0, sizeof (*e));
 	e->error_count = 1;
+	e->grain = 1;
 	strcpy(e->label, "unknown label");
 	e->msg = pvt->msg;
 	e->other_detail = pvt->other_detail;
@@ -326,7 +327,7 @@ void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err)
 
 	/* Error grain */
 	if (mem_err->validation_bits & CPER_MEM_VALID_PA_MASK)
-		e->grain = ~(mem_err->physical_addr_mask & ~PAGE_MASK);
+		e->grain = ~mem_err->physical_addr_mask + 1;
 
 	/* Memory error location, mapped on e->location */
 	p = e->location;
@@ -442,8 +443,13 @@ void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err)
 	if (p > pvt->other_detail)
 		*(p - 1) = '\0';
 
+	/* Sanity-check driver-supplied grain value. */
+	if (WARN_ON_ONCE(!e->grain))
+		e->grain = 1;
+
+	grain_bits = fls_long(e->grain - 1);
+
 	/* Generate the trace event */
-	grain_bits = fls_long(e->grain);
 	snprintf(pvt->detail_location, sizeof(pvt->detail_location),
 		 "APEI location: %s %s", e->location, e->other_detail);
 	trace_mc_event(type, e->msg, e->label, e->error_count,
drivers/extcon/extcon-sm5502.c +4 -0
index dc43847ad2b0..b3d93baf4fc5 100644
@@ -65,6 +65,10 @@ struct sm5502_muic_info {
 /* Default value of SM5502 register to bring up MUIC device. */
 static struct reg_data sm5502_reg_data[] = {
 	{
+		.reg = SM5502_REG_RESET,
+		.val = SM5502_REG_RESET_MASK,
+		.invert = true,
+	}, {
 		.reg = SM5502_REG_CONTROL,
 		.val = SM5502_REG_CONTROL_MASK_INT_MASK,
 		.invert = false,
drivers/extcon/extcon-sm5502.h +2 -0
index 9dbb634d213b..ce1f1ec310c4 100644
@@ -237,6 +237,8 @@ enum sm5502_reg {
 #define DM_DP_SWITCH_UART			((DM_DP_CON_SWITCH_UART <<SM5502_REG_MANUAL_SW1_DP_SHIFT) \
 						| (DM_DP_CON_SWITCH_UART <<SM5502_REG_MANUAL_SW1_DM_SHIFT))
 
+#define SM5502_REG_RESET_MASK			(0x1)
+
 /* SM5502 Interrupts */
 enum sm5502_irq {
 	/* INT1 */
drivers/firmware/efi/efi.c +26 -2
index e98bbf8e56d9..34d41f67b54d 100644
@@ -970,6 +970,24 @@ static int __init efi_memreserve_map_root(void)
 	return 0;
 }
 
+static int efi_mem_reserve_iomem(phys_addr_t addr, u64 size)
+{
+	struct resource *res, *parent;
+
+	res = kzalloc(sizeof(struct resource), GFP_ATOMIC);
+	if (!res)
+		return -ENOMEM;
+
+	res->name	= "reserved";
+	res->flags	= IORESOURCE_MEM;
+	res->start	= addr;
+	res->end	= addr + size - 1;
+
+	/* we expect a conflict with a 'System RAM' region */
+	parent = request_resource_conflict(&iomem_resource, res);
+	return parent ? request_resource(parent, res) : 0;
+}
+
 int __ref efi_mem_reserve_persistent(phys_addr_t addr, u64 size)
 {
 	struct linux_efi_memreserve *rsv;
@@ -994,7 +1012,7 @@ int __ref efi_mem_reserve_persistent(phys_addr_t addr, u64 size)
 			rsv->entry[index].size = size;
 
 			memunmap(rsv);
-			return 0;
+			return efi_mem_reserve_iomem(addr, size);
 		}
 		memunmap(rsv);
 	}
@@ -1004,6 +1022,12 @@ int __ref efi_mem_reserve_persistent(phys_addr_t addr, u64 size)
 	if (!rsv)
 		return -ENOMEM;
 
+	rc = efi_mem_reserve_iomem(__pa(rsv), SZ_4K);
+	if (rc) {
+		free_page((unsigned long)rsv);
+		return rc;
+	}
+
 	/*
 	 * The memremap() call above assumes that a linux_efi_memreserve entry
 	 * never crosses a page boundary, so let's ensure that this remains true
@@ -1020,7 +1044,7 @@ int __ref efi_mem_reserve_persistent(phys_addr_t addr, u64 size)
 	efi_memreserve_root->next = __pa(rsv);
 	spin_unlock(&efi_mem_reserve_persistent_lock);
 
-	return 0;
+	return efi_mem_reserve_iomem(addr, size);
 }
 
 static int __init efi_memreserve_root_init(void)
drivers/fsi/fsi-core.c +27 -4
index 1f76740f33b6..9282239b4d95 100644
@@ -544,6 +544,31 @@ static int fsi_slave_scan(struct fsi_slave *slave)
 	return 0;
 }
 
+static unsigned long aligned_access_size(size_t offset, size_t count)
+{
+	unsigned long offset_unit, count_unit;
+
+	/* Criteria:
+	 *
+	 * 1. Access size must be less than or equal to the maximum access
+	 *    width or the highest power-of-two factor of offset
+	 * 2. Access size must be less than or equal to the amount specified by
+	 *    count
+	 *
+	 * The access width is optimal if we can calculate 1 to be strictly
+	 * equal while still satisfying 2.
+	 */
+
+	/* Find 1 by the bottom bit of offset (with a 4 byte access cap) */
+	offset_unit = BIT(__builtin_ctzl(offset | 4));
+
+	/* Find 2 by the top bit of count */
+	count_unit = BIT(8 * sizeof(unsigned long) - 1 - __builtin_clzl(count));
+
+	/* Constrain the maximum access width to the minimum of both criteria */
+	return BIT(__builtin_ctzl(offset_unit | count_unit));
+}
+
 static ssize_t fsi_slave_sysfs_raw_read(struct file *file,
 		struct kobject *kobj, struct bin_attribute *attr, char *buf,
 		loff_t off, size_t count)
@@ -559,8 +584,7 @@ static ssize_t fsi_slave_sysfs_raw_read(struct file *file,
 		return -EINVAL;
 
 	for (total_len = 0; total_len < count; total_len += read_len) {
-		read_len = min_t(size_t, count, 4);
-		read_len -= off & 0x3;
+		read_len = aligned_access_size(off, count - total_len);
 
 		rc = fsi_slave_read(slave, off, buf + total_len, read_len);
 		if (rc)
@@ -587,8 +611,7 @@ static ssize_t fsi_slave_sysfs_raw_write(struct file *file,
 		return -EINVAL;
 
 	for (total_len = 0; total_len < count; total_len += write_len) {
-		write_len = min_t(size_t, count, 4);
-		write_len -= off & 0x3;
+		write_len = aligned_access_size(off, count - total_len);
 
 		rc = fsi_slave_write(slave, off, buf + total_len, write_len);
 		if (rc)
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c +10 -0
index 5652cc72ed3a..81842ba8cd75 100644
@@ -859,6 +859,9 @@ static int amdgpu_debugfs_test_ib(struct seq_file *m, void *data)
 	struct amdgpu_device *adev = dev->dev_private;
 	int r = 0, i;
 
+	/* Avoid accidently unparking the sched thread during GPU reset */
+	mutex_lock(&adev->lock_reset);
+
 	/* hold on the scheduler */
 	for (i = 0; i < AMDGPU_MAX_RINGS; i++) {
 		struct amdgpu_ring *ring = adev->rings[i];
@@ -884,6 +887,8 @@ static int amdgpu_debugfs_test_ib(struct seq_file *m, void *data)
 		kthread_unpark(ring->sched.thread);
 	}
 
+	mutex_unlock(&adev->lock_reset);
+
 	return 0;
 }
 
@@ -1036,6 +1041,9 @@ static int amdgpu_debugfs_ib_preempt(void *data, u64 val)
 	if (!fences)
 		return -ENOMEM;
 
+	/* Avoid accidently unparking the sched thread during GPU reset */
+	mutex_lock(&adev->lock_reset);
+
 	/* stop the scheduler */
 	kthread_park(ring->sched.thread);
 
@@ -1075,6 +1083,8 @@ static int amdgpu_debugfs_ib_preempt(void *data, u64 val)
 	/* restart the scheduler */
 	kthread_unpark(ring->sched.thread);
 
+	mutex_unlock(&adev->lock_reset);
+
 	ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched);
 
 	if (fences)
drivers/gpu/drm/amd/amdgpu/amdgpu_test.c +2 -0
index b66d29d5ffa2..b158230af8db 100644
@@ -138,6 +138,7 @@ static void amdgpu_do_test_moves(struct amdgpu_device *adev)
 		}
 
 		dma_fence_put(fence);
+		fence = NULL;
 
 		r = amdgpu_bo_kmap(vram_obj, &vram_map);
 		if (r) {
@@ -183,6 +184,7 @@ static void amdgpu_do_test_moves(struct amdgpu_device *adev)
 		}
 
 		dma_fence_put(fence);
+		fence = NULL;
 
 		r = amdgpu_bo_kmap(gtt_obj[i], &gtt_map);
 		if (r) {
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +9 -9
index 77674a7b9616..91899d28fa72 100644
@@ -170,7 +170,7 @@ TRACE_EVENT(amdgpu_cs_ioctl,
 			     __field(unsigned int, context)
 			     __field(unsigned int, seqno)
 			     __field(struct dma_fence *, fence)
-			     __field(char *, ring_name)
+			     __string(ring, to_amdgpu_ring(job->base.sched)->name)
 			     __field(u32, num_ibs)
 			     ),
 
@@ -179,12 +179,12 @@ TRACE_EVENT(amdgpu_cs_ioctl,
 			   __assign_str(timeline, AMDGPU_JOB_GET_TIMELINE_NAME(job))
 			   __entry->context = job->base.s_fence->finished.context;
 			   __entry->seqno = job->base.s_fence->finished.seqno;
-			   __entry->ring_name = to_amdgpu_ring(job->base.sched)->name;
+			   __assign_str(ring, to_amdgpu_ring(job->base.sched)->name)
 			   __entry->num_ibs = job->num_ibs;
 			   ),
 	    TP_printk("sched_job=%llu, timeline=%s, context=%u, seqno=%u, ring_name=%s, num_ibs=%u",
 		      __entry->sched_job_id, __get_str(timeline), __entry->context,
-		      __entry->seqno, __entry->ring_name, __entry->num_ibs)
+		      __entry->seqno, __get_str(ring), __entry->num_ibs)
 );
 
 TRACE_EVENT(amdgpu_sched_run_job,
@@ -195,7 +195,7 @@ TRACE_EVENT(amdgpu_sched_run_job,
 			     __string(timeline, AMDGPU_JOB_GET_TIMELINE_NAME(job))
 			     __field(unsigned int, context)
 			     __field(unsigned int, seqno)
-			     __field(char *, ring_name)
+			     __string(ring, to_amdgpu_ring(job->base.sched)->name)
 			     __field(u32, num_ibs)
 			     ),
 
@@ -204,12 +204,12 @@ TRACE_EVENT(amdgpu_sched_run_job,
 			   __assign_str(timeline, AMDGPU_JOB_GET_TIMELINE_NAME(job))
 			   __entry->context = job->base.s_fence->finished.context;
 			   __entry->seqno = job->base.s_fence->finished.seqno;
-			   __entry->ring_name = to_amdgpu_ring(job->base.sched)->name;
+			   __assign_str(ring, to_amdgpu_ring(job->base.sched)->name)
 			   __entry->num_ibs = job->num_ibs;
 			   ),
 	    TP_printk("sched_job=%llu, timeline=%s, context=%u, seqno=%u, ring_name=%s, num_ibs=%u",
 		      __entry->sched_job_id, __get_str(timeline), __entry->context,
-		      __entry->seqno, __entry->ring_name, __entry->num_ibs)
+		      __entry->seqno, __get_str(ring), __entry->num_ibs)
 );
 
 
@@ -468,7 +468,7 @@ TRACE_EVENT(amdgpu_ib_pipe_sync,
 	    TP_PROTO(struct amdgpu_job *sched_job, struct dma_fence *fence),
 	    TP_ARGS(sched_job, fence),
 	    TP_STRUCT__entry(
-			     __field(const char *,name)
+			     __string(ring, sched_job->base.sched->name);
 			     __field(uint64_t, id)
 			     __field(struct dma_fence *, fence)
 			     __field(uint64_t, ctx)
@@ -476,14 +476,14 @@ TRACE_EVENT(amdgpu_ib_pipe_sync,
 			     ),
 
 	    TP_fast_assign(
-			   __entry->name = sched_job->base.sched->name;
+			   __assign_str(ring, sched_job->base.sched->name)
 			   __entry->id = sched_job->base.id;
 			   __entry->fence = fence;
 			   __entry->ctx = fence->context;
 			   __entry->seqno = fence->seqno;
 			   ),
 	    TP_printk("job ring=%s, id=%llu, need pipe sync to fence=%p, context=%llu, seq=%u",
-		      __entry->name, __entry->id,
+		      __get_str(ring), __entry->id,
 		      __entry->fence, __entry->ctx,
 		      __entry->seqno)
 );
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +9 -3
index 5251352f5922..c7514f743409 100644
@@ -1034,10 +1034,8 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_
 		id->oa_base != job->oa_base ||
 		id->oa_size != job->oa_size);
 	bool vm_flush_needed = job->vm_needs_flush;
-	bool pasid_mapping_needed = id->pasid != job->pasid ||
-		!id->pasid_mapping ||
-		!dma_fence_is_signaled(id->pasid_mapping);
 	struct dma_fence *fence = NULL;
+	bool pasid_mapping_needed = false;
 	unsigned patch_offset = 0;
 	int r;
 
@@ -1047,6 +1045,12 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_
 		pasid_mapping_needed = true;
 	}
 
+	mutex_lock(&id_mgr->lock);
+	if (id->pasid != job->pasid || !id->pasid_mapping ||
+	    !dma_fence_is_signaled(id->pasid_mapping))
+		pasid_mapping_needed = true;
+	mutex_unlock(&id_mgr->lock);
+
 	gds_switch_needed &= !!ring->funcs->emit_gds_switch;
 	vm_flush_needed &= !!ring->funcs->emit_vm_flush  &&
 			job->vm_pd_addr != AMDGPU_BO_INVALID_OFFSET;
@@ -1086,9 +1090,11 @@ int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_
 	}
 
 	if (pasid_mapping_needed) {
+		mutex_lock(&id_mgr->lock);
 		id->pasid = job->pasid;
 		dma_fence_put(id->pasid_mapping);
 		id->pasid_mapping = dma_fence_get(fence);
+		mutex_unlock(&id_mgr->lock);
 	}
 	dma_fence_put(fence);
 
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +2 -1
index 97cf0b536873..c9ba2ec6d038 100644
@@ -2930,7 +2930,8 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev)
 	 * And it's needed by gfxoff feature.
 	 */
 	if (adev->gfx.rlc.is_rlc_v2_1) {
-		gfx_v9_1_init_rlc_save_restore_list(adev);
+		if (adev->asic_type == CHIP_VEGA12)
+			gfx_v9_1_init_rlc_save_restore_list(adev);
 		gfx_v9_0_enable_save_restore_machine(adev);
 	}
 
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +34 -27

79 lines not on this page · raw message

drivers/gpu/drm/amd/amdgpu/si_ih.c +2 -1
index 57bb5f9e08b2..88ae27a5a03d 100644
@@ -64,7 +64,8 @@ static int si_ih_irq_init(struct amdgpu_device *adev)
 	u32 interrupt_cntl, ih_cntl, ih_rb_cntl;
 
 	si_ih_disable_interrupts(adev);
-	WREG32(INTERRUPT_CNTL2, adev->irq.ih.gpu_addr >> 8);
+	/* set dummy read address to dummy page address */
+	WREG32(INTERRUPT_CNTL2, adev->dummy_page_addr >> 8);
 	interrupt_cntl = RREG32(INTERRUPT_CNTL);
 	interrupt_cntl &= ~IH_DUMMY_RD_OVERRIDE;
 	interrupt_cntl &= ~IH_REQ_NONSNOOP_EN;
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +2 -1
index d985e31fcc1e..f335f73919d1 100644
@@ -1676,7 +1676,8 @@ static int allocate_hiq_sdma_mqd(struct device_queue_manager *dqm)
 	struct kfd_dev *dev = dqm->dev;
 	struct kfd_mem_obj *mem_obj = &dqm->hiq_sdma_mqd;
 	uint32_t size = dqm->mqd_mgrs[KFD_MQD_TYPE_SDMA]->mqd_size *
-		dev->device_info->num_sdma_engines *
+		(dev->device_info->num_sdma_engines +
+		dev->device_info->num_xgmi_sdma_engines) *
 		dev->device_info->num_sdma_queues_per_engine +
 		dqm->mqd_mgrs[KFD_MQD_TYPE_HIQ]->mqd_size;
 
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c +5 -0
index c56ac47cd318..bc47f6a44456 100644
@@ -62,6 +62,11 @@ int kfd_interrupt_init(struct kfd_dev *kfd)
 	}
 
 	kfd->ih_wq = alloc_workqueue("KFD IH", WQ_HIGHPRI, 1);
+	if (unlikely(!kfd->ih_wq)) {
+		kfifo_free(&kfd->ih_fifo);
+		dev_err(kfd_chardev(), "Failed to allocate KFD IH workqueue\n");
+		return -ENOMEM;
+	}
 	spin_lock_init(&kfd->interrupt_lock);
 
 	INIT_WORK(&kfd->interrupt_work, interrupt_wq);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +5 -0
index 4139f129eafb..4e9c15c409ba 100644
@@ -940,6 +940,11 @@ static int dm_late_init(void *handle)
 	params.backlight_lut_array_size = 16;
 	params.backlight_lut_array = linear_lut;
 
+	/* Min backlight level after ABM reduction,  Don't allow below 1%
+	 * 0xFFFF x 0.01 = 0x28F
+	 */
+	params.min_abm_backlight = 0x28F;
+
 	/* todo will enable for navi10 */
 	if (adev->asic_type <= CHIP_RAVEN) {
 		ret = dmcu_load_iram(dmcu, params);
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c +8 -2
index 3e8ac303bd52..23ec283eb07b 100644
@@ -320,6 +320,8 @@ void dcn2_update_clocks_fpga(struct clk_mgr *clk_mgr,
 		struct dc_state *context,
 		bool safe_to_lower)
 {
+	struct clk_mgr_internal *clk_mgr_int = TO_CLK_MGR_INTERNAL(clk_mgr);
+
 	struct dc_clocks *new_clocks = &context->bw_ctx.bw.dcn.clk;
 	/* Min fclk = 1.2GHz since all the extra scemi logic seems to run off of it */
 	int fclk_adj = new_clocks->fclk_khz > 1200000 ? new_clocks->fclk_khz : 1200000;
@@ -357,14 +359,18 @@ void dcn2_update_clocks_fpga(struct clk_mgr *clk_mgr,
 		clk_mgr->clks.dispclk_khz = new_clocks->dispclk_khz;
 	}
 
-	/* Both fclk and dppclk ref are run on the same scemi clock so we
-	 * need to keep the same value for both
+	/* Both fclk and ref_dppclk run on the same scemi clock.
+	 * So take the higher value since the DPP DTO is typically programmed
+	 * such that max dppclk is 1:1 with ref_dppclk.
 	 */
 	if (clk_mgr->clks.fclk_khz > clk_mgr->clks.dppclk_khz)
 		clk_mgr->clks.dppclk_khz = clk_mgr->clks.fclk_khz;
 	if (clk_mgr->clks.dppclk_khz > clk_mgr->clks.fclk_khz)
 		clk_mgr->clks.fclk_khz = clk_mgr->clks.dppclk_khz;
 
+	// Both fclk and ref_dppclk run on the same scemi clock.
+	clk_mgr_int->dccg->ref_dppclk = clk_mgr->clks.fclk_khz;
+
 	dm_set_dcn_clocks(clk_mgr->ctx, &clk_mgr->clks);
 }
 
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c +1 -1
index 50984c1811bb..468c6bb0e311 100644
@@ -33,7 +33,7 @@
 #include "mp/mp_12_0_0_sh_mask.h"
 
 #define REG(reg_name) \
-	(MP1_BASE.instance[0].segment[mm ## reg_name ## _BASE_IDX] + mm ## reg_name)
+	(MP0_BASE.instance[0].segment[mm ## reg_name ## _BASE_IDX] + mm ## reg_name)
 
 #define FN(reg_name, field) \
 	FD(reg_name##__##field)
drivers/gpu/drm/amd/display/dc/core/dc_link.c +14 -3
index ca20b150afcc..067f5579f452 100644
@@ -2169,8 +2169,10 @@ static void disable_link(struct dc_link *link, enum signal_type signal)
 			dp_set_fec_ready(link, false);
 		}
 #endif
-	} else
-		link->link_enc->funcs->disable_output(link->link_enc, signal);
+	} else {
+		if (signal != SIGNAL_TYPE_VIRTUAL)
+			link->link_enc->funcs->disable_output(link->link_enc, signal);
+	}
 
 	if (signal == SIGNAL_TYPE_DISPLAY_PORT_MST) {
 		/* MST disable link only when no stream use the link */
@@ -2217,7 +2219,7 @@ static bool dp_active_dongle_validate_timing(
 		break;
 	}
 
-	if (dongle_caps->dongle_type != DISPLAY_DONGLE_DP_HDMI_CONVERTER ||
+	if (dpcd_caps->dongle_type != DISPLAY_DONGLE_DP_HDMI_CONVERTER ||
 		dongle_caps->extendedCapValid == false)
 		return true;
 
@@ -2767,6 +2769,15 @@ void core_link_enable_stream(
 					CONTROLLER_DP_TEST_PATTERN_VIDEOMODE,
 					COLOR_DEPTH_UNDEFINED);
 
+		/* This second call is needed to reconfigure the DIG
+		 * as a workaround for the incorrect value being applied
+		 * from transmitter control.
+		 */
+		if (!dc_is_virtual_signal(pipe_ctx->stream->signal))
+			stream->link->link_enc->funcs->setup(
+				stream->link->link_enc,
+				pipe_ctx->stream->signal);
+
 #ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT
 		if (pipe_ctx->stream->timing.flags.DSC) {
 			if (dc_is_dp_signal(pipe_ctx->stream->signal) ||
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +2 -0
index f5742719b5d9..5a583707d198 100644
@@ -2545,6 +2545,7 @@ static void get_active_converter_info(
 	uint8_t data, struct dc_link *link)
 {
 	union dp_downstream_port_present ds_port = { .byte = data };
+	memset(&link->dpcd_caps.dongle_caps, 0, sizeof(link->dpcd_caps.dongle_caps));
 
 	/* decode converter info*/
 	if (!ds_port.fields.PORT_PRESENT) {
@@ -2691,6 +2692,7 @@ static void dp_wa_power_up_0010FA(struct dc_link *link, uint8_t *dpcd_data,
 		 * keep receiver powered all the time.*/
 		case DP_BRANCH_DEVICE_ID_0010FA:
 		case DP_BRANCH_DEVICE_ID_0080E1:
+		case DP_BRANCH_DEVICE_ID_00E04C:
 			link->wa_flags.dp_keep_receiver_powered = true;
 			break;
 
drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c +2 -1
index 79438c4f1e20..a519dbc5ecb6 100644
@@ -277,7 +277,8 @@ void dp_retrain_link_dp_test(struct dc_link *link,
 		if (pipes[i].stream != NULL &&
 			!pipes[i].top_pipe && !pipes[i].prev_odm_pipe &&
 			pipes[i].stream->link != NULL &&
-			pipes[i].stream_res.stream_enc != NULL) {
+			pipes[i].stream_res.stream_enc != NULL &&
+			pipes[i].stream->link == link) {
 			udelay(100);
 
 			pipes[i].stream_res.stream_enc->funcs->dp_blank(
drivers/gpu/drm/amd/display/dc/core/dc_stream.c +2 -2
index bf1d7bb90e0f..bb09243758fe 100644
@@ -423,10 +423,10 @@ bool dc_stream_add_writeback(struct dc *dc,
 
 		if (dwb->funcs->is_enabled(dwb)) {
 			/* writeback pipe already enabled, only need to update */
-			dc->hwss.update_writeback(dc, stream_status, wb_info);
+			dc->hwss.update_writeback(dc, stream_status, wb_info, dc->current_state);
 		} else {
 			/* Enable writeback pipe from scratch*/
-			dc->hwss.enable_writeback(dc, stream_status, wb_info);
+			dc->hwss.enable_writeback(dc, stream_status, wb_info, dc->current_state);
 		}
 	}
 
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c +3 -0
index 58bd131d5b48..7700a855d77c 100644
@@ -77,6 +77,9 @@ static bool dce_abm_set_pipe(struct abm *abm, uint32_t controller_id)
 	/* notifyDMCUMsg */
 	REG_UPDATE(MASTER_COMM_CNTL_REG, MASTER_COMM_INTERRUPT, 1);
 
+	REG_WAIT(MASTER_COMM_CNTL_REG, MASTER_COMM_INTERRUPT, 0,
+			1, 80000);
+
 	return true;
 }
 
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +3 -2
index b3ae1c41fc69..937a8ba81160 100644
@@ -1356,7 +1356,8 @@ bool dcn20_update_bandwidth(
 static void dcn20_enable_writeback(
 		struct dc *dc,
 		const struct dc_stream_status *stream_status,
-		struct dc_writeback_info *wb_info)
+		struct dc_writeback_info *wb_info,
+		struct dc_state *context)
 {
 	struct dwbc *dwb;
 	struct mcif_wb *mcif_wb;
@@ -1373,7 +1374,7 @@ static void dcn20_enable_writeback(
 	optc->funcs->set_dwb_source(optc, wb_info->dwb_pipe_inst);
 	/* set MCIF_WB buffer and arbitration configuration */
 	mcif_wb->funcs->config_mcif_buf(mcif_wb, &wb_info->mcif_buf_params, wb_info->dwb_params.dest_height);
-	mcif_wb->funcs->config_mcif_arb(mcif_wb, &dc->current_state->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info->dwb_pipe_inst]);
+	mcif_wb->funcs->config_mcif_arb(mcif_wb, &context->bw_ctx.bw.dcn.bw_writeback.mcif_wb_arb[wb_info->dwb_pipe_inst]);
 	/* Enable MCIF_WB */
 	mcif_wb->funcs->enable_mcif(mcif_wb);
 	/* Enable DWB */
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_optc.c +4 -0
index 2137e2be2140..dda90995ba93 100644
@@ -287,6 +287,10 @@ void optc2_get_optc_source(struct timing_generator *optc,
 		*num_of_src_opp = 2;
 	else
 		*num_of_src_opp = 1;
+
+	/* Work around VBIOS not updating OPTC_NUM_OF_INPUT_SEGMENT */
+	if (*src_opp_id_1 == 0xf)
+		*num_of_src_opp = 1;
 }
 
 void optc2_set_dwb_source(struct timing_generator *optc,
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c +5 -2
index 6b2f2f1a1c9c..78b2cc2e122f 100644
@@ -1765,7 +1765,7 @@ int dcn20_populate_dml_pipes_from_context(
 			pipe_cnt = i;
 			continue;
 		}
-		if (!resource_are_streams_timing_synchronizable(
+		if (dc->debug.disable_timing_sync || !resource_are_streams_timing_synchronizable(
 				res_ctx->pipe_ctx[pipe_cnt].stream,
 				res_ctx->pipe_ctx[i].stream)) {
 			synchronized_vblank = false;
@@ -2474,6 +2474,7 @@ bool dcn20_fast_validate_bw(
 							&context->res_ctx, dc->res_pool,
 							pipe, hsplit_pipe))
 						goto validate_fail;
+					dcn20_build_mapped_resource(dc, context, pipe->stream);
 				} else
 					dcn20_split_stream_for_mpc(
 						&context->res_ctx, dc->res_pool,
@@ -3040,7 +3041,7 @@ static void cap_soc_clocks(
 static void update_bounding_box(struct dc *dc, struct _vcs_dpi_soc_bounding_box_st *bb,
 		struct pp_smu_nv_clock_table *max_clocks, unsigned int *uclk_states, unsigned int num_states)
 {
-	struct _vcs_dpi_voltage_scaling_st calculated_states[MAX_CLOCK_LIMIT_STATES] = {0};
+	struct _vcs_dpi_voltage_scaling_st calculated_states[MAX_CLOCK_LIMIT_STATES];
 	int i;
 	int num_calculated_states = 0;
 	int min_dcfclk = 0;
@@ -3048,6 +3049,8 @@ static void update_bounding_box(struct dc *dc, struct _vcs_dpi_soc_bounding_box_
 	if (num_states == 0)
 		return;
 
+	memset(calculated_states, 0, sizeof(calculated_states));
+
 	if (dc->bb_overrides.min_dcfclk_mhz > 0)
 		min_dcfclk = dc->bb_overrides.min_dcfclk_mhz;
 	else
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c +25 -15
index d1266741763b..f5f6b4a0f0aa 100644
@@ -22,6 +22,7 @@
  * Authors: AMD
  *
  */
+#include <linux/delay.h>
 #include "dm_services.h"
 #include "dcn20/dcn20_hubbub.h"
 #include "dcn21_hubbub.h"
@@ -71,30 +72,39 @@ static uint32_t convert_and_clamp(
 void dcn21_dchvm_init(struct hubbub *hubbub)
 {
 	struct dcn20_hubbub *hubbub1 = TO_DCN20_HUBBUB(hubbub);
+	uint32_t riommu_active;
+	int i;
 
 	//Init DCHVM block
 	REG_UPDATE(DCHVM_CTRL0, HOSTVM_INIT_REQ, 1);
 
 	//Poll until RIOMMU_ACTIVE = 1
-	//TODO: Figure out interval us and retry count
-	REG_WAIT(DCHVM_RIOMMU_STAT0, RIOMMU_ACTIVE, 1, 5, 100);
+	for (i = 0; i < 100; i++) {
+		REG_GET(DCHVM_RIOMMU_STAT0, RIOMMU_ACTIVE, &riommu_active);
 
-	//Reflect the power status of DCHUBBUB
-	REG_UPDATE(DCHVM_RIOMMU_CTRL0, HOSTVM_POWERSTATUS, 1);
+		if (riommu_active)
+			break;
+		else
+			udelay(5);
+	}
+
+	if (riommu_active) {
+		//Reflect the power status of DCHUBBUB
+		REG_UPDATE(DCHVM_RIOMMU_CTRL0, HOSTVM_POWERSTATUS, 1);
 
-	//Start rIOMMU prefetching
-	REG_UPDATE(DCHVM_RIOMMU_CTRL0, HOSTVM_PREFETCH_REQ, 1);
+		//Start rIOMMU prefetching
+		REG_UPDATE(DCHVM_RIOMMU_CTRL0, HOSTVM_PREFETCH_REQ, 1);
 
-	// Enable dynamic clock gating
-	REG_UPDATE_4(DCHVM_CLK_CTRL,
-					HVM_DISPCLK_R_GATE_DIS, 0,
-					HVM_DISPCLK_G_GATE_DIS, 0,
-					HVM_DCFCLK_R_GATE_DIS, 0,
-					HVM_DCFCLK_G_GATE_DIS, 0);
+		// Enable dynamic clock gating
+		REG_UPDATE_4(DCHVM_CLK_CTRL,
+						HVM_DISPCLK_R_GATE_DIS, 0,
+						HVM_DISPCLK_G_GATE_DIS, 0,
+						HVM_DCFCLK_R_GATE_DIS, 0,
+						HVM_DCFCLK_G_GATE_DIS, 0);
 
-	//Poll until HOSTVM_PREFETCH_DONE = 1
-	//TODO: Figure out interval us and retry count
-	REG_WAIT(DCHVM_RIOMMU_STAT0, HOSTVM_PREFETCH_DONE, 1, 5, 100);
+		//Poll until HOSTVM_PREFETCH_DONE = 1
+		REG_WAIT(DCHVM_RIOMMU_STAT0, HOSTVM_PREFETCH_DONE, 1, 5, 100);
+	}
 }
 
 static int hubbub21_init_dchub(struct hubbub *hubbub,
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +4 -2
index 3a938cd414ea..f6cc2d6f576d 100644
@@ -321,10 +321,12 @@ struct hw_sequencer_funcs {
 			struct dc_state *context);
 	void (*update_writeback)(struct dc *dc,
 			const struct dc_stream_status *stream_status,
-			struct dc_writeback_info *wb_info);
+			struct dc_writeback_info *wb_info,
+			struct dc_state *context);
 	void (*enable_writeback)(struct dc *dc,
 			const struct dc_stream_status *stream_status,
-			struct dc_writeback_info *wb_info);
+			struct dc_writeback_info *wb_info,
+			struct dc_state *context);
 	void (*disable_writeback)(struct dc *dc,
 			unsigned int dwb_pipe_inst);
 #endif
drivers/gpu/drm/amd/display/include/ddc_service_types.h +2 -0
index 18961707db23..9ad49da50a17 100644
@@ -31,6 +31,8 @@
 #define DP_BRANCH_DEVICE_ID_0022B9 0x0022B9
 #define DP_BRANCH_DEVICE_ID_00001A 0x00001A
 #define DP_BRANCH_DEVICE_ID_0080E1 0x0080e1
+#define DP_BRANCH_DEVICE_ID_90CC24 0x90CC24
+#define DP_BRANCH_DEVICE_ID_00E04C 0x00E04C
 
 enum ddc_result {
 	DDC_RESULT_UNKNOWN = 0,
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +8 -5
index ec70c9b12e1a..0978c698f0f8 100644
@@ -743,6 +743,10 @@ void mod_freesync_build_vrr_params(struct mod_freesync *mod_freesync,
 	nominal_field_rate_in_uhz =
 			mod_freesync_calc_nominal_field_rate(stream);
 
+	/* Rounded to the nearest Hz */
+	nominal_field_rate_in_uhz = 1000000ULL *
+			div_u64(nominal_field_rate_in_uhz + 500000, 1000000);
+
 	min_refresh_in_uhz = in_config->min_refresh_in_uhz;
 	max_refresh_in_uhz = in_config->max_refresh_in_uhz;
 
@@ -996,14 +1000,13 @@ unsigned long long mod_freesync_calc_nominal_field_rate(
 			const struct dc_stream_state *stream)
 {
 	unsigned long long nominal_field_rate_in_uhz = 0;
+	unsigned int total = stream->timing.h_total * stream->timing.v_total;
 
-	/* Calculate nominal field rate for stream */
+	/* Calculate nominal field rate for stream, rounded up to nearest integer */
 	nominal_field_rate_in_uhz = stream->timing.pix_clk_100hz / 10;
 	nominal_field_rate_in_uhz *= 1000ULL * 1000ULL * 1000ULL;
-	nominal_field_rate_in_uhz = div_u64(nominal_field_rate_in_uhz,
-						stream->timing.h_total);
-	nominal_field_rate_in_uhz = div_u64(nominal_field_rate_in_uhz,
-						stream->timing.v_total);
+
+	nominal_field_rate_in_uhz =	div_u64(nominal_field_rate_in_uhz, total);
 
 	return nominal_field_rate_in_uhz;
 }
drivers/gpu/drm/amd/display/modules/power/power_helpers.c +43 -34

121 lines not on this page · raw message

drivers/gpu/drm/amd/display/modules/power/power_helpers.h +1 -0
index da5df00fedce..e54157026330 100644
@@ -38,6 +38,7 @@ struct dmcu_iram_parameters {
 	unsigned int backlight_lut_array_size;
 	unsigned int backlight_ramping_reduction;
 	unsigned int backlight_ramping_start;
+	unsigned int min_abm_backlight;
 	unsigned int set;
 };
 
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +4 -1
index 4acf139ea014..58c091ab67b2 100644
@@ -1344,7 +1344,10 @@ static int smu_suspend(void *handle)
 	int ret;
 	struct amdgpu_device *adev = (struct amdgpu_device *)handle;
 	struct smu_context *smu = &adev->smu;
-	bool baco_feature_is_enabled = smu_feature_is_enabled(smu, SMU_FEATURE_BACO_BIT);
+	bool baco_feature_is_enabled = false;
+
+	if(!(adev->flags & AMD_IS_APU))
+		baco_feature_is_enabled = smu_feature_is_enabled(smu, SMU_FEATURE_BACO_BIT);
 
 	ret = smu_system_features_control(smu, false);
 	if (ret)
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_baco.c +7 -5
index df6ff9252401..b068d1c7b44d 100644
@@ -29,7 +29,7 @@
 #include "vega20_baco.h"
 #include "vega20_smumgr.h"
 
-
+#include "amdgpu_ras.h"
 
 static const struct soc15_baco_cmd_entry clean_baco_tbl[] =
 {
@@ -74,6 +74,7 @@ int vega20_baco_get_state(struct pp_hwmgr *hwmgr, enum BACO_STATE *state)
 int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state)
 {
 	struct amdgpu_device *adev = (struct amdgpu_device *)(hwmgr->adev);
+	struct amdgpu_ras *ras = amdgpu_ras_get_context(adev);
 	enum BACO_STATE cur_state;
 	uint32_t data;
 
@@ -84,10 +85,11 @@ int vega20_baco_set_state(struct pp_hwmgr *hwmgr, enum BACO_STATE state)
 		return 0;
 
 	if (state == BACO_STATE_IN) {
-		data = RREG32_SOC15(THM, 0, mmTHM_BACO_CNTL);
-		data |= 0x80000000;
-		WREG32_SOC15(THM, 0, mmTHM_BACO_CNTL, data);
-
+		if (!ras || !ras->supported) {
+			data = RREG32_SOC15(THM, 0, mmTHM_BACO_CNTL);
+			data |= 0x80000000;
+			WREG32_SOC15(THM, 0, mmTHM_BACO_CNTL, data);
+		}
 
 		if(smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_EnterBaco, 0))
 			return -EINVAL;
drivers/gpu/drm/amd/powerplay/renoir_ppt.c +3 -1
index e62bfba51562..e5283dafc414 100644
@@ -183,11 +183,13 @@ static int renoir_print_clk_levels(struct smu_context *smu,
 	int i, size = 0, ret = 0;
 	uint32_t cur_value = 0, value = 0, count = 0, min = 0, max = 0;
 	DpmClocks_t *clk_table = smu->smu_table.clocks_table;
-	SmuMetrics_t metrics = {0};
+	SmuMetrics_t metrics;
 
 	if (!clk_table || clk_type >= SMU_CLK_COUNT)
 		return -EINVAL;
 
+	memset(&metrics, 0, sizeof(metrics));
+
 	ret = smu_update_table(smu, SMU_TABLE_SMU_METRICS, 0,
 			       (void *)&metrics, false);
 	if (ret)
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c +2 -0
index 624d257da20f..52c42569a111 100644
@@ -250,6 +250,7 @@ komeda_crtc_atomic_enable(struct drm_crtc *crtc,
 {
 	komeda_crtc_prepare(to_kcrtc(crtc));
 	drm_crtc_vblank_on(crtc);
+	WARN_ON(drm_crtc_vblank_get(crtc));
 	komeda_crtc_do_flush(crtc, old);
 }
 
@@ -319,6 +320,7 @@ komeda_crtc_atomic_disable(struct drm_crtc *crtc,
 		}
 	}
 
+	drm_crtc_vblank_put(crtc);
 	drm_crtc_vblank_off(crtc);
 	komeda_crtc_unprepare(kcrtc);
 }
drivers/gpu/drm/bridge/analogix-anx78xx.c +6 -2
index 3c7cc5af735c..56df07cdab68 100644
@@ -715,7 +715,9 @@ static int anx78xx_init_pdata(struct anx78xx *anx78xx)
 	/* 1.0V digital core power regulator  */
 	pdata->dvdd10 = devm_regulator_get(dev, "dvdd10");
 	if (IS_ERR(pdata->dvdd10)) {
-		DRM_ERROR("DVDD10 regulator not found\n");
+		if (PTR_ERR(pdata->dvdd10) != -EPROBE_DEFER)
+			DRM_ERROR("DVDD10 regulator not found\n");
+
 		return PTR_ERR(pdata->dvdd10);
 	}
 
@@ -1332,7 +1334,9 @@ static int anx78xx_i2c_probe(struct i2c_client *client,
 
 	err = anx78xx_init_pdata(anx78xx);
 	if (err) {
-		DRM_ERROR("Failed to initialize pdata: %d\n", err);
+		if (err != -EPROBE_DEFER)
+			DRM_ERROR("Failed to initialize pdata: %d\n", err);
+
 		return err;
 	}
 
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +11 -1
index 521d689413c8..1326f2c734bf 100644
@@ -36,6 +36,7 @@
 #include "dw-hdmi-cec.h"
 #include "dw-hdmi.h"
 
+#define DDC_CI_ADDR		0x37
 #define DDC_SEGMENT_ADDR	0x30
 
 #define HDMI_EDID_LEN		512
@@ -398,6 +399,15 @@ static int dw_hdmi_i2c_xfer(struct i2c_adapter *adap,
 	u8 addr = msgs[0].addr;
 	int i, ret = 0;
 
+	if (addr == DDC_CI_ADDR)
+		/*
+		 * The internal I2C controller does not support the multi-byte
+		 * read and write operations needed for DDC/CI.
+		 * TOFIX: Blacklist the DDC/CI address until we filter out
+		 * unsupported I2C operations.
+		 */
+		return -EOPNOTSUPP;
+
 	dev_dbg(hdmi->dev, "xfer: num: %d, addr: %#x\n", num, addr);
 
 	for (i = 0; i < num; i++) {
@@ -2023,7 +2033,7 @@ static int dw_hdmi_setup(struct dw_hdmi *hdmi, struct drm_display_mode *mode)
 
 		/* HDMI Initialization Step E - Configure audio */
 		hdmi_clk_regenerator_update_pixel_clock(hdmi);
-		hdmi_enable_audio_clk(hdmi, true);
+		hdmi_enable_audio_clk(hdmi, hdmi->audio_enable);
 	}
 
 	/* not for DVI mode */
drivers/gpu/drm/drm_edid.c +3 -3
index 6b0177112e18..3f50b8865db4 100644
@@ -3722,7 +3722,7 @@ cea_db_offsets(const u8 *cea, int *start, int *end)
 		if (*end < 4 || *end > 127)
 			return -ERANGE;
 	} else {
-		return -ENOTSUPP;
+		return -EOPNOTSUPP;
 	}
 
 	return 0;
@@ -4191,7 +4191,7 @@ int drm_edid_to_sad(struct edid *edid, struct cea_sad **sads)
 
 	if (cea_revision(cea) < 3) {
 		DRM_DEBUG_KMS("SAD: wrong CEA revision\n");
-		return -ENOTSUPP;
+		return -EOPNOTSUPP;
 	}
 
 	if (cea_db_offsets(cea, &start, &end)) {
@@ -4252,7 +4252,7 @@ int drm_edid_to_speaker_allocation(struct edid *edid, u8 **sadb)
 
 	if (cea_revision(cea) < 3) {
 		DRM_DEBUG_KMS("SAD: wrong CEA revision\n");
-		return -ENOTSUPP;
+		return -EOPNOTSUPP;
 	}
 
 	if (cea_db_offsets(cea, &start, &end)) {
drivers/gpu/drm/drm_mipi_dbi.c +2 -3
index 1961f713aaab..f8154316a3b0 100644
@@ -955,7 +955,7 @@ static int mipi_dbi_typec1_command(struct mipi_dbi *dbi, u8 *cmd,
 	int ret;
 
 	if (mipi_dbi_command_is_read(dbi, *cmd))
-		return -ENOTSUPP;
+		return -EOPNOTSUPP;
 
 	MIPI_DBI_DEBUG_COMMAND(*cmd, parameters, num);
 
@@ -1187,8 +1187,7 @@ static ssize_t mipi_dbi_debugfs_command_write(struct file *file,
 	struct mipi_dbi_dev *dbidev = m->private;
 	u8 val, cmd = 0, parameters[64];
 	char *buf, *pos, *token;
-	unsigned int i;
-	int ret, idx;
+	int i, ret, idx;
 
 	if (!drm_dev_enter(&dbidev->drm, &idx))
 		return -ENODEV;
drivers/gpu/drm/drm_vblank.c +3 -3
index fd1fbc77871f..552ec82e9bc5 100644
@@ -1581,7 +1581,7 @@ int drm_wait_vblank_ioctl(struct drm_device *dev, void *data,
 	unsigned int flags, pipe, high_pipe;
 
 	if (!dev->irq_enabled)
-		return -EINVAL;
+		return -EOPNOTSUPP;
 
 	if (vblwait->request.type & _DRM_VBLANK_SIGNAL)
 		return -EINVAL;
@@ -1838,7 +1838,7 @@ int drm_crtc_get_sequence_ioctl(struct drm_device *dev, void *data,
 		return -EOPNOTSUPP;
 
 	if (!dev->irq_enabled)
-		return -EINVAL;
+		return -EOPNOTSUPP;
 
 	crtc = drm_crtc_find(dev, file_priv, get_seq->crtc_id);
 	if (!crtc)
@@ -1896,7 +1896,7 @@ int drm_crtc_queue_sequence_ioctl(struct drm_device *dev, void *data,
 		return -EOPNOTSUPP;
 
 	if (!dev->irq_enabled)
-		return -EINVAL;
+		return -EOPNOTSUPP;
 
 	crtc = drm_crtc_find(dev, file_priv, queue_seq->crtc_id);
 	if (!crtc)
drivers/gpu/drm/exynos/exynos_hdmi.c +18 -13
index bc1565f1822a..09aa73c0f2ad 100644
@@ -852,6 +852,10 @@ static enum drm_connector_status hdmi_detect(struct drm_connector *connector,
 
 static void hdmi_connector_destroy(struct drm_connector *connector)
 {
+	struct hdmi_context *hdata = connector_to_hdmi(connector);
+
+	cec_notifier_conn_unregister(hdata->notifier);
+
 	drm_connector_unregister(connector);
 	drm_connector_cleanup(connector);
 }
@@ -935,6 +939,7 @@ static int hdmi_create_connector(struct drm_encoder *encoder)
 {
 	struct hdmi_context *hdata = encoder_to_hdmi(encoder);
 	struct drm_connector *connector = &hdata->connector;
+	struct cec_connector_info conn_info;
 	int ret;
 
 	connector->interlace_allowed = true;
@@ -957,6 +962,15 @@ static int hdmi_create_connector(struct drm_encoder *encoder)
 			DRM_DEV_ERROR(hdata->dev, "Failed to attach bridge\n");
 	}
 
+	cec_fill_conn_info_from_drm(&conn_info, connector);
+
+	hdata->notifier = cec_notifier_conn_register(hdata->dev, NULL,
+						     &conn_info);
+	if (!hdata->notifier) {
+		ret = -ENOMEM;
+		DRM_DEV_ERROR(hdata->dev, "Failed to allocate CEC notifier\n");
+	}
+
 	return ret;
 }
 
@@ -1528,8 +1542,8 @@ static void hdmi_disable(struct drm_encoder *encoder)
 		 */
 		mutex_unlock(&hdata->mutex);
 		cancel_delayed_work(&hdata->hotplug_work);
-		cec_notifier_set_phys_addr(hdata->notifier,
-					   CEC_PHYS_ADDR_INVALID);
+		if (hdata->notifier)
+			cec_notifier_phys_addr_invalidate(hdata->notifier);
 		return;
 	}
 
@@ -2006,12 +2020,6 @@ static int hdmi_probe(struct platform_device *pdev)
 		}
 	}
 
-	hdata->notifier = cec_notifier_get(&pdev->dev);
-	if (hdata->notifier == NULL) {
-		ret = -ENOMEM;
-		goto err_hdmiphy;
-	}
-
 	pm_runtime_enable(dev);
 
 	audio_infoframe = &hdata->audio.infoframe;
@@ -2023,7 +2031,7 @@ static int hdmi_probe(struct platform_device *pdev)
 
 	ret = hdmi_register_audio_device(hdata);
 	if (ret)
-		goto err_notifier_put;
+		goto err_rpm_disable;
 
 	ret = component_add(&pdev->dev, &hdmi_component_ops);
 	if (ret)
@@ -2034,8 +2042,7 @@ static int hdmi_probe(struct platform_device *pdev)
 err_unregister_audio:
 	platform_device_unregister(hdata->audio.pdev);
 
-err_notifier_put:
-	cec_notifier_put(hdata->notifier);
+err_rpm_disable:
 	pm_runtime_disable(dev);
 
 err_hdmiphy:
@@ -2054,12 +2061,10 @@ static int hdmi_remove(struct platform_device *pdev)
 	struct hdmi_context *hdata = platform_get_drvdata(pdev);
 
 	cancel_delayed_work_sync(&hdata->hotplug_work);
-	cec_notifier_set_phys_addr(hdata->notifier, CEC_PHYS_ADDR_INVALID);
 
 	component_del(&pdev->dev, &hdmi_component_ops);
 	platform_device_unregister(hdata->audio.pdev);
 
-	cec_notifier_put(hdata->notifier);
 	pm_runtime_disable(&pdev->dev);
 
 	if (!IS_ERR(hdata->reg_hdmi_en))
drivers/gpu/drm/gma500/oaktrail_crtc.c +2 -0
index 167c10767dd4..900e5499249d 100644
@@ -129,6 +129,7 @@ static bool mrst_sdvo_find_best_pll(const struct gma_limit_t *limit,
 	s32 freq_error, min_error = 100000;
 
 	memset(best_clock, 0, sizeof(*best_clock));
+	memset(&clock, 0, sizeof(clock));
 
 	for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) {
 		for (clock.n = limit->n.min; clock.n <= limit->n.max;
@@ -185,6 +186,7 @@ static bool mrst_lvds_find_best_pll(const struct gma_limit_t *limit,
 	int err = target;
 
 	memset(best_clock, 0, sizeof(*best_clock));
+	memset(&clock, 0, sizeof(clock));
 
 	for (clock.m = limit->m.min; clock.m <= limit->m.max; clock.m++) {
 		for (clock.p1 = limit->p1.min; clock.p1 <= limit->p1.max;
drivers/gpu/drm/meson/meson_vclk.c +7 -2
index ac491a781952..f690793ae2d5 100644
@@ -638,13 +638,18 @@ static bool meson_hdmi_pll_validate_params(struct meson_drm *priv,
 		if (frac >= HDMI_FRAC_MAX_GXBB)
 			return false;
 	} else if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXM) ||
-		   meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXL) ||
-		   meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A)) {
+		   meson_vpu_is_compatible(priv, VPU_COMPATIBLE_GXL)) {
 		/* Empiric supported min/max dividers */
 		if (m < 106 || m > 247)
 			return false;
 		if (frac >= HDMI_FRAC_MAX_GXL)
 			return false;
+	} else if (meson_vpu_is_compatible(priv, VPU_COMPATIBLE_G12A)) {
+		/* Empiric supported min/max dividers */
+		if (m < 106 || m > 247)
+			return false;
+		if (frac >= HDMI_FRAC_MAX_G12A)
+			return false;
 	}
 
 	return true;
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c +12 -12
index e686331fa089..691c1a277d91 100644
@@ -352,26 +352,26 @@ static void a6xx_get_debugbus(struct msm_gpu *gpu,
 		cxdbg = ioremap(res->start, resource_size(res));
 
 	if (cxdbg) {
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_CNTLT,
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_CNTLT,
 			A6XX_DBGC_CFG_DBGBUS_CNTLT_SEGT(0xf));
 
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_CNTLM,
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_CNTLM,
 			A6XX_DBGC_CFG_DBGBUS_CNTLM_ENABLE(0xf));
 
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_IVTL_0, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_IVTL_1, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_IVTL_2, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_IVTL_3, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_IVTL_0, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_IVTL_1, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_IVTL_2, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_IVTL_3, 0);
 
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_BYTEL_0,
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_0,
 			0x76543210);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_BYTEL_1,
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_BYTEL_1,
 			0xFEDCBA98);
 
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_MASKL_0, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_MASKL_1, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_MASKL_2, 0);
-		cxdbg_write(cxdbg, REG_A6XX_DBGC_CFG_DBGBUS_MASKL_3, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_MASKL_0, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_MASKL_1, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_MASKL_2, 0);
+		cxdbg_write(cxdbg, REG_A6XX_CX_DBGC_CFG_DBGBUS_MASKL_3, 0);
 	}
 
 	a6xx_state->debugbus = state_kcalloc(a6xx_state,
drivers/gpu/drm/nouveau/nouveau_connector.c +17 -16
index 94dfa2e5a9ab..a442a955f98c 100644
@@ -1131,6 +1131,16 @@ nouveau_connector_hotplug(struct nvif_notify *notify)
 	const char *name = connector->name;
 	struct nouveau_encoder *nv_encoder;
 	int ret;
+	bool plugged = (rep->mask != NVIF_NOTIFY_CONN_V0_UNPLUG);
+
+	if (rep->mask & NVIF_NOTIFY_CONN_V0_IRQ) {
+		NV_DEBUG(drm, "service %s\n", name);
+		drm_dp_cec_irq(&nv_connector->aux);
+		if ((nv_encoder = find_encoder(connector, DCB_OUTPUT_DP)))
+			nv50_mstm_service(nv_encoder->dp.mstm);
+
+		return NVIF_NOTIFY_KEEP;
+	}
 
 	ret = pm_runtime_get(drm->dev->dev);
 	if (ret == 0) {
@@ -1151,25 +1161,16 @@ nouveau_connector_hotplug(struct nvif_notify *notify)
 		return NVIF_NOTIFY_DROP;
 	}
 
-	if (rep->mask & NVIF_NOTIFY_CONN_V0_IRQ) {
-		NV_DEBUG(drm, "service %s\n", name);
-		drm_dp_cec_irq(&nv_connector->aux);
-		if ((nv_encoder = find_encoder(connector, DCB_OUTPUT_DP)))
-			nv50_mstm_service(nv_encoder->dp.mstm);
-	} else {
-		bool plugged = (rep->mask != NVIF_NOTIFY_CONN_V0_UNPLUG);
-
+	if (!plugged)
+		drm_dp_cec_unset_edid(&nv_connector->aux);
+	NV_DEBUG(drm, "%splugged %s\n", plugged ? "" : "un", name);
+	if ((nv_encoder = find_encoder(connector, DCB_OUTPUT_DP))) {
 		if (!plugged)
-			drm_dp_cec_unset_edid(&nv_connector->aux);
-		NV_DEBUG(drm, "%splugged %s\n", plugged ? "" : "un", name);
-		if ((nv_encoder = find_encoder(connector, DCB_OUTPUT_DP))) {
-			if (!plugged)
-				nv50_mstm_remove(nv_encoder->dp.mstm);
-		}
-
-		drm_helper_hpd_irq_event(connector->dev);
+			nv50_mstm_remove(nv_encoder->dp.mstm);
 	}
 
+	drm_helper_hpd_irq_event(connector->dev);
+
 	pm_runtime_mark_last_busy(drm->dev->dev);
 	pm_runtime_put_autosuspend(drm->dev->dev);
 	return NVIF_NOTIFY_KEEP;
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +1 -0
index b5b14aa059ea..2aa89eaecf6f 100644
@@ -426,6 +426,7 @@ static int rpi_touchscreen_probe(struct i2c_client *i2c,
 		return PTR_ERR(ts->dsi);
 	}
 
+	drm_panel_init(&ts->base);
 	ts->base.dev = dev;
 	ts->base.funcs = &rpi_touchscreen_funcs;
 
drivers/gpu/drm/panel/panel-sitronix-st7789v.c +1 -0
index 5e3e92ea9ea6..3b2612ae931e 100644
@@ -381,6 +381,7 @@ static int st7789v_probe(struct spi_device *spi)
 	spi_set_drvdata(spi, ctx);
 	ctx->spi = spi;
 
+	drm_panel_init(&ctx->panel);
 	ctx->panel.dev = &spi->dev;
 	ctx->panel.funcs = &st7789v_drm_funcs;
 
drivers/gpu/drm/scheduler/sched_main.c +24 -19

79 lines not on this page · raw message

drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c +2 -2
index 1636344ba9ec..f83522717488 100644
@@ -437,9 +437,9 @@ static void sun6i_dsi_setup_burst(struct sun6i_dsi *dsi,
 			     SUN6I_DSI_BURST_LINE_SYNC_POINT(SUN6I_DSI_SYNC_POINT));
 
 		val = SUN6I_DSI_TCON_DRQ_ENABLE_MODE;
-	} else if ((mode->hsync_end - mode->hdisplay) > 20) {
+	} else if ((mode->hsync_start - mode->hdisplay) > 20) {
 		/* Maaaaaagic */
-		u16 drq = (mode->hsync_end - mode->hdisplay) - 20;
+		u16 drq = (mode->hsync_start - mode->hdisplay) - 20;
 
 		drq *= mipi_dsi_pixel_format_to_bpp(device->format);
 		drq /= 32;
drivers/gpu/drm/tegra/sor.c +5 -0
index e1669ada0a40..75e65d9536d5 100644
@@ -3200,6 +3200,11 @@ static int tegra_sor_parse_dt(struct tegra_sor *sor)
 		 * earlier
 		 */
 		sor->pad = TEGRA_IO_PAD_HDMI_DP0 + sor->index;
+	} else {
+		if (sor->soc->supports_edp)
+			sor->index = 0;
+		else
+			sor->index = 1;
 	}
 
 	err = of_property_read_u32_array(np, "nvidia,xbar-cfg", xbar_cfg, 5);
drivers/gpu/drm/ttm/ttm_bo.c +26 -18

73 lines not on this page · raw message

drivers/gpu/drm/vc4/vc4_hdmi.c +9 -4
index ee7d4e7b0ee3..0853b980bcb3 100644
@@ -1285,6 +1285,9 @@ static const struct cec_adap_ops vc4_hdmi_cec_adap_ops = {
 
 static int vc4_hdmi_bind(struct device *dev, struct device *master, void *data)
 {
+#ifdef CONFIG_DRM_VC4_HDMI_CEC
+	struct cec_connector_info conn_info;
+#endif
 	struct platform_device *pdev = to_platform_device(dev);
 	struct drm_device *drm = dev_get_drvdata(master);
 	struct vc4_dev *vc4 = drm->dev_private;
@@ -1403,13 +1406,15 @@ static int vc4_hdmi_bind(struct device *dev, struct device *master, void *data)
 #ifdef CONFIG_DRM_VC4_HDMI_CEC
 	hdmi->cec_adap = cec_allocate_adapter(&vc4_hdmi_cec_adap_ops,
 					      vc4, "vc4",
-					      CEC_CAP_TRANSMIT |
-					      CEC_CAP_LOG_ADDRS |
-					      CEC_CAP_PASSTHROUGH |
-					      CEC_CAP_RC, 1);
+					      CEC_CAP_DEFAULTS |
+					      CEC_CAP_CONNECTOR_INFO, 1);
 	ret = PTR_ERR_OR_ZERO(hdmi->cec_adap);
 	if (ret < 0)
 		goto err_destroy_conn;
+
+	cec_fill_conn_info_from_drm(&conn_info, hdmi->connector);
+	cec_s_conn_info(hdmi->cec_adap, &conn_info);
+
 	HDMI_WRITE(VC4_HDMI_CPU_MASK_SET, 0xffffffff);
 	value = HDMI_READ(VC4_HDMI_CEC_CNTRL_1);
 	value &= ~VC4_HDMI_CEC_DIV_CLK_CNT_MASK;
drivers/gpu/drm/virtio/virtgpu_ioctl.c +16 -12
index 0a88ef11b9d3..a662394f6892 100644
@@ -463,25 +463,29 @@ static int virtio_gpu_transfer_to_host_ioctl(struct drm_device *dev, void *data,
 }
 
 static int virtio_gpu_wait_ioctl(struct drm_device *dev, void *data,
-			    struct drm_file *file)
+				 struct drm_file *file)
 {
 	struct drm_virtgpu_3d_wait *args = data;
-	struct drm_gem_object *gobj = NULL;
-	struct virtio_gpu_object *qobj = NULL;
+	struct drm_gem_object *obj;
+	long timeout = 15 * HZ;
 	int ret;
-	bool nowait = false;
 
-	gobj = drm_gem_object_lookup(file, args->handle);
-	if (gobj == NULL)
+	obj = drm_gem_object_lookup(file, args->handle);
+	if (obj == NULL)
 		return -ENOENT;
 
-	qobj = gem_to_virtio_gpu_obj(gobj);
-
-	if (args->flags & VIRTGPU_WAIT_NOWAIT)
-		nowait = true;
-	ret = virtio_gpu_object_wait(qobj, nowait);
+	if (args->flags & VIRTGPU_WAIT_NOWAIT) {
+		ret = dma_resv_test_signaled_rcu(obj->resv, true);
+	} else {
+		ret = dma_resv_wait_timeout_rcu(obj->resv, true, true,
+						timeout);
+	}
+	if (ret == 0)
+		ret = -EBUSY;
+	else if (ret > 0)
+		ret = 0;
 
-	drm_gem_object_put_unlocked(gobj);
+	drm_gem_object_put_unlocked(obj);
 	return ret;
 }
 
drivers/gpu/host1x/job.c +6 -5
index eaa5c3352c13..22559670faee 100644
@@ -436,7 +436,8 @@ static int validate(struct host1x_firewall *fw, struct host1x_job_gather *g)
 	return err;
 }
 
-static inline int copy_gathers(struct host1x_job *job, struct device *dev)
+static inline int copy_gathers(struct device *host, struct host1x_job *job,
+			       struct device *dev)
 {
 	struct host1x_firewall fw;
 	size_t size = 0;
@@ -459,12 +460,12 @@ static inline int copy_gathers(struct host1x_job *job, struct device *dev)
 	 * Try a non-blocking allocation from a higher priority pools first,
 	 * as awaiting for the allocation here is a major performance hit.
 	 */
-	job->gather_copy_mapped = dma_alloc_wc(dev, size, &job->gather_copy,
+	job->gather_copy_mapped = dma_alloc_wc(host, size, &job->gather_copy,
 					       GFP_NOWAIT);
 
 	/* the higher priority allocation failed, try the generic-blocking */
 	if (!job->gather_copy_mapped)
-		job->gather_copy_mapped = dma_alloc_wc(dev, size,
+		job->gather_copy_mapped = dma_alloc_wc(host, size,
 						       &job->gather_copy,
 						       GFP_KERNEL);
 	if (!job->gather_copy_mapped)
@@ -512,7 +513,7 @@ int host1x_job_pin(struct host1x_job *job, struct device *dev)
 		goto out;
 
 	if (IS_ENABLED(CONFIG_TEGRA_HOST1X_FIREWALL)) {
-		err = copy_gathers(job, dev);
+		err = copy_gathers(host->dev, job, dev);
 		if (err)
 			goto out;
 	}
@@ -573,7 +574,7 @@ void host1x_job_unpin(struct host1x_job *job)
 	job->num_unpins = 0;
 
 	if (job->gather_copy_size)
-		dma_free_wc(job->channel->dev, job->gather_copy_size,
+		dma_free_wc(host->dev, job->gather_copy_size,
 			    job->gather_copy_mapped, job->gather_copy);
 }
 EXPORT_SYMBOL(host1x_job_unpin);
drivers/hwtracing/intel_th/core.c +4 -3
index 0dfd97bbde9e..ca232ec565e8 100644
@@ -834,9 +834,6 @@ static irqreturn_t intel_th_irq(int irq, void *data)
 			ret |= d->irq(th->thdev[i]);
 	}
 
-	if (ret == IRQ_NONE)
-		pr_warn_ratelimited("nobody cared for irq\n");
-
 	return ret;
 }
 
@@ -887,6 +884,7 @@ intel_th_alloc(struct device *dev, struct intel_th_drvdata *drvdata,
 
 			if (th->irq == -1)
 				th->irq = devres[r].start;
+			th->num_irqs++;
 			break;
 		default:
 			dev_warn(dev, "Unknown resource type %lx\n",
@@ -940,6 +938,9 @@ void intel_th_free(struct intel_th *th)
 
 	th->num_thdevs = 0;
 
+	for (i = 0; i < th->num_irqs; i++)
+		devm_free_irq(th->dev, th->irq + i, th);
+
[… more lines in the raw message]

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

drivers/hwtracing/intel_th/intel_th.h +2 -0
index 0df480072b6c..6f4f5486fe6d 100644

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

drivers/hwtracing/intel_th/msu.c +9 -5
index 6d240dfae9d9..8e48c7458aa3 100644

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

drivers/hwtracing/intel_th/pci.c +10 -0
index ebf3e30e989a..e9d90b53bbc4 100644

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

drivers/iio/adc/dln2-adc.c +14 -6
index 5fa78c273a25..65c7c9329b1c 100644

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

drivers/iio/adc/max1027.c +8 -0
index 214883458582..e3be8eedd773 100644

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

drivers/iio/dac/Kconfig +2 -2
index cc42219a64f7..979070196da9 100644

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

drivers/iio/dac/ad5446.c +6 -0
index 7df8b4cc295d..61c670f7fc5f 100644

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

drivers/iio/light/bh1750.c +2 -2
index 28347df78cff..adb5ab9e3439 100644

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

drivers/iio/pressure/cros_ec_baro.c +3 -0
index 2354302375de..52f53f3123b1 100644

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

drivers/iio/temperature/max31856.c +2 -0
index f184ba5601d9..73ed550e3fc9 100644

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

drivers/infiniband/core/device.c +19 -3
index 50a92442c4f7..2b5bd7206fc6 100644

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

drivers/infiniband/hw/bnxt_re/main.c +5 -4
index 30a54f8aa42c..27e2df44d043 100644

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

drivers/infiniband/hw/bnxt_re/qplib_res.h +6 -2
index fbda11a7ab1a..aaa76d792185 100644

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

drivers/infiniband/hw/efa/efa_com.c +4 -1
index 3c412bc5b94f..0778f4f7dccd 100644

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

drivers/infiniband/hw/hns/hns_roce_restrack.c +7 -3
index 0a31d0a3d657..06871731ac43 100644

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

drivers/infiniband/hw/hns/hns_roce_srq.c +14 -10
index 43ea2c13b212..108667ae6b14 100644

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

drivers/infiniband/hw/qedr/main.c +1 -0
index dc71b6e16a07..b462eaca1ee3 100644

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

drivers/infiniband/hw/qedr/verbs.c +10 -2
index 6f3ce86019b7..a7ccca3c4f89 100644

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

drivers/infiniband/sw/siw/siw_main.c +0 -20
index 05a92f997f60..fb01407a310f 100644

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

drivers/infiniband/sw/siw/siw_verbs.c +121 -22

143 lines not on this page · raw message

drivers/infiniband/ulp/iser/iscsi_iser.c +1 -0
index 2e72fc5af157..c4c015c60446 100644

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

drivers/iommu/intel-iommu.c +2 -10
index 6db6d969e31c..4ce797d4259f 100644

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

drivers/iommu/iommu.c +4 -4
index d658c7c6a2ab..24248aa8a7e5 100644

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

drivers/md/bcache/alloc.c +4 -1
index 6f776823b9ba..a1df0d95151c 100644

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

drivers/md/bcache/bcache.h +1 -1
index 013e35a9e317..deb924e1d790 100644

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

drivers/md/bcache/super.c +37 -14

51 lines not on this page · raw message

drivers/md/md-bitmap.c +1 -1
index b092c7b5282f..3ad18246fcb3 100644

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

drivers/md/md.c +40 -6

46 lines not on this page · raw message

drivers/media/i2c/Kconfig +1 -0
index 7eee1812bba3..fcffcc31d168 100644

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

drivers/media/i2c/ad5820.c +1 -0
index 925c171e7797..7a49651f4d1f 100644

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

drivers/media/i2c/ov2659.c +13 -5
index f4ded0669ff9..e1ff38009cf0 100644

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

drivers/media/i2c/ov5640.c +5 -0
index 500d9bbff10b..18dd2d717088 100644

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

drivers/media/i2c/ov6650.c +43 -32

75 lines not on this page · raw message

drivers/media/i2c/smiapp/smiapp-core.c +8 -4
index 9adf8e034e7d..42805dfbffeb 100644

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

drivers/media/i2c/st-mipid02.c +5 -0
index 81285b8d5cfb..003ba22334cd 100644

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

drivers/media/pci/cx88/cx88-video.c +7 -4
index dcc0f02aeb70..b8abcd550604 100644

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

drivers/media/platform/am437x/am437x-vpfe.c +4 -0
index 2b42ba1f5949..e13dbf27a9c2 100644

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

drivers/media/platform/aspeed-video.c +12 -0
index eb12f3793062..096a7c9a8963 100644

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

drivers/media/platform/exynos4-is/media-dev.c +4 -3
index a838189d4490..9aaf3b8060d5 100644

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

drivers/media/platform/meson/ao-cec-g12a.c +18 -18
index 3b39e875292e..3d8fe854feb0 100644

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

drivers/media/platform/meson/ao-cec.c +15 -15
index 64ed549bf012..03600e8b3ef0 100644

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

drivers/media/platform/qcom/venus/core.c +5 -4
index e6eff512a8a1..84e982f259a0 100644

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

drivers/media/platform/qcom/venus/hfi_venus.c +6 -0
index 7129a2aea09a..0d8855014ab3 100644

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

drivers/media/platform/rcar_drif.c +1 -0
index 608e5217ccd5..0f267a237b42 100644

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

drivers/media/platform/seco-cec/seco-cec.c +1 -0
index 9cd60fe1867c..a86b6e8f9196 100644

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

drivers/media/platform/ti-vpe/vpdma.h +1 -0
index 28bc94129348..9bacfd603250 100644

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

drivers/media/platform/ti-vpe/vpe.c +38 -14

52 lines not on this page · raw message

drivers/media/platform/vicodec/vicodec-core.c +3 -1
index 0ee143ae0f6b..82350097503e 100644

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

drivers/media/platform/vim2m.c +7 -1
index acd3bd48c7e2..8d6b09623d88 100644

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

drivers/media/platform/vimc/vimc-common.c +1 -2
index 7e1ae0b12f1e..a3120f4f7a90 100644

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

drivers/media/platform/vimc/vimc-debayer.c +1 -0
index b72b8385067b..baafd9d7fb2c 100644

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

drivers/media/platform/vimc/vimc-scaler.c +1 -0
index 49ab8d9dd9c9..c0d9f43d5777 100644

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

drivers/media/platform/vimc/vimc-sensor.c +1 -0
index 4a6a7e8e66c2..420573e5f6d6 100644

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

drivers/media/platform/vivid/vivid-core.c +3 -1
index 53315c8dd2bb..f6a5cdbd74e7 100644

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

drivers/media/radio/si470x/radio-si470x-i2c.c +2 -0
index 7541698a0be1..f491420d7b53 100644

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

drivers/media/usb/b2c2/flexcop-usb.c +7 -1
index 1a801dc286f8..d1331f828108 100644

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

drivers/media/usb/pvrusb2/pvrusb2-v4l2.c +7 -2
index a34717eba409..eaa08c7999d4 100644

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

drivers/media/v4l2-core/v4l2-ctrls.c +7 -0
index 1d8f38824631..cd84dbbf6a89 100644

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

drivers/media/v4l2-core/v4l2-ioctl.c +18 -15
index 51b912743f0f..21bb96ce4cd6 100644

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

drivers/misc/fastrpc.c +2 -2
index 1b1a794d639d..842f2210dc7e 100644

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

drivers/misc/ocxl/file.c +11 -12
index 2870c25da166..4d1b44de1492 100644

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

drivers/mmc/host/mtk-sd.c +2 -0
index 189e42674d85..010fe29a4888 100644

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

drivers/mmc/host/sdhci-msm.c +19 -9
index b75c82d8d6c1..3d0bb5e2e09b 100644

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

drivers/mmc/host/sdhci-of-esdhc.c +2 -5
index 1d1953dfc54b..889ed98ec0e7 100644

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

drivers/mmc/host/sdhci-pci-core.c +9 -1
index eaffa85bc728..642a9667db4d 100644

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

drivers/mmc/host/sdhci.c +6 -5
index b056400e34b1..5f9df2dbde06 100644

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

drivers/mmc/host/sdhci.h +2 -0
index 0ed3e0eaef5f..fe83ece6965b 100644

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

drivers/mmc/host/tmio_mmc_core.c +1 -1
index 9b6e1001e77c..dec5a99f52cf 100644

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

drivers/net/bonding/bond_main.c +21 -18
index 62f65573eb04..face00c622ed 100644

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

drivers/net/can/flexcan.c +36 -37

73 lines not on this page · raw message

drivers/net/can/m_can/tcan4x5x.c +2 -0
index 3db619209fe1..d5d4bfa9c8fd 100644

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

drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c +3 -3
index 07d2f3aa2c02..ae4c37e1bb75 100644

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

drivers/net/can/xilinx_can.c +7 -0
index 7c482b2d78d2..2be846ee627d 100644

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

drivers/net/dsa/Kconfig +1 -0
index f6232ce8481f..685e12b05a7c 100644

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

drivers/net/dsa/b53/b53_common.c +16 -5
index cc3536315eff..a7132c1593c3 100644

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

drivers/net/dsa/sja1105/sja1105_main.c +4 -0
index aa140662c7c2..4e5a428ab1a4 100644

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

drivers/net/ethernet/amazon/ena/ena_com.h +1 -1
index 7c941eba0bc9..0ce37d54ed10 100644

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

drivers/net/ethernet/amazon/ena/ena_ethtool.c +10 -14
index 16553d92fad2..8c1c73b0ced7 100644

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

drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c +11 -5
index 0edbb0a76847..5097a44686b3 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt.c +6 -2
index 04ec909e06df..527e1bf93116 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt.h +1 -0
index d333589811a5..5163bb848618 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c +8 -1
index 7151244f8c7d..7d2cfea05737 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +2 -0
index 51c140476717..89f95428556e 100644

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

drivers/net/ethernet/cortina/gemini.c +2 -0
index a8f4c69252ff..2814b96751b4 100644

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

drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c +8 -6
index a9503aea527f..6437fe6b9abf 100644

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

drivers/net/ethernet/hisilicon/hip04_eth.c +1 -1
index 4606a7e4a6d1..2ffe035e96d6 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +3 -0
index 616cad0faa21..84d8816c8681 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +3 -0
index c052bb33b3d3..162881005a6d 100644

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

drivers/net/ethernet/ibm/ibmvnic.c +11 -8
index 0686ded7ad3a..e1ab2feeae53 100644

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

drivers/net/ethernet/intel/i40e/i40e_common.c +10 -3
index 7560f06768e0..3160b5bbe672 100644

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

drivers/net/ethernet/intel/i40e/i40e_ethtool.c +16 -16
index 41e1240acaea..b577e6adf3bf 100644

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

drivers/net/ethernet/intel/i40e/i40e_main.c +5 -5
index 6031223eafab..339925af0206 100644

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

drivers/net/ethernet/intel/ice/ice_controlq.c +1 -1
index 2353166c654e..c68709c7ef81 100644

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

drivers/net/ethernet/intel/ice/ice_controlq.h +3 -2
index 44945c2165d8..4df9da359135 100644

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

drivers/net/ethernet/intel/ice/ice_ethtool.c +10 -3
index 7e23034df955..1fe9f6050635 100644

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

drivers/net/ethernet/intel/ice/ice_main.c +14 -4
index 214cd6eca405..2408f0de95fc 100644

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

drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c +8 -4
index b45797f39b2f..c0637a0cbfe8 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +2 -1
index 91b3780ddb04..1a7203fede12 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +6 -0
index c2c7f214a56a..814a4ba4e7fa 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c +6 -1
index 39d600c8b92d..210ebc91d3d6 100644

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

drivers/net/ethernet/netronome/nfp/flower/metadata.c +6 -6
index 7c4a15e967df..5defd31d481c 100644

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

drivers/net/ethernet/qlogic/qede/qede_filter.c +1 -1
index 9a6a9a008714..c8bdbf057d5a 100644

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

drivers/net/ethernet/qlogic/qede/qede_main.c +2 -2
index a220cc7c947a..ba53612ae0df 100644

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

drivers/net/ethernet/qlogic/qla3xxx.c +4 -4
index b4b8ba00ee01..986f26578d34 100644

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

drivers/net/ethernet/realtek/r8169_main.c +15 -3
index 4fe0977d01fa..5ae0b5663d54 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +1 -1
index 170c3a052b14..1f230bd854c4 100644

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

drivers/net/ethernet/ti/Kconfig +1 -0
index 834afca3a019..137632b09c72 100644

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

drivers/net/ethernet/ti/cpsw_ale.c +2 -0
index 84025dcc78d5..e7c24396933e 100644

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

drivers/net/ethernet/ti/davinci_cpdma.c +2 -3
index 37ba708ac781..6614fa3089b2 100644

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

drivers/net/fjes/fjes_main.c +3 -0
index b517c1af9de0..91a1059517f5 100644

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

drivers/net/phy/dp83867.c +10 -5
index 37fceaf9fa10..cf4455bbf888 100644

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

drivers/net/phy/phy_device.c +12 -9
index adb66a2fae18..2bf0fda209a8 100644

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

drivers/net/team/team.c +4 -1
index 8156b33ee3e7..ca70a1d840eb 100644

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

drivers/net/tun.c +2 -2
index a8d3141582a5..16564ebcde50 100644

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

drivers/net/usb/lan78xx.c +1 -0
index f24a1b0b801f..0becc79fd431 100644

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

drivers/net/wireless/ath/ath10k/coredump.c +8 -3
index b6d2932383cf..1cfe75a2d0c3 100644

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

drivers/net/wireless/ath/ath10k/htt_rx.c +1 -1
index 53f1095de8ff..9f0e7b4943ec 100644

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

drivers/net/wireless/ath/ath10k/mac.c +14 -12
index a6d21856b7e7..36d24ea126a2 100644

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

drivers/net/wireless/ath/ath10k/txrx.c +2 -0
index 4102df016931..39abf8b12903 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c +5 -0
index 406b367c284c..85cf96461dde 100644

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

drivers/net/wireless/intel/iwlwifi/dvm/led.c +3 -0
index dd387aba3317..e8a4d604b910 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/led.c +3 -0
index d104da9170ca..72c4b2b8399d 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/rx.c +2 -1
index 0ad8ed23a455..5ee33c8ae9d2 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/rx.c +11 -2
index 19dd075f2f63..041dd75ac72b 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/trans-gen2.c +0 -25
index ca3bb4d65b00..df8455f14e4d 100644

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

drivers/net/wireless/intel/iwlwifi/pcie/trans.c +30 -0
index 6961f00ff812..d3db38c3095b 100644

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

drivers/net/wireless/marvell/libertas/if_sdio.c +5 -0
index 242d8845da3f..30f1025ecb9b 100644

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

drivers/net/wireless/marvell/mwifiex/pcie.c +4 -1
index eff06d59e9df..096334e941a1 100644

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

drivers/net/wireless/mediatek/mt76/mt7603/mac.c +3 -1
index c328192307c4..ff3f3d98b625 100644

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

drivers/net/wireless/mediatek/mt76/mt7615/mac.c +3 -1
index e07ce2c10013..111e38ff954a 100644

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

drivers/net/wireless/quantenna/qtnfmac/commands.c +4 -2
index dc0c7244b60e..c0c32805fb8d 100644

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

drivers/net/wireless/quantenna/qtnfmac/event.c +4 -3
index b57c8c18a8d0..7846383c8828 100644

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

drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c +5 -1
index 8ae318b5fe54..4824be0c6231 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h +1 -0
index ade057d868f7..5e9ce03067de 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c +1 -0
index ceffe05bd65b..f3cd314d1a9c 100644

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

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +3 -0
index c6c41fb962ff..361248e97568 100644

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

drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c +2 -0
index 56cc3bc30860..f070f25bb735 100644

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

drivers/net/wireless/realtek/rtlwifi/usb.c +4 -1
index 4b59f3b46b28..348b0072cdd6 100644

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

drivers/net/wireless/realtek/rtw88/coex.c +15 -9
index 793b40bdbf7c..3e95ad198912 100644

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

drivers/net/wireless/realtek/rtw88/main.c +2 -1
index 6dd457741b15..7a3a4911bde2 100644

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

drivers/nfc/nxp-nci/i2c.c +1 -1
index 4d1909aecd6c..9f60e4dc5a90 100644

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

drivers/nvme/host/core.c +10 -4
index af3212aec871..a6b7b242d516 100644

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

drivers/nvme/host/multipath.c +1 -0
index e0f064dcbd02..132ade51ee87 100644

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

drivers/nvmem/imx-ocotp.c +4 -0
index dff2f3c357f5..fc40555ca4cd 100644

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

drivers/parport/share.c +21 -0
index 7b4ee33c1935..15c81cffd2de 100644

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

drivers/phy/qualcomm/phy-qcom-usb-hs.c +5 -2
index b163b3a1558d..61054272a7c8 100644

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

drivers/phy/renesas/phy-rcar-gen2.c +4 -1
index 2926e4937301..2e279ac0fa4d 100644

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

drivers/pinctrl/devicetree.c +20 -5
index 5d6d8b1e9062..dbaacde1b36a 100644

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

drivers/pinctrl/intel/pinctrl-baytrail.c +44 -37

81 lines not on this page · raw message

drivers/pinctrl/pinctrl-amd.c +2 -1
index 2c61141519f8..eab078244a4c 100644

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

drivers/pinctrl/qcom/pinctrl-sc7180.c +10 -8
index 6399c8a2bc22..d6cfad7417b1 100644

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

drivers/pinctrl/sh-pfc/pfc-r8a77990.c +14 -11
index 2dfb8d9cfda1..5200dadd6b3e 100644

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

drivers/pinctrl/sh-pfc/pfc-sh7734.c +2 -2
index 5dfd991ffdaa..dbc36079c381 100644

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

drivers/platform/x86/hp-wmi.c +1 -1
index 9579a706fc08..a881b709af25 100644

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

drivers/power/supply/cpcap-battery.c +5 -3
index 61d6447d1966..00a96e4a1cdc 100644

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

drivers/regulator/core.c +4 -1
index a46be221dbdc..87bc06b386a0 100644

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

drivers/regulator/max8907-regulator.c +12 -3
index 76152aaa330b..96dc0eea7659 100644

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

drivers/soundwire/intel.c +8 -2
index 13c54eac0cc3..d1839707128a 100644

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

drivers/spi/spi-cadence.c +3 -3
index c36587b42e95..82a0ee09cbe1 100644

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

drivers/spi/spi-dw.c +5 -3
index 9a49e073e8b7..45972056ed8c 100644

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

drivers/spi/spi-fsl-spi.c +3 -4
index 4b80ace1d137..2d563874b4ac 100644

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

drivers/spi/spi-gpio.c +3 -1
index 1d3e23ec20a6..f9c5bbb74714 100644

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

drivers/spi/spi-img-spfi.c +2 -0
index 439b01e4a2c8..f4a8f470aecc 100644

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

drivers/spi/spi-pxa2xx.c +6 -0
index bb6a14d1ab0f..2e73d75a6ac5 100644

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

drivers/spi/spi-sifive.c +7 -4
index 35254bdc42c4..f7c1e20432e0 100644

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

drivers/spi/spi-sprd-adi.c +3 -0
index 9a051286f120..9613cfe3c0a2 100644

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

drivers/spi/spi-st-ssc4.c +3 -0
index 0c24c494f386..77d26d64541a 100644

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

drivers/spi/spi-tegra20-slink.c +4 -1
index 111fffc91435..374a2a32edcd 100644

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

drivers/spi/spidev.c +3 -0
index 255786f2e844..3ea9d8a3e6e8 100644

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

drivers/staging/comedi/drivers/gsc_hpdi.c +10 -0
index 4bdf44d82879..dc62db1ee1dd 100644

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

drivers/staging/fbtft/fbtft-core.c +1 -1
index a0a67aa517f0..61f0286fb157 100644

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

drivers/staging/iio/frequency/ad9834.c +4 -0
index 038d6732c3fd..23026978a5a5 100644

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

drivers/staging/media/imx/imx-media-capture.c +4 -2
index b33a07bc9105..46576e32581f 100644

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

drivers/staging/media/imx/imx7-mipi-csis.c +6 -1
index 73d8354e618c..e50b1f88e25b 100644

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

drivers/staging/media/sunxi/cedrus/cedrus.c +2 -0
index 2d3ea8b74dfd..3439f6ad6338 100644

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

drivers/staging/media/sunxi/cedrus/cedrus.h +6 -2
index 2f017a651848..3758a1c4e2d0 100644

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

drivers/staging/media/sunxi/cedrus/cedrus_h264.c +6 -2
index d6a782703c9b..08c6c9c410cc 100644

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

drivers/staging/media/sunxi/cedrus/cedrus_regs.h +17 -14
index ddd29788d685..f9dd8cbf3458 100644

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

drivers/staging/mt7621-pci/Kconfig +0 -1
index af928b75a940..ce58042f2f21 100644

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

drivers/staging/rtl8188eu/core/rtw_xmit.c +2 -2
index 952f2ab51347..c37591657bac 100644

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

drivers/staging/rtl8192u/r8192U_core.c +12 -5
index 2821411878ce..511136dce3a4 100644

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

drivers/staging/wilc1000/wilc_hif.c +2 -0
index d3d9ea284816..77d0732f451b 100644

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

drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +12 -6
index 22f21831649b..c3cd6f389a98 100644

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

drivers/tty/serial/atmel_serial.c +22 -21

43 lines not on this page · raw message

drivers/tty/serial/sprd_serial.c +3 -0
index 771d11196523..494e2672ebd7 100644

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

drivers/usb/core/devio.c +14 -1
index 3f899552f6e3..6ca40d135430 100644

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

drivers/usb/host/ehci-q.c +12 -1
index aa2f77f1506d..8a5c9b3ebe1e 100644

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

drivers/usb/host/xhci-pci.c +4 -2
index 1904ef56f61c..4917c5b033fa 100644

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

drivers/usb/renesas_usbhs/common.h +2 -1
index 0824099b905e..ef1735d014da 100644

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

drivers/usb/renesas_usbhs/mod_gadget.c +9 -3
index cd38d74b3223..53489cafecc1 100644

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

drivers/usb/usbip/usbip_common.c +3 -0
index 6532d68e8808..e4b96674c405 100644

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

drivers/usb/usbip/vhci_rx.c +9 -4
index 33f8972ba842..00fc98741c5d 100644

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

drivers/xen/Kconfig +2 -1
index 79cc75096f42..a50dadd01093 100644

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

fs/btrfs/async-thread.c +44 -12

56 lines not on this page · raw message

fs/btrfs/ctree.c +1 -1
index e59cde204b2f..da9b0f060a9d 100644

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

fs/btrfs/ctree.h +1 -1
index fe2b8765d9e6..5e9f80b28fcf 100644

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

fs/btrfs/disk-io.c +1 -1
index 402b61bf345c..3895c21853cc 100644

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

fs/btrfs/extent-tree.c +4 -3
index 49cb26fa7c63..eb95ed78a18e 100644

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

fs/btrfs/extent_io.c +4 -2
index 4905f48587df..be9dc78aa727 100644

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

fs/btrfs/file-item.c +5 -2
index 1a599f50837b..c878bc25d046 100644

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

fs/btrfs/inode.c +4 -8
index 10a01dd0c4e6..e5758f62e8d8 100644

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

fs/btrfs/ioctl.c +8 -2
index 23272d9154f3..a56dcc0c9c2a 100644

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

fs/btrfs/reada.c +4 -6
index ee6f60547a8d..dd4f9c2b7107 100644

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

fs/btrfs/relocation.c +1 -0
index 5cd42b66818c..fd0f4c1696c8 100644

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

fs/btrfs/scrub.c +1 -2
index f7d4e03f4c5d..a0770a6aee00 100644

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

fs/btrfs/send.c +0 -6
index 518ec1265a0c..3eb0fec2488a 100644

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

fs/btrfs/tests/free-space-tree-tests.c +2 -2
index bc92df977630..6e774d055402 100644

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

fs/btrfs/tests/qgroup-tests.c +2 -2
index 09aaca1efd62..ac035a6fa003 100644

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

fs/btrfs/tree-checker.c +16 -2
index 076d5b8014fb..0e44db066641 100644

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

fs/btrfs/tree-log.c +47 -5

52 lines not on this page · raw message

fs/btrfs/uuid-tree.c +2 -0
index 91caab63bdf5..76b84f2397b1 100644

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

fs/ext4/dir.c +5 -0
index 9fdd2b269d61..6305d5ec25af 100644

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

fs/ext4/inode.c +2 -2
index 91da21890360..53134e4509b8 100644

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

fs/ext4/namei.c +18 -14
index 923476e3aefb..f56402e9c11c 100644

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

fs/ext4/super.c +69 -74

143 lines not on this page · raw message

include/drm/drm_dp_mst_helper.h +1 -1
index 2ba6253ea6d3..fc349204a71b 100644

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

include/linux/cpufreq.h +0 -11
index 92d5fdc8154e..31b1b0e03df8 100644

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

include/linux/ipmi_smi.h +8 -4
index 4dc66157d872..deec18b8944a 100644

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

include/linux/mod_devicetable.h +2 -2
index 5714fd35a83c..e3596db077dc 100644

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

include/linux/nvme.h +1 -0
index f61d6906e59d..a260cd754f28 100644

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

include/linux/nvmem-consumer.h +1 -1
index 8f8be5b00060..5c17cb733224 100644

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

include/linux/phy.h +1 -1
index 9a0e981df502..3d5d53313e6c 100644

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

include/linux/sched/cpufreq.h +3 -0
index afa940cd50dc..cc6bcc1e96bc 100644

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

include/net/arp.h +2 -2
index c8f580a0e6b1..4950191f6b2b 100644

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

include/net/dst.h +1 -1
index fe62fe2eb781..8224dad2ae94 100644

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

include/net/ndisc.h +4 -4
index b2f715ca0567..b5ebeb3b0de0 100644

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

include/net/neighbour.h +0 -1
index b8452cc0e059..5e679c8dae0b 100644

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

include/net/sock.h +6 -6
index 718e62fbe869..013396e50b91 100644

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

include/trace/events/wbt.h +8 -4
index b048694070e2..37342a13c9cb 100644

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

include/uapi/linux/cec-funcs.h +4 -2
index 8997d5068c08..4511b85c84df 100644

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

kernel/bpf/stackmap.c +4 -3
index 052580c33d26..173e983619d7 100644

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

kernel/bpf/verifier.c +19 -0
index ffc3e53f5300..9e7cee5307e0 100644

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

kernel/cgroup/freezer.c +9 -0
index 8cf010680678..3984dd6b8ddb 100644

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

kernel/events/core.c +2 -4
index 00a014670ed0..8f66a4833ded 100644

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

kernel/sched/core.c +3 -3
index 44123b4d14e8..8dacda4b0362 100644

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

kernel/sched/cpufreq.c +18 -0
index b5dcd1d83c7f..7c2fe50fd76d 100644

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

kernel/sched/cpufreq_schedutil.c +3 -5
index 86800b4d5453..b6f56e7c8dd1 100644

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

kernel/sched/sched.h +1 -1
index c8870c5bd7df..49ed949f850c 100644

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

kernel/trace/trace.c +1 -1
index 6a0ee9178365..2fa72419bbd7 100644

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

kernel/trace/trace_kprobe.c +24 -3
index 1552a95c743b..7f890262c8a3 100644

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

lib/ubsan.c +4 -1
index e7d31735950d..0c4681118fcd 100644

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

mm/vmscan.c +1 -1
index ee4eecc7e1c2..e7f10c4b40f0 100644

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

net/bluetooth/hci_conn.c +8 -0
index ad5b0ac1f9ce..7ff92dd4c53c 100644

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

net/bluetooth/hci_core.c +10 -3
index 04bc79359a17..0cc9ce917222 100644

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

net/bluetooth/hci_request.c +9 -0
index 7f6a581b5b7e..3d25dbf10b26 100644

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

net/can/j1939/socket.c +7 -3
index de09b0a65791..f7587428febd 100644

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

net/core/neighbour.c +0 -3
index 5480edff0c86..08ebc3ac5343 100644

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

net/core/net-sysfs.c +5 -2
index ae3bcb1540ec..b4db68e5caa9 100644

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

net/mac80211/status.c +2 -1
index ab8ba5835ca0..5a3d645fe1bc 100644

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

net/nfc/nci/uart.c +1 -1
index 78fe622eba65..11b554ce07ff 100644

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

net/packet/af_packet.c +2 -1
index 82a50e850245..529d4ce945db 100644

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

net/sctp/protocol.c +5 -0
index 08d14d86ecfb..681ffb3545db 100644

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

net/sctp/stream.c +6 -2
index e83cdaa2ab76..6a30392068a0 100644

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

net/smc/smc_core.c +7 -2
index 2ba97ff325a5..0c5fcb8ed404 100644

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

samples/pktgen/functions.sh +11 -6
index 4af4046d71be..40873a5d1461 100644

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

sound/core/pcm_native.c +6 -1
index 91c6ad58729f..d4280568a41e 100644

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

sound/core/timer.c +10 -0
index 59ae21b0bb93..013f0e69ff0f 100644

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

sound/firewire/bebob/bebob_stream.c +6 -5
index 6c1497d9f52b..ce07ea0d4e71 100644

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

sound/pci/hda/patch_ca0132.c +19 -4
index b7a1abb3e231..32ed46464af7 100644

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

sound/soc/codecs/rt5677.c +1 -0
index 315a3d39bc09..8bc9450da79c 100644

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

sound/soc/codecs/wm2200.c +5 -0
index cf64e109c658..7b087d94141b 100644

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

sound/soc/codecs/wm5100.c +2 -0
index 4af0e519e623..91cc63c5a51f 100644

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

sound/soc/codecs/wm8904.c +1 -0
index bcb3c9d5abf0..9e8c564f6e9c 100644

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

sound/soc/intel/boards/bytcr_rt5640.c +6 -4
index 9c1aa4ec9cba..dd2b5ad08659 100644

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

sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c +3 -0
index 74dda8784f1a..67b276a65a8d 100644

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

sound/soc/soc-pcm.c +10 -4
index b600d3eaaf5c..a6e96cf1d8ff 100644

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

sound/soc/sof/imx/Kconfig +6 -2
index 5acae75f5750..71f318bc2c74 100644

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

sound/soc/sof/intel/hda.c +1 -0
index 06e84679087b..5a5163eef2ef 100644

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

sound/soc/sof/topology.c +4 -0
index 4452594c2e17..fa299e078156 100644

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

tools/arch/x86/lib/x86-opcode-map.txt +12 -6
index e0b85930dd77..0a0e9112f284 100644

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

tools/bpf/Makefile +6 -0
index 5d1995fd369c..5535650800ab 100644

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

tools/lib/bpf/btf_dump.c +7 -1
index ede55fec3618..87f27e2664c5 100644

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

tools/lib/bpf/libbpf.c +10 -4
index e0276520171b..a267cd0c0ce2 100644

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

tools/lib/bpf/xsk.c +11 -3
index a902838f9fcc..70f9e10de286 100644

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

tools/lib/subcmd/Makefile +3 -1
index 5b2cd5e58df0..5dbb0dde208c 100644

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

tools/lib/traceevent/parse-filter.c +7 -2
index 552592d153fb..f3cbf86e51ac 100644

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

tools/memory-model/linux-kernel.cat +1 -1
index ea2ff4b94074..2a9b4fe4a84e 100644

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

tools/objtool/check.c +1 -0
index 044c9a3cb247..f53d3c515cdc 100644

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

tools/perf/arch/arm64/util/sym-handling.c +2 -1
index 5df788985130..8dfa3e5229f1 100644

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

tools/perf/builtin-report.c +7 -0
index aae0e57c60fb..7accaf8ef689 100644

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

tools/perf/pmu-events/arch/arm64/hisilicon/hip08/uncore-ddrc.json +1 -1
index 0d1556fcdffe..99f4fc425564 100644

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

tools/perf/pmu-events/jevents.c +11 -2
index e2837260ca4d..99e3fd04a5cb 100644

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

tools/perf/tests/bp_signal.c +6 -9
index c1c2c13de254..166f411568a5 100644

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

tools/perf/tests/task-exit.c +9 -0
index bce3a4cb4c89..d85c9f608564 100644

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

tools/perf/util/cs-etm.c +2 -2
index 4ba0f871f086..f5f855fff412 100644

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

tools/perf/util/dwarf-aux.c +66 -14

80 lines not on this page · raw message

tools/perf/util/dwarf-aux.h +3 -0
index f204e5892403..506006e0cf66 100644

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

tools/perf/util/parse-events.c +19 -7
index b5e2adef49de..422ad1888e74 100644

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

tools/perf/util/probe-finder.c +40 -5

45 lines not on this page · raw message

tools/perf/util/session.c +27 -17

44 lines not on this page · raw message

tools/power/cpupower/utils/idle_monitor/hsw_ext_idle.c +0 -1
index 7c7451d3f494..58dbdfd4fa13 100644

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

tools/testing/selftests/bpf/cgroup_helpers.c +1 -1
index e95c33e333a4..b29a73fe64db 100644

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

tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c +4 -1
index 3a62119c7498..35c512818a56 100644

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

tools/testing/selftests/bpf/progs/test_seg6_loop.c +3 -1
index c4d104428643..69880c1e7700 100644

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

tools/testing/selftests/bpf/progs/test_sysctl_loop1.c +4 -1
index 608a06871572..d22e438198cf 100644

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

tools/testing/selftests/bpf/test_progs.c +12 -5
index af75a1c7a458..3bf18364c67c 100644

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

tools/testing/selftests/bpf/test_tc_tunnel.sh +5 -0
index ff0d31d38061..7c76b841b17b 100755

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

tools/testing/selftests/net/forwarding/router_bridge_vlan.sh +1 -1
index fef88eb4b873..fa6a88c50750 100755

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

tools/testing/selftests/net/so_txtime.c +2 -2
index 53f598f06647..34df4c8882af 100644

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

tools/testing/selftests/net/tls.c +0 -28
index 13e5ef615026..0ea44d975b6c 100644

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

tools/testing/selftests/net/udpgso.c +2 -1
index 614b31aad168..c66da6ffd6d8 100644

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

tools/testing/selftests/net/udpgso_bench_tx.c +2 -1
index ada99496634a..17512a43885e 100644

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

tools/testing/selftests/proc/proc-self-map-files-002.c +5 -1
index 47b7473dedef..e6aa00a183bc 100644

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

virt/kvm/arm/mmu.c +17 -4
index 38b4c910b6c3..f23c9cd5684f 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.