Skip to contentSkip to conversation

Linux 5.4.25

DISCUSSION Greg KH 1 participant 2 messages Mar 12, 2020 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 5.4.25 kernel.

All users of the 5.4 kernel series must upgrade.

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

thanks,

greg k-h

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

 Makefile                                                     |    2 
 arch/arm/boot/dts/am437x-idk-evm.dts                         |    4 
 arch/arm/boot/dts/dra76x.dtsi                                |    5 
 arch/arm/boot/dts/dra7xx-clocks.dtsi                         |   12 
 arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi            |    1 
 arch/arm/boot/dts/imx7-colibri.dtsi                          |    1 
 arch/arm/boot/dts/ls1021a.dtsi                               |    4 
 arch/arm/mach-imx/Makefile                                   |    2 
 arch/arm/mach-imx/common.h                                   |    4 
 arch/arm/mach-imx/resume-imx6.S                              |   24 +
 arch/arm/mach-imx/suspend-imx6.S                             |   14 -
 arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts        |    2 
 arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts             |    1 
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts                |    5 
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi                |    6 
 arch/csky/Kconfig                                            |    3 
 arch/csky/abiv1/inc/abi/entry.h                              |   19 +
 arch/csky/abiv2/inc/abi/entry.h                              |   11 
 arch/csky/include/uapi/asm/unistd.h                          |    3 
 arch/csky/kernel/atomic.S                                    |    8 
 arch/csky/kernel/process.c                                   |    7 
 arch/csky/kernel/smp.c                                       |    2 
 arch/csky/mm/Makefile                                        |    2 
 arch/csky/mm/init.c                                          |    1 
 arch/powerpc/include/asm/cache.h                             |   55 ++-
 arch/powerpc/include/asm/cacheflush.h                        |   36 +-
 arch/powerpc/kernel/cputable.c                               |    4 
 arch/powerpc/kernel/misc_32.S                                |  120 --------
 arch/powerpc/kernel/misc_64.S                                |  102 -------
 arch/powerpc/mm/mem.c                                        |  152 ++++++++++-
 arch/s390/Makefile                                           |    2 
 arch/s390/boot/Makefile                                      |    2 
 arch/s390/include/asm/pgtable.h                              |    6 
 arch/s390/include/asm/qdio.h                                 |    2 
 arch/s390/pci/pci.c                                          |    4 
 arch/x86/boot/compressed/kaslr_64.c                          |    3 
 arch/x86/kernel/cpu/common.c                                 |    2 
 arch/x86/platform/efi/efi_64.c                               |   70 +++--
 arch/x86/xen/enlighten_pv.c                                  |    7 
 block/bfq-cgroup.c                                           |   14 -
 block/bfq-iosched.c                                          |   10 
 block/bfq-iosched.h                                          |    2 
 block/bfq-wf2q.c                                             |   12 
 drivers/android/binder.c                                     |    9 
 drivers/android/binder_internal.h                            |    2 
 drivers/android/binderfs.c                                   |    7 
 drivers/bus/ti-sysc.c                                        |    4 
 drivers/dma-buf/dma-buf.c                                    |    1 
 drivers/dma/coh901318.c                                      |    4 
 drivers/dma/imx-sdma.c                                       |    5 
 drivers/dma/tegra20-apb-dma.c                                |    6 
 drivers/edac/synopsys_edac.c                                 |   22 -
 drivers/firmware/efi/efi.c                                   |    4 
 drivers/firmware/imx/imx-scu.c                               |   27 +
 drivers/firmware/imx/misc.c                                  |    8 
 drivers/firmware/imx/scu-pd.c                                |    2 
 drivers/gpu/drm/drm_client_modeset.c                         |    3 
 drivers/gpu/drm/drm_modes.c                                  |    7 
 drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h              |    1 
 drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c              |   20 -
 drivers/gpu/drm/i915/display/intel_display_power.c           |   16 -
 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c           |    2 
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c                    |    4 
 drivers/gpu/drm/msm/dsi/dsi_manager.c                        |    7 
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c                        |    4 
 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c                   |    6 
 drivers/gpu/drm/panfrost/panfrost_mmu.c                      |   44 +--
 drivers/gpu/drm/selftests/drm_cmdline_selftests.h            |    1 
 drivers/gpu/drm/selftests/test-drm_cmdline_parser.c          |   15 -
 drivers/gpu/drm/sun4i/sun8i_mixer.c                          |  104 ++++++-
 drivers/gpu/drm/sun4i/sun8i_mixer.h                          |   11 
 drivers/gpu/drm/sun4i/sun8i_vi_layer.c                       |   66 ++++
 drivers/gpu/drm/virtio/virtgpu_object.c                      |   46 +--
 drivers/hwmon/adt7462.c                                      |    2 
 drivers/infiniband/core/cm.c                                 |    1 
 drivers/infiniband/core/cma.c                                |   15 -
 drivers/infiniband/core/core_priv.h                          |   15 +
 drivers/infiniband/core/iwcm.c                               |    4 
 drivers/infiniband/core/nldev.c                              |    2 
 drivers/infiniband/core/rw.c                                 |   31 +-
 drivers/infiniband/core/security.c                           |   14 -
 drivers/infiniband/core/uverbs_cmd.c                         |   10 
 drivers/infiniband/core/verbs.c                              |   10 
 drivers/infiniband/hw/hfi1/verbs.c                           |    4 
 drivers/infiniband/hw/qib/qib_verbs.c                        |    2 
 drivers/infiniband/sw/siw/siw_main.c                         |    6 
 drivers/iommu/amd_iommu_init.c                               |   13 
 drivers/md/dm-cache-target.c                                 |    4 
 drivers/md/dm-integrity.c                                    |   50 ++-
 drivers/md/dm-thin-metadata.c                                |    2 
 drivers/md/dm-writecache.c                                   |   14 -
 drivers/md/dm-zoned-target.c                                 |    8 
 drivers/md/dm.c                                              |   22 -
 drivers/media/mc/mc-entity.c                                 |    4 
 drivers/media/platform/vicodec/codec-v4l2-fwht.c             |   34 --
 drivers/media/v4l2-core/v4l2-mem2mem.c                       |    4 
 drivers/misc/habanalabs/device.c                             |    5 
 drivers/misc/habanalabs/goya/goya.c                          |   44 +++
 drivers/net/dsa/bcm_sf2.c                                    |    3 
 drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c |   19 +
 drivers/net/ethernet/cavium/thunder/thunder_bgx.c            |   62 ++++
 drivers/net/ethernet/cavium/thunder/thunder_bgx.h            |    9 
 drivers/net/ethernet/davicom/dm9000.c                        |    2 
 drivers/net/ethernet/intel/ice/ice_ethtool.c                 |    7 
 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c    |    5 
 drivers/net/ethernet/micrel/ks8851_mll.c                     |   53 ---
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c            |   13 
 drivers/nvme/host/core.c                                     |    2 
 drivers/nvme/host/pci.c                                      |   15 +
 drivers/phy/motorola/phy-mapphone-mdm6600.c                  |   27 +
 drivers/regulator/stm32-vrefbuf.c                            |    3 
 drivers/s390/cio/blacklist.c                                 |    5 
 drivers/s390/cio/qdio_setup.c                                |    3 
 drivers/s390/net/qeth_core_main.c                            |   23 -
 drivers/scsi/megaraid/megaraid_sas_fusion.c                  |    5 
 drivers/soc/imx/soc-imx-scu.c                                |    2 
 drivers/spi/atmel-quadspi.c                                  |   11 
 drivers/spi/spi-bcm63xx-hsspi.c                              |    1 
 drivers/spi/spidev.c                                         |    5 
 drivers/staging/media/hantro/hantro_drv.c                    |    4 
 drivers/staging/speakup/selection.c                          |    2 
 drivers/tty/serial/8250/8250_exar.c                          |   33 ++
 drivers/tty/serial/ar933x_uart.c                             |    8 
 drivers/tty/serial/fsl_lpuart.c                              |   39 +-
 drivers/tty/serial/mvebu-uart.c                              |    2 
 drivers/tty/vt/selection.c                                   |   26 +
 drivers/tty/vt/vt.c                                          |    2 
 drivers/usb/cdns3/gadget.c                                   |   19 +
 drivers/usb/core/hub.c                                       |    8 
 drivers/usb/core/port.c                                      |   10 
 drivers/usb/core/quirks.c                                    |    3 
 drivers/usb/dwc3/gadget.c                                    |    9 
 drivers/usb/gadget/composite.c                               |   24 +
 drivers/usb/gadget/function/f_fs.c                           |    5 
 drivers/usb/gadget/function/u_serial.c                       |    4 
 drivers/usb/storage/unusual_devs.h                           |    6 
 drivers/video/console/vgacon.c                               |    3 
 drivers/watchdog/da9062_wdt.c                                |    7 
 fs/btrfs/inode.c                                             |    4 
 fs/cifs/cifsglob.h                                           |    7 
 fs/cifs/cifsproto.h                                          |    5 
 fs/cifs/cifssmb.c                                            |    3 
 fs/cifs/file.c                                               |   19 -
 fs/cifs/inode.c                                              |   12 
 fs/cifs/smb1ops.c                                            |    2 
 fs/cifs/smb2inode.c                                          |    4 
 fs/cifs/smb2ops.c                                            |    3 
 fs/cifs/smb2pdu.c                                            |    1 
 fs/fat/inode.c                                               |   19 -
 include/linux/mm.h                                           |    4 
 kernel/kprobes.c                                             |   67 +++-
 kernel/trace/blktrace.c                                      |    5 
 mm/huge_memory.c                                             |    3 
 mm/memory_hotplug.c                                          |    8 
 mm/mprotect.c                                                |   38 ++
 security/integrity/platform_certs/load_uefi.c                |   40 +-
 sound/hda/ext/hdac_ext_controller.c                          |    9 
 sound/pci/hda/patch_realtek.c                                |   31 +-
 sound/soc/codecs/pcm512x.c                                   |    8 
 sound/soc/intel/skylake/skl-debug.c                          |   32 +-
 sound/soc/intel/skylake/skl-ssp-clk.c                        |    4 
 sound/soc/soc-dapm.c                                         |    2 
 sound/soc/soc-pcm.c                                          |   16 -
 sound/soc/soc-topology.c                                     |   17 -
 sound/soc/sof/ipc.c                                          |    2 
 tools/perf/arch/arm/util/cs-etm.c                            |    5 
 tools/perf/arch/arm64/util/arm-spe.c                         |    5 
 tools/perf/arch/x86/util/intel-bts.c                         |    5 
 tools/perf/arch/x86/util/intel-pt.c                          |    5 
 tools/testing/selftests/lib.mk                               |   23 -
 tools/testing/selftests/net/forwarding/mirror_gre.sh         |   25 -
 tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh    |    6 
 usr/include/Makefile                                         |    2 
 173 files changed, 1553 insertions(+), 903 deletions(-)

Aaro Koskinen (1):
net: stmmac: fix notifier registration

Adrian Hunter (1):
perf arm-spe: Fix endless record after being terminated

Ahmad Fatoum (1):
ARM: imx: build v7_cpu_resume() unconditionally

Alastair D'Silva (2):
powerpc: define helpers to get L1 icache sizes
powerpc: Convert flush_icache_range & friends to C

Amadeusz Sławiński (1):
ASoC: Intel: Skylake: Fix available clock counter incrementation

Andy Shevchenko (1):
nvme-pci: Use single IRQ vector for old Apple models

Ard Biesheuvel (2):
efi/x86: Align GUIDs to their size in the mixed mode runtime wrapper efi/x86: Handle by-ref arguments covering multiple pages in mixed mode

Aurelien Aptel (1):
cifs: fix rename() by ensuring source handle opened with DELETE bit

Bernard Metzler (2):
RDMA/siw: Fix failure handling during device creation RDMA/iwcm: Fix iwcm work deallocation

Brian Masney (1):
drm/msm/mdp5: rate limit pp done timeout warnings

Cengiz Can (1):
blktrace: fix dereference after null check

Charles Keepax (1):
ASoC: dapm: Correct DAPM handling of active widgets during shutdown

Christian Brauner (2):
binder: prevent UAF for binderfs devices
binder: prevent UAF for binderfs devices II

Christian Hewitt (1):
arm64: dts: meson: fix gxm-khadas-vim2 wifi

Christian Lachner (1):
ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master

Christophe JAILLET (1):
spi: bcm63xx-hsspi: Really keep pll clk enabled

Cong Wang (1):

      dma-buf: free dmabuf->name in dma_buf_release()

Dan Carpenter (4):
ASoC: SOF: Fix snd_sof_ipc_stream_posn() drm/i915/selftests: Fix return in assert_mmap_offset()
hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()

Dan Lazewatsky (1):
usb: quirks: add NO_LPM quirk for Logitech Screen Share

Daniel Golle (1):
serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE

Dennis Dalessandro (1):
IB/hfi1, qib: Ensure RCU is locked when accessing list

Desnes A. Nunes do Rosario (1):
powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems

Dmitry Osipenko (2):
dmaengine: tegra-apb: Fix use-after-free
dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list

Dragos Tarcatu (2):
ASoC: topology: Fix memleak in soc_tplg_link_elems_load()
ASoC: topology: Fix memleak in soc_tplg_manifest_load()

Eugeniu Rosca (3):
usb: core: hub: fix unhandled return by employing a void function
usb: core: hub: do error out if usb_autopm_get_interface() fails
usb: core: port: do error out if usb_autopm_get_interface() fails

Ezequiel Garcia (1):
media: hantro: Fix broken media controller links

Fabio Estevam (1):
arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY

Fabrice Gasnier (1):
regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling

Faiz Abbas (1):
arm: dts: dra76x: Fix mmc3 max-frequency

Florian Fainelli (1):
net: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec

Frieder Schrempf (1):
dmaengine: imx-sdma: Fix the event id check to include RX event for UART6

Gerald Schaefer (1):
s390/mm: fix panic in gup_fast on large pud

Gerd Hoffmann (1):
drm/virtio: make resource id workaround runtime switchable.

Greg Kroah-Hartman (1):

      Linux 5.4.25

Guillaume La Roque (1):
arm64: dts: meson-sm1-sei610: add missing interrupt-names

Guo Ren (6):
csky/mm: Fixup export invalid_pte_table symbol
csky: Set regs->usp to kernel sp, when the exception is from kernel csky/smp: Fixup boot failed when CONFIG_SMP
csky: Fixup ftrace modify panic
csky: Fixup compile warning for three unimplemented syscalls
csky: Implement copy_thread_tls

H.J. Lu (1):
x86/boot/compressed: Don't declare __force_order in kaslr_64.c

Hamdan Igbaria (1):
net/mlx5: DR, Fix matching on vport gvmi

Hangbin Liu (3):
selftests: forwarding: use proto icmp for {gretap, ip6gretap}_mac testing
selftests: forwarding: vxlan_bridge_1d: fix tos value
selftests: forwarding: vxlan_bridge_1d: use more proper tos value

Hans Verkuil (3):
media: mc-entity.c: use & to check pad flags, not ==
media: vicodec: process all 4 components for RGB32 formats
media: v4l2-mem2mem.c: fix broken links

Harigovindan P (2):
drm/msm/dsi: save pll state before dsi host is powered off drm/msm/dsi/pll: call vco set rate explicitly

Hou Tao (1):
dm: fix congested_fn for request-based device

Huang Ying (1):
mm: fix possible PMD dirty bit lost in set_pmd_migration_entry()

Hui Wang (1):
ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1

Igor Russkikh (1):
net: atlantic: check rpc result and wait for rpc address

Jack Pham (1):
usb: gadget: composite: Support more than 500mA MaxPower

Jason A. Donenfeld (1):
efi: READ_ONCE rng seed size before munmap

Jason Gunthorpe (1):
RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()

Javier Martinez Canillas (1):
efi: Only print errors about failing to get certs if EFI vars are found

Jay Dolan (1):
serial: 8250_exar: add support for ACCES cards

Jernej Skrabec (3):
drm/sun4i: Add separate DE3 VI layer formats drm/sun4i: Fix DE2 VI layer format support drm/sun4i: de2/de3: Remove unsupported VI layer formats

Jian-Hong Pan (1):
ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294

Jim Lin (1):
usb: storage: Add quirk for Samsung Fit flash

Jiri Benc (1):
selftests: fix too long argument

Jiri Slaby (3):
vt: selection, close sel_buffer race
vt: selection, push console lock down
vt: selection, push sel_lock up

John Bates (1):
drm/virtio: fix resource id creation race

John Stultz (2):
drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
drm: kirin: Revert "Fix for hikey620 display offset problem"

Julian Wiedmann (1):
s390/qdio: fill SL with absolute addresses

Kai Vehmanen (1):
ALSA: hda: do not override bus codec_mask in link_get()

Kai-Heng Feng (1):
iommu/amd: Disable IOMMU on Stoney Ridge systems

Kailang Yang (2):
ALSA: hda/realtek - Add Headset Mic supported
ALSA: hda/realtek - Add Headset Button supported for ThinkPad X1

Kees Cook (1):
x86/xen: Distribute switch variables for initialization

Keith Busch (1):
nvme: Fix uninitialized-variable warning

Lars-Peter Clausen (1):
usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags

Leonard Crestez (5):
firmware: imx: scu: Ensure sequential TX
firmware: imx: misc: Align imx sc msg structs to 4
firmware: imx: scu-pd: Align imx sc msg structs to 4
firmware: imx: Align imx_sc_msg_req_cpu_start to 4
soc: imx-scu: Align imx sc msg structs to 4

Ley Foon Tan (1):
arm64: dts: socfpga: agilex: Fix gmac compatible

Lukas Wunner (1):
spi: spidev: Fix CS polarity if GPIO descriptors are used

Maor Gottlieb (2):
RDMA/core: Fix pkey and port assignment in get_new_pps RDMA/core: Fix protection fault in ib_mr_pool_destroy

Marco Felsch (2):
watchdog: da9062: do not ping the hw during stop()
ARM: dts: imx6: phycore-som: fix emmc supply

Marek Vasut (3):

      net: ks8851-ml: Remove 8-bit bus accessors
      net: ks8851-ml: Fix 16-bit data access
      net: ks8851-ml: Fix 16-bit IO operation

Mark Zhang (1):
RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing

Martin Fuzzey (1):
dmaengine: imx-sdma: fix context cache

Masahiro Yamada (2):
kbuild: fix 'No such file or directory' warning when cleaning
s390: make 'install' not depend on vmlinux

Masami Hiramatsu (1):
kprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic

Matt Roper (1):
drm/i915: Program MBUS with rmw during initialization

Matthias Reichl (1):
ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path

Max Gurtovoy (1):
RDMA/rw: Fix error flow during RDMA context initialization

Mel Gorman (1):
mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking page tables prot_numa

Michael Ellerman (1):
powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()

Michael Walle (1):
tty: serial: fsl_lpuart: free IDs allocated by IDA

Michal Swiatkowski (1):
ice: Don't tell the OS that link is going down

Mikulas Patocka (6):
dm integrity: fix recalculation when moving from journal mode to bitmap mode dm integrity: fix a deadlock due to offloading to an incorrect workqueue dm integrity: fix invalid table returned due to argument count mismatch dm cache: fix a crash due to incorrect work item cancelling
dm: report suspended device during destroy
dm writecache: verify watermark during resume

Nathan Chancellor (1):
RDMA/core: Fix use of logical OR in get_new_pps

Niklas Schnelle (1):
s390/pci: Fix unexpected write combine on resource

OGAWA Hirofumi (1):
fat: fix uninit-memory access for partial initialized inode

Oded Gabbay (2):
habanalabs: halt the engines before hard-reset
habanalabs: patched cb equals user cb in device memset

Oleksandr Suvorov (1):
ARM: dts: imx7-colibri: Fix frequency for sd/mmc

Omar Sandoval (1):
btrfs: fix RAID direct I/O reads with alternate csums

Omer Shpigelman (1):
habanalabs: do not halt CoreSight during hard reset

Paolo Valente (4):
block, bfq: get extra ref to prevent a queue from being freed during a group move block, bfq: do not insert oom queue into position tree
block, bfq: get a ref to a group when adding it to a service tree block, bfq: remove ifdefs from around gets/puts of bfq groups

Parav Pandit (1):
Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"

Paul Cercueil (1):

      net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt()

Peter Chen (2):
usb: cdns3: gadget: link trb should point to next request
usb: cdns3: gadget: toggle cycle bit before reset endpoint

Pratham Pratap (1):
usb: dwc3: gadget: Update chain bit correctly when using sg list

Randy Dunlap (1):
arch/csky: fix some Kconfig typos

Ronnie Sahlberg (1):
cifs: don't leak -EAGAIN for stat() during reconnect

Sean Christopherson (1):
x86/pkeys: Manually set X86_FEATURE_OSPKE to preserve existing changes

Sergey Organov (1):
usb: gadget: serial: fix Tx stall after buffer overflow

Sherry Sun (1):
EDAC/synopsys: Do not print an error with back-to-back snprintf() calls

Shin'ichiro Kawasaki (1):
dm zoned: Fix reference counter initial value of chunk works

Shyjumon N (1):
nvme/pci: Add sleep quirk for Samsung and Toshiba drives

Stephan Gerhold (2):
drm/modes: Make sure to parse valid rotation value from cmdline drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters

Stephen Rothwell (1):
drm/virtio: module_param_named() requires linux/moduleparam.h

Suman Anna (2):
ARM: dts: am437x-idk-evm: Fix incorrect OPP node names
ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source

Takashi Iwai (3):
ASoC: intel: skl: Fix pin debug prints
ASoC: intel: skl: Fix possible buffer overflow in debug outputs
ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output

Theodore Ts'o (1):
dm thin metadata: fix lockdep complaint

Tim Harvey (1):
net: thunderx: workaround BGX TX Underflow issue

Tomas Henzl (1):
scsi: megaraid_sas: silence a warning

Tomeu Vizoso (1):
drm/panfrost: Don't try to map on error faults

Tony Lindgren (3):
phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling
phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval
bus: ti-sysc: Fix 1-wire reset quirk

Tudor Ambarus (1):
spi: atmel-quadspi: fix possible MMIO window size overrun

Vasily Averin (1):
s390/cio: cio_ignore_proc_seq_next should increase position index

Vladimir Oltean (1):
ARM: dts: ls1021a: Restore MDIO compatible to gianfar

Vlastimil Babka (1):
mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabled

Wei Li (3):
perf intel-pt: Fix endless record after being terminated perf intel-bts: Fix endless record after being terminated perf cs-etm: Fix endless record after being terminated

Zhang Xiaoxu (1):
vgacon: Fix a UAF in vgacon_invert_region

tangbin (1):
tty:serial:mvebu-uart:fix a wrong return

author maintainer
#1 lore raw
Makefile +1 -1
index c32c78cf2fe5..85e41313f078 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 5
 PATCHLEVEL = 4
-SUBLEVEL = 24
+SUBLEVEL = 25
 EXTRAVERSION =
 NAME = Kleptomaniac Octopus
 
arch/arm/boot/dts/am437x-idk-evm.dts +2 -2
index f3ced6df0c9b..9f66f96d09c9 100644
@@ -526,11 +526,11 @@
 	 * Supply voltage supervisor on board will not allow opp50 so
 	 * disable it and set opp100 as suspend OPP.
 	 */
-	opp50@300000000 {
+	opp50-300000000 {
 		status = "disabled";
 	};
 
-	opp100@600000000 {
+	opp100-600000000 {
 		opp-suspend;
 	};
 };
arch/arm/boot/dts/dra76x.dtsi +5 -0
index cdcba3f561c4..9f6fbe4c1fee 100644
@@ -86,3 +86,8 @@
 &usb4_tm {
 	status = "disabled";
 };
+
+&mmc3 {
+	/* dra76x is not affected by i887 */
+	max-frequency = <96000000>;
+};
arch/arm/boot/dts/dra7xx-clocks.dtsi +2 -10
index 93e1eb83bed9..d7d98d2069df 100644
@@ -796,16 +796,6 @@
 		clock-div = <1>;
 	};
 
-	ipu1_gfclk_mux: ipu1_gfclk_mux@520 {
-		#clock-cells = <0>;
-		compatible = "ti,mux-clock";
-		clocks = <&dpll_abe_m2x2_ck>, <&dpll_core_h22x2_ck>;
-		ti,bit-shift = <24>;
-		reg = <0x0520>;
-		assigned-clocks = <&ipu1_gfclk_mux>;
-		assigned-clock-parents = <&dpll_core_h22x2_ck>;
-	};
-
 	dummy_ck: dummy_ck {
 		#clock-cells = <0>;
 		compatible = "fixed-clock";
@@ -1564,6 +1554,8 @@
 			compatible = "ti,clkctrl";
 			reg = <0x20 0x4>;
 			#clock-cells = <2>;
+			assigned-clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 24>;
+			assigned-clock-parents = <&dpll_core_h22x2_ck>;
 		};
 
 		ipu_clkctrl: ipu-clkctrl@50 {
arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +0 -1
index 6486df3e2942..881cea0b61ba 100644
@@ -183,7 +183,6 @@
 	pinctrl-0 = <&pinctrl_usdhc4>;
 	bus-width = <8>;
 	non-removable;
-	vmmc-supply = <&vdd_emmc_1p8>;
 	status = "disabled";
 };
 
arch/arm/boot/dts/imx7-colibri.dtsi +0 -1
index 917eb0b58b13..eed78f12e79e 100644
@@ -337,7 +337,6 @@
 	assigned-clock-rates = <400000000>;
 	bus-width = <8>;
 	fsl,tuning-step = <2>;
-	max-frequency = <100000000>;
 	vmmc-supply = <&reg_module_3v3>;
 	vqmmc-supply = <&reg_DCDC3>;
 	non-removable;
arch/arm/boot/dts/ls1021a.dtsi +2 -2
index 2f6977ada447..63d9f4a066e3 100644
@@ -728,7 +728,7 @@
 		};
 
 		mdio0: mdio@2d24000 {
-			compatible = "fsl,etsec2-mdio";
+			compatible = "gianfar";
 			device_type = "mdio";
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -737,7 +737,7 @@
 		};
 
 		mdio1: mdio@2d64000 {
-			compatible = "fsl,etsec2-mdio";
+			compatible = "gianfar";
 			device_type = "mdio";
 			#address-cells = <1>;
 			#size-cells = <0>;
arch/arm/mach-imx/Makefile +2 -0
index 35ff620537e6..03506ce46149 100644
@@ -91,6 +91,8 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
 obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
 obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
 endif
+AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
+obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
 obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
 
 obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
arch/arm/mach-imx/common.h +2 -2
index 912aeceb4ff8..5aa5796cff0e 100644
@@ -109,17 +109,17 @@ void imx_cpu_die(unsigned int cpu);
 int imx_cpu_kill(unsigned int cpu);
 
 #ifdef CONFIG_SUSPEND
-void v7_cpu_resume(void);
 void imx53_suspend(void __iomem *ocram_vbase);
 extern const u32 imx53_suspend_sz;
 void imx6_suspend(void __iomem *ocram_vbase);
 #else
-static inline void v7_cpu_resume(void) {}
 static inline void imx53_suspend(void __iomem *ocram_vbase) {}
 static const u32 imx53_suspend_sz;
 static inline void imx6_suspend(void __iomem *ocram_vbase) {}
 #endif
 
+void v7_cpu_resume(void);
+
 void imx6_pm_ccm_init(const char *ccm_compat);
 void imx6q_pm_init(void);
 void imx6dl_pm_init(void);
arch/arm/mach-imx/resume-imx6.S new file +24 -0
new file mode 100644
index 000000000000..5bd1ba7ef15b
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright 2014 Freescale Semiconductor, Inc.
+ */
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <asm/asm-offsets.h>
+#include <asm/hardware/cache-l2x0.h>
+#include "hardware.h"
+
+/*
+ * The following code must assume it is running from physical address
+ * where absolute virtual addresses to the data section have to be
+ * turned into relative ones.
+ */
+
+ENTRY(v7_cpu_resume)
+	bl	v7_invalidate_l1
+#ifdef CONFIG_CACHE_L2X0
+	bl	l2c310_early_resume
+#endif
+	b	cpu_resume
+ENDPROC(v7_cpu_resume)
arch/arm/mach-imx/suspend-imx6.S +0 -14
index 062391ff13da..1eabf2d2834b 100644
@@ -327,17 +327,3 @@ resume:
 
 	ret	lr
 ENDPROC(imx6_suspend)
-
-/*
- * The following code must assume it is running from physical address
- * where absolute virtual addresses to the data section have to be
- * turned into relative ones.
- */
-
-ENTRY(v7_cpu_resume)
-	bl	v7_invalidate_l1
-#ifdef CONFIG_CACHE_L2X0
-	bl	l2c310_early_resume
-#endif
-	b	cpu_resume
-ENDPROC(v7_cpu_resume)
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts +1 -1
index 4d67eb715b91..3f43716d5c45 100644
@@ -327,7 +327,7 @@
 	#size-cells = <0>;
 
 	bus-width = <4>;
-	max-frequency = <50000000>;
+	max-frequency = <60000000>;
 
 	non-removable;
 	disable-wp;
arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts +1 -0
index 5d6a8dafe8dc..29ac78ddc057 100644
@@ -363,6 +363,7 @@
 		compatible = "brcm,bcm43438-bt";
 		interrupt-parent = <&gpio_intc>;
 		interrupts = <95 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-names = "host-wakeup";
 		shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
 		max-speed = <2000000>;
 		clocks = <&wifi32k>;
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +0 -5
index 19468058e6ae..8148196902dd 100644
@@ -52,11 +52,6 @@
 			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
 		};
-
-		ethphy1: ethernet-phy@1 {
-			compatible = "ethernet-phy-ieee802.3-c22";
-			reg = <1>;
-		};
 	};
 };
 
arch/arm64/boot/dts/intel/socfpga_agilex.dtsi +3 -3
index d2cb28da3fff..d911d38877e5 100644
@@ -82,7 +82,7 @@
 		ranges = <0 0 0 0xffffffff>;
 
 		gmac0: ethernet@ff800000 {
-			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
+			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
 			reg = <0xff800000 0x2000>;
 			interrupts = <0 90 4>;
 			interrupt-names = "macirq";
@@ -97,7 +97,7 @@
 		};
 
 		gmac1: ethernet@ff802000 {
-			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
+			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
 			reg = <0xff802000 0x2000>;
 			interrupts = <0 91 4>;
 			interrupt-names = "macirq";
@@ -112,7 +112,7 @@
 		};
 
 		gmac2: ethernet@ff804000 {
-			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
+			compatible = "altr,socfpga-stmmac-a10-s10", "snps,dwmac-3.74a", "snps,dwmac";
 			reg = <0xff804000 0x2000>;
 			interrupts = <0 92 4>;
 			interrupt-names = "macirq";
arch/csky/Kconfig +2 -1
index 3973847b5f42..48b2e1b59119 100644
@@ -36,6 +36,7 @@ config CSKY
 	select GX6605S_TIMER if CPU_CK610
 	select HAVE_ARCH_TRACEHOOK
 	select HAVE_ARCH_AUDITSYSCALL
+	select HAVE_COPY_THREAD_TLS
 	select HAVE_DYNAMIC_FTRACE
 	select HAVE_FUNCTION_TRACER
 	select HAVE_FUNCTION_GRAPH_TRACER
@@ -74,7 +75,7 @@ config CPU_HAS_TLBI
 config CPU_HAS_LDSTEX
 	bool
 	help
-	  For SMP, CPU needs "ldex&stex" instrcutions to atomic operations.
+	  For SMP, CPU needs "ldex&stex" instructions for atomic operations.
 
 config CPU_NEED_TLBSYNC
 	bool
arch/csky/abiv1/inc/abi/entry.h +14 -5
index 7ab78bd0f3b1..f35a9f3315ee 100644
@@ -16,14 +16,16 @@
 #define LSAVE_A4	40
 #define LSAVE_A5	44
 
+#define usp ss1
+
 .macro USPTOKSP
-	mtcr	sp, ss1
+	mtcr	sp, usp
 	mfcr	sp, ss0
 .endm
 
 .macro KSPTOUSP
 	mtcr	sp, ss0
-	mfcr	sp, ss1
+	mfcr	sp, usp
 .endm
 
 .macro	SAVE_ALL epc_inc
@@ -45,7 +47,13 @@
 	add	lr, r13
 	stw     lr, (sp, 8)
 
+	mov	lr, sp
+	addi	lr, 32
+	addi	lr, 32
+	addi	lr, 16
+	bt	2f
 	mfcr	lr, ss1
+2:
 	stw     lr, (sp, 16)
 
 	stw     a0, (sp, 20)
@@ -79,9 +87,10 @@
 	ldw     a0, (sp, 12)
 	mtcr    a0, epsr
 	btsti   a0, 31
+	bt      1f
 	ldw     a0, (sp, 16)
 	mtcr	a0, ss1
-
+1:
 	ldw     a0, (sp, 24)
 	ldw     a1, (sp, 28)
 	ldw     a2, (sp, 32)
@@ -102,9 +111,9 @@
 	addi	sp, 32
 	addi	sp, 8
 
-	bt      1f
+	bt      2f
 	KSPTOUSP
-1:
+2:
 	rte
 .endm
 
arch/csky/abiv2/inc/abi/entry.h +11 -0
index 9897a16b45e5..94a7a58765df 100644
@@ -31,7 +31,13 @@
 
 	mfcr	lr, epsr
 	stw	lr, (sp, 12)
+	btsti   lr, 31
+	bf      1f
+	addi    lr, sp, 152
+	br	2f
+1:
 	mfcr	lr, usp
+2:
 	stw	lr, (sp, 16)
 
 	stw     a0, (sp, 20)
@@ -64,8 +70,10 @@
 	mtcr	a0, epc
 	ldw	a0, (sp, 12)
 	mtcr	a0, epsr
+	btsti   a0, 31
 	ldw	a0, (sp, 16)
 	mtcr	a0, usp
+	mtcr	a0, ss0
 
 #ifdef CONFIG_CPU_HAS_HILO
 	ldw	a0, (sp, 140)
@@ -86,6 +94,9 @@
 	addi    sp, 40
 	ldm     r16-r30, (sp)
 	addi    sp, 72
+	bf	1f
+	mfcr	sp, ss0
+1:
 	rte
 .endm
 
arch/csky/include/uapi/asm/unistd.h +3 -0
index 211c983c7282..ba4018929733 100644
@@ -1,7 +1,10 @@
 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
 
+#define __ARCH_WANT_STAT64
+#define __ARCH_WANT_NEW_STAT
 #define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_SYS_CLONE3
 #define __ARCH_WANT_SET_GET_RLIMIT
 #define __ARCH_WANT_TIME32_SYSCALLS
 #include <asm-generic/unistd.h>
arch/csky/kernel/atomic.S +6 -2
index 5b84f11485ae..3821ef9b7567 100644
@@ -17,10 +17,12 @@ ENTRY(csky_cmpxchg)
 	mfcr	a3, epc
 	addi	a3, TRAP0_SIZE
 
-	subi    sp, 8
+	subi    sp, 16
 	stw     a3, (sp, 0)
 	mfcr    a3, epsr
 	stw     a3, (sp, 4)
+	mfcr	a3, usp
+	stw     a3, (sp, 8)
 
 	psrset	ee
 #ifdef CONFIG_CPU_HAS_LDSTEX
@@ -47,7 +49,9 @@ ENTRY(csky_cmpxchg)
 	mtcr	a3, epc
 	ldw     a3, (sp, 4)
 	mtcr	a3, epsr
-	addi	sp, 8
+	ldw     a3, (sp, 8)
+	mtcr	a3, usp
+	addi	sp, 16
 	KSPTOUSP
 	rte
 END(csky_cmpxchg)
arch/csky/kernel/process.c +4 -3
index f320d9248a22..397962e11bd1 100644
@@ -34,10 +34,11 @@ unsigned long thread_saved_pc(struct task_struct *tsk)
 	return sw->r15;
 }
 
-int copy_thread(unsigned long clone_flags,
+int copy_thread_tls(unsigned long clone_flags,
 		unsigned long usp,
 		unsigned long kthread_arg,
-		struct task_struct *p)
+		struct task_struct *p,
+		unsigned long tls)
 {
 	struct switch_stack *childstack;
 	struct pt_regs *childregs = task_pt_regs(p);
@@ -64,7 +65,7 @@ int copy_thread(unsigned long clone_flags,
 			childregs->usp = usp;
 		if (clone_flags & CLONE_SETTLS)
 			task_thread_info(p)->tp_value = childregs->tls
-						      = childregs->regs[0];
+						      = tls;
 
 		childregs->a0 = 0;
 		childstack->r15 = (unsigned long) ret_from_fork;
arch/csky/kernel/smp.c +1 -1
index b753d382e4ce..0bb0954d5570 100644
@@ -120,7 +120,7 @@ void __init setup_smp_ipi(void)
 	int rc;
 
 	if (ipi_irq == 0)
-		panic("%s IRQ mapping failed\n", __func__);
+		return;
 
 	rc = request_percpu_irq(ipi_irq, handle_ipi, "IPI Interrupt",
 				&ipi_dummy_dev);
arch/csky/mm/Makefile +2 -0
index c94ef6481098..efb7ebab342b 100644
@@ -1,8 +1,10 @@
 # SPDX-License-Identifier: GPL-2.0-only
 ifeq ($(CONFIG_CPU_HAS_CACHEV2),y)
 obj-y +=			cachev2.o
+CFLAGS_REMOVE_cachev2.o = $(CC_FLAGS_FTRACE)
 else
 obj-y +=			cachev1.o
+CFLAGS_REMOVE_cachev1.o = $(CC_FLAGS_FTRACE)
 endif
 
 obj-y +=			dma-mapping.o
arch/csky/mm/init.c +1 -0
index d4c2292ea46b..00e96278b377 100644
@@ -31,6 +31,7 @@
 
 pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss;
 pte_t invalid_pte_table[PTRS_PER_PTE] __page_aligned_bss;
+EXPORT_SYMBOL(invalid_pte_table);
 unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]
 						__page_aligned_bss;
 EXPORT_SYMBOL(empty_zero_page);
arch/powerpc/include/asm/cache.h +36 -19

84 lines not on this page · raw message

arch/powerpc/include/asm/cacheflush.h +16 -20
index eef388f2659f..4a1c9f0200e1 100644
@@ -42,29 +42,25 @@ extern void flush_dcache_page(struct page *page);
 #define flush_dcache_mmap_lock(mapping)		do { } while (0)
 #define flush_dcache_mmap_unlock(mapping)	do { } while (0)
 
-extern void flush_icache_range(unsigned long, unsigned long);
+void flush_icache_range(unsigned long start, unsigned long stop);
 extern void flush_icache_user_range(struct vm_area_struct *vma,
 				    struct page *page, unsigned long addr,
 				    int len);
-extern void __flush_dcache_icache(void *page_va);
 extern void flush_dcache_icache_page(struct page *page);
-#if defined(CONFIG_PPC32) && !defined(CONFIG_BOOKE)
-extern void __flush_dcache_icache_phys(unsigned long physaddr);
-#else
-static inline void __flush_dcache_icache_phys(unsigned long physaddr)
-{
-	BUG();
-}
-#endif
-
-/*
- * Write any modified data cache blocks out to memory and invalidate them.
- * Does not invalidate the corresponding instruction cache blocks.
+void __flush_dcache_icache(void *page);
+
+/**
+ * flush_dcache_range(): Write any modified data cache blocks out to memory and
+ * invalidate them. Does not invalidate the corresponding instruction cache
+ * blocks.
+ *
+ * @start: the start address
+ * @stop: the stop address (exclusive)
  */
 static inline void flush_dcache_range(unsigned long start, unsigned long stop)
 {
-	unsigned long shift = l1_cache_shift();
-	unsigned long bytes = l1_cache_bytes();
+	unsigned long shift = l1_dcache_shift();
+	unsigned long bytes = l1_dcache_bytes();
 	void *addr = (void *)(start & ~(bytes - 1));
 	unsigned long size = stop - (unsigned long)addr + (bytes - 1);
 	unsigned long i;
@@ -89,8 +85,8 @@ static inline void flush_dcache_range(unsigned long start, unsigned long stop)
  */
 static inline void clean_dcache_range(unsigned long start, unsigned long stop)
 {
-	unsigned long shift = l1_cache_shift();
-	unsigned long bytes = l1_cache_bytes();
+	unsigned long shift = l1_dcache_shift();
+	unsigned long bytes = l1_dcache_bytes();
 	void *addr = (void *)(start & ~(bytes - 1));
 	unsigned long size = stop - (unsigned long)addr + (bytes - 1);
 	unsigned long i;
@@ -108,8 +104,8 @@ static inline void clean_dcache_range(unsigned long start, unsigned long stop)
 static inline void invalidate_dcache_range(unsigned long start,
 					   unsigned long stop)
 {
-	unsigned long shift = l1_cache_shift();
-	unsigned long bytes = l1_cache_bytes();
+	unsigned long shift = l1_dcache_shift();
+	unsigned long bytes = l1_dcache_bytes();
 	void *addr = (void *)(start & ~(bytes - 1));
 	unsigned long size = stop - (unsigned long)addr + (bytes - 1);
 	unsigned long i;
arch/powerpc/kernel/cputable.c +3 -1
index e745abc5457a..245be4fafe13 100644
@@ -2193,11 +2193,13 @@ static struct cpu_spec * __init setup_cpu_spec(unsigned long offset,
 		 * oprofile_cpu_type already has a value, then we are
 		 * possibly overriding a real PVR with a logical one,
 		 * and, in that case, keep the current value for
-		 * oprofile_cpu_type.
+		 * oprofile_cpu_type. Futhermore, let's ensure that the
+		 * fix for the PMAO bug is enabled on compatibility mode.
 		 */
 		if (old.oprofile_cpu_type != NULL) {
 			t->oprofile_cpu_type = old.oprofile_cpu_type;
 			t->oprofile_type = old.oprofile_type;
+			t->cpu_features |= old.cpu_features & CPU_FTR_PMAO_BUG;
 		}
 	}
 
arch/powerpc/kernel/misc_32.S +0 -120

126 lines not on this page · raw message

arch/powerpc/kernel/misc_64.S +0 -102

108 lines not on this page · raw message

arch/powerpc/mm/mem.c +151 -1

169 lines not on this page · raw message

arch/s390/Makefile +1 -1
index 9ce1baeac2b2..2faaf456956a 100644
@@ -146,7 +146,7 @@ all: bzImage
 #KBUILD_IMAGE is necessary for packaging targets like rpm-pkg, deb-pkg...
 KBUILD_IMAGE	:= $(boot)/bzImage
 
-install: vmlinux
+install:
 	$(Q)$(MAKE) $(build)=$(boot) $@
 
 bzImage: vmlinux
arch/s390/boot/Makefile +1 -1
index e2c47d3a1c89..0ff9261c915e 100644
@@ -70,7 +70,7 @@ $(obj)/compressed/vmlinux: $(obj)/startup.a FORCE
 $(obj)/startup.a: $(OBJECTS) FORCE
 	$(call if_changed,ar)
 
-install: $(CONFIGURE) $(obj)/bzImage
+install:
 	sh -x  $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \
 	      System.map "$(INSTALL_PATH)"
 
arch/s390/include/asm/pgtable.h +6 -0
index a9e46b83c536..34a655ad7123 100644
@@ -756,6 +756,12 @@ static inline int pmd_write(pmd_t pmd)
 	return (pmd_val(pmd) & _SEGMENT_ENTRY_WRITE) != 0;
 }
 
+#define pud_write pud_write
+static inline int pud_write(pud_t pud)
+{
+	return (pud_val(pud) & _REGION3_ENTRY_WRITE) != 0;
+}
+
 static inline int pmd_dirty(pmd_t pmd)
 {
 	int dirty = 1;
arch/s390/include/asm/qdio.h +1 -1
index e3f238e8c611..4f35b1055f30 100644
@@ -227,7 +227,7 @@ struct qdio_buffer {
  * @sbal: absolute SBAL address
  */
 struct sl_element {
-	unsigned long sbal;
+	u64 sbal;
 } __attribute__ ((packed));
 
 /**
arch/s390/pci/pci.c +2 -2
index 5b24fcc9c361..6105b1b6e49b 100644
@@ -423,7 +423,7 @@ static void zpci_map_resources(struct pci_dev *pdev)
 
 		if (zpci_use_mio(zdev))
 			pdev->resource[i].start =
-				(resource_size_t __force) zdev->bars[i].mio_wb;
+				(resource_size_t __force) zdev->bars[i].mio_wt;
 		else
 			pdev->resource[i].start = (resource_size_t __force)
 				pci_iomap_range_fh(pdev, i, 0, 0);
@@ -530,7 +530,7 @@ static int zpci_setup_bus_resources(struct zpci_dev *zdev,
 			flags |= IORESOURCE_MEM_64;
 
 		if (zpci_use_mio(zdev))
-			addr = (unsigned long) zdev->bars[i].mio_wb;
+			addr = (unsigned long) zdev->bars[i].mio_wt;
 		else
 			addr = ZPCI_ADDR(entry);
 		size = 1UL << zdev->bars[i].size;
arch/x86/boot/compressed/kaslr_64.c +0 -3
index 748456c365f4..9557c5a15b91 100644
@@ -29,9 +29,6 @@
 #define __PAGE_OFFSET __PAGE_OFFSET_BASE
 #include "../../mm/ident_map.c"
 
-/* Used by pgtable.h asm code to force instruction serialization. */
-unsigned long __force_order;
-
 /* Used to track our page table allocation area. */
 struct alloc_pgt_data {
 	unsigned char *pgt_buf;
arch/x86/kernel/cpu/common.c +1 -1
index fffe21945374..704caec136cf 100644
@@ -464,7 +464,7 @@ static __always_inline void setup_pku(struct cpuinfo_x86 *c)
 	 * cpuid bit to be set.  We need to ensure that we
 	 * update that bit in this CPU's "cpu_info".
 	 */
-	get_cpu_cap(c);
+	set_cpu_cap(c, X86_FEATURE_OSPKE);
 }
 
 #ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
arch/x86/platform/efi/efi_64.c +47 -23

149 lines not on this page · raw message

arch/x86/xen/enlighten_pv.c +4 -3
index 6ea215cdeada..6d4d8a5700b7 100644
@@ -905,14 +905,15 @@ static u64 xen_read_msr_safe(unsigned int msr, int *err)
 static int xen_write_msr_safe(unsigned int msr, unsigned low, unsigned high)
 {
 	int ret;
+#ifdef CONFIG_X86_64
+	unsigned int which;
+	u64 base;
+#endif
 
 	ret = 0;
 
 	switch (msr) {
 #ifdef CONFIG_X86_64
-		unsigned which;
-		u64 base;
-
 	case MSR_FS_BASE:		which = SEGBASE_FS; goto set;
 	case MSR_KERNEL_GS_BASE:	which = SEGBASE_GS_USER; goto set;
 	case MSR_GS_BASE:		which = SEGBASE_GS_KERNEL; goto set;
block/bfq-cgroup.c +13 -1
index 86a607cf19a1..d0e36d652264 100644
@@ -332,7 +332,7 @@ static void bfqg_put(struct bfq_group *bfqg)
 		kfree(bfqg);
 }
 
-static void bfqg_and_blkg_get(struct bfq_group *bfqg)
+void bfqg_and_blkg_get(struct bfq_group *bfqg)
 {
 	/* see comments in bfq_bic_update_cgroup for why refcounting bfqg */
 	bfqg_get(bfqg);
@@ -634,6 +634,12 @@ void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq,
 		bfq_bfqq_expire(bfqd, bfqd->in_service_queue,
 				false, BFQQE_PREEMPTED);
 
+	/*
+	 * get extra reference to prevent bfqq from being freed in
+	 * next possible deactivate
+	 */
+	bfqq->ref++;
+
 	if (bfq_bfqq_busy(bfqq))
 		bfq_deactivate_bfqq(bfqd, bfqq, false, false);
 	else if (entity->on_st)
@@ -653,6 +659,8 @@ void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq,
 
 	if (!bfqd->in_service_queue && !bfqd->rq_in_driver)
 		bfq_schedule_dispatch(bfqd);
+	/* release extra ref taken above */
+	bfq_put_queue(bfqq);
 }
 
 /**
@@ -1380,6 +1388,10 @@ struct bfq_group *bfqq_group(struct bfq_queue *bfqq)
 	return bfqq->bfqd->root_group;
 }
 
+void bfqg_and_blkg_get(struct bfq_group *bfqg) {}
+
+void bfqg_and_blkg_put(struct bfq_group *bfqg) {}
+
 struct bfq_group *bfq_create_group_hierarchy(struct bfq_data *bfqd, int node)
 {
 	struct bfq_group *bfqg;
block/bfq-iosched.c +5 -5
index 5498d05b873d..48189ff88916 100644
@@ -614,6 +614,10 @@ bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq)
 		bfqq->pos_root = NULL;
 	}
 
+	/* oom_bfqq does not participate in queue merging */
+	if (bfqq == &bfqd->oom_bfqq)
+		return;
+
 	/*
 	 * bfqq cannot be merged any longer (see comments in
 	 * bfq_setup_cooperator): no point in adding bfqq into the
@@ -4822,9 +4826,7 @@ void bfq_put_queue(struct bfq_queue *bfqq)
 {
 	struct bfq_queue *item;
 	struct hlist_node *n;
-#ifdef CONFIG_BFQ_GROUP_IOSCHED
 	struct bfq_group *bfqg = bfqq_group(bfqq);
-#endif
 
 	if (bfqq->bfqd)
 		bfq_log_bfqq(bfqq->bfqd, bfqq, "put_queue: %p %d",
@@ -4897,9 +4899,7 @@ void bfq_put_queue(struct bfq_queue *bfqq)
 		bfqq->bfqd->last_completed_rq_bfqq = NULL;
 
 	kmem_cache_free(bfq_pool, bfqq);
-#ifdef CONFIG_BFQ_GROUP_IOSCHED
 	bfqg_and_blkg_put(bfqg);
-#endif
 }
 
 static void bfq_put_cooperator(struct bfq_queue *bfqq)
@@ -6383,10 +6383,10 @@ static void bfq_exit_queue(struct elevator_queue *e)
 
 	hrtimer_cancel(&bfqd->idle_slice_timer);
 
-#ifdef CONFIG_BFQ_GROUP_IOSCHED
 	/* release oom-queue reference to root group */
 	bfqg_and_blkg_put(bfqd->root_group);
 
+#ifdef CONFIG_BFQ_GROUP_IOSCHED
 	blkcg_deactivate_policy(bfqd->queue, &blkcg_policy_bfq);
 #else
 	spin_lock_irq(&bfqd->lock);
block/bfq-iosched.h +2 -0
index 5d1a519640f6..1553a4e8f7ad 100644
@@ -916,6 +916,7 @@ struct bfq_group {
 
 #else
 struct bfq_group {
+	struct bfq_entity entity;
 	struct bfq_sched_data sched_data;
 
 	struct bfq_queue *async_bfqq[2][IOPRIO_BE_NR];
@@ -978,6 +979,7 @@ struct bfq_group *bfq_find_set_group(struct bfq_data *bfqd,
 struct blkcg_gq *bfqg_to_blkg(struct bfq_group *bfqg);
 struct bfq_group *bfqq_group(struct bfq_queue *bfqq);
 struct bfq_group *bfq_create_group_hierarchy(struct bfq_data *bfqd, int node);
+void bfqg_and_blkg_get(struct bfq_group *bfqg);
 void bfqg_and_blkg_put(struct bfq_group *bfqg);
 
 #ifdef CONFIG_BFQ_GROUP_IOSCHED
block/bfq-wf2q.c +10 -2
index 05f0bf4a1144..44079147e396 100644
@@ -536,7 +536,9 @@ static void bfq_get_entity(struct bfq_entity *entity)
 		bfqq->ref++;
 		bfq_log_bfqq(bfqq->bfqd, bfqq, "get_entity: %p %d",
 			     bfqq, bfqq->ref);
-	}
+	} else
+		bfqg_and_blkg_get(container_of(entity, struct bfq_group,
+					       entity));
 }
 
 /**
@@ -650,8 +652,14 @@ static void bfq_forget_entity(struct bfq_service_tree *st,
 
 	entity->on_st = false;
 	st->wsum -= entity->weight;
-	if (bfqq && !is_in_service)
+	if (is_in_service)
+		return;
+
+	if (bfqq)
 		bfq_put_queue(bfqq);
+	else
+		bfqg_and_blkg_put(container_of(entity, struct bfq_group,
+					       entity));
 }
 
 /**
drivers/android/binder.c +9 -0
index 254f87b627fe..34a6de65aa7e 100644
@@ -5230,6 +5230,7 @@ static int binder_open(struct inode *nodp, struct file *filp)
 		binder_dev = container_of(filp->private_data,
 					  struct binder_device, miscdev);
 	}
+	refcount_inc(&binder_dev->ref);
 	proc->context = &binder_dev->context;
 	binder_alloc_init(&proc->alloc);
 
@@ -5407,6 +5408,7 @@ static int binder_node_release(struct binder_node *node, int refs)
 static void binder_deferred_release(struct binder_proc *proc)
 {
 	struct binder_context *context = proc->context;
+	struct binder_device *device;
 	struct rb_node *n;
 	int threads, nodes, incoming_refs, outgoing_refs, active_transactions;
 
@@ -5423,6 +5425,12 @@ static void binder_deferred_release(struct binder_proc *proc)
 		context->binder_context_mgr_node = NULL;
 	}
 	mutex_unlock(&context->context_mgr_node_lock);
+	device = container_of(proc->context, struct binder_device, context);
+	if (refcount_dec_and_test(&device->ref)) {
+		kfree(context->name);
+		kfree(device);
+	}
+	proc->context = NULL;
 	binder_inner_proc_lock(proc);
 	/*
 	 * Make sure proc stays alive after we
@@ -6079,6 +6087,7 @@ static int __init init_binder_device(const char *name)
 	binder_device->miscdev.minor = MISC_DYNAMIC_MINOR;
 	binder_device->miscdev.name = name;
 
+	refcount_set(&binder_device->ref, 1);
 	binder_device->context.binder_context_mgr_uid = INVALID_UID;
 	binder_device->context.name = name;
 	mutex_init(&binder_device->context.context_mgr_node_lock);
drivers/android/binder_internal.h +2 -0
index ae991097d14d..283d3cb9c16e 100644
@@ -8,6 +8,7 @@
 #include <linux/list.h>
 #include <linux/miscdevice.h>
 #include <linux/mutex.h>
+#include <linux/refcount.h>
 #include <linux/stddef.h>
 #include <linux/types.h>
 #include <linux/uidgid.h>
@@ -33,6 +34,7 @@ struct binder_device {
 	struct miscdevice miscdev;
 	struct binder_context context;
 	struct inode *binderfs_inode;
+	refcount_t ref;
 };
 
 /**
drivers/android/binderfs.c +5 -2
index e2580e5316a2..110e41f920c2 100644
@@ -154,6 +154,7 @@ static int binderfs_binder_device_create(struct inode *ref_inode,
 	if (!name)
 		goto err;
 
+	refcount_set(&device->ref, 1);
 	device->binderfs_inode = inode;
 	device->context.binder_context_mgr_uid = INVALID_UID;
 	device->context.name = name;
@@ -257,8 +258,10 @@ static void binderfs_evict_inode(struct inode *inode)
 	ida_free(&binderfs_minors, device->miscdev.minor);
 	mutex_unlock(&binderfs_minors_mutex);
 
-	kfree(device->context.name);
-	kfree(device);
+	if (refcount_dec_and_test(&device->ref)) {
+		kfree(device->context.name);
+		kfree(device);
+	}
 }
 
 /**
drivers/bus/ti-sysc.c +2 -2
index a0cecb12b6f9..f0bc0841cbc4 100644
@@ -1406,7 +1406,7 @@ static void sysc_init_revision_quirks(struct sysc *ddata)
 }
 
 /* 1-wire needs module's internal clocks enabled for reset */
-static void sysc_clk_enable_quirk_hdq1w(struct sysc *ddata)
+static void sysc_pre_reset_quirk_hdq1w(struct sysc *ddata)
 {
 	int offset = 0x0c;	/* HDQ_CTRL_STATUS */
 	u16 val;
@@ -1494,7 +1494,7 @@ static void sysc_init_module_quirks(struct sysc *ddata)
 		return;
 
 	if (ddata->cfg.quirks & SYSC_MODULE_QUIRK_HDQ1W) {
-		ddata->clk_enable_quirk = sysc_clk_enable_quirk_hdq1w;
+		ddata->clk_disable_quirk = sysc_pre_reset_quirk_hdq1w;
 
 		return;
 	}
drivers/dma-buf/dma-buf.c +1 -0
index 433d91d710e4..0fb0358f0073 100644
@@ -108,6 +108,7 @@ static int dma_buf_release(struct inode *inode, struct file *file)
 		dma_resv_fini(dmabuf->resv);
 
 	module_put(dmabuf->owner);
+	kfree(dmabuf->name);
 	kfree(dmabuf);
 	return 0;
 }
drivers/dma/coh901318.c +0 -4
index e51d836afcc7..1092d4ce723e 100644
@@ -1947,8 +1947,6 @@ static void dma_tc_handle(struct coh901318_chan *cohc)
 		return;
 	}
 
-	spin_lock(&cohc->lock);
-
 	/*
 	 * When we reach this point, at least one queue item
 	 * should have been moved over from cohc->queue to
@@ -1969,8 +1967,6 @@ static void dma_tc_handle(struct coh901318_chan *cohc)
 	if (coh901318_queue_start(cohc) == NULL)
 		cohc->busy = 0;
 
-	spin_unlock(&cohc->lock);
-
 	/*
 	 * This tasklet will remove items from cohc->active
 	 * and thus terminates them.
drivers/dma/imx-sdma.c +3 -2
index c27e206a764c..67736c801f3c 100644
@@ -1328,13 +1328,14 @@ static void sdma_free_chan_resources(struct dma_chan *chan)
 
 	sdma_channel_synchronize(chan);
 
-	if (sdmac->event_id0)
+	if (sdmac->event_id0 >= 0)
 		sdma_event_disable(sdmac, sdmac->event_id0);
 	if (sdmac->event_id1)
 		sdma_event_disable(sdmac, sdmac->event_id1);
 
 	sdmac->event_id0 = 0;
 	sdmac->event_id1 = 0;
+	sdmac->context_loaded = false;
 
 	sdma_set_channel_priority(sdmac, 0);
 
@@ -1628,7 +1629,7 @@ static int sdma_config(struct dma_chan *chan,
 	memcpy(&sdmac->slave_config, dmaengine_cfg, sizeof(*dmaengine_cfg));
 
 	/* Set ENBLn earlier to make sure dma request triggered after that */
-	if (sdmac->event_id0) {
+	if (sdmac->event_id0 >= 0) {
 		if (sdmac->event_id0 >= sdmac->sdma->drvdata->num_events)
 			return -EINVAL;
 		sdma_event_enable(sdmac, sdmac->event_id0);
drivers/dma/tegra20-apb-dma.c +1 -5
index 3a45079d11ec..4a750e29bfb5 100644
@@ -281,7 +281,7 @@ static struct tegra_dma_desc *tegra_dma_desc_get(
 
 	/* Do not allocate if desc are waiting for ack */
 	list_for_each_entry(dma_desc, &tdc->free_dma_desc, node) {
-		if (async_tx_test_ack(&dma_desc->txd)) {
+		if (async_tx_test_ack(&dma_desc->txd) && !dma_desc->cb_count) {
 			list_del(&dma_desc->node);
 			spin_unlock_irqrestore(&tdc->lock, flags);
 			dma_desc->txd.flags = 0;
@@ -756,10 +756,6 @@ static int tegra_dma_terminate_all(struct dma_chan *dc)
 	bool was_busy;
 
 	spin_lock_irqsave(&tdc->lock, flags);
-	if (list_empty(&tdc->pending_sg_req)) {
-		spin_unlock_irqrestore(&tdc->lock, flags);
-		return 0;
-	}
 
 	if (!tdc->busy)
 		goto skip_dma_stop;
drivers/edac/synopsys_edac.c +7 -15
index 2d263382d797..880ffd833718 100644
@@ -479,20 +479,14 @@ static void handle_error(struct mem_ctl_info *mci, struct synps_ecc_status *p)
 		pinf = &p->ceinfo;
 		if (!priv->p_data->quirks) {
 			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "DDR ECC error type:%s Row %d Bank %d Col %d ",
-				  "CE", pinf->row, pinf->bank, pinf->col);
-			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "Bit Position: %d Data: 0x%08x\n",
+				 "DDR ECC error type:%s Row %d Bank %d Col %d Bit Position: %d Data: 0x%08x",
+				 "CE", pinf->row, pinf->bank, pinf->col,
 				 pinf->bitpos, pinf->data);
 		} else {
 			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "DDR ECC error type:%s Row %d Bank %d Col %d ",
-				  "CE", pinf->row, pinf->bank, pinf->col);
-			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "BankGroup Number %d Block Number %d ",
-				 pinf->bankgrpnr, pinf->blknr);
-			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "Bit Position: %d Data: 0x%08x\n",
+				 "DDR ECC error type:%s Row %d Bank %d Col %d BankGroup Number %d Block Number %d Bit Position: %d Data: 0x%08x",
+				 "CE", pinf->row, pinf->bank, pinf->col,
+				 pinf->bankgrpnr, pinf->blknr,
 				 pinf->bitpos, pinf->data);
 		}
 
@@ -509,10 +503,8 @@ static void handle_error(struct mem_ctl_info *mci, struct synps_ecc_status *p)
 				"UE", pinf->row, pinf->bank, pinf->col);
 		} else {
 			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "DDR ECC error type :%s Row %d Bank %d Col %d ",
-				 "UE", pinf->row, pinf->bank, pinf->col);
-			snprintf(priv->message, SYNPS_EDAC_MSG_SIZE,
-				 "BankGroup Number %d Block Number %d",
+				 "DDR ECC error type :%s Row %d Bank %d Col %d BankGroup Number %d Block Number %d",
+				 "UE", pinf->row, pinf->bank, pinf->col,
 				 pinf->bankgrpnr, pinf->blknr);
 		}
 
drivers/firmware/efi/efi.c +2 -2
index 34d41f67b54d..ad8a4bc074fb 100644
@@ -544,7 +544,7 @@ int __init efi_config_parse_tables(void *config_tables, int count, int sz,
 
 		seed = early_memremap(efi.rng_seed, sizeof(*seed));
 		if (seed != NULL) {
-			size = seed->size;
+			size = READ_ONCE(seed->size);
 			early_memunmap(seed, sizeof(*seed));
 		} else {
 			pr_err("Could not map UEFI random seed!\n");
@@ -554,7 +554,7 @@ int __init efi_config_parse_tables(void *config_tables, int count, int sz,
 					      sizeof(*seed) + size);
 			if (seed != NULL) {
 				pr_notice("seeding entropy pool\n");
-				add_bootloader_randomness(seed->bits, seed->size);
+				add_bootloader_randomness(seed->bits, size);
 				early_memunmap(seed, sizeof(*seed) + size);
 			} else {
 				pr_err("Could not map UEFI random seed!\n");
drivers/firmware/imx/imx-scu.c +27 -0
index 04a24a863d6e..35a5f8f8eea5 100644
@@ -29,6 +29,7 @@ struct imx_sc_chan {
 	struct mbox_client cl;
 	struct mbox_chan *ch;
 	int idx;
+	struct completion tx_done;
 };
 
 struct imx_sc_ipc {
@@ -100,6 +101,14 @@ int imx_scu_get_handle(struct imx_sc_ipc **ipc)
 }
 EXPORT_SYMBOL(imx_scu_get_handle);
 
+/* Callback called when the word of a message is ack-ed, eg read by SCU */
+static void imx_scu_tx_done(struct mbox_client *cl, void *mssg, int r)
+{
+	struct imx_sc_chan *sc_chan = container_of(cl, struct imx_sc_chan, cl);
+
+	complete(&sc_chan->tx_done);
+}
+
 static void imx_scu_rx_callback(struct mbox_client *c, void *msg)
 {
 	struct imx_sc_chan *sc_chan = container_of(c, struct imx_sc_chan, cl);
@@ -143,6 +152,19 @@ static int imx_scu_ipc_write(struct imx_sc_ipc *sc_ipc, void *msg)
 
 	for (i = 0; i < hdr->size; i++) {
 		sc_chan = &sc_ipc->chans[i % 4];
+
+		/*
+		 * SCU requires that all messages words are written
+		 * sequentially but linux MU driver implements multiple
+		 * independent channels for each register so ordering between
+		 * different channels must be ensured by SCU API interface.
+		 *
+		 * Wait for tx_done before every send to ensure that no
+		 * queueing happens at the mailbox channel level.
+		 */
+		wait_for_completion(&sc_chan->tx_done);
+		reinit_completion(&sc_chan->tx_done);
+
 		ret = mbox_send_message(sc_chan->ch, &data[i]);
 		if (ret < 0)
 			return ret;
@@ -225,6 +247,11 @@ static int imx_scu_probe(struct platform_device *pdev)
 		cl->knows_txdone = true;
 		cl->rx_callback = imx_scu_rx_callback;
 
+		/* Initial tx_done completion as "done" */
+		cl->tx_done = imx_scu_tx_done;
+		init_completion(&sc_chan->tx_done);
+		complete(&sc_chan->tx_done);
+
 		sc_chan->sc_ipc = sc_ipc;
 		sc_chan->idx = i % 4;
 		sc_chan->ch = mbox_request_channel_byname(cl, chan_name);
drivers/firmware/imx/misc.c +4 -4
index 4b56a587dacd..d073cb3ce699 100644
@@ -16,7 +16,7 @@ struct imx_sc_msg_req_misc_set_ctrl {
 	u32 ctrl;
 	u32 val;
 	u16 resource;
-} __packed;
+} __packed __aligned(4);
 
 struct imx_sc_msg_req_cpu_start {
 	struct imx_sc_rpc_msg hdr;
@@ -24,18 +24,18 @@ struct imx_sc_msg_req_cpu_start {
 	u32 address_lo;
 	u16 resource;
 	u8 enable;
-} __packed;
+} __packed __aligned(4);
 
 struct imx_sc_msg_req_misc_get_ctrl {
 	struct imx_sc_rpc_msg hdr;
 	u32 ctrl;
 	u16 resource;
-} __packed;
+} __packed __aligned(4);
 
 struct imx_sc_msg_resp_misc_get_ctrl {
 	struct imx_sc_rpc_msg hdr;
 	u32 val;
-} __packed;
+} __packed __aligned(4);
 
 /*
  * This function sets a miscellaneous control value.
drivers/firmware/imx/scu-pd.c +1 -1
index b556612207e5..af3ae0087de4 100644
@@ -61,7 +61,7 @@ struct imx_sc_msg_req_set_resource_power_mode {
 	struct imx_sc_rpc_msg hdr;
 	u16 resource;
 	u8 mode;
-} __packed;
+} __packed __aligned(4);
 
 #define IMX_SCU_PD_NAME_SIZE 20
 struct imx_sc_pm_domain {
drivers/gpu/drm/drm_client_modeset.c +2 -1
index 12e748b202d6..18cb88b9105e 100644
@@ -952,7 +952,8 @@ bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation)
 	 * depending on the hardware this may require the framebuffer
 	 * to be in a specific tiling format.
 	 */
-	if ((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180 ||
+	if (((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0 &&
+	     (*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180) ||
 	    !plane->rotation_property)
 		return false;
 
drivers/gpu/drm/drm_modes.c +7 -0
index 88232698d7a0..3fd35e6b9d53 100644
@@ -1672,6 +1672,13 @@ static int drm_mode_parse_cmdline_options(char *str, size_t len,
 		}
 	}
 
+	if (!(rotation & DRM_MODE_ROTATE_MASK))
+		rotation |= DRM_MODE_ROTATE_0;
+
+	/* Make sure there is exactly one rotation defined */
+	if (!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK))
+		return -EINVAL;
+
 	mode->rotation_reflection = rotation;
 
 	return 0;
drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h +0 -1
index 0da860200410..e2ac09894a6d 100644
@@ -83,7 +83,6 @@
 #define VSIZE_OFST			20
 #define LDI_INT_EN			0x741C
 #define FRAME_END_INT_EN_OFST		1
-#define UNDERFLOW_INT_EN_OFST		2
 #define LDI_CTRL			0x7420
 #define BPP_OFST			3
 #define DATA_GATE_EN			BIT(2)
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c +0 -20
index 73cd28a6ea07..86000127d4ee 100644
@@ -46,7 +46,6 @@ struct ade_hw_ctx {
 	struct clk *media_noc_clk;
 	struct clk *ade_pix_clk;
 	struct reset_control *reset;
-	struct work_struct display_reset_wq;
 	bool power_on;
 	int irq;
 
@@ -136,7 +135,6 @@ static void ade_init(struct ade_hw_ctx *ctx)
 	 */
 	ade_update_bits(base + ADE_CTRL, FRM_END_START_OFST,
 			FRM_END_START_MASK, REG_EFFECTIVE_IN_ADEEN_FRMEND);
-	ade_update_bits(base + LDI_INT_EN, UNDERFLOW_INT_EN_OFST, MASK(1), 1);
 }
 
 static bool ade_crtc_mode_fixup(struct drm_crtc *crtc,
@@ -304,17 +302,6 @@ static void ade_crtc_disable_vblank(struct drm_crtc *crtc)
 			MASK(1), 0);
 }
 
-static void drm_underflow_wq(struct work_struct *work)
-{
-	struct ade_hw_ctx *ctx = container_of(work, struct ade_hw_ctx,
-					      display_reset_wq);
-	struct drm_device *drm_dev = ctx->crtc->dev;
-	struct drm_atomic_state *state;
-
-	state = drm_atomic_helper_suspend(drm_dev);
-	drm_atomic_helper_resume(drm_dev, state);
-}
-
 static irqreturn_t ade_irq_handler(int irq, void *data)
 {
 	struct ade_hw_ctx *ctx = data;
@@ -331,12 +318,6 @@ static irqreturn_t ade_irq_handler(int irq, void *data)
 				MASK(1), 1);
 		drm_crtc_handle_vblank(crtc);
 	}
-	if (status & BIT(UNDERFLOW_INT_EN_OFST)) {
-		ade_update_bits(base + LDI_INT_CLR, UNDERFLOW_INT_EN_OFST,
-				MASK(1), 1);
-		DRM_ERROR("LDI underflow!");
-		schedule_work(&ctx->display_reset_wq);
-	}
 
 	return IRQ_HANDLED;
 }
@@ -919,7 +900,6 @@ static void *ade_hw_ctx_alloc(struct platform_device *pdev,
 	if (ret)
 		return ERR_PTR(-EIO);
 
-	INIT_WORK(&ctx->display_reset_wq, drm_underflow_wq);
 	ctx->crtc = crtc;
 
 	return ctx;
drivers/gpu/drm/i915/display/intel_display_power.c +11 -5
index c002f234ff31..2422af6a99a0 100644
@@ -4205,13 +4205,19 @@ static void icl_dbuf_disable(struct drm_i915_private *dev_priv)
 
 static void icl_mbus_init(struct drm_i915_private *dev_priv)
 {
-	u32 val;
+	u32 mask, val;
 
-	val = MBUS_ABOX_BT_CREDIT_POOL1(16) |
-	      MBUS_ABOX_BT_CREDIT_POOL2(16) |
-	      MBUS_ABOX_B_CREDIT(1) |
-	      MBUS_ABOX_BW_CREDIT(1);
+	mask = MBUS_ABOX_BT_CREDIT_POOL1_MASK |
+		MBUS_ABOX_BT_CREDIT_POOL2_MASK |
+		MBUS_ABOX_B_CREDIT_MASK |
+		MBUS_ABOX_BW_CREDIT_MASK;
 
+	val = I915_READ(MBUS_ABOX_CTL);
+	val &= ~mask;
+	val |= MBUS_ABOX_BT_CREDIT_POOL1(16) |
+		MBUS_ABOX_BT_CREDIT_POOL2(16) |
+		MBUS_ABOX_B_CREDIT(1) |
+		MBUS_ABOX_BW_CREDIT(1);
 	I915_WRITE(MBUS_ABOX_CTL, val);
 }
 
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c +1 -1
index 1d27babff0ce..dc9d3a5ec4a6 100644
@@ -375,7 +375,7 @@ static bool assert_mmap_offset(struct drm_i915_private *i915,
 
 	obj = i915_gem_object_create_internal(i915, size);
 	if (IS_ERR(obj))
-		return PTR_ERR(obj);
+		return false;
 
 	err = create_mmap_offset(obj);
 	i915_gem_object_put(obj);
drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c +2 -2
index eb0b4b7dc7cc..03c6d6157e4d 100644
@@ -1112,8 +1112,8 @@ static void mdp5_crtc_wait_for_pp_done(struct drm_crtc *crtc)
 	ret = wait_for_completion_timeout(&mdp5_crtc->pp_completion,
 						msecs_to_jiffies(50));
 	if (ret == 0)
-		dev_warn(dev->dev, "pp done time out, lm=%d\n",
-			 mdp5_cstate->pipeline.mixer->lm);
+		dev_warn_ratelimited(dev->dev, "pp done time out, lm=%d\n",
+				     mdp5_cstate->pipeline.mixer->lm);
 }
 
 static void mdp5_crtc_wait_for_flush_done(struct drm_crtc *crtc)
drivers/gpu/drm/msm/dsi/dsi_manager.c +6 -1
index 271aa7bbca92..73127948f54d 100644
@@ -336,7 +336,7 @@ static int dsi_mgr_connector_get_modes(struct drm_connector *connector)
 	return num;
 }
 
-static int dsi_mgr_connector_mode_valid(struct drm_connector *connector,
+static enum drm_mode_status dsi_mgr_connector_mode_valid(struct drm_connector *connector,
 				struct drm_display_mode *mode)
 {
 	int id = dsi_mgr_connector_get_id(connector);
@@ -479,6 +479,7 @@ static void dsi_mgr_bridge_post_disable(struct drm_bridge *bridge)
 	struct msm_dsi *msm_dsi1 = dsi_mgr_get_dsi(DSI_1);
 	struct mipi_dsi_host *host = msm_dsi->host;
 	struct drm_panel *panel = msm_dsi->panel;
+	struct msm_dsi_pll *src_pll;
 	bool is_dual_dsi = IS_DUAL_DSI();
 	int ret;
 
@@ -519,6 +520,10 @@ static void dsi_mgr_bridge_post_disable(struct drm_bridge *bridge)
 								id, ret);
 	}
 
+	/* Save PLL status if it is a clock source */
+	src_pll = msm_dsi_phy_get_pll(msm_dsi->phy);
+	msm_dsi_pll_save_state(src_pll);
+
 	ret = msm_dsi_host_power_off(host);
 	if (ret)
 		pr_err("%s: host %d power off failed,%d\n", __func__, id, ret);
drivers/gpu/drm/msm/dsi/phy/dsi_phy.c +0 -4
index 3522863a4984..21519229fe73 100644
@@ -724,10 +724,6 @@ void msm_dsi_phy_disable(struct msm_dsi_phy *phy)
 	if (!phy || !phy->cfg->ops.disable)
 		return;
 
-	/* Save PLL status if it is a clock source */
-	if (phy->usecase != MSM_DSI_PHY_SLAVE)
-		msm_dsi_pll_save_state(phy->pll);
-
 	phy->cfg->ops.disable(phy);
 
 	dsi_phy_regulator_disable(phy);
drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c +6 -0
index 8f6100db90ed..aa9385d5bfff 100644
@@ -411,6 +411,12 @@ static int dsi_pll_10nm_vco_prepare(struct clk_hw *hw)
 	if (pll_10nm->slave)
 		dsi_pll_enable_pll_bias(pll_10nm->slave);
 
+	rc = dsi_pll_10nm_vco_set_rate(hw,pll_10nm->vco_current_rate, 0);
+	if (rc) {
+		pr_err("vco_set_rate failed, rc=%d\n", rc);
+		return rc;
+	}
+
 	/* Start PLL */
 	pll_write(pll_10nm->phy_cmn_mmio + REG_DSI_10nm_PHY_CMN_PLL_CNTRL,
 		  0x01);
drivers/gpu/drm/panfrost/panfrost_mmu.c +19 -25

52 lines not on this page · raw message

drivers/gpu/drm/selftests/drm_cmdline_selftests.h +1 -0
index 6d61a0eb5d64..84e6bc050bf2 100644
@@ -53,6 +53,7 @@ cmdline_test(drm_cmdline_test_rotate_0)
 cmdline_test(drm_cmdline_test_rotate_90)
 cmdline_test(drm_cmdline_test_rotate_180)
 cmdline_test(drm_cmdline_test_rotate_270)
+cmdline_test(drm_cmdline_test_rotate_multiple)
 cmdline_test(drm_cmdline_test_rotate_invalid_val)
 cmdline_test(drm_cmdline_test_rotate_truncated)
 cmdline_test(drm_cmdline_test_hmirror)
drivers/gpu/drm/selftests/test-drm_cmdline_parser.c +13 -2
index 013de9d27c35..035f86c5d648 100644
@@ -856,6 +856,17 @@ static int drm_cmdline_test_rotate_270(void *ignored)
 	return 0;
 }
 
+static int drm_cmdline_test_rotate_multiple(void *ignored)
+{
+	struct drm_cmdline_mode mode = { };
+
+	FAIL_ON(drm_mode_parse_command_line_for_connector("720x480,rotate=0,rotate=90",
+							  &no_connector,
+							  &mode));
+
+	return 0;
+}
+
 static int drm_cmdline_test_rotate_invalid_val(void *ignored)
 {
 	struct drm_cmdline_mode mode = { };
@@ -888,7 +899,7 @@ static int drm_cmdline_test_hmirror(void *ignored)
 	FAIL_ON(!mode.specified);
 	FAIL_ON(mode.xres != 720);
 	FAIL_ON(mode.yres != 480);
-	FAIL_ON(mode.rotation_reflection != DRM_MODE_REFLECT_X);
+	FAIL_ON(mode.rotation_reflection != (DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_X));
 
 	FAIL_ON(mode.refresh_specified);
 
@@ -913,7 +924,7 @@ static int drm_cmdline_test_vmirror(void *ignored)
 	FAIL_ON(!mode.specified);
 	FAIL_ON(mode.xres != 720);
 	FAIL_ON(mode.yres != 480);
-	FAIL_ON(mode.rotation_reflection != DRM_MODE_REFLECT_Y);
+	FAIL_ON(mode.rotation_reflection != (DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_Y));
 
 	FAIL_ON(mode.refresh_specified);
 
drivers/gpu/drm/sun4i/sun8i_mixer.c +92 -12

170 lines not on this page · raw message

drivers/gpu/drm/sun4i/sun8i_mixer.h +11 -0
index c6cc94057faf..345b28b0a80a 100644
@@ -93,6 +93,10 @@
 #define SUN8I_MIXER_FBFMT_ABGR1555	17
 #define SUN8I_MIXER_FBFMT_RGBA5551	18
 #define SUN8I_MIXER_FBFMT_BGRA5551	19
+#define SUN8I_MIXER_FBFMT_ARGB2101010	20
+#define SUN8I_MIXER_FBFMT_ABGR2101010	21
+#define SUN8I_MIXER_FBFMT_RGBA1010102	22
+#define SUN8I_MIXER_FBFMT_BGRA1010102	23
 
 #define SUN8I_MIXER_FBFMT_YUYV		0
 #define SUN8I_MIXER_FBFMT_UYVY		1
@@ -109,6 +113,13 @@
 /* format 12 is semi-planar YUV411 UVUV */
 /* format 13 is semi-planar YUV411 VUVU */
 #define SUN8I_MIXER_FBFMT_YUV411	14
+/* format 15 doesn't exist */
+/* format 16 is P010 YVU */
+#define SUN8I_MIXER_FBFMT_P010_YUV	17
+/* format 18 is P210 YVU */
+#define SUN8I_MIXER_FBFMT_P210_YUV	19
+/* format 20 is packed YVU444 10-bit */
+/* format 21 is packed YUV444 10-bit */
 
 /*
  * Sub-engines listed bellow are unused for now. The EN registers are here only
drivers/gpu/drm/sun4i/sun8i_vi_layer.c +58 -8

118 lines not on this page · raw message

drivers/gpu/drm/virtio/virtgpu_object.c +26 -20

64 lines not on this page · raw message

drivers/hwmon/adt7462.c +1 -1
index 9632e2e3c4bb..319a0519ebdb 100644
@@ -413,7 +413,7 @@ static int ADT7462_REG_VOLT(struct adt7462_data *data, int which)
 			return 0x95;
 		break;
 	}
-	return -ENODEV;
+	return 0;
 }
 
 /* Provide labels for sysfs */
drivers/infiniband/core/cm.c +1 -0
index 5920c0085d35..319e4b4ae639 100644
@@ -1228,6 +1228,7 @@ struct ib_cm_id *ib_cm_insert_listen(struct ib_device *device,
 			/* Sharing an ib_cm_id with different handlers is not
 			 * supported */
 			spin_unlock_irqrestore(&cm.lock, flags);
+			ib_destroy_cm_id(cm_id);
 			return ERR_PTR(-EINVAL);
 		}
 		atomic_inc(&cm_id_priv->refcount);
drivers/infiniband/core/cma.c +11 -4
index 9008937f8ed8..6c12da176981 100644
@@ -3155,19 +3155,26 @@ int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
 	int ret;
 
 	id_priv = container_of(id, struct rdma_id_private, id);
+	memcpy(cma_dst_addr(id_priv), dst_addr, rdma_addr_size(dst_addr));
 	if (id_priv->state == RDMA_CM_IDLE) {
 		ret = cma_bind_addr(id, src_addr, dst_addr);
-		if (ret)
+		if (ret) {
+			memset(cma_dst_addr(id_priv), 0,
+			       rdma_addr_size(dst_addr));
 			return ret;
+		}
 	}
 
-	if (cma_family(id_priv) != dst_addr->sa_family)
+	if (cma_family(id_priv) != dst_addr->sa_family) {
+		memset(cma_dst_addr(id_priv), 0, rdma_addr_size(dst_addr));
 		return -EINVAL;
+	}
 
-	if (!cma_comp_exch(id_priv, RDMA_CM_ADDR_BOUND, RDMA_CM_ADDR_QUERY))
+	if (!cma_comp_exch(id_priv, RDMA_CM_ADDR_BOUND, RDMA_CM_ADDR_QUERY)) {
+		memset(cma_dst_addr(id_priv), 0, rdma_addr_size(dst_addr));
 		return -EINVAL;
+	}
 
-	memcpy(cma_dst_addr(id_priv), dst_addr, rdma_addr_size(dst_addr));
 	if (cma_any_addr(dst_addr)) {
 		ret = cma_resolve_loopback(id_priv);
 	} else {
drivers/infiniband/core/core_priv.h +15 -0
index 9b30773f2da0..86a17a87f181 100644
@@ -338,6 +338,21 @@ static inline struct ib_qp *_ib_create_qp(struct ib_device *dev,
 	qp->pd = pd;
 	qp->uobject = uobj;
 	qp->real_qp = qp;
+
+	qp->qp_type = attr->qp_type;
+	qp->qp_context = attr->qp_context;
+	qp->rwq_ind_tbl = attr->rwq_ind_tbl;
+	qp->send_cq = attr->send_cq;
+	qp->recv_cq = attr->recv_cq;
+	qp->srq = attr->srq;
+	qp->rwq_ind_tbl = attr->rwq_ind_tbl;
+	qp->event_handler = attr->event_handler;
+
+	atomic_set(&qp->usecnt, 0);
+	spin_lock_init(&qp->mr_lock);
+	INIT_LIST_HEAD(&qp->rdma_mrs);
+	INIT_LIST_HEAD(&qp->sig_mrs);
+
 	/*
 	 * We don't track XRC QPs for now, because they don't have PD
 	 * and more importantly they are created internaly by driver,
drivers/infiniband/core/iwcm.c +3 -1
index ade71823370f..da8adadf4755 100644
@@ -159,8 +159,10 @@ static void dealloc_work_entries(struct iwcm_id_private *cm_id_priv)
 {
 	struct list_head *e, *tmp;
 
-	list_for_each_safe(e, tmp, &cm_id_priv->work_free_list)
+	list_for_each_safe(e, tmp, &cm_id_priv->work_free_list) {
+		list_del(e);
 		kfree(list_entry(e, struct iwcm_work, free_list));
+	}
 }
 
 static int alloc_work_entries(struct iwcm_id_private *cm_id_priv, int count)
drivers/infiniband/core/nldev.c +2 -0
index c03af08b80e7..ad4301ecfa59 100644
@@ -1711,6 +1711,8 @@ static int nldev_stat_set_doit(struct sk_buff *skb, struct nlmsghdr *nlh,
 		if (ret)
 			goto err_msg;
 	} else {
+		if (!tb[RDMA_NLDEV_ATTR_RES_LQPN])
+			goto err_msg;
 		qpn = nla_get_u32(tb[RDMA_NLDEV_ATTR_RES_LQPN]);
 		if (tb[RDMA_NLDEV_ATTR_STAT_COUNTER_ID]) {
 			cntn = nla_get_u32(tb[RDMA_NLDEV_ATTR_STAT_COUNTER_ID]);
drivers/infiniband/core/rw.c +20 -11
index 5337393d4dfe..bb10cbfa0070 100644
@@ -268,6 +268,23 @@ static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
 	return 1;
 }
 
+static void rdma_rw_unmap_sg(struct ib_device *dev, struct scatterlist *sg,
+			     u32 sg_cnt, enum dma_data_direction dir)
+{
+	if (is_pci_p2pdma_page(sg_page(sg)))
+		pci_p2pdma_unmap_sg(dev->dma_device, sg, sg_cnt, dir);
+	else
+		ib_dma_unmap_sg(dev, sg, sg_cnt, dir);
+}
+
+static int rdma_rw_map_sg(struct ib_device *dev, struct scatterlist *sg,
+			  u32 sg_cnt, enum dma_data_direction dir)
+{
+	if (is_pci_p2pdma_page(sg_page(sg)))
+		return pci_p2pdma_map_sg(dev->dma_device, sg, sg_cnt, dir);
+	return ib_dma_map_sg(dev, sg, sg_cnt, dir);
+}
+
 /**
  * rdma_rw_ctx_init - initialize a RDMA READ/WRITE context
  * @ctx:	context to initialize
@@ -290,11 +307,7 @@ int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
 	struct ib_device *dev = qp->pd->device;
 	int ret;
 
-	if (is_pci_p2pdma_page(sg_page(sg)))
-		ret = pci_p2pdma_map_sg(dev->dma_device, sg, sg_cnt, dir);
-	else
-		ret = ib_dma_map_sg(dev, sg, sg_cnt, dir);
-
+	ret = rdma_rw_map_sg(dev, sg, sg_cnt, dir);
 	if (!ret)
 		return -ENOMEM;
 	sg_cnt = ret;
@@ -333,7 +346,7 @@ int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
 	return ret;
 
 out_unmap_sg:
-	ib_dma_unmap_sg(dev, sg, sg_cnt, dir);
+	rdma_rw_unmap_sg(dev, sg, sg_cnt, dir);
 	return ret;
 }
 EXPORT_SYMBOL(rdma_rw_ctx_init);
@@ -583,11 +596,7 @@ void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
 		break;
 	}
 
-	if (is_pci_p2pdma_page(sg_page(sg)))
-		pci_p2pdma_unmap_sg(qp->pd->device->dma_device, sg,
-				    sg_cnt, dir);
-	else
-		ib_dma_unmap_sg(qp->pd->device, sg, sg_cnt, dir);
+	rdma_rw_unmap_sg(qp->pd->device, sg, sg_cnt, dir);
 }
 EXPORT_SYMBOL(rdma_rw_ctx_destroy);
 
drivers/infiniband/core/security.c +9 -5
index 2b4d80393bd0..2d5608315dc8 100644
@@ -340,15 +340,19 @@ static struct ib_ports_pkeys *get_new_pps(const struct ib_qp *qp,
 		return NULL;
 
 	if (qp_attr_mask & IB_QP_PORT)
-		new_pps->main.port_num =
-			(qp_pps) ? qp_pps->main.port_num : qp_attr->port_num;
+		new_pps->main.port_num = qp_attr->port_num;
+	else if (qp_pps)
+		new_pps->main.port_num = qp_pps->main.port_num;
+
 	if (qp_attr_mask & IB_QP_PKEY_INDEX)
-		new_pps->main.pkey_index = (qp_pps) ? qp_pps->main.pkey_index :
-						      qp_attr->pkey_index;
+		new_pps->main.pkey_index = qp_attr->pkey_index;
+	else if (qp_pps)
+		new_pps->main.pkey_index = qp_pps->main.pkey_index;
+
 	if ((qp_attr_mask & IB_QP_PKEY_INDEX) && (qp_attr_mask & IB_QP_PORT))
 		new_pps->main.state = IB_PORT_PKEY_VALID;
 
-	if (!(qp_attr_mask & (IB_QP_PKEY_INDEX || IB_QP_PORT)) && qp_pps) {
+	if (!(qp_attr_mask & (IB_QP_PKEY_INDEX | IB_QP_PORT)) && qp_pps) {
 		new_pps->main.port_num = qp_pps->main.port_num;
 		new_pps->main.pkey_index = qp_pps->main.pkey_index;
 		if (qp_pps->main.state != IB_PORT_PKEY_NOT_VALID)
drivers/infiniband/core/uverbs_cmd.c +0 -10
index 300353c1e5f1..e2ddcb0dc4ee 100644
@@ -1431,17 +1431,7 @@ static int create_qp(struct uverbs_attr_bundle *attrs,
 		if (ret)
 			goto err_cb;
 
-		qp->pd		  = pd;
-		qp->send_cq	  = attr.send_cq;
-		qp->recv_cq	  = attr.recv_cq;
-		qp->srq		  = attr.srq;
-		qp->rwq_ind_tbl	  = ind_tbl;
-		qp->event_handler = attr.event_handler;
-		qp->qp_context	  = attr.qp_context;
-		qp->qp_type	  = attr.qp_type;
-		atomic_set(&qp->usecnt, 0);
 		atomic_inc(&pd->usecnt);
-		qp->port = 0;
 		if (attr.send_cq)
 			atomic_inc(&attr.send_cq->usecnt);
 		if (attr.recv_cq)
drivers/infiniband/core/verbs.c +0 -10
index 35c2841a569e..6c4093d0a91d 100644
@@ -1180,16 +1180,6 @@ struct ib_qp *ib_create_qp_user(struct ib_pd *pd,
 	if (ret)
 		goto err;
 
-	qp->qp_type    = qp_init_attr->qp_type;
-	qp->rwq_ind_tbl = qp_init_attr->rwq_ind_tbl;
-
-	atomic_set(&qp->usecnt, 0);
-	qp->mrs_used = 0;
-	spin_lock_init(&qp->mr_lock);
-	INIT_LIST_HEAD(&qp->rdma_mrs);
-	INIT_LIST_HEAD(&qp->sig_mrs);
-	qp->port = 0;
-
 	if (qp_init_attr->qp_type == IB_QPT_XRC_TGT) {
 		struct ib_qp *xrc_qp =
 			create_xrc_qp_user(qp, qp_init_attr, udata);
drivers/infiniband/hw/hfi1/verbs.c +3 -1
index 089e201d7550..2f6323ad9c59 100644
@@ -515,10 +515,11 @@ static inline void hfi1_handle_packet(struct hfi1_packet *packet,
 				       opa_get_lid(packet->dlid, 9B));
 		if (!mcast)
 			goto drop;
+		rcu_read_lock();
 		list_for_each_entry_rcu(p, &mcast->qp_list, list) {
 			packet->qp = p->qp;
 			if (hfi1_do_pkey_check(packet))
-				goto drop;
+				goto unlock_drop;
 			spin_lock_irqsave(&packet->qp->r_lock, flags);
 			packet_handler = qp_ok(packet);
 			if (likely(packet_handler))
@@ -527,6 +528,7 @@ static inline void hfi1_handle_packet(struct hfi1_packet *packet,
 				ibp->rvp.n_pkt_drops++;
 			spin_unlock_irqrestore(&packet->qp->r_lock, flags);
 		}
+		rcu_read_unlock();
 		/*
 		 * Notify rvt_multicast_detach() if it is waiting for us
 		 * to finish.
drivers/infiniband/hw/qib/qib_verbs.c +2 -0
index 33778d451b82..5ef93f8f17a1 100644
@@ -329,8 +329,10 @@ void qib_ib_rcv(struct qib_ctxtdata *rcd, void *rhdr, void *data, u32 tlen)
 		if (mcast == NULL)
 			goto drop;
 		this_cpu_inc(ibp->pmastats->n_multicast_rcv);
+		rcu_read_lock();
 		list_for_each_entry_rcu(p, &mcast->qp_list, list)
 			qib_qp_rcv(rcd, hdr, 1, data, tlen, p->qp);
+		rcu_read_unlock();
 		/*
 		 * Notify rvt_multicast_detach() if it is waiting for us
 		 * to finish.
drivers/infiniband/sw/siw/siw_main.c +3 -3
index fb01407a310f..130b1e31b978 100644
@@ -379,6 +379,9 @@ static struct siw_device *siw_device_create(struct net_device *netdev)
 	base_dev->dev.dma_ops = &dma_virt_ops;
 	base_dev->num_comp_vectors = num_possible_cpus();
 
+	xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1);
+	xa_init_flags(&sdev->mem_xa, XA_FLAGS_ALLOC1);
+
 	ib_set_device_ops(base_dev, &siw_device_ops);
 	rv = ib_device_set_netdev(base_dev, netdev, 1);
 	if (rv)
@@ -406,9 +409,6 @@ static struct siw_device *siw_device_create(struct net_device *netdev)
 	sdev->attrs.max_srq_wr = SIW_MAX_SRQ_WR;
 	sdev->attrs.max_srq_sge = SIW_MAX_SGE;
 
-	xa_init_flags(&sdev->qp_xa, XA_FLAGS_ALLOC1);
-	xa_init_flags(&sdev->mem_xa, XA_FLAGS_ALLOC1);
-
 	INIT_LIST_HEAD(&sdev->cep_list);
 	INIT_LIST_HEAD(&sdev->qp_list);
 
drivers/iommu/amd_iommu_init.c +12 -1
index d7cbca8bf2cd..b5ae9f7c0510 100644
@@ -2533,6 +2533,7 @@ static int __init early_amd_iommu_init(void)
 	struct acpi_table_header *ivrs_base;
 	acpi_status status;
 	int i, remap_cache_sz, ret = 0;
+	u32 pci_id;
 
 	if (!amd_iommu_detected)
 		return -ENODEV;
@@ -2620,6 +2621,16 @@ static int __init early_amd_iommu_init(void)
 	if (ret)
 		goto out;
 
+	/* Disable IOMMU if there's Stoney Ridge graphics */
+	for (i = 0; i < 32; i++) {
+		pci_id = read_pci_config(0, i, 0, 0);
+		if ((pci_id & 0xffff) == 0x1002 && (pci_id >> 16) == 0x98e4) {
+			pr_info("Disable IOMMU on Stoney Ridge\n");
+			amd_iommu_disabled = true;
+			break;
+		}
+	}
+
 	/* Disable any previously enabled IOMMUs */
 	if (!is_kdump_kernel() || amd_iommu_disabled)
 		disable_iommus();
@@ -2728,7 +2739,7 @@ static int __init state_next(void)
 		ret = early_amd_iommu_init();
 		init_state = ret ? IOMMU_INIT_ERROR : IOMMU_ACPI_FINISHED;
 		if (init_state == IOMMU_ACPI_FINISHED && amd_iommu_disabled) {
-			pr_info("AMD IOMMU disabled on kernel command-line\n");
+			pr_info("AMD IOMMU disabled\n");
 			init_state = IOMMU_CMDLINE_DISABLED;
 			ret = -EINVAL;
 		}
drivers/md/dm-cache-target.c +2 -2
index 8346e6d1816c..f595e9867cbe 100644
@@ -2867,8 +2867,8 @@ static void cache_postsuspend(struct dm_target *ti)
 	prevent_background_work(cache);
 	BUG_ON(atomic_read(&cache->nr_io_migrations));
 
-	cancel_delayed_work(&cache->waker);
-	flush_workqueue(cache->wq);
+	cancel_delayed_work_sync(&cache->waker);
+	drain_workqueue(cache->wq);
 	WARN_ON(cache->tracker.in_flight);
 
 	/*
drivers/md/dm-integrity.c +33 -17

150 lines not on this page · raw message

drivers/md/dm-thin-metadata.c +1 -1
index 8bb723f1a569..4cd8868f8004 100644
@@ -960,9 +960,9 @@ int dm_pool_metadata_close(struct dm_pool_metadata *pmd)
 			DMWARN("%s: __commit_transaction() failed, error = %d",
 			       __func__, r);
 	}
+	pmd_write_unlock(pmd);
 	if (!pmd->fail_io)
 		__destroy_persistent_data_objects(pmd);
-	pmd_write_unlock(pmd);
 
 	kfree(pmd);
 	return 0;
drivers/md/dm-writecache.c +11 -3
index 07c1b0334f57..184dabce1bad 100644
@@ -625,6 +625,12 @@ static void writecache_add_to_freelist(struct dm_writecache *wc, struct wc_entry
 	wc->freelist_size++;
 }
 
+static inline void writecache_verify_watermark(struct dm_writecache *wc)
+{
+	if (unlikely(wc->freelist_size + wc->writeback_size <= wc->freelist_high_watermark))
+		queue_work(wc->writeback_wq, &wc->writeback_work);
+}
+
 static struct wc_entry *writecache_pop_from_freelist(struct dm_writecache *wc)
 {
 	struct wc_entry *e;
@@ -646,8 +652,8 @@ static struct wc_entry *writecache_pop_from_freelist(struct dm_writecache *wc)
 		list_del(&e->lru);
 	}
 	wc->freelist_size--;
-	if (unlikely(wc->freelist_size + wc->writeback_size <= wc->freelist_high_watermark))
-		queue_work(wc->writeback_wq, &wc->writeback_work);
+
+	writecache_verify_watermark(wc);
 
 	return e;
 }
@@ -838,7 +844,7 @@ static void writecache_suspend(struct dm_target *ti)
 	}
 	wc_unlock(wc);
 
-	flush_workqueue(wc->writeback_wq);
+	drain_workqueue(wc->writeback_wq);
 
 	wc_lock(wc);
 	if (flush_on_suspend)
@@ -961,6 +967,8 @@ static void writecache_resume(struct dm_target *ti)
 		writecache_commit_flushed(wc, false);
 	}
 
+	writecache_verify_watermark(wc);
+
 	wc_unlock(wc);
 }
 
drivers/md/dm-zoned-target.c +4 -4
index 4574e0dedbd6..03267609b515 100644
@@ -533,8 +533,9 @@ static int dmz_queue_chunk_work(struct dmz_target *dmz, struct bio *bio)
 
 	/* Get the BIO chunk work. If one is not active yet, create one */
 	cw = radix_tree_lookup(&dmz->chunk_rxtree, chunk);
-	if (!cw) {
-
+	if (cw) {
+		dmz_get_chunk_work(cw);
+	} else {
 		/* Create a new chunk work */
 		cw = kmalloc(sizeof(struct dm_chunk_work), GFP_NOIO);
 		if (unlikely(!cw)) {
@@ -543,7 +544,7 @@ static int dmz_queue_chunk_work(struct dmz_target *dmz, struct bio *bio)
 		}
 
 		INIT_WORK(&cw->work, dmz_chunk_work);
-		refcount_set(&cw->refcount, 0);
+		refcount_set(&cw->refcount, 1);
 		cw->target = dmz;
 		cw->chunk = chunk;
 		bio_list_init(&cw->bio_list);
@@ -556,7 +557,6 @@ static int dmz_queue_chunk_work(struct dmz_target *dmz, struct bio *bio)
 	}
 
 	bio_list_add(&cw->bio_list, bio);
-	dmz_get_chunk_work(cw);
 
 	dmz_reclaim_bio_acc(dmz->reclaim);
 	if (queue_work(dmz->chunk_wq, &cw->work))
drivers/md/dm.c +11 -11
index 6d3cc235f842..cf71a2277d60 100644
@@ -1809,7 +1809,8 @@ static int dm_any_congested(void *congested_data, int bdi_bits)
 			 * With request-based DM we only need to check the
 			 * top-level queue for congestion.
 			 */
-			r = md->queue->backing_dev_info->wb.state & bdi_bits;
+			struct backing_dev_info *bdi = md->queue->backing_dev_info;
+			r = bdi->wb.congested->state & bdi_bits;
 		} else {
 			map = dm_get_live_table_fast(md);
 			if (map)
@@ -1875,15 +1876,6 @@ static const struct dax_operations dm_dax_ops;
 
 static void dm_wq_work(struct work_struct *work);
 
-static void dm_init_normal_md_queue(struct mapped_device *md)
-{
-	/*
-	 * Initialize aspects of queue that aren't relevant for blk-mq
-	 */
-	md->queue->backing_dev_info->congested_data = md;
-	md->queue->backing_dev_info->congested_fn = dm_any_congested;
-}
-
 static void cleanup_mapped_device(struct mapped_device *md)
 {
 	if (md->wq)
@@ -2270,6 +2262,12 @@ struct queue_limits *dm_get_queue_limits(struct mapped_device *md)
 }
 EXPORT_SYMBOL_GPL(dm_get_queue_limits);
 
+static void dm_init_congested_fn(struct mapped_device *md)
+{
+	md->queue->backing_dev_info->congested_data = md;
+	md->queue->backing_dev_info->congested_fn = dm_any_congested;
+}
+
 /*
  * Setup the DM device's queue based on md's type
  */
@@ -2286,11 +2284,12 @@ int dm_setup_md_queue(struct mapped_device *md, struct dm_table *t)
 			DMERR("Cannot initialize queue for request-based dm-mq mapped device");
 			return r;
 		}
+		dm_init_congested_fn(md);
 		break;
 	case DM_TYPE_BIO_BASED:
 	case DM_TYPE_DAX_BIO_BASED:
 	case DM_TYPE_NVME_BIO_BASED:
-		dm_init_normal_md_queue(md);
+		dm_init_congested_fn(md);
 		break;
 	case DM_TYPE_NONE:
 		WARN_ON_ONCE(true);
@@ -2389,6 +2388,7 @@ static void __dm_destroy(struct mapped_device *md, bool wait)
 	map = dm_get_live_table(md, &srcu_idx);
 	if (!dm_suspended_md(md)) {
 		dm_table_presuspend_targets(map);
+		set_bit(DMF_SUSPENDED, &md->flags);
 		dm_table_postsuspend_targets(map);
 	}
 	/* dm_put_live_table must be before msleep, otherwise deadlock is possible */
drivers/media/mc/mc-entity.c +2 -2
index 7c429ce98bae..668770e9f609 100644
@@ -639,9 +639,9 @@ int media_get_pad_index(struct media_entity *entity, bool is_sink,
 		return -EINVAL;
 
 	for (i = 0; i < entity->num_pads; i++) {
-		if (entity->pads[i].flags == MEDIA_PAD_FL_SINK)
+		if (entity->pads[i].flags & MEDIA_PAD_FL_SINK)
 			pad_is_sink = true;
-		else if (entity->pads[i].flags == MEDIA_PAD_FL_SOURCE)
+		else if (entity->pads[i].flags & MEDIA_PAD_FL_SOURCE)
 			pad_is_sink = false;
 		else
 			continue;	/* This is an error! */
drivers/media/platform/vicodec/codec-v4l2-fwht.c +9 -25
index 3c93d9232c3c..b6e39fbd8ad5 100644
@@ -27,17 +27,17 @@ static const struct v4l2_fwht_pixfmt_info v4l2_fwht_pixfmts[] = {
 	{ V4L2_PIX_FMT_BGR24,   3, 3, 1, 3, 3, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_RGB24,   3, 3, 1, 3, 3, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_HSV24,   3, 3, 1, 3, 3, 1, 1, 3, 1, FWHT_FL_PIXENC_HSV},
-	{ V4L2_PIX_FMT_BGR32,   4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_XBGR32,  4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_BGR32,   4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_XBGR32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_ABGR32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_RGB32,   4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_XRGB32,  4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_RGB32,   4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_XRGB32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_ARGB32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_BGRX32,  4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_BGRX32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_BGRA32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_RGBX32,  4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_RGB},
+	{ V4L2_PIX_FMT_RGBX32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
 	{ V4L2_PIX_FMT_RGBA32,  4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_RGB},
-	{ V4L2_PIX_FMT_HSV32,   4, 4, 1, 4, 4, 1, 1, 3, 1, FWHT_FL_PIXENC_HSV},
+	{ V4L2_PIX_FMT_HSV32,   4, 4, 1, 4, 4, 1, 1, 4, 1, FWHT_FL_PIXENC_HSV},
 	{ V4L2_PIX_FMT_GREY,    1, 1, 1, 1, 0, 1, 1, 1, 1, FWHT_FL_PIXENC_RGB},
 };
 
@@ -175,22 +175,14 @@ static int prepare_raw_frame(struct fwht_raw_frame *rf,
 	case V4L2_PIX_FMT_RGB32:
 	case V4L2_PIX_FMT_XRGB32:
 	case V4L2_PIX_FMT_HSV32:
-		rf->cr = rf->luma + 1;
-		rf->cb = rf->cr + 2;
-		rf->luma += 2;
-		break;
-	case V4L2_PIX_FMT_BGR32:
-	case V4L2_PIX_FMT_XBGR32:
-		rf->cb = rf->luma;
-		rf->cr = rf->cb + 2;
-		rf->luma++;
-		break;
 	case V4L2_PIX_FMT_ARGB32:
 		rf->alpha = rf->luma;
 		rf->cr = rf->luma + 1;
 		rf->cb = rf->cr + 2;
 		rf->luma += 2;
 		break;
+	case V4L2_PIX_FMT_BGR32:
+	case V4L2_PIX_FMT_XBGR32:
 	case V4L2_PIX_FMT_ABGR32:
 		rf->cb = rf->luma;
 		rf->cr = rf->cb + 2;
@@ -198,10 +190,6 @@ static int prepare_raw_frame(struct fwht_raw_frame *rf,
 		rf->alpha = rf->cr + 1;
 		break;
 	case V4L2_PIX_FMT_BGRX32:
-		rf->cb = rf->luma + 1;
-		rf->cr = rf->cb + 2;
-		rf->luma += 2;
-		break;
 	case V4L2_PIX_FMT_BGRA32:
 		rf->alpha = rf->luma;
 		rf->cb = rf->luma + 1;
@@ -209,10 +197,6 @@ static int prepare_raw_frame(struct fwht_raw_frame *rf,
 		rf->luma += 2;
 		break;
 	case V4L2_PIX_FMT_RGBX32:
-		rf->cr = rf->luma;
-		rf->cb = rf->cr + 2;
-		rf->luma++;
-		break;
 	case V4L2_PIX_FMT_RGBA32:
 		rf->alpha = rf->luma + 3;
 		rf->cr = rf->luma;
drivers/media/v4l2-core/v4l2-mem2mem.c +2 -2
index 19937dd3c6f6..3d6a6306cec7 100644
@@ -809,12 +809,12 @@ int v4l2_m2m_register_media_controller(struct v4l2_m2m_dev *m2m_dev,
 		goto err_rel_entity1;
 
 	/* Connect the three entities */
-	ret = media_create_pad_link(m2m_dev->source, 0, &m2m_dev->proc, 1,
+	ret = media_create_pad_link(m2m_dev->source, 0, &m2m_dev->proc, 0,
 			MEDIA_LNK_FL_IMMUTABLE | MEDIA_LNK_FL_ENABLED);
 	if (ret)
 		goto err_rel_entity2;
 
-	ret = media_create_pad_link(&m2m_dev->proc, 0, &m2m_dev->sink, 0,
+	ret = media_create_pad_link(&m2m_dev->proc, 1, &m2m_dev->sink, 0,
 			MEDIA_LNK_FL_IMMUTABLE | MEDIA_LNK_FL_ENABLED);
 	if (ret)
 		goto err_rm_links0;
drivers/misc/habanalabs/device.c +4 -1
index 459fee70a597..a7a4fed4d899 100644
@@ -600,7 +600,9 @@ int hl_device_set_debug_mode(struct hl_device *hdev, bool enable)
 			goto out;
 		}
 
-		hdev->asic_funcs->halt_coresight(hdev);
+		if (!hdev->hard_reset_pending)
+			hdev->asic_funcs->halt_coresight(hdev);
+
 		hdev->in_debug = 0;
 
 		goto out;
@@ -1185,6 +1187,7 @@ int hl_device_init(struct hl_device *hdev, struct class *hclass)
 	if (hdev->asic_funcs->get_hw_state(hdev) == HL_DEVICE_HW_STATE_DIRTY) {
 		dev_info(hdev->dev,
 			"H/W state is dirty, must reset before initializing\n");
+		hdev->asic_funcs->halt_engines(hdev, true);
 		hdev->asic_funcs->hw_fini(hdev, true);
 	}
 
drivers/misc/habanalabs/goya/goya.c +42 -2

103 lines not on this page · raw message

drivers/net/dsa/bcm_sf2.c +1 -2
index fecd5e674e04..46dc913da852 100644
@@ -69,8 +69,7 @@ static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port)
 		/* Force link status for IMP port */
 		reg = core_readl(priv, offset);
 		reg |= (MII_SW_OR | LINK_STS);
-		if (priv->type == BCM7278_DEVICE_ID)
-			reg |= GMII_SPEED_UP_2G;
+		reg &= ~GMII_SPEED_UP_2G;
[… more lines in the raw message]

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

drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c +17 -2
index 52646855495e..873f9865f0d1 100644

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

drivers/net/ethernet/cavium/thunder/thunder_bgx.c +59 -3

62 lines not on this page · raw message

drivers/net/ethernet/cavium/thunder/thunder_bgx.h +9 -0
index 25888706bdcd..cdea49392185 100644

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

drivers/net/ethernet/davicom/dm9000.c +2 -0
index cce90b5925d9..70060c51854f 100644

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

drivers/net/ethernet/intel/ice/ice_ethtool.c +0 -7
index 1fe9f6050635..62673e27af0e 100644

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

drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c +4 -1
index 2739ed2a2911..841abe75652c 100644

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

drivers/net/ethernet/micrel/ks8851_mll.c +9 -44

53 lines not on this page · raw message

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +8 -5
index 582176d869c3..89a6ae2b17e3 100644

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

drivers/nvme/host/core.c +1 -1
index 7dacfd102a99..b8fe42f4b3c5 100644

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

drivers/nvme/host/pci.c +14 -1
index 570c75c92e29..cd64ddb129e5 100644

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

drivers/phy/motorola/phy-mapphone-mdm6600.c +24 -3
index f20524f0c21d..94a34cf75eb3 100644

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

drivers/regulator/stm32-vrefbuf.c +2 -1
index 8919a5130bec..25f24df9aa82 100644

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

drivers/s390/cio/blacklist.c +3 -2
index 2a3f874a21d5..9cebff8e8d74 100644

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

drivers/s390/cio/qdio_setup.c +2 -1
index cd164886132f..ee0b3c586211 100644

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

drivers/s390/net/qeth_core_main.c +11 -12
index 23852888eb2c..b727d1e34523 100644

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

drivers/scsi/megaraid/megaraid_sas_fusion.c +3 -2
index 46bc062d873e..d86838801805 100644

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

drivers/soc/imx/soc-imx-scu.c +1 -1
index c68882eb80f7..f638e7790470 100644

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

drivers/spi/atmel-quadspi.c +11 -0
index fd8007ebb145..13def7f78b9e 100644

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

drivers/spi/spi-bcm63xx-hsspi.c +0 -1
index c6836a931dbf..36f7eb8ab2df 100644

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

drivers/spi/spidev.c +5 -0
index 3ea9d8a3e6e8..ab2c3848f5bf 100644

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

drivers/staging/media/hantro/hantro_drv.c +2 -2
index 6d9d41170832..32e5966ba5c5 100644

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

drivers/staging/speakup/selection.c +0 -2
index a8b4d0c5ab7e..032f3264fba1 100644

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

drivers/tty/serial/8250/8250_exar.c +33 -0
index 597eb9d16f21..e1268646ee56 100644

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

drivers/tty/serial/ar933x_uart.c +8 -0
index 3bdd56a1021b..ea12f10610b6 100644

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

drivers/tty/serial/fsl_lpuart.c +24 -15
index 3f64b08f50ef..d2fc050a3445 100644

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

drivers/tty/serial/mvebu-uart.c +1 -1
index c12a12556339..4e9a590712cb 100644

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

drivers/tty/vt/selection.c +23 -3
index 44d974d4159f..d7d2e4b844bc 100644

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

drivers/tty/vt/vt.c +0 -2
index 3b4ccc2a30c1..e9e27ba69d5d 100644

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

drivers/usb/cdns3/gadget.c +15 -4
index 02f6ca2cb1ba..f624cc87cbab 100644

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

drivers/usb/core/hub.c +6 -2
index f381faa10f15..243577656177 100644

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

drivers/usb/core/port.c +8 -2
index bbbb35fa639f..235a7c645503 100644

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

drivers/usb/core/quirks.c +3 -0
index 2b24336a72e5..2dac3e7cdd97 100644

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

drivers/usb/dwc3/gadget.c +8 -1
index e0cb1c2d5675..6ac02ba5e4a1 100644

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

drivers/usb/gadget/composite.c +18 -6
index 0d45d7a4f949..d7871636fced 100644

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

drivers/usb/gadget/function/f_fs.c +3 -2
index ced2581cf99f..a9a711e04614 100644

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

drivers/usb/gadget/function/u_serial.c +3 -1
index bb1e2e1d0076..038c445a4e9b 100644

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

drivers/usb/storage/unusual_devs.h +6 -0
index 1cd9b6305b06..1880f3e13f57 100644

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

drivers/video/console/vgacon.c +3 -0
index c6b3bdbbdbc9..bfaa9ec4bc1f 100644

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

drivers/watchdog/da9062_wdt.c +0 -7
index e149e66a6ea9..e92f38fcb7a4 100644

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

fs/btrfs/inode.c +3 -1
index 50feb01f27f3..c056d12cbb3c 100644

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

fs/cifs/cifsglob.h +7 -0
index 53611d7e9d28..f9cbdfc1591b 100644

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

fs/cifs/cifsproto.h +3 -2
index fe597d3d5208..f18da99a6b55 100644

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

fs/cifs/cifssmb.c +2 -1
index 4f554f019a98..c8494fa5e19d 100644

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

fs/cifs/file.c +12 -7
index 969543034b4d..0dbe47e89720 100644

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

fs/cifs/inode.c +8 -4
index aafcd79c4772..7c5e983fe385 100644

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

fs/cifs/smb1ops.c +1 -1
index 514810694c0f..195766221a7a 100644

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

fs/cifs/smb2inode.c +2 -2
index 4121ac1163ca..f2a6f7f28340 100644

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

fs/cifs/smb2ops.c +2 -1
index b75d208d4b2b..99420608d2ec 100644

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

fs/cifs/smb2pdu.c +1 -0
index c6fc6582ee7b..c8f304cae3f3 100644

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

fs/fat/inode.c +7 -12
index 5f04c5c810fb..d40cbad16659 100644

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

include/linux/mm.h +4 -0
index b249d2e033aa..afa77b683a04 100644

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

kernel/kprobes.c +43 -24

67 lines not on this page · raw message

kernel/trace/blktrace.c +4 -1
index 4b2ad374167b..e7e483cdbea6 100644

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

mm/huge_memory.c +1 -2
index 6c9689281c07..0d96831b6ded 100644

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

mm/memory_hotplug.c +7 -1
index 0aa154be3a52..c054945a9a74 100644

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

mm/mprotect.c +36 -2
index 7967825f6d33..95dee88f782b 100644

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

security/integrity/platform_certs/load_uefi.c +26 -14
index 81b19c52832b..020fc7a11ef0 100644

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

sound/hda/ext/hdac_ext_controller.c +6 -3
index cfab60d88c92..09ff209df4a3 100644

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

sound/pci/hda/patch_realtek.c +27 -4
index 4f78b40831d8..b6b837a5bdaf 100644

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

sound/soc/codecs/pcm512x.c +5 -3
index 861210f6bf4f..4cbef9affffd 100644

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

sound/soc/intel/skylake/skl-debug.c +17 -15
index 3466675f2678..a15aa2ffa681 100644

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

sound/soc/intel/skylake/skl-ssp-clk.c +3 -1
index 1c0e5226cb5b..bd43885f3805 100644

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

sound/soc/soc-dapm.c +1 -1
index 935b5375ecc5..ebd785f9aa46 100644

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

sound/soc/soc-pcm.c +8 -8
index 8712a91e0e3e..d978df95c5c6 100644

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

sound/soc/soc-topology.c +10 -7
index d00203ef8305..b19ecaf0febf 100644

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

sound/soc/sof/ipc.c +1 -1
index 8984d965037d..e7b1a80e2a14 100644

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

tools/perf/arch/arm/util/cs-etm.c +4 -1
index ede040cf82ad..20e9a189ad92 100644

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

tools/perf/arch/arm64/util/arm-spe.c +4 -1
index eba6541ec0f1..1d993c27242b 100644

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

tools/perf/arch/x86/util/intel-bts.c +4 -1
index f7f68a50a5cd..85799b5fa01d 100644

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

tools/perf/arch/x86/util/intel-pt.c +4 -1
index d6d26256915f..d43f9dec6998 100644

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

tools/testing/selftests/lib.mk +13 -10
index 1c8a1963d03f..3ed0134a764d 100644

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

tools/testing/selftests/net/forwarding/mirror_gre.sh +13 -12
index e6fd7a18c655..0266443601bc 100755

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

tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh +3 -3
index bb10e33690b2..ce6bea9675c0 100755

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

usr/include/Makefile +1 -1
index 47cb91d3a51d..e2840579156a 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.