Skip to contentSkip to conversation

Linux 5.12.3

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages May 12, 2021 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 5.12.3 kernel.

All users of the 5.12 kernel series must upgrade.

The updated 5.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.12.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                                                            |   10 
 arch/arm/boot/compressed/Makefile                                   |    4 
 arch/arm/boot/dts/at91-sam9x60ek.dts                                |    3 
 arch/arm/boot/dts/at91-sama5d27_som1_ek.dts                         |    3 
 arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts                       |    3 
 arch/arm/boot/dts/at91-sama5d2_icp.dts                              |    3 
 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts                           |    3 
 arch/arm/boot/dts/at91-sama5d2_xplained.dts                         |    3 
 arch/arm/boot/dts/at91-sama5d3_xplained.dts                         |    3 
 arch/arm/boot/dts/at91sam9260ek.dts                                 |    3 
 arch/arm/boot/dts/at91sam9g20ek_common.dtsi                         |    3 
 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts                         |    4 
 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts                         |    4 
 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts                   |    4 
 arch/arm/boot/dts/bcm4708-netgear-r6250.dts                         |    4 
 arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts                      |    4 
 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts                       |    4 
 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts                         |    4 
 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts                  |    4 
 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts                   |    4 
 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts                         |    4 
 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts                   |    4 
 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts                        |    4 
 arch/arm/boot/dts/bcm4709-netgear-r7000.dts                         |    4 
 arch/arm/boot/dts/bcm4709-netgear-r8000.dts                         |    4 
 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts                       |    4 
 arch/arm/boot/dts/bcm47094-linksys-panamera.dts                     |    4 
 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts                       |    4 
 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts                       |    4 
 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts                       |    4 
 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts                       |    4 
 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts                    |    4 
 arch/arm/boot/dts/bcm47094-netgear-r8500.dts                        |    4 
 arch/arm/boot/dts/bcm47094-phicomm-k3.dts                           |    4 
 arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi                       |   73 +-
 arch/arm/boot/dts/tegra20-acer-a500-picasso.dts                     |    2 
 arch/arm/crypto/curve25519-core.S                                   |    2 
 arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts                 |    4 
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi                        |    3 
 arch/arm64/boot/dts/mediatek/mt8173.dtsi                            |    2 
 arch/arm64/kernel/vdso/vdso.lds.S                                   |    8 
 arch/powerpc/include/asm/mmu_context.h                              |    2 
 arch/powerpc/include/asm/reg.h                                      |    1 
 arch/powerpc/include/uapi/asm/errno.h                               |    1 
 arch/powerpc/kernel/eeh.c                                           |   11 
 arch/powerpc/kernel/setup_64.c                                      |   19 
 arch/powerpc/kernel/vdso.c                                          |   54 +
 arch/powerpc/kexec/file_load_64.c                                   |   92 ++
 arch/powerpc/kvm/book3s_64_mmu_host.c                               |    2 
 arch/powerpc/lib/Makefile                                           |    3 
 arch/riscv/kernel/probes/kprobes.c                                  |    4 
 arch/s390/crypto/arch_random.c                                      |    4 
 arch/s390/include/asm/qdio.h                                        |   22 
 arch/s390/kernel/dis.c                                              |    2 
 arch/x86/Kconfig                                                    |    2 
 arch/x86/Makefile                                                   |    1 
 arch/x86/boot/compressed/Makefile                                   |    1 
 arch/x86/boot/compressed/mem_encrypt.S                              |    6 
 arch/x86/kernel/cpu/common.c                                        |    2 
 arch/x86/kernel/sev-es-shared.c                                     |    6 
 arch/x86/mm/mem_encrypt_identity.c                                  |   35 -
 block/bfq-iosched.c                                                 |   10 
 crypto/api.c                                                        |    2 
 crypto/rng.c                                                        |   10 
 drivers/acpi/arm64/gtdt.c                                           |   10 
 drivers/acpi/custom_method.c                                        |    4 
 drivers/ata/ahci.c                                                  |    5 
 drivers/ata/ahci.h                                                  |    1 
 drivers/ata/libahci.c                                               |    5 
 drivers/block/rnbd/rnbd-clt-sysfs.c                                 |   10 
 drivers/block/rnbd/rnbd-srv.c                                       |    4 
 drivers/bus/mhi/core/init.c                                         |   29 
 drivers/bus/mhi/core/main.c                                         |  177 ++++-
 drivers/bus/mhi/core/pm.c                                           |   10 
 drivers/bus/mhi/pci_generic.c                                       |   25 
 drivers/bus/ti-sysc.c                                               |   49 +
 drivers/char/random.c                                               |    4 
 drivers/char/tpm/eventlog/acpi.c                                    |   33 +
 drivers/char/tpm/eventlog/common.c                                  |    3 
 drivers/char/tpm/eventlog/efi.c                                     |   29 
 drivers/clk/socfpga/clk-gate-a10.c                                  |    1 
 drivers/clocksource/dw_apb_timer_of.c                               |   26 
 drivers/cpuidle/cpuidle-tegra.c                                     |   12 
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c                 |    2 
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c                   |    2 
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c                   |    2 
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c                   |    2 
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c                   |    2 
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c                 |    2 
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c                   |    2 
 drivers/crypto/hisilicon/sec2/sec_crypto.c                          |    2 
 drivers/crypto/omap-aes.c                                           |    7 
 drivers/crypto/qat/qat_common/qat_algs.c                            |   11 
 drivers/crypto/sa2ul.c                                              |    2 
 drivers/crypto/stm32/stm32-cryp.c                                   |    4 
 drivers/crypto/stm32/stm32-hash.c                                   |    8 
 drivers/extcon/extcon-arizona.c                                     |   57 -
 drivers/firmware/efi/libstub/Makefile                               |    3 
 drivers/fpga/dfl-pci.c                                              |   18 
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c                          |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c                           |    5 
 drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c                             |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c                             |    8 
 drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c                             |    2 
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c                            |    9 
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c                              |   32 -
 drivers/gpu/drm/amd/amdgpu/vega20_ih.c                              |   34 -
 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c                            |    7 
 drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c               |   17 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c                   |   26 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h                   |   14 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c           |   15 
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c               |  115 ++-
 drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c                    |    3 
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c        |    4 
 drivers/gpu/drm/amd/display/dc/core/dc.c                            |    3 
 drivers/gpu/drm/amd/display/dc/dce/dce_aux.h                        |    1 
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c                       |   15 
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c                  |    5 
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c                    |   24 
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c               |    2 
 drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c             |    2 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c      |    1 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c    |    1 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c   |   28 
 drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c |   28 
 drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c   |   28 
 drivers/gpu/drm/amd/display/dc/dml/dcn30/display_rq_dlg_calc_30.c   |   28 
 drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c       |   28 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c                |   14 
 drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c               |    2 
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c                           |   34 -
 drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c                    |   38 -
 drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c                     |   18 
 drivers/gpu/drm/arm/display/include/malidp_utils.h                  |    3 
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c                |   16 
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c          |   19 
 drivers/gpu/drm/ast/ast_drv.c                                       |    2 
 drivers/gpu/drm/ast/ast_mode.c                                      |    2 
 drivers/gpu/drm/drm_panel_orientation_quirks.c                      |   14 
 drivers/gpu/drm/i915/intel_pm.c                                     |    2 
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c                               |   12 
 drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c                    |   18 
 drivers/gpu/drm/msm/dp/dp_hpd.c                                     |    4 
 drivers/gpu/drm/qxl/qxl_display.c                                   |    4 
 drivers/gpu/drm/qxl/qxl_drv.c                                       |    2 
 drivers/gpu/drm/radeon/radeon_object.c                              |    2 
 drivers/gpu/drm/radeon/radeon_ttm.c                                 |    5 
 drivers/gpu/drm/virtio/virtgpu_ioctl.c                              |    2 
 drivers/gpu/drm/virtio/virtgpu_object.c                             |    1 
 drivers/gpu/drm/vkms/vkms_crtc.c                                    |    3 
 drivers/hwtracing/intel_th/gth.c                                    |    4 
 drivers/hwtracing/intel_th/pci.c                                    |   10 
 drivers/input/touchscreen/ili210x.c                                 |    2 
 drivers/iommu/intel/iommu.c                                         |   52 +
 drivers/irqchip/irq-gic-v3.c                                        |    8 
 drivers/md/dm-integrity.c                                           |    1 
 drivers/md/dm-raid.c                                                |   34 -
 drivers/md/dm-rq.c                                                  |    2 
 drivers/md/persistent-data/dm-btree-internal.h                      |    4 
 drivers/md/persistent-data/dm-space-map-common.c                    |    2 
 drivers/md/persistent-data/dm-space-map-common.h                    |    8 
 drivers/md/raid1.c                                                  |    2 
 drivers/media/dvb-core/dvbdev.c                                     |    1 
 drivers/media/i2c/adv7511-v4l2.c                                    |    2 
 drivers/media/i2c/adv7604.c                                         |    2 
 drivers/media/i2c/adv7842.c                                         |    2 
 drivers/media/i2c/tc358743.c                                        |    2 
 drivers/media/i2c/tda1997x.c                                        |    2 
 drivers/media/pci/cx23885/cx23885-core.c                            |    9 
 drivers/media/pci/saa7164/saa7164-encoder.c                         |   20 
 drivers/media/pci/sta2x11/Kconfig                                   |    1 
 drivers/media/platform/coda/coda-common.c                           |    4 
 drivers/media/platform/qcom/venus/core.c                            |   30 
 drivers/media/platform/qcom/venus/hfi_cmds.c                        |   24 
 drivers/media/platform/qcom/venus/hfi_parser.c                      |   12 
 drivers/media/platform/qcom/venus/pm_helpers.c                      |   47 -
 drivers/media/platform/qcom/venus/pm_helpers.h                      |    7 
 drivers/media/platform/qcom/venus/venc_ctrls.c                      |    2 
 drivers/media/platform/sti/bdisp/bdisp-debug.c                      |    2 
 drivers/media/platform/sunxi/sun8i-di/sun8i-di.c                    |    2 
 drivers/media/rc/ite-cir.c                                          |    8 
 drivers/media/test-drivers/vivid/vivid-core.c                       |    6 
 drivers/media/usb/dvb-usb/dvb-usb-init.c                            |   90 +-
 drivers/media/usb/dvb-usb/dvb-usb.h                                 |    2 
 drivers/media/usb/em28xx/em28xx-dvb.c                               |    1 
 drivers/media/usb/gspca/gspca.c                                     |    2 
 drivers/media/usb/gspca/gspca.h                                     |    1 
 drivers/media/usb/gspca/sq905.c                                     |    2 
 drivers/media/usb/gspca/stv06xx/stv06xx.c                           |    9 
 drivers/media/usb/uvc/uvc_driver.c                                  |   34 +
 drivers/media/usb/zr364xx/zr364xx.c                                 |   13 
 drivers/media/v4l2-core/v4l2-ctrls.c                                |  139 ++--
 drivers/mfd/arizona-irq.c                                           |    2 
 drivers/mfd/da9063-i2c.c                                            |   10 
 drivers/mmc/core/block.c                                            |   16 
 drivers/mmc/core/core.c                                             |   76 --
 drivers/mmc/core/core.h                                             |   17 
 drivers/mmc/core/host.c                                             |   40 +
 drivers/mmc/core/mmc.c                                              |    7 
 drivers/mmc/core/mmc_ops.c                                          |    4 
 drivers/mmc/core/sd.c                                               |    6 
 drivers/mmc/core/sdio.c                                             |   28 
 drivers/mmc/host/sdhci-brcmstb.c                                    |    1 
 drivers/mmc/host/sdhci-esdhc-imx.c                                  |    2 
 drivers/mmc/host/sdhci-pci-core.c                                   |   29 
 drivers/mmc/host/sdhci-pci.h                                        |    2 
 drivers/mmc/host/sdhci-tegra.c                                      |   32 +
 drivers/mmc/host/sdhci.c                                            |   60 +
 drivers/mmc/host/uniphier-sd.c                                      |    5 
 drivers/mtd/maps/physmap-bt1-rom.c                                  |    2 
 drivers/mtd/nand/raw/atmel/nand-controller.c                        |    6 
 drivers/mtd/nand/spi/core.c                                         |    2 
 drivers/mtd/spi-nor/core.c                                          |   33 +
 drivers/mtd/spi-nor/macronix.c                                      |    3 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c                   |   30 
 drivers/net/ethernet/sfc/efx_channels.c                             |    2 
 drivers/net/ethernet/sfc/farch.c                                    |   16 
 drivers/net/wireless/rsi/rsi_91x_sdio.c                             |    2 
 drivers/nvme/target/admin-cmd.c                                     |   10 
 drivers/nvme/target/discovery.c                                     |    6 
 drivers/pci/controller/dwc/pcie-designware-ep.c                     |    2 
 drivers/pci/controller/dwc/pcie-designware-host.c                   |    1 
 drivers/pci/controller/dwc/pcie-designware.c                        |   11 
 drivers/pci/controller/dwc/pcie-designware.h                        |    1 
 drivers/pci/pci.c                                                   |   16 
 drivers/perf/arm_pmu_platform.c                                     |    9 
 drivers/phy/ti/phy-twl4030-usb.c                                    |    2 
 drivers/pinctrl/pinctrl-ingenic.c                                   |   44 +
 drivers/platform/x86/intel_pmc_core.c                               |   19 
 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c       |   33 -
 drivers/power/supply/bq27xxx_battery.c                              |   51 -
 drivers/power/supply/cpcap-battery.c                                |    2 
 drivers/power/supply/cpcap-charger.c                                |    5 
 drivers/power/supply/generic-adc-battery.c                          |    2 
 drivers/power/supply/lp8788-charger.c                               |    2 
 drivers/power/supply/pm2301_charger.c                               |    2 
 drivers/power/supply/s3c_adc_battery.c                              |    2 
 drivers/power/supply/tps65090-charger.c                             |    2 
 drivers/power/supply/tps65217_charger.c                             |    2 
 drivers/regulator/da9121-regulator.c                                |   80 +-
 drivers/regulator/da9121-regulator.h                                |   13 
 drivers/s390/cio/device.c                                           |    3 
 drivers/s390/cio/qdio.h                                             |   10 
 drivers/s390/cio/qdio_main.c                                        |   63 --
 drivers/s390/cio/qdio_setup.c                                       |   49 -
 drivers/s390/crypto/vfio_ap_ops.c                                   |  308 ++++++----
 drivers/s390/crypto/vfio_ap_private.h                               |    2 
 drivers/s390/crypto/zcrypt_card.c                                   |    1 
 drivers/s390/crypto/zcrypt_queue.c                                  |    1 
 drivers/s390/net/qeth_core.h                                        |    3 
 drivers/s390/net/qeth_core_main.c                                   |  102 +--
 drivers/s390/scsi/zfcp_qdio.c                                       |    7 
 drivers/scsi/device_handler/scsi_dh_alua.c                          |    5 
 drivers/scsi/libfc/fc_lport.c                                       |    2 
 drivers/scsi/lpfc/lpfc_attr.c                                       |   75 +-
 drivers/scsi/lpfc/lpfc_crtn.h                                       |    7 
 drivers/scsi/lpfc/lpfc_els.c                                        |   99 ---
 drivers/scsi/lpfc/lpfc_hbadisc.c                                    |   10 
 drivers/scsi/lpfc/lpfc_hw4.h                                        |  174 -----
 drivers/scsi/lpfc/lpfc_init.c                                       |  112 ---
 drivers/scsi/lpfc/lpfc_mbox.c                                       |   36 -
 drivers/scsi/lpfc/lpfc_nportdisc.c                                  |  254 ++------
 drivers/scsi/lpfc/lpfc_nvmet.c                                      |    1 
 drivers/scsi/lpfc/lpfc_sli.c                                        |   63 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c                                 |    4 
 drivers/scsi/mpt3sas/mpt3sas_ctl.c                                  |    5 
 drivers/scsi/mpt3sas/mpt3sas_ctl.h                                  |   12 
 drivers/scsi/mpt3sas/mpt3sas_scsih.c                                |    4 
 drivers/scsi/qla2xxx/qla_attr.c                                     |    8 
 drivers/scsi/qla2xxx/qla_bsg.c                                      |    3 
 drivers/scsi/qla2xxx/qla_isr.c                                      |    4 
 drivers/scsi/qla2xxx/qla_os.c                                       |    7 
 drivers/scsi/smartpqi/smartpqi_init.c                               |  161 +++++
 drivers/soc/tegra/pmc.c                                             |   70 ++
 drivers/soundwire/cadence_master.c                                  |   10 
 drivers/spi/spi-ath79.c                                             |    3 
 drivers/spi/spi-dln2.c                                              |    2 
 drivers/spi/spi-omap-100k.c                                         |    6 
 drivers/spi/spi-qup.c                                               |    2 
 drivers/spi/spi-stm32-qspi.c                                        |   18 
 drivers/spi/spi-ti-qspi.c                                           |   20 
 drivers/spi/spi.c                                                   |   16 
 drivers/staging/media/atomisp/pci/atomisp_fops.c                    |    3 
 drivers/staging/media/imx/imx-media-capture.c                       |    2 
 drivers/staging/media/ipu3/ipu3-v4l2.c                              |   36 -
 drivers/staging/wimax/i2400m/op-rfkill.c                            |    2 
 drivers/target/target_core_pscsi.c                                  |    3 
 drivers/tee/optee/core.c                                            |   10 
 drivers/thermal/cpufreq_cooling.c                                   |    2 
 drivers/thermal/gov_fair_share.c                                    |    4 
 drivers/tty/n_gsm.c                                                 |   14 
 drivers/tty/vt/vt.c                                                 |    1 
 drivers/usb/core/hub.c                                              |    2 
 drivers/usb/dwc2/core_intr.c                                        |    8 
 drivers/usb/dwc3/core.c                                             |   29 
 drivers/usb/dwc3/core.h                                             |    9 
 drivers/usb/dwc3/dwc3-pci.c                                         |    4 
 drivers/usb/dwc3/gadget.c                                           |   41 -
 drivers/usb/gadget/config.c                                         |    4 
 drivers/usb/gadget/function/f_fs.c                                  |    3 
 drivers/usb/gadget/function/f_uac1.c                                |   43 +
 drivers/usb/gadget/function/f_uac2.c                                |   39 +
 drivers/usb/gadget/function/f_uvc.c                                 |    8 
 drivers/usb/gadget/legacy/webcam.c                                  |    1 
 drivers/usb/gadget/udc/dummy_hcd.c                                  |   23 
 drivers/usb/gadget/udc/tegra-xudc.c                                 |    2 
 drivers/usb/host/xhci-mem.c                                         |   12 
 drivers/usb/host/xhci-mtk.c                                         |    3 
 drivers/usb/host/xhci-mtk.h                                         |    1 
 drivers/usb/host/xhci-ring.c                                        |   42 -
 drivers/usb/host/xhci.c                                             |   14 
 drivers/usb/musb/musb_core.c                                        |    2 
 drivers/vhost/vdpa.c                                                |    1 
 drivers/video/backlight/qcom-wled.c                                 |   29 
 drivers/video/fbdev/core/fbcmap.c                                   |    8 
 drivers/virt/nitro_enclaves/ne_misc_dev.c                           |   43 -
 fs/btrfs/block-group.c                                              |   58 +
 fs/btrfs/btrfs_inode.h                                              |   15 
 fs/btrfs/compression.c                                              |   11 
 fs/btrfs/ctree.c                                                    |   20 
 fs/btrfs/delayed-inode.c                                            |    4 
 fs/btrfs/file.c                                                     |   34 -
 fs/btrfs/inode.c                                                    |    4 
 fs/btrfs/ioctl.c                                                    |   44 -
 fs/btrfs/reflink.c                                                  |    4 
 fs/btrfs/relocation.c                                               |   50 +
 fs/btrfs/scrub.c                                                    |    5 
 fs/btrfs/transaction.c                                              |   17 
 fs/btrfs/transaction.h                                              |    9 
 fs/btrfs/zoned.c                                                    |    7 
 fs/cifs/cifsfs.c                                                    |    2 
 fs/cifs/connect.c                                                   |   25 
 fs/cifs/fs_context.c                                                |    7 
 fs/cifs/sess.c                                                      |    6 
 fs/cifs/smb2ops.c                                                   |   18 
 fs/cifs/smb2pdu.c                                                   |    5 
 fs/ecryptfs/main.c                                                  |    6 
 fs/erofs/erofs_fs.h                                                 |    3 
 fs/erofs/inode.c                                                    |    7 
 fs/eventpoll.c                                                      |    6 
 fs/exfat/balloc.c                                                   |   11 
 fs/ext4/fast_commit.c                                               |    4 
 fs/ext4/file.c                                                      |   25 
 fs/ext4/ialloc.c                                                    |   51 +
 fs/ext4/ioctl.c                                                     |    6 
 fs/ext4/mmp.c                                                       |    2 
 fs/ext4/super.c                                                     |   16 
 fs/f2fs/node.c                                                      |    3 
 fs/f2fs/verity.c                                                    |   75 +-
 fs/fuse/file.c                                                      |   41 -
 fs/fuse/fuse_i.h                                                    |    1 
 fs/fuse/virtio_fs.c                                                 |    1 
 fs/io_uring.c                                                       |   70 +-
 fs/jbd2/transaction.c                                               |   15 
 fs/jffs2/file.c                                                     |    1 
 fs/jffs2/scan.c                                                     |    2 
 fs/nfs/fs_context.c                                                 |   12 
 fs/nfs/pnfs.c                                                       |    7 
 fs/stat.c                                                           |    8 
 fs/ubifs/replay.c                                                   |    3 
 include/crypto/acompress.h                                          |    2 
 include/crypto/aead.h                                               |    2 
 include/crypto/akcipher.h                                           |    2 
 include/crypto/chacha.h                                             |    9 
 include/crypto/hash.h                                               |    4 
 include/crypto/kpp.h                                                |    2 
 include/crypto/rng.h                                                |    2 
 include/crypto/skcipher.h                                           |    2 
 include/linux/ioport.h                                              |    2 
 include/linux/mfd/da9063/registers.h                                |    3 
 include/linux/mfd/intel-m10-bmc.h                                   |    2 
 include/linux/mmc/host.h                                            |    3 
 include/linux/perf_event.h                                          |    1 
 include/linux/power/bq27xxx_battery.h                               |    1 
 include/linux/reset.h                                               |    5 
 include/media/v4l2-ctrls.h                                          |   12 
 include/scsi/libfcoe.h                                              |    2 
 include/uapi/linux/usb/video.h                                      |    3 
 kernel/.gitignore                                                   |    1 
 kernel/Makefile                                                     |    9 
 kernel/events/core.c                                                |  142 ++--
 kernel/futex.c                                                      |    7 
 kernel/irq/matrix.c                                                 |    4 
 kernel/kcsan/core.c                                                 |    2 
 kernel/kcsan/debugfs.c                                              |    4 
 kernel/kcsan/kcsan.h                                                |    5 
 kernel/rcu/tree.c                                                   |    2 
 kernel/rcu/tree_plugin.h                                            |    7 
 kernel/sched/fair.c                                                 |  102 ++-
 kernel/sched/features.h                                             |    3 
 kernel/sched/psi.c                                                  |    5 
 kernel/sched/topology.c                                             |   91 +-
 kernel/time/posix-timers.c                                          |    4 
 kernel/trace/ftrace.c                                               |    5 
 kernel/trace/trace.c                                                |   41 -
 kernel/trace/trace_clock.c                                          |   44 -
 lib/dynamic_debug.c                                                 |    2 
 lib/vsprintf.c                                                      |    2 
 mm/page_alloc.c                                                     |   30 
 net/bluetooth/ecdh_helper.h                                         |    2 
 net/ceph/auth_x.c                                                   |    2 
 net/ceph/decode.c                                                   |   20 
 net/openvswitch/actions.c                                           |    8 
 net/sched/sch_frag.c                                                |    8 
 security/commoncap.c                                                |    2 
 sound/isa/sb/emu8000.c                                              |    4 
 sound/isa/sb/sb16_csp.c                                             |    8 
 sound/pci/hda/patch_conexant.c                                      |   14 
 sound/pci/hda/patch_realtek.c                                       |   52 +
 sound/usb/clock.c                                                   |   18 
 sound/usb/mixer_maps.c                                              |   12 
 tools/power/x86/intel-speed-select/isst-display.c                   |   12 
 tools/power/x86/turbostat/turbostat.c                               |   19 
 tools/testing/selftests/arm64/mte/Makefile                          |    2 
 tools/testing/selftests/arm64/mte/mte_common_util.c                 |   13 
 tools/testing/selftests/resctrl/Makefile                            |    2 
 tools/testing/selftests/resctrl/cache.c                             |    8 
 tools/testing/selftests/resctrl/cat_test.c                          |   12 
 tools/testing/selftests/resctrl/cqm_test.c                          |   14 
 tools/testing/selftests/resctrl/fill_buf.c                          |    4 
 tools/testing/selftests/resctrl/mba_test.c                          |    2 
 tools/testing/selftests/resctrl/mbm_test.c                          |    2 
 tools/testing/selftests/resctrl/resctrl.h                           |   21 
 tools/testing/selftests/resctrl/resctrl_tests.c                     |   14 
 tools/testing/selftests/resctrl/resctrl_val.c                       |   85 +-
 tools/testing/selftests/resctrl/resctrlfs.c                         |   79 +-
 427 files changed, 4327 insertions(+), 2738 deletions(-)

Abhinav Kumar (1):
drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver

Adam Ward (1):
regulator: da9121: automotive variants identity fix

Adrian Hunter (2):
mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
mmc: sdhci-pci: Add PCI IDs for Intel LKF

Akhil P Oommen (1):
drm/msm/a6xx: Fix perfcounter oob timeout

Al Cooper (1):
mmc: sdhci-brcmstb: Remove CQE quirk

Alex Deucher (1):
drm/amdgpu/display: fix memory leak for dimgrey cavefish

Alex Sierra (1):
drm/amdgpu: enable 48-bit IH timestamp counter

Alexander Lobakin (1):
mtd: spinand: core: add missing MODULE_DEVICE_TABLE()

Alexander Shishkin (2):
intel_th: pci: Add Rocket Lake CPU support
intel_th: pci: Add Alder Lake-M support

Andre Przywara (2):
kselftest/arm64: mte: Fix compilation with native compiler kselftest/arm64: mte: Fix MTE feature detection

Angela Czubak (1):
resource: Prevent irqresource_disabled() from erasing flags

Aniruddha Tvs Rao (1):
mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit

Anirudh Rayabharam (1):
usb: gadget: dummy_hcd: fix gpf in gadget_setup

Anson Jacob (3):
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool' drm/amd/display: Fix UBSAN: shift-out-of-bounds warning

Ard Biesheuvel (2):
ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
crypto: api - check for ERR pointers in crypto_destroy_tfm()

Aric Cyr (2):
drm/amd/display: Don't optimize bandwidth before disabling planes drm/amd/display: DCHUB underflow counter increasing in some scenarios

Arnd Bergmann (2):
amdgpu: avoid incorrect %hu format string
security: commoncap: fix -Wstringop-overread warning

Artur Petrosyan (1):
usb: dwc2: Fix session request interrupt handler

Arun Easi (1):
scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

Arunpravin (1):
drm/amd/pm/swsmu: clean up user profile function

Aurelien Aptel (1):
smb2: fix use-after-free in smb2_ioctl_query_info()

Avri Altman (2):
mmc: block: Update ext_csd.cache_ctrl if it was written
mmc: block: Issue a cache flush only when it's enabled

Barry Song (1):

      sched/topology: fix the issue groups don't span domain->span for NUMA diameter > 2

Bart Van Assche (2):
scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
scsi: libfc: Fix a format specifier

Bas Nieuwenhuizen (1):
tools/power/turbostat: Fix turbostat for AMD Zen CPUs

Benjamin Block (1):
dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails

Bhaumik Bhatt (5):
bus: mhi: core: Clear configuration from channel context during reset
bus: mhi: core: Add missing checks for MMIO register entries
bus: mhi: core: Destroy SBL devices when moving to mission mode
bus: mhi: core: Process execution environment changes serially
bus: mhi: core: Clear context for stopped channels from remove()

Bill Wendling (1):
arm64/vdso: Discard .note.gnu.property sections in vDSO

BingJing Chang (1):
btrfs: fix a potential hole punching failure

Bixuan Cui (2):
usb: musb: fix PM reference leak in musb_irq_work()
usb: core: hub: Fix PM reference leak in usb_port_resume()

Brad Love (1):
media: cx23885: add more quirks for reset DMA on some AMD IOMMU

Bryan O'Donoghue (1):
media: venus: core, venc, vdec: Fix probe dependency error

Calvin Walton (1):
tools/power turbostat: Fix offset overflow issue in index converting

Carl Philipp Klemm (2):
power: supply: cpcap-charger: fix small mistake in current to register conversion
power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce

Carsten Haitzler (1):
drm/komeda: Fix bit check to import to value of proper type

Chaitanya Kulkarni (1):
scsi: target: pscsi: Fix warning in pscsi_complete_cmd()

Chao Yu (1):
f2fs: fix to avoid out-of-bounds memory access

Charan Teja Reddy (1):
sched,psi: Handle potential task count underflow bugs more gracefully

Chen Jun (1):
posix-timers: Preserve return value in clock_adjtime32()

Christophe JAILLET (2):
mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
mmc: uniphier-sd: Fix a resource leak in the remove function

Christophe Kerello (1):
spi: stm32-qspi: fix pm_runtime usage_count counter

Christophe Leroy (1):
powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR

Chunfeng Yun (2):
arm64: dts: mt8173: fix property typo of 'phys' in dsi node
usb: xhci-mtk: support quirk to disable usb2 lpm

Colin Ian King (1):
clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return

Daniel Gomez (2):
drm/amdgpu/ttm: Fix memory leak userptr pages drm/radeon/ttm: Fix memory leak userptr pages

Daniel Niv (1):
media: media/saa7164: fix saa7164_encoder_register() memory leak bugs

David Bauer (3):
spi: ath79: always call chipselect function
spi: ath79: remove spi-master setup and cleanup assignment
spi: sync up initial chipselect state

David Disseldorp (1):
cifs: fix leak in cifs_smb3_do_mount() ctx

David E. Box (1):
platform/x86: intel_pmc_core: Don't use global pmcdev in quirks

Davide Caratti (2):
openvswitch: fix stack OOB read while fragmenting IPv4 packets net/sched: sch_frag: fix stack OOB read while fragmenting IPv4 packets

Davidlohr Bueso (1):
fs/epoll: restore waking from ep_done_scan()

Dean Anderson (1):
usb: gadget/function/f_fs string table fix for multiple languages

Dinghao Liu (3):
media: platform: sti: Fix runtime PM imbalance in regs_show
media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
mfd: arizona: Fix rumtime PM imbalance on error

Dinh Nguyen (1):
clocksource/drivers/dw_apb_timer_of: Add handling for potential memory leak

Dmitry Osipenko (3):
cpuidle: tegra: Fix C7 idling state on Tegra114
ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node soc/tegra: pmc: Fix completion of power-gate toggling

Dmitry Safonov (1):
powerpc/vdso: Separate vvar vma from vdso

Dmitry Vyukov (1):
drm/vkms: fix misuse of WARN_ON

Dmytro Laktyushkin (1):
drm/amd/display: fix dml prefetch validation

Don Brace (1):
scsi: smartpqi: Use host-wide tag space

DooHyun Hwang (1):
mmc: core: Do a power cycle when the CMD11 fails

Eckhart Mohr (1):
ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx

Edward Cree (2):
sfc: farch: fix TX queue lookup in TX flush done handling
sfc: farch: fix TX queue lookup in TX event handling

Emily Deng (1):
drm/amdgpu: Fix some unload driver issues

Eric Biggers (3):
random: initialize ChaCha20 constants with correct endianness
f2fs: fix error handling in f2fs_end_enable_verity()
crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS

Eryk Brol (1):
drm/amd/display: Check for DSC support instead of ASIC revision

Eugene Korenevsky (1):
cifs: fix out-of-bound memory access when calling smb3_notify() at mount point

Ewan D. Milne (1):
scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()

Fangzhi Zuo (1):
drm/amd/display: Fix debugfs link_settings entry

Fenghua Yu (8):
selftests/resctrl: Enable gcc checks to detect buffer overflows selftests/resctrl: Fix compilation issues for global variables selftests/resctrl: Fix compilation issues for other global variables selftests/resctrl: Clean up resctrl features check selftests/resctrl: Fix missing options "-n" and "-p" selftests/resctrl: Use resctrl/info for feature detection selftests/resctrl: Fix incorrect parsing of iMC counters selftests/resctrl: Fix checking for < 0 for unsigned values

Fengnan Chang (1):
ext4: fix error code in ext4_commit_super

Filipe Manana (6):
btrfs: fix metadata extent leak after failure to create subvolume
btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
btrfs: zoned: fix unpaired block group unfreeze during device replace
btrfs: fix race between marking inode needs to be logged and log syncing
btrfs: fix exhaustion of the system chunk array due to concurrent allocations
btrfs: fix race when picking most recent mod log operation for an old root

Frederic Weisbecker (1):
rcu/nocb: Fix missed nocb_timer requeue

Gao Xiang (1):
erofs: add unsupported inode i_format check

Gerd Hoffmann (1):
drm/qxl: release shadow on shutdown

Gioh Kim (2):
block/rnbd-srv: Prevent a deadlock generated by accessing sysfs in parallel block/rnbd-clt: Fix missing a memory free when unloading the module

Greg Kroah-Hartman (1):

      Linux 5.12.3

Guangqing Zhu (1):
power: supply: cpcap-battery: fix invalid usage of list cursor

Guchun Chen (1):
drm/amdgpu: fix NULL pointer dereference

Guochun Mao (1):
ubifs: Only check replay with inode type to judge if inode linked

Gustavo A. R. Silva (2):
mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
scsi: mpt3sas: Fix out-of-bounds warnings in _ctl_addnl_diag_query

Hans Verkuil (5):
media: gspca/sq905.c: fix uninitialized variable
media: v4l2-ctrls.c: initialize flags field of p_fwht_params
media: vivid: update EDID
media: gscpa/stv06xx: fix memory leak
media: v4l2-ctrls: fix reference to freed memory

Hans de Goede (2):
extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
extcon: arizona: Fix various races on driver unbind

Hansem Ro (1):

      Input: ili210x - add missing negation for touch indication on ili210x

Harald Freudenberger (2):
s390/zcrypt: fix zcard and zqueue hot-unplug memleak s390/archrandom: add parameter check for s390_arch_random_generate

He Ying (1):
irqchip/gic-v3: Do not enable irqs when handling spurious interrups

Heikki Krogerus (1):
usb: dwc3: pci: add support for the Intel Alder Lake-M

Heinz Mauelshagen (1):
dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences

Hemant Kumar (1):
usb: gadget: Fix double free of device descriptor pointers

Hillf Danton (1):
tty: n_gsm: check error while registering tty devices

Hou Pu (2):
nvmet: return proper error code from discovery ctrl
nvmet: avoid queuing keep-alive timer if it is disabled

Hou Zhiqiang (1):
PCI: dwc: Move iATU detection earlier

Huang Rui (1):
drm/amd/pm: do not issue message while write "r" into pp_od_clk_voltage

Hubert Streidl (1):
mfd: da9063: Support SMBus and I2C mode

Hui Tang (1):
crypto: qat - fix unmap invalid dma address

Hyeongseok Kim (1):
exfat: fix erroneous discard when clear cluster bit

Ido Schimmel (1):
mlxsw: spectrum_mr: Update egress RIF list before route's action

Ignat Korchagin (1):

      sfc: adjust efx->xdp_tx_queue_count with the real number of initialized queues

Ilya Dryomov (2):
libceph: bump CephXAuthenticate encoding version
libceph: allow addrvecs with a single NONE/blank address

James Smart (10):
scsi: lpfc: Fix rmmod crash due to bad ring pointers to abort_iotag
scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
scsi: lpfc: Fix pt2pt connection does not recover after LOGO
scsi: lpfc: Fix status returned in lpfc_els_retry() error exit path
scsi: lpfc: Fix PLOGI ACC to be transmit after REG_LOGIN
scsi: lpfc: Fix ADISC handling that never frees nodes
scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
scsi: lpfc: Fix reference counting errors in lpfc_cmpl_els_rsp()
scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic

Jan Kara (3):
ext4: annotate data race in start_this_handle()
ext4: annotate data race in jbd2_journal_dirty_metadata()
ext4: Fix occasional generic/418 failure

Jared Baldridge (1):
drm: Added orientation quirk for OneGX1 Pro

Jason Wang (1):
vhost-vdpa: fix vm_flags for virtqueue doorbell mapping

Jeffrey Hugo (2):
bus: mhi: core: Fix check for syserr at power_up
bus: mhi: core: Sanity check values from remote device before use

Jeffrey Mitchell (1):
ecryptfs: fix kernel panic with null dev_name

Jerome Forissier (1):
tee: optee: do not check memref size on return from Secure World

Jim Quinlan (1):
reset: add missing empty function reset_control_rearm()

Joe Thornber (2):
dm persistent data: packed struct should have an aligned() attribute too dm space map common: fix division bug in sm_ll_find_free_block()

Joel Stanley (1):
jffs2: Hook up splice_write callback

Joerg Roedel (1):
x86/sev: Do not require Hypervisor CPUID bit for SEV guests

Johannes Thumshirn (1):
btrfs: zoned: fail mount if the device does not support zone append

John Millikin (1):

      x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)

Jonas Witschel (1):
ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7

Jonathan Kim (1):
drm/amdgpu: mask the xgmi number of hops reported from psp to kfd

Josef Bacik (4):
btrfs: use btrfs_inode_lock/btrfs_inode_unlock inode lock helpers
btrfs: do proper error handling in create_reloc_root
btrfs: do proper error handling in btrfs_update_reloc_root
btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s

Joshua Aberback (2):
drm/amd/display: Align cursor cache address to 2KB drm/amd/display: Update DCN302 SR Exit Latency

Julian Braha (1):
media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB

Julian Wiedmann (1):
s390/qdio: let driver manage the QAOB

Kai Stuhlemmer (ebee Engineering) (1):
mtd: rawnand: atmel: Update ecc_stats.corrected counter

Kailang Yang (1):
ALSA: hda/realtek - Headset Mic issue on HP platform

Kenneth Feng (1):
drm/amd/pm: fix workload mismatch on vega10

Kevin Barnett (1):
scsi: smartpqi: Add new PCI IDs

Kiran Gunda (1):
backlight: qcom-wled: Fix FSC update issue for WLED5

Laurent Pinchart (3):
media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
media: uvcvideo: Fix XU id print in forward scan
media: uvcvideo: Support devices that report an OT as an entity source

Lee Jones (1):
drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue

Liao Chang (1):
riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

Lingutla Chandrasekhar (1):
sched/fair: Ignore percpu threads for imbalance pulls

Linus Torvalds (1):
Fix misc new gcc warnings

Linus Walleij (1):
ARM: dts: ux500: Fix up TVK R3 sensors

Loic Poulain (5):
bus: mhi: pci_generic: Remove WQ_MEM_RECLAIM flag from state workqueue
bus: mhi: core: Fix MHI runtime_pm behavior
bus: mhi: core: Fix invalid error returning in mhi_queue
bus: mhi: pci_generic: No-Op for device_wake operations
bus: mhi: pci_generic: Implement PCI shutdown callback

Longfang Liu (1):
crypto: hisilicon/sec - fixes a printing error

Longpeng(Mike) (1):
iommu/vt-d: Force to flush iotlb before creating superpage

Ludovic Desroches (1):
ARM: dts: at91: change the key code of the gpio key

Luis Henriques (1):
virtiofs: fix memory leak in virtio_fs_probe()

Lukasz Luba (1):
thermal/core/fair share: Lock the thermal zone while looping over instances

Luke D Jones (1):
ALSA: hda/realtek: GA503 use same quirks as GA401

Lv Yunlong (2):
ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
ALSA: sb: Fix two use after free in snd_sb_qsound_build

Maciej W. Rozycki (1):
x86/build: Disable HIGHMEM64G selection for M486SX

Mahesh Salgaonkar (1):
powerpc/eeh: Fix EEH handling for hugepages in ioremap space.

Marc Zyngier (1):
ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure

Marco Elver (1):
kcsan, debugfs: Move debugfs file creation out of early init

Marco Felsch (1):
media: coda: fix macroblocks count control usage

Marek Behún (1):
arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node

Marek Vasut (1):
rsi: Use resume_noirq for SDIO

Marijn Suijten (2):
drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal drm/msm/mdp5: Do not multiply vclk line count by 100

Mark Langsdorf (2):
ACPI: custom_method: fix potential use-after-free issue
ACPI: custom_method: fix a possible memory leak

Martin Leung (1):
drm/amd/display: changing sr exit latency

Masahiro Yamada (1):
kbuild: update config_data.gz only when the content of .config is changed

Mathias Krause (1):
nitro_enclaves: Fix stale file descriptors on failed usercopy

Mathias Nyman (4):
xhci: check port array allocation was successful before dereferencing it
xhci: check control context is valid before dereferencing it.
xhci: fix potential array out of bounds with several interrupters
xhci: prevent double-fetch of transfer and transfer event TRBs

Matthias Schiffer (1):
power: supply: bq27xxx: fix power_avg for newer ICs

Mauro Carvalho Chehab (1):
atomisp: don't let it go past pipes array

Michael Ellerman (2):
powerpc/kvm: Fix PR KVM with KUAP/MEM_KEYS enabled powerpc/kvm: Fix build error when PPC_MEM_KEYS/PPC_PSERIES=n

Muhammad Usama Anjum (1):
media: em28xx: fix memory leak

Murthy Bhat (1):
scsi: smartpqi: Correct request leakage during reset operations

Nathan Chancellor (4):

      x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
      efi/libstub: Add $(CLANG_FLAGS) to x86 flags
      Makefile: Move -Wno-unused-but-set-variable out of GCC only block
      crypto: arm/curve25519 - Move '.fpu' after '.arch'

Nicholas Kazlauskas (1):
drm/amd/display: Fix MPC OGAM power on/off sequence

Nicholas Piggin (1):
powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors

Obeida Shamoun (1):
backlight: qcom-wled: Use sink_addr for sync toggle

Palash Oswal (1):

      io_uring: Check current->io_uring in io_uring_cancel_sqpoll

Paolo Valente (1):
block, bfq: fix weight-raising resume with !low_latency

Paul Aurich (1):
cifs: Return correct error code from smb2_get_enc_key

Paul Clements (1):
md/raid1: properly indicate failure when ending a failed write request

Paulo Alcantara (1):
cifs: fix regression when mounting shares with prefix paths

Pavel Begunkov (4):
io_uring: safer sq_creds putting
io_uring: remove extra sqpoll submission halting
io_uring: fix shared sqpoll cancellation hangs
io_uring: fix work_exit sqpoll cancellations

Pavel Machek (1):
intel_th: Consistency and off-by-one fix

Pavel Skripkin (3):
media: drivers/media/usb: fix memory leak in zr364xx_probe
media: dvb-usb: fix memory leak in dvb_usb_adapter_init
tty: fix memory leak in vc_deallocate

Pawel Laszczak (2):
usb: gadget: uvc: add bInterval checking for HS mode
usb: webcam: Invalid size of Processing Unit Descriptor

Peilin Ye (1):
media: dvbdev: Fix memory leak in dvb_media_device_free()

Peng Fan (1):
mmc: sdhci-esdhc-imx: validate pinctrl before use it

Peter Zijlstra (2):
perf: Rework perf_event_exit_event()
sched,fair: Alternative sched_slice()

Phil Calvin (1):
ALSA: hda/realtek: fix mic boost on Intel NUC 8

Philip Yang (1):
drm/amdgpu: enable retry fault wptr overflow

Phillip Potter (1):
fbdev: zero-fill colormap in fbcmap.c

Pierre-Louis Bossart (1):
soundwire: cadence: only prepare attached devices on clock stop

Pradeep P V K (1):
mmc: sdhci: Check for reset prior to DMA address unmap

Qingqing Zhuo (1):
drm/amd/display: Fix potential memory leak

Qu Huang (1):
drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug

Qu Wenruo (1):
btrfs: handle remount to no compress during compression

Quinn Tran (1):
scsi: qla2xxx: Fix use after free in bsg

Rafael J. Wysocki (1):
PCI: PM: Do not read power state in pci_enable_device_flags()

Rafał Miłecki (1):
ARM: dts: BCM5301X: fix "reg" formatting in /memory node

Randy Dunlap (1):
NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds

Rasmus Villemoes (1):
lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()

Ricardo Ribalda (3):
media: staging/intel-ipu3: Fix memory leak in imu_fmt
media: staging/intel-ipu3: Fix set_fmt error handling
media: staging/intel-ipu3: Fix race condition during set_fmt

Rik van Riel (1):
sched/fair: Bring back select_idle_smt(), but differently

Robin Murphy (2):
perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors perf/arm_pmu_platform: Fix error handling

Roman Bolshakov (1):
scsi: qla2xxx: Reserve extra IRQ vectors

Ruslan Bilovol (2):
usb: gadget: f_uac2: validate input parameters
usb: gadget: f_uac1: validate input parameters

Russ Weight (1):
fpga: dfl: pci: add DID for D5005 PAC cards

Sami Loone (1):
ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops

Sean Christopherson (1):
x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported

Sean Young (1):
media: ite-cir: check for receive overflow

Sebastian Krzyszkowiak (1):
arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on

Sergei Trofimovich (1):
mm: page_alloc: ignore init_on_free=1 for debug_pagealloc=1

Seunghui Lee (1):
mmc: core: Set read only for SD cards with permanent write protect bit

Shixin Liu (7):
crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
crypto: omap-aes - Fix PM reference leak on omap-aes.c

Shuo Chen (1):
dyndbg: fix parsing file query without a line-range suffix

Shyam Prasad N (1):
cifs: detect dead connections only when echoes are enabled.

Sourabh Jain (1):
powerpc/kexec_file: Use current CPU info while setting up FDT

Sreekanth Reddy (2):
scsi: mpt3sas: Only one vSES is present even when IOC has multi vSES
scsi: mpt3sas: Block PCI config access from userspace during reset

Srinivas Pandruvada (2):
tools/power/x86/intel-speed-select: Increase string size platform/x86: ISST: Account for increased timeout in some cases

Stanimir Varbanov (5):
media: venus: pm_helpers: Set opp clock name for v1
media: venus: venc_ctrls: Change default header mode
media: venus: hfi_cmds: Support plane-actual-info property from v1
media: venus: hfi_parser: Don't initialize parser on v1
media: venus: hfi_parser: Check for instance after hfi platform get

Stefan Berger (3):
tpm: acpi: Check eventlog signature before using it
tpm: efi: Use local variable for calculating final log size
tpm: vtpm_proxy: Avoid reading host log when using a virtual device

Steve French (3):
smb3: when mounting with multichannel include it in requested capabilities
smb3: if max_channels set to more than one channel request multichannel
smb3: do not attempt multichannel to server which does not support it

Steven Rostedt (VMware) (3):
ftrace: Handle commands when closing set_ftrace_filter file
tracing: Map all PIDs to command lines
tracing: Restructure trace_clock_global() to never block

Takashi Iwai (4):
ALSA: hda/conexant: Re-order CX5066 quirk table entries
ALSA: usb-audio: Explicitly set up the clock selector
media: dvb-usb: Fix use-after-free access
media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()

Theodore Ts'o (2):
fs: fix reporting supported extra file attributes for statx()
ext4: allow the dax flag to be set and cleared on inline directories

Thinh Nguyen (4):
usb: xhci: Fix port minor revision
usb: dwc3: gadget: Check for disabled LPM quirk
usb: dwc3: gadget: Remove FS bInterval_m1 limitation
usb: dwc3: gadget: Fix START_TRANSFER link state check

Thomas Gleixner (2):
Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI

Thomas Zimmermann (1):
drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check

Tian Tao (1):
dm integrity: fix missing goto in bitmap_flush_interval error handling

Timo Gurr (1):
ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8

Tong Zhang (3):
drm/qxl: do not run release if qxl failed to init drm/ast: fix memory leak when unload the driver drm/radeon: don't evict if not initialized

Tony Ambardar (1):
powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h

Tony Krowiak (1):
s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks

Tony Lindgren (1):
bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first

Trond Myklebust (2):
NFS: Don't discard pNFS layout segments that are marked for return
NFSv4: Don't discard segments marked for return in _pnfs_return_layout()

Tudor Ambarus (2):
Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
spi: spi-ti-qspi: Free DMA resources

Uladzislau Rezki (Sony) (1):
kvfree_rcu: Use same set of GFP flags as does single-argument

Ulf Hansson (1):
mmc: core: Fix hanging on I/O during system suspend for removable cards

Vasily Gorbik (1):
s390/disassembler: increase ebpf disasm buffer size

Vincent Donnefort (2):
sched/fair: Fix task utilization accountability in compute_energy() sched/pelt: Fix task util_est update filtering

Vineeth Vijayan (1):
s390/cio: remove invalid condition on IO_SCH_UNREG

Vitaly Kuznetsov (1):
genirq/matrix: Prevent allocation counter corruption

Vivek Goyal (1):
fuse: fix write deadlock

Wang Li (1):
spi: qup: fix PM reference leak in spi_qup_remove()

Wei Yongjun (2):
spi: dln2: Fix reference leak to master
spi: omap-100k: Fix reference leak to master

Werner Sembach (1):
drm/amd/display: Try YCbCr420 color when YCbCr444 fails

Wesley Cheng (1):
usb: dwc3: gadget: Ignore EP queue requests during bus reset

Wyatt Wood (1):
drm/amd/display: Return invalid state if GPINT times out

Xiang Chen (1):
mtd: spi-nor: core: Fix an issue of releasing resources during read/write

Xiaogang Chen (1):
drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work

Xingui Yang (1):
ata: ahci: Disable SXS for Hisilicon Kunpeng920

Xu Yihang (1):
ext4: fix error return code in ext4_fc_perform_commit()

Xu Yilun (1):
mfd: intel-m10-bmc: Fix the register access range

Yang Yingliang (9):
usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
media: tc358743: fix possible use-after-free in tc358743_remove()
media: adv7604: fix possible use-after-free in adv76xx_remove()
media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
media: i2c: adv7842: fix possible use-after-free in adv7842_remove()

Ye Bin (2):
ext4: always panic when errors=panic is specified
ext4: fix ext4_error_err save negative errno into superblock

Yu Chen (1):
usb: dwc3: core: Do core softreset when switch mode

Zhang Yi (2):
ext4: fix check to prevent false positive report of incorrect used inodes
ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()

brian-sy yang (1):
thermal/drivers/cpufreq_cooling: Fix slab OOB issue

dongjian (1):
power: supply: Use IRQF_ONESHOT

karthik alapati (1):
staging: wimax/i2400m: fix byte-order issue

lizhe (1):
jffs2: Fix kasan slab-out-of-bounds problem

shaoyunl (1):
drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f

xndcn (1):
drm/virtio: fix possible leak/unlock virtio_gpu_object_array

周琰杰 (Zhou Yanjie) (2):
pinctrl: Ingenic: Add missing pins to the JZ4770 MAC MII group.
pinctrl: Ingenic: Add support for read the pin configuration of X1830.

author maintainer
#1 lore raw
Makefile +5 -5
index 5077411a1874..53a4b1cb7bb0 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 12
-SUBLEVEL = 2
+SUBLEVEL = 3
 EXTRAVERSION =
 NAME = Frozen Wasteland
 
@@ -775,16 +775,16 @@ KBUILD_CFLAGS += -Wno-gnu
 KBUILD_CFLAGS += -mno-global-merge
 else
 
-# These warnings generated too much noise in a regular build.
-# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
-KBUILD_CFLAGS += -Wno-unused-but-set-variable
-
 # Warn about unmarked fall-throughs in switch statement.
 # Disabled for clang while comment to attribute conversion happens and
 # https://github.com/ClangBuiltLinux/linux/issues/636 is discussed.
 KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,)
 endif
 
+# These warnings generated too much noise in a regular build.
+# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
+KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
+
 KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
 ifdef CONFIG_FRAME_POINTER
 KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
arch/arm/boot/compressed/Makefile +2 -2
index fd94e27ba4fa..c1f804768621 100644
@@ -118,8 +118,8 @@ asflags-y := -DZIMAGE
 
 # Supply kernel BSS size to the decompressor via a linker symbol.
 KBSS_SZ = $(shell echo $$(($$($(NM) $(obj)/../../../../vmlinux | \
-		sed -n -e 's/^\([^ ]*\) [AB] __bss_start$$/-0x\1/p' \
-		       -e 's/^\([^ ]*\) [AB] __bss_stop$$/+0x\1/p') )) )
+		sed -n -e 's/^\([^ ]*\) [ABD] __bss_start$$/-0x\1/p' \
+		       -e 's/^\([^ ]*\) [ABD] __bss_stop$$/+0x\1/p') )) )
 LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
 # Supply ZRELADDR to the decompressor via a linker symbol.
 ifneq ($(CONFIG_AUTO_ZRELADDR),y)
arch/arm/boot/dts/at91-sam9x60ek.dts +2 -1
index 775ceb3acb6c..edca66c232c1 100644
@@ -8,6 +8,7 @@
  */
 /dts-v1/;
 #include "sam9x60.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Microchip SAM9X60-EK";
@@ -84,7 +85,7 @@ gpio_keys {
 		sw1 {
 			label = "SW1";
 			gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
-			linux,code=<0x104>;
+			linux,code=<KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts +2 -1
index 84e1180f3e89..a9e6fee55a2a 100644
@@ -11,6 +11,7 @@
 #include "at91-sama5d27_som1.dtsi"
 #include <dt-bindings/mfd/atmel-flexcom.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Atmel SAMA5D27 SOM1 EK";
@@ -466,7 +467,7 @@ gpio_keys {
 		pb4 {
 			label = "USER";
 			gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d27_wlsom1_ek.dts +2 -1
index 180a08765cb8..ff83967fd008 100644
@@ -8,6 +8,7 @@
  */
 /dts-v1/;
 #include "at91-sama5d27_wlsom1.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Microchip SAMA5D27 WLSOM1 EK";
@@ -35,7 +36,7 @@ gpio_keys {
 		sw4 {
 			label = "USER BUTTON";
 			gpios = <&pioA PIN_PB2 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d2_icp.dts +2 -1
index 46722a163184..bd64721fa23c 100644
@@ -12,6 +12,7 @@
 #include "sama5d2.dtsi"
 #include "sama5d2-pinfunc.h"
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/mfd/atmel-flexcom.h>
 
 / {
@@ -51,7 +52,7 @@ gpio_keys {
 		sw4 {
 			label = "USER_PB1";
 			gpios = <&pioA PIN_PD0 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +2 -1
index 8de57d164acd..dfd150eb0fd8 100644
@@ -11,6 +11,7 @@
 #include "sama5d2-pinfunc.h"
 #include <dt-bindings/mfd/atmel-flexcom.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/pinctrl/at91.h>
 
 / {
@@ -402,7 +403,7 @@ gpio_keys {
 		bp1 {
 			label = "PB_USER";
 			gpios = <&pioA PIN_PA10 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d2_xplained.dts +2 -1
index 4e7cf21f124c..509c732a0d8b 100644
@@ -10,6 +10,7 @@
 #include "sama5d2-pinfunc.h"
 #include <dt-bindings/mfd/atmel-flexcom.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
 #include <dt-bindings/regulator/active-semi,8945a-regulator.h>
 
 / {
@@ -712,7 +713,7 @@ gpio_keys {
 		bp1 {
 			label = "PB_USER";
 			gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91-sama5d3_xplained.dts +2 -1
index 5179258f9247..9c55a921263b 100644
@@ -7,6 +7,7 @@
  */
 /dts-v1/;
 #include "sama5d36.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "SAMA5D3 Xplained";
@@ -354,7 +355,7 @@ gpio_keys {
 		bp3 {
 			label = "PB_USER";
 			gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91sam9260ek.dts +2 -1
index d3446e42b598..ce96345d28a3 100644
@@ -7,6 +7,7 @@
  */
 /dts-v1/;
 #include "at91sam9260.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 	model = "Atmel at91sam9260ek";
@@ -156,7 +157,7 @@ btn3 {
 		btn4 {
 			label = "Button 4";
 			gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/at91sam9g20ek_common.dtsi +2 -1
index 6e6e672c0b86..87bb39060e8b 100644
@@ -5,6 +5,7 @@
  * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
  */
 #include "at91sam9g20.dtsi"
+#include <dt-bindings/input/input.h>
 
 / {
 
@@ -234,7 +235,7 @@ btn3 {
 		btn4 {
 			label = "Button 4";
 			gpios = <&pioA 31 GPIO_ACTIVE_LOW>;
-			linux,code = <0x104>;
+			linux,code = <KEY_PROG1>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts +2 -2
index 6a96655d8626..8ed403767540 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts +2 -2
index 3b0029e61b4c..667b118ba4ee 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts +2 -2
index 90f57bad6b24..ff31ce45831a 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	spi {
arch/arm/boot/dts/bcm4708-netgear-r6250.dts +2 -2
index fed75e6ab58c..61c7b137607e 100644
@@ -22,8 +22,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts +2 -2
index 79542e18915c..4c60eda296d9 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts +2 -2
index 51c64f0b2560..9ca6d1b2590d 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts +2 -2
index c29950b43a95..0e273c598732 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts +2 -2
index 2f2d2b0a6893..d857751ec507 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	spi {
arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts +2 -2
index 0e349e39f608..8b1a05a0f1a1 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	spi {
arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts +2 -2
index 8f1e565c3db4..6c6bb7b17d27 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts +2 -2
index ce888b1835d1..d29e7f80ea6a 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4709-linksys-ea9200.dts +2 -2
index ed8619b54d69..38fbefdf2e4e 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	gpio-keys {
arch/arm/boot/dts/bcm4709-netgear-r7000.dts +2 -2
index 1f87993eae1d..7989a53597d4 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm4709-netgear-r8000.dts +2 -2
index 6c6199a53d09..87b655be674c 100644
@@ -32,8 +32,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +2 -2
index 911c65fbf251..e635a15041dd 100644
@@ -21,8 +21,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	nand: nand@18028000 {
arch/arm/boot/dts/bcm47094-linksys-panamera.dts +2 -2
index 3725f2b0d60b..4b24b25389b5 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	gpio-keys {
arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts +2 -2
index 50f7cd08cfbb..a6dc99955e19 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts +2 -2
index bcc420f85b56..ff98837bc0db 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts +2 -2
index 4f8d777ae18d..452b8d0ab180 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts +2 -2
index e17e9a17fb00..b76bfe6efcd4 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x08000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x08000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts +2 -2
index 60cc87ecc7ec..32d5a50578ec 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-netgear-r8500.dts +2 -2
index f42a1703f4ab..42097a4c2659 100644
@@ -18,8 +18,8 @@ chosen {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	leds {
arch/arm/boot/dts/bcm47094-phicomm-k3.dts +2 -2
index ac3a4483dcb3..a2566ad4619c 100644
@@ -15,8 +15,8 @@ / {
 
 	memory@0 {
 		device_type = "memory";
-		reg = <0x00000000 0x08000000
-		       0x88000000 0x18000000>;
+		reg = <0x00000000 0x08000000>,
+		      <0x88000000 0x18000000>;
 	};
 
 	gpio-keys {
arch/arm/boot/dts/ste-href-tvk1281618-r3.dtsi +50 -23

92 lines not on this page · raw message

arch/arm/boot/dts/tegra20-acer-a500-picasso.dts +1 -1
index d3b99535d755..f9c0f6884cc1 100644
@@ -448,7 +448,7 @@ touchscreen@4c {
 
 			reset-gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>;
 
-			avdd-supply = <&vdd_3v3_sys>;
+			vdda-supply = <&vdd_3v3_sys>;
 			vdd-supply  = <&vdd_3v3_sys>;
 		};
 
arch/arm/crypto/curve25519-core.S +1 -1
index be18af52e7dc..b697fa5d059a 100644
@@ -10,8 +10,8 @@
 #include <linux/linkage.h>
 
 .text
-.fpu neon
 .arch armv7-a
+.fpu neon
 .align 4
 
 ENTRY(curve25519_neon)
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts +4 -0
index 0d38327043f8..cd3c3edd48fa 100644
@@ -28,6 +28,10 @@ &bq25895 {
 	ti,termination-current = <144000>;  /* uA */
 };
 
+&buck3_reg {
+	regulator-always-on;
+};
+
 &proximity {
 	proximity-near-level = <25>;
 };
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +2 -1
index 7a2df148c6a3..456dcd4a7793 100644
@@ -156,7 +156,8 @@ uart1: serial@12200 {
 			};
 
 			nb_periph_clk: nb-periph-clk@13000 {
-				compatible = "marvell,armada-3700-periph-clock-nb";
+				compatible = "marvell,armada-3700-periph-clock-nb",
+					     "syscon";
 				reg = <0x13000 0x100>;
 				clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>,
 				<&tbg 3>, <&xtalclk>;
arch/arm64/boot/dts/mediatek/mt8173.dtsi +1 -1
index 7fa870e4386a..ecb37a7e6870 100644
@@ -1235,7 +1235,7 @@ dsi1: dsi@1401c000 {
 				 <&mmsys CLK_MM_DSI1_DIGITAL>,
 				 <&mipi_tx1>;
 			clock-names = "engine", "digital", "hs";
-			phy = <&mipi_tx1>;
+			phys = <&mipi_tx1>;
 			phy-names = "dphy";
 			status = "disabled";
 		};
arch/arm64/kernel/vdso/vdso.lds.S +7 -1
index 61dbb4c838ef..a5e61e09ea92 100644
@@ -31,6 +31,13 @@ SECTIONS
 	.gnu.version_d	: { *(.gnu.version_d) }
 	.gnu.version_r	: { *(.gnu.version_r) }
 
+	/*
+	 * Discard .note.gnu.property sections which are unused and have
+	 * different alignment requirement from vDSO note sections.
+	 */
+	/DISCARD/	: {
+		*(.note.GNU-stack .note.gnu.property)
+	}
 	.note		: { *(.note.*) }		:text	:note
 
 	. = ALIGN(16);
@@ -48,7 +55,6 @@ SECTIONS
 	PROVIDE(end = .);
 
 	/DISCARD/	: {
-		*(.note.GNU-stack)
 		*(.data .data.* .gnu.linkonce.d.* .sdata*)
 		*(.bss .sbss .dynbss .dynsbss)
 		*(.eh_frame .eh_frame_hdr)
arch/powerpc/include/asm/mmu_context.h +1 -1
index 652ce85f9410..4bc45d3ed8b0 100644
@@ -263,7 +263,7 @@ extern void arch_exit_mmap(struct mm_struct *mm);
 static inline void arch_unmap(struct mm_struct *mm,
 			      unsigned long start, unsigned long end)
 {
-	unsigned long vdso_base = (unsigned long)mm->context.vdso - PAGE_SIZE;
+	unsigned long vdso_base = (unsigned long)mm->context.vdso;
 
 	if (start <= vdso_base && vdso_base < end)
 		mm->context.vdso = NULL;
arch/powerpc/include/asm/reg.h +1 -0
index da103e92c112..37d0b8c76a59 100644
@@ -441,6 +441,7 @@
 #define   LPCR_VRMA_LP1		ASM_CONST(0x0000800000000000)
 #define   LPCR_RMLS		0x1C000000	/* Implementation dependent RMO limit sel */
 #define   LPCR_RMLS_SH		26
+#define   LPCR_HAIL		ASM_CONST(0x0000000004000000)   /* HV AIL (ISAv3.1) */
 #define   LPCR_ILE		ASM_CONST(0x0000000002000000)   /* !HV irqs set MSR:LE */
 #define   LPCR_AIL		ASM_CONST(0x0000000001800000)	/* Alternate interrupt location */
 #define   LPCR_AIL_0		ASM_CONST(0x0000000000000000)	/* MMU off exception offset 0x0 */
arch/powerpc/include/uapi/asm/errno.h +1 -0
index cc79856896a1..4ba87de32be0 100644
@@ -2,6 +2,7 @@
 #ifndef _ASM_POWERPC_ERRNO_H
 #define _ASM_POWERPC_ERRNO_H
 
+#undef	EDEADLOCK
 #include <asm-generic/errno.h>
 
 #undef	EDEADLOCK
arch/powerpc/kernel/eeh.c +4 -7
index cd60bc1c8701..7040e430a124 100644
@@ -362,14 +362,11 @@ static inline unsigned long eeh_token_to_phys(unsigned long token)
 	pa = pte_pfn(*ptep);
 
 	/* On radix we can do hugepage mappings for io, so handle that */
-	if (hugepage_shift) {
-		pa <<= hugepage_shift;
-		pa |= token & ((1ul << hugepage_shift) - 1);
-	} else {
-		pa <<= PAGE_SHIFT;
-		pa |= token & (PAGE_SIZE - 1);
-	}
+	if (!hugepage_shift)
+		hugepage_shift = PAGE_SHIFT;
 
+	pa <<= PAGE_SHIFT;
+	pa |= token & ((1ul << hugepage_shift) - 1);
 	return pa;
 }
 
arch/powerpc/kernel/setup_64.c +16 -3
index 560ed8b975e7..830fee91b2d9 100644
@@ -232,10 +232,23 @@ static void cpu_ready_for_interrupts(void)
 	 * If we are not in hypervisor mode the job is done once for
 	 * the whole partition in configure_exceptions().
 	 */
-	if (cpu_has_feature(CPU_FTR_HVMODE) &&
-	    cpu_has_feature(CPU_FTR_ARCH_207S)) {
+	if (cpu_has_feature(CPU_FTR_HVMODE)) {
 		unsigned long lpcr = mfspr(SPRN_LPCR);
-		mtspr(SPRN_LPCR, lpcr | LPCR_AIL_3);
+		unsigned long new_lpcr = lpcr;
+
+		if (cpu_has_feature(CPU_FTR_ARCH_31)) {
+			/* P10 DD1 does not have HAIL */
+			if (pvr_version_is(PVR_POWER10) &&
+					(mfspr(SPRN_PVR) & 0xf00) == 0x100)
+				new_lpcr |= LPCR_AIL_3;
+			else
+				new_lpcr |= LPCR_HAIL;
+		} else if (cpu_has_feature(CPU_FTR_ARCH_207S)) {
+			new_lpcr |= LPCR_AIL_3;
+		}
+
+		if (new_lpcr != lpcr)
+			mtspr(SPRN_LPCR, new_lpcr);
 	}
 
 	/*
arch/powerpc/kernel/vdso.c +39 -15

116 lines not on this page · raw message

arch/powerpc/kexec/file_load_64.c +92 -0

104 lines not on this page · raw message

arch/powerpc/kvm/book3s_64_mmu_host.c +2 -0
index e452158a18d7..c3e31fef0be1 100644
@@ -8,6 +8,7 @@
  */
 
 #include <linux/kvm_host.h>
+#include <linux/pkeys.h>
 
 #include <asm/kvm_ppc.h>
 #include <asm/kvm_book3s.h>
@@ -133,6 +134,7 @@ int kvmppc_mmu_map_page(struct kvm_vcpu *vcpu, struct kvmppc_pte *orig_pte,
 	else
 		kvmppc_mmu_flush_icache(pfn);
 
+	rflags |= pte_to_hpte_pkey_bits(0, HPTE_USE_KERNEL_KEY);
 	rflags = (rflags & ~HPTE_R_WIMG) | orig_pte->wimg;
 
 	/*
arch/powerpc/lib/Makefile +3 -0
index d4efc182662a..248f7c9e36fc 100644
@@ -5,6 +5,9 @@
 
 ccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
 
+CFLAGS_code-patching.o += -fno-stack-protector
+CFLAGS_feature-fixups.o += -fno-stack-protector
+
 CFLAGS_REMOVE_code-patching.o = $(CC_FLAGS_FTRACE)
 CFLAGS_REMOVE_feature-fixups.o = $(CC_FLAGS_FTRACE)
 
arch/riscv/kernel/probes/kprobes.c +3 -1
index 7e2c78e2ca6b..d71f7c49a721 100644
@@ -260,8 +260,10 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int trapnr)
 
 		if (kcb->kprobe_status == KPROBE_REENTER)
 			restore_previous_kprobe(kcb);
-		else
+		else {
+			kprobes_restore_local_irqflag(kcb, regs);
 			reset_current_kprobe();
+		}
 
 		break;
 	case KPROBE_HIT_ACTIVE:
arch/s390/crypto/arch_random.c +4 -0
index 7b947728d57e..56007c763902 100644
@@ -54,6 +54,10 @@ static DECLARE_DELAYED_WORK(arch_rng_work, arch_rng_refill_buffer);
 
 bool s390_arch_random_generate(u8 *buf, unsigned int nbytes)
 {
+	/* max hunk is ARCH_RNG_BUF_SIZE */
+	if (nbytes > ARCH_RNG_BUF_SIZE)
+		return false;
+
 	/* lock rng buffer */
 	if (!spin_trylock(&arch_rng_lock))
 		return false;
arch/s390/include/asm/qdio.h +4 -18
index d9215c7106f0..8fc52679543d 100644
@@ -246,21 +246,8 @@ struct slsb {
 	u8 val[QDIO_MAX_BUFFERS_PER_Q];
 } __attribute__ ((packed, aligned(256)));
 
-/**
- * struct qdio_outbuf_state - SBAL related asynchronous operation information
- *   (for communication with upper layer programs)
- *   (only required for use with completion queues)
- * @user: pointer to upper layer program's state information related to SBAL
- *        (stored in user1 data of QAOB)
- */
-struct qdio_outbuf_state {
-	void *user;
-};
-
-#define CHSC_AC1_INITIATE_INPUTQ	0x80
-
-
 /* qdio adapter-characteristics-1 flag */
+#define CHSC_AC1_INITIATE_INPUTQ	0x80
 #define AC1_SIGA_INPUT_NEEDED		0x40	/* process input queues */
 #define AC1_SIGA_OUTPUT_NEEDED		0x20	/* process output queues */
 #define AC1_SIGA_SYNC_NEEDED		0x10	/* ask hypervisor to sync */
@@ -338,7 +325,6 @@ typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
  * @int_parm: interruption parameter
  * @input_sbal_addr_array:  per-queue array, each element points to 128 SBALs
  * @output_sbal_addr_array: per-queue array, each element points to 128 SBALs
- * @output_sbal_state_array: no_output_qs * 128 state info (for CQ or NULL)
  */
 struct qdio_initialize {
 	unsigned char q_format;
@@ -357,7 +343,6 @@ struct qdio_initialize {
 	unsigned long int_parm;
 	struct qdio_buffer ***input_sbal_addr_array;
 	struct qdio_buffer ***output_sbal_addr_array;
-	struct qdio_outbuf_state *output_sbal_state_array;
 };
 
 #define QDIO_STATE_INACTIVE		0x00000002 /* after qdio_cleanup */
@@ -378,9 +363,10 @@ extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs,
 extern int qdio_establish(struct ccw_device *cdev,
 			  struct qdio_initialize *init_data);
 extern int qdio_activate(struct ccw_device *);
+extern struct qaob *qdio_allocate_aob(void);
 extern void qdio_release_aob(struct qaob *);
-extern int do_QDIO(struct ccw_device *, unsigned int, int, unsigned int,
-		   unsigned int);
+extern int do_QDIO(struct ccw_device *cdev, unsigned int callflags, int q_nr,
+		   unsigned int bufnr, unsigned int count, struct qaob *aob);
 extern int qdio_start_irq(struct ccw_device *cdev);
 extern int qdio_stop_irq(struct ccw_device *cdev);
 extern int qdio_get_next_buffers(struct ccw_device *, int, int *, int *);
arch/s390/kernel/dis.c +1 -1
index a7eab7be4db0..5412efe328f8 100644
@@ -563,7 +563,7 @@ void show_code(struct pt_regs *regs)
 
 void print_fn_code(unsigned char *code, unsigned long len)
 {
-	char buffer[64], *ptr;
+	char buffer[128], *ptr;
 	int opsize, i;
 
 	while (len) {
arch/x86/Kconfig +1 -1
index 2792879d398e..268b7d5c9835 100644
@@ -1406,7 +1406,7 @@ config HIGHMEM4G
 
 config HIGHMEM64G
 	bool "64GB"
-	depends on !M486 && !M586 && !M586TSC && !M586MMX && !MGEODE_LX && !MGEODEGX1 && !MCYRIXIII && !MELAN && !MWINCHIPC6 && !WINCHIP3D && !MK6
+	depends on !M486SX && !M486 && !M586 && !M586TSC && !M586MMX && !MGEODE_LX && !MGEODEGX1 && !MCYRIXIII && !MELAN && !MWINCHIPC6 && !WINCHIP3D && !MK6
 	select X86_PAE
 	help
 	  Select this if you have a 32-bit processor and more than 4
arch/x86/Makefile +1 -0
index 9a85eae37b17..78faf9c7e3ae 100644
@@ -33,6 +33,7 @@ REALMODE_CFLAGS += -ffreestanding
 REALMODE_CFLAGS += -fno-stack-protector
 REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), -Wno-address-of-packed-member)
 REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), $(cc_stack_align4))
+REALMODE_CFLAGS += $(CLANG_FLAGS)
 export REALMODE_CFLAGS
 
 # BITS is used as extension for files which are available in a 32 bit
arch/x86/boot/compressed/Makefile +1 -0
index e0bc3988c3fa..6e5522aebbbd 100644
@@ -46,6 +46,7 @@ KBUILD_CFLAGS += -D__DISABLE_EXPORTS
 # Disable relocation relaxation in case the link is not PIE.
 KBUILD_CFLAGS += $(call as-option,-Wa$(comma)-mrelax-relocations=no)
 KBUILD_CFLAGS += -include $(srctree)/include/linux/hidden.h
+KBUILD_CFLAGS += $(CLANG_FLAGS)
 
 # sev-es.c indirectly inludes inat-table.h which is generated during
 # compilation and stored in $(objtree). Add the directory to the includes so
arch/x86/boot/compressed/mem_encrypt.S +0 -6
index aa561795efd1..a6dea4e8a082 100644
@@ -23,12 +23,6 @@ SYM_FUNC_START(get_sev_encryption_bit)
 	push	%ecx
 	push	%edx
 
-	/* Check if running under a hypervisor */
-	movl	$1, %eax
-	cpuid
-	bt	$31, %ecx		/* Check the hypervisor bit */
-	jnc	.Lno_sev
-
 	movl	$0x80000000, %eax	/* CPUID to check the highest leaf */
 	cpuid
 	cmpl	$0x8000001f, %eax	/* See if 0x8000001f is available */
arch/x86/kernel/cpu/common.c +1 -1
index ab640abe26b6..1e576cc831c1 100644
@@ -1850,7 +1850,7 @@ static inline void setup_getcpu(int cpu)
 	unsigned long cpudata = vdso_encode_cpunode(cpu, early_cpu_to_node(cpu));
 	struct desc_struct d = { };
 
-	if (boot_cpu_has(X86_FEATURE_RDTSCP))
+	if (boot_cpu_has(X86_FEATURE_RDTSCP) || boot_cpu_has(X86_FEATURE_RDPID))
 		write_rdtscp_aux(cpudata);
 
 	/* Store CPU and node number in limit. */
arch/x86/kernel/sev-es-shared.c +1 -5
index cdc04d091242..387b71669818 100644
@@ -186,7 +186,6 @@ void __init do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code)
 	 * make it accessible to the hypervisor.
 	 *
 	 * In particular, check for:
-	 *	- Hypervisor CPUID bit
 	 *	- Availability of CPUID leaf 0x8000001f
 	 *	- SEV CPUID bit.
 	 *
@@ -194,10 +193,7 @@ void __init do_vc_no_ghcb(struct pt_regs *regs, unsigned long exit_code)
 	 * can't be checked here.
 	 */
 
-	if ((fn == 1 && !(regs->cx & BIT(31))))
-		/* Hypervisor bit */
-		goto fail;
-	else if (fn == 0x80000000 && (regs->ax < 0x8000001f))
+	if (fn == 0x80000000 && (regs->ax < 0x8000001f))
 		/* SEV leaf check */
 		goto fail;
 	else if ((fn == 0x8000001f && !(regs->ax & BIT(1))))
arch/x86/mm/mem_encrypt_identity.c +19 -16
index 6c5eb6f3f14f..a19374d26101 100644
@@ -503,14 +503,10 @@ void __init sme_enable(struct boot_params *bp)
 
 #define AMD_SME_BIT	BIT(0)
 #define AMD_SEV_BIT	BIT(1)
-	/*
-	 * Set the feature mask (SME or SEV) based on whether we are
-	 * running under a hypervisor.
-	 */
-	eax = 1;
-	ecx = 0;
-	native_cpuid(&eax, &ebx, &ecx, &edx);
-	feature_mask = (ecx & BIT(31)) ? AMD_SEV_BIT : AMD_SME_BIT;
+
+	/* Check the SEV MSR whether SEV or SME is enabled */
+	sev_status   = __rdmsr(MSR_AMD64_SEV);
+	feature_mask = (sev_status & MSR_AMD64_SEV_ENABLED) ? AMD_SEV_BIT : AMD_SME_BIT;
 
 	/*
 	 * Check for the SME/SEV feature:
@@ -530,19 +526,26 @@ void __init sme_enable(struct boot_params *bp)
 
 	/* Check if memory encryption is enabled */
 	if (feature_mask == AMD_SME_BIT) {
+		/*
+		 * No SME if Hypervisor bit is set. This check is here to
+		 * prevent a guest from trying to enable SME. For running as a
+		 * KVM guest the MSR_K8_SYSCFG will be sufficient, but there
+		 * might be other hypervisors which emulate that MSR as non-zero
+		 * or even pass it through to the guest.
+		 * A malicious hypervisor can still trick a guest into this
+		 * path, but there is no way to protect against that.
+		 */
+		eax = 1;
+		ecx = 0;
+		native_cpuid(&eax, &ebx, &ecx, &edx);
+		if (ecx & BIT(31))
+			return;
+
 		/* For SME, check the SYSCFG MSR */
 		msr = __rdmsr(MSR_K8_SYSCFG);
 		if (!(msr & MSR_K8_SYSCFG_MEM_ENCRYPT))
 			return;
 	} else {
-		/* For SEV, check the SEV MSR */
-		msr = __rdmsr(MSR_AMD64_SEV);
-		if (!(msr & MSR_AMD64_SEV_ENABLED))
-			return;
-
-		/* Save SEV_STATUS to avoid reading MSR again */
-		sev_status = msr;
-
 		/* SEV state cannot be controlled by a command line option */
 		sme_me_mask = me_mask;
 		sev_enabled = true;
block/bfq-iosched.c +8 -2
index 95586137194e..20ba5db0f61c 100644
@@ -1012,7 +1012,7 @@ static void
 bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd,
 		      struct bfq_io_cq *bic, bool bfq_already_existing)
 {
-	unsigned int old_wr_coeff = bfqq->wr_coeff;
+	unsigned int old_wr_coeff = 1;
 	bool busy = bfq_already_existing && bfq_bfqq_busy(bfqq);
 
 	if (bic->saved_has_short_ttime)
@@ -1033,7 +1033,13 @@ bfq_bfqq_resume_state(struct bfq_queue *bfqq, struct bfq_data *bfqd,
 	bfqq->ttime = bic->saved_ttime;
 	bfqq->io_start_time = bic->saved_io_start_time;
 	bfqq->tot_idle_time = bic->saved_tot_idle_time;
-	bfqq->wr_coeff = bic->saved_wr_coeff;
+	/*
+	 * Restore weight coefficient only if low_latency is on
+	 */
+	if (bfqd->low_latency) {
+		old_wr_coeff = bfqq->wr_coeff;
+		bfqq->wr_coeff = bic->saved_wr_coeff;
+	}
 	bfqq->service_from_wr = bic->saved_service_from_wr;
 	bfqq->wr_start_at_switch_to_srt = bic->saved_wr_start_at_switch_to_srt;
 	bfqq->last_wr_start_finish = bic->saved_last_wr_start_finish;
crypto/api.c +1 -1
index ed08cbd5b9d3..c4eda56cff89 100644
@@ -562,7 +562,7 @@ void crypto_destroy_tfm(void *mem, struct crypto_tfm *tfm)
 {
 	struct crypto_alg *alg;
 
-	if (unlikely(!mem))
+	if (IS_ERR_OR_NULL(mem))
 		return;
 
 	alg = tfm->__crt_alg;
crypto/rng.c +3 -7
index a888d84b524a..fea082b25fe4 100644
@@ -34,22 +34,18 @@ int crypto_rng_reset(struct crypto_rng *tfm, const u8 *seed, unsigned int slen)
 	u8 *buf = NULL;
 	int err;
 
-	crypto_stats_get(alg);
 	if (!seed && slen) {
 		buf = kmalloc(slen, GFP_KERNEL);
-		if (!buf) {
-			crypto_alg_put(alg);
+		if (!buf)
 			return -ENOMEM;
-		}
 
 		err = get_random_bytes_wait(buf, slen);
-		if (err) {
-			crypto_alg_put(alg);
+		if (err)
 			goto out;
-		}
 		seed = buf;
 	}
 
+	crypto_stats_get(alg);
 	err = crypto_rng_alg(tfm)->seed(tfm, seed, slen);
 	crypto_stats_rng_seed(alg, err);
 out:
drivers/acpi/arm64/gtdt.c +6 -4
index f2d0e5915dab..0a0a982f9c28 100644
@@ -329,7 +329,7 @@ static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd,
 					int index)
 {
 	struct platform_device *pdev;
-	int irq = map_gt_gsi(wd->timer_interrupt, wd->timer_flags);
+	int irq;
 
 	/*
 	 * According to SBSA specification the size of refresh and control
@@ -338,7 +338,7 @@ static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd,
 	struct resource res[] = {
 		DEFINE_RES_MEM(wd->control_frame_address, SZ_4K),
 		DEFINE_RES_MEM(wd->refresh_frame_address, SZ_4K),
-		DEFINE_RES_IRQ(irq),
+		{},
 	};
 	int nr_res = ARRAY_SIZE(res);
 
@@ -348,10 +348,11 @@ static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd,
 
 	if (!(wd->refresh_frame_address && wd->control_frame_address)) {
 		pr_err(FW_BUG "failed to get the Watchdog base address.\n");
-		acpi_unregister_gsi(wd->timer_interrupt);
 		return -EINVAL;
 	}
 
+	irq = map_gt_gsi(wd->timer_interrupt, wd->timer_flags);
+	res[2] = (struct resource)DEFINE_RES_IRQ(irq);
 	if (irq <= 0) {
 		pr_warn("failed to map the Watchdog interrupt.\n");
 		nr_res--;
@@ -364,7 +365,8 @@ static int __init gtdt_import_sbsa_gwdt(struct acpi_gtdt_watchdog *wd,
 	 */
 	pdev = platform_device_register_simple("sbsa-gwdt", index, res, nr_res);
 	if (IS_ERR(pdev)) {
-		acpi_unregister_gsi(wd->timer_interrupt);
+		if (irq > 0)
+			acpi_unregister_gsi(wd->timer_interrupt);
 		return PTR_ERR(pdev);
 	}
 
drivers/acpi/custom_method.c +3 -1
index 7b54dc95d36b..4058e0241091 100644
@@ -42,6 +42,8 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
 				   sizeof(struct acpi_table_header)))
 			return -EFAULT;
 		uncopied_bytes = max_size = table.length;
+		/* make sure the buf is not allocated */
+		kfree(buf);
 		buf = kzalloc(max_size, GFP_KERNEL);
 		if (!buf)
 			return -ENOMEM;
@@ -55,6 +57,7 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
 	    (*ppos + count < count) ||
 	    (count > uncopied_bytes)) {
 		kfree(buf);
+		buf = NULL;
 		return -EINVAL;
 	}
 
@@ -76,7 +79,6 @@ static ssize_t cm_write(struct file *file, const char __user * user_buf,
 		add_taint(TAINT_OVERRIDDEN_ACPI_TABLE, LOCKDEP_NOW_UNRELIABLE);
 	}
 
-	kfree(buf);
 	return count;
 }
 
drivers/ata/ahci.c +5 -0
index 00ba8e5a1ccc..33192a8f687d 100644
@@ -1772,6 +1772,11 @@ static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 		hpriv->flags |= AHCI_HFLAG_NO_DEVSLP;
 
 #ifdef CONFIG_ARM64
+	if (pdev->vendor == PCI_VENDOR_ID_HUAWEI &&
+	    pdev->device == 0xa235 &&
+	    pdev->revision < 0x30)
+		hpriv->flags |= AHCI_HFLAG_NO_SXS;
+
 	if (pdev->vendor == 0x177d && pdev->device == 0xa01c)
 		hpriv->irq_handler = ahci_thunderx_irq_handler;
 #endif
drivers/ata/ahci.h +1 -0
index 98b8baa47dc5..d1f284f0c83d 100644
@@ -242,6 +242,7 @@ enum {
 							suspend/resume */
 	AHCI_HFLAG_IGN_NOTSUPP_POWER_ON	= (1 << 27), /* ignore -EOPNOTSUPP
 							from phy_power_on() */
+	AHCI_HFLAG_NO_SXS		= (1 << 28), /* SXS not supported */
 
 	/* ap->flags bits */
 
drivers/ata/libahci.c +5 -0
index ea5bf5f4cbed..fec2e9754aed 100644
@@ -493,6 +493,11 @@ void ahci_save_initial_config(struct device *dev, struct ahci_host_priv *hpriv)
 		cap |= HOST_CAP_ALPM;
 	}
 
+	if ((cap & HOST_CAP_SXS) && (hpriv->flags & AHCI_HFLAG_NO_SXS)) {
+		dev_info(dev, "controller does not support SXS, disabling CAP_SXS\n");
+		cap &= ~HOST_CAP_SXS;
+	}
+
 	if (hpriv->force_port_map && port_map != hpriv->force_port_map) {
 		dev_info(dev, "forcing port_map 0x%x -> 0x%x\n",
 			 port_map, hpriv->force_port_map);
drivers/block/rnbd/rnbd-clt-sysfs.c +7 -3
index d4aa6bfc9555..526c77cd7a50 100644
@@ -432,10 +432,14 @@ void rnbd_clt_remove_dev_symlink(struct rnbd_clt_dev *dev)
 	 * i.e. rnbd_clt_unmap_dev_store() leading to a sysfs warning because
 	 * of sysfs link already was removed already.
 	 */
-	if (dev->blk_symlink_name && try_module_get(THIS_MODULE)) {
-		sysfs_remove_link(rnbd_devs_kobj, dev->blk_symlink_name);
+	if (dev->blk_symlink_name) {
+		if (try_module_get(THIS_MODULE)) {
+			sysfs_remove_link(rnbd_devs_kobj, dev->blk_symlink_name);
+			module_put(THIS_MODULE);
+		}
+		/* It should be freed always. */
 		kfree(dev->blk_symlink_name);
-		module_put(THIS_MODULE);
+		dev->blk_symlink_name = NULL;
 	}
 }
 
drivers/block/rnbd/rnbd-srv.c +3 -1
index a6a68d44f517..677770f32843 100644
@@ -341,7 +341,9 @@ void rnbd_srv_sess_dev_force_close(struct rnbd_srv_sess_dev *sess_dev)
 	struct rnbd_srv_session	*sess = sess_dev->sess;
 
 	sess_dev->keep_id = true;
-	mutex_lock(&sess->lock);
+	/* It is already started to close by client's close message. */
+	if (!mutex_trylock(&sess->lock))
+		return;
 	rnbd_srv_destroy_dev_session_sysfs(sess_dev);
 	mutex_unlock(&sess->lock);
 }
drivers/bus/mhi/core/init.c +19 -10
index be4eebb0971b..08b7f4a06bfc 100644
@@ -508,8 +508,6 @@ int mhi_init_mmio(struct mhi_controller *mhi_cntrl)
 
 	/* Setup wake db */
 	mhi_cntrl->wake_db = base + val + (8 * MHI_DEV_WAKE_DB);
-	mhi_write_reg(mhi_cntrl, mhi_cntrl->wake_db, 4, 0);
-	mhi_write_reg(mhi_cntrl, mhi_cntrl->wake_db, 0, 0);
 	mhi_cntrl->wake_set = false;
 
 	/* Setup channel db address for each channel in tre_ring */
@@ -552,6 +550,7 @@ void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntrl,
 	struct mhi_ring *buf_ring;
 	struct mhi_ring *tre_ring;
 	struct mhi_chan_ctxt *chan_ctxt;
+	u32 tmp;
 
 	buf_ring = &mhi_chan->buf_ring;
 	tre_ring = &mhi_chan->tre_ring;
@@ -565,7 +564,19 @@ void mhi_deinit_chan_ctxt(struct mhi_controller *mhi_cntrl,
 	vfree(buf_ring->base);
 
 	buf_ring->base = tre_ring->base = NULL;
+	tre_ring->ctxt_wp = NULL;
 	chan_ctxt->rbase = 0;
+	chan_ctxt->rlen = 0;
+	chan_ctxt->rp = 0;
+	chan_ctxt->wp = 0;
+
+	tmp = chan_ctxt->chcfg;
+	tmp &= ~CHAN_CTX_CHSTATE_MASK;
+	tmp |= (MHI_CH_STATE_DISABLED << CHAN_CTX_CHSTATE_SHIFT);
+	chan_ctxt->chcfg = tmp;
+
+	/* Update to all cores */
+	smp_wmb();
 }
 
 int mhi_init_chan_ctxt(struct mhi_controller *mhi_cntrl,
@@ -863,12 +874,10 @@ int mhi_register_controller(struct mhi_controller *mhi_cntrl,
 	u32 soc_info;
 	int ret, i;
 
-	if (!mhi_cntrl)
-		return -EINVAL;
-
-	if (!mhi_cntrl->runtime_get || !mhi_cntrl->runtime_put ||
+	if (!mhi_cntrl || !mhi_cntrl->cntrl_dev || !mhi_cntrl->regs ||
+	    !mhi_cntrl->runtime_get || !mhi_cntrl->runtime_put ||
 	    !mhi_cntrl->status_cb || !mhi_cntrl->read_reg ||
-	    !mhi_cntrl->write_reg || !mhi_cntrl->nr_irqs)
+	    !mhi_cntrl->write_reg || !mhi_cntrl->nr_irqs || !mhi_cntrl->irq)
 		return -EINVAL;
 
 	ret = parse_config(mhi_cntrl, config);
@@ -890,8 +899,7 @@ int mhi_register_controller(struct mhi_controller *mhi_cntrl,
 	INIT_WORK(&mhi_cntrl->st_worker, mhi_pm_st_worker);
 	init_waitqueue_head(&mhi_cntrl->state_event);
 
-	mhi_cntrl->hiprio_wq = alloc_ordered_workqueue
-				("mhi_hiprio_wq", WQ_MEM_RECLAIM | WQ_HIGHPRI);
+	mhi_cntrl->hiprio_wq = alloc_ordered_workqueue("mhi_hiprio_wq", WQ_HIGHPRI);
 	if (!mhi_cntrl->hiprio_wq) {
 		dev_err(mhi_cntrl->cntrl_dev, "Failed to allocate workqueue\n");
 		ret = -ENOMEM;
@@ -1296,7 +1304,8 @@ static int mhi_driver_remove(struct device *dev)
 
 		mutex_lock(&mhi_chan->mutex);
 
-		if (ch_state[dir] == MHI_CH_STATE_ENABLED &&
+		if ((ch_state[dir] == MHI_CH_STATE_ENABLED ||
+		     ch_state[dir] == MHI_CH_STATE_STOP) &&
 		    !mhi_chan->offload_ch)
 			mhi_deinit_chan_ctxt(mhi_cntrl, mhi_chan);
 
drivers/bus/mhi/core/main.c +137 -40

326 lines not on this page · raw message

drivers/bus/mhi/core/pm.c +7 -3
index 681960c72d2a..277704af7eb6 100644
@@ -377,24 +377,28 @@ static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl)
 {
 	struct mhi_event *mhi_event;
 	struct device *dev = &mhi_cntrl->mhi_dev->dev;
+	enum mhi_ee_type ee = MHI_EE_MAX, current_ee = mhi_cntrl->ee;
 	int i, ret;
 
 	dev_dbg(dev, "Processing Mission Mode transition\n");
 
 	write_lock_irq(&mhi_cntrl->pm_lock);
 	if (MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state))
-		mhi_cntrl->ee = mhi_get_exec_env(mhi_cntrl);
+		ee = mhi_get_exec_env(mhi_cntrl);
 
-	if (!MHI_IN_MISSION_MODE(mhi_cntrl->ee)) {
+	if (!MHI_IN_MISSION_MODE(ee)) {
 		mhi_cntrl->pm_state = MHI_PM_LD_ERR_FATAL_DETECT;
 		write_unlock_irq(&mhi_cntrl->pm_lock);
 		wake_up_all(&mhi_cntrl->state_event);
 		return -EIO;
 	}
+	mhi_cntrl->ee = ee;
 	write_unlock_irq(&mhi_cntrl->pm_lock);
 
 	wake_up_all(&mhi_cntrl->state_event);
 
+	device_for_each_child(&mhi_cntrl->mhi_dev->dev, &current_ee,
+			      mhi_destroy_device);
 	mhi_cntrl->status_cb(mhi_cntrl, MHI_CB_EE_MISSION_MODE);
 
 	/* Force MHI to be in M0 state before continuing */
@@ -1092,7 +1096,7 @@ int mhi_async_power_up(struct mhi_controller *mhi_cntrl)
 							   &val) ||
 					!val,
 				msecs_to_jiffies(mhi_cntrl->timeout_ms));
-		if (ret) {
+		if (!ret) {
 			ret = -EIO;
 			dev_info(dev, "Failed to reset MHI due to syserr state\n");
 			goto error_bhi_offset;
drivers/bus/mhi/pci_generic.c +25 -0
index 20673a4b4a3c..ef549c695b55 100644
@@ -230,6 +230,21 @@ static void mhi_pci_status_cb(struct mhi_controller *mhi_cntrl,
 	}
 }
 
+static void mhi_pci_wake_get_nop(struct mhi_controller *mhi_cntrl, bool force)
+{
+	/* no-op */
+}
+
+static void mhi_pci_wake_put_nop(struct mhi_controller *mhi_cntrl, bool override)
+{
+	/* no-op */
+}
+
+static void mhi_pci_wake_toggle_nop(struct mhi_controller *mhi_cntrl)
+{
+	/* no-op */
+}
+
 static bool mhi_pci_is_alive(struct mhi_controller *mhi_cntrl)
 {
 	struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev);
@@ -433,6 +448,9 @@ static int mhi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 	mhi_cntrl->status_cb = mhi_pci_status_cb;
 	mhi_cntrl->runtime_get = mhi_pci_runtime_get;
 	mhi_cntrl->runtime_put = mhi_pci_runtime_put;
+	mhi_cntrl->wake_get = mhi_pci_wake_get_nop;
+	mhi_cntrl->wake_put = mhi_pci_wake_put_nop;
+	mhi_cntrl->wake_toggle = mhi_pci_wake_toggle_nop;
 
 	err = mhi_pci_claim(mhi_cntrl, info->bar_num, DMA_BIT_MASK(info->dma_data_width));
 	if (err)
@@ -498,6 +516,12 @@ static void mhi_pci_remove(struct pci_dev *pdev)
 	mhi_unregister_controller(mhi_cntrl);
 }
 
+static void mhi_pci_shutdown(struct pci_dev *pdev)
+{
+	mhi_pci_remove(pdev);
+	pci_set_power_state(pdev, PCI_D3hot);
+}
+
 static void mhi_pci_reset_prepare(struct pci_dev *pdev)
 {
 	struct mhi_pci_device *mhi_pdev = pci_get_drvdata(pdev);
@@ -668,6 +692,7 @@ static struct pci_driver mhi_pci_driver = {
 	.id_table	= mhi_pci_id_table,
 	.probe		= mhi_pci_probe,
 	.remove		= mhi_pci_remove,
+	.shutdown	= mhi_pci_shutdown,
 	.err_handler	= &mhi_pci_err_handler,
 	.driver.pm	= &mhi_pci_pm_ops
 };
drivers/bus/ti-sysc.c +49 -0

61 lines not on this page · raw message

drivers/char/random.c +2 -2
index 0fe9e200e4c8..5d6acfecd919 100644
@@ -819,7 +819,7 @@ static bool __init crng_init_try_arch_early(struct crng_state *crng)
 
 static void __maybe_unused crng_initialize_secondary(struct crng_state *crng)
 {
-	memcpy(&crng->state[0], "expand 32-byte k", 16);
+	chacha_init_consts(crng->state);
 	_get_random_bytes(&crng->state[4], sizeof(__u32) * 12);
 	crng_init_try_arch(crng);
 	crng->init_time = jiffies - CRNG_RESEED_INTERVAL - 1;
@@ -827,7 +827,7 @@ static void __maybe_unused crng_initialize_secondary(struct crng_state *crng)
 
 static void __init crng_initialize_primary(struct crng_state *crng)
 {
-	memcpy(&crng->state[0], "expand 32-byte k", 16);
+	chacha_init_consts(crng->state);
 	_extract_entropy(&input_pool, &crng->state[4], sizeof(__u32) * 12, 0);
 	if (crng_init_try_arch_early(crng) && trust_cpu) {
 		invalidate_batched_entropy();
drivers/char/tpm/eventlog/acpi.c +32 -1
index 3633ed70f48f..1b18ce5ebab1 100644
@@ -41,6 +41,27 @@ struct acpi_tcpa {
 	};
 };
 
+/* Check that the given log is indeed a TPM2 log. */
+static bool tpm_is_tpm2_log(void *bios_event_log, u64 len)
+{
+	struct tcg_efi_specid_event_head *efispecid;
+	struct tcg_pcr_event *event_header;
+	int n;
+
+	if (len < sizeof(*event_header))
+		return false;
+	len -= sizeof(*event_header);
+	event_header = bios_event_log;
+
+	if (len < sizeof(*efispecid))
+		return false;
+	efispecid = (struct tcg_efi_specid_event_head *)event_header->event;
+
+	n = memcmp(efispecid->signature, TCG_SPECID_SIG,
+		   sizeof(TCG_SPECID_SIG));
+	return n == 0;
+}
+
 /* read binary bios log */
 int tpm_read_log_acpi(struct tpm_chip *chip)
 {
@@ -52,6 +73,7 @@ int tpm_read_log_acpi(struct tpm_chip *chip)
 	struct acpi_table_tpm2 *tbl;
 	struct acpi_tpm2_phy *tpm2_phy;
 	int format;
+	int ret;
 
 	log = &chip->log;
 
@@ -112,6 +134,7 @@ int tpm_read_log_acpi(struct tpm_chip *chip)
 
 	log->bios_event_log_end = log->bios_event_log + len;
 
+	ret = -EIO;
 	virt = acpi_os_map_iomem(start, len);
 	if (!virt)
 		goto err;
@@ -119,11 +142,19 @@ int tpm_read_log_acpi(struct tpm_chip *chip)
 	memcpy_fromio(log->bios_event_log, virt, len);
 
 	acpi_os_unmap_iomem(virt, len);
+
+	if (chip->flags & TPM_CHIP_FLAG_TPM2 &&
+	    !tpm_is_tpm2_log(log->bios_event_log, len)) {
+		/* try EFI log next */
+		ret = -ENODEV;
+		goto err;
+	}
+
 	return format;
 
 err:
 	kfree(log->bios_event_log);
 	log->bios_event_log = NULL;
-	return -EIO;
+	return ret;
 
 }
drivers/char/tpm/eventlog/common.c +3 -0
index 7460f230bae4..8512ec76d526 100644
@@ -107,6 +107,9 @@ void tpm_bios_log_setup(struct tpm_chip *chip)
 	int log_version;
 	int rc = 0;
 
+	if (chip->flags & TPM_CHIP_FLAG_VIRTUAL)
+		return;
+
 	rc = tpm_read_log(chip);
 	if (rc < 0)
 		return;
drivers/char/tpm/eventlog/efi.c +21 -8
index 35229e5143ca..e6cb9d525e30 100644
@@ -17,6 +17,7 @@ int tpm_read_log_efi(struct tpm_chip *chip)
 {
 
 	struct efi_tcg2_final_events_table *final_tbl = NULL;
+	int final_events_log_size = efi_tpm_final_log_size;
 	struct linux_efi_tpm_eventlog *log_tbl;
 	struct tpm_bios_log *log;
 	u32 log_size;
@@ -66,12 +67,12 @@ int tpm_read_log_efi(struct tpm_chip *chip)
 	ret = tpm_log_version;
 
 	if (efi.tpm_final_log == EFI_INVALID_TABLE_ADDR ||
-	    efi_tpm_final_log_size == 0 ||
+	    final_events_log_size == 0 ||
 	    tpm_log_version != EFI_TCG2_EVENT_LOG_FORMAT_TCG_2)
 		goto out;
 
 	final_tbl = memremap(efi.tpm_final_log,
-			     sizeof(*final_tbl) + efi_tpm_final_log_size,
+			     sizeof(*final_tbl) + final_events_log_size,
 			     MEMREMAP_WB);
 	if (!final_tbl) {
 		pr_err("Could not map UEFI TPM final log\n");
@@ -80,10 +81,18 @@ int tpm_read_log_efi(struct tpm_chip *chip)
 		goto out;
 	}
 
-	efi_tpm_final_log_size -= log_tbl->final_events_preboot_size;
+	/*
+	 * The 'final events log' size excludes the 'final events preboot log'
+	 * at its beginning.
+	 */
+	final_events_log_size -= log_tbl->final_events_preboot_size;
 
+	/*
+	 * Allocate memory for the 'combined log' where we will append the
+	 * 'final events log' to.
+	 */
 	tmp = krealloc(log->bios_event_log,
-		       log_size + efi_tpm_final_log_size,
+		       log_size + final_events_log_size,
 		       GFP_KERNEL);
 	if (!tmp) {
 		kfree(log->bios_event_log);
@@ -94,15 +103,19 @@ int tpm_read_log_efi(struct tpm_chip *chip)
 	log->bios_event_log = tmp;
 
 	/*
-	 * Copy any of the final events log that didn't also end up in the
-	 * main log. Events can be logged in both if events are generated
+	 * Append any of the 'final events log' that didn't also end up in the
+	 * 'main log'. Events can be logged in both if events are generated
 	 * between GetEventLog() and ExitBootServices().
 	 */
 	memcpy((void *)log->bios_event_log + log_size,
 	       final_tbl->events + log_tbl->final_events_preboot_size,
-	       efi_tpm_final_log_size);
+	       final_events_log_size);
+	/*
+	 * The size of the 'combined log' is the size of the 'main log' plus
+	 * the size of the 'final events log'.
+	 */
 	log->bios_event_log_end = log->bios_event_log +
-		log_size + efi_tpm_final_log_size;
+		log_size + final_events_log_size;
 
 out:
 	memunmap(final_tbl);
drivers/clk/socfpga/clk-gate-a10.c +1 -0
index cd5df9103614..d62778884208 100644
@@ -146,6 +146,7 @@ static void __init __socfpga_gate_init(struct device_node *node,
 		if (IS_ERR(socfpga_clk->sys_mgr_base_addr)) {
 			pr_err("%s: failed to find altr,sys-mgr regmap!\n",
 					__func__);
+			kfree(socfpga_clk);
 			return;
 		}
 	}
drivers/clocksource/dw_apb_timer_of.c +21 -5
index 42e7e43b8fcd..b1e2b697b21b 100644
@@ -52,18 +52,34 @@ static int __init timer_get_base_and_rate(struct device_node *np,
 		return 0;
 
 	timer_clk = of_clk_get_by_name(np, "timer");
-	if (IS_ERR(timer_clk))
-		return PTR_ERR(timer_clk);
+	if (IS_ERR(timer_clk)) {
+		ret = PTR_ERR(timer_clk);
+		goto out_pclk_disable;
+	}
 
 	ret = clk_prepare_enable(timer_clk);
 	if (ret)
-		return ret;
+		goto out_timer_clk_put;
 
 	*rate = clk_get_rate(timer_clk);
-	if (!(*rate))
-		return -EINVAL;
+	if (!(*rate)) {
+		ret = -EINVAL;
+		goto out_timer_clk_disable;
+	}
 
 	return 0;
+
+out_timer_clk_disable:
+	clk_disable_unprepare(timer_clk);
+out_timer_clk_put:
+	clk_put(timer_clk);
+out_pclk_disable:
+	if (!IS_ERR(pclk)) {
+		clk_disable_unprepare(pclk);
+		clk_put(pclk);
+	}
+	iounmap(*base);
+	return ret;
 }
 
 static int __init add_clockevent(struct device_node *event_timer)
drivers/cpuidle/cpuidle-tegra.c +6 -6
index 191966dc8d02..29c5e83500d3 100644
@@ -135,13 +135,13 @@ static int tegra_cpuidle_c7_enter(void)
 {
 	int err;
 
-	if (tegra_cpuidle_using_firmware()) {
-		err = call_firmware_op(prepare_idle, TF_PM_MODE_LP2_NOFLUSH_L2);
-		if (err)
-			return err;
+	err = call_firmware_op(prepare_idle, TF_PM_MODE_LP2_NOFLUSH_L2);
+	if (err && err != -ENOSYS)
+		return err;
 
-		return call_firmware_op(do_idle, 0);
-	}
+	err = call_firmware_op(do_idle, 0);
+	if (err != -ENOSYS)
+		return err;
 
 	return cpu_suspend(0, tegra30_pm_secondary_cpu_suspend);
 }
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c +1 -1
index c2e6f5ed1d79..dec79fa3ebaf 100644
@@ -561,7 +561,7 @@ int sun4i_ss_cipher_init(struct crypto_tfm *tfm)
 				    sizeof(struct sun4i_cipher_req_ctx) +
 				    crypto_skcipher_reqsize(op->fallback_tfm));
 
-	err = pm_runtime_get_sync(op->ss->dev);
+	err = pm_runtime_resume_and_get(op->ss->dev);
 	if (err < 0)
 		goto error_pm;
 
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c +1 -1
index 709905ec4680..02a2d34845f2 100644
@@ -459,7 +459,7 @@ static int sun4i_ss_probe(struct platform_device *pdev)
 	 * this info could be useful
 	 */
 
-	err = pm_runtime_get_sync(ss->dev);
+	err = pm_runtime_resume_and_get(ss->dev);
 	if (err < 0)
 		goto error_pm;
 
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c +1 -1
index c1b4585e9bbc..d28292762b32 100644
@@ -27,7 +27,7 @@ int sun4i_hash_crainit(struct crypto_tfm *tfm)
 	algt = container_of(alg, struct sun4i_ss_alg_template, alg.hash);
 	op->ss = algt->ss;
 
-	err = pm_runtime_get_sync(op->ss->dev);
+	err = pm_runtime_resume_and_get(op->ss->dev);
 	if (err < 0)
 		return err;
 
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c +1 -1
index 443160a114bb..491fcb7b81b4 100644
@@ -29,7 +29,7 @@ int sun4i_ss_prng_generate(struct crypto_rng *tfm, const u8 *src,
 	algt = container_of(alg, struct sun4i_ss_alg_template, alg.rng);
 	ss = algt->ss;
 
-	err = pm_runtime_get_sync(ss->dev);
+	err = pm_runtime_resume_and_get(ss->dev);
 	if (err < 0)
 		return err;
 
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c +1 -1
index 158422ff5695..00194d1d9ae6 100644
@@ -932,7 +932,7 @@ static int sun8i_ce_probe(struct platform_device *pdev)
 	if (err)
 		goto error_alg;
 
-	err = pm_runtime_get_sync(ce->dev);
+	err = pm_runtime_resume_and_get(ce->dev);
 	if (err < 0)
 		goto error_alg;
 
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c +1 -1
index ed2a69f82e1c..7c355bc2fb06 100644
@@ -351,7 +351,7 @@ int sun8i_ss_cipher_init(struct crypto_tfm *tfm)
 	op->enginectx.op.prepare_request = NULL;
 	op->enginectx.op.unprepare_request = NULL;
 
-	err = pm_runtime_get_sync(op->ss->dev);
+	err = pm_runtime_resume_and_get(op->ss->dev);
 	if (err < 0) {
 		dev_err(op->ss->dev, "pm error %d\n", err);
 		goto error_pm;
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c +1 -1
index e0ddc684798d..80e89066dbd1 100644
@@ -753,7 +753,7 @@ static int sun8i_ss_probe(struct platform_device *pdev)
 	if (err)
 		goto error_alg;
 
-	err = pm_runtime_get_sync(ss->dev);
+	err = pm_runtime_resume_and_get(ss->dev);
 	if (err < 0)
 		goto error_alg;
 
drivers/crypto/hisilicon/sec2/sec_crypto.c +1 -1
index 2eaa516b3231..8adcbb327126 100644
@@ -546,7 +546,7 @@ static int sec_skcipher_init(struct crypto_skcipher *tfm)
 	crypto_skcipher_set_reqsize(tfm, sizeof(struct sec_req));
 	ctx->c_ctx.ivsize = crypto_skcipher_ivsize(tfm);
 	if (ctx->c_ctx.ivsize > SEC_IV_SIZE) {
-		dev_err(SEC_CTX_DEV(ctx), "get error skcipher iv size!\n");
+		pr_err("get error skcipher iv size!\n");
 		return -EINVAL;
 	}
 
drivers/crypto/omap-aes.c +3 -4
index a45bdcf3026d..0dd4c6b157de 100644
@@ -103,9 +103,8 @@ static int omap_aes_hw_init(struct omap_aes_dev *dd)
 		dd->err = 0;
 	}
 
-	err = pm_runtime_get_sync(dd->dev);
+	err = pm_runtime_resume_and_get(dd->dev);
 	if (err < 0) {
-		pm_runtime_put_noidle(dd->dev);
 		dev_err(dd->dev, "failed to get sync: %d\n", err);
 		return err;
 	}
@@ -1134,7 +1133,7 @@ static int omap_aes_probe(struct platform_device *pdev)
 	pm_runtime_set_autosuspend_delay(dev, DEFAULT_AUTOSUSPEND_DELAY);
 
 	pm_runtime_enable(dev);
-	err = pm_runtime_get_sync(dev);
+	err = pm_runtime_resume_and_get(dev);
 	if (err < 0) {
 		dev_err(dev, "%s: failed to get_sync(%d)\n",
 			__func__, err);
@@ -1303,7 +1302,7 @@ static int omap_aes_suspend(struct device *dev)
 
 static int omap_aes_resume(struct device *dev)
 {
-	pm_runtime_get_sync(dev);
+	pm_runtime_resume_and_get(dev);
 	return 0;
 }
 #endif
drivers/crypto/qat/qat_common/qat_algs.c +9 -2
index ff78c73c47e3..ea1c6899290d 100644
@@ -719,7 +719,7 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,
 	struct qat_alg_buf_list *bufl;
 	struct qat_alg_buf_list *buflout = NULL;
 	dma_addr_t blp;
-	dma_addr_t bloutp = 0;
+	dma_addr_t bloutp;
 	struct scatterlist *sg;
 	size_t sz_out, sz = struct_size(bufl, bufers, n + 1);
 
@@ -731,6 +731,9 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,
 	if (unlikely(!bufl))
 		return -ENOMEM;
 
+	for_each_sg(sgl, sg, n, i)
+		bufl->bufers[i].addr = DMA_MAPPING_ERROR;
+
 	blp = dma_map_single(dev, bufl, sz, DMA_TO_DEVICE);
 	if (unlikely(dma_mapping_error(dev, blp)))
 		goto err_in;
@@ -764,10 +767,14 @@ static int qat_alg_sgl_to_bufl(struct qat_crypto_instance *inst,
 				       dev_to_node(&GET_DEV(inst->accel_dev)));
 		if (unlikely(!buflout))
 			goto err_in;
+
+		bufers = buflout->bufers;
+		for_each_sg(sglout, sg, n, i)
+			bufers[i].addr = DMA_MAPPING_ERROR;
+
 		bloutp = dma_map_single(dev, buflout, sz_out, DMA_TO_DEVICE);
 		if (unlikely(dma_mapping_error(dev, bloutp)))
 			goto err_out;
-		bufers = buflout->bufers;
 		for_each_sg(sglout, sg, n, i) {
 			int y = sg_nctr;
 
drivers/crypto/sa2ul.c +1 -1
index f300b0a5958a..d7b1628fb484 100644
@@ -2350,7 +2350,7 @@ static int sa_ul_probe(struct platform_device *pdev)
 	dev_set_drvdata(sa_k3_dev, dev_data);
 
 	pm_runtime_enable(dev);
-	ret = pm_runtime_get_sync(dev);
+	ret = pm_runtime_resume_and_get(dev);
 	if (ret < 0) {
 		dev_err(&pdev->dev, "%s: failed to get sync: %d\n", __func__,
 			ret);
drivers/crypto/stm32/stm32-cryp.c +2 -2
index 2a4793176c71..7389a0536ff0 100644
@@ -542,7 +542,7 @@ static int stm32_cryp_hw_init(struct stm32_cryp *cryp)
 	int ret;
 	u32 cfg, hw_mode;
 
-	pm_runtime_get_sync(cryp->dev);
+	pm_runtime_resume_and_get(cryp->dev);
 
 	/* Disable interrupt */
 	stm32_cryp_write(cryp, CRYP_IMSCR, 0);
@@ -2043,7 +2043,7 @@ static int stm32_cryp_remove(struct platform_device *pdev)
 	if (!cryp)
 		return -ENODEV;
 
-	ret = pm_runtime_get_sync(cryp->dev);
+	ret = pm_runtime_resume_and_get(cryp->dev);
 	if (ret < 0)
 		return ret;
 
drivers/crypto/stm32/stm32-hash.c +4 -4
index 7ac0573ef663..389de9e3302d 100644
@@ -813,7 +813,7 @@ static void stm32_hash_finish_req(struct ahash_request *req, int err)
 static int stm32_hash_hw_init(struct stm32_hash_dev *hdev,
 			      struct stm32_hash_request_ctx *rctx)
 {
-	pm_runtime_get_sync(hdev->dev);
+	pm_runtime_resume_and_get(hdev->dev);
 
 	if (!(HASH_FLAGS_INIT & hdev->flags)) {
 		stm32_hash_write(hdev, HASH_CR, HASH_CR_INIT);
@@ -962,7 +962,7 @@ static int stm32_hash_export(struct ahash_request *req, void *out)
 	u32 *preg;
 	unsigned int i;
 
-	pm_runtime_get_sync(hdev->dev);
+	pm_runtime_resume_and_get(hdev->dev);
 
 	while ((stm32_hash_read(hdev, HASH_SR) & HASH_SR_BUSY))
 		cpu_relax();
@@ -1000,7 +1000,7 @@ static int stm32_hash_import(struct ahash_request *req, const void *in)
 
 	preg = rctx->hw_context;
 
-	pm_runtime_get_sync(hdev->dev);
+	pm_runtime_resume_and_get(hdev->dev);
 
 	stm32_hash_write(hdev, HASH_IMR, *preg++);
 	stm32_hash_write(hdev, HASH_STR, *preg++);
@@ -1566,7 +1566,7 @@ static int stm32_hash_remove(struct platform_device *pdev)
 	if (!hdev)
 		return -ENODEV;
 
-	ret = pm_runtime_get_sync(hdev->dev);
+	ret = pm_runtime_resume_and_get(hdev->dev);
 	if (ret < 0)
 		return ret;
 
drivers/extcon/extcon-arizona.c +30 -27

98 lines not on this page · raw message

drivers/firmware/efi/libstub/Makefile +2 -1
index c23466e05e60..d0537573501e 100644
@@ -13,7 +13,8 @@ cflags-$(CONFIG_X86)		+= -m$(BITS) -D__KERNEL__ \
 				   -Wno-pointer-sign \
 				   $(call cc-disable-warning, address-of-packed-member) \
 				   $(call cc-disable-warning, gnu) \
-				   -fno-asynchronous-unwind-tables
+				   -fno-asynchronous-unwind-tables \
+				   $(CLANG_FLAGS)
 
 # arm64 uses the full KBUILD_CFLAGS so it's necessary to explicitly
 # disable the stackleak plugin
drivers/fpga/dfl-pci.c +11 -7
index 04e47e266f26..b44523ea8c91 100644
@@ -69,14 +69,16 @@ static void cci_pci_free_irq(struct pci_dev *pcidev)
 }
 
 /* PCI Device ID */
-#define PCIE_DEVICE_ID_PF_INT_5_X	0xBCBD
-#define PCIE_DEVICE_ID_PF_INT_6_X	0xBCC0
-#define PCIE_DEVICE_ID_PF_DSC_1_X	0x09C4
-#define PCIE_DEVICE_ID_INTEL_PAC_N3000	0x0B30
+#define PCIE_DEVICE_ID_PF_INT_5_X		0xBCBD
+#define PCIE_DEVICE_ID_PF_INT_6_X		0xBCC0
+#define PCIE_DEVICE_ID_PF_DSC_1_X		0x09C4
+#define PCIE_DEVICE_ID_INTEL_PAC_N3000		0x0B30
+#define PCIE_DEVICE_ID_INTEL_PAC_D5005		0x0B2B
 /* VF Device */
-#define PCIE_DEVICE_ID_VF_INT_5_X	0xBCBF
-#define PCIE_DEVICE_ID_VF_INT_6_X	0xBCC1
-#define PCIE_DEVICE_ID_VF_DSC_1_X	0x09C5
+#define PCIE_DEVICE_ID_VF_INT_5_X		0xBCBF
+#define PCIE_DEVICE_ID_VF_INT_6_X		0xBCC1
+#define PCIE_DEVICE_ID_VF_DSC_1_X		0x09C5
+#define PCIE_DEVICE_ID_INTEL_PAC_D5005_VF	0x0B2C
 
 static struct pci_device_id cci_pcie_id_tbl[] = {
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_PF_INT_5_X),},
@@ -86,6 +88,8 @@ static struct pci_device_id cci_pcie_id_tbl[] = {
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_PF_DSC_1_X),},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_VF_DSC_1_X),},
 	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_N3000),},
+	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005),},
+	{PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005_VF),},
 	{0,}
 };
 MODULE_DEVICE_TABLE(pci, cci_pcie_id_tbl);
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +1 -0
index 8a5a8ff5d362..5eee251e3335 100644
@@ -3613,6 +3613,7 @@ void amdgpu_device_fini(struct amdgpu_device *adev)
 {
 	dev_info(adev->dev, "amdgpu: finishing device.\n");
 	flush_delayed_work(&adev->delayed_init_work);
+	ttm_bo_lock_delayed_workqueue(&adev->mman.bdev);
 	adev->shutdown = true;
 
 	kfree(adev->pci_state);
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +3 -2
index d56f4023ebb3..7e8e46c39dbd 100644
@@ -533,6 +533,8 @@ void amdgpu_fence_driver_fini(struct amdgpu_device *adev)
 
 		if (!ring || !ring->fence_drv.initialized)
 			continue;
+		if (!ring->no_scheduler)
+			drm_sched_fini(&ring->sched);
 		r = amdgpu_fence_wait_empty(ring);
 		if (r) {
 			/* no need to trigger GPU reset as we are unloading */
@@ -541,8 +543,7 @@ void amdgpu_fence_driver_fini(struct amdgpu_device *adev)
 		if (ring->fence_drv.irq_src)
 			amdgpu_irq_put(adev, ring->fence_drv.irq_src,
 				       ring->fence_drv.irq_type);
-		if (!ring->no_scheduler)
-			drm_sched_fini(&ring->sched);
+
 		del_timer_sync(&ring->fence_drv.fallback_timer);
 		for (j = 0; j <= ring->fence_drv.num_fences_mask; ++j)
 			dma_fence_put(ring->fence_drv.fences[j]);
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c +1 -1
index afbbec82a289..9be945d8e72f 100644
@@ -535,7 +535,7 @@ void amdgpu_irq_gpu_reset_resume_helper(struct amdgpu_device *adev)
 		for (j = 0; j < AMDGPU_MAX_IRQ_SRC_ID; ++j) {
 			struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
 
-			if (!src)
+			if (!src || !src->funcs || !src->funcs->set)
 				continue;
 			for (k = 0; k < src->num_types; k++)
 				amdgpu_irq_update(adev, src, k);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +4 -4
index 5efa331e3ee8..383c178cf074 100644
@@ -942,7 +942,7 @@ static void amdgpu_ttm_tt_unpin_userptr(struct ttm_bo_device *bdev,
 		DMA_BIDIRECTIONAL : DMA_TO_DEVICE;
 
 	/* double check that we don't free the table twice */
-	if (!ttm->sg->sgl)
+	if (!ttm->sg || !ttm->sg->sgl)
 		return;
 
 	/* unmap the pages mapped to the device */
@@ -1162,13 +1162,13 @@ static void amdgpu_ttm_backend_unbind(struct ttm_bo_device *bdev,
 	struct amdgpu_ttm_tt *gtt = (void *)ttm;
 	int r;
 
-	if (!gtt->bound)
-		return;
-
 	/* if the pages have userptr pinning then clear that first */
 	if (gtt->userptr)
 		amdgpu_ttm_tt_unpin_userptr(bdev, ttm);
 
+	if (!gtt->bound)
+		return;
+
 	if (gtt->offset == AMDGPU_BO_INVALID_OFFSET)
 		return;
 
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c +1 -1
index e2ed4689118a..c6dbc0801604 100644
@@ -259,7 +259,7 @@ int amdgpu_uvd_sw_init(struct amdgpu_device *adev)
 		if ((adev->asic_type == CHIP_POLARIS10 ||
 		     adev->asic_type == CHIP_POLARIS11) &&
 		    (adev->uvd.fw_version < FW_1_66_16))
-			DRM_ERROR("POLARIS10/11 UVD firmware version %hu.%hu is too old.\n",
+			DRM_ERROR("POLARIS10/11 UVD firmware version %u.%u is too old.\n",
 				  version_major, version_minor);
 	} else {
 		unsigned int enc_major, enc_minor, dec_minor;
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +8 -1
index 659b385b27b5..4d3a24fdeb9c 100644
@@ -468,15 +468,22 @@ int amdgpu_xgmi_update_topology(struct amdgpu_hive_info *hive, struct amdgpu_dev
 }
 
 
+/*
+ * NOTE psp_xgmi_node_info.num_hops layout is as follows:
+ * num_hops[7:6] = link type (0 = xGMI2, 1 = xGMI3, 2/3 = reserved)
+ * num_hops[5:3] = reserved
+ * num_hops[2:0] = number of hops
+ */
 int amdgpu_xgmi_get_hops_count(struct amdgpu_device *adev,
 		struct amdgpu_device *peer_adev)
 {
 	struct psp_xgmi_topology_info *top = &adev->psp.xgmi_context.top_info;
+	uint8_t num_hops_mask = 0x7;
 	int i;
 
 	for (i = 0 ; i < top->num_nodes; ++i)
 		if (top->nodes[i].node_id == peer_adev->gmc.xgmi.node_id)
-			return top->nodes[i].num_hops;
+			return top->nodes[i].num_hops & num_hops_mask;
 	return	-EINVAL;
 }
 
drivers/gpu/drm/amd/amdgpu/vega10_ih.c +11 -21
index 88626d83e07b..ca8efa5c6978 100644
@@ -220,10 +220,8 @@ static int vega10_ih_enable_ring(struct amdgpu_device *adev,
 	tmp = vega10_ih_rb_cntl(ih, tmp);
 	if (ih == &adev->irq.ih)
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RPTR_REARM, !!adev->irq.msi_enabled);
-	if (ih == &adev->irq.ih1) {
-		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_ENABLE, 0);
+	if (ih == &adev->irq.ih1)
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RB_FULL_DRAIN_ENABLE, 1);
-	}
 	if (amdgpu_sriov_vf(adev)) {
 		if (psp_reg_program(&adev->psp, ih_regs->psp_reg_id, tmp)) {
 			dev_err(adev->dev, "PSP program IH_RB_CNTL failed!\n");
@@ -265,7 +263,6 @@ static int vega10_ih_irq_init(struct amdgpu_device *adev)
 	u32 ih_chicken;
 	int ret;
 	int i;
-	u32 tmp;
 
 	/* disable irqs */
 	ret = vega10_ih_toggle_interrupts(adev, false);
@@ -291,15 +288,6 @@ static int vega10_ih_irq_init(struct amdgpu_device *adev)
 		}
 	}
 
-	tmp = RREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL);
-	tmp = REG_SET_FIELD(tmp, IH_STORM_CLIENT_LIST_CNTL,
-			    CLIENT18_IS_STORM_CLIENT, 1);
-	WREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL, tmp);
-
-	tmp = RREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL);
-	tmp = REG_SET_FIELD(tmp, IH_INT_FLOOD_CNTL, FLOOD_CNTL_ENABLE, 1);
-	WREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL, tmp);
-
 	pci_set_master(adev->pdev);
 
 	/* enable interrupts */
@@ -345,11 +333,17 @@ static u32 vega10_ih_get_wptr(struct amdgpu_device *adev,
 	u32 wptr, tmp;
 	struct amdgpu_ih_regs *ih_regs;
 
-	wptr = le32_to_cpu(*ih->wptr_cpu);
-	ih_regs = &ih->ih_regs;
+	if (ih == &adev->irq.ih) {
+		/* Only ring0 supports writeback. On other rings fall back
+		 * to register-based code with overflow checking below.
+		 */
+		wptr = le32_to_cpu(*ih->wptr_cpu);
 
-	if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
-		goto out;
+		if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
+			goto out;
+	}
+
+	ih_regs = &ih->ih_regs;
 
 	/* Double check that the overflow wasn't already cleared. */
 	wptr = RREG32_NO_KIQ(ih_regs->ih_rb_wptr);
@@ -440,15 +434,11 @@ static int vega10_ih_self_irq(struct amdgpu_device *adev,
 			      struct amdgpu_irq_src *source,
 			      struct amdgpu_iv_entry *entry)
 {
-	uint32_t wptr = cpu_to_le32(entry->src_data[0]);
-
 	switch (entry->ring_id) {
 	case 1:
-		*adev->irq.ih1.wptr_cpu = wptr;
 		schedule_work(&adev->irq.ih1_work);
 		break;
 	case 2:
-		*adev->irq.ih2.wptr_cpu = wptr;
 		schedule_work(&adev->irq.ih2_work);
 		break;
 	default: break;
drivers/gpu/drm/amd/amdgpu/vega20_ih.c +13 -21
index 5a3c867d5881..86dcf448e0c2 100644
@@ -104,6 +104,8 @@ static int vega20_ih_toggle_ring_interrupts(struct amdgpu_device *adev,
 
 	tmp = RREG32(ih_regs->ih_rb_cntl);
 	tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RB_ENABLE, (enable ? 1 : 0));
+	tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RB_GPU_TS_ENABLE, 1);
+
 	/* enable_intr field is only valid in ring0 */
 	if (ih == &adev->irq.ih)
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, ENABLE_INTR, (enable ? 1 : 0));
@@ -220,10 +222,8 @@ static int vega20_ih_enable_ring(struct amdgpu_device *adev,
 	tmp = vega20_ih_rb_cntl(ih, tmp);
 	if (ih == &adev->irq.ih)
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RPTR_REARM, !!adev->irq.msi_enabled);
-	if (ih == &adev->irq.ih1) {
-		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, WPTR_OVERFLOW_ENABLE, 0);
+	if (ih == &adev->irq.ih1)
 		tmp = REG_SET_FIELD(tmp, IH_RB_CNTL, RB_FULL_DRAIN_ENABLE, 1);
-	}
 	if (amdgpu_sriov_vf(adev)) {
 		if (psp_reg_program(&adev->psp, ih_regs->psp_reg_id, tmp)) {
 			dev_err(adev->dev, "PSP program IH_RB_CNTL failed!\n");
@@ -297,7 +297,6 @@ static int vega20_ih_irq_init(struct amdgpu_device *adev)
 	u32 ih_chicken;
 	int ret;
 	int i;
-	u32 tmp;
 
 	/* disable irqs */
 	ret = vega20_ih_toggle_interrupts(adev, false);
@@ -326,15 +325,6 @@ static int vega20_ih_irq_init(struct amdgpu_device *adev)
 		}
 	}
 
-	tmp = RREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL);
-	tmp = REG_SET_FIELD(tmp, IH_STORM_CLIENT_LIST_CNTL,
-			    CLIENT18_IS_STORM_CLIENT, 1);
-	WREG32_SOC15(OSSSYS, 0, mmIH_STORM_CLIENT_LIST_CNTL, tmp);
-
-	tmp = RREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL);
-	tmp = REG_SET_FIELD(tmp, IH_INT_FLOOD_CNTL, FLOOD_CNTL_ENABLE, 1);
-	WREG32_SOC15(OSSSYS, 0, mmIH_INT_FLOOD_CNTL, tmp);
-
 	pci_set_master(adev->pdev);
 
 	/* enable interrupts */
@@ -380,11 +370,17 @@ static u32 vega20_ih_get_wptr(struct amdgpu_device *adev,
 	u32 wptr, tmp;
 	struct amdgpu_ih_regs *ih_regs;
 
-	wptr = le32_to_cpu(*ih->wptr_cpu);
-	ih_regs = &ih->ih_regs;
+	if (ih == &adev->irq.ih) {
+		/* Only ring0 supports writeback. On other rings fall back
+		 * to register-based code with overflow checking below.
+		 */
+		wptr = le32_to_cpu(*ih->wptr_cpu);
 
-	if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
-		goto out;
+		if (!REG_GET_FIELD(wptr, IH_RB_WPTR, RB_OVERFLOW))
+			goto out;
+	}
+
+	ih_regs = &ih->ih_regs;
 
 	/* Double check that the overflow wasn't already cleared. */
 	wptr = RREG32_NO_KIQ(ih_regs->ih_rb_wptr);
@@ -476,15 +472,11 @@ static int vega20_ih_self_irq(struct amdgpu_device *adev,
 			      struct amdgpu_irq_src *source,
 			      struct amdgpu_iv_entry *entry)
 {
-	uint32_t wptr = cpu_to_le32(entry->src_data[0]);
-
 	switch (entry->ring_id) {
 	case 1:
-		*adev->irq.ih1.wptr_cpu = wptr;
 		schedule_work(&adev->irq.ih1_work);
 		break;
 	case 2:
-		*adev->irq.ih2.wptr_cpu = wptr;
 		schedule_work(&adev->irq.ih2_work);
 		break;
 	default: break;
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c +6 -1
index 511712c2e382..673d5e34f213 100644
@@ -33,6 +33,11 @@ static int kfd_debugfs_open(struct inode *inode, struct file *file)
 
 	return single_open(file, show, NULL);
 }
+static int kfd_debugfs_hang_hws_read(struct seq_file *m, void *data)
+{
+	seq_printf(m, "echo gpu_id > hang_hws\n");
+	return 0;
+}
 
 static ssize_t kfd_debugfs_hang_hws_write(struct file *file,
 	const char __user *user_buf, size_t size, loff_t *ppos)
@@ -94,7 +99,7 @@ void kfd_debugfs_init(void)
 	debugfs_create_file("rls", S_IFREG | 0444, debugfs_root,
 			    kfd_debugfs_rls_by_device, &kfd_debugfs_fops);
 	debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root,
-			    NULL, &kfd_debugfs_hang_hws_fops);
+			    kfd_debugfs_hang_hws_read, &kfd_debugfs_hang_hws_fops);
 }
 
 void kfd_debugfs_fini(void)
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +15 -2
index 4598a9a58125..a4266c4bca13 100644
@@ -1128,6 +1128,9 @@ static int set_sched_resources(struct device_queue_manager *dqm)
 
 static int initialize_cpsch(struct device_queue_manager *dqm)
 {
+	uint64_t num_sdma_queues;
+	uint64_t num_xgmi_sdma_queues;
+
 	pr_debug("num of pipes: %d\n", get_pipes_per_mec(dqm));
 
 	mutex_init(&dqm->lock_hidden);
@@ -1136,8 +1139,18 @@ static int initialize_cpsch(struct device_queue_manager *dqm)
 	dqm->active_cp_queue_count = 0;
 	dqm->gws_queue_count = 0;
 	dqm->active_runlist = false;
-	dqm->sdma_bitmap = ~0ULL >> (64 - get_num_sdma_queues(dqm));
-	dqm->xgmi_sdma_bitmap = ~0ULL >> (64 - get_num_xgmi_sdma_queues(dqm));
+
+	num_sdma_queues = get_num_sdma_queues(dqm);
+	if (num_sdma_queues >= BITS_PER_TYPE(dqm->sdma_bitmap))
+		dqm->sdma_bitmap = ULLONG_MAX;
+	else
+		dqm->sdma_bitmap = (BIT_ULL(num_sdma_queues) - 1);
+
+	num_xgmi_sdma_queues = get_num_xgmi_sdma_queues(dqm);
+	if (num_xgmi_sdma_queues >= BITS_PER_TYPE(dqm->xgmi_sdma_bitmap))
+		dqm->xgmi_sdma_bitmap = ULLONG_MAX;
+	else
+		dqm->xgmi_sdma_bitmap = (BIT_ULL(num_xgmi_sdma_queues) - 1);
 
 	INIT_WORK(&dqm->hw_exception_work, kfd_process_hw_exception);
 
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +20 -6
index d699a5cf6c11..29ca1708458c 100644
@@ -1191,6 +1191,15 @@ static void amdgpu_dm_fini(struct amdgpu_device *adev)
 	if (adev->dm.dc)
 		dc_deinit_callbacks(adev->dm.dc);
 #endif
+
+#if defined(CONFIG_DRM_AMD_DC_DCN)
+	if (adev->dm.vblank_workqueue) {
+		adev->dm.vblank_workqueue->dm = NULL;
+		kfree(adev->dm.vblank_workqueue);
+		adev->dm.vblank_workqueue = NULL;
+	}
+#endif
+
 	if (adev->dm.dc->ctx->dmub_srv) {
 		dc_dmub_srv_destroy(&adev->dm.dc->ctx->dmub_srv);
 		adev->dm.dc->ctx->dmub_srv = NULL;
@@ -5863,6 +5872,15 @@ create_validate_stream_for_sink(struct amdgpu_dm_connector *aconnector,
 
 	} while (stream == NULL && requested_bpc >= 6);
 
+	if (dc_result == DC_FAIL_ENC_VALIDATE && !aconnector->force_yuv420_output) {
+		DRM_DEBUG_KMS("Retry forcing YCbCr420 encoding\n");
+
+		aconnector->force_yuv420_output = true;
+		stream = create_validate_stream_for_sink(aconnector, drm_mode,
+						dm_state, old_stream);
+		aconnector->force_yuv420_output = false;
+	}
+
 	return stream;
 }
 
@@ -7417,10 +7435,6 @@ static int get_cursor_position(struct drm_plane *plane, struct drm_crtc *crtc,
 	int x, y;
 	int xorigin = 0, yorigin = 0;
 
-	position->enable = false;
-	position->x = 0;
-	position->y = 0;
-
 	if (!crtc || !plane->state->fb)
 		return 0;
 
@@ -7467,7 +7481,7 @@ static void handle_cursor_update(struct drm_plane *plane,
 	struct dm_crtc_state *crtc_state = crtc ? to_dm_crtc_state(crtc->state) : NULL;
 	struct amdgpu_crtc *amdgpu_crtc = to_amdgpu_crtc(crtc);
 	uint64_t address = afb ? afb->address : 0;
-	struct dc_cursor_position position;
+	struct dc_cursor_position position = {0};
 	struct dc_cursor_attributes attributes;
 	int ret;
 
@@ -9383,7 +9397,7 @@ static int amdgpu_dm_atomic_check(struct drm_device *dev,
 	}
 
 #if defined(CONFIG_DRM_AMD_DC_DCN)
-	if (adev->asic_type >= CHIP_NAVI10) {
+	if (dc_resource_is_dsc_encoding_supported(dc)) {
 		for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
 			if (drm_atomic_crtc_needs_modeset(new_crtc_state)) {
 				ret = add_affected_mst_dsc_crtcs(state, crtc);
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +1 -13
index 8bfe901cf237..52cc81705280 100644
@@ -68,18 +68,6 @@ struct common_irq_params {
 	enum dc_irq_source irq_src;
 };
 
-/**
- * struct irq_list_head - Linked-list for low context IRQ handlers.
- *
- * @head: The list_head within &struct handler_data
- * @work: A work_struct containing the deferred handler work
- */
-struct irq_list_head {
-	struct list_head head;
-	/* In case this interrupt needs post-processing, 'work' will be queued*/
-	struct work_struct work;
-};
-
 /**
  * struct dm_compressor_info - Buffer info used by frame buffer compression
  * @cpu_addr: MMIO cpu addr
@@ -293,7 +281,7 @@ struct amdgpu_display_manager {
 	 * Note that handlers are called in the same order as they were
 	 * registered (FIFO).
 	 */
-	struct irq_list_head irq_handler_list_low_tab[DAL_IRQ_SOURCES_NUMBER];
+	struct list_head irq_handler_list_low_tab[DAL_IRQ_SOURCES_NUMBER];
 
 	/**
 	 * @irq_handler_list_high_tab:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +8 -7
index 360952129b6d..29139b34dbe2 100644
@@ -150,7 +150,7 @@ static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size,
  *
  * --- to get dp configuration
  *
- * cat link_settings
+ * cat /sys/kernel/debug/dri/0/DP-x/link_settings
  *
  * It will list current, verified, reported, preferred dp configuration.
  * current -- for current video mode
@@ -163,7 +163,7 @@ static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size,
  * echo <lane_count>  <link_rate> > link_settings
  *
  * for example, to force to  2 lane, 2.7GHz,
- * echo 4 0xa > link_settings
+ * echo 4 0xa > /sys/kernel/debug/dri/0/DP-x/link_settings
  *
  * spread_spectrum could not be changed dynamically.
  *
@@ -171,7 +171,7 @@ static int parse_write_buffer_into_params(char *wr_buf, uint32_t wr_buf_size,
  * done. please check link settings after force operation to see if HW get
  * programming.
  *
- * cat link_settings
+ * cat /sys/kernel/debug/dri/0/DP-x/link_settings
  *
  * check current and preferred settings.
  *
@@ -255,7 +255,7 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
 	int max_param_num = 2;
 	uint8_t param_nums = 0;
 	long param[2];
-	bool valid_input = false;
+	bool valid_input = true;
 
 	if (size == 0)
 		return -EINVAL;
@@ -282,9 +282,9 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
 	case LANE_COUNT_ONE:
 	case LANE_COUNT_TWO:
 	case LANE_COUNT_FOUR:
-		valid_input = true;
 		break;
 	default:
+		valid_input = false;
 		break;
 	}
 
@@ -294,9 +294,9 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
 	case LINK_RATE_RBR2:
 	case LINK_RATE_HIGH2:
 	case LINK_RATE_HIGH3:
-		valid_input = true;
 		break;
 	default:
+		valid_input = false;
 		break;
 	}
 
@@ -310,10 +310,11 @@ static ssize_t dp_link_settings_write(struct file *f, const char __user *buf,
 	 * spread spectrum will not be changed
 	 */
 	prefer_link_settings.link_spread = link->cur_link_settings.link_spread;
+	prefer_link_settings.use_link_rate_set = false;
 	prefer_link_settings.lane_count = param[0];
 	prefer_link_settings.link_rate = param[1];
 
-	dc_link_set_preferred_link_settings(dc, &prefer_link_settings, link);
+	dc_link_set_preferred_training_settings(dc, &prefer_link_settings, NULL, link, true);
 
 	kfree(wr_buf);
 	return size;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c +79 -36

206 lines not on this page · raw message

drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c +3 -0
index 995ffbbf64e7..1ee27f2f28f1 100644
@@ -217,6 +217,9 @@ void dc_destroy_clk_mgr(struct clk_mgr *clk_mgr_base)
 		if (ASICREV_IS_SIENNA_CICHLID_P(clk_mgr_base->ctx->asic_id.hw_internal_rev)) {
 			dcn3_clk_mgr_destroy(clk_mgr);
 		}
+		if (ASICREV_IS_DIMGREY_CAVEFISH_P(clk_mgr_base->ctx->asic_id.hw_internal_rev)) {
+			dcn3_clk_mgr_destroy(clk_mgr);
+		}
 		break;
 
 	case FAMILY_VGH:
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c +3 -1
index c7e5a64e06af..81ea5d3a1947 100644
@@ -252,6 +252,7 @@ static void dcn3_update_clocks(struct clk_mgr *clk_mgr_base,
 	bool force_reset = false;
 	bool update_uclk = false;
 	bool p_state_change_support;
+	int total_plane_count;
 
 	if (dc->work_arounds.skip_clock_update || !clk_mgr->smu_present)
 		return;
@@ -292,7 +293,8 @@ static void dcn3_update_clocks(struct clk_mgr *clk_mgr_base,
 		clk_mgr_base->clks.socclk_khz = new_clocks->socclk_khz;
 
 	clk_mgr_base->clks.prev_p_state_change_support = clk_mgr_base->clks.p_state_change_support;
-	p_state_change_support = new_clocks->p_state_change_support || (display_count == 0);
+	total_plane_count = clk_mgr_helper_get_active_plane_cnt(dc, context);
+	p_state_change_support = new_clocks->p_state_change_support || (total_plane_count == 0);
 	if (should_update_pstate_support(safe_to_lower, p_state_change_support, clk_mgr_base->clks.p_state_change_support)) {
 		clk_mgr_base->clks.p_state_change_support = p_state_change_support;
 
drivers/gpu/drm/amd/display/dc/core/dc.c +2 -1
index 8f8a13c7cf73..c0b827d16268 100644
@@ -2398,7 +2398,8 @@ static void commit_planes_do_stream_update(struct dc *dc,
 					if (pipe_ctx->stream_res.audio && !dc->debug.az_endpoint_mute_only)
 						pipe_ctx->stream_res.audio->funcs->az_disable(pipe_ctx->stream_res.audio);
 
-					dc->hwss.optimize_bandwidth(dc, dc->current_state);
+					dc->optimized_required = true;
+
 				} else {
 					if (dc->optimize_seamless_boot_streams == 0)
 						dc->hwss.prepare_bandwidth(dc, dc->current_state);
drivers/gpu/drm/amd/display/dc/dce/dce_aux.h +0 -1
index 277484cf853e..d4be5954d7aa 100644
@@ -99,7 +99,6 @@ struct dce110_aux_registers {
 	AUX_SF(AUX_SW_CONTROL, AUX_SW_GO, mask_sh),\
 	AUX_SF(AUX_SW_DATA, AUX_SW_AUTOINCREMENT_DISABLE, mask_sh),\
 	AUX_SF(AUX_SW_DATA, AUX_SW_DATA_RW, mask_sh),\
-	AUX_SF(AUX_SW_DATA, AUX_SW_AUTOINCREMENT_DISABLE, mask_sh),\
 	AUX_SF(AUX_SW_DATA, AUX_SW_INDEX, mask_sh),\
 	AUX_SF(AUX_SW_DATA, AUX_SW_DATA, mask_sh),\
 	AUX_SF(AUX_SW_STATUS, AUX_SW_REPLY_BYTE_COUNT, mask_sh),\
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c +10 -5
index 69e34bef274c..febccb35ddad 100644
@@ -81,13 +81,18 @@ static void dmub_psr_get_state(struct dmub_psr *dmub, enum dc_psr_state *state)
 {
 	struct dmub_srv *srv = dmub->ctx->dmub_srv->dmub;
 	uint32_t raw_state;
+	enum dmub_status status = DMUB_STATUS_INVALID;
 
 	// Send gpint command and wait for ack
-	dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, 0, 30);
-
-	dmub_srv_get_gpint_response(srv, &raw_state);
-
-	*state = convert_psr_state(raw_state);
+	status = dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, 0, 30);
+
+	if (status == DMUB_STATUS_OK) {
+		// GPINT was executed, get response
+		dmub_srv_get_gpint_response(srv, &raw_state);
+		*state = convert_psr_state(raw_state);
+	} else
+		// Return invalid state when GPINT times out
+		*state = 0xFF;
 }
 
 /*
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c +2 -3
index 06dc1e2e8383..07c8d2e2c09c 100644
@@ -848,7 +848,7 @@ bool dcn30_apply_idle_power_optimizations(struct dc *dc, bool enable)
 
 					cmd.mall.cursor_copy_src.quad_part = cursor_attr.address.quad_part;
 					cmd.mall.cursor_copy_dst.quad_part =
-							plane->address.grph.cursor_cache_addr.quad_part;
[… more lines in the raw message]

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

drivers/gpu/drm/amd/display/dc/dcn30/dcn30_mpc.c +13 -11
index 3e6f76096119..a7598356f37d 100644

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

drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +1 -1
index fb7f1dea3c46..71e2d5e02571 100644

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

drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +1 -1
index 4b659b63f75b..d03b1975e417 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20.c +1 -0
index 0f3f510fd83b..9729cf292e84 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c +1 -0
index 210c96cd5b03..51098c2c9854 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c +23 -5
index 72423dc425dc..799bae229e67 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c +23 -5
index 9c78446c3a9d..6a6d5970d1d5 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn21/display_rq_dlg_calc_21.c +23 -5
index edd41d358291..dc1c81a6e377 100644

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

drivers/gpu/drm/amd/display/dc/dml/dcn30/display_rq_dlg_calc_30.c +23 -5
index 0f14f205ebe5..04601a767a8f 100644

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

drivers/gpu/drm/amd/display/dc/dml/dml1_display_rq_dlg_calc.c +23 -5
index 4c3e9cc30167..414da64f5734 100644

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

drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c +0 -14
index ed05a30d1139..e2a56a7f3d7a 100644

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

drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c +1 -1
index 599ec9726601..959143eff651 100644

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

drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c +12 -22
index cd905e41080e..42c4dbe3e362 100644

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

drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +0 -38
index 101eaa20db9b..a80f551771b9 100644

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

drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c +0 -18
index 5493388fcb10..dbe6d0caddb7 100644

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

drivers/gpu/drm/arm/display/include/malidp_utils.h +0 -3
index 3bc383d5bf73..49a1d7f3539c 100644

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

drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c +11 -5
index 719a79728e24..06c595378dda 100644

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

drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c +11 -8
index 5c085116de3f..e672b9cffee3 100644

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

drivers/gpu/drm/ast/ast_drv.c +2 -0
index ea8164e7a6dc..01837bea18c2 100644

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

drivers/gpu/drm/ast/ast_mode.c +1 -1
index 988b270fea5e..758c69aa7232 100644

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

drivers/gpu/drm/drm_panel_orientation_quirks.c +14 -0
index 58f5dc2f6dd5..f6bdec7fa925 100644

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

drivers/gpu/drm/i915/intel_pm.c +1 -1
index 4b4d8d034782..4ba20f959a71 100644

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

drivers/gpu/drm/msm/adreno/a6xx_gmu.c +9 -3
index 91cf46f84025..3d55e153fa9c 100644

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

drivers/gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c +13 -5
index ff2c1d583c79..0392d4dfe270 100644

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

drivers/gpu/drm/msm/dp/dp_hpd.c +2 -2
index 5b8fe32022b5..e1c90fa47411 100644

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

drivers/gpu/drm/qxl/qxl_display.c +4 -0
index 10738e04c09b..56e0c6c625e9 100644

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

drivers/gpu/drm/qxl/qxl_drv.c +2 -0
index 1864467f1063..1b09bbe98055 100644

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

drivers/gpu/drm/radeon/radeon_object.c +2 -0
index 9b81786782de..499ce55e34cc 100644

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

drivers/gpu/drm/radeon/radeon_ttm.c +3 -2
index 78893bea85ae..c0258d213a72 100644

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

drivers/gpu/drm/virtio/virtgpu_ioctl.c +1 -1
index 23eb6d772e40..669f2ee39515 100644

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

drivers/gpu/drm/virtio/virtgpu_object.c +1 -0
index d69a5b6da553..4ff1ec28e630 100644

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

drivers/gpu/drm/vkms/vkms_crtc.c +2 -1
index 0443b7deeaef..758d8a98d96b 100644

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

drivers/hwtracing/intel_th/gth.c +2 -2
index f72803a02391..28509b02a0b5 100644

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

drivers/hwtracing/intel_th/pci.c +10 -0
index 251e75c9ba9d..817cdb29bbd8 100644

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

drivers/input/touchscreen/ili210x.c +1 -1
index d8fccf048bf4..30576a5f2f04 100644

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

drivers/iommu/intel/iommu.c +38 -14

52 lines not on this page · raw message

drivers/irqchip/irq-gic-v3.c +4 -4
index eb0ee356a629..00404024d7cd 100644

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

drivers/md/dm-integrity.c +1 -0
index 46b5d542b8fe..362c887d33b3 100644

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

drivers/md/dm-raid.c +28 -6
index cab12b2251ba..91461b6904c1 100644

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

drivers/md/dm-rq.c +2 -0
index 13b4385f4d5a..9c3bc3711b33 100644

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

drivers/md/persistent-data/dm-btree-internal.h +2 -2
index fe073d92f01e..70cfdea27efd 100644

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

drivers/md/persistent-data/dm-space-map-common.c +2 -0
index d8b4125e338c..a213bf11738f 100644

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

drivers/md/persistent-data/dm-space-map-common.h +4 -4
index 8de63ce39bdd..87e17909ef52 100644

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

drivers/md/raid1.c +2 -0
index d2378765dc15..ced076ba560e 100644

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

drivers/media/dvb-core/dvbdev.c +1 -0
index 5ff7bedee247..3862ddc86ec4 100644

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

drivers/media/i2c/adv7511-v4l2.c +1 -1
index a3161d709015..ab7883cff8b2 100644

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

drivers/media/i2c/adv7604.c +1 -1
index 09004d928d11..d1f58795794f 100644

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

drivers/media/i2c/adv7842.c +1 -1
index 0855f648416d..f7d2b6cd3008 100644

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

drivers/media/i2c/tc358743.c +1 -1
index 831b5b54fd78..1b309bb743c7 100644

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

drivers/media/i2c/tda1997x.c +1 -1
index a09bf0a39d05..89bb7e6dc7a4 100644

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

drivers/media/pci/cx23885/cx23885-core.c +9 -0
index 22f55a7840a6..d0ca260ecf70 100644

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

drivers/media/pci/saa7164/saa7164-encoder.c +11 -9
index 11e1eb6a6809..1d1d32e043f1 100644

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

drivers/media/pci/sta2x11/Kconfig +1 -0
index 4dd98f94a91e..27bb78513631 100644

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

drivers/media/platform/coda/coda-common.c +3 -1
index 995e95272e51..e600764dce96 100644

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

drivers/media/platform/qcom/venus/core.c +17 -13
index f9896c121fd8..d2842f496b47 100644

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

drivers/media/platform/qcom/venus/hfi_cmds.c +12 -12
index 4f7565834469..558510a8dfc8 100644

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

drivers/media/platform/qcom/venus/hfi_parser.c +7 -5
index 7263c0c32695..5b8389b98299 100644

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

drivers/media/platform/qcom/venus/pm_helpers.c +30 -17

47 lines not on this page · raw message

drivers/media/platform/qcom/venus/pm_helpers.h +4 -3
index aa2f6afa2354..a492c50c5543 100644

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

drivers/media/platform/qcom/venus/venc_ctrls.c +1 -1
index a52b80055173..abef0037bf55 100644

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

drivers/media/platform/sti/bdisp/bdisp-debug.c +1 -1
index 2b270093009c..a27f638df11c 100644

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

drivers/media/platform/sunxi/sun8i-di/sun8i-di.c +1 -1
index ed863bf5ea80..671e4a928993 100644

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

drivers/media/rc/ite-cir.c +7 -1
index 0c6229592e13..e5c4a6941d26 100644

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

drivers/media/test-drivers/vivid/vivid-core.c +3 -3
index 0dc65ef3aa14..ca0ebf6ad9cc 100644

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

drivers/media/usb/dvb-usb/dvb-usb-init.c +60 -30

90 lines not on this page · raw message

drivers/media/usb/dvb-usb/dvb-usb.h +1 -1
index 741be0e69447..2b8ad2bde8a4 100644

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

drivers/media/usb/em28xx/em28xx-dvb.c +1 -0
index 526424279637..471bd74667e3 100644

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

drivers/media/usb/gspca/gspca.c +2 -0
index 158c8e28ed2c..47d8f28bfdfc 100644

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

drivers/media/usb/gspca/gspca.h +1 -0
index b0ced2e14006..a6554d5e9e1a 100644

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

drivers/media/usb/gspca/sq905.c +1 -1
index 97799cfb832e..949111070971 100644

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

drivers/media/usb/gspca/stv06xx/stv06xx.c +9 -0
index 95673fc0a99c..d9bc2aacc885 100644

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

drivers/media/usb/uvc/uvc_driver.c +33 -1
index 30ef2a3110f7..9a791d8ef200 100644

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

drivers/media/usb/zr364xx/zr364xx.c +6 -7
index d29b861367ea..1ef611e08323 100644

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

drivers/media/v4l2-core/v4l2-ctrls.c +65 -74

139 lines not on this page · raw message

drivers/mfd/arizona-irq.c +1 -1
index 077d9ab112b7..d919ae9691e2 100644

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

drivers/mfd/da9063-i2c.c +10 -0
index 3781d0bb7786..783a14af18e2 100644

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

drivers/mmc/core/block.c +16 -0
index d666e24fbe0e..a4c06ef67394 100644

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

drivers/mmc/core/core.c +1 -75

76 lines not on this page · raw message

drivers/mmc/core/core.h +9 -8
index 575ac0257af2..db3c9c68875d 100644

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

drivers/mmc/core/host.c +37 -3
index 9b89a91b6b47..fe05b3645fe9 100644

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

drivers/mmc/core/mmc.c +7 -0
index 8741271d3971..4d2b4b0da93c 100644

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

drivers/mmc/core/mmc_ops.c +1 -3
index 265d95ec82ce..c458f6b626a2 100644

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

drivers/mmc/core/sd.c +6 -0
index 6fa51a6ed058..2c48d6504101 100644

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

drivers/mmc/core/sdio.c +22 -6
index 0fda7784cab2..3eb94ac2712e 100644

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

drivers/mmc/host/sdhci-brcmstb.c +0 -1
index f9780c65ebe9..f24623aac2db 100644

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

drivers/mmc/host/sdhci-esdhc-imx.c +1 -1
index a20459744d21..94327988da91 100644

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

drivers/mmc/host/sdhci-pci-core.c +29 -0
index 9552708846ca..bf04a08eeba1 100644

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

drivers/mmc/host/sdhci-pci.h +2 -0
index d0ed232af0eb..8f90c4163bb5 100644

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

drivers/mmc/host/sdhci-tegra.c +32 -0
index 41d193fa77bb..8ea9132ebca4 100644

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

drivers/mmc/host/sdhci.c +31 -29

60 lines not on this page · raw message

drivers/mmc/host/uniphier-sd.c +4 -1
index 2413b6750cec..ccbf9885a52b 100644

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

drivers/mtd/maps/physmap-bt1-rom.c +1 -1
index a35450002284..58782cfaf71c 100644

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

drivers/mtd/nand/raw/atmel/nand-controller.c +4 -2
index e6ceec8f50dc..8aab1017b460 100644

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

drivers/mtd/nand/spi/core.c +2 -0
index 61d932c1b718..17f63f95f4a2 100644

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

drivers/mtd/spi-nor/core.c +33 -0
index 0522304f52fa..72bc1342c3ff 100644

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

drivers/mtd/spi-nor/macronix.c +0 -3
index 9203abaac229..662b212787d4 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c +15 -15
index 7846a21555ef..1f6bc0c7e91d 100644

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

drivers/net/ethernet/sfc/efx_channels.c +2 -0
index 1bfeee283ea9..a3ca406a3561 100644

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

drivers/net/ethernet/sfc/farch.c +8 -8
index d75cf5ff5686..49df02ecee91 100644

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

drivers/net/wireless/rsi/rsi_91x_sdio.c +1 -1
index fe0287b22a25..e0c502bc4270 100644

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

drivers/nvme/target/admin-cmd.c +8 -2
index fe6b8aa90b53..81224447605b 100644

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

drivers/nvme/target/discovery.c +4 -2
index 682854e0e079..4845d12e374a 100644

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

drivers/pci/controller/dwc/pcie-designware-ep.c +2 -0
index 1c25d8337151..8d028a88b375 100644

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

drivers/pci/controller/dwc/pcie-designware-host.c +1 -0
index 7e55b2b66182..24192b40e3a2 100644

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

drivers/pci/controller/dwc/pcie-designware.c +8 -3
index 004cb860e266..a945f0c0e73d 100644

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

drivers/pci/controller/dwc/pcie-designware.h +1 -0
index 7247c8b01f04..7d6e9b7576be 100644

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

drivers/pci/pci.c +3 -13
index 16a17215f633..e4d4e399004b 100644

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

drivers/perf/arm_pmu_platform.c +4 -5
index 933bd8410fc2..ef9676418c9f 100644

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

drivers/phy/ti/phy-twl4030-usb.c +1 -1
index 9887f908f540..812e5409d359 100644

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

drivers/pinctrl/pinctrl-ingenic.c +34 -10

44 lines not on this page · raw message

drivers/platform/x86/intel_pmc_core.c +16 -3
index b5888aeb4bcf..260d49dca1ad 100644

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

drivers/platform/x86/intel_speed_select_if/isst_if_mbox_pci.c +23 -10
index a2a2d923e60c..df1fc6c719f3 100644

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

drivers/power/supply/bq27xxx_battery.c +27 -24

51 lines not on this page · raw message

drivers/power/supply/cpcap-battery.c +1 -1
index 6d5bcdb9f45d..a3fc0084cda0 100644

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

drivers/power/supply/cpcap-charger.c +4 -1
index 641dcad1133f..2a8915c3e73e 100644

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

drivers/power/supply/generic-adc-battery.c +1 -1
index 0032069fbc2b..66039c665dd1 100644

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

drivers/power/supply/lp8788-charger.c +1 -1
index e7931ffb7151..397e5a03b7d9 100644

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

drivers/power/supply/pm2301_charger.c +1 -1
index ac06ecf7fc9c..a3bfb9612b17 100644

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

drivers/power/supply/s3c_adc_battery.c +1 -1
index a2addc24ee8b..3e3a598f114d 100644

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

drivers/power/supply/tps65090-charger.c +1 -1
index 6b0098e5a88b..0990b2fa6cd8 100644

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

drivers/power/supply/tps65217_charger.c +1 -1
index 814c2b81fdfe..ba33d1617e0b 100644

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

drivers/regulator/da9121-regulator.c +52 -28

80 lines not on this page · raw message

drivers/regulator/da9121-regulator.h +13 -0
index 3c34cb889ca8..357f416e17c1 100644

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

drivers/s390/cio/device.c +1 -2
index 3f026021e95e..84f659cafe76 100644

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

drivers/s390/cio/qdio.h +0 -10
index 34bf2f197c71..0e0044d70844 100644

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

drivers/s390/cio/qdio_main.c +8 -55

63 lines not on this page · raw message

drivers/s390/cio/qdio_setup.c +1 -48

49 lines not on this page · raw message

drivers/s390/crypto/vfio_ap_ops.c +213 -95

308 lines not on this page · raw message

drivers/s390/crypto/vfio_ap_private.h +2 -0
index 28e9d9989768..f82a6396acae 100644

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

drivers/s390/crypto/zcrypt_card.c +1 -0
index 33b23884b133..09fe6bb8880b 100644

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

drivers/s390/crypto/zcrypt_queue.c +1 -0
index 5062eae73d4a..c3ffbd26b73f 100644

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

drivers/s390/net/qeth_core.h +1 -2
index 91acff493612..fd9b869d278e 100644

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

drivers/s390/net/qeth_core_main.c +48 -54

102 lines not on this page · raw message

drivers/s390/scsi/zfcp_qdio.c +4 -3
index 23ab16d65f2a..049596cbfb5d 100644

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

drivers/scsi/device_handler/scsi_dh_alua.c +3 -2
index ea436a14087f..5eff3368143d 100644

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

drivers/scsi/libfc/fc_lport.c +1 -1
index 22826544da7e..9989669beec3 100644

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

drivers/scsi/lpfc/lpfc_attr.c +45 -30

75 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_crtn.h +2 -5
index a0aad4896a45..763b1eeb0ca8 100644

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

drivers/scsi/lpfc/lpfc_els.c +9 -90

99 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_hbadisc.c +3 -7
index 48ca4a612f80..c5176f406386 100644

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

drivers/scsi/lpfc/lpfc_hw4.h +1 -173

174 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_init.c +5 -107

112 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_mbox.c +0 -36
index c03a7f12dd65..72dd22ad5dcc 100644

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

drivers/scsi/lpfc/lpfc_nportdisc.c +78 -176

254 lines not on this page · raw message

drivers/scsi/lpfc/lpfc_nvmet.c +0 -1
index bb2a4a0d1295..a3fd959f7431 100644

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

drivers/scsi/lpfc/lpfc_sli.c +37 -26

63 lines not on this page · raw message

drivers/scsi/mpt3sas/mpt3sas_base.c +4 -0
index ac0eef975f17..b6beacfd0f62 100644

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

drivers/scsi/mpt3sas/mpt3sas_ctl.c +2 -3
index 44f9a05db94e..2ec11be62a82 100644

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

drivers/scsi/mpt3sas/mpt3sas_ctl.h +4 -8
index d2ccdafb8df2..8f6ffb40261c 100644

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

drivers/scsi/mpt3sas/mpt3sas_scsih.c +3 -1
index 6aa6de729187..ae1973878cc7 100644

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

drivers/scsi/qla2xxx/qla_attr.c +7 -1
index 63391c9be05d..3aa9869f6fae 100644

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

drivers/scsi/qla2xxx/qla_bsg.c +2 -1
index bee8cf9f8123..d021e51344f5 100644

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

drivers/scsi/qla2xxx/qla_isr.c +2 -2
index 5e188375c871..af4831c9edf9 100644

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

drivers/scsi/qla2xxx/qla_os.c +0 -7
index 074392560f3d..0e07b98dfae8 100644

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

drivers/scsi/smartpqi/smartpqi_init.c +161 -0

161 lines not on this page · raw message

drivers/soc/tegra/pmc.c +65 -5

70 lines not on this page · raw message

drivers/soundwire/cadence_master.c +6 -4
index d05442e646a3..57c59a33ce61 100644

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

drivers/spi/spi-ath79.c +1 -2
index eb9a243e9526..98ace748cd98 100644

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

drivers/spi/spi-dln2.c +1 -1
index 75b33d7d14b0..9a4d942fafcf 100644

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

drivers/spi/spi-omap-100k.c +3 -3
index 36a4922a134a..ccd817ee4917 100644

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

drivers/spi/spi-qup.c +1 -1
index 8dcb2e70735c..d39dec6d1c91 100644

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

drivers/spi/spi-stm32-qspi.c +14 -4
index 947e6b9dc9f4..2786470a5201 100644

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

drivers/spi/spi-ti-qspi.c +14 -6
index 9417385c0921..e06aafe169e0 100644

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

drivers/spi/spi.c +8 -8
index b08efe88ccd6..927c2a28011f 100644

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

drivers/staging/media/atomisp/pci/atomisp_fops.c +3 -0
index 453bb6913550..f1e6b2597853 100644

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

drivers/staging/media/imx/imx-media-capture.c +1 -1
index e10ce103a5b4..94a0467d673b 100644

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

drivers/staging/media/ipu3/ipu3-v4l2.c +21 -15
index 60aa02eb7d2a..6d9c49b39531 100644

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

drivers/staging/wimax/i2400m/op-rfkill.c +1 -1
index fbddf2e18c14..44698a1aae87 100644

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

drivers/target/target_core_pscsi.c +2 -1
index 9ee797b8cb7e..508b49b0eaf5 100644

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

drivers/tee/optee/core.c +0 -10
index 319a1e701163..ddb8f9ecf307 100644

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

drivers/thermal/cpufreq_cooling.c +1 -1
index 10af3341e5ea..6956581ed7a4 100644

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

drivers/thermal/gov_fair_share.c +4 -0
index aaa07180ab48..645432ce6365 100644

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

drivers/tty/n_gsm.c +12 -2
index 51dafc06f541..2406653d38b7 100644

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

drivers/tty/vt/vt.c +1 -0
index 284b07224c55..0cc360da5426 100644

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

drivers/usb/core/hub.c +1 -1
index 7f71218cc1e5..404507d1b76f 100644

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

drivers/usb/dwc2/core_intr.c +8 -0
index 55f1d14fc414..800c8b6c55ff 100644

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

drivers/usb/dwc3/core.c +29 -0
index f2448d0a9d39..126f0e10b3ef 100644

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

drivers/usb/dwc3/core.h +8 -1
index 052b20d52651..453cfebd4d04 100644

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

drivers/usb/dwc3/dwc3-pci.c +4 -0
index 4c5c6972124a..95f954a1d7be 100644

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

drivers/usb/dwc3/gadget.c +30 -11

41 lines not on this page · raw message

drivers/usb/gadget/config.c +4 -0
index 2d115353424c..8bb25773b61e 100644

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

drivers/usb/gadget/function/f_fs.c +2 -1
index 801a8b668a35..10a5d9f0f2b9 100644

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

drivers/usb/gadget/function/f_uac1.c +43 -0

43 lines not on this page · raw message

drivers/usb/gadget/function/f_uac2.c +37 -2
index 6f03e944e0e3..dd960cea642f 100644

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

drivers/usb/gadget/function/f_uvc.c +7 -1
index 44b4352a2676..f48a00e49794 100644

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

drivers/usb/gadget/legacy/webcam.c +1 -0
index a9f8eb8e1c76..2c9eab2b863d 100644

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

drivers/usb/gadget/udc/dummy_hcd.c +15 -8
index 57067763b100..5f474ffe2be1 100644

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

drivers/usb/gadget/udc/tegra-xudc.c +1 -1
index 580bef8eb4cb..2319c9737c2b 100644

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

drivers/usb/host/xhci-mem.c +12 -0
index f2c4ee7c4786..717c122f9449 100644

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

drivers/usb/host/xhci-mtk.c +3 -0
index 2f27dc0d9c6b..1c331577fca9 100644

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

drivers/usb/host/xhci-mtk.h +1 -0
index cbb09dfea62e..080109012b9a 100644

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

drivers/usb/host/xhci-ring.c +19 -23

42 lines not on this page · raw message

drivers/usb/host/xhci.c +13 -1
index 1975016f46bf..6672c2f40303 100644

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

drivers/usb/musb/musb_core.c +1 -1
index fc0457db62e1..8f09a387b773 100644

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

drivers/vhost/vdpa.c +1 -0
index bfa4c6ef554e..c79d2f2387aa 100644

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

drivers/video/backlight/qcom-wled.c +21 -8
index 091f07e7c145..e9fbe2483844 100644

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

drivers/video/fbdev/core/fbcmap.c +4 -4
index 757d5c3f620b..ff09e57f3c38 100644

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

drivers/virt/nitro_enclaves/ne_misc_dev.c +17 -26

43 lines not on this page · raw message

fs/btrfs/block-group.c +57 -1

58 lines not on this page · raw message

fs/btrfs/btrfs_inode.h +15 -0
index 28e202e89660..418903604936 100644

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

fs/btrfs/compression.c +8 -3
index 3f4c832abfed..81387cdf334d 100644

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

fs/btrfs/ctree.c +20 -0
index 34b929bd5c1a..f43ce82a6aed 100644

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

fs/btrfs/delayed-inode.c +2 -2
index bf25401c9768..c1d2b6786129 100644

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

fs/btrfs/file.c +14 -20
index 0e155f013839..6eb72c9b15a7 100644

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

fs/btrfs/inode.c +1 -3
index a520775949a0..a922c3bcb65e 100644

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

fs/btrfs/ioctl.c +28 -16

44 lines not on this page · raw message

fs/btrfs/reflink.c +2 -2
index 762881b777b3..0abbf050580d 100644

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

fs/btrfs/relocation.c +35 -15

50 lines not on this page · raw message

fs/btrfs/scrub.c +2 -3
index 3d9088eab2fc..b9202a1f1af1 100644

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

fs/btrfs/transaction.c +16 -1
index acff6bb49a97..d56d3e7ca324 100644

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

fs/btrfs/transaction.h +8 -1
index 6335716e513f..364cfbb4c5c5 100644

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

fs/btrfs/zoned.c +7 -0
index eeb3ebe11d7a..70b23a0d03b1 100644

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

fs/cifs/cifsfs.c +1 -1
index 5ddd20b62484..fa896a1c8b07 100644

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

fs/cifs/connect.c +19 -6
index 24668eb006c6..3d62d52d730b 100644

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

fs/cifs/fs_context.c +7 -0
index 78889024a7ed..a7253eb2e955 100644

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

fs/cifs/sess.c +6 -0
index 63d517b9f2ff..a92a1fb7cb52 100644

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

fs/cifs/smb2ops.c +7 -11
index f703204fb185..5df6daacc230 100644

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

fs/cifs/smb2pdu.c +5 -0
index 2199a9bfae8f..29272d99102c 100644

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

fs/ecryptfs/main.c +6 -0
index cdf40a54a35d..cf772c72ab2b 100644

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

fs/erofs/erofs_fs.h +3 -0
index 9ad1615f4474..e8d04d808fa6 100644

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

fs/erofs/inode.c +7 -0
index 119fdce1b520..7ed2d7391692 100644

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

fs/eventpoll.c +6 -0
index 3196474cbe24..e42477fcbfa0 100644

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

fs/exfat/balloc.c +1 -10
index 761c79c3a4ba..411fb0a8da10 100644

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

fs/ext4/fast_commit.c +3 -1
index 7541d0b5d706..312273ed8a9f 100644

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

fs/ext4/file.c +21 -4
index 194f5d00fa32..7924634ab0bf 100644

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

fs/ext4/ialloc.c +34 -17

51 lines not on this page · raw message

fs/ext4/ioctl.c +6 -0
index a2cf35066f46..0796bfa72829 100644

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

fs/ext4/mmp.c +1 -1
index 795c3ff2907c..68fbeedd627b 100644

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

fs/ext4/super.c +8 -8
index b9693680463a..77c1cb258262 100644

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

fs/f2fs/node.c +3 -0
index 4b0e2e3c2c88..45c8cf1afe66 100644

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

fs/f2fs/verity.c +54 -21

75 lines not on this page · raw message

fs/fuse/file.c +29 -12

41 lines not on this page · raw message

fs/fuse/fuse_i.h +1 -0
index 63d97a15ffde..74d888c78fa4 100644

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

fs/fuse/virtio_fs.c +1 -0
index 4ee6f734ba83..1e5affed158e 100644

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

fs/io_uring.c +40 -30

70 lines not on this page · raw message

fs/jbd2/transaction.c +10 -5
index 9396666b7314..e8fc45fd751f 100644

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

fs/jffs2/file.c +1 -0
index f8fb89b10227..4fc8cd698d1a 100644

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

fs/jffs2/scan.c +1 -1
index db72a9d2d0af..b676056826be 100644

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

fs/nfs/fs_context.c +12 -0
index 971a9251c1d9..902db1262d2b 100644

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

fs/nfs/pnfs.c +6 -1
index 102b66e0bdef..f726f8b12b7e 100644

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

fs/stat.c +8 -0
index fbc171d038aa..1fa38bdec1a6 100644

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

fs/ubifs/replay.c +2 -1
index 0f8a6a16421b..1929ec63a0cb 100644

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

include/crypto/acompress.h +2 -0
index fcde59c65a81..cb3d6b1c655d 100644

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

include/crypto/aead.h +2 -0
index fcc12c593ef8..e728469c4ccc 100644

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

include/crypto/akcipher.h +2 -0
index 1d3aa252caba..5764b46bd1ec 100644

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

include/crypto/chacha.h +7 -2
index 3a1c72fdb7cf..dabaee698718 100644

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

include/crypto/hash.h +4 -0
index 13f8a6a54ca8..b2bc1e46e86a 100644

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

include/crypto/kpp.h +2 -0
index 88b591215d5c..cccceadc164b 100644

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

include/crypto/rng.h +2 -0
index 8b4b844b4eef..17bb3673d3c1 100644

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

include/crypto/skcipher.h +2 -0
index 6a733b171a5d..ef0fc9ed4342 100644

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

include/linux/ioport.h +1 -1
index 55de385c839c..647744d8514e 100644

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

include/linux/mfd/da9063/registers.h +3 -0
index 1dbabf1b3cb8..6e0f66a2e727 100644

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

include/linux/mfd/intel-m10-bmc.h +1 -1
index 74d4e193966a..9b54ca13eac3 100644

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

include/linux/mmc/host.h +0 -3
index 26a3c7bc29ae..a3a4e374f802 100644

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

include/linux/perf_event.h +1 -0
index 3f7f89ea5e51..3d478abf411c 100644

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

include/linux/power/bq27xxx_battery.h +0 -1
index 111a40d0d3d5..8d5f4f40fb41 100644

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

include/linux/reset.h +5 -0
index b9109efa2a5c..9700124affa3 100644

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

include/media/v4l2-ctrls.h +7 -5
index 167ca8c8424f..2fe4019b749f 100644

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

include/scsi/libfcoe.h +1 -1
index 2568cb0627ec..fac8e89aed81 100644

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

include/uapi/linux/usb/video.h +2 -1
index d854cb19c42c..bfdae12cdacf 100644

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

kernel/.gitignore +1 -0
index 78701ea37c97..5518835ac35c 100644

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

kernel/Makefile +7 -2
index 320f1f3941b7..605ec3e70cb7 100644

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

kernel/events/core.c +79 -63

142 lines not on this page · raw message

kernel/futex.c +3 -4
index 00febd6dea9c..a8629b695d38 100644

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

kernel/irq/matrix.c +3 -1
index 651a4ad6d711..8e586858bcf4 100644

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

kernel/kcsan/core.c +0 -2
index 3bf98db9c702..23e7acb5c667 100644

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

kernel/kcsan/debugfs.c +3 -1
index 3c8093a371b1..209ad8dcfcec 100644

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

kernel/kcsan/kcsan.h +0 -5
index 8d4bf3431b3c..87ccdb3b051f 100644

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

kernel/rcu/tree.c +1 -1
index da6f5213fb74..2a739c5fcca5 100644

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

kernel/rcu/tree_plugin.h +5 -2
index 2d603771c7dc..0796a75b6e0e 100644

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

kernel/sched/fair.c +87 -15

102 lines not on this page · raw message

kernel/sched/features.h +3 -0
index 1bc2b158fc51..e911111df83a 100644

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

kernel/sched/psi.c +3 -2
index 967732c0766c..651218ded981 100644

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

kernel/sched/topology.c +61 -30

91 lines not on this page · raw message

kernel/time/posix-timers.c +2 -2
index bf540f5a4115..dd5697d7347b 100644

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

kernel/trace/ftrace.c +4 -1
index 3ba52d4e1314..826b88b727a6 100644

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

kernel/trace/trace.c +15 -26

41 lines not on this page · raw message

kernel/trace/trace_clock.c +30 -14

44 lines not on this page · raw message

lib/dynamic_debug.c +1 -1
index c70d6347afa2..921d0a654243 100644

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

lib/vsprintf.c +0 -2
index 41ddc353ebb8..39ef2e314da5 100644

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

mm/page_alloc.c +17 -13
index cfc72873961d..4bb3cdfc47f8 100644

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

net/bluetooth/ecdh_helper.h +1 -1
index a6f8d03d4aaf..830723971cf8 100644

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

net/ceph/auth_x.c +1 -1
index ca44c327bace..79641c4afee9 100644

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

net/ceph/decode.c +14 -6
index b44f7651be04..bc109a1a4616 100644

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

net/openvswitch/actions.c +4 -4
index 92a0b67b2728..77d924ab8cdb 100644

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

net/sched/sch_frag.c +4 -4
index e1e77d3fb6c0..8c06381391d6 100644

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

security/commoncap.c +1 -1
index 1c519c875217..5cdeb73ca8fa 100644

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

sound/isa/sb/emu8000.c +3 -1
index 0aa545ac6e60..1c90421a88dc 100644

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

sound/isa/sb/sb16_csp.c +6 -2
index 8635a2b6b36b..4789345a8fdd 100644

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

sound/pci/hda/patch_conexant.c +7 -7
index dfef9c17e140..d111258c6f45 100644

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

sound/pci/hda/patch_realtek.c +47 -5

52 lines not on this page · raw message

sound/usb/clock.c +14 -4
index a746802d0ac3..17bbde73d4d1 100644

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

sound/usb/mixer_maps.c +12 -0
index 646deb6244b1..c5794e83fd80 100644

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

tools/power/x86/intel-speed-select/isst-display.c +10 -2
index 8e54ce47648e..3bf1820c0da1 100644

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

tools/power/x86/turbostat/turbostat.c +12 -7
index a7c4f0772e53..490c9a496fe2 100644

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

tools/testing/selftests/arm64/mte/Makefile +0 -2
index 0b3af552632a..df15d44aeb8d 100644

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

tools/testing/selftests/arm64/mte/mte_common_util.c +2 -11
index 39f8908988ea..70665ba88cbb 100644

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

tools/testing/selftests/resctrl/Makefile +1 -1
index d585cc1948cc..6bcee2ec91a9 100644

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

tools/testing/selftests/resctrl/cache.c +4 -4
index 38dbf4962e33..5922cc1b0386 100644

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

tools/testing/selftests/resctrl/cat_test.c +6 -6
index 5da43767b973..20823725daca 100644

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

tools/testing/selftests/resctrl/cqm_test.c +7 -7
index c8756152bd61..271752e9ef5b 100644

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

tools/testing/selftests/resctrl/fill_buf.c +2 -2
index 79c611c99a3d..51e5cf22632f 100644

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

tools/testing/selftests/resctrl/mba_test.c +1 -1
index 7bf8eaa6204b..6449fbd96096 100644

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

tools/testing/selftests/resctrl/mbm_test.c +1 -1
index 4700f7453f81..ec6cfe01c9c2 100644

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

tools/testing/selftests/resctrl/resctrl.h +15 -6
index 39bf59c6b9c5..9dcc96e1ad3d 100644

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

tools/testing/selftests/resctrl/resctrl_tests.c +7 -7
index 425cc85ac883..ac2269610aa9 100644

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

tools/testing/selftests/resctrl/resctrl_val.c +54 -31

85 lines not on this page · raw message

tools/testing/selftests/resctrl/resctrlfs.c +55 -24

79 lines not on this page · 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.