Skip to contentSkip to conversation

Linux 4.16.13

DISCUSSION Greg KH 1 participant 2 messages May 30, 2018 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.16.13 kernel.

All users of the 4.16 kernel series must upgrade.

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

thanks,

greg k-h

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

 Documentation/devicetree/bindings/clock/sunxi-ccu.txt              |    4 
 Documentation/devicetree/bindings/display/msm/dsi.txt              |    4 
 Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt |    5 
 Makefile                                                           |    2 
 arch/arm/boot/dts/at91-nattis-2-natte-2.dts                        |    2 
 arch/arm/boot/dts/at91-tse850-3.dts                                |    2 
 arch/arm/boot/dts/bcm283x.dtsi                                     |    6 
 arch/arm/boot/dts/dra71-evm.dts                                    |    4 
 arch/arm/boot/dts/imx7d-cl-som-imx7.dts                            |   52 -
 arch/arm/boot/dts/keystone-k2e-clocks.dtsi                         |    2 
 arch/arm/boot/dts/r8a7791-porter.dts                               |    2 
 arch/arm/boot/dts/socfpga.dtsi                                     |    2 
 arch/arm/boot/dts/sun4i-a10.dtsi                                   |    6 
 arch/arm64/boot/dts/qcom/msm8996.dtsi                              |    4 
 arch/arm64/include/asm/atomic_lse.h                                |   24 
 arch/arm64/kernel/arm64ksyms.c                                     |    8 
 arch/arm64/lib/tishift.S                                           |   15 
 arch/m68k/coldfire/device.c                                        |   12 
 arch/mips/boot/compressed/uart-16550.c                             |    6 
 arch/mips/boot/dts/xilfpga/Makefile                                |    2 
 arch/mips/cavium-octeon/octeon-irq.c                               |   10 
 arch/mips/generic/Platform                                         |    1 
 arch/mips/include/asm/mach-ath79/ar71xx_regs.h                     |    2 
 arch/mips/kernel/ptrace.c                                          |   22 
 arch/mips/kernel/ptrace32.c                                        |    4 
 arch/mips/kvm/mips.c                                               |    2 
 arch/mips/mm/c-r4k.c                                               |    9 
 arch/powerpc/include/asm/book3s/64/slice.h                         |   27 
 arch/powerpc/include/asm/irq_work.h                                |    1 
 arch/powerpc/include/asm/mmu-8xx.h                                 |    6 
 arch/powerpc/include/asm/nohash/32/slice.h                         |   18 
 arch/powerpc/include/asm/nohash/64/slice.h                         |   12 
 arch/powerpc/include/asm/page.h                                    |    1 
 arch/powerpc/include/asm/page_64.h                                 |   59 -
 arch/powerpc/include/asm/slice.h                                   |   42 +
 arch/powerpc/kernel/cpu_setup_power.S                              |    6 
 arch/powerpc/kernel/dt_cpu_ftrs.c                                  |    1 
 arch/powerpc/kernel/idle_book3s.S                                  |    2 
 arch/powerpc/kernel/setup-common.c                                 |    2 
 arch/powerpc/kernel/traps.c                                        |   47 -
 arch/powerpc/mm/8xx_mmu.c                                          |    2 
 arch/powerpc/mm/hugetlbpage.c                                      |    2 
 arch/powerpc/mm/mmu_context_nohash.c                               |   18 
 arch/powerpc/mm/slice.c                                            |   49 -
 arch/powerpc/perf/core-book3s.c                                    |   25 
 arch/powerpc/platforms/Kconfig.cputype                             |    1 
 arch/powerpc/platforms/powernv/npu-dma.c                           |  229 +++---
 arch/powerpc/platforms/powernv/vas-debug.c                         |   11 
 arch/powerpc/platforms/powernv/vas.c                               |    6 
 arch/powerpc/sysdev/mpic.c                                         |    2 
 arch/riscv/include/asm/fence.h                                     |   12 
 arch/riscv/include/asm/spinlock.h                                  |   29 
 arch/s390/kvm/vsie.c                                               |    2 
 arch/sh/kernel/entry-common.S                                      |    2 
 arch/sparc/include/asm/atomic_64.h                                 |    6 
 arch/x86/events/core.c                                             |   15 
 arch/x86/events/intel/core.c                                       |   12 
 arch/x86/events/intel/ds.c                                         |   92 ++
 arch/x86/events/perf_event.h                                       |    2 
 arch/x86/include/asm/tlbflush.h                                    |    7 
 arch/x86/kernel/apic/apic.c                                        |    2 
 arch/x86/kernel/devicetree.c                                       |   21 
 arch/x86/kvm/cpuid.c                                               |    9 
 arch/x86/kvm/lapic.c                                               |   26 
 arch/x86/kvm/vmx.c                                                 |   20 
 arch/x86/kvm/x86.c                                                 |    5 
 arch/x86/mm/pageattr.c                                             |    6 
 arch/x86/mm/pgtable.c                                              |    9 
 drivers/acpi/acpi_pad.c                                            |    3 
 drivers/acpi/acpica/evevent.c                                      |    9 
 drivers/acpi/acpica/nseval.c                                       |    8 
 drivers/acpi/acpica/psargs.c                                       |    4 
 drivers/ata/ahci.c                                                 |    1 
 drivers/ata/libata-core.c                                          |    6 
 drivers/base/firmware_class.c                                      |   12 
 drivers/base/power/main.c                                          |    7 
 drivers/base/regmap/regmap.c                                       |    2 
 drivers/bcma/driver_mips.c                                         |    2 
 drivers/block/null_blk.c                                           |   46 -
 drivers/block/paride/pcd.c                                         |    2 
 drivers/cdrom/cdrom.c                                              |    3 
 drivers/cdrom/gdrom.c                                              |    3 
 drivers/char/hw_random/bcm2835-rng.c                               |    2 
 drivers/char/hw_random/stm32-rng.c                                 |    9 
 drivers/char/ipmi/ipmi_ssif.c                                      |    4 
 drivers/cpufreq/cppc_cpufreq.c                                     |   23 
 drivers/cpufreq/cpufreq.c                                          |    6 
 drivers/dma/pl330.c                                                |    6 
 drivers/dma/qcom/bam_dma.c                                         |   27 
 drivers/dma/sh/rcar-dmac.c                                         |   13 
 drivers/firmware/dmi_scan.c                                        |    2 
 drivers/firmware/efi/arm-runtime.c                                 |    3 
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h                         |    1 
 drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c                             |   33 
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c                              |    8 
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c                             |    7 
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c                  |    4 
 drivers/gpu/drm/bridge/sii902x.c                                   |   20 
 drivers/gpu/drm/drm_vblank.c                                       |    8 
 drivers/gpu/drm/meson/meson_drv.c                                  |   29 
 drivers/gpu/drm/omapdrm/dss/dss.c                                  |  193 ++---
 drivers/gpu/drm/panel/panel-simple.c                               |    2 
 drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c                          |   18 
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c                        |    7 
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h                                |   25 
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c                               |   31 
 drivers/hwmon/nct6775.c                                            |   10 
 drivers/hwmon/pmbus/adm1275.c                                      |    4 
 drivers/hwmon/pmbus/max8688.c                                      |    2 
 drivers/hwtracing/coresight/coresight-cpu-debug.c                  |    2 
 drivers/hwtracing/intel_th/core.c                                  |    2 
 drivers/i2c/busses/i2c-mv64xxx.c                                   |    8 
 drivers/ide/ide-cd.c                                               |    2 
 drivers/infiniband/core/multicast.c                                |   26 
 drivers/infiniband/core/umem.c                                     |    7 
 drivers/infiniband/hw/hfi1/chip.c                                  |    4 
 drivers/infiniband/hw/mlx5/main.c                                  |    3 
 drivers/infiniband/sw/rxe/rxe_verbs.c                              |    2 
 drivers/iommu/amd_iommu.c                                          |    2 
 drivers/iommu/mtk_iommu.c                                          |   15 
 drivers/iommu/mtk_iommu.h                                          |    1 
 drivers/macintosh/rack-meter.c                                     |    4 
 drivers/md/bcache/bcache.h                                         |    9 
 drivers/md/bcache/super.c                                          |   39 -
 drivers/md/bcache/sysfs.c                                          |    3 
 drivers/md/bcache/writeback.c                                      |   60 +
 drivers/md/bcache/writeback.h                                      |    2 
 drivers/misc/cxl/cxl.h                                             |    4 
 drivers/misc/cxl/native.c                                          |   11 
 drivers/misc/cxl/pci.c                                             |   19 
 drivers/mmc/core/block.c                                           |    2 
 drivers/mmc/host/sdhci-iproc.c                                     |   33 
 drivers/net/ethernet/broadcom/bgmac.c                              |    3 
 drivers/net/ethernet/broadcom/bgmac.h                              |    6 
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c                  |    8 
 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c                       |    4 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c                    |   11 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c                     |    1 
 drivers/net/ethernet/cisco/enic/enic_main.c                        |   10 
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c                     |   23 
 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c                 |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c                    |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c                 |    4 
 drivers/net/ethernet/ibm/ibmvnic.c                                 |   30 
 drivers/net/ethernet/intel/i40e/i40e_main.c                        |   30 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c                      |    3 
 drivers/net/ethernet/mellanox/mlx5/core/cmd.c                      |    2 
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c                  |   61 -
 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c                 |    2 
 drivers/net/ethernet/renesas/sh_eth.c                              |    6 
 drivers/net/ethernet/renesas/sh_eth.h                              |    1 
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c                  |   16 
 drivers/net/hyperv/netvsc.c                                        |    8 
 drivers/net/hyperv/netvsc_drv.c                                    |    2 
 drivers/net/hyperv/rndis_filter.c                                  |    4 
 drivers/net/ieee802154/ca8210.c                                    |   14 
 drivers/net/phy/dp83640.c                                          |   18 
 drivers/net/usb/lan78xx.c                                          |   34 
 drivers/net/virtio_net.c                                           |    2 
 drivers/net/wireless/ath/ath10k/mac.c                              |   12 
 drivers/net/wireless/ath/ath9k/common-spectral.c                   |   12 
 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c                     |    6 
 drivers/net/wireless/intel/iwlwifi/mvm/utils.c                     |   11 
 drivers/net/wireless/mediatek/mt76/mt76x2_main.c                   |   11 
 drivers/net/wireless/mediatek/mt76/mt76x2_tx.c                     |    5 
 drivers/net/wireless/rsi/rsi_91x_sdio.c                            |   32 
 drivers/net/wireless/rsi/rsi_sdio.h                                |    2 
 drivers/nvme/host/core.c                                           |   17 
 drivers/nvme/host/fabrics.c                                        |   83 ++
 drivers/nvme/host/fabrics.h                                        |   33 
 drivers/nvme/host/fc.c                                             |   17 
 drivers/nvme/host/nvme.h                                           |    1 
 drivers/nvme/host/pci.c                                            |    7 
 drivers/nvme/host/rdma.c                                           |   14 
 drivers/nvme/target/loop.c                                         |   11 
 drivers/parisc/lba_pci.c                                           |   20 
 drivers/pci/pci-driver.c                                           |   17 
 drivers/pci/quirks.c                                               |    3 
 drivers/pcmcia/cs.c                                                |   10 
 drivers/pcmcia/cs_internal.h                                       |    1 
 drivers/phy/qualcomm/phy-qcom-qmp.c                                |    4 
 drivers/phy/rockchip/phy-rockchip-emmc.c                           |   27 
 drivers/pinctrl/devicetree.c                                       |    6 
 drivers/pinctrl/pinctrl-mcp23s08.c                                 |   37 
 drivers/pinctrl/qcom/pinctrl-msm.c                                 |    2 
 drivers/pinctrl/sh-pfc/pfc-r8a7796.c                               |   40 -
 drivers/platform/x86/dell-smbios-base.c                            |    4 
 drivers/power/supply/ltc2941-battery-gauge.c                       |    8 
 drivers/power/supply/max17042_battery.c                            |    1 
 drivers/regulator/gpio-regulator.c                                 |   16 
 drivers/regulator/of_regulator.c                                   |    1 
 drivers/remoteproc/imx_rproc.c                                     |    6 
 drivers/s390/cio/vfio_ccw_fsm.c                                    |    5 
 drivers/scsi/sr.c                                                  |   21 
 drivers/scsi/sr_ioctl.c                                            |   10 
 drivers/soc/amlogic/meson-gx-pwrc-vpu.c                            |    6 
 drivers/soc/qcom/wcnss_ctrl.c                                      |    2 
 drivers/soc/renesas/r8a77970-sysc.c                                |   12 
 drivers/spi/spi-bcm-qspi.c                                         |    4 
 drivers/watchdog/asm9260_wdt.c                                     |    8 
 drivers/watchdog/aspeed_wdt.c                                      |   13 
 drivers/watchdog/davinci_wdt.c                                     |   15 
 drivers/watchdog/dw_wdt.c                                          |   23 
 drivers/watchdog/sprd_wdt.c                                        |    4 
 drivers/xen/swiotlb-xen.c                                          |    2 
 drivers/xen/xen-acpi-processor.c                                   |    6 
 drivers/zorro/zorro.c                                              |   12 
 fs/affs/namei.c                                                    |   10 
 fs/aio.c                                                           |    4 
 fs/btrfs/dev-replace.c                                             |    2 
 fs/btrfs/disk-io.c                                                 |    5 
 fs/btrfs/extent-tree.c                                             |    1 
 fs/btrfs/inode.c                                                   |   19 
 fs/btrfs/tests/qgroup-tests.c                                      |    2 
 fs/btrfs/transaction.c                                             |   10 
 fs/btrfs/tree-log.c                                                |   75 +-
 fs/dcache.c                                                        |   22 
 fs/ecryptfs/inode.c                                                |    3 
 fs/ext2/namei.c                                                    |    6 
 fs/ext4/namei.c                                                    |    6 
 fs/ext4/super.c                                                    |   12 
 fs/f2fs/checkpoint.c                                               |   71 +
 fs/f2fs/extent_cache.c                                             |    3 
 fs/f2fs/file.c                                                     |    8 
 fs/f2fs/namei.c                                                    |   12 
 fs/fscache/page.c                                                  |   13 
 fs/gfs2/bmap.c                                                     |   10 
 fs/gfs2/file.c                                                     |    5 
 fs/gfs2/quota.h                                                    |    2 
 fs/jffs2/dir.c                                                     |   12 
 fs/jfs/namei.c                                                     |   12 
 fs/nilfs2/namei.c                                                  |    6 
 fs/ocfs2/dlm/dlmdomain.c                                           |   14 
 fs/ocfs2/dlm/dlmdomain.h                                           |   25 
 fs/ocfs2/dlm/dlmrecovery.c                                         |    9 
 fs/orangefs/namei.c                                                |    9 
 fs/proc/proc_sysctl.c                                              |    3 
 fs/reiserfs/namei.c                                                |   12 
 fs/super.c                                                         |   30 
 fs/udf/namei.c                                                     |    6 
 fs/udf/super.c                                                     |    5 
 fs/ufs/namei.c                                                     |    6 
 fs/xfs/xfs_discard.c                                               |   14 
 include/drm/drm_vblank.h                                           |    2 
 include/linux/dcache.h                                             |    1 
 include/rdma/ib_umem.h                                             |    1 
 ipc/shm.c                                                          |   19 
 kernel/audit.c                                                     |    2 
 kernel/debug/kdb/kdb_main.c                                        |   27 
 kernel/events/core.c                                               |   49 -
 kernel/irq/affinity.c                                              |   15 
 kernel/rcu/tree_plugin.h                                           |   14 
 kernel/sched/rt.c                                                  |    2 
 kernel/sys.c                                                       |    2 
 lib/radix-tree.c                                                   |    4 
 lib/test_kasan.c                                                   |    8 
 mm/kasan/kasan.c                                                   |   66 +
 mm/ksm.c                                                           |   28 
 mm/page_idle.c                                                     |   12 
 mm/slub.c                                                          |   57 -
 mm/swapfile.c                                                      |    4 
 mm/vmscan.c                                                        |    8 
 mm/z3fold.c                                                        |    9 
 net/netlabel/netlabel_unlabeled.c                                  |   10 
 net/rxrpc/call_event.c                                             |    2 
 net/rxrpc/input.c                                                  |   15 
 net/rxrpc/sendmsg.c                                                |    4 
 net/smc/smc_ib.c                                                   |   10 
 net/smc/smc_wr.h                                                   |    1 
 security/integrity/ima/Kconfig                                     |    1 
 security/integrity/ima/ima_crypto.c                                |    2 
 security/integrity/ima/ima_main.c                                  |   13 
 security/integrity/ima/ima_policy.c                                |    2 
 security/selinux/hooks.c                                           |   20 
 sound/core/timer.c                                                 |    4 
 sound/core/vmaster.c                                               |    5 
 tools/hv/hv_fcopy_daemon.c                                         |    3 
 tools/hv/hv_vss_daemon.c                                           |    1 
 tools/perf/Makefile.perf                                           |    3 
 tools/perf/builtin-stat.c                                          |    9 
 tools/perf/builtin-top.c                                           |    6 
 tools/perf/tests/dwarf-unwind.c                                    |   46 -
 tools/perf/tests/shell/trace+probe_libc_inet_pton.sh               |    6 
 tools/perf/tests/vmlinux-kallsyms.c                                |    2 
 tools/perf/ui/browsers/annotate.c                                  |    9 
 tools/perf/util/c++/clang.cpp                                      |   11 
 tools/perf/util/hist.c                                             |    4 
 tools/perf/util/hist.h                                             |    1 
 tools/perf/util/mmap.c                                             |    6 
 tools/testing/radix-tree/idr-test.c                                |    7 
 tools/testing/selftests/Makefile                                   |    1 
 tools/testing/selftests/net/fib-onlink-tests.sh                    |  375 ++++++++++
 tools/testing/selftests/net/psock_fanout.c                         |    3 
 tools/thermal/tmon/sysfs.c                                         |   12 
 tools/thermal/tmon/tmon.c                                          |    1 
 295 files changed, 3058 insertions(+), 1183 deletions(-)

Aapo Vienamo (1):
ARM: dts: imx7d: cl-som-imx7: fix pinctrl_enet

Aaro Koskinen (1):
drivers: macintosh: rack-meter: really fix bogus memsets

Al Viro (4):
affs_lookup(): close a race with affs_remove_link() fix breakage caused by d_find_alias() semantics change
aio: fix io_destroy(2) vs. lookup_ioctx() race do d_instantiate/unlock_new_inode combinations safely

Alexander Graf (1):
lan78xx: Connect phy early

Alexander Shishkin (1):
intel_th: Use correct method of finding hub

Alexandre Belloni (2):
MIPS: xilfpga: Stop generating useless dtb.o
MIPS: xilfpga: Actually include FDT in fitImage

Alexey Khoroshilov (3):
watchdog: davinci_wdt: fix error handling in davinci_wdt_probe()
watchdog: sprd_wdt: Fix error handling in sprd_wdt_enable()
watchdog: asm9260_wdt: fix error handling in asm9260_wdt_probe()

Alistair Popple (1):
powerpc/powernv/npu: Fix deadlock in mmio_invalidate()

Amitkumar Karwar (1):
rsi: fix kernel panic observed on 64bit machine

Anand Jain (1):
btrfs: fix null pointer deref when target device is missing

Andrea Parri (1):
riscv/spinlock: Strengthen implementations with fences

Andreas Gruenbacher (2):
gfs2: Check for the end of metadata in punch_hole
gfs2: Fix fallocate chunk size

Andrey Konovalov (2):
kasan: fix invalid-free test crashing the kernel kasan, slub: fix handling of kasan_slab_free hook

Andrey Ryabinin (1):
mm/kasan: don't vfree() nonexistent vm_area

Anilkumar Kolli (1):
ath10k: advertize beacon_int_min_gcd

Anshuman Khandual (1):
powerpc/fscr: Enable interrupts earlier before calling get_user()

Archit Taneja (1):
dt-bindings: display: msm/dsi: Fix the PHY regulator supply props

Arjun Vynipadath (2):
cxgb4: Setup FW queues before registering netdev
cxgb4: Fix queue free path of ULD drivers

Baoquan He (1):
x86/apic: Set up through-local-APIC mode on the boot CPU if 'noapic' specified

Ben Hutchings (1):
ALSA: timer: Fix pause event notification

Bjorn Andersson (2):
soc: qcom: wcnss_ctrl: Fix increment in NV upload
pinctrl: msm: Use dynamic GPIO numbering

Bob Moore (1):
ACPICA: Fix memory leak on unusual memory leak

Brian Norris (1):
watchdog: dw: RMW the control register

Carlos Maiolino (1):
Force log to disk before reading the AGF during a fstrim

Chao Yu (3):
f2fs: fix to set KEEP_SIZE bit in f2fs_zero_range
f2fs: fix to clear CP_TRIMMED_FLAG
f2fs: fix to check extent cache in f2fs_drop_extent_tree

Charles Keepax (1):
regmap: Correct comparison in regmap_cached

Christophe JAILLET (4):
remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()' drm/meson: Fix some error handling paths in 'meson_drv_bind_master()' drm/meson: Fix an un-handled error path in 'meson_drv_bind_master()'
regulator: of: Add a missing 'of_node_put()' in an error handling path of 'of_regulator_match()'

Christophe Jaillet (2):
regulator: gpio: Fix some error handling paths in 'gpio_regulator_probe()'
spi: bcm-qspi: fIX some error handling paths

Christophe Leroy (4):
powerpc/mm/slice: Remove intermediate bitmap copy powerpc/mm/slice: create header files dedicated to slices powerpc/mm/slice: Enhance for supporting PPC32 powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx

Chunyu Hu (1):
cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path

Claudio Imbrenda (1):
mm/ksm: fix interaction with THP

Colin Ian King (2):
KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
net: qualcomm: rmnet: check for null ep to avoid null pointer dereference

Coly Li (3):

      bcache: quit dc->writeback_thread when BCACHE_DEV_DETACHING is set
      bcache: fix cached_dev->count usage for bch_cache_set_error()
      bcache: stop dc->writeback_rate_update properly

Cornelia Huck (1):
vfio-ccw: fence off transport mode

Corneliu Doban (2):
mmc: sdhci-iproc: fix 32bit writes for TRANSFER_MODE register
mmc: sdhci-iproc: add SDHCI_QUIRK2_HOST_OFF_CARD_ON for cygnus

Dan Carpenter (2):
platform/x86: dell-smbios: Fix memory leaks in build_tokens_sysfs() xen/acpi: off by one in read_acpi_id()

Danilo Krummrich (1):
fs/proc/proc_sysctl.c: fix potential page fault while unregistering sysctl table

Dave Chinner (1):
fs: don't scan the inode cache before SB_BORN is set

Dave Hansen (1):
x86/mm: Do not forbid _PAGE_RW before init for __ro_after_init

David Ahern (1):
selftests: Add FIB onlink tests

David Hildenbrand (3):
kasan: free allocated shadow memory on MEM_CANCEL_ONLINE
kasan: fix memory hotplug during boot
KVM: s390: vsie: fix < 8k check for the itdba

David Howells (3):
fscache: Fix hanging wait on page discarded by writeback
rxrpc: Fix Tx ring annotation after initial Tx failure
rxrpc: Don't treat call aborts as conn aborts

David S. Miller (1):
sparc64: Make atomic_xchg() an inline function rather than a macro.

David Vrabel (1):
x86/kvm: fix LAPIC timer drift when guest uses periodic mode

Davidlohr Bueso (3):
Revert "ipc/shm: Fix shmat mmap nil-page protection" ipc/shm: fix shmat() nil address after round-down when remapping sched/rt: Fix rq->clock_update_flags < RQCF_ACT_SKIP warning

Deepak Rawat (1):
drm/vmwgfx: Set dmabuf_size when vmw_dmabuf_init is successful

Dexuan Cui (1):
tools: hv: fix compiler warnings about major/target_fname

Dhinakaran Pandiyan (1):
drm/vblank: Data type fixes for 64-bit vblank sequences.

Emily Deng (1):
drm/amdgpu: Clean sdma wptr register when only enable wptr polling

Eran Ben Elisha (1):
net/mlx5e: Move all TX timeout logic to be under state lock

Eric Anholt (1):
drm/panel: simple: Fix the bus format for the Ontat panel

Eric Sandeen (1):
ext4: don't complain about incorrect features when probing

Erik Schmauss (1):
ACPICA: Events: add a return on failure from acpi_hw_register_read

Esben Haabendal (1):
dp83640: Ensure against premature access to PHY registers after reset

Filip Sadowski (1):
i40e: Add delay after EMP reset for firmware to recover

Filipe Manana (2):
Btrfs: fix loss of prealloc extents past i_size after fsync log replay
Btrfs: fix copy_items() return value when logging an inode

Florian Fainelli (2):
net: bgmac: Fix endian access in bgmac_dma_tx_ring_free()
net: bgmac: Correctly annotate register space

Frank Asseg (1):
tools/thermal: tmon: fix for segfault

Fuyun Liang (3):
net: hns3: fix for the wrong shift problem in hns3_set_txbd_baseinfo
net: hns3: fix for returning wrong value problem in hns3_get_rss_indir_size
net: hns3: fix for returning wrong value problem in hns3_get_rss_key_size

Gao Xiang (1):
f2fs: flush cp pack except cp pack 2 page at first

Geert Uytterhoeven (1):
dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks

Govindarajulu Varadarajan (1):
enic: enable rq before updating rq descriptors

Greg Kroah-Hartman (1):

      Linux 4.16.13

Greg Ungerer (1):
m68k: set dma and coherent masks for platform FEC ethernets

Gregory CLEMENT (1):
i2c: mv64xxx: Apply errata delay only in standard mode

Guenter Roeck (3):
hwmon: (nct6775) Fix writing pwmX_mode
hwmon: (pmbus/max8688) Accept negative page register values
hwmon: (pmbus/adm1275) Accept negative page register values

Gustavo A. R. Silva (1):
kernel/sys.c: fix potential Spectre v1 issue

Haiyang Zhang (1):
hv_netvsc: Fix the return status in RX path

Harry Morris (1):

      ieee802154: ca8210: fix uninitialised data read

Heiner Kallweit (1):
soc: amlogic: meson-gx-pwrc-vpu: fix error on shutdown when domain is powered off

Helge Deller (1):
parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode

Henry Zhang (1):
ARM: dts: bcm283x: Fix pin function of JTAG pins

Honggang Li (1):
IB/mlx5: Set the default active rate and width to QDR and 4X

Huang Ying (1):
mm: fix races between address_space dereference and free in page_evicatable

Icenowy Zheng (1):
dt-bindings: add device tree binding for Allwinner H6 main CCU

Ilia Lin (1):
arm64: dts: qcom: Fix SPI5 config on MSM8996

Ivan Gorinov (2):
x86/devicetree: Initialize device tree before using it x86/devicetree: Fix device IRQ settings in DT

Jacob Keller (2):
i40e: hold the RTNL lock while changing interrupt schemes
ixgbe: prevent ptp_rx_hang from running when in FILTER_ALL mode

Jake Moroni (1):
dpaa_eth: fix pause capability advertisement logic

James Smart (2):
nvme: expand nvmf_check_if_ready checks
nvme_fc: fix abort race on teardown with lld reject

Jan Kara (1):
udf: Provide saner default for invalid uid / gid

Jan Kundrát (1):
pinctrl: mcp23s08: spi: Fix regmap debugfs entries

Jarosław Janik (1):
nvme-pci: disable APST for Samsung NVMe SSD 960 EVO + ASUS PRIME Z370-A

Jason A. Donenfeld (1):
arm64: export tishift functions to modules

Jay Vosburgh (1):
virtio-net: Fix operstate for virtio when no VIRTIO_NET_F_STATUS

Jean Delvare (1):
firmware: dmi_scan: Fix UUID length safety check

Jeff Mahoney (1):
btrfs: fix lockdep splat in btrfs_alloc_subvolume_writers

Jens Axboe (2):
sr: pass down correctly sized SCSI sense buffer
sr: get/drop reference to device in revalidate and check_events

Jiandi An (1):
ima: Fix Kconfig to select TPM 2.0 CRB interface

Jim Mattson (1):
kvm: x86: IA32_ARCH_CAPABILITIES is always supported

Jin Yao (1):
perf report: Fix wrong jump arrow

Jiri Olsa (3):
perf tests: Use arch__compare_symbol_names to compare symbols perf report: Fix memory corruption in --branch-history mode --branch-history perf tests: Fix dwarf unwind for stripped binaries

Joe Jin (1):
xen-swiotlb: fix the check condition for xen_swiotlb_free_coherent

Joe Perches (1):
MIPS: Octeon: Fix logging messages with spurious periods after newlines

Joerg Roedel (1):
x86/pgtable: Don't set huge PUD/PMD on non-leaf entries

Johannes Thumshirn (1):
nvme: don't send keep-alives to the discovery controller

John Allen (1):
ibmvnic: Fix reset return from closed state

Jun Piao (1):
ocfs2/dlm: don't handle migrate lockres if already in shutdown

Kamlakant Patel (1):
ipmi_ssif: Fix kernel panic at msg_done_handler

Kan Liang (4):
perf mmap: Fix accessing unmapped mmap in perf_mmap__read_done() perf/x86/intel: Properly save/restore the PMU state in the NMI handler perf/x86/intel: Fix large period handling on Broadwell CPUs perf/x86/intel: Fix event update for auto-reload

Karthikeyan Periyasamy (1):
ath10k: Fix kernel panic while using worker (ath10k_sta_rc_update_wk)

Konrad Rzeszutek Wilk (1):
KVM/VMX: Expose SSBD properly to guests

Ladislav Michl (1):
power: supply: ltc2941-battery-gauge: Fix temperature units

Laurent Pinchart (2):
drm: omapdrm: dss: Move initialization code from component bind to probe
ARM: dts: porter: Fix HDMI output routing

Lenny Szubowicz (1):
ACPI: acpi_pad: Fix memory leak in power saving threads

Leo Yan (1):
coresight: Use %px to print pcsr instead of %p

Leon Romanovsky (1):
net/mlx5: Protect from command bit overflow

Lidong Chen (1):
IB/umem: Use the correct mm during ib_umem_release

Linus Walleij (1):
drm/bridge: sii902x: Retry status read after DDI I2C

Liu Bo (3):
Btrfs: clean up resources during umount after trans is aborted
Btrfs: bail out on error during replay_dir_deletes
Btrfs: fix NULL pointer dereference in log_dir_items

Lorenzo Bianconi (2):
mt76x2: fix possible NULL pointer dereferencing in mt76x2_tx()
mt76x2: fix warning in ieee80211_get_key_rx_seq()

Luca Coelho (1):
iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq

Luis R. Rodriguez (1):
firmware: fix checking for return values for fw_add_devm_name()

Maciej W. Rozycki (2):
MIPS: ptrace: Expose FIR register through FP regset
MIPS: Fix ptrace(2) PTRACE_PEEKUSR and PTRACE_POKEUSR accesses to o32 FGRs

Madalin Bucur (1):
dpaa_eth: fix SG mapping

Madhavan Srinivasan (1):
powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer

Marc Dionne (1):
rxrpc: Fix resend event time calculation

Mark Rutland (1):
efi/arm*: Only register page tables when they exist

Mathias Kresin (1):
MIPS: ath79: Fix AR724X_PLL_REG_PCIE_CONFIG offset

Mathieu Malaterre (2):
mmc: block: propagate correct returned value in mmc_rpmb_ioctl
powerpc: Add missing prototype for arch_irq_work_raise()

Matthew Wilcox (1):
idr: fix invalid ptr dereference on item delete

Maurizio Lombardi (1):
cdrom: do not call check_disk_change() inside cdrom_open()

Michael Ellerman (3):
powerpc/mpic: Check if cpu_possible() in mpic_physmask() powerpc/perf: Fix kernel address leak via sampling registers
selftests: Print the test we're running to /dev/kmsg

Michael J. Ruhl (1):
IB/hfi1: Use after free race condition in send context error path

Michael Neuling (1):
powerpc/64s: Clear PCR on boot

Michael Schmitz (1):

      zorro: Set up z->dev.dma_mask for the DMA API

Mika Westerberg (1):
ahci: Add PCI ID for Cannon Lake PCH-LP AHCI

Mikhail Malygin (1):
IB/rxe: Fix for oops in rxe_register_device on ppc64le arch

Milton Miller (2):
watchdog: aspeed: Allow configuring for alternate boot
watchdog: aspeed: Fix translation of reset mode to ctrl register

Mimi Zohar (1):
ima: clear IMA_HASH

Ming Lei (1):
block: null_blk: fix 'Invalid parameters' when loading module

Monk Liu (2):
drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini drm/amdgpu: adjust timeout for ib_ring_tests(v2)

NeilBrown (1):
MIPS: c-r4k: Fix data corruption related to cache coherence

Nicholas Piggin (2):
powerpc/64s/idle: Fix restore of AMOR on POWER9 after deep sleep powerpc/64s: sreset panic if there is no debugger or crash dump handlers

Niklas Cassel (4):
pinctrl: artpec6: dt: add missing pin group uart5nocts
net: stmmac: ensure that the device has released ownership before reading data
net: stmmac: ensure that the MSS desc is the last desc to set the own bit
net: stmmac: call correct function in stmmac_mac_config_rx_queues_routing()

Nikolay Borisov (1):
btrfs: Fix possible softlock on single core machines

Oded Gabbay (1):
drm/amdkfd: add missing include of mm.h

Omar Sandoval (1):
Btrfs: fix error handling in btrfs_truncate()

Parav Pandit (1):
IB/core: Honor port_num while resolving GID for IB link layer

Pascal Roeleven (1):
ARM: dts: sun4i: Fix incorrect clocks for displays

Paul Cercueil (1):
MIPS: Fix build with DEBUG_ZBOOT and MACH_JZ4770

Peter Rosin (2):
ARM: dts: at91: nattis: use the correct compatible for the eeprom
ARM: dts: at91: tse850: use the correct compatible for the eeprom

Peter Zijlstra (1):
perf/core: Fix perf_output_read_group()

Petr Vorel (1):
ima: Fallback to the builtin hash algorithm

Philipp Puschmann (1):
arm: dts: socfpga: fix GIC PPI warning

Pierre Bourdon (1):
max17042: propagate of_node to power supply device

Prashant Bhole (1):
selftests/net: fixes psock_fanout eBPF test case

Qi Hou (1):
dmaengine: pl330: fix a race condition in case of threaded irqs

Qu Wenruo (2):
btrfs: tests/qgroup: Fix wrong tree backref level
btrfs: qgroup: Fix root item corruption when multiple same source snapshots are created with quota enabled

Rafael J. Wysocki (3):
PM / core: Fix direct_complete handling for devices with no callbacks
PCI: Restore config space on runtime resume despite being unbound PCMCIA / PM: Avoid noirq suspend aborts during suspend-to-idle

Rafał Miłecki (1):
bcma: fix buffer size caused crash in bcma_core_mips_print_irq()

Randy Dunlap (1):
kdb: make "mdr" command repeat

Ravikumar Kattekola (1):
ARM: dts: dra71-evm: Correct evm_sd regulator max voltage

Rich Felker (1):
sh: fix debug trap failure to process signals before return to user

Richard Fitzgerald (1):
pinctrl: devicetree: Fix dt_to_map_one_config handling of hogs

Richard Guy Briggs (1):
audit: return on memory error to avoid null pointer dereference

Richard Haines (1):
netlabel: If PF_INET6, check sk_buff ip header version

Sai Praneeth (1):
x86/mm: Fix bogus warning during EFI bootup, use boot_cpu_has() instead of this_cpu_has() in build_cr3_noflush()

Sandipan Das (2):
perf tools: Fix perf builds with clang support perf clang: Add support for recent clang versions

Sara Sharon (1):
iwlwifi: mvm: take RCU lock before dereferencing

Scott Branden (1):
bnxt_en: fix clear flags in ethtool reset handling

Sean Christopherson (1):
KVM: VMX: raise internal error for exception during invalid protected mode state

Sebastian Andrzej Siewior (1):
iommu/amd: Take into account that alloc_dev_data() may return NULL

Sebastian Gottschall (1):
ath9k: fix crash in spectral scan

Sergei Shtylyov (4):
sh_eth: fix TSU init on SH7734/R8A7740
soc: renesas: r8a77970-sysc: fix power area parents
drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen3
drm: rcar-du: lvds: Fix LVDS startup on R-Car Gen2

Seunghun Han (1):
ACPICA: acpi: acpica: fix acpi operand cache leak in nseval.c

Shawn Lin (1):
phy: rockchip-emmc: retry calpad busy trimming

Shunyong Yang (1):
cpufreq: CPPC: Initialize shared perf capabilities of CPUs

Sriharsha Basavapatna (1):
bnxt_en: Ignore src port field in decap filter nodes

Srinath Mannam (1):
mmc: sdhci-iproc: remove hard coded mmc cap 1.8v

Srinivas Kandagatla (1):
dmaengine: qcom: bam_dma: get num-channels and num-ees from dt

Stefan Wahren (2):
ARM: dts: bcm283x: Fix probing of bcm2835-i2s
hwrng: bcm2835 - Handle deferred clock properly

Sudip Mukherjee (1):
libata: blacklist Micron 500IT SSD with MU01 firmware

Sukadev Bhattiprolu (1):
powerpc/vas: Fix cleanup when VAS is not configured

Suman Anna (1):
ARM: dts: keystone-k2e-clocks: Fix missing unit address separator

Takashi Iwai (1):
ALSA: vmaster: Propagate slave error

Takeshi Kihara (1):
pinctrl: sh-pfc: r8a7796: Fix MOD_SEL register pin assignment for SSI pins group

Tao (1):
drm/amd/display: Set vsc pack revision when DPCD revision is >= 1.2

Tejun Heo (2):
libata: Blacklist some Sandisk SSDs for NCQ
rcu: Call touch_nmi_watchdog() while printing stall warnings

Thomas Falcon (2):
ibmvnic: Zero used TX descriptor counter on reset
ibmvnic: Allocate statistics buffers during probe

Thomas Gleixner (1):
genirq/affinity: Don't return with empty affinity masks on error

Thomas Hellstrom (2):
drm/vmwgfx: Fix 32-bit VMW_PORT_HB_[IN|OUT] macros drm/vmwgfx: Unpin the screen object backup buffer when not used

Thomas Richter (2):
perf stat: Fix core dump when flag T is used perf test: Fix test case inet_pton to accept inlines.

Thomas Vincent-Cross (1):
PCI: Add function 1 DMA alias quirk for Marvell 88SE9220

Tom Abraham (1):
swap: divide-by-zero when zero length swap file on ssd

Ursula Braun (1):
net/smc: pay attention to MAX_ORDER for CQ entries

Vaibhav Jain (1):
cxl: Check if PSL data-cache is available before issue flush request

Viresh Kumar (1):
cpufreq: Reorder cpufreq_online() error code path

Vitaly Kuznetsov (1):
KVM: lapic: stop advertising DIRECTED_EOI when in-kernel IOAPIC is in use

Vivek Gautam (1):
phy: qcom-qmp: Fix phy pipe clock gating

Wei Huang (1):
KVM: x86: Update cpuid properly when CR4.OSXAVE or CR4.PKE is changed

Will Deacon (1):
arm64: lse: Add early clobbers to some input/output asm operands

Xidong Wang (1):
z3fold: fix memory leak

Yang Shi (1):
mm: thp: fix potential clearing to referenced flag in page_idle_clear_pte_refs_one()

Yisheng Xie (1):
perf top: Fix top.call-graph config option reading

Yong Wu (1):
iommu/mediatek: Fix protect memory setting

Yoshihiro Shimoda (1):
dmaengine: rcar-dmac: Check the done lists in rcar_dmac_chan_get_residue()

leilei.lin (1):
perf/core: Fix installing cgroup events on CPU

[email protected] (1):
hwrng: stm32 - add reset during probe

Ørjan Eide (1):
drm/rockchip: Respect page offset for PRIME mmap calls

author maintainer
#1 lore raw
Documentation/devicetree/bindings/clock/sunxi-ccu.txt +4 -0
index 4ca21c3a6fc9..460ef27b1008 100644
@@ -20,6 +20,7 @@ Required properties :
 		- "allwinner,sun50i-a64-ccu"
 		- "allwinner,sun50i-a64-r-ccu"
 		- "allwinner,sun50i-h5-ccu"
+		- "allwinner,sun50i-h6-ccu"
 		- "nextthing,gr8-ccu"
 
 - reg: Must contain the registers base address and length
@@ -31,6 +32,9 @@ Required properties :
 - #clock-cells : must contain 1
 - #reset-cells : must contain 1
 
+For the main CCU on H6, one more clock is needed:
+- "iosc": the SoC's internal frequency oscillator
+
 For the PRCM CCUs on A83T/H3/A64, two more clocks are needed:
 - "pll-periph": the SoC's peripheral PLL from the main CCU
 - "iosc": the SoC's internal frequency oscillator
Documentation/devicetree/bindings/display/msm/dsi.txt +4 -0
index a6671bd2c85a..ae38a1ee9c29 100644
@@ -102,7 +102,11 @@ Required properties:
 - clocks: Phandles to device clocks. See [1] for details on clock bindings.
 - clock-names: the following clocks are required:
   * "iface"
+  For 28nm HPM/LP, 28nm 8960 PHYs:
 - vddio-supply: phandle to vdd-io regulator device node
+  For 20nm PHY:
+- vddio-supply: phandle to vdd-io regulator device node
+- vcca-supply: phandle to vcca regulator device node
 
 Optional properties:
 - qcom,dsi-phy-regulator-ldo-mode: Boolean value indicating if the LDO mode PHY
Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt +3 -2
index 47284f85ec80..c3f9826692bc 100644
@@ -20,7 +20,8 @@ Required subnode-properties:
 		gpio: cpuclkoutgrp0, udlclkoutgrp0, i2c1grp0, i2c2grp0,
 		      i2c3grp0, i2s0grp0, i2s1grp0, i2srefclkgrp0, spi0grp0,
 		      spi1grp0, pciedebuggrp0, uart0grp0, uart0grp1, uart1grp0,
-		      uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0
+		      uart2grp0, uart2grp1, uart3grp0, uart4grp0, uart5grp0,
+		      uart5nocts
 		cpuclkout: cpuclkoutgrp0
 		udlclkout: udlclkoutgrp0
 		i2c1: i2c1grp0
@@ -37,7 +38,7 @@ Required subnode-properties:
 		uart2: uart2grp0, uart2grp1
 		uart3: uart3grp0
 		uart4: uart4grp0
-		uart5: uart5grp0
+		uart5: uart5grp0, uart5nocts
 		nand: nandgrp0
 		sdio0: sdio0grp0
 		sdio1: sdio1grp0
Makefile +1 -1
index ded9e8480d74..146e527a5e06 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 16
-SUBLEVEL = 12
+SUBLEVEL = 13
 EXTRAVERSION =
 NAME = Fearless Coyote
 
arch/arm/boot/dts/at91-nattis-2-natte-2.dts +1 -1
index 3ea1d26e1c68..c457eff25911 100644
@@ -146,7 +146,7 @@
 	};
 
 	eeprom@50 {
-		compatible = "nxp,24c02";
+		compatible = "nxp,se97b", "atmel,24c02";
 		reg = <0x50>;
 		pagesize = <16>;
 	};
arch/arm/boot/dts/at91-tse850-3.dts +1 -1
index 9b82cc8843e1..97b227693658 100644
@@ -246,7 +246,7 @@
 	};
 
 	eeprom@50 {
-		compatible = "nxp,24c02", "atmel,24c02";
+		compatible = "nxp,se97b", "atmel,24c02";
 		reg = <0x50>;
 		pagesize = <16>;
 	};
arch/arm/boot/dts/bcm283x.dtsi +3 -3
index 9d293decf8d3..8d9a0df207a4 100644
@@ -252,7 +252,7 @@
 
 			jtag_gpio4: jtag_gpio4 {
 				brcm,pins = <4 5 6 12 13>;
-				brcm,function = <BCM2835_FSEL_ALT4>;
+				brcm,function = <BCM2835_FSEL_ALT5>;
 			};
 			jtag_gpio22: jtag_gpio22 {
 				brcm,pins = <22 23 24 25 26 27>;
@@ -397,8 +397,8 @@
 
 		i2s: i2s@7e203000 {
 			compatible = "brcm,bcm2835-i2s";
-			reg = <0x7e203000 0x20>,
-			      <0x7e101098 0x02>;
+			reg = <0x7e203000 0x24>;
+			clocks = <&clocks BCM2835_CLOCK_PCM>;
 
 			dmas = <&dma 2>,
 			       <&dma 3>;
arch/arm/boot/dts/dra71-evm.dts +2 -2
index 41c9132eb550..64363f75c01a 100644
@@ -24,13 +24,13 @@
 
 		regulator-name = "vddshv8";
 		regulator-min-microvolt = <1800000>;
-		regulator-max-microvolt = <3000000>;
+		regulator-max-microvolt = <3300000>;
 		regulator-boot-on;
 		vin-supply = <&evm_5v0>;
 
 		gpios = <&gpio7 11 GPIO_ACTIVE_HIGH>;
 		states = <1800000 0x0
-			  3000000 0x1>;
+			  3300000 0x1>;
 	};
 
 	evm_1v8_sw: fixedregulator-evm_1v8 {
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +26 -26

63 lines not on this page · raw message

arch/arm/boot/dts/keystone-k2e-clocks.dtsi +1 -1
index 5e0e7d232161..f7592155a740 100644
@@ -42,7 +42,7 @@ clocks {
 		domain-id = <0>;
 	};
 
-	clkhyperlink0: clkhyperlink02350030 {
+	clkhyperlink0: clkhyperlink0@2350030 {
 		#clock-cells = <0>;
 		compatible = "ti,keystone,psc-clock";
 		clocks = <&chipclk12>;
arch/arm/boot/dts/r8a7791-porter.dts +1 -1
index eb374956294f..9a02d03b23c2 100644
@@ -425,7 +425,7 @@
 		      "dclkin.0", "dclkin.1";
 
 	ports {
-		port@1 {
+		port@0 {
 			endpoint {
 				remote-endpoint = <&adv7511_in>;
 			};
arch/arm/boot/dts/socfpga.dtsi +1 -1
index c42ca7022e8c..486d4e7433ed 100644
@@ -831,7 +831,7 @@
 		timer@fffec600 {
 			compatible = "arm,cortex-a9-twd-timer";
 			reg = <0xfffec600 0x100>;
-			interrupts = <1 13 0xf04>;
+			interrupts = <1 13 0xf01>;
 			clocks = <&mpu_periph_clk>;
 		};
 
arch/arm/boot/dts/sun4i-a10.dtsi +3 -3
index 4f2f2eea0755..5df34345a354 100644
@@ -76,7 +76,7 @@
 			allwinner,pipeline = "de_fe0-de_be0-lcd0-hdmi";
 			clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_HDMI0>,
 				 <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
-				 <&ccu CLK_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
+				 <&ccu CLK_DE_BE0>, <&ccu CLK_DE_FE0>,
 				 <&ccu CLK_TCON0_CH1>, <&ccu CLK_HDMI>,
 				 <&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
 			status = "disabled";
@@ -88,7 +88,7 @@
 			allwinner,pipeline = "de_fe0-de_be0-lcd0";
 			clocks = <&ccu CLK_AHB_LCD0>, <&ccu CLK_AHB_DE_BE0>,
 				 <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_DE_BE0>,
-				 <&ccu CLK_AHB_DE_FE0>, <&ccu CLK_TCON0_CH0>,
+				 <&ccu CLK_DE_FE0>, <&ccu CLK_TCON0_CH0>,
 				 <&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
 			status = "disabled";
 		};
@@ -99,7 +99,7 @@
 			allwinner,pipeline = "de_fe0-de_be0-lcd0-tve0";
 			clocks = <&ccu CLK_AHB_TVE0>, <&ccu CLK_AHB_LCD0>,
 				 <&ccu CLK_AHB_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
-				 <&ccu CLK_DE_BE0>, <&ccu CLK_AHB_DE_FE0>,
+				 <&ccu CLK_DE_BE0>, <&ccu CLK_DE_FE0>,
 				 <&ccu CLK_TCON0_CH1>, <&ccu CLK_DRAM_TVE0>,
 				 <&ccu CLK_DRAM_DE_FE0>, <&ccu CLK_DRAM_DE_BE0>;
 			status = "disabled";
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
index 0a6f7952bbb1..48b85653ad66 100644
@@ -497,8 +497,8 @@
 		blsp2_spi5: spi@75ba000{
 			compatible = "qcom,spi-qup-v2.2.1";
 			reg = <0x075ba000 0x600>;
-			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>,
+			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>,
 				 <&gcc GCC_BLSP2_AHB_CLK>;
 			clock-names = "core", "iface";
 			pinctrl-names = "default", "sleep";
arch/arm64/include/asm/atomic_lse.h +12 -12
index 9ef0797380cb..f9b0b09153e0 100644
@@ -117,7 +117,7 @@ static inline void atomic_and(int i, atomic_t *v)
 	/* LSE atomics */
 	"	mvn	%w[i], %w[i]\n"
 	"	stclr	%w[i], %[v]")
-	: [i] "+r" (w0), [v] "+Q" (v->counter)
+	: [i] "+&r" (w0), [v] "+Q" (v->counter)
 	: "r" (x1)
 	: __LL_SC_CLOBBERS);
 }
@@ -135,7 +135,7 @@ static inline int atomic_fetch_and##name(int i, atomic_t *v)		\
 	/* LSE atomics */						\
 	"	mvn	%w[i], %w[i]\n"					\
 	"	ldclr" #mb "	%w[i], %w[i], %[v]")			\
-	: [i] "+r" (w0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (w0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS, ##cl);					\
 									\
@@ -161,7 +161,7 @@ static inline void atomic_sub(int i, atomic_t *v)
 	/* LSE atomics */
 	"	neg	%w[i], %w[i]\n"
 	"	stadd	%w[i], %[v]")
-	: [i] "+r" (w0), [v] "+Q" (v->counter)
+	: [i] "+&r" (w0), [v] "+Q" (v->counter)
 	: "r" (x1)
 	: __LL_SC_CLOBBERS);
 }
@@ -180,7 +180,7 @@ static inline int atomic_sub_return##name(int i, atomic_t *v)		\
 	"	neg	%w[i], %w[i]\n"					\
 	"	ldadd" #mb "	%w[i], w30, %[v]\n"			\
 	"	add	%w[i], %w[i], w30")				\
-	: [i] "+r" (w0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (w0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS , ##cl);					\
 									\
@@ -207,7 +207,7 @@ static inline int atomic_fetch_sub##name(int i, atomic_t *v)		\
 	/* LSE atomics */						\
 	"	neg	%w[i], %w[i]\n"					\
 	"	ldadd" #mb "	%w[i], %w[i], %[v]")			\
-	: [i] "+r" (w0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (w0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS, ##cl);					\
 									\
@@ -314,7 +314,7 @@ static inline void atomic64_and(long i, atomic64_t *v)
 	/* LSE atomics */
 	"	mvn	%[i], %[i]\n"
 	"	stclr	%[i], %[v]")
-	: [i] "+r" (x0), [v] "+Q" (v->counter)
+	: [i] "+&r" (x0), [v] "+Q" (v->counter)
 	: "r" (x1)
 	: __LL_SC_CLOBBERS);
 }
@@ -332,7 +332,7 @@ static inline long atomic64_fetch_and##name(long i, atomic64_t *v)	\
 	/* LSE atomics */						\
 	"	mvn	%[i], %[i]\n"					\
 	"	ldclr" #mb "	%[i], %[i], %[v]")			\
-	: [i] "+r" (x0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (x0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS, ##cl);					\
 									\
@@ -358,7 +358,7 @@ static inline void atomic64_sub(long i, atomic64_t *v)
 	/* LSE atomics */
 	"	neg	%[i], %[i]\n"
 	"	stadd	%[i], %[v]")
-	: [i] "+r" (x0), [v] "+Q" (v->counter)
+	: [i] "+&r" (x0), [v] "+Q" (v->counter)
 	: "r" (x1)
 	: __LL_SC_CLOBBERS);
 }
@@ -377,7 +377,7 @@ static inline long atomic64_sub_return##name(long i, atomic64_t *v)	\
 	"	neg	%[i], %[i]\n"					\
 	"	ldadd" #mb "	%[i], x30, %[v]\n"			\
 	"	add	%[i], %[i], x30")				\
-	: [i] "+r" (x0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (x0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS, ##cl);					\
 									\
@@ -404,7 +404,7 @@ static inline long atomic64_fetch_sub##name(long i, atomic64_t *v)	\
 	/* LSE atomics */						\
 	"	neg	%[i], %[i]\n"					\
 	"	ldadd" #mb "	%[i], %[i], %[v]")			\
-	: [i] "+r" (x0), [v] "+Q" (v->counter)				\
+	: [i] "+&r" (x0), [v] "+Q" (v->counter)				\
 	: "r" (x1)							\
 	: __LL_SC_CLOBBERS, ##cl);					\
 									\
@@ -435,7 +435,7 @@ static inline long atomic64_dec_if_positive(atomic64_t *v)
 	"	sub	x30, x30, %[ret]\n"
 	"	cbnz	x30, 1b\n"
 	"2:")
-	: [ret] "+r" (x0), [v] "+Q" (v->counter)
+	: [ret] "+&r" (x0), [v] "+Q" (v->counter)
 	:
 	: __LL_SC_CLOBBERS, "cc", "memory");
 
@@ -516,7 +516,7 @@ static inline long __cmpxchg_double##name(unsigned long old1,		\
 	"	eor	%[old1], %[old1], %[oldval1]\n"			\
 	"	eor	%[old2], %[old2], %[oldval2]\n"			\
 	"	orr	%[old1], %[old1], %[old2]")			\
-	: [old1] "+r" (x0), [old2] "+r" (x1),				\
+	: [old1] "+&r" (x0), [old2] "+&r" (x1),				\
 	  [v] "+Q" (*(unsigned long *)ptr)				\
 	: [new1] "r" (x2), [new2] "r" (x3), [ptr] "r" (x4),		\
 	  [oldval1] "r" (oldval1), [oldval2] "r" (oldval2)		\
arch/arm64/kernel/arm64ksyms.c +8 -0
index 66be504edb6c..d894a20b70b2 100644
@@ -75,3 +75,11 @@ NOKPROBE_SYMBOL(_mcount);
 	/* arm-smccc */
 EXPORT_SYMBOL(__arm_smccc_smc);
 EXPORT_SYMBOL(__arm_smccc_hvc);
+
+	/* tishift.S */
+extern long long __ashlti3(long long a, int b);
+EXPORT_SYMBOL(__ashlti3);
+extern long long __ashrti3(long long a, int b);
+EXPORT_SYMBOL(__ashrti3);
+extern long long __lshrti3(long long a, int b);
+EXPORT_SYMBOL(__lshrti3);
arch/arm64/lib/tishift.S +2 -13
index d3db9b2cd479..0fdff97794de 100644
@@ -1,17 +1,6 @@
-/*
- * Copyright (C) 2017 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
  */
 
 #include <linux/linkage.h>
arch/m68k/coldfire/device.c +10 -2
index 84938fdbbada..908d58347790 100644
@@ -135,7 +135,11 @@ static struct platform_device mcf_fec0 = {
 	.id			= 0,
 	.num_resources		= ARRAY_SIZE(mcf_fec0_resources),
 	.resource		= mcf_fec0_resources,
-	.dev.platform_data	= FEC_PDATA,
+	.dev = {
+		.dma_mask		= &mcf_fec0.dev.coherent_dma_mask,
+		.coherent_dma_mask	= DMA_BIT_MASK(32),
+		.platform_data		= FEC_PDATA,
+	}
 };
 
 #ifdef MCFFEC_BASE1
@@ -167,7 +171,11 @@ static struct platform_device mcf_fec1 = {
 	.id			= 1,
 	.num_resources		= ARRAY_SIZE(mcf_fec1_resources),
 	.resource		= mcf_fec1_resources,
-	.dev.platform_data	= FEC_PDATA,
+	.dev = {
+		.dma_mask		= &mcf_fec1.dev.coherent_dma_mask,
+		.coherent_dma_mask	= DMA_BIT_MASK(32),
+		.platform_data		= FEC_PDATA,
+	}
 };
 #endif /* MCFFEC_BASE1 */
 #endif /* CONFIG_FEC */
arch/mips/boot/compressed/uart-16550.c +3 -3
index b3043c08f769..aee8d7b8f091 100644
@@ -18,9 +18,9 @@
 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset))
 #endif
 
-#if defined(CONFIG_MACH_JZ4740) || defined(CONFIG_MACH_JZ4780)
-#include <asm/mach-jz4740/base.h>
-#define PORT(offset) (CKSEG1ADDR(JZ4740_UART0_BASE_ADDR) + (4 * offset))
+#ifdef CONFIG_MACH_INGENIC
+#define INGENIC_UART0_BASE_ADDR	0x10030000
+#define PORT(offset) (CKSEG1ADDR(INGENIC_UART0_BASE_ADDR) + (4 * offset))
 #endif
 
 #ifdef CONFIG_CPU_XLR
arch/mips/boot/dts/xilfpga/Makefile +0 -2
index 9987e0e378c5..69ca00590b8d 100644
@@ -1,4 +1,2 @@
 # SPDX-License-Identifier: GPL-2.0
 dtb-$(CONFIG_FIT_IMAGE_FDT_XILFPGA)	+= nexys4ddr.dtb
-
-obj-y				+= $(patsubst %.dtb, %.dtb.o, $(dtb-y))
arch/mips/cavium-octeon/octeon-irq.c +5 -5
index d99f5242169e..b3aec101a65d 100644
@@ -2271,7 +2271,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
 
 	parent_irq = irq_of_parse_and_map(ciu_node, 0);
 	if (!parent_irq) {
-		pr_err("ERROR: Couldn't acquire parent_irq for %s\n.",
+		pr_err("ERROR: Couldn't acquire parent_irq for %s\n",
 			ciu_node->name);
 		return -EINVAL;
 	}
@@ -2283,7 +2283,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
 
 	addr = of_get_address(ciu_node, 0, NULL, NULL);
 	if (!addr) {
-		pr_err("ERROR: Couldn't acquire reg(0) %s\n.", ciu_node->name);
+		pr_err("ERROR: Couldn't acquire reg(0) %s\n", ciu_node->name);
 		return -EINVAL;
 	}
 	host_data->raw_reg = (u64)phys_to_virt(
@@ -2291,7 +2291,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
 
 	addr = of_get_address(ciu_node, 1, NULL, NULL);
 	if (!addr) {
-		pr_err("ERROR: Couldn't acquire reg(1) %s\n.", ciu_node->name);
+		pr_err("ERROR: Couldn't acquire reg(1) %s\n", ciu_node->name);
 		return -EINVAL;
 	}
 	host_data->en_reg = (u64)phys_to_virt(
@@ -2299,7 +2299,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
 
 	r = of_property_read_u32(ciu_node, "cavium,max-bits", &val);
 	if (r) {
-		pr_err("ERROR: Couldn't read cavium,max-bits from %s\n.",
+		pr_err("ERROR: Couldn't read cavium,max-bits from %s\n",
 			ciu_node->name);
 		return r;
 	}
@@ -2309,7 +2309,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
 					   &octeon_irq_domain_cib_ops,
 					   host_data);
 	if (!cib_domain) {
-		pr_err("ERROR: Couldn't irq_domain_add_linear()\n.");
+		pr_err("ERROR: Couldn't irq_domain_add_linear()\n");
 		return -ENOMEM;
 	}
 
arch/mips/generic/Platform +1 -0
index b51432dd10b6..0dd0d5d460a5 100644
@@ -16,3 +16,4 @@ all-$(CONFIG_MIPS_GENERIC)	:= vmlinux.gz.itb
 its-y					:= vmlinux.its.S
 its-$(CONFIG_FIT_IMAGE_FDT_BOSTON)	+= board-boston.its.S
 its-$(CONFIG_FIT_IMAGE_FDT_NI169445)	+= board-ni169445.its.S
+its-$(CONFIG_FIT_IMAGE_FDT_XILFPGA)	+= board-xilfpga.its.S
arch/mips/include/asm/mach-ath79/ar71xx_regs.h +1 -1
index aa3800c82332..d99ca862dae3 100644
@@ -167,7 +167,7 @@
 #define AR71XX_AHB_DIV_MASK		0x7
 
 #define AR724X_PLL_REG_CPU_CONFIG	0x00
-#define AR724X_PLL_REG_PCIE_CONFIG	0x18
+#define AR724X_PLL_REG_PCIE_CONFIG	0x10
 
 #define AR724X_PLL_FB_SHIFT		0
 #define AR724X_PLL_FB_MASK		0x3ff
arch/mips/kernel/ptrace.c +18 -4
index 0b23b1ad99e6..8d098b9f395c 100644
@@ -463,7 +463,7 @@ static int fpr_get_msa(struct task_struct *target,
 /*
  * Copy the floating-point context to the supplied NT_PRFPREG buffer.
  * Choose the appropriate helper for general registers, and then copy
- * the FCSR register separately.
+ * the FCSR and FIR registers separately.
  */
 static int fpr_get(struct task_struct *target,
 		   const struct user_regset *regset,
@@ -471,6 +471,7 @@ static int fpr_get(struct task_struct *target,
 		   void *kbuf, void __user *ubuf)
 {
 	const int fcr31_pos = NUM_FPU_REGS * sizeof(elf_fpreg_t);
+	const int fir_pos = fcr31_pos + sizeof(u32);
 	int err;
 
 	if (sizeof(target->thread.fpu.fpr[0]) == sizeof(elf_fpreg_t))
@@ -483,6 +484,12 @@ static int fpr_get(struct task_struct *target,
 	err = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
 				  &target->thread.fpu.fcr31,
 				  fcr31_pos, fcr31_pos + sizeof(u32));
+	if (err)
+		return err;
+
+	err = user_regset_copyout(&pos, &count, &kbuf, &ubuf,
+				  &boot_cpu_data.fpu_id,
+				  fir_pos, fir_pos + sizeof(u32));
 
 	return err;
 }
@@ -531,7 +538,8 @@ static int fpr_set_msa(struct task_struct *target,
 /*
  * Copy the supplied NT_PRFPREG buffer to the floating-point context.
  * Choose the appropriate helper for general registers, and then copy
- * the FCSR register separately.
+ * the FCSR register separately.  Ignore the incoming FIR register
+ * contents though, as the register is read-only.
  *
  * We optimize for the case where `count % sizeof(elf_fpreg_t) == 0',
  * which is supposed to have been guaranteed by the kernel before
@@ -545,6 +553,7 @@ static int fpr_set(struct task_struct *target,
 		   const void *kbuf, const void __user *ubuf)
 {
 	const int fcr31_pos = NUM_FPU_REGS * sizeof(elf_fpreg_t);
+	const int fir_pos = fcr31_pos + sizeof(u32);
 	u32 fcr31;
 	int err;
 
@@ -572,6 +581,11 @@ static int fpr_set(struct task_struct *target,
 		ptrace_setfcr31(target, fcr31);
 	}
 
+	if (count > 0)
+		err = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf,
+						fir_pos,
+						fir_pos + sizeof(u32));
+
 	return err;
 }
 
@@ -793,7 +807,7 @@ long arch_ptrace(struct task_struct *child, long request,
 			fregs = get_fpu_regs(child);
 
 #ifdef CONFIG_32BIT
-			if (test_thread_flag(TIF_32BIT_FPREGS)) {
+			if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) {
 				/*
 				 * The odd registers are actually the high
 				 * order bits of the values stored in the even
@@ -888,7 +902,7 @@ long arch_ptrace(struct task_struct *child, long request,
 
 			init_fp_ctx(child);
 #ifdef CONFIG_32BIT
-			if (test_thread_flag(TIF_32BIT_FPREGS)) {
+			if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) {
 				/*
 				 * The odd registers are actually the high
 				 * order bits of the values stored in the even
arch/mips/kernel/ptrace32.c +2 -2
index 2b9260f92ccd..656a137c1fe2 100644
@@ -99,7 +99,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
 				break;
 			}
 			fregs = get_fpu_regs(child);
-			if (test_thread_flag(TIF_32BIT_FPREGS)) {
+			if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) {
 				/*
 				 * The odd registers are actually the high
 				 * order bits of the values stored in the even
@@ -212,7 +212,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
 				       sizeof(child->thread.fpu));
 				child->thread.fpu.fcr31 = 0;
 			}
-			if (test_thread_flag(TIF_32BIT_FPREGS)) {
+			if (test_tsk_thread_flag(child, TIF_32BIT_FPREGS)) {
 				/*
 				 * The odd registers are actually the high
 				 * order bits of the values stored in the even
arch/mips/kvm/mips.c +1 -1
index 2549fdd27ee1..0f725e9cee8f 100644
@@ -45,7 +45,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 	{ "cache",	  VCPU_STAT(cache_exits),	 KVM_STAT_VCPU },
 	{ "signal",	  VCPU_STAT(signal_exits),	 KVM_STAT_VCPU },
 	{ "interrupt",	  VCPU_STAT(int_exits),		 KVM_STAT_VCPU },
-	{ "cop_unsuable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU },
+	{ "cop_unusable", VCPU_STAT(cop_unusable_exits), KVM_STAT_VCPU },
 	{ "tlbmod",	  VCPU_STAT(tlbmod_exits),	 KVM_STAT_VCPU },
 	{ "tlbmiss_ld",	  VCPU_STAT(tlbmiss_ld_exits),	 KVM_STAT_VCPU },
 	{ "tlbmiss_st",	  VCPU_STAT(tlbmiss_st_exits),	 KVM_STAT_VCPU },
arch/mips/mm/c-r4k.c +6 -3
index 6f534b209971..e12dfa48b478 100644
@@ -851,9 +851,12 @@ static void r4k_dma_cache_wback_inv(unsigned long addr, unsigned long size)
 	/*
 	 * Either no secondary cache or the available caches don't have the
 	 * subset property so we have to flush the primary caches
-	 * explicitly
+	 * explicitly.
+	 * If we would need IPI to perform an INDEX-type operation, then
+	 * we have to use the HIT-type alternative as IPI cannot be used
+	 * here due to interrupts possibly being disabled.
 	 */
-	if (size >= dcache_size) {
+	if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) {
 		r4k_blast_dcache();
 	} else {
 		R4600_HIT_CACHEOP_WAR_IMPL;
@@ -890,7 +893,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size)
 		return;
 	}
 
-	if (size >= dcache_size) {
+	if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) {
 		r4k_blast_dcache();
 	} else {
 		R4600_HIT_CACHEOP_WAR_IMPL;
arch/powerpc/include/asm/book3s/64/slice.h new file +27 -0
new file mode 100644
index 000000000000..db0dedab65ee
@@ -0,0 +1,27 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_POWERPC_BOOK3S_64_SLICE_H
+#define _ASM_POWERPC_BOOK3S_64_SLICE_H
+
+#ifdef CONFIG_PPC_MM_SLICES
+
+#define SLICE_LOW_SHIFT		28
+#define SLICE_LOW_TOP		(0x100000000ul)
+#define SLICE_NUM_LOW		(SLICE_LOW_TOP >> SLICE_LOW_SHIFT)
+#define GET_LOW_SLICE_INDEX(addr)	((addr) >> SLICE_LOW_SHIFT)
+
+#define SLICE_HIGH_SHIFT	40
+#define SLICE_NUM_HIGH		(H_PGTABLE_RANGE >> SLICE_HIGH_SHIFT)
+#define GET_HIGH_SLICE_INDEX(addr)	((addr) >> SLICE_HIGH_SHIFT)
+
+#else /* CONFIG_PPC_MM_SLICES */
+
+#define get_slice_psize(mm, addr)	((mm)->context.user_psize)
+#define slice_set_user_psize(mm, psize)		\
+do {						\
+	(mm)->context.user_psize = (psize);	\
+	(mm)->context.sllp = SLB_VSID_USER | mmu_psize_defs[(psize)].sllp; \
+} while (0)
+
+#endif /* CONFIG_PPC_MM_SLICES */
+
+#endif /* _ASM_POWERPC_BOOK3S_64_SLICE_H */
arch/powerpc/include/asm/irq_work.h +1 -0
index c6d3078bd8c3..b8b0be8f1a07 100644
@@ -6,5 +6,6 @@ static inline bool arch_irq_work_has_interrupt(void)
 {
 	return true;
 }
+extern void arch_irq_work_raise(void);
 
 #endif /* _ASM_POWERPC_IRQ_WORK_H */
arch/powerpc/include/asm/mmu-8xx.h +6 -0
index 2f806e329648..b324ab46d838 100644
@@ -191,6 +191,12 @@ typedef struct {
 	unsigned int id;
 	unsigned int active;
 	unsigned long vdso_base;
+#ifdef CONFIG_PPC_MM_SLICES
+	u16 user_psize;		/* page size index */
+	u64 low_slices_psize;	/* page size encodings */
+	unsigned char high_slices_psize[0];
+	unsigned long slb_addr_limit;
+#endif
 } mm_context_t;
 
 #define PHYS_IMMR_BASE (mfspr(SPRN_IMMR) & 0xfff80000)
arch/powerpc/include/asm/nohash/32/slice.h new file +18 -0
new file mode 100644
index 000000000000..95d532e18092
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_POWERPC_NOHASH_32_SLICE_H
+#define _ASM_POWERPC_NOHASH_32_SLICE_H
+
+#ifdef CONFIG_PPC_MM_SLICES
+
+#define SLICE_LOW_SHIFT		28
+#define SLICE_LOW_TOP		(0x100000000ull)
+#define SLICE_NUM_LOW		(SLICE_LOW_TOP >> SLICE_LOW_SHIFT)
+#define GET_LOW_SLICE_INDEX(addr)	((addr) >> SLICE_LOW_SHIFT)
+
+#define SLICE_HIGH_SHIFT	0
+#define SLICE_NUM_HIGH		0ul
+#define GET_HIGH_SLICE_INDEX(addr)	(addr & 0)
+
+#endif /* CONFIG_PPC_MM_SLICES */
+
+#endif /* _ASM_POWERPC_NOHASH_32_SLICE_H */
arch/powerpc/include/asm/nohash/64/slice.h new file +12 -0
new file mode 100644
index 000000000000..ad0d6e3cc1c5
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_POWERPC_NOHASH_64_SLICE_H
+#define _ASM_POWERPC_NOHASH_64_SLICE_H
+
+#ifdef CONFIG_PPC_64K_PAGES
+#define get_slice_psize(mm, addr)	MMU_PAGE_64K
+#else /* CONFIG_PPC_64K_PAGES */
+#define get_slice_psize(mm, addr)	MMU_PAGE_4K
+#endif /* !CONFIG_PPC_64K_PAGES */
+#define slice_set_user_psize(mm, psize)	do { BUG(); } while (0)
+
+#endif /* _ASM_POWERPC_NOHASH_64_SLICE_H */
arch/powerpc/include/asm/page.h +1 -0
index 8da5d4c1cab2..d5f1c41b7dba 100644
@@ -344,5 +344,6 @@ typedef struct page *pgtable_t;
 
 #include <asm-generic/memory_model.h>
 #endif /* __ASSEMBLY__ */
+#include <asm/slice.h>
 
 #endif /* _ASM_POWERPC_PAGE_H */
arch/powerpc/include/asm/page_64.h +0 -59

65 lines not on this page · raw message

arch/powerpc/include/asm/slice.h new file +42 -0

42 lines not on this page · raw message

arch/powerpc/kernel/cpu_setup_power.S +6 -0
index 3f30c994e931..458b928dbd84 100644
@@ -28,6 +28,7 @@ _GLOBAL(__setup_cpu_power7)
 	beqlr
 	li	r0,0
 	mtspr	SPRN_LPID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr	r3,SPRN_LPCR
 	li	r4,(LPCR_LPES1 >> LPCR_LPES_SH)
 	bl	__init_LPCR_ISA206
@@ -41,6 +42,7 @@ _GLOBAL(__restore_cpu_power7)
 	beqlr
 	li	r0,0
 	mtspr	SPRN_LPID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr	r3,SPRN_LPCR
 	li	r4,(LPCR_LPES1 >> LPCR_LPES_SH)
 	bl	__init_LPCR_ISA206
@@ -57,6 +59,7 @@ _GLOBAL(__setup_cpu_power8)
 	beqlr
 	li	r0,0
 	mtspr	SPRN_LPID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr	r3,SPRN_LPCR
 	ori	r3, r3, LPCR_PECEDH
 	li	r4,0 /* LPES = 0 */
@@ -78,6 +81,7 @@ _GLOBAL(__restore_cpu_power8)
 	beqlr
 	li	r0,0
 	mtspr	SPRN_LPID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr   r3,SPRN_LPCR
 	ori	r3, r3, LPCR_PECEDH
 	li	r4,0 /* LPES = 0 */
@@ -99,6 +103,7 @@ _GLOBAL(__setup_cpu_power9)
 	mtspr	SPRN_PSSCR,r0
 	mtspr	SPRN_LPID,r0
 	mtspr	SPRN_PID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr	r3,SPRN_LPCR
 	LOAD_REG_IMMEDIATE(r4, LPCR_PECEDH | LPCR_PECE_HVEE | LPCR_HVICE  | LPCR_HEIC)
 	or	r3, r3, r4
@@ -123,6 +128,7 @@ _GLOBAL(__restore_cpu_power9)
 	mtspr	SPRN_PSSCR,r0
 	mtspr	SPRN_LPID,r0
 	mtspr	SPRN_PID,r0
+	mtspr	SPRN_PCR,r0
 	mfspr   r3,SPRN_LPCR
 	LOAD_REG_IMMEDIATE(r4, LPCR_PECEDH | LPCR_PECE_HVEE | LPCR_HVICE | LPCR_HEIC)
 	or	r3, r3, r4
arch/powerpc/kernel/dt_cpu_ftrs.c +1 -0
index 078553a177de..afe6808d7a41 100644
@@ -114,6 +114,7 @@ static void __restore_cpu_cpufeatures(void)
 	if (hv_mode) {
 		mtspr(SPRN_LPID, 0);
 		mtspr(SPRN_HFSCR, system_registers.hfscr);
+		mtspr(SPRN_PCR, 0);
 	}
 	mtspr(SPRN_FSCR, system_registers.fscr);
 
arch/powerpc/kernel/idle_book3s.S +2 -0
index 01e1c1997893..2fce278446f5 100644
@@ -834,6 +834,8 @@ BEGIN_FTR_SECTION
 	mtspr	SPRN_PTCR,r4
 	ld	r4,_RPR(r1)
 	mtspr	SPRN_RPR,r4
+	ld	r4,_AMOR(r1)
+	mtspr	SPRN_AMOR,r4
 END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)
 
 	ld	r4,_TSCR(r1)
arch/powerpc/kernel/setup-common.c +2 -0
index d73ec518ef80..a6002f9449b1 100644
@@ -919,6 +919,8 @@ void __init setup_arch(char **cmdline_p)
 #ifdef CONFIG_PPC64
 	if (!radix_enabled())
 		init_mm.context.slb_addr_limit = DEFAULT_MAP_WINDOW_USER64;
+#elif defined(CONFIG_PPC_8xx)
+	init_mm.context.slb_addr_limit = DEFAULT_MAP_WINDOW;
 #else
 #error	"context.addr_limit not initialized."
 #endif
arch/powerpc/kernel/traps.c +30 -17

75 lines not on this page · raw message

arch/powerpc/mm/8xx_mmu.c +1 -1
index 849f50cd62f2..cf77d755246d 100644
@@ -192,7 +192,7 @@ void set_context(unsigned long id, pgd_t *pgd)
 	mtspr(SPRN_M_TW, __pa(pgd) - offset);
 
 	/* Update context */
-	mtspr(SPRN_M_CASID, id);
+	mtspr(SPRN_M_CASID, id - 1);
 	/* sync */
 	mb();
 }
arch/powerpc/mm/hugetlbpage.c +2 -0
index 876da2bc1796..590be3fa0ce2 100644
@@ -553,9 +553,11 @@ unsigned long hugetlb_get_unmapped_area(struct file *file, unsigned long addr,
 	struct hstate *hstate = hstate_file(file);
 	int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate));
 
+#ifdef CONFIG_PPC_RADIX_MMU
 	if (radix_enabled())
 		return radix__hugetlb_get_unmapped_area(file, addr, len,
 						       pgoff, flags);
+#endif
 	return slice_get_unmapped_area(addr, len, flags, mmu_psize, 1);
 }
 #endif
arch/powerpc/mm/mmu_context_nohash.c +16 -2
index 4554d6527682..d98f7e5c141b 100644
@@ -331,6 +331,20 @@ int init_new_context(struct task_struct *t, struct mm_struct *mm)
 {
 	pr_hard("initing context for mm @%p\n", mm);
 
+#ifdef	CONFIG_PPC_MM_SLICES
+	if (!mm->context.slb_addr_limit)
+		mm->context.slb_addr_limit = DEFAULT_MAP_WINDOW;
+
+	/*
+	 * We have MMU_NO_CONTEXT set to be ~0. Hence check
+	 * explicitly against context.id == 0. This ensures that we properly
+	 * initialize context slice details for newly allocated mm's (which will
+	 * have id == 0) and don't alter context slice inherited via fork (which
+	 * will have id != 0).
+	 */
+	if (mm->context.id == 0)
+		slice_set_user_psize(mm, mmu_virtual_psize);
+#endif
 	mm->context.id = MMU_NO_CONTEXT;
 	mm->context.active = 0;
 	return 0;
@@ -428,8 +442,8 @@ void __init mmu_context_init(void)
 	 *      -- BenH
 	 */
 	if (mmu_has_feature(MMU_FTR_TYPE_8xx)) {
-		first_context = 0;
-		last_context = 15;
+		first_context = 1;
+		last_context = 16;
 		no_selective_tlbil = true;
 	} else if (mmu_has_feature(MMU_FTR_TYPE_47x)) {
 		first_context = 1;
arch/powerpc/mm/slice.c +33 -16

128 lines not on this page · raw message

arch/powerpc/perf/core-book3s.c +25 -0
index f89bbd54ecec..1e55ae2f2afd 100644
@@ -457,6 +457,16 @@ static void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw)
 				/* invalid entry */
 				continue;
 
+			/*
+			 * BHRB rolling buffer could very much contain the kernel
+			 * addresses at this point. Check the privileges before
+			 * exporting it to userspace (avoid exposure of regions
+			 * where we could have speculative execution)
+			 */
+			if (perf_paranoid_kernel() && !capable(CAP_SYS_ADMIN) &&
+				is_kernel_addr(addr))
+				continue;
+
 			/* Branches are read most recent first (ie. mfbhrb 0 is
 			 * the most recent branch).
 			 * There are two types of valid entries:
@@ -1226,6 +1236,7 @@ static void power_pmu_disable(struct pmu *pmu)
 		 */
 		write_mmcr0(cpuhw, val);
 		mb();
+		isync();
 
 		/*
 		 * Disable instruction sampling if it was enabled
@@ -1234,12 +1245,26 @@ static void power_pmu_disable(struct pmu *pmu)
 			mtspr(SPRN_MMCRA,
 			      cpuhw->mmcr[2] & ~MMCRA_SAMPLE_ENABLE);
 			mb();
+			isync();
 		}
 
 		cpuhw->disabled = 1;
 		cpuhw->n_added = 0;
 
 		ebb_switch_out(mmcr0);
+
+#ifdef CONFIG_PPC64
+		/*
+		 * These are readable by userspace, may contain kernel
+		 * addresses and are not switched by context switch, so clear
+		 * them now to avoid leaking anything to userspace in general
+		 * including to another process.
+		 */
+		if (ppmu->flags & PPMU_ARCH_207S) {
+			mtspr(SPRN_SDAR, 0);
+			mtspr(SPRN_SIAR, 0);
+		}
+#endif
 	}
 
 	local_irq_restore(flags);
arch/powerpc/platforms/Kconfig.cputype +1 -0
index a429d859f15d..5a8b1bf1e819 100644
@@ -326,6 +326,7 @@ config PPC_BOOK3E_MMU
 config PPC_MM_SLICES
 	bool
 	default y if PPC_BOOK3S_64
+	default y if PPC_8xx && HUGETLB_PAGE
 	default n
 
 config PPC_HAVE_PMU_SUPPORT
arch/powerpc/platforms/powernv/npu-dma.c +141 -88

317 lines not on this page · raw message

arch/powerpc/platforms/powernv/vas-debug.c +11 -0
index ca22f1eae050..3161e39eea1d 100644
@@ -179,6 +179,7 @@ void vas_instance_init_dbgdir(struct vas_instance *vinst)
 {
 	struct dentry *d;
 
+	vas_init_dbgdir();
 	if (!vas_debugfs)
 		return;
 
@@ -201,8 +202,18 @@ void vas_instance_init_dbgdir(struct vas_instance *vinst)
 	vinst->dbgdir = NULL;
 }
 
+/*
+ * Set up the "root" VAS debugfs dir. Return if we already set it up
+ * (or failed to) in an earlier instance of VAS.
+ */
 void vas_init_dbgdir(void)
 {
+	static bool first_time = true;
+
+	if (!first_time)
+		return;
+
+	first_time = false;
 	vas_debugfs = debugfs_create_dir("vas", NULL);
 	if (IS_ERR(vas_debugfs))
 		vas_debugfs = NULL;
arch/powerpc/platforms/powernv/vas.c +3 -3
index aebbe95c9230..5a2b24cbbc88 100644
@@ -160,8 +160,6 @@ static int __init vas_init(void)
 	int found = 0;
 	struct device_node *dn;
 
-	vas_init_dbgdir();
-
 	platform_driver_register(&vas_driver);
 
 	for_each_compatible_node(dn, NULL, "ibm,vas") {
@@ -169,8 +167,10 @@ static int __init vas_init(void)
 		found++;
 	}
 
-	if (!found)
+	if (!found) {
+		platform_driver_unregister(&vas_driver);
 		return -ENODEV;
+	}
 
 	pr_devel("Found %d instances\n", found);
 
arch/powerpc/sysdev/mpic.c +1 -1
index 73067805300a..1d4e0ef658d3 100644
@@ -626,7 +626,7 @@ static inline u32 mpic_physmask(u32 cpumask)
 	int i;
 	u32 mask = 0;
 
-	for (i = 0; i < min(32, NR_CPUS); ++i, cpumask >>= 1)
+	for (i = 0; i < min(32, NR_CPUS) && cpu_possible(i); ++i, cpumask >>= 1)
 		mask |= (cpumask & 1) << get_hard_smp_processor_id(i);
 	return mask;
 }
arch/riscv/include/asm/fence.h new file +12 -0
new file mode 100644
index 000000000000..2b443a3a487f
@@ -0,0 +1,12 @@
+#ifndef _ASM_RISCV_FENCE_H
+#define _ASM_RISCV_FENCE_H
+
+#ifdef CONFIG_SMP
+#define RISCV_ACQUIRE_BARRIER		"\tfence r , rw\n"
+#define RISCV_RELEASE_BARRIER		"\tfence rw,  w\n"
+#else
+#define RISCV_ACQUIRE_BARRIER
+#define RISCV_RELEASE_BARRIER
+#endif
+
+#endif	/* _ASM_RISCV_FENCE_H */
arch/riscv/include/asm/spinlock.h +15 -14
index 2fd27e8ef1fd..8eb26d1ede81 100644
@@ -17,6 +17,7 @@
 
 #include <linux/kernel.h>
 #include <asm/current.h>
+#include <asm/fence.h>
 
 /*
  * Simple spin lock operations.  These provide no fairness guarantees.
@@ -28,10 +29,7 @@
 
 static inline void arch_spin_unlock(arch_spinlock_t *lock)
 {
-	__asm__ __volatile__ (
-		"amoswap.w.rl x0, x0, %0"
-		: "=A" (lock->lock)
-		:: "memory");
+	smp_store_release(&lock->lock, 0);
 }
 
 static inline int arch_spin_trylock(arch_spinlock_t *lock)
@@ -39,7 +37,8 @@ static inline int arch_spin_trylock(arch_spinlock_t *lock)
 	int tmp = 1, busy;
 
 	__asm__ __volatile__ (
-		"amoswap.w.aq %0, %2, %1"
+		"	amoswap.w %0, %2, %1\n"
+		RISCV_ACQUIRE_BARRIER
 		: "=r" (busy), "+A" (lock->lock)
 		: "r" (tmp)
 		: "memory");
@@ -68,8 +67,9 @@ static inline void arch_read_lock(arch_rwlock_t *lock)
 		"1:	lr.w	%1, %0\n"
 		"	bltz	%1, 1b\n"
 		"	addi	%1, %1, 1\n"
-		"	sc.w.aq	%1, %1, %0\n"
+		"	sc.w	%1, %1, %0\n"
 		"	bnez	%1, 1b\n"
+		RISCV_ACQUIRE_BARRIER
 		: "+A" (lock->lock), "=&r" (tmp)
 		:: "memory");
 }
@@ -82,8 +82,9 @@ static inline void arch_write_lock(arch_rwlock_t *lock)
 		"1:	lr.w	%1, %0\n"
 		"	bnez	%1, 1b\n"
 		"	li	%1, -1\n"
-		"	sc.w.aq	%1, %1, %0\n"
+		"	sc.w	%1, %1, %0\n"
 		"	bnez	%1, 1b\n"
+		RISCV_ACQUIRE_BARRIER
 		: "+A" (lock->lock), "=&r" (tmp)
 		:: "memory");
 }
@@ -96,8 +97,9 @@ static inline int arch_read_trylock(arch_rwlock_t *lock)
 		"1:	lr.w	%1, %0\n"
 		"	bltz	%1, 1f\n"
 		"	addi	%1, %1, 1\n"
-		"	sc.w.aq	%1, %1, %0\n"
+		"	sc.w	%1, %1, %0\n"
 		"	bnez	%1, 1b\n"
+		RISCV_ACQUIRE_BARRIER
 		"1:\n"
 		: "+A" (lock->lock), "=&r" (busy)
 		:: "memory");
@@ -113,8 +115,9 @@ static inline int arch_write_trylock(arch_rwlock_t *lock)
 		"1:	lr.w	%1, %0\n"
 		"	bnez	%1, 1f\n"
 		"	li	%1, -1\n"
-		"	sc.w.aq	%1, %1, %0\n"
+		"	sc.w	%1, %1, %0\n"
 		"	bnez	%1, 1b\n"
+		RISCV_ACQUIRE_BARRIER
 		"1:\n"
 		: "+A" (lock->lock), "=&r" (busy)
 		:: "memory");
@@ -125,7 +128,8 @@ static inline int arch_write_trylock(arch_rwlock_t *lock)
 static inline void arch_read_unlock(arch_rwlock_t *lock)
 {
 	__asm__ __volatile__(
-		"amoadd.w.rl x0, %1, %0"
+		RISCV_RELEASE_BARRIER
+		"	amoadd.w x0, %1, %0\n"
 		: "+A" (lock->lock)
 		: "r" (-1)
 		: "memory");
@@ -133,10 +137,7 @@ static inline void arch_read_unlock(arch_rwlock_t *lock)
 
 static inline void arch_write_unlock(arch_rwlock_t *lock)
 {
-	__asm__ __volatile__ (
-		"amoswap.w.rl x0, x0, %0"
-		: "=A" (lock->lock)
-		:: "memory");
+	smp_store_release(&lock->lock, 0);
 }
 
 #endif /* _ASM_RISCV_SPINLOCK_H */
arch/s390/kvm/vsie.c +1 -1
index 8961e3970901..969882b54266 100644
@@ -578,7 +578,7 @@ static int pin_blocks(struct kvm_vcpu *vcpu, struct vsie_page *vsie_page)
 
 	gpa = READ_ONCE(scb_o->itdba) & ~0xffUL;
 	if (gpa && (scb_s->ecb & ECB_TE)) {
-		if (!(gpa & ~0x1fffU)) {
+		if (!(gpa & ~0x1fffUL)) {
 			rc = set_validity_icpt(scb_s, 0x0080U);
 			goto unpin;
 		}
arch/sh/kernel/entry-common.S +1 -1
index c001f782c5f1..28cc61216b64 100644
@@ -255,7 +255,7 @@ debug_trap:
 	mov.l	@r8, r8
 	jsr	@r8
 	 nop
-	bra	__restore_all
+	bra	ret_from_exception
 	 nop
 	CFI_ENDPROC
 
arch/sparc/include/asm/atomic_64.h +5 -1
index abad97edf736..28db058d471b 100644
@@ -83,7 +83,11 @@ ATOMIC_OPS(xor)
 #define atomic64_add_negative(i, v) (atomic64_add_return(i, v) < 0)
 
 #define atomic_cmpxchg(v, o, n) (cmpxchg(&((v)->counter), (o), (n)))
-#define atomic_xchg(v, new) (xchg(&((v)->counter), new))
+
+static inline int atomic_xchg(atomic_t *v, int new)
+{
+	return xchg(&v->counter, new);
+}
 
 static inline int __atomic_add_unless(atomic_t *v, int a, int u)
 {
arch/x86/events/core.c +6 -9
index 06086439b7bd..70610604c360 100644
@@ -1162,16 +1162,13 @@ int x86_perf_event_set_period(struct perf_event *event)
 
 	per_cpu(pmc_prev_left[idx], smp_processor_id()) = left;
 
-	if (!(hwc->flags & PERF_X86_EVENT_AUTO_RELOAD) ||
-	    local64_read(&hwc->prev_count) != (u64)-left) {
-		/*
-		 * The hw event starts counting from this event offset,
-		 * mark it to be able to extra future deltas:
-		 */
-		local64_set(&hwc->prev_count, (u64)-left);
+	/*
+	 * The hw event starts counting from this event offset,
+	 * mark it to be able to extra future deltas:
+	 */
+	local64_set(&hwc->prev_count, (u64)-left);
 
-		wrmsrl(hwc->event_base, (u64)(-left) & x86_pmu.cntval_mask);
-	}
+	wrmsrl(hwc->event_base, (u64)(-left) & x86_pmu.cntval_mask);
 
 	/*
 	 * Due to erratum on certan cpu we need
arch/x86/events/intel/core.c +10 -2
index 1e41d7508d99..39cd0b36c790 100644
@@ -2201,9 +2201,15 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)
 	int bit, loops;
 	u64 status;
 	int handled;
+	int pmu_enabled;
 
 	cpuc = this_cpu_ptr(&cpu_hw_events);
 
+	/*
+	 * Save the PMU state.
+	 * It needs to be restored when leaving the handler.
+	 */
+	pmu_enabled = cpuc->enabled;
 	/*
 	 * No known reason to not always do late ACK,
 	 * but just in case do it opt-in.
@@ -2211,6 +2217,7 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)
 	if (!x86_pmu.late_ack)
 		apic_write(APIC_LVTPC, APIC_DM_NMI);
 	intel_bts_disable_local();
+	cpuc->enabled = 0;
 	__intel_pmu_disable_all();
 	handled = intel_pmu_drain_bts_buffer();
 	handled += intel_bts_interrupt();
@@ -2320,7 +2327,8 @@ static int intel_pmu_handle_irq(struct pt_regs *regs)
 
 done:
 	/* Only restore PMU state when it's active. See x86_pmu_disable(). */
-	if (cpuc->enabled)
+	cpuc->enabled = pmu_enabled;
+	if (pmu_enabled)
 		__intel_pmu_enable_all(0, true);
 	intel_bts_enable_local();
 
@@ -3188,7 +3196,7 @@ glp_get_event_constraints(struct cpu_hw_events *cpuc, int idx,
  * Therefore the effective (average) period matches the requested period,
  * despite coarser hardware granularity.
  */
-static unsigned bdw_limit_period(struct perf_event *event, unsigned left)
+static u64 bdw_limit_period(struct perf_event *event, u64 left)
 {
 	if ((event->hw.config & INTEL_ARCH_EVENT_MASK) ==
 			X86_CONFIG(.event=0xc0, .umask=0x01)) {
arch/x86/events/intel/ds.c +88 -4

121 lines not on this page · raw message

arch/x86/events/perf_event.h +1 -1
index 39cd0615f04f..5e2ef399ac86 100644
@@ -557,7 +557,7 @@ struct x86_pmu {
 	struct x86_pmu_quirk *quirks;
 	int		perfctr_second_write;
 	bool		late_ack;
-	unsigned	(*limit_period)(struct perf_event *event, unsigned l);
+	u64		(*limit_period)(struct perf_event *event, u64 l);
 
 	/*
 	 * sysfs attrs
arch/x86/include/asm/tlbflush.h +6 -1
index 84137c22fdfa..6690cd3fc8b1 100644
@@ -131,7 +131,12 @@ static inline unsigned long build_cr3(pgd_t *pgd, u16 asid)
 static inline unsigned long build_cr3_noflush(pgd_t *pgd, u16 asid)
 {
 	VM_WARN_ON_ONCE(asid > MAX_ASID_AVAILABLE);
-	VM_WARN_ON_ONCE(!this_cpu_has(X86_FEATURE_PCID));
+	/*
+	 * Use boot_cpu_has() instead of this_cpu_has() as this function
+	 * might be called during early boot. This should work even after
+	 * boot because all CPU's the have same capabilities:
+	 */
+	VM_WARN_ON_ONCE(!boot_cpu_has(X86_FEATURE_PCID));
 	return __sme_pa(pgd) | kern_pcid(asid) | CR3_NOFLUSH;
 }
 
arch/x86/kernel/apic/apic.c +1 -1
index b203af0855b5..5071cc7972ea 100644
@@ -1570,7 +1570,7 @@ void setup_local_APIC(void)
 	 * TODO: set up through-local-APIC from through-I/O-APIC? --macro
 	 */
 	value = apic_read(APIC_LVT0) & APIC_LVT_MASKED;
-	if (!cpu && (pic_mode || !value)) {
+	if (!cpu && (pic_mode || !value || skip_ioapic_setup)) {
 		value = APIC_DM_EXTINT;
 		apic_printk(APIC_VERBOSE, "enabled ExtINT on CPU#%d\n", cpu);
 	} else {
arch/x86/kernel/devicetree.c +13 -8
index 25de5f6ca997..5cd387fcc777 100644
@@ -11,6 +11,7 @@
 #include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/of_irq.h>
+#include <linux/libfdt.h>
 #include <linux/slab.h>
 #include <linux/pci.h>
 #include <linux/of_pci.h>
@@ -194,19 +195,22 @@ static struct of_ioapic_type of_ioapic_type[] =
 static int dt_irqdomain_alloc(struct irq_domain *domain, unsigned int virq,
 			      unsigned int nr_irqs, void *arg)
 {
-	struct of_phandle_args *irq_data = (void *)arg;
+	struct irq_fwspec *fwspec = (struct irq_fwspec *)arg;
 	struct of_ioapic_type *it;
 	struct irq_alloc_info tmp;
+	int type_index;
 
-	if (WARN_ON(irq_data->args_count < 2))
+	if (WARN_ON(fwspec->param_count < 2))
 		return -EINVAL;
-	if (irq_data->args[1] >= ARRAY_SIZE(of_ioapic_type))
+
+	type_index = fwspec->param[1];
+	if (type_index >= ARRAY_SIZE(of_ioapic_type))
 		return -EINVAL;
 
-	it = &of_ioapic_type[irq_data->args[1]];
+	it = &of_ioapic_type[type_index];
 	ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->trigger, it->polarity);
 	tmp.ioapic_id = mpc_ioapic_id(mp_irqdomain_ioapic_idx(domain));
-	tmp.ioapic_pin = irq_data->args[0];
+	tmp.ioapic_pin = fwspec->param[0];
 
 	return mp_irqdomain_alloc(domain, virq, nr_irqs, &tmp);
 }
@@ -270,14 +274,15 @@ static void __init x86_flattree_get_config(void)
 
 	map_len = max(PAGE_SIZE - (initial_dtb & ~PAGE_MASK), (u64)128);
 
-	initial_boot_params = dt = early_memremap(initial_dtb, map_len);
-	size = of_get_flat_dt_size();
+	dt = early_memremap(initial_dtb, map_len);
+	size = fdt_totalsize(dt);
 	if (map_len < size) {
 		early_memunmap(dt, map_len);
-		initial_boot_params = dt = early_memremap(initial_dtb, size);
+		dt = early_memremap(initial_dtb, size);
 		map_len = size;
 	}
 
+	early_init_dt_verify(dt);
 	unflatten_and_copy_device_tree();
 	early_memunmap(dt, map_len);
 }
arch/x86/kvm/cpuid.c +7 -2
index 3f400004f602..752f361ef453 100644
@@ -402,8 +402,8 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 
 	/* cpuid 7.0.edx*/
 	const u32 kvm_cpuid_7_0_edx_x86_features =
-		F(AVX512_4VNNIW) | F(AVX512_4FMAPS) | F(SPEC_CTRL) | F(SSBD) |
-		F(ARCH_CAPABILITIES);
+		F(AVX512_4VNNIW) | F(AVX512_4FMAPS) | F(SPEC_CTRL) |
+		F(SPEC_CTRL_SSBD) | F(ARCH_CAPABILITIES);
 
 	/* all calls to cpuid_count() should be made on the same cpu */
 	get_cpu();
@@ -490,6 +490,11 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
 				entry->ecx &= ~F(PKU);
 			entry->edx &= kvm_cpuid_7_0_edx_x86_features;
 			cpuid_mask(&entry->edx, CPUID_7_EDX);
+			/*
+			 * We emulate ARCH_CAPABILITIES in software even
+			 * if the host doesn't support it.
+			 */
+			entry->edx |= F(ARCH_CAPABILITIES);
 		} else {
 			entry->ebx = 0;
 			entry->ecx = 0;
arch/x86/kvm/lapic.c +23 -3
index 7cf470a3755f..3773c4625114 100644
@@ -321,8 +321,16 @@ void kvm_apic_set_version(struct kvm_vcpu *vcpu)
 	if (!lapic_in_kernel(vcpu))
 		return;
 
+	/*
+	 * KVM emulates 82093AA datasheet (with in-kernel IOAPIC implementation)
+	 * which doesn't have EOI register; Some buggy OSes (e.g. Windows with
+	 * Hyper-V role) disable EOI broadcast in lapic not checking for IOAPIC
+	 * version first and level-triggered interrupts never get EOIed in
+	 * IOAPIC.
+	 */
 	feat = kvm_find_cpuid_entry(apic->vcpu, 0x1, 0);
-	if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC & 31))))
+	if (feat && (feat->ecx & (1 << (X86_FEATURE_X2APIC & 31))) &&
+	    !ioapic_in_kernel(vcpu->kvm))
 		v |= APIC_LVR_DIRECTED_EOI;
 	kvm_lapic_set_reg(apic, APIC_LVR, v);
 }
@@ -1514,11 +1522,23 @@ static bool set_target_expiration(struct kvm_lapic *apic)
 
 static void advance_periodic_target_expiration(struct kvm_lapic *apic)
 {
-	apic->lapic_timer.tscdeadline +=
-		nsec_to_cycles(apic->vcpu, apic->lapic_timer.period);
+	ktime_t now = ktime_get();
+	u64 tscl = rdtsc();
+	ktime_t delta;
+
+	/*
+	 * Synchronize both deadlines to the same time source or
+	 * differences in the periods (caused by differences in the
+	 * underlying clocks or numerical approximation errors) will
+	 * cause the two to drift apart over time as the errors
+	 * accumulate.
+	 */
 	apic->lapic_timer.target_expiration =
 		ktime_add_ns(apic->lapic_timer.target_expiration,
 				apic->lapic_timer.period);
+	delta = ktime_sub(apic->lapic_timer.target_expiration, now);
+	apic->lapic_timer.tscdeadline = kvm_read_l1_tsc(apic->vcpu, tscl) +
+		nsec_to_cycles(apic->vcpu, delta);
 }
 
 static void start_sw_period(struct kvm_lapic *apic)
arch/x86/kvm/vmx.c +14 -6
index 3deb153bf9d9..11e2147c3824 100644
@@ -2561,6 +2561,8 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu)
 		return;
 	}
 
+	WARN_ON_ONCE(vmx->emulation_required);
+
 	if (kvm_exception_is_soft(nr)) {
 		vmcs_write32(VM_ENTRY_INSTRUCTION_LEN,
 			     vmx->vcpu.arch.event_exit_inst_len);
@@ -6854,12 +6856,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
 			goto out;
 		}
 
-		if (err != EMULATE_DONE) {
-			vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
-			vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION;
-			vcpu->run->internal.ndata = 0;
-			return 0;
-		}
+		if (err != EMULATE_DONE)
+			goto emulation_error;
+
+		if (vmx->emulation_required && !vmx->rmode.vm86_active &&
+		    vcpu->arch.exception.pending)
+			goto emulation_error;
 
 		if (vcpu->arch.halt_request) {
 			vcpu->arch.halt_request = 0;
@@ -6875,6 +6877,12 @@ static int handle_invalid_guest_state(struct kvm_vcpu *vcpu)
 
 out:
 	return ret;
+
+emulation_error:
+	vcpu->run->exit_reason = KVM_EXIT_INTERNAL_ERROR;
+	vcpu->run->internal.suberror = KVM_INTERNAL_ERROR_EMULATION;
+	vcpu->run->internal.ndata = 0;
+	return 0;
 }
 
 static int __grow_ple_window(int val)
arch/x86/kvm/x86.c +4 -1
index f3df3a934733..999560ff12b5 100644
@@ -7777,6 +7777,7 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
 {
 	struct msr_data apic_base_msr;
 	int mmu_reset_needed = 0;
+	int cpuid_update_needed = 0;
 	int pending_vec, max_bits, idx;
 	struct desc_ptr dt;
 	int ret = -EINVAL;
@@ -7817,8 +7818,10 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
 	vcpu->arch.cr0 = sregs->cr0;
 
 	mmu_reset_needed |= kvm_read_cr4(vcpu) != sregs->cr4;
+	cpuid_update_needed |= ((kvm_read_cr4(vcpu) ^ sregs->cr4) &
+				(X86_CR4_OSXSAVE | X86_CR4_PKE));
 	kvm_x86_ops->set_cr4(vcpu, sregs->cr4);
-	if (sregs->cr4 & (X86_CR4_OSXSAVE | X86_CR4_PKE))
+	if (cpuid_update_needed)
 		kvm_update_cpuid(vcpu);
 
 	idx = srcu_read_lock(&vcpu->kvm->srcu);
arch/x86/mm/pageattr.c +4 -2
index 85cf12219dea..94c41044a578 100644
@@ -298,9 +298,11 @@ static inline pgprot_t static_protections(pgprot_t prot, unsigned long address,
 
 	/*
 	 * The .rodata section needs to be read-only. Using the pfn
-	 * catches all aliases.
+	 * catches all aliases.  This also includes __ro_after_init,
+	 * so do not enforce until kernel_set_to_readonly is true.
 	 */
-	if (within(pfn, __pa_symbol(__start_rodata) >> PAGE_SHIFT,
+	if (kernel_set_to_readonly &&
+	    within(pfn, __pa_symbol(__start_rodata) >> PAGE_SHIFT,
 		   __pa_symbol(__end_rodata) >> PAGE_SHIFT))
 		pgprot_val(forbidden) |= _PAGE_RW;
 
arch/x86/mm/pgtable.c +9 -0
index 34cda7e0551b..c03c85e4fb6a 100644
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 #include <linux/mm.h>
 #include <linux/gfp.h>
+#include <linux/hugetlb.h>
 #include <asm/pgalloc.h>
 #include <asm/pgtable.h>
 #include <asm/tlb.h>
@@ -636,6 +637,10 @@ int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
 	    (mtrr != MTRR_TYPE_WRBACK))
 		return 0;
 
+	/* Bail out if we are we on a populated non-leaf entry: */
+	if (pud_present(*pud) && !pud_huge(*pud))
+		return 0;
+
 	prot = pgprot_4k_2_large(prot);
 
 	set_pte((pte_t *)pud, pfn_pte(
@@ -664,6 +669,10 @@ int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
 		return 0;
 	}
 
+	/* Bail out if we are we on a populated non-leaf entry: */
+	if (pmd_present(*pmd) && !pmd_huge(*pmd))
+		return 0;
+
 	prot = pgprot_4k_2_large(prot);
 
 	set_pte((pte_t *)pmd, pfn_pte(
drivers/acpi/acpi_pad.c +3 -0
index 754431031282..552c1f725b6c 100644
@@ -110,6 +110,7 @@ static void round_robin_cpu(unsigned int tsk_index)
 		cpumask_andnot(tmp, cpu_online_mask, pad_busy_cpus);
 	if (cpumask_empty(tmp)) {
 		mutex_unlock(&round_robin_lock);
+		free_cpumask_var(tmp);
 		return;
 	}
 	for_each_cpu(cpu, tmp) {
@@ -127,6 +128,8 @@ static void round_robin_cpu(unsigned int tsk_index)
 	mutex_unlock(&round_robin_lock);
 
 	set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu));
+
+	free_cpumask_var(tmp);
 }
 
 static void exit_round_robin(unsigned int tsk_index)
drivers/acpi/acpica/evevent.c +7 -2
index 4b2b0b44a16b..a65c186114eb 100644
@@ -204,6 +204,7 @@ u32 acpi_ev_fixed_event_detect(void)
 	u32 fixed_status;
 	u32 fixed_enable;
 	u32 i;
+	acpi_status status;
 
 	ACPI_FUNCTION_NAME(ev_fixed_event_detect);
 
@@ -211,8 +212,12 @@ u32 acpi_ev_fixed_event_detect(void)
 	 * Read the fixed feature status and enable registers, as all the cases
 	 * depend on their values. Ignore errors here.
 	 */
-	(void)acpi_hw_register_read(ACPI_REGISTER_PM1_STATUS, &fixed_status);
-	(void)acpi_hw_register_read(ACPI_REGISTER_PM1_ENABLE, &fixed_enable);
+	status = acpi_hw_register_read(ACPI_REGISTER_PM1_STATUS, &fixed_status);
+	status |=
+	    acpi_hw_register_read(ACPI_REGISTER_PM1_ENABLE, &fixed_enable);
+	if (ACPI_FAILURE(status)) {
+		return (int_status);
+	}
 
 	ACPI_DEBUG_PRINT((ACPI_DB_INTERRUPTS,
 			  "Fixed Event Block: Enable %08X Status %08X\n",
drivers/acpi/acpica/nseval.c +8 -0
index c2d883b8c45e..a18e61081013 100644
@@ -308,6 +308,14 @@ acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info)
 		/* Map AE_CTRL_RETURN_VALUE to AE_OK, we are done with it */
 
 		status = AE_OK;
+	} else if (ACPI_FAILURE(status)) {
+
+		/* If return_object exists, delete it */
+
+		if (info->return_object) {
+			acpi_ut_remove_reference(info->return_object);
+			info->return_object = NULL;
+		}
 	}
 
 	ACPI_DEBUG_PRINT((ACPI_DB_NAMES,
drivers/acpi/acpica/psargs.c +4 -0
index dbc51bc5fdd6..5ca895da3b10 100644
@@ -890,6 +890,10 @@ acpi_ps_get_next_arg(struct acpi_walk_state *walk_state,
 						      ACPI_POSSIBLE_METHOD_CALL);
 
 			if (arg->common.aml_opcode == AML_INT_METHODCALL_OP) {
+
+				/* Free method call op and corresponding namestring sub-ob */
+
+				acpi_ps_free_op(arg->common.value.arg);
 				acpi_ps_free_op(arg);
 				arg = NULL;
 				walk_state->arg_count = 1;
drivers/ata/ahci.c +1 -0
index 1ff17799769d..1d396b6e6000 100644
@@ -334,6 +334,7 @@ static const struct pci_device_id ahci_pci_tbl[] = {
 	{ PCI_VDEVICE(INTEL, 0x9c07), board_ahci_mobile }, /* Lynx LP RAID */
 	{ PCI_VDEVICE(INTEL, 0x9c0e), board_ahci_mobile }, /* Lynx LP RAID */
 	{ PCI_VDEVICE(INTEL, 0x9c0f), board_ahci_mobile }, /* Lynx LP RAID */
+	{ PCI_VDEVICE(INTEL, 0x9dd3), board_ahci_mobile }, /* Cannon Lake PCH-LP AHCI */
 	{ PCI_VDEVICE(INTEL, 0x1f22), board_ahci }, /* Avoton AHCI */
 	{ PCI_VDEVICE(INTEL, 0x1f23), board_ahci }, /* Avoton AHCI */
 	{ PCI_VDEVICE(INTEL, 0x1f24), board_ahci }, /* Avoton RAID */
drivers/ata/libata-core.c +6 -0
index 0df21f046fc6..d4fb9e0c29ee 100644
@@ -4493,6 +4493,10 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	/* https://bugzilla.kernel.org/show_bug.cgi?id=15573 */
 	{ "C300-CTFDDAC128MAG",	"0001",		ATA_HORKAGE_NONCQ, },
 
+	/* Some Sandisk SSDs lock up hard with NCQ enabled.  Reported on
+	   SD7SN6S256G and SD8SN8U256G */
+	{ "SanDisk SD[78]SN*G",	NULL,		ATA_HORKAGE_NONCQ, },
+
 	/* devices which puke on READ_NATIVE_MAX */
 	{ "HDS724040KLSA80",	"KFAOA20N",	ATA_HORKAGE_BROKEN_HPA, },
 	{ "WDC WD3200JD-00KLB0", "WD-WCAMR1130137", ATA_HORKAGE_BROKEN_HPA },
@@ -4553,6 +4557,8 @@ static const struct ata_blacklist_entry ata_device_blacklist [] = {
 	{ "SanDisk SD7UB3Q*G1001",	NULL,	ATA_HORKAGE_NOLPM, },
 
 	/* devices that don't properly handle queued TRIM commands */
+	{ "Micron_M500IT_*",		"MU01",	ATA_HORKAGE_NO_NCQ_TRIM |
+						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 	{ "Micron_M500_*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
 						ATA_HORKAGE_ZERO_AFTER_TRIM, },
 	{ "Crucial_CT*M500*",		NULL,	ATA_HORKAGE_NO_NCQ_TRIM |
drivers/base/firmware_class.c +9 -3
index 7dd36ace6152..103b5a38ee38 100644
@@ -524,7 +524,7 @@ static int fw_add_devm_name(struct device *dev, const char *name)
 
 	fwn = fw_find_devm_name(dev, name);
 	if (fwn)
-		return 1;
+		return 0;
 
 	fwn = devres_alloc(fw_name_devm_release, sizeof(struct fw_name_devm),
 			   GFP_KERNEL);
@@ -552,6 +552,7 @@ static int assign_fw(struct firmware *fw, struct device *device,
 		     unsigned int opt_flags)
 {
 	struct fw_priv *fw_priv = fw->priv;
+	int ret;
 
 	mutex_lock(&fw_lock);
 	if (!fw_priv->size || fw_state_is_aborted(fw_priv)) {
@@ -568,8 +569,13 @@ static int assign_fw(struct firmware *fw, struct device *device,
 	 */
 	/* don't cache firmware handled without uevent */
 	if (device && (opt_flags & FW_OPT_UEVENT) &&
-	    !(opt_flags & FW_OPT_NOCACHE))
-		fw_add_devm_name(device, fw_priv->fw_name);
+	    !(opt_flags & FW_OPT_NOCACHE)) {
+		ret = fw_add_devm_name(device, fw_priv->fw_name);
+		if (ret) {
+			mutex_unlock(&fw_lock);
+			return ret;
+		}
+	}
 
 	/*
 	 * After caching firmware image is started, let it piggyback
drivers/base/power/main.c +3 -4
index 02a497e7c785..e5e067091572 100644
@@ -1923,10 +1923,8 @@ static int device_prepare(struct device *dev, pm_message_t state)
 
 	dev->power.wakeup_path = false;
 
-	if (dev->power.no_pm_callbacks) {
-		ret = 1;	/* Let device go direct_complete */
+	if (dev->power.no_pm_callbacks)
 		goto unlock;
-	}
 
 	if (dev->pm_domain)
 		callback = dev->pm_domain->ops.prepare;
@@ -1960,7 +1958,8 @@ static int device_prepare(struct device *dev, pm_message_t state)
 	 */
 	spin_lock_irq(&dev->power.lock);
 	dev->power.direct_complete = state.event == PM_EVENT_SUSPEND &&
-		pm_runtime_suspended(dev) && ret > 0 &&
+		((pm_runtime_suspended(dev) && ret > 0) ||
+		 dev->power.no_pm_callbacks) &&
 		!dev_pm_test_driver_flags(dev, DPM_FLAG_NEVER_SKIP);
 	spin_unlock_irq(&dev->power.lock);
 	return 0;
drivers/base/regmap/regmap.c +1 -1
index 453116fd4362..c7b7c5fa73ab 100644
@@ -99,7 +99,7 @@ bool regmap_cached(struct regmap *map, unsigned int reg)
 	int ret;
 	unsigned int val;
 
-	if (map->cache == REGCACHE_NONE)
+	if (map->cache_type == REGCACHE_NONE)
 		return false;
 
 	if (!map->cache_ops)
drivers/bcma/driver_mips.c +1 -1
index f040aba48d50..27e9686b6d3a 100644
@@ -184,7 +184,7 @@ static void bcma_core_mips_print_irq(struct bcma_device *dev, unsigned int irq)
 {
 	int i;
 	static const char *irq_name[] = {"2(S)", "3", "4", "5", "6", "D", "I"};
-	char interrupts[20];
+	char interrupts[25];
 	char *ints = interrupts;
 
 	for (i = 0; i < ARRAY_SIZE(irq_name); i++)
drivers/block/null_blk.c +25 -21

125 lines not on this page · raw message

drivers/block/paride/pcd.c +2 -0
index 7b8c6368beb7..a026211afb51 100644
@@ -230,6 +230,8 @@ static int pcd_block_open(struct block_device *bdev, fmode_t mode)
 	struct pcd_unit *cd = bdev->bd_disk->private_data;
 	int ret;
 
+	check_disk_change(bdev);
+
 	mutex_lock(&pcd_mutex);
 	ret = cdrom_open(&cd->info, bdev, mode);
 	mutex_unlock(&pcd_mutex);
drivers/cdrom/cdrom.c +0 -3
index 5f7d86509f2f..bfc566d3f31a 100644
@@ -1152,9 +1152,6 @@ int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev,
 
 	cd_dbg(CD_OPEN, "entering cdrom_open\n");
 
-	/* open is event synchronization point, check events first */
-	check_disk_change(bdev);
-
 	/* if this was a O_NONBLOCK open and we should honor the flags,
 	 * do a quick open without drive/disc integrity checks. */
 	cdi->use_count++;
drivers/cdrom/gdrom.c +3 -0
index 6495b03f576c..ae3a7537cf0f 100644
@@ -497,6 +497,9 @@ static const struct cdrom_device_ops gdrom_ops = {
 static int gdrom_bdops_open(struct block_device *bdev, fmode_t mode)
 {
 	int ret;
+
+	check_disk_change(bdev);
+
 	mutex_lock(&gdrom_mutex);
 	ret = cdrom_open(gd.cd_info, bdev, mode);
 	mutex_unlock(&gdrom_mutex);
drivers/char/hw_random/bcm2835-rng.c +2 -0
index 7a84cec30c3a..6767d965c36c 100644
@@ -163,6 +163,8 @@ static int bcm2835_rng_probe(struct platform_device *pdev)
 
 	/* Clock is optional on most platforms */
 	priv->clk = devm_clk_get(dev, NULL);
+	if (IS_ERR(priv->clk) && PTR_ERR(priv->clk) == -EPROBE_DEFER)
+		return -EPROBE_DEFER;
 
 	priv->rng.name = pdev->name;
 	priv->rng.init = bcm2835_rng_init;
drivers/char/hw_random/stm32-rng.c +9 -0
index 63d84e6f1891..83c695938a2d 100644
@@ -21,6 +21,7 @@
 #include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/pm_runtime.h>
+#include <linux/reset.h>
 #include <linux/slab.h>
 
 #define RNG_CR 0x00
@@ -46,6 +47,7 @@ struct stm32_rng_private {
 	struct hwrng rng;
 	void __iomem *base;
 	struct clk *clk;
+	struct reset_control *rst;
 };
 
 static int stm32_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
@@ -140,6 +142,13 @@ static int stm32_rng_probe(struct platform_device *ofdev)
 	if (IS_ERR(priv->clk))
 		return PTR_ERR(priv->clk);
 
+	priv->rst = devm_reset_control_get(&ofdev->dev, NULL);
+	if (!IS_ERR(priv->rst)) {
+		reset_control_assert(priv->rst);
+		udelay(2);
+		reset_control_deassert(priv->rst);
+	}
+
 	dev_set_drvdata(dev, priv);
 
 	priv->rng.name = dev_driver_string(dev),
drivers/char/ipmi/ipmi_ssif.c +2 -2
index f929e72bdac8..16d7fb563718 100644
@@ -761,7 +761,7 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result,
 			ssif_info->ssif_state = SSIF_NORMAL;
 			ipmi_ssif_unlock_cond(ssif_info, flags);
 			pr_warn(PFX "Error getting flags: %d %d, %x\n",
-			       result, len, data[2]);
+			       result, len, (len >= 3) ? data[2] : 0);
 		} else if (data[0] != (IPMI_NETFN_APP_REQUEST | 1) << 2
 			   || data[1] != IPMI_GET_MSG_FLAGS_CMD) {
 			/*
@@ -783,7 +783,7 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result,
 		if ((result < 0) || (len < 3) || (data[2] != 0)) {
 			/* Error clearing flags */
 			pr_warn(PFX "Error clearing flags: %d %d, %x\n",
-			       result, len, data[2]);
+			       result, len, (len >= 3) ? data[2] : 0);
 		} else if (data[0] != (IPMI_NETFN_APP_REQUEST | 1) << 2
 			   || data[1] != IPMI_CLEAR_MSG_FLAGS_CMD) {
 			pr_warn(PFX "Invalid response clearing flags: %x %x\n",
drivers/cpufreq/cppc_cpufreq.c +19 -4
index dcb1cb9a4572..8b432d6e846d 100644
@@ -167,9 +167,19 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy)
 		NSEC_PER_USEC;
 	policy->shared_type = cpu->shared_type;
 
-	if (policy->shared_type == CPUFREQ_SHARED_TYPE_ANY)
+	if (policy->shared_type == CPUFREQ_SHARED_TYPE_ANY) {
+		int i;
+
 		cpumask_copy(policy->cpus, cpu->shared_cpu_map);
-	else if (policy->shared_type == CPUFREQ_SHARED_TYPE_ALL) {
+
+		for_each_cpu(i, policy->cpus) {
+			if (unlikely(i == policy->cpu))
+				continue;
+
+			memcpy(&all_cpu_data[i]->perf_caps, &cpu->perf_caps,
+			       sizeof(cpu->perf_caps));
+		}
+	} else if (policy->shared_type == CPUFREQ_SHARED_TYPE_ALL) {
 		/* Support only SW_ANY for now. */
 		pr_debug("Unsupported CPU co-ord type\n");
 		return -EFAULT;
@@ -233,8 +243,13 @@ static int __init cppc_cpufreq_init(void)
 	return ret;
 
 out:
-	for_each_possible_cpu(i)
-		kfree(all_cpu_data[i]);
+	for_each_possible_cpu(i) {
+		cpu = all_cpu_data[i];
+		if (!cpu)
+			break;
+		free_cpumask_var(cpu->shared_cpu_map);
+		kfree(cpu);
+	}
 
 	kfree(all_cpu_data);
 	return -ENODEV;
drivers/cpufreq/cpufreq.c +3 -3
index de33ebf008ad..8814c572e263 100644
@@ -1327,14 +1327,14 @@ static int cpufreq_online(unsigned int cpu)
 	return 0;
 
 out_exit_policy:
+	for_each_cpu(j, policy->real_cpus)
+		remove_cpu_dev_symlink(policy, get_cpu_device(j));
+
 	up_write(&policy->rwsem);
 
 	if (cpufreq_driver->exit)
 		cpufreq_driver->exit(policy);
 
-	for_each_cpu(j, policy->real_cpus)
-		remove_cpu_dev_symlink(policy, get_cpu_device(j));
-
 out_free_policy:
 	cpufreq_policy_free(policy);
 	return ret;
drivers/dma/pl330.c +4 -2
index d7327fd5f445..de1fd59fe136 100644
@@ -1510,7 +1510,7 @@ static void pl330_dotask(unsigned long data)
 /* Returns 1 if state was updated, 0 otherwise */
 static int pl330_update(struct pl330_dmac *pl330)
 {
-	struct dma_pl330_desc *descdone, *tmp;
+	struct dma_pl330_desc *descdone;
 	unsigned long flags;
 	void __iomem *regs;
 	u32 val;
@@ -1588,7 +1588,9 @@ static int pl330_update(struct pl330_dmac *pl330)
 	}
 
 	/* Now that we are in no hurry, do the callbacks */
-	list_for_each_entry_safe(descdone, tmp, &pl330->req_done, rqd) {
+	while (!list_empty(&pl330->req_done)) {
+		descdone = list_first_entry(&pl330->req_done,
+					    struct dma_pl330_desc, rqd);
 		list_del(&descdone->rqd);
 		spin_unlock_irqrestore(&pl330->lock, flags);
 		dma_pl330_rqcb(descdone, PL330_ERR_NONE);
drivers/dma/qcom/bam_dma.c +22 -5
index d076940e0c69..4cc58904ee52 100644
@@ -393,6 +393,7 @@ struct bam_device {
 	struct device_dma_parameters dma_parms;
 	struct bam_chan *channels;
 	u32 num_channels;
+	u32 num_ees;
 
 	/* execution environment ID, from DT */
 	u32 ee;
@@ -1128,15 +1129,19 @@ static int bam_init(struct bam_device *bdev)
 	u32 val;
 
 	/* read revision and configuration information */
-	val = readl_relaxed(bam_addr(bdev, 0, BAM_REVISION)) >> NUM_EES_SHIFT;
-	val &= NUM_EES_MASK;
+	if (!bdev->num_ees) {
+		val = readl_relaxed(bam_addr(bdev, 0, BAM_REVISION));
+		bdev->num_ees = (val >> NUM_EES_SHIFT) & NUM_EES_MASK;
+	}
 
 	/* check that configured EE is within range */
-	if (bdev->ee >= val)
+	if (bdev->ee >= bdev->num_ees)
 		return -EINVAL;
 
-	val = readl_relaxed(bam_addr(bdev, 0, BAM_NUM_PIPES));
-	bdev->num_channels = val & BAM_NUM_PIPES_MASK;
+	if (!bdev->num_channels) {
+		val = readl_relaxed(bam_addr(bdev, 0, BAM_NUM_PIPES));
+		bdev->num_channels = val & BAM_NUM_PIPES_MASK;
+	}
 
 	if (bdev->controlled_remotely)
 		return 0;
@@ -1232,6 +1237,18 @@ static int bam_dma_probe(struct platform_device *pdev)
 	bdev->controlled_remotely = of_property_read_bool(pdev->dev.of_node,
 						"qcom,controlled-remotely");
 
+	if (bdev->controlled_remotely) {
+		ret = of_property_read_u32(pdev->dev.of_node, "num-channels",
+					   &bdev->num_channels);
+		if (ret)
+			dev_err(bdev->dev, "num-channels unspecified in dt\n");
+
+		ret = of_property_read_u32(pdev->dev.of_node, "qcom,num-ees",
+					   &bdev->num_ees);
+		if (ret)
+			dev_err(bdev->dev, "num-ees unspecified in dt\n");
+	}
+
 	bdev->bamclk = devm_clk_get(bdev->dev, "bam_clk");
 	if (IS_ERR(bdev->bamclk))
 		return PTR_ERR(bdev->bamclk);
drivers/dma/sh/rcar-dmac.c +11 -2
index d0cacdb0713e..2a2ccd9c78e4 100644
@@ -1301,8 +1301,17 @@ static unsigned int rcar_dmac_chan_get_residue(struct rcar_dmac_chan *chan,
 	 * If the cookie doesn't correspond to the currently running transfer
 	 * then the descriptor hasn't been processed yet, and the residue is
 	 * equal to the full descriptor size.
+	 * Also, a client driver is possible to call this function before
+	 * rcar_dmac_isr_channel_thread() runs. In this case, the "desc.running"
+	 * will be the next descriptor, and the done list will appear. So, if
+	 * the argument cookie matches the done list's cookie, we can assume
+	 * the residue is zero.
 	 */
 	if (cookie != desc->async_tx.cookie) {
+		list_for_each_entry(desc, &chan->desc.done, node) {
+			if (cookie == desc->async_tx.cookie)
+				return 0;
+		}
 		list_for_each_entry(desc, &chan->desc.pending, node) {
 			if (cookie == desc->async_tx.cookie)
 				return desc->size;
@@ -1677,8 +1686,8 @@ static const struct dev_pm_ops rcar_dmac_pm = {
 	 *   - Wait for the current transfer to complete and stop the device,
 	 *   - Resume transfers, if any.
 	 */
-	SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
-				     pm_runtime_force_resume)
+	SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+				      pm_runtime_force_resume)
 	SET_RUNTIME_PM_OPS(rcar_dmac_runtime_suspend, rcar_dmac_runtime_resume,
 			   NULL)
 };
drivers/firmware/dmi_scan.c +1 -1
index e763e1484331..c3be8ef9243f 100644
@@ -186,7 +186,7 @@ static void __init dmi_save_uuid(const struct dmi_header *dm, int slot,
 	char *s;
 	int is_ff = 1, is_00 = 1, i;
 
-	if (dmi_ident[slot] || dm->length <= index + 16)
+	if (dmi_ident[slot] || dm->length < index + 16)
 		return;
 
 	d = (u8 *) dm + index;
drivers/firmware/efi/arm-runtime.c +3 -0
index 1cc41c3d6315..86a1ad17a32e 100644
@@ -54,6 +54,9 @@ static struct ptdump_info efi_ptdump_info = {
 
 static int __init ptdump_init(void)
 {
+	if (!efi_enabled(EFI_RUNTIME_SERVICES))
+		return 0;
+
 	return ptdump_debugfs_register(&efi_ptdump_info, "efi_page_tables");
 }
 device_initcall(ptdump_init);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +1 -0
index 2a519f9062ee..e515ca01ffb2 100644
@@ -26,6 +26,7 @@
 #define AMDGPU_AMDKFD_H_INCLUDED
 
 #include <linux/types.h>
+#include <linux/mm.h>
 #include <linux/mmu_context.h>
 #include <kgd_kfd_interface.h>
 
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c +32 -1
index a162d87ca0c8..b552a9416e92 100644
@@ -321,14 +321,45 @@ int amdgpu_ib_ring_tests(struct amdgpu_device *adev)
 {
 	unsigned i;
 	int r, ret = 0;
+	long tmo_gfx, tmo_mm;
+
+	tmo_mm = tmo_gfx = AMDGPU_IB_TEST_TIMEOUT;
+	if (amdgpu_sriov_vf(adev)) {
+		/* for MM engines in hypervisor side they are not scheduled together
+		 * with CP and SDMA engines, so even in exclusive mode MM engine could
+		 * still running on other VF thus the IB TEST TIMEOUT for MM engines
+		 * under SR-IOV should be set to a long time. 8 sec should be enough
+		 * for the MM comes back to this VF.
+		 */
+		tmo_mm = 8 * AMDGPU_IB_TEST_TIMEOUT;
+	}
+
+	if (amdgpu_sriov_runtime(adev)) {
+		/* for CP & SDMA engines since they are scheduled together so
+		 * need to make the timeout width enough to cover the time
+		 * cost waiting for it coming back under RUNTIME only
+		*/
+		tmo_gfx = 8 * AMDGPU_IB_TEST_TIMEOUT;
+	}
 
 	for (i = 0; i < AMDGPU_MAX_RINGS; ++i) {
 		struct amdgpu_ring *ring = adev->rings[i];
+		long tmo;
 
 		if (!ring || !ring->ready)
 			continue;
 
-		r = amdgpu_ring_test_ib(ring, AMDGPU_IB_TEST_TIMEOUT);
+		/* MM engine need more time */
+		if (ring->funcs->type == AMDGPU_RING_TYPE_UVD ||
+			ring->funcs->type == AMDGPU_RING_TYPE_VCE ||
+			ring->funcs->type == AMDGPU_RING_TYPE_UVD_ENC ||
+			ring->funcs->type == AMDGPU_RING_TYPE_VCN_DEC ||
+			ring->funcs->type == AMDGPU_RING_TYPE_VCN_ENC)
+			tmo = tmo_mm;
+		else
+			tmo = tmo_gfx;
+
+		r = amdgpu_ring_test_ib(ring, tmo);
 		if (r) {
 			ring->ready = false;
 
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +7 -1
index c06479615e8a..d7bbccd67eb9 100644
@@ -2954,7 +2954,13 @@ static int gfx_v9_0_hw_fini(void *handle)
 		gfx_v9_0_kcq_disable(&adev->gfx.kiq.ring, &adev->gfx.compute_ring[i]);
 
 	if (amdgpu_sriov_vf(adev)) {
-		pr_debug("For SRIOV client, shouldn't do anything.\n");
+		gfx_v9_0_cp_gfx_enable(adev, false);
+		/* must disable polling for SRIOV when hw finished, otherwise
+		 * CPC engine may still keep fetching WB address which is already
+		 * invalid after sw finished and trigger DMAR reading error in
+		 * hypervisor side.
+		 */
+		WREG32_FIELD15(GC, 0, CP_PQ_WPTR_POLL_CNTL, EN, 0);
 		return 0;
 	}
 	gfx_v9_0_cp_enable(adev, false);
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c +5 -2
index fa63c564cf91..7657cc5784a5 100644
@@ -719,14 +719,17 @@ static int sdma_v3_0_gfx_resume(struct amdgpu_device *adev)
 		WREG32(mmSDMA0_GFX_RB_WPTR_POLL_ADDR_HI + sdma_offsets[i],
 		       upper_32_bits(wptr_gpu_addr));
 		wptr_poll_cntl = RREG32(mmSDMA0_GFX_RB_WPTR_POLL_CNTL + sdma_offsets[i]);
-		if (ring->use_pollmem)
+		if (ring->use_pollmem) {
+			/*wptr polling is not enogh fast, directly clean the wptr register */
+			WREG32(mmSDMA0_GFX_RB_WPTR + sdma_offsets[i], 0);
 			wptr_poll_cntl = REG_SET_FIELD(wptr_poll_cntl,
 						       SDMA0_GFX_RB_WPTR_POLL_CNTL,
 						       ENABLE, 1);
-		else
+		} else {
 			wptr_poll_cntl = REG_SET_FIELD(wptr_poll_cntl,
 						       SDMA0_GFX_RB_WPTR_POLL_CNTL,
 						       ENABLE, 0);
+		}
 		WREG32(mmSDMA0_GFX_RB_WPTR_POLL_CNTL + sdma_offsets[i], wptr_poll_cntl);
 
 		/* enable DMA RB */
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +3 -1
index 4d07ffebfd31..6d1dd64f50c3 100644
@@ -35,6 +35,7 @@
 #include "core_types.h"
 #include "set_mode_types.h"
 #include "virtual/virtual_stream_encoder.h"
+#include "dpcd_defs.h"
 
 #include "dce80/dce80_resource.h"
 #include "dce100/dce100_resource.h"
@@ -2428,7 +2429,8 @@ static void set_vsc_info_packet(
 	unsigned int vscPacketRevision = 0;
 	unsigned int i;
 
-	if (stream->sink->link->psr_enabled) {
+	/*VSC packet set to 2 when DP revision >= 1.2*/
+	if (stream->sink->link->dpcd_caps.dpcd_rev.raw >= DPCD_REV_12) {
 		vscPacketRevision = 2;
 	}
 
drivers/gpu/drm/bridge/sii902x.c +16 -4
index b1ab4ab09532..60373d7eb220 100644
@@ -137,7 +137,9 @@ static int sii902x_get_modes(struct drm_connector *connector)
 	struct sii902x *sii902x = connector_to_sii902x(connector);
 	struct regmap *regmap = sii902x->regmap;
 	u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24;
+	struct device *dev = &sii902x->i2c->dev;
 	unsigned long timeout;
+	unsigned int retries;
 	unsigned int status;
 	struct edid *edid;
 	int num = 0;
@@ -159,7 +161,7 @@ static int sii902x_get_modes(struct drm_connector *connector)
 		 time_before(jiffies, timeout));
 
 	if (!(status & SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
-		dev_err(&sii902x->i2c->dev, "failed to acquire the i2c bus\n");
+		dev_err(dev, "failed to acquire the i2c bus\n");
 		return -ETIMEDOUT;
 	}
 
@@ -179,9 +181,19 @@ static int sii902x_get_modes(struct drm_connector *connector)
 	if (ret)
 		return ret;
 
-	ret = regmap_read(regmap, SII902X_SYS_CTRL_DATA, &status);
+	/*
+	 * Sometimes the I2C bus can stall after failure to use the
+	 * EDID channel. Retry a few times to see if things clear
+	 * up, else continue anyway.
+	 */
+	retries = 5;
+	do {
+		ret = regmap_read(regmap, SII902X_SYS_CTRL_DATA,
+				  &status);
+		retries--;
+	} while (ret && retries);
 	if (ret)
-		return ret;
+		dev_err(dev, "failed to read status (%d)\n", ret);
 
 	ret = regmap_update_bits(regmap, SII902X_SYS_CTRL_DATA,
 				 SII902X_SYS_CTRL_DDC_BUS_REQ |
@@ -201,7 +213,7 @@ static int sii902x_get_modes(struct drm_connector *connector)
 
 	if (status & (SII902X_SYS_CTRL_DDC_BUS_REQ |
 		      SII902X_SYS_CTRL_DDC_BUS_GRTD)) {
-		dev_err(&sii902x->i2c->dev, "failed to release the i2c bus\n");
+		dev_err(dev, "failed to release the i2c bus\n");
 		return -ETIMEDOUT;
 	}
 
drivers/gpu/drm/drm_vblank.c +4 -4
index 32d9bcf5be7f..f0d3ed5f2528 100644
@@ -271,7 +271,7 @@ static void drm_update_vblank_count(struct drm_device *dev, unsigned int pipe,
 	store_vblank(dev, pipe, diff, t_vblank, cur_vblank);
 }
 
-static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe)
+static u64 drm_vblank_count(struct drm_device *dev, unsigned int pipe)
 {
 	struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
 
@@ -292,11 +292,11 @@ static u32 drm_vblank_count(struct drm_device *dev, unsigned int pipe)
  * This is mostly useful for hardware that can obtain the scanout position, but
  * doesn't have a hardware frame counter.
  */
-u32 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc)
+u64 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc)
 {
 	struct drm_device *dev = crtc->dev;
 	unsigned int pipe = drm_crtc_index(crtc);
-	u32 vblank;
+	u64 vblank;
 	unsigned long flags;
 
 	WARN_ONCE(drm_debug & DRM_UT_VBL && !dev->driver->get_vblank_timestamp,
@@ -1055,7 +1055,7 @@ void drm_wait_one_vblank(struct drm_device *dev, unsigned int pipe)
 {
 	struct drm_vblank_crtc *vblank = &dev->vblank[pipe];
 	int ret;
-	u32 last;
+	u64 last;
 
 	if (WARN_ON(pipe >= dev->num_crtcs))
 		return;
drivers/gpu/drm/meson/meson_drv.c +20 -9
index f9ad0e960263..2751b9107fc5 100644
@@ -189,40 +189,51 @@ static int meson_drv_bind_master(struct device *dev, bool has_components)
 
 	res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "vpu");
 	regs = devm_ioremap_resource(dev, res);
-	if (IS_ERR(regs))
-		return PTR_ERR(regs);
+	if (IS_ERR(regs)) {
+		ret = PTR_ERR(regs);
+		goto free_drm;
+	}
 
 	priv->io_base = regs;
 
 	res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "hhi");
 	/* Simply ioremap since it may be a shared register zone */
 	regs = devm_ioremap(dev, res->start, resource_size(res));
-	if (!regs)
-		return -EADDRNOTAVAIL;
+	if (!regs) {
+		ret = -EADDRNOTAVAIL;
+		goto free_drm;
+	}
 
 	priv->hhi = devm_regmap_init_mmio(dev, regs,
 					  &meson_regmap_config);
 	if (IS_ERR(priv->hhi)) {
 		dev_err(&pdev->dev, "Couldn't create the HHI regmap\n");
-		return PTR_ERR(priv->hhi);
+		ret = PTR_ERR(priv->hhi);
+		goto free_drm;
 	}
 
 	res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "dmc");
 	/* Simply ioremap since it may be a shared register zone */
 	regs = devm_ioremap(dev, res->start, resource_size(res));
-	if (!regs)
-		return -EADDRNOTAVAIL;
+	if (!regs) {
+		ret = -EADDRNOTAVAIL;
+		goto free_drm;
+	}
 
 	priv->dmc = devm_regmap_init_mmio(dev, regs,
 					  &meson_regmap_config);
 	if (IS_ERR(priv->dmc)) {
 		dev_err(&pdev->dev, "Couldn't create the DMC regmap\n");
-		return PTR_ERR(priv->dmc);
+		ret = PTR_ERR(priv->dmc);
+		goto free_drm;
 	}
 
 	priv->vsync_irq = platform_get_irq(pdev, 0);
 
-	drm_vblank_init(drm, 1);
+	ret = drm_vblank_init(drm, 1);
+	if (ret)
+		goto free_drm;
+
 	drm_mode_config_init(drm);
 	drm->mode_config.max_width = 3840;
 	drm->mode_config.max_height = 2160;
drivers/gpu/drm/omapdrm/dss/dss.c +104 -89

211 lines not on this page · raw message

drivers/gpu/drm/panel/panel-simple.c +1 -1
index 5591984a392b..f9649bded63f 100644

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

drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c +11 -7
index 12d22f3db1af..6a4b8c98a719 100644

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

drivers/gpu/drm/rockchip/rockchip_drm_gem.c +6 -1
index 1d9655576b6e..6bf2f8289847 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_msg.h +17 -8
index 557a033fb610..8545488aa0cf 100644

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

drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +23 -8
index 3ec9eae831b8..f9413c0199f0 100644

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

drivers/hwmon/nct6775.c +5 -5
index c219e43b8f02..f5f3f8cf57ea 100644

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

drivers/hwmon/pmbus/adm1275.c +2 -2
index 00d6995af4c2..8a44e94d5679 100644

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

drivers/hwmon/pmbus/max8688.c +1 -1
index dd4883a19045..e951f9b87abb 100644

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

drivers/hwtracing/coresight/coresight-cpu-debug.c +1 -1
index 6ea62c62ff27..9cdb3fbc8c1f 100644

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

drivers/hwtracing/intel_th/core.c +1 -1
index 1a023e30488c..c1793313bb08 100644

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

drivers/i2c/busses/i2c-mv64xxx.c +6 -2
index 440fe4a96e68..a5a95ea5b81a 100644

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

drivers/ide/ide-cd.c +2 -0
index 7c3ed7c9af77..5613cc2d51fc 100644

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

drivers/infiniband/core/multicast.c +12 -14
index 45f2f095f793..4eb72ff539fc 100644

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

drivers/infiniband/core/umem.c +1 -6
index 9a4e899d94b3..2b6c9b516070 100644

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

drivers/infiniband/hw/hfi1/chip.c +4 -0
index e6a60fa59f2b..e6bdd0c1e80a 100644

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

drivers/infiniband/hw/mlx5/main.c +3 -0
index 0881f7907848..c14ed9cc9c9e 100644

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

drivers/infiniband/sw/rxe/rxe_verbs.c +1 -1
index 45594091353c..7ef21fa2c3f0 100644

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

drivers/iommu/amd_iommu.c +2 -0
index 74788fdeb773..8b591c192daf 100644

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

drivers/iommu/mtk_iommu.c +10 -5
index f227d73e7bf6..f2832a10fcea 100644

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

drivers/iommu/mtk_iommu.h +1 -0
index b4451a1c7c2f..778498b8633f 100644

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

drivers/macintosh/rack-meter.c +2 -2
index 910b5b6f96b1..eb65b6e78d57 100644

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

drivers/md/bcache/bcache.h +5 -4
index 12e5197f186c..b5ddb848cd31 100644

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

drivers/md/bcache/super.c +34 -5
index f2273143b3cb..432088adc497 100644

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

drivers/md/bcache/sysfs.c +2 -1
index 78cd7bd50fdd..55673508628f 100644

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

drivers/md/bcache/writeback.c +53 -7

60 lines not on this page · raw message

drivers/md/bcache/writeback.h +0 -2
index 587b25599856..0bba8f1c6cdf 100644

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

drivers/misc/cxl/cxl.h +4 -0
index 4f015da78f28..4949b8d5a748 100644

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

drivers/misc/cxl/native.c +10 -1
index 1b3d7c65ea3f..98f867fcef24 100644

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

drivers/misc/cxl/pci.c +13 -6
index 758842f65a1b..61de57292e40 100644

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

drivers/mmc/core/block.c +1 -1
index 9c6f639d8a57..81501ebd5b26 100644

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

drivers/mmc/host/sdhci-iproc.c +26 -7
index 61666d269771..0cfbdb3ab68a 100644

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

drivers/net/ethernet/broadcom/bgmac.c +2 -1
index 8eef9fb6b1fe..ad8195b0d161 100644

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

drivers/net/ethernet/broadcom/bgmac.h +3 -3
index 4040d846da8e..40d02fec2747 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +6 -2
index 9442605f4fd4..0b71d3b44933 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c +3 -1
index 65c2cee35766..9d8aa96044d3 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +8 -3
index 61022b5f6743..57dcb957f27c 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +1 -0
index 6b5fea4532f3..2d827140a475 100644

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

drivers/net/ethernet/cisco/enic/enic_main.c +7 -3
index f202ba72a811..b91109d967fa 100644

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

drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +13 -10
index e4ec32a9ca15..3615e5f148dd 100644

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

drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c +1 -1
index faea674094b9..85306d1b2acf 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +1 -1
index 601b6295d3f8..9f6a6a1640d6 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +2 -2
index b034c7f24eda..a1e53c671944 100644

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

drivers/net/ethernet/ibm/ibmvnic.c +17 -13
index 1b3cc8bb0705..fd8e6937ee00 100644

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

drivers/net/ethernet/intel/i40e/i40e_main.c +28 -2
index e31adbc75f9c..e50d703d7353 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +2 -1
index 9fc063af233c..85369423452d 100644

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

drivers/net/ethernet/mellanox/mlx5/core/cmd.c +1 -1
index e9a1fbcc4adf..3efe45bc2471 100644

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

drivers/net/ethernet/mellanox/mlx5/core/en_main.c +34 -27

61 lines not on this page · raw message

drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c +2 -0
index c4949183eef3..3881de91015e 100644

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

drivers/net/ethernet/renesas/sh_eth.c +5 -1
index 14c839bb09e7..7c9235c9d081 100644

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

drivers/net/ethernet/renesas/sh_eth.h +1 -0
index e5fe70134690..fdd6d71c03d1 100644

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

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +14 -2
index 3ea343b45d93..8044563453f9 100644

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

drivers/net/hyperv/netvsc.c +6 -2
index 7472172823f3..11209e494502 100644

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

drivers/net/hyperv/netvsc_drv.c +1 -1
index 4774766fe20d..2a7752c113df 100644

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

drivers/net/hyperv/rndis_filter.c +2 -2
index 95846f0321f3..33138e4f0b5a 100644

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

drivers/net/ieee802154/ca8210.c +11 -3
index 377af43b81b3..58299fb666ed 100644

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

drivers/net/phy/dp83640.c +18 -0
index 654f42d00092..a6c87793d899 100644

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

drivers/net/usb/lan78xx.c +18 -16
index 32cf21716f19..145bb7cbf5b2 100644

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

drivers/net/virtio_net.c +1 -1
index aa21b2225679..16b0c7db431b 100644

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

drivers/net/wireless/ath/ath10k/mac.c +12 -0
index 800a86e2d671..2d7ef7460780 100644

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

drivers/net/wireless/ath/ath9k/common-spectral.c +7 -5
index 5e77fe1f5b0d..a41bcbda1d9e 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c +5 -1
index 55d1274c6092..fb5745660509 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/utils.c +9 -2
index d65e1db7c097..70f8b8eb6117 100644

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

drivers/net/wireless/mediatek/mt76/mt76x2_main.c +11 -0
index 205043b470b2..7d4e308ee6a7 100644

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

drivers/net/wireless/mediatek/mt76/mt76x2_tx.c +4 -1
index 534e4bf9a34c..e46eafc4c436 100644

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

drivers/net/wireless/rsi/rsi_91x_sdio.c +21 -11
index b0cf41195051..96fc3c84d7d2 100644

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

drivers/net/wireless/rsi/rsi_sdio.h +2 -0
index 49c549ba6682..34242d84bd7b 100644

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

drivers/nvme/host/core.c +12 -5
index f81773570dfd..f5259912f049 100644

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

drivers/nvme/host/fabrics.c +82 -1

83 lines not on this page · raw message

drivers/nvme/host/fabrics.h +2 -31
index a3145d90c1d2..ef46c915b7b5 100644

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

drivers/nvme/host/fc.c +7 -10
index 1dc1387b7134..6044f891c3ce 100644

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

drivers/nvme/host/nvme.h +1 -0
index 013380641ddf..0133f3d2ce94 100644

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

drivers/nvme/host/pci.c +5 -2
index f6648610d153..dba797b57d73 100644

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

drivers/nvme/host/rdma.c +2 -12
index 4d84a73ee12d..02dd232951b9 100644

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

drivers/nvme/target/loop.c +2 -9
index 861d1509b22b..e10987f87603 100644

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

drivers/parisc/lba_pci.c +19 -1
index 41b740aed3a3..69bd98421eb1 100644

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

drivers/pci/pci-driver.c +11 -6
index eede34e5ada2..98da1e137071 100644

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

drivers/pci/quirks.c +3 -0
index 81241f981ad7..88598dbdc1b0 100644

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

drivers/pcmcia/cs.c +7 -3
index c3b615c94b4b..8c8caec3a72c 100644

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

drivers/pcmcia/cs_internal.h +1 -0
index 6765beadea95..03ec43802909 100644

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

drivers/phy/qualcomm/phy-qcom-qmp.c +2 -2
index e17f0351ccc2..2526971f9929 100644

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

drivers/phy/rockchip/phy-rockchip-emmc.c +17 -10
index f1b24f18e9b2..b0d10934413f 100644

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

drivers/pinctrl/devicetree.c +4 -2
index 1ff6c3573493..b601039d6c69 100644

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

drivers/pinctrl/pinctrl-mcp23s08.c +26 -11
index 644c5beb05cb..e86d23279ac1 100644

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

drivers/pinctrl/qcom/pinctrl-msm.c +1 -1
index 495432f3341b..95e5c5ea40af 100644

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

drivers/pinctrl/sh-pfc/pfc-r8a7796.c +20 -20
index e5807d1ce0dc..74ee48303156 100644

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

drivers/platform/x86/dell-smbios-base.c +2 -2
index 2485c80a9fdd..33fb2a20458a 100644

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

drivers/power/supply/ltc2941-battery-gauge.c +4 -4
index 4cfa3f0cd689..cc7c516bb417 100644

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

drivers/power/supply/max17042_battery.c +1 -0
index 35dde81b1c9b..1a568df383db 100644

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

drivers/regulator/gpio-regulator.c +7 -9
index 0fce06acfaec..a2eb50719c7b 100644

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

drivers/regulator/of_regulator.c +1 -0
index 092ed6efb3ec..f47264fa1940 100644

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

drivers/remoteproc/imx_rproc.c +4 -2
index 633268e9d550..05bcbce2013a 100644

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

drivers/s390/cio/vfio_ccw_fsm.c +5 -0
index e96b85579f21..3c800642134e 100644

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

drivers/scsi/sr.c +17 -4
index 9be34d37c356..3f3cb72e0c0c 100644

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

drivers/scsi/sr_ioctl.c +8 -2
index 2a21f2d48592..35fab1e18adc 100644

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

drivers/soc/amlogic/meson-gx-pwrc-vpu.c +5 -1
index 2bdeebc48901..2625ef06c10e 100644

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

drivers/soc/qcom/wcnss_ctrl.c +1 -1
index d008e5b82db4..df3ccb30bc2d 100644

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

drivers/soc/renesas/r8a77970-sysc.c +6 -6
index 8c614164718e..caf894f193ed 100644

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

drivers/spi/spi-bcm-qspi.c +2 -2
index ff01f865a173..6573152ce893 100644

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

drivers/watchdog/asm9260_wdt.c +4 -4
index 7dd0da644a7f..2cf56b459d84 100644

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

drivers/watchdog/aspeed_wdt.c +10 -3
index ca5b91e2eb92..a5b8eb21201f 100644

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

drivers/watchdog/davinci_wdt.c +11 -4
index 3e4c592c239f..6c6594261cb7 100644

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

drivers/watchdog/dw_wdt.c +15 -8
index c2f4ff516230..918357bccf5e 100644

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

drivers/watchdog/sprd_wdt.c +3 -1
index a8b280ff33e0..b4d484a42b70 100644

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

drivers/xen/swiotlb-xen.c +1 -1
index 5bb72d3f8337..3530a196d959 100644

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

drivers/xen/xen-acpi-processor.c +3 -3
index 23e391d3ec01..22863f5f2474 100644

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

drivers/zorro/zorro.c +12 -0
index cc1b1ac57d61..47728477297e 100644

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

fs/affs/namei.c +7 -3
index d8aa0ae3d037..1ed0fa4c4d48 100644

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

fs/aio.c +2 -2
index 6bcd3fb5265a..63c0437ab135 100644

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

fs/btrfs/dev-replace.c +1 -1
index 7efbc4d1128b..f5247ad86970 100644

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

fs/btrfs/disk-io.c +3 -2
index fea78d138073..02e39a7f22ec 100644

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

fs/btrfs/extent-tree.c +1 -0
index 53ddfafa440b..b45b840c2217 100644

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

fs/btrfs/inode.c +6 -13
index f370bdc126b8..8b031f40a2f5 100644

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

fs/btrfs/tests/qgroup-tests.c +1 -1
index 90204b166643..160eb2fba726 100644

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

fs/btrfs/transaction.c +9 -1
index 04f07144b45c..c070ce7fecc6 100644

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

fs/btrfs/tree-log.c +67 -8

75 lines not on this page · raw message

fs/dcache.c +22 -0
index 8945e6cabd93..06463b780e57 100644

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

fs/ecryptfs/inode.c +1 -2
index 847904aa63a9..7bba8f2693b2 100644

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

fs/ext2/namei.c +2 -4
index e078075dc66f..aa6ec191cac0 100644

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

fs/ext4/namei.c +2 -4
index b1f21e3a0763..4a09063ce1d2 100644

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

fs/ext4/super.c +12 -0
index b8dace7abe09..4c4ff4b3593c 100644

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

fs/f2fs/checkpoint.c +48 -23

71 lines not on this page · raw message

fs/f2fs/extent_cache.c +3 -0
index ff2352a0ed15..aff6c2ed1c02 100644

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

fs/f2fs/file.c +6 -2
index 672a542e5464..c59b7888d356 100644

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

fs/f2fs/namei.c +4 -8
index b68e7b03959f..860c9dd4bb42 100644

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

fs/fscache/page.c +9 -4
index 961029e04027..da2fb58f2ecb 100644

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

fs/gfs2/bmap.c +9 -1
index 51f940e76c5e..de28800691c6 100644

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

fs/gfs2/file.c +3 -2
index 4f88e201b3f0..2edd3a9a7b79 100644

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

fs/gfs2/quota.h +2 -0
index 5e47c935a515..836f29480be6 100644

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

fs/jffs2/dir.c +4 -8
index 0a754f38462e..e5a6deb38e1e 100644

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

fs/jfs/namei.c +4 -8
index b41596d71858..56c3fcbfe80e 100644

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

fs/nilfs2/namei.c +2 -4
index 1a2894aa0194..dd52d3f82e8d 100644

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

fs/ocfs2/dlm/dlmdomain.c +0 -14
index e1fea149f50b..25b76f0d082b 100644

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

fs/ocfs2/dlm/dlmdomain.h +24 -1
index fd6122a38dbd..8a9281411c18 100644

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

fs/ocfs2/dlm/dlmrecovery.c +9 -0
index ec8f75813beb..505ab4281f36 100644

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

fs/orangefs/namei.c +3 -6
index 6e3134e6d98a..1b5707c44c3f 100644

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

fs/proc/proc_sysctl.c +3 -0
index c41ab261397d..7da10e595297 100644

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

fs/reiserfs/namei.c +4 -8
index bd39a998843d..5089dac02660 100644

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

fs/super.c +24 -6
index afbf4d220c27..f25717f9b691 100644

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

fs/udf/namei.c +2 -4
index 0458dd47e105..c586026508db 100644

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

fs/udf/super.c +3 -2
index f73239a9a97d..8e5d6d29b6cf 100644

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

fs/ufs/namei.c +2 -4
index 32545cd00ceb..d5f43ba76c59 100644

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

fs/xfs/xfs_discard.c +7 -7
index b2cde5426182..7b68e6c9a474 100644

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

include/drm/drm_vblank.h +1 -1
index 848b463a0af5..a4c3b0a0a197 100644

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

include/linux/dcache.h +1 -0
index 82a99d366aec..9e9bc9f33c03 100644

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

include/rdma/ib_umem.h +0 -1
index 23159dd5be18..a1fd63871d17 100644

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

ipc/shm.c +11 -8
index f68420b1ad93..61b477e48e9b 100644

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

kernel/audit.c +2 -0
index 227db99b0f19..bc169f2a4766 100644

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

kernel/debug/kdb/kdb_main.c +21 -6
index dbb0781a0533..90327d7cfe24 100644

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

kernel/events/core.c +37 -12

49 lines not on this page · raw message

kernel/irq/affinity.c +8 -7
index a37a3b4b6342..e0665549af59 100644

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

kernel/rcu/tree_plugin.h +13 -1
index fb88a028deec..1973e8d44250 100644

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

kernel/sched/rt.c +2 -0
index aad49451584e..84bf1a24a55a 100644

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

kernel/sys.c +2 -0
index 9afc4cb5acf5..de3143bbcd74 100644

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

lib/radix-tree.c +3 -1
index a7705b0f139c..25f13dc22997 100644

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

lib/test_kasan.c +8 -0
index 98854a64b014..ec657105edbf 100644

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

mm/kasan/kasan.c +63 -3

66 lines not on this page · raw message

mm/ksm.c +28 -0
index 2d6b35234926..d5f37b26e695 100644

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

mm/page_idle.c +8 -4
index 0a49374e6931..e412a63b2b74 100644

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

mm/slub.c +34 -23

57 lines not on this page · raw message

mm/swapfile.c +4 -0
index c7a33717d079..a134d1e86795 100644

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

mm/vmscan.c +7 -1
index f6a1587f9f31..a47621fa8496 100644

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

mm/z3fold.c +7 -2
index 36d31d3593e1..95c9e90f8fda 100644

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

net/netlabel/netlabel_unlabeled.c +10 -0
index 22dc1b9d6362..c070dfc0190a 100644

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

net/rxrpc/call_event.c +1 -1
index ad2ab1103189..67b6f2428d46 100644

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

net/rxrpc/input.c +9 -6
index 6fc61400337f..34db634594c4 100644

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

net/rxrpc/sendmsg.c +3 -1
index 09f2a3e05221..7a94ce92ffdc 100644

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

net/smc/smc_ib.c +9 -1
index 2a8957bd6d38..26df554f7588 100644

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

net/smc/smc_wr.h +0 -1
index ef0c3494c9cb..210bec3c3ebe 100644

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

security/integrity/ima/Kconfig +1 -0
index 35ef69312811..6a8f67714c83 100644

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

security/integrity/ima/ima_crypto.c +2 -0
index 205bc69361ea..4e085a17124f 100644

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

security/integrity/ima/ima_main.c +13 -0
index 2cfb0c714967..c678d3801a61 100644

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

security/integrity/ima/ima_policy.c +1 -1
index 915f5572c6ff..f3508e6db5f7 100644

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

security/selinux/hooks.c +16 -4
index 8644d864e3c1..3d40fd252780 100644

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

sound/core/timer.c +2 -2
index dc87728c5b74..0ddcae495838 100644

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

sound/core/vmaster.c +4 -1
index 8632301489fa..b67de2bb06a2 100644

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

tools/hv/hv_fcopy_daemon.c +2 -1
index 457a1521f32f..785f4e95148c 100644

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

tools/hv/hv_vss_daemon.c +1 -0
index b2b4ebffab8c..34031a297f02 100644

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

tools/perf/Makefile.perf +2 -1
index 012328038594..b100e4d8f9fb 100644

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

tools/perf/builtin-stat.c +7 -2
index 54a4c152edb3..9204cdfed73d 100644

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

tools/perf/builtin-top.c +4 -2
index 35ac016fcb98..fd6e238b5cc8 100644

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

tools/perf/tests/dwarf-unwind.c +30 -16

46 lines not on this page · raw message

tools/perf/tests/shell/trace+probe_libc_inet_pton.sh +3 -3
index c446c894b297..8c4ab0b390c0 100755

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

tools/perf/tests/vmlinux-kallsyms.c +1 -1
index f6789fb029d6..884cad122acf 100644

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

tools/perf/ui/browsers/annotate.c +7 -2
index fbf927cf775d..6ff6839558b0 100644

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

tools/perf/util/c++/clang.cpp +10 -1
index 1bfc946e37dc..bf31ceab33bd 100644

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

tools/perf/util/hist.c +1 -3
index b6140950301e..44a8456cea10 100644

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

tools/perf/util/hist.h +0 -1
index 02721b579746..e869cad4d89f 100644

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

tools/perf/util/mmap.c +6 -0
index 91531a7c8fbf..0bda6dfd5b96 100644

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

tools/testing/radix-tree/idr-test.c +7 -0
index 6c645eb77d42..ee820fcc29b0 100644

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

tools/testing/selftests/Makefile +1 -0
index 7442dfb73b7f..0fbe778efd5f 100644

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

tools/testing/selftests/net/fib-onlink-tests.sh new file +375 -0

375 lines not on this page · raw message

tools/testing/selftests/net/psock_fanout.c +2 -1
index 989f917068d1..d4346b16b2c1 100644

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

tools/thermal/tmon/sysfs.c +7 -5
index 1c12536f2081..18f523557983 100644

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

tools/thermal/tmon/tmon.c +0 -1
index 9aa19652e8e8..b43138f8b862 100644

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

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.