Skip to contentSkip to conversation

Linux 4.19.86

DISCUSSION Greg KH 1 participant 2 messages Nov 25, 2019 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.19.86 kernel.

All users of the 4.19 kernel series must upgrade.

The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.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/at91-sama5d2_ptc_ek.dts                     |    8 
 arch/arm/boot/dts/at91-sama5d4_xplained.dts                   |    2 
 arch/arm/boot/dts/at91sam9x5cm.dtsi                           |    2 
 arch/arm/boot/dts/dra7.dtsi                                   |    2 
 arch/arm/boot/dts/omap5-board-common.dtsi                     |    5 
 arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts               |    2 
 arch/arm/boot/dts/sunxi-h3-h5.dtsi                            |    2 
 arch/arm/kernel/entry-common.S                                |    9 
 arch/arm64/lib/clear_user.S                                   |    1 
 arch/arm64/lib/copy_from_user.S                               |    1 
 arch/arm64/lib/copy_in_user.S                                 |    1 
 arch/arm64/lib/copy_to_user.S                                 |    1 
 arch/arm64/mm/numa.c                                          |    2 
 arch/powerpc/kernel/time.c                                    |   19 
 arch/powerpc/kvm/book3s.c                                     |    3 
 arch/powerpc/kvm/book3s_64_vio.c                              |    8 
 arch/powerpc/kvm/book3s_64_vio_hv.c                           |    6 
 arch/powerpc/mm/tlb-radix.c                                   |    1 
 arch/powerpc/platforms/pseries/dtl.c                          |    4 
 arch/powerpc/sysdev/xive/common.c                             |    7 
 arch/s390/boot/Makefile                                       |    1 
 arch/s390/boot/compressed/Makefile                            |    1 
 arch/s390/kernel/Makefile                                     |    2 
 arch/s390/kernel/vdso32/Makefile                              |    3 
 arch/s390/kernel/vdso64/Makefile                              |    3 
 arch/s390/lib/Makefile                                        |    4 
 arch/x86/Kconfig                                              |    3 
 arch/x86/include/asm/kexec.h                                  |    2 
 arch/x86/kernel/cpu/intel_rdt.c                               |    2 
 arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c                   |    2 
 arch/x86/kernel/cpu/intel_rdt_rdtgroup.c                      |  112 ++
 arch/x86/kernel/ptrace.c                                      |   62 -
 arch/x86/mm/dump_pagetables.c                                 |   35 
 arch/x86/net/bpf_jit_comp32.c                                 |  524 +++-------
 arch/x86/pci/fixup.c                                          |   12 
 arch/x86/power/hibernate_64.c                                 |   11 
 drivers/acpi/acpi_lpss.c                                      |   74 +
 drivers/acpi/acpica/acevents.h                                |    2 
 drivers/acpi/acpica/aclocal.h                                 |    2 
 drivers/acpi/acpica/evregion.c                                |   17 
 drivers/acpi/acpica/evrgnini.c                                |    6 
 drivers/acpi/acpica/evxfregn.c                                |    1 
 drivers/acpi/osl.c                                            |    1 
 drivers/acpi/sbshc.c                                          |    2 
 drivers/ata/Kconfig                                           |    3 
 drivers/ata/pata_ep93xx.c                                     |    8 
 drivers/clk/Makefile                                          |    1 
 drivers/clk/keystone/Kconfig                                  |    2 
 drivers/clk/samsung/clk-cpu.c                                 |    6 
 drivers/clk/samsung/clk-cpu.h                                 |    2 
 drivers/clk/samsung/clk-exynos5420.c                          |    3 
 drivers/clk/samsung/clk-exynos5433.c                          |    2 
 drivers/clocksource/sh_cmt.c                                  |   78 -
 drivers/cpuidle/governors/menu.c                              |   10 
 drivers/cpuidle/poll_state.c                                  |    6 
 drivers/crypto/mxs-dcp.c                                      |   80 +
 drivers/devfreq/devfreq.c                                     |  104 +
 drivers/dma/ioat/init.c                                       |    7 
 drivers/dma/sh/rcar-dmac.c                                    |    3 
 drivers/dma/timb_dma.c                                        |    2 
 drivers/gpio/gpio-syscon.c                                    |    2 
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c                         |    2 
 drivers/hwmon/ina3221.c                                       |    6 
 drivers/hwmon/k10temp.c                                       |    5 
 drivers/hwmon/nct6775.c                                       |   16 
 drivers/hwmon/npcm750-pwm-fan.c                               |    2 
 drivers/hwmon/pwm-fan.c                                       |    8 
 drivers/i2c/busses/Kconfig                                    |    7 
 drivers/i2c/busses/i2c-mt65xx.c                               |    8 
 drivers/i2c/busses/i2c-omap.c                                 |    8 
 drivers/i2c/busses/i2c-qup.c                                  |   14 
 drivers/i2c/busses/i2c-tegra.c                                |    4 
 drivers/i2c/busses/i2c-zx2967.c                               |    8 
 drivers/infiniband/hw/hfi1/mad.c                              |    4 
 drivers/infiniband/hw/hns/hns_roce_device.h                   |    2 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c                    |    4 
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h                    |    2 
 drivers/infiniband/hw/hns/hns_roce_qp.c                       |   29 
 drivers/infiniband/hw/mthca/mthca_main.c                      |    3 
 drivers/infiniband/sw/rxe/rxe_srq.c                           |   10 
 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c              |    3 
 drivers/input/touchscreen/silead.c                            |   13 
 drivers/input/touchscreen/st1232.c                            |    1 
 drivers/iommu/arm-smmu-v3.c                                   |    8 
 drivers/iommu/io-pgtable-arm.c                                |    9 
 drivers/irqchip/irq-mvebu-icu.c                               |    2 
 drivers/lightnvm/pblk-core.c                                  |   32 
 drivers/lightnvm/pblk-init.c                                  |   10 
 drivers/lightnvm/pblk-sysfs.c                                 |    3 
 drivers/md/bcache/super.c                                     |    6 
 drivers/md/md.c                                               |   22 
 drivers/media/cec/cec-pin.c                                   |   20 
 drivers/media/i2c/adv748x/adv748x-core.c                      |   25 
 drivers/media/i2c/adv748x/adv748x-csi2.c                      |   18 
 drivers/media/i2c/adv748x/adv748x.h                           |    2 
 drivers/media/i2c/dw9714.c                                    |    3 
 drivers/media/i2c/dw9807-vcm.c                                |    3 
 drivers/media/i2c/ov5640.c                                    |    7 
 drivers/media/pci/cx18/cx18-driver.c                          |    2 
 drivers/media/platform/davinci/isif.c                         |    3 
 drivers/media/platform/pxa_camera.c                           |    2 
 drivers/media/platform/qcom/venus/vdec.c                      |    3 
 drivers/media/platform/rcar-vin/rcar-core.c                   |    1 
 drivers/media/rc/ir-rc6-decoder.c                             |    9 
 drivers/media/usb/cx231xx/cx231xx-video.c                     |    2 
 drivers/mfd/ti_am335x_tscadc.c                                |   13 
 drivers/misc/cxl/guest.c                                      |    2 
 drivers/mmc/host/mmci.c                                       |   27 
 drivers/mmc/host/mmci.h                                       |    6 
 drivers/mmc/host/renesas_sdhi_internal_dmac.c                 |    9 
 drivers/mmc/host/tmio_mmc_core.c                              |    5 
 drivers/mtd/devices/m25p80.c                                  |   23 
 drivers/mtd/maps/physmap_of_core.c                            |   27 
 drivers/mtd/nand/raw/sh_flctl.c                               |    4 
 drivers/mtd/spi-nor/cadence-quadspi.c                         |    4 
 drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c             |    6 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c                |    4 
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h                |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c               |  109 --
 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h               |    2 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c            |    2 
 drivers/net/ethernet/intel/ice/ice_switch.c                   |   14 
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c                 |   24 
 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c      |    9 
 drivers/net/ethernet/qlogic/qed/qed_ll2.c                     |   13 
 drivers/net/usb/cdc_ncm.c                                     |    2 
 drivers/net/wireless/ath/ath10k/core.h                        |    1 
 drivers/net/wireless/ath/ath10k/mac.c                         |    2 
 drivers/net/wireless/ath/ath10k/wmi.c                         |   19 
 drivers/net/wireless/ath/ath10k/wmi.h                         |    8 
 drivers/net/wireless/ath/ath9k/common-spectral.c              |    2 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c        |   26 
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h        |    2 
 drivers/net/wireless/intel/iwlwifi/mvm/d3.c                   |    4 
 drivers/net/wireless/mediatek/mt76/mac80211.c                 |    6 
 drivers/net/wireless/mediatek/mt76/mt76x2_init_common.c       |    4 
 drivers/net/wireless/mediatek/mt76/mt76x2_pci.c               |    1 
 drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c        |    4 
 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c             |   25 
 drivers/net/wireless/quantenna/qtnfmac/commands.c             |    6 
 drivers/net/wireless/quantenna/qtnfmac/core.c                 |   16 
 drivers/net/wireless/quantenna/qtnfmac/core.h                 |    1 
 drivers/net/wireless/quantenna/qtnfmac/qlink.h                |    2 
 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c |    6 
 drivers/net/xen-netback/interface.c                           |    3 
 drivers/nvme/host/lightnvm.c                                  |    3 
 drivers/opp/core.c                                            |   23 
 drivers/opp/cpu.c                                             |    2 
 drivers/opp/opp.h                                             |    2 
 drivers/pinctrl/pinctrl-gemini.c                              |   47 
 drivers/platform/x86/mlx-platform.c                           |    2 
 drivers/remoteproc/qcom_q6v5.c                                |    3 
 drivers/remoteproc/remoteproc_sysfs.c                         |    5 
 drivers/reset/core.c                                          |   15 
 drivers/rpmsg/qcom_glink_smem.c                               |   12 
 drivers/s390/char/Makefile                                    |    1 
 drivers/scsi/arcmsr/arcmsr_hba.c                              |    6 
 drivers/soc/fsl/qbman/bman_portal.c                           |   10 
 drivers/spi/spi-fsl-lpspi.c                                   |    2 
 drivers/spi/spi-mt65xx.c                                      |    4 
 drivers/spi/spi-rockchip.c                                    |    3 
 drivers/spi/spidev.c                                          |    8 
 drivers/tee/optee/core.c                                      |    4 
 drivers/usb/dwc2/params.c                                     |    1 
 drivers/usb/dwc3/gadget.c                                     |   29 
 drivers/usb/gadget/udc/fotg210-udc.c                          |    2 
 drivers/usb/serial/cypress_m8.c                               |    2 
 drivers/video/backlight/lm3639_bl.c                           |    6 
 drivers/video/fbdev/Kconfig                                   |   34 
 drivers/video/fbdev/atmel_lcdfb.c                             |   43 
 drivers/video/fbdev/core/fbmon.c                              |   96 -
 drivers/video/fbdev/core/modedb.c                             |   57 -
 drivers/video/fbdev/sbuslib.c                                 |   28 
 drivers/watchdog/renesas_wdt.c                                |    1 
 drivers/watchdog/sama5d4_wdt.c                                |    6 
 drivers/watchdog/w83627hf_wdt.c                               |    8 
 drivers/watchdog/watchdog_dev.c                               |   10 
 fs/ext4/namei.c                                               |    2 
 fs/f2fs/gc.c                                                  |    2 
 fs/f2fs/super.c                                               |    1 
 fs/gfs2/incore.h                                              |    1 
 fs/gfs2/log.c                                                 |    7 
 fs/gfs2/super.c                                               |    2 
 fs/gfs2/util.c                                                |   13 
 fs/nfs/delegation.c                                           |    6 
 fs/orangefs/orangefs-sysfs.c                                  |    2 
 fs/proc/vmcore.c                                              |   10 
 include/linux/cpuidle.h                                       |    1 
 include/linux/fb.h                                            |    3 
 include/linux/platform_data/dma-ep93xx.h                      |    2 
 include/linux/sunrpc/sched.h                                  |    2 
 include/rdma/ib_verbs.h                                       |    2 
 kernel/bpf/btf.c                                              |    3 
 kernel/cpu.c                                                  |    1 
 kernel/kexec_core.c                                           |    6 
 kernel/printk/printk.c                                        |   42 
 lib/idr.c                                                     |   15 
 mm/memory_hotplug.c                                           |   77 -
 net/core/dev.c                                                |   14 
 net/ipv4/tcp.c                                                |    4 
 net/ipv4/tcp_input.c                                          |   27 
 net/ipv4/tcp_output.c                                         |   25 
 net/mac80211/rc80211_minstrel_ht.c                            |   20 
 net/netfilter/nft_compat.c                                    |   24 
 net/openvswitch/vport-internal_dev.c                          |    5 
 net/sched/sch_generic.c                                       |   14 
 net/sunrpc/sched.c                                            |  109 +-
 net/sunrpc/xprt.c                                             |   14 
 net/sunrpc/xprtrdma/transport.c                               |    6 
 net/sunrpc/xprtsock.c                                         |   10 
 net/wireless/nl80211.c                                        |    2 
 net/xdp/xdp_umem.c                                            |   11 
 net/xdp/xsk.c                                                 |   13 
 net/xfrm/xfrm_input.c                                         |    2 
 samples/mei/mei-amt-version.c                                 |    2 
 sound/hda/ext/hdac_ext_controller.c                           |   22 
 sound/pci/hda/patch_ca0132.c                                  |    8 
 sound/pci/hda/patch_sigmatel.c                                |   20 
 sound/soc/qcom/qdsp6/q6asm-dai.c                              |    5 
 tools/pci/pcitest.c                                           |    7 
 tools/testing/radix-tree/idr-test.c                           |   52 
 tools/testing/selftests/net/forwarding/lib.sh                 |    2 
 tools/testing/selftests/net/tls.c                             |   20 
 tools/testing/selftests/tc-testing/bpf/Makefile               |   29 
 tools/testing/selftests/tc-testing/bpf/action.c               |   23 
 tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json  |   16 
 tools/testing/selftests/tc-testing/tdc_config.py              |    4 
 virt/kvm/arm/mmu.c                                            |    3 
 229 files changed, 1884 insertions(+), 1391 deletions(-)

Alan Mikhak (1):
tools: PCI: Fix broken pcitest compilation

Alexey Kardashevskiy (1):
KVM: PPC: Inform the userspace about TCE update failures

Andrew Zaborowski (1):
nl80211: Fix a GET_KEY reply attribute

Andy Lutomirski (1):
x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately

Anirudh Venkataramanan (1):
ice: Fix forward to queue group logic

Anshuman Khandual (1):
arm64/numa: Report correct memblock range for the dummy node

Anton Blanchard (1):
powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer

Arun Kumar Neelakantam (1):
rpmsg: glink: smem: Support rx peak for size less than 4 bytes

Ben Greear (1):
ath10k: fix vdev-start timeout on error

Bjorn Helgaas (1):
x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error

Björn Töpel (1):
xsk: proper AF_XDP socket teardown ordering

Bob Moore (1):
ACPICA: Never run _REG on system_memory and system_IO

Bob Peterson (1):
gfs2: slow the deluge of io error messages

Borislav Petkov (3):
cpu/SMT: State SMT is disabled even with nosmt and without "=force" x86/olpc: Fix build error with CONFIG_MFD_CS5535=m proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()

Cameron Kaiser (1):
KVM: PPC: Book3S PR: Exiting split hack mode needs to fixup both PC and LR

Chen Yu (1):
PM / hibernate: Check the success of generating md5 digest before hibernation

Chen-Yu Tsai (1):
ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY

Chuck Lever (1):
sunrpc: Fix connect metrics

Chung-Hsien Hsu (2):
brcmfmac: reduce timeout for action frame scan
brcmfmac: fix full timeout waiting for action frame on-channel tx

Colin Ian King (3):
media: cx231xx: fix potential sign-extension overflow on large shift
orangefs: rate limit the client not running info message
scsi: arcmsr: clean up clang warning on extraneous parentheses

Connor McAdams (1):
ALSA: hda/ca0132 - Fix input effect controls for desktop cards

Dan Carpenter (5):
net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
mei: samples: fix a signedness bug in amt_host_if_call()
ASoC: qdsp6: q6asm-dai: checking NULL vs IS_ERR()
fbdev: sbuslib: use checked version of put_user()
fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper()

Daniel Vetter (1):
fbdev: Ditch fb_edid_add_monspecs

David Hildenbrand (2):
mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span() mm/memory_hotplug: fix updating the node span

Davide Caratti (1):
tc-testing: fix build of eBPF programs

Dennis Dalessandro (1):
IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds

Enric Balletbo i Serra (2):
PM / devfreq: Fix devfreq_add_device() when drivers are built as modules. PM / devfreq: Fix static checker warning in try_then_request_governor

Eric Dumazet (1):
net: sched: avoid writing on noop_qdisc

Fabrizio Castro (1):
mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1

Felix Fietkau (5):
mt76x2: disable WLAN core before probe
mt76: fix handling ps-poll frames
mac80211: minstrel: fix using short preamble CCK rates on HT clients
mac80211: minstrel: fix CCK rate group streams value
mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode

Florian Fainelli (2):
ata: ahci_brcm: Allow using driver or DSL SoCs
i2c: brcmstb: Allow enabling the driver on DSL SoCs

Gabriel Krisman Bertazi (1):
ext4: fix build error when DX_DEBUG is defined

Geert Uytterhoeven (1):
reset: Fix potential use-after-free in __of_reset_control_get()

Greg Kroah-Hartman (2):
Revert "OPP: Protect dev_list with opp_table lock" Linux 4.19.86

Guenter Roeck (3):
watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D
hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
hwmon: (nct6775) Fix names of DIMM temperature sources

Gustavo Pimentel (1):
tools: PCI: Fix compilation warnings

H. Nikolaus Schaller (1):
ARM: dts: omap5: enable OTG role for DWC3 controller

Hans Holmberg (1):
lightnvm: pblk: fix write amplificiation calculation

Hans Verkuil (1):
media: cec-gpio: select correct Signal Free Time

Hans de Goede (3):
ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices ACPI / LPSS: Resume BYT/CHT I2C controllers from resume_noirq ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate

He Zhe (2):
printk: Correct wrong casting
printk: Give error on attempt to set log buffer length to over 2G

Hieu Tran Dang (1):
spi: fsl-lpspi: Prevent FIFO under/overrun by default

Hsin-Yi Wang (1):
i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()

Huazhong Tan (1):
net: hns3: Fix loss of coal configuration while doing reset

Hugues Fruchet (1):
media: ov5640: fix framerate update

Huibin Hong (1):
spi: rockchip: initialize dma_slave_config properly

Ido Schimmel (1):
mlxsw: spectrum_switchdev: Check notification relevance based on upper device

Igor Mitsyanko (1):
qtnfmac: request userspace to do OBSS scanning if FW can not

Jacopo Mondi (1):
media: i2c: adv748x: Support probing a single output

Jaegeuk Kim (2):
f2fs: return correct errno in f2fs_gc
f2fs: keep lazytime on remount

Javier González (3):
lightnvm: pblk: guarantee emeta on line close
lightnvm: pblk: guarantee mw_cunits on read buffer
lightnvm: do no update csecs and sos on 1.2

Jesper Dangaard Brouer (1):
net: fix generic XDP to handle if eth header was mangled

Jia-Ju Bai (1):
usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status()

Jian Shen (1):

      net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware

Johan Hovold (1):
USB: serial: cypress_m8: fix interrupt-out transfer length

Jon Derrick (1):
x86/PCI: Apply VMD's AERSID fixup generically

Joonyoung Shim (1):
clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420

Jordan Crouse (1):
msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU

Julia Lawall (1):
tee: optee: add missing of_node_put after of_device_is_available

Julian Sax (1):
Input: silead - try firmware reload after unsuccessful resume

Keyon Jie (1):
ALSA: hda: Fix mismatch for register mask and value in ext controller.

Kun Yi (1):
hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255

Laurentiu Tudor (1):
soc: fsl: bman_portals: defer probe after bman's probe

Leilk Liu (1):

      spi: mediatek: use correct mata->xfer_len when in fifo transfer

Li RongQing (1):

      xfrm: use correct size to initialise sp->ovec

Lianbo Jiang (1):
kexec: Allocate decrypted control pages for kdump if SME is enabled

Lijun Ou (4):
RDMA/hns: Bugfix for reserved qp number RDMA/hns: Submit bad wr when post send wr exception RDMA/hns: Bugfix for CM test
RDMA/hns: Limit the size of extend sge of sq

Linus Walleij (2):
pinctrl: gemini: Mask and set properly
pinctrl: gemini: Fix up TVC clock group

Lorenzo Bianconi (1):
mt76x2: fix tx power configuration for VHT mcs 9

Ludovic Barre (1):
mmc: mmci: expand startbiterr to irqmask and error check

Luke Nelson (2):
bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_X shift by 0 bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_K shift by 0

Marek Szyprowski (2):
clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume
clk: samsung: Use clk_hw API for calling clk framework from clk notifiers

Marek Vasut (1):
gpio: syscon: Fix possible NULL ptr usage

Martin Kepplinger (1):
Input: st1232 - set INPUT_PROP_DIRECT property

Masaharu Hayakawa (1):
mmc: tmio: Fix SCC error detection

Matias Bjørling (2):
lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync
lightnvm: pblk: fix incorrect min_write_pgs

Matthew Wilcox (Oracle) (1):
idr: Fix idr_get_next race with idr_remove

Matthias Kaehlcke (1):

      PM / devfreq: Fix handling of min/max_freq == 0

Matthias Reichl (1):
media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote

Michael Ellerman (1):
powerpc/time: Fix clockevent_decrementer initalisation for PR KVM

Michael J. Ruhl (1):
IB/hfi1: Error path MAD response size is incorrect

Michael Pobega (1):
ALSA: hda/sigmatel - Disable automute for Elo VuPoint

Miquel Raynal (1):
irqchip/irq-mvebu-icu: Fix wrong private data retrieval

Nathan Chancellor (15):
rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface
dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update
cxgb4: Use proper enum in IEEE_FAUX_SYNC
mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer
i40e: Use proper enum in i40e_ndo_set_vf_link_state IB/mlx4: Avoid implicit enumerated type conversion
ata: ep93xx: Use proper enums for directions
qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers
media: pxa_camera: Fix check for pdev->dev.of_node platform/x86: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items
media: cx18: Don't check for address of video_dev
mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
backlight: lm3639: Unconditionally call led_classdev_unregister

Naveen N. Rao (2):
powerpc/pseries: Fix DTL buffer registration powerpc/pseries: Fix how we iterate over the DTL entries

NeilBrown (1):
md: allow metadata updates while suspending an array - fix

Nicholas Piggin (1):
powerpc/64s/radix: Explicitly flush ERAT with local LPID invalidation

Nicolin Chen (1):

      hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros

Niklas Söderlund (2):
media: rcar-vin: fix redeclaration of symbol
mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size

Nishanth Menon (1):
clk: keystone: Enable TISCI clocks if K3_ARCH

Olga Kornievskaia (1):
NFSv4.x: fix lock recovery during delegation recall

Pablo Neira Ayuso (1):
netfilter: nft_compat: do not dump private area

Pavel Tatashin (1):
arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault

Petr Machata (1):
selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too

Petr Mladek (1):
printk: Do not miss new messages when replaying the log

Philipp Rossak (1):
ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block

Radoslaw Tyl (2):
ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit
ixgbe: Fix crash with VFs and flow director on interface flap

Radu Solea (2):
crypto: mxs-dcp - Fix SHA null hashes and output length
crypto: mxs-dcp - Fix AES issues

Rafael J. Wysocki (1):
cpuidle: menu: Fix wakeup statistics updates for polling state

Rajmohan Mani (1):
media: dw9714: Fix error handling in probe function

Rami Rosen (1):
dmaengine: ioat: fix prototype of ioat_enumerate_channels

Randy Dunlap (1):
fbdev: fix broken menu dependencies

Reinette Chatre (3):
x86/intel_rdt: Introduce utility to obtain CDP peer x86/intel_rdt: CBM overlap should also check for overlap with CDP peer x86/resctrl: Fix rdt_find_domain() return value and checks

Ricardo Ribalda Delgado (1):
mtd: physmap_of: Release resources on error

Robin Murphy (1):
iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()

Roger Quadros (1):
ARM: dts: omap5: Fix dual-role mode on Super-Speed port

Romain Izard (1):
watchdog: sama5d4: fix timeout-sec usage

Ronald Tschalär (1):
ACPI / SBS: Fix rare oops when removing modules

Sakari Ailus (1):
media: dw9807-vcm: Fix probe error handling

Sam Ravnborg (1):
atmel_lcdfb: support native-mode display-timings

Sara Sharon (1):
iwlwifi: mvm: don't send keys when entering D3

Sergei Shtylyov (2):
clocksource/drivers/sh_cmt: Fixup for 64-bit machines clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines

Sergey Matyukevich (3):
qtnfmac: pass sgi rate info flag to wireless core
qtnfmac: inform wireless core about supported extended capabilities
qtnfmac: drop error reports for out-of-bounds key indexes

Sergey Senozhatsky (1):
printk: CON_PRINTBUFFER console registration is a bit racy

Shenghui Wang (2):
bcache: account size of buckets used in uuid write to ca->meta_sectors_written
bcache: recal cached_dev_sectors on detach

Sibi Sankar (1):
remoteproc: qcom: q6v5: Fix a race condition on fatal crash

Simon Wunderlich (1):
ath9k: fix reporting calculated new FFT upper max

SolidHal (1):
usb: dwc2: disable power_down on rockchip devices

Suman Anna (1):
remoteproc: Check for NULL firmwares in sysfs interface

Suzuki K Poulose (1):
kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table

Takeshi Saito (1):
mmc: tmio: fix SCC error handling to avoid false positive CRC error

Thierry Reding (1):
hwmon: (pwm-fan) Silence error on probe deferral

Thinh Nguyen (1):
usb: dwc3: gadget: Check ENBLSLPM before sending ep command

Thomas Gleixner (1):
x86/mm: Do not warn about PCI BIOS W+X mappings

Tim Smith (1):
GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads

Timothy E Baldwin (1):
ARM: 8802/1: Call syscall_trace_exit even when system call skipped

Trent Piepho (1):
spi: spidev: Fix OF tree warning logic

Trond Myklebust (1):
SUNRPC: Fix priority queue fairness

Tudor Ambarus (3):
ARM: dts: at91: sama5d4_xplained: fix addressable nand flash size
ARM: dts: at91: at91sam9x5cm: fix addressable nand flash size
ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets

Vakul Garg (1):
selftests/tls: Fix recv(MSG_PEEK) & splice() test cases

Vasily Gorbik (3):
s390/kasan: avoid vdso instrumentation s390/kasan: avoid instrumentation of early C code s390/kasan: avoid user access code instrumentation

Vasundhara Volam (1):
bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED

Vignesh R (2):
ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable

Vikash Garodia (1):
media: venus: vdec: fix decoded data size

Vincent Donnefort (1):
PM / devfreq: stopping the governor before device_unregister()

Viresh Kumar (1):
OPP: Return error on error from dev_pm_opp_get_opp_count()

Wang YanQing (2):
bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG
bpf, x32: Fix bug for BPF_JMP | {BPF_JSGT, BPF_JSLE, BPF_JSLT, BPF_JSGE}

Wei Yongjun (2):
IB/mthca: Fix error return code in __mthca_init_one()
lightnvm: pblk: fix error handling of pblk_lines_init()

Wenwen Wang (2):
media: isif: fix a NULL pointer dereference bug
bpf: btf: Fix a missing check bug

Wolfram Sang (7):
watchdog: core: fix null pointer dereference when releasing cdev
watchdog: renesas_wdt: stop when unregistering
i2c: omap: use core to detect 'no zero length' quirk
i2c: qup: use core to detect 'no zero length' quirk
i2c: tegra: use core to detect 'no zero length' quirk
i2c: zx2967: use core to detect 'no zero length' quirk
dmaengine: rcar-dmac: set scatter/gather max segment size

Yogesh Gaur (1):
mtd: devices: m25p80: Make sure WRITE_EN is issued before each write

Yuchung Cheng (2):
tcp: up initial rmem to 128KB and SYN rwin to around 64KB
tcp: start receiver buffer autotuning sooner

YueHaibing (2):
net: ovs: fix return type of ndo_start_xmit function
net: xen-netback: fix return type of ndo_start_xmit function

Yunsheng Lin (1):
net: hns3: Fix for netdev not up problem when setting mtu

Zhen Lei (1):
iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout

Zhoujie Wu (1):
lightnvm: pblk: consider max hw sectors supported for max_write_pgs

Zhu Yanjun (1):
IB/rxe: avoid srq memory leak

zhong jiang (2):
powerpc/xive: Move a dereference below a NULL test
misc: cxl: Fix possible null pointer dereference

author maintainer
#1 lore raw
Makefile +1 -1
index d6f7c5a323c0..feb0568e9535 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 19
-SUBLEVEL = 85
+SUBLEVEL = 86
 EXTRAVERSION =
 NAME = "People's Front"
 
arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts +4 -4
index 3b1baa8605a7..2214bfe7aa20 100644
@@ -92,13 +92,13 @@
 							reg = <0x40000 0xc0000>;
 						};
 
-						bootloaderenv@0x100000 {
-							label = "bootloader env";
+						bootloaderenvred@0x100000 {
+							label = "bootloader env redundant";
 							reg = <0x100000 0x40000>;
 						};
 
-						bootloaderenvred@0x140000 {
-							label = "bootloader env redundant";
+						bootloaderenv@0x140000 {
+							label = "bootloader env";
 							reg = <0x140000 0x40000>;
 						};
 
arch/arm/boot/dts/at91-sama5d4_xplained.dts +1 -1
index 4b7c762d5f22..7d554b9ab27f 100644
@@ -252,7 +252,7 @@
 
 						rootfs@800000 {
 							label = "rootfs";
-							reg = <0x800000 0x0f800000>;
+							reg = <0x800000 0x1f800000>;
 						};
 					};
 				};
arch/arm/boot/dts/at91sam9x5cm.dtsi +1 -1
index 4908ee07e628..993eabe1cf7a 100644
@@ -100,7 +100,7 @@
 
 						rootfs@800000 {
 							label = "rootfs";
-							reg = <0x800000 0x1f800000>;
+							reg = <0x800000 0x0f800000>;
 						};
 					};
 				};
arch/arm/boot/dts/dra7.dtsi +2 -0
index 9136b3cf9a2c..7ce24b282d42 100644
@@ -336,6 +336,7 @@
 						<0 0 0 2 &pcie1_intc 2>,
 						<0 0 0 3 &pcie1_intc 3>,
 						<0 0 0 4 &pcie1_intc 4>;
+				ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
 				status = "disabled";
 				pcie1_intc: interrupt-controller {
 					interrupt-controller;
@@ -387,6 +388,7 @@
 						<0 0 0 2 &pcie2_intc 2>,
 						<0 0 0 3 &pcie2_intc 3>,
 						<0 0 0 4 &pcie2_intc 4>;
+				ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
 				pcie2_intc: interrupt-controller {
 					interrupt-controller;
 					#address-cells = <0>;
arch/arm/boot/dts/omap5-board-common.dtsi +5 -0
index 8b8db9d8e912..61a06f6add3c 100644
@@ -703,6 +703,11 @@
 	vbus-supply = <&smps10_out1_reg>;
 };
 
+&dwc3 {
+	extcon = <&extcon_usb3>;
+	dr_mode = "otg";
+};
+
 &mcspi1 {
 
 };
arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts +1 -1
index 30540dc8e0c5..bdda0d99128e 100644
@@ -140,7 +140,7 @@
 &external_mdio {
 	ext_rgmii_phy: ethernet-phy@1 {
 		compatible = "ethernet-phy-ieee802.3-c22";
-		reg = <0>;
+		reg = <1>;
 	};
 };
 
arch/arm/boot/dts/sunxi-h3-h5.dtsi +1 -1
index fc6131315c47..4b1530ebe427 100644
@@ -816,7 +816,7 @@
 			clock-names = "apb", "ir";
 			resets = <&r_ccu RST_APB0_IR>;
 			interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
-			reg = <0x01f02000 0x40>;
+			reg = <0x01f02000 0x400>;
 			status = "disabled";
 		};
 
arch/arm/kernel/entry-common.S +4 -5
index 746565a876dc..0465d65d23de 100644
@@ -296,16 +296,15 @@ __sys_trace:
 	cmp	scno, #-1			@ skip the syscall?
 	bne	2b
 	add	sp, sp, #S_OFF			@ restore stack
-	b	ret_slow_syscall
 
-__sys_trace_return:
-	str	r0, [sp, #S_R0 + S_OFF]!	@ save returned r0
+__sys_trace_return_nosave:
+	enable_irq_notrace
 	mov	r0, sp
 	bl	syscall_trace_exit
 	b	ret_slow_syscall
 
-__sys_trace_return_nosave:
-	enable_irq_notrace
+__sys_trace_return:
+	str	r0, [sp, #S_R0 + S_OFF]!	@ save returned r0
 	mov	r0, sp
 	bl	syscall_trace_exit
 	b	ret_slow_syscall
arch/arm64/lib/clear_user.S +1 -0
index 21ba0b29621b..4374020c824a 100644
@@ -57,5 +57,6 @@ ENDPROC(__arch_clear_user)
 	.section .fixup,"ax"
 	.align	2
 9:	mov	x0, x2			// return the original size
+	uaccess_disable_not_uao x2, x3
 	ret
 	.previous
arch/arm64/lib/copy_from_user.S +1 -0
index 20305d485046..96b22c0fa343 100644
@@ -75,5 +75,6 @@ ENDPROC(__arch_copy_from_user)
 	.section .fixup,"ax"
 	.align	2
 9998:	sub	x0, end, dst			// bytes not copied
+	uaccess_disable_not_uao x3, x4
 	ret
 	.previous
arch/arm64/lib/copy_in_user.S +1 -0
index 54b75deb1d16..e56c705f1f23 100644
@@ -77,5 +77,6 @@ ENDPROC(__arch_copy_in_user)
 	.section .fixup,"ax"
 	.align	2
 9998:	sub	x0, end, dst			// bytes not copied
+	uaccess_disable_not_uao x3, x4
 	ret
 	.previous
arch/arm64/lib/copy_to_user.S +1 -0
index fda6172d6b88..6b99b939c50f 100644
@@ -74,5 +74,6 @@ ENDPROC(__arch_copy_to_user)
 	.section .fixup,"ax"
 	.align	2
 9998:	sub	x0, end, dst			// bytes not copied
+	uaccess_disable_not_uao x3, x4
 	ret
 	.previous
arch/arm64/mm/numa.c +1 -1
index 146c04ceaa51..54529b4ed513 100644
@@ -432,7 +432,7 @@ static int __init dummy_numa_init(void)
 	if (numa_off)
 		pr_info("NUMA disabled\n"); /* Forced off on command line. */
 	pr_info("Faking a node at [mem %#018Lx-%#018Lx]\n",
-		0LLU, PFN_PHYS(max_pfn) - 1);
+		memblock_start_of_DRAM(), memblock_end_of_DRAM() - 1);
 
 	for_each_memblock(memory, mblk) {
 		ret = numa_add_memblk(0, mblk->base, mblk->base + mblk->size);
arch/powerpc/kernel/time.c +6 -13
index 70f145e02487..7707990c4c16 100644
@@ -984,10 +984,14 @@ static void register_decrementer_clockevent(int cpu)
 	*dec = decrementer_clockevent;
 	dec->cpumask = cpumask_of(cpu);
 
+	clockevents_config_and_register(dec, ppc_tb_freq, 2, decrementer_max);
+
 	printk_once(KERN_DEBUG "clockevent: %s mult[%x] shift[%d] cpu[%d]\n",
 		    dec->name, dec->mult, dec->shift, cpu);
 
-	clockevents_register_device(dec);
+	/* Set values for KVM, see kvm_emulate_dec() */
+	decrementer_clockevent.mult = dec->mult;
+	decrementer_clockevent.shift = dec->shift;
 }
 
 static void enable_large_decrementer(void)
@@ -1035,18 +1039,7 @@ static void __init set_decrementer_max(void)
 
 static void __init init_decrementer_clockevent(void)
 {
-	int cpu = smp_processor_id();
-
-	clockevents_calc_mult_shift(&decrementer_clockevent, ppc_tb_freq, 4);
-
-	decrementer_clockevent.max_delta_ns =
-		clockevent_delta2ns(decrementer_max, &decrementer_clockevent);
-	decrementer_clockevent.max_delta_ticks = decrementer_max;
-	decrementer_clockevent.min_delta_ns =
-		clockevent_delta2ns(2, &decrementer_clockevent);
-	decrementer_clockevent.min_delta_ticks = 2;
-
-	register_decrementer_clockevent(cpu);
+	register_decrementer_clockevent(smp_processor_id());
 }
 
 void secondary_cpu_time_init(void)
arch/powerpc/kvm/book3s.c +3 -0
index 281f074581a3..cc05f346e042 100644
@@ -78,8 +78,11 @@ void kvmppc_unfixup_split_real(struct kvm_vcpu *vcpu)
 {
 	if (vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) {
 		ulong pc = kvmppc_get_pc(vcpu);
+		ulong lr = kvmppc_get_lr(vcpu);
 		if ((pc & SPLIT_HACK_MASK) == SPLIT_HACK_OFFS)
 			kvmppc_set_pc(vcpu, pc & ~SPLIT_HACK_MASK);
+		if ((lr & SPLIT_HACK_MASK) == SPLIT_HACK_OFFS)
+			kvmppc_set_lr(vcpu, lr & ~SPLIT_HACK_MASK);
 		vcpu->arch.hflags &= ~BOOK3S_HFLAG_SPLIT_HACK;
 	}
 }
arch/powerpc/kvm/book3s_64_vio.c +4 -4
index 07a8004c3c23..65486c3d029b 100644
@@ -401,7 +401,7 @@ static long kvmppc_tce_iommu_do_unmap(struct kvm *kvm,
 	long ret;
 
 	if (WARN_ON_ONCE(iommu_tce_xchg(tbl, entry, &hpa, &dir)))
-		return H_HARDWARE;
+		return H_TOO_HARD;
 
 	if (dir == DMA_NONE)
 		return H_SUCCESS;
@@ -449,15 +449,15 @@ long kvmppc_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl,
 		return H_TOO_HARD;
 
 	if (WARN_ON_ONCE(mm_iommu_ua_to_hpa(mem, ua, tbl->it_page_shift, &hpa)))
-		return H_HARDWARE;
+		return H_TOO_HARD;
 
 	if (mm_iommu_mapped_inc(mem))
-		return H_CLOSED;
+		return H_TOO_HARD;
 
 	ret = iommu_tce_xchg(tbl, entry, &hpa, &dir);
 	if (WARN_ON_ONCE(ret)) {
 		mm_iommu_mapped_dec(mem);
-		return H_HARDWARE;
+		return H_TOO_HARD;
 	}
 
 	if (dir != DMA_NONE)
arch/powerpc/kvm/book3s_64_vio_hv.c +3 -3
index eb8b11515a7f..d258ed4ef77c 100644
@@ -300,10 +300,10 @@ static long kvmppc_rm_tce_iommu_do_map(struct kvm *kvm, struct iommu_table *tbl,
 
 	if (WARN_ON_ONCE_RM(mm_iommu_ua_to_hpa_rm(mem, ua, tbl->it_page_shift,
 			&hpa)))
-		return H_HARDWARE;
+		return H_TOO_HARD;
 
 	if (WARN_ON_ONCE_RM(mm_iommu_mapped_inc(mem)))
-		return H_CLOSED;
+		return H_TOO_HARD;
 
 	ret = iommu_tce_xchg_rm(kvm->mm, tbl, entry, &hpa, &dir);
 	if (ret) {
@@ -501,7 +501,7 @@ long kvmppc_rm_h_put_tce_indirect(struct kvm_vcpu *vcpu,
 
 		rmap = (void *) vmalloc_to_phys(rmap);
 		if (WARN_ON_ONCE_RM(!rmap))
-			return H_HARDWARE;
+			return H_TOO_HARD;
 
 		/*
 		 * Synchronize with the MMU notifier callbacks in
arch/powerpc/mm/tlb-radix.c +1 -0
index 62be0e5732b7..796ff5de26d0 100644
@@ -429,6 +429,7 @@ static inline void _tlbiel_lpid_guest(unsigned long lpid, unsigned long ric)
 		__tlbiel_lpid_guest(lpid, set, RIC_FLUSH_TLB);
 
 	asm volatile("ptesync": : :"memory");
+	asm volatile(PPC_INVALIDATE_ERAT : : :"memory");
 }
 
 
arch/powerpc/platforms/pseries/dtl.c +2 -2
index 18014cdeb590..ef6595153642 100644
@@ -149,7 +149,7 @@ static int dtl_start(struct dtl *dtl)
 
 	/* Register our dtl buffer with the hypervisor. The HV expects the
 	 * buffer size to be passed in the second word of the buffer */
-	((u32 *)dtl->buf)[1] = DISPATCH_LOG_BYTES;
+	((u32 *)dtl->buf)[1] = cpu_to_be32(DISPATCH_LOG_BYTES);
 
 	hwcpu = get_hard_smp_processor_id(dtl->cpu);
 	addr = __pa(dtl->buf);
@@ -184,7 +184,7 @@ static void dtl_stop(struct dtl *dtl)
 
 static u64 dtl_current_index(struct dtl *dtl)
 {
-	return lppaca_of(dtl->cpu).dtl_idx;
+	return be64_to_cpu(lppaca_of(dtl->cpu).dtl_idx);
 }
 #endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */
 
arch/powerpc/sysdev/xive/common.c +4 -3
index 0b24b1031221..f3af53abd40f 100644
@@ -1009,12 +1009,13 @@ static void xive_ipi_eoi(struct irq_data *d)
 {
 	struct xive_cpu *xc = __this_cpu_read(xive_cpu);
 
-	DBG_VERBOSE("IPI eoi: irq=%d [0x%lx] (HW IRQ 0x%x) pending=%02x\n",
-		    d->irq, irqd_to_hwirq(d), xc->hw_ipi, xc->pending_prio);
-
 	/* Handle possible race with unplug and drop stale IPIs */
 	if (!xc)
 		return;
+
+	DBG_VERBOSE("IPI eoi: irq=%d [0x%lx] (HW IRQ 0x%x) pending=%02x\n",
+		    d->irq, irqd_to_hwirq(d), xc->hw_ipi, xc->pending_prio);
+
 	xive_do_source_eoi(xc->hw_ipi, &xc->ipi_data);
 	xive_do_queue_eoi(xc);
 }
arch/s390/boot/Makefile +1 -0
index 9e6668ee93de..f6a9b0c20355 100644
@@ -6,6 +6,7 @@
 KCOV_INSTRUMENT := n
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n
+KASAN_SANITIZE := n
 
 KBUILD_AFLAGS := $(KBUILD_AFLAGS_DECOMPRESSOR)
 KBUILD_CFLAGS := $(KBUILD_CFLAGS_DECOMPRESSOR)
arch/s390/boot/compressed/Makefile +1 -0
index b375c6c5ae7b..9b3d821e5b46 100644
@@ -8,6 +8,7 @@
 KCOV_INSTRUMENT := n
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n
+KASAN_SANITIZE := n
 
 obj-y	:= $(if $(CONFIG_KERNEL_UNCOMPRESSED),,head.o misc.o) piggy.o
 targets	:= vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
arch/s390/kernel/Makefile +2 -0
index b205c0ff0b22..762fc45376ff 100644
@@ -23,6 +23,8 @@ KCOV_INSTRUMENT_early_nobss.o	:= n
 UBSAN_SANITIZE_early.o		:= n
 UBSAN_SANITIZE_early_nobss.o	:= n
 
+KASAN_SANITIZE_early_nobss.o	:= n
+
 #
 # Passing null pointers is ok for smp code, since we access the lowcore here.
 #
arch/s390/kernel/vdso32/Makefile +2 -1
index 04dd3e2c3bd9..e76309fbbcb3 100644
@@ -28,9 +28,10 @@ obj-y += vdso32_wrapper.o
 extra-y += vdso32.lds
 CPPFLAGS_vdso32.lds += -P -C -U$(ARCH)
 
-# Disable gcov profiling and ubsan for VDSO code
+# Disable gcov profiling, ubsan and kasan for VDSO code
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n
+KASAN_SANITIZE := n
 
 # Force dependency (incbin is bad)
 $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so
arch/s390/kernel/vdso64/Makefile +2 -1
index ddebc26cd949..f849ac61c5da 100644
@@ -28,9 +28,10 @@ obj-y += vdso64_wrapper.o
 extra-y += vdso64.lds
 CPPFLAGS_vdso64.lds += -P -C -U$(ARCH)
 
-# Disable gcov profiling and ubsan for VDSO code
+# Disable gcov profiling, ubsan and kasan for VDSO code
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n
+KASAN_SANITIZE := n
 
 # Force dependency (incbin is bad)
 $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so
arch/s390/lib/Makefile +4 -0
index 57ab40188d4b..5418d10dc2a8 100644
@@ -9,5 +9,9 @@ lib-$(CONFIG_SMP) += spinlock.o
 lib-$(CONFIG_KPROBES) += probes.o
 lib-$(CONFIG_UPROBES) += probes.o
 
+# Instrumenting memory accesses to __user data (in different address space)
+# produce false positives
+KASAN_SANITIZE_uaccess.o := n
+
 chkbss := mem.o
 include $(srctree)/arch/s390/scripts/Makefile.chkbss
arch/x86/Kconfig +1 -2
index 5726b264036f..af35f5caadbe 100644
@@ -2771,8 +2771,7 @@ config OLPC
 
 config OLPC_XO1_PM
 	bool "OLPC XO-1 Power Management"
-	depends on OLPC && MFD_CS5535 && PM_SLEEP
-	select MFD_CORE
+	depends on OLPC && MFD_CS5535=y && PM_SLEEP
 	---help---
 	  Add support for poweroff and suspend of the OLPC XO-1 laptop.
 
arch/x86/include/asm/kexec.h +1 -1
index f327236f0fa7..5125fca472bb 100644
@@ -67,7 +67,7 @@ struct kimage;
 
 /* Memory to backup during crash kdump */
 #define KEXEC_BACKUP_SRC_START	(0UL)
-#define KEXEC_BACKUP_SRC_END	(640 * 1024UL)	/* 640K */
+#define KEXEC_BACKUP_SRC_END	(640 * 1024UL - 1)	/* 640K */
 
 /*
  * CPU does not save ss and sp on stack if execution is already
arch/x86/kernel/cpu/intel_rdt.c +1 -1
index abb71ac70443..cc43c5abd187 100644
@@ -421,7 +421,7 @@ struct rdt_domain *rdt_find_domain(struct rdt_resource *r, int id,
 	struct list_head *l;
 
 	if (id < 0)
-		return ERR_PTR(id);
+		return ERR_PTR(-ENODEV);
 
 	list_for_each(l, &r->domains) {
 		d = list_entry(l, struct rdt_domain, list);
arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c +1 -1
index 627e5c809b33..968ace3c6d73 100644
@@ -459,7 +459,7 @@ int rdtgroup_mondata_show(struct seq_file *m, void *arg)
 
 	r = &rdt_resources_all[resid];
 	d = rdt_find_domain(r, domid, NULL);
-	if (!d) {
+	if (IS_ERR_OR_NULL(d)) {
 		ret = -ENOENT;
 		goto out;
 	}
arch/x86/kernel/cpu/intel_rdt_rdtgroup.c +109 -3

130 lines not on this page · raw message

arch/x86/kernel/ptrace.c +52 -10

82 lines not on this page · raw message

arch/x86/mm/dump_pagetables.c +27 -8
index c05a818224bb..abcb8d00b014 100644
@@ -19,7 +19,9 @@
 #include <linux/sched.h>
 #include <linux/seq_file.h>
 #include <linux/highmem.h>
+#include <linux/pci.h>
 
+#include <asm/e820/types.h>
 #include <asm/pgtable.h>
 
 /*
@@ -238,6 +240,29 @@ static unsigned long normalize_addr(unsigned long u)
 	return (signed long)(u << shift) >> shift;
 }
 
+static void note_wx(struct pg_state *st)
+{
+	unsigned long npages;
+
+	npages = (st->current_address - st->start_address) / PAGE_SIZE;
+
+#ifdef CONFIG_PCI_BIOS
+	/*
+	 * If PCI BIOS is enabled, the PCI BIOS area is forced to WX.
+	 * Inform about it, but avoid the warning.
+	 */
+	if (pcibios_enabled && st->start_address >= PAGE_OFFSET + BIOS_BEGIN &&
+	    st->current_address <= PAGE_OFFSET + BIOS_END) {
+		pr_warn_once("x86/mm: PCI BIOS W+X mapping %lu pages\n", npages);
+		return;
+	}
+#endif
+	/* Account the WX pages */
+	st->wx_pages += npages;
+	WARN_ONCE(1, "x86/mm: Found insecure W+X mapping at address %pS\n",
+		  (void *)st->start_address);
+}
+
 /*
  * This function gets called on a break in a continuous series
  * of PTE entries; the next one is different so we need to
@@ -273,14 +298,8 @@ static void note_page(struct seq_file *m, struct pg_state *st,
 		unsigned long delta;
 		int width = sizeof(unsigned long) * 2;
 
-		if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX)) {
-			WARN_ONCE(1,
-				  "x86/mm: Found insecure W+X mapping at address %p/%pS\n",
-				  (void *)st->start_address,
-				  (void *)st->start_address);
-			st->wx_pages += (st->current_address -
-					 st->start_address) / PAGE_SIZE;
-		}
+		if (st->check_wx && (eff & _PAGE_RW) && !(eff & _PAGE_NX))
+			note_wx(st);
 
 		/*
 		 * Now print the actual finished series
arch/x86/net/bpf_jit_comp32.c +203 -321

660 lines not on this page · raw message

arch/x86/pci/fixup.c +3 -9
index bd372e896557..527e69b12002 100644
@@ -629,17 +629,11 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, 0x8c10, quirk_apple_mbp_poweroff);
 static void quirk_no_aersid(struct pci_dev *pdev)
 {
 	/* VMD Domain */
-	if (is_vmd(pdev->bus))
+	if (is_vmd(pdev->bus) && pci_is_root_bus(pdev->bus))
 		pdev->bus->bus_flags |= PCI_BUS_FLAGS_NO_AERSID;
 }
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2030, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2031, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2032, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x2033, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x334a, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x334b, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x334c, quirk_no_aersid);
-DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x334d, quirk_no_aersid);
+DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_INTEL, PCI_ANY_ID,
+			      PCI_CLASS_BRIDGE_PCI, 8, quirk_no_aersid);
 
 static void quirk_intel_th_dnv(struct pci_dev *dev)
 {
arch/x86/power/hibernate_64.c +5 -6
index c9986041a5e1..6c3ec193a246 100644
@@ -266,9 +266,9 @@ static int get_e820_md5(struct e820_table *table, void *buf)
 	return ret;
 }
 
-static void hibernation_e820_save(void *buf)
+static int hibernation_e820_save(void *buf)
 {
-	get_e820_md5(e820_table_firmware, buf);
+	return get_e820_md5(e820_table_firmware, buf);
 }
 
 static bool hibernation_e820_mismatch(void *buf)
@@ -288,8 +288,9 @@ static bool hibernation_e820_mismatch(void *buf)
 	return memcmp(result, buf, MD5_DIGEST_SIZE) ? true : false;
 }
 #else
-static void hibernation_e820_save(void *buf)
+static int hibernation_e820_save(void *buf)
 {
+	return 0;
 }
 
 static bool hibernation_e820_mismatch(void *buf)
@@ -334,9 +335,7 @@ int arch_hibernation_header_save(void *addr, unsigned int max_size)
 
 	rdr->magic = RESTORE_MAGIC;
 
-	hibernation_e820_save(rdr->e820_digest);
-
-	return 0;
+	return hibernation_e820_save(rdr->e820_digest);
 }
 
 /**
drivers/acpi/acpi_lpss.c +67 -7

138 lines not on this page · raw message

drivers/acpi/acpica/acevents.h +2 -0
index 298180bf7e3c..bfcc68b9f708 100644
@@ -230,6 +230,8 @@ acpi_ev_default_region_setup(acpi_handle handle,
 
 acpi_status acpi_ev_initialize_region(union acpi_operand_object *region_obj);
 
+u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node);
+
 /*
  * evsci - SCI (System Control Interrupt) handling/dispatch
  */
drivers/acpi/acpica/aclocal.h +1 -1
index 0f28a38a43ea..99b0da899109 100644
@@ -395,9 +395,9 @@ struct acpi_simple_repair_info {
 /* Info for running the _REG methods */
 
 struct acpi_reg_walk_info {
-	acpi_adr_space_type space_id;
 	u32 function;
 	u32 reg_run_count;
+	acpi_adr_space_type space_id;
 };
 
 /*****************************************************************************
drivers/acpi/acpica/evregion.c +15 -2
index 70c2bd169f66..49decca4e08f 100644
@@ -653,6 +653,19 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
 
 	ACPI_FUNCTION_TRACE(ev_execute_reg_methods);
 
+	/*
+	 * These address spaces do not need a call to _REG, since the ACPI
+	 * specification defines them as: "must always be accessible". Since
+	 * they never change state (never become unavailable), no need to ever
+	 * call _REG on them. Also, a data_table is not a "real" address space,
+	 * so do not call _REG. September 2018.
+	 */
+	if ((space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) ||
+	    (space_id == ACPI_ADR_SPACE_SYSTEM_IO) ||
+	    (space_id == ACPI_ADR_SPACE_DATA_TABLE)) {
+		return_VOID;
+	}
+
 	info.space_id = space_id;
 	info.function = function;
 	info.reg_run_count = 0;
@@ -714,8 +727,8 @@ acpi_ev_reg_run(acpi_handle obj_handle,
 	}
 
 	/*
-	 * We only care about regions.and objects that are allowed to have address
-	 * space handlers
+	 * We only care about regions and objects that are allowed to have
+	 * address space handlers
 	 */
 	if ((node->type != ACPI_TYPE_REGION) && (node != acpi_gbl_root_node)) {
 		return (AE_OK);
drivers/acpi/acpica/evrgnini.c +1 -5
index 39284deedd88..17df5dacd43c 100644
@@ -16,9 +16,6 @@
 #define _COMPONENT          ACPI_EVENTS
 ACPI_MODULE_NAME("evrgnini")
 
-/* Local prototypes */
-static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node);
-
 /*******************************************************************************
  *
  * FUNCTION:    acpi_ev_system_memory_region_setup
@@ -33,7 +30,6 @@ static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node);
  * DESCRIPTION: Setup a system_memory operation region
  *
  ******************************************************************************/
-
 acpi_status
 acpi_ev_system_memory_region_setup(acpi_handle handle,
 				   u32 function,
@@ -313,7 +309,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle,
  *
  ******************************************************************************/
 
-static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node)
+u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node)
 {
 	acpi_status status;
 	struct acpi_pnp_device_id *hid;
drivers/acpi/acpica/evxfregn.c +0 -1
index 091415b14fbf..3b3a25d9f0e6 100644
@@ -193,7 +193,6 @@ acpi_remove_address_space_handler(acpi_handle device,
 				 */
 				region_obj =
 				    handler_obj->address_space.region_list;
-
 			}
 
 			/* Remove this Handler object from the list */
drivers/acpi/osl.c +1 -0
index ed73f6fb0779..b48874b8e1ea 100644
@@ -1132,6 +1132,7 @@ void acpi_os_wait_events_complete(void)
 	flush_workqueue(kacpid_wq);
 	flush_workqueue(kacpi_notify_wq);
 }
+EXPORT_SYMBOL(acpi_os_wait_events_complete);
 
 struct acpi_hp_work {
 	struct work_struct work;
drivers/acpi/sbshc.c +2 -0
index 7a3431018e0a..5008ead4609a 100644
@@ -196,6 +196,7 @@ int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc)
 	hc->callback = NULL;
 	hc->context = NULL;
 	mutex_unlock(&hc->lock);
+	acpi_os_wait_events_complete();
 	return 0;
 }
 
@@ -292,6 +293,7 @@ static int acpi_smbus_hc_remove(struct acpi_device *device)
 
 	hc = acpi_driver_data(device);
 	acpi_ec_remove_query_handler(hc->ec, hc->query_bit);
+	acpi_os_wait_events_complete();
 	kfree(hc);
 	device->driver_data = NULL;
 	return 0;
drivers/ata/Kconfig +2 -1
index 39b181d6bd0d..99698d7fe585 100644
@@ -121,7 +121,8 @@ config SATA_AHCI_PLATFORM
 
 config AHCI_BRCM
 	tristate "Broadcom AHCI SATA support"
-	depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP
+	depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_NSP || \
+		   ARCH_BCM_63XX
 	help
 	  This option enables support for the AHCI SATA3 controller found on
 	  Broadcom SoC's.
drivers/ata/pata_ep93xx.c +4 -4
index 0a550190955a..cc6d06c1b2c7 100644
@@ -659,7 +659,7 @@ static void ep93xx_pata_dma_init(struct ep93xx_pata_data *drv_data)
 	 * start of new transfer.
 	 */
 	drv_data->dma_rx_data.port = EP93XX_DMA_IDE;
-	drv_data->dma_rx_data.direction = DMA_FROM_DEVICE;
+	drv_data->dma_rx_data.direction = DMA_DEV_TO_MEM;
 	drv_data->dma_rx_data.name = "ep93xx-pata-rx";
 	drv_data->dma_rx_channel = dma_request_channel(mask,
 		ep93xx_pata_dma_filter, &drv_data->dma_rx_data);
@@ -667,7 +667,7 @@ static void ep93xx_pata_dma_init(struct ep93xx_pata_data *drv_data)
 		return;
 
 	drv_data->dma_tx_data.port = EP93XX_DMA_IDE;
-	drv_data->dma_tx_data.direction = DMA_TO_DEVICE;
+	drv_data->dma_tx_data.direction = DMA_MEM_TO_DEV;
 	drv_data->dma_tx_data.name = "ep93xx-pata-tx";
 	drv_data->dma_tx_channel = dma_request_channel(mask,
 		ep93xx_pata_dma_filter, &drv_data->dma_tx_data);
@@ -678,7 +678,7 @@ static void ep93xx_pata_dma_init(struct ep93xx_pata_data *drv_data)
 
 	/* Configure receive channel direction and source address */
 	memset(&conf, 0, sizeof(conf));
-	conf.direction = DMA_FROM_DEVICE;
+	conf.direction = DMA_DEV_TO_MEM;
 	conf.src_addr = drv_data->udma_in_phys;
 	conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
 	if (dmaengine_slave_config(drv_data->dma_rx_channel, &conf)) {
@@ -689,7 +689,7 @@ static void ep93xx_pata_dma_init(struct ep93xx_pata_data *drv_data)
 
 	/* Configure transmit channel direction and destination address */
 	memset(&conf, 0, sizeof(conf));
-	conf.direction = DMA_TO_DEVICE;
+	conf.direction = DMA_MEM_TO_DEV;
 	conf.dst_addr = drv_data->udma_out_phys;
 	conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
 	if (dmaengine_slave_config(drv_data->dma_tx_channel, &conf)) {
drivers/clk/Makefile +1 -0
index a84c5573cabe..ed344eb717cc 100644
@@ -73,6 +73,7 @@ obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
 obj-y					+= imgtec/
 obj-$(CONFIG_ARCH_MXC)			+= imx/
 obj-$(CONFIG_MACH_INGENIC)		+= ingenic/
+obj-$(CONFIG_ARCH_K3)			+= keystone/
 obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
 obj-$(CONFIG_MACH_LOONGSON32)		+= loongson1/
 obj-y					+= mediatek/
drivers/clk/keystone/Kconfig +1 -1
index 7e9f0176578a..b04927d06cd1 100644
@@ -7,7 +7,7 @@ config COMMON_CLK_KEYSTONE
 
 config TI_SCI_CLK
 	tristate "TI System Control Interface clock drivers"
-	depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
+	depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF
 	depends on TI_SCI_PROTOCOL
 	default ARCH_KEYSTONE
 	---help---
drivers/clk/samsung/clk-cpu.c +3 -3
index d2c99d8916b8..a5fddebbe530 100644
@@ -152,7 +152,7 @@ static int exynos_cpuclk_pre_rate_change(struct clk_notifier_data *ndata,
 			struct exynos_cpuclk *cpuclk, void __iomem *base)
 {
 	const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg;
-	unsigned long alt_prate = clk_get_rate(cpuclk->alt_parent);
+	unsigned long alt_prate = clk_hw_get_rate(cpuclk->alt_parent);
 	unsigned long alt_div = 0, alt_div_mask = DIV_MASK;
 	unsigned long div0, div1 = 0, mux_reg;
 	unsigned long flags;
@@ -280,7 +280,7 @@ static int exynos5433_cpuclk_pre_rate_change(struct clk_notifier_data *ndata,
 			struct exynos_cpuclk *cpuclk, void __iomem *base)
 {
 	const struct exynos_cpuclk_cfg_data *cfg_data = cpuclk->cfg;
-	unsigned long alt_prate = clk_get_rate(cpuclk->alt_parent);
+	unsigned long alt_prate = clk_hw_get_rate(cpuclk->alt_parent);
 	unsigned long alt_div = 0, alt_div_mask = DIV_MASK;
 	unsigned long div0, div1 = 0, mux_reg;
 	unsigned long flags;
@@ -432,7 +432,7 @@ int __init exynos_register_cpu_clock(struct samsung_clk_provider *ctx,
 	else
 		cpuclk->clk_nb.notifier_call = exynos_cpuclk_notifier_cb;
 
-	cpuclk->alt_parent = __clk_lookup(alt_parent);
+	cpuclk->alt_parent = __clk_get_hw(__clk_lookup(alt_parent));
 	if (!cpuclk->alt_parent) {
 		pr_err("%s: could not lookup alternate parent %s\n",
 				__func__, alt_parent);
drivers/clk/samsung/clk-cpu.h +1 -1
index d4b6b517fe1b..bd38c6aa3897 100644
@@ -49,7 +49,7 @@ struct exynos_cpuclk_cfg_data {
  */
 struct exynos_cpuclk {
 	struct clk_hw				hw;
-	struct clk				*alt_parent;
+	struct clk_hw				*alt_parent;
 	void __iomem				*ctrl_base;
 	spinlock_t				*lock;
 	const struct exynos_cpuclk_cfg_data	*cfg;
drivers/clk/samsung/clk-exynos5420.c +1 -2
index d4f77c4eb277..ce30862617a6 100644
@@ -634,6 +634,7 @@ static const struct samsung_div_clock exynos5420_div_clks[] __initconst = {
 };
 
 static const struct samsung_gate_clock exynos5420_gate_clks[] __initconst = {
+	GATE(CLK_SECKEY, "seckey", "aclk66_psgen", GATE_BUS_PERIS1, 1, 0, 0),
 	GATE(CLK_MAU_EPLL, "mau_epll", "mout_mau_epll_clk",
 			SRC_MASK_TOP7, 20, CLK_SET_RATE_PARENT, 0),
 };
@@ -1163,8 +1164,6 @@ static const struct samsung_gate_clock exynos5x_gate_clks[] __initconst = {
 	GATE(CLK_TMU, "tmu", "aclk66_psgen", GATE_IP_PERIS, 21, 0, 0),
 	GATE(CLK_TMU_GPU, "tmu_gpu", "aclk66_psgen", GATE_IP_PERIS, 22, 0, 0),
 
-	GATE(CLK_SECKEY, "seckey", "aclk66_psgen", GATE_BUS_PERIS1, 1, 0, 0),
-
 	/* GEN Block */
 	GATE(CLK_ROTATOR, "rotator", "mout_user_aclk266", GATE_IP_GEN, 1, 0, 0),
 	GATE(CLK_JPEG, "jpeg", "aclk300_jpeg", GATE_IP_GEN, 2, 0, 0),
drivers/clk/samsung/clk-exynos5433.c +1 -1
index 162de44df099..426980514e67 100644
@@ -5630,7 +5630,7 @@ static const struct of_device_id exynos5433_cmu_of_match[] = {
 static const struct dev_pm_ops exynos5433_cmu_pm_ops = {
 	SET_RUNTIME_PM_OPS(exynos5433_cmu_suspend, exynos5433_cmu_resume,
 			   NULL)
-	SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
+	SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend,
 				     pm_runtime_force_resume)
 };
 
drivers/clocksource/sh_cmt.c +36 -42

179 lines not on this page · raw message

drivers/cpuidle/governors/menu.c +10 -0
index e26a40971b26..6d7f6b9bb373 100644
@@ -512,6 +512,16 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev)
 		 * duration predictor do a better job next time.
 		 */
 		measured_us = 9 * MAX_INTERESTING / 10;
+	} else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) &&
+		   dev->poll_time_limit) {
+		/*
+		 * The CPU exited the "polling" state due to a time limit, so
+		 * the idle duration prediction leading to the selection of that
+		 * state was inaccurate.  If a better prediction had been made,
+		 * the CPU might have been woken up from idle by the next timer.
+		 * Assume that to be the case.
+		 */
+		measured_us = data->next_timer_us;
 	} else {
 		/* measured value */
 		measured_us = cpuidle_get_last_residency(dev);
drivers/cpuidle/poll_state.c +5 -1
index 3f86d23c592e..36ff5a1d9422 100644
@@ -17,6 +17,8 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev,
 {
 	u64 time_start = local_clock();
 
+	dev->poll_time_limit = false;
+
 	local_irq_enable();
 	if (!current_set_polling_and_test()) {
 		unsigned int loop_count = 0;
@@ -27,8 +29,10 @@ static int __cpuidle poll_idle(struct cpuidle_device *dev,
 				continue;
 
 			loop_count = 0;
-			if (local_clock() - time_start > POLL_IDLE_TIME_LIMIT)
+			if (local_clock() - time_start > POLL_IDLE_TIME_LIMIT) {
+				dev->poll_time_limit = true;
 				break;
+			}
 		}
 	}
 	current_clr_polling();
drivers/crypto/mxs-dcp.c +68 -12

177 lines not on this page · raw message

drivers/devfreq/devfreq.c +83 -21

187 lines not on this page · raw message

drivers/dma/ioat/init.c +3 -4
index 21a5708985bc..0fec3c554fe3 100644
@@ -129,7 +129,7 @@ static void
 ioat_init_channel(struct ioatdma_device *ioat_dma,
 		  struct ioatdma_chan *ioat_chan, int idx);
 static void ioat_intr_quirk(struct ioatdma_device *ioat_dma);
-static int ioat_enumerate_channels(struct ioatdma_device *ioat_dma);
+static void ioat_enumerate_channels(struct ioatdma_device *ioat_dma);
 static int ioat3_dma_self_test(struct ioatdma_device *ioat_dma);
 
 static int ioat_dca_enabled = 1;
@@ -575,7 +575,7 @@ static void ioat_dma_remove(struct ioatdma_device *ioat_dma)
  * ioat_enumerate_channels - find and initialize the device's channels
  * @ioat_dma: the ioat dma device to be enumerated
  */
-static int ioat_enumerate_channels(struct ioatdma_device *ioat_dma)
+static void ioat_enumerate_channels(struct ioatdma_device *ioat_dma)
 {
 	struct ioatdma_chan *ioat_chan;
 	struct device *dev = &ioat_dma->pdev->dev;
@@ -594,7 +594,7 @@ static int ioat_enumerate_channels(struct ioatdma_device *ioat_dma)
 	xfercap_log = readb(ioat_dma->reg_base + IOAT_XFERCAP_OFFSET);
 	xfercap_log &= 0x1f; /* bits [4:0] valid */
 	if (xfercap_log == 0)
-		return 0;
+		return;
 	dev_dbg(dev, "%s: xfercap = %d\n", __func__, 1 << xfercap_log);
 
 	for (i = 0; i < dma->chancnt; i++) {
@@ -611,7 +611,6 @@ static int ioat_enumerate_channels(struct ioatdma_device *ioat_dma)
 		}
 	}
 	dma->chancnt = i;
-	return i;
 }
 
 /**
drivers/dma/sh/rcar-dmac.c +3 -0
index 041ce864097e..80ff95f75199 100644
@@ -198,6 +198,7 @@ struct rcar_dmac {
 	struct dma_device engine;
 	struct device *dev;
 	void __iomem *iomem;
+	struct device_dma_parameters parms;
 
 	unsigned int n_channels;
 	struct rcar_dmac_chan *channels;
@@ -1814,6 +1815,8 @@ static int rcar_dmac_probe(struct platform_device *pdev)
 
 	dmac->dev = &pdev->dev;
 	platform_set_drvdata(pdev, dmac);
+	dmac->dev->dma_parms = &dmac->parms;
+	dma_set_max_seg_size(dmac->dev, RCAR_DMATCR_MASK);
 	dma_set_mask_and_coherent(dmac->dev, DMA_BIT_MASK(40));
 
 	ret = rcar_dmac_parse_of(&pdev->dev, dmac);
drivers/dma/timb_dma.c +1 -1
index 395c698edb4d..fc0f9c8766a8 100644
@@ -545,7 +545,7 @@ static struct dma_async_tx_descriptor *td_prep_slave_sg(struct dma_chan *chan,
 	}
 
 	dma_sync_single_for_device(chan2dmadev(chan), td_desc->txd.phys,
-		td_desc->desc_list_len, DMA_MEM_TO_DEV);
+		td_desc->desc_list_len, DMA_TO_DEVICE);
 
 	return &td_desc->txd;
 }
drivers/gpio/gpio-syscon.c +1 -1
index 87c18a544513..7f3da34c7874 100644
@@ -122,7 +122,7 @@ static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val)
 				   BIT(offs % SYSCON_REG_BITS));
 	}
 
-	priv->data->set(chip, offset, val);
+	chip->set(chip, offset, val);
 
 	return 0;
 }
drivers/gpu/drm/msm/adreno/a6xx_gmu.c +1 -1
index 9acb9dfaf57e..9cde79a7335c 100644
@@ -1140,7 +1140,7 @@ int a6xx_gmu_probe(struct a6xx_gpu *a6xx_gpu, struct device_node *node)
 
 	gmu->dev = &pdev->dev;
 
-	of_dma_configure(gmu->dev, node, false);
+	of_dma_configure(gmu->dev, node, true);
 
 	/* Fow now, don't do anything fancy until we get our feet under us */
 	gmu->idle_level = GMU_IDLE_STATE_ACTIVE;
drivers/hwmon/ina3221.c +3 -3
index e6b49500c52a..8c9555313fc3 100644
@@ -38,9 +38,9 @@
 #define INA3221_WARN3			0x0c
 #define INA3221_MASK_ENABLE		0x0f
 
-#define INA3221_CONFIG_MODE_SHUNT	BIT(1)
-#define INA3221_CONFIG_MODE_BUS		BIT(2)
-#define INA3221_CONFIG_MODE_CONTINUOUS	BIT(3)
+#define INA3221_CONFIG_MODE_SHUNT	BIT(0)
+#define INA3221_CONFIG_MODE_BUS		BIT(1)
+#define INA3221_CONFIG_MODE_CONTINUOUS	BIT(2)
 
 #define INA3221_RSHUNT_DEFAULT		10000
 
drivers/hwmon/k10temp.c +3 -2
index bb15d7816a29..2cef0c37ff6f 100644
@@ -325,8 +325,9 @@ static int k10temp_probe(struct pci_dev *pdev,
 
 	data->pdev = pdev;
 
-	if (boot_cpu_data.x86 == 0x15 && (boot_cpu_data.x86_model == 0x60 ||
-					  boot_cpu_data.x86_model == 0x70)) {
+	if (boot_cpu_data.x86 == 0x15 &&
+	    ((boot_cpu_data.x86_model & 0xf0) == 0x60 ||
+	     (boot_cpu_data.x86_model & 0xf0) == 0x70)) {
 		data->read_htcreg = read_htcreg_nb_f15;
 		data->read_tempreg = read_tempreg_nb_f15;
 	} else if (boot_cpu_data.x86 == 0x17) {
drivers/hwmon/nct6775.c +8 -8
index eba692cddbde..559101a1c136 100644
@@ -704,10 +704,10 @@ static const char *const nct6795_temp_label[] = {
 	"PCH_CHIP_TEMP",
 	"PCH_CPU_TEMP",
 	"PCH_MCH_TEMP",
-	"PCH_DIM0_TEMP",
-	"PCH_DIM1_TEMP",
-	"PCH_DIM2_TEMP",
-	"PCH_DIM3_TEMP",
+	"Agent0 Dimm0",
+	"Agent0 Dimm1",
+	"Agent1 Dimm0",
+	"Agent1 Dimm1",
 	"BYTE_TEMP0",
 	"BYTE_TEMP1",
 	"PECI Agent 0 Calibration",
@@ -742,10 +742,10 @@ static const char *const nct6796_temp_label[] = {
 	"PCH_CHIP_TEMP",
 	"PCH_CPU_TEMP",
 	"PCH_MCH_TEMP",
-	"PCH_DIM0_TEMP",
-	"PCH_DIM1_TEMP",
-	"PCH_DIM2_TEMP",
-	"PCH_DIM3_TEMP",
+	"Agent0 Dimm0",
+	"Agent0 Dimm1",
+	"Agent1 Dimm0",
+	"Agent1 Dimm1",
 	"BYTE_TEMP0",
 	"BYTE_TEMP1",
 	"PECI Agent 0 Calibration",
drivers/hwmon/npcm750-pwm-fan.c +1 -1
index b998f9fbed41..979b579bc118 100644
@@ -52,7 +52,7 @@
 
 /* Define the Counter Register, value = 100 for match 100% */
 #define NPCM7XX_PWM_COUNTER_DEFAULT_NUM		255
-#define NPCM7XX_PWM_CMR_DEFAULT_NUM		127
+#define NPCM7XX_PWM_CMR_DEFAULT_NUM		255
 #define NPCM7XX_PWM_CMR_MAX			255
 
 /* default all PWM channels PRESCALE2 = 1 */
drivers/hwmon/pwm-fan.c +6 -2
index 7f01fad0d3e3..65de80bd63d8 100644
@@ -221,8 +221,12 @@ static int pwm_fan_probe(struct platform_device *pdev)
 
 	ctx->pwm = devm_of_pwm_get(&pdev->dev, pdev->dev.of_node, NULL);
 	if (IS_ERR(ctx->pwm)) {
-		dev_err(&pdev->dev, "Could not get PWM\n");
-		return PTR_ERR(ctx->pwm);
+		ret = PTR_ERR(ctx->pwm);
+
+		if (ret != -EPROBE_DEFER)
+			dev_err(&pdev->dev, "Could not get PWM: %d\n", ret);
+
+		return ret;
 	}
 
 	platform_set_drvdata(pdev, ctx);
drivers/i2c/busses/Kconfig +4 -3
index 8f803812ea24..ee6dd1b84fac 100644
@@ -433,12 +433,13 @@ config I2C_BCM_KONA
 	  If you do not need KONA I2C interface, say N.
 
 config I2C_BRCMSTB
-	tristate "BRCM Settop I2C controller"
-	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
+	tristate "BRCM Settop/DSL I2C controller"
+	depends on ARCH_BRCMSTB || BMIPS_GENERIC || ARCH_BCM_63XX || \
+		   COMPILE_TEST
 	default y
 	help
 	  If you say yes to this option, support will be included for the
-	  I2C interface on the Broadcom Settop SoCs.
+	  I2C interface on the Broadcom Settop/DSL SoCs.
 
 	  If you do not need I2C interface, say N.
 
drivers/i2c/busses/i2c-mt65xx.c +4 -4
index a74ef76705e0..2bb4d20ead32 100644
@@ -503,7 +503,7 @@ static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs,
 		writel(I2C_DMA_INT_FLAG_NONE, i2c->pdmabase + OFFSET_INT_FLAG);
 		writel(I2C_DMA_CON_RX, i2c->pdmabase + OFFSET_CON);
 
-		dma_rd_buf = i2c_get_dma_safe_msg_buf(msgs, 0);
+		dma_rd_buf = i2c_get_dma_safe_msg_buf(msgs, 1);
 		if (!dma_rd_buf)
 			return -ENOMEM;
 
@@ -526,7 +526,7 @@ static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs,
 		writel(I2C_DMA_INT_FLAG_NONE, i2c->pdmabase + OFFSET_INT_FLAG);
 		writel(I2C_DMA_CON_TX, i2c->pdmabase + OFFSET_CON);
 
-		dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 0);
+		dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 1);
 		if (!dma_wr_buf)
 			return -ENOMEM;
 
@@ -549,7 +549,7 @@ static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs,
 		writel(I2C_DMA_CLR_FLAG, i2c->pdmabase + OFFSET_INT_FLAG);
 		writel(I2C_DMA_CLR_FLAG, i2c->pdmabase + OFFSET_CON);
 
-		dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 0);
+		dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 1);
 		if (!dma_wr_buf)
 			return -ENOMEM;
 
@@ -561,7 +561,7 @@ static int mtk_i2c_do_transfer(struct mtk_i2c *i2c, struct i2c_msg *msgs,
 			return -ENOMEM;
 		}
 
-		dma_rd_buf = i2c_get_dma_safe_msg_buf((msgs + 1), 0);
+		dma_rd_buf = i2c_get_dma_safe_msg_buf((msgs + 1), 1);
 		if (!dma_rd_buf) {
 			dma_unmap_single(i2c->dev, wpaddr,
 					 msgs->len, DMA_TO_DEVICE);
drivers/i2c/busses/i2c-omap.c +5 -3
index 2ac86096ddd9..cd9c65f3d404 100644
@@ -661,9 +661,6 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap,
 	dev_dbg(omap->dev, "addr: 0x%04x, len: %d, flags: 0x%x, stop: %d\n",
 		msg->addr, msg->len, msg->flags, stop);
 
-	if (msg->len == 0)
-		return -EINVAL;
-
 	omap->receiver = !!(msg->flags & I2C_M_RD);
 	omap_i2c_resize_fifo(omap, msg->len, omap->receiver);
 
@@ -1179,6 +1176,10 @@ static const struct i2c_algorithm omap_i2c_algo = {
 	.functionality	= omap_i2c_func,
 };
 
+static const struct i2c_adapter_quirks omap_i2c_quirks = {
+	.flags = I2C_AQ_NO_ZERO_LEN,
+};
+
 #ifdef CONFIG_OF
 static struct omap_i2c_bus_platform_data omap2420_pdata = {
 	.rev = OMAP_I2C_IP_VERSION_1,
@@ -1453,6 +1454,7 @@ omap_i2c_probe(struct platform_device *pdev)
 	adap->class = I2C_CLASS_DEPRECATED;
 	strlcpy(adap->name, "OMAP I2C adapter", sizeof(adap->name));
 	adap->algo = &omap_i2c_algo;
+	adap->quirks = &omap_i2c_quirks;
 	adap->dev.parent = &pdev->dev;
 	adap->dev.of_node = pdev->dev.of_node;
 	adap->bus_recovery_info = &omap_i2c_bus_recovery_info;
drivers/i2c/busses/i2c-qup.c +6 -8
index c86c3ae1318f..e09cd0775ae9 100644
@@ -1088,11 +1088,6 @@ static int qup_i2c_xfer(struct i2c_adapter *adap,
 	writel(I2C_MINI_CORE | I2C_N_VAL, qup->base + QUP_CONFIG);
 
 	for (idx = 0; idx < num; idx++) {
-		if (msgs[idx].len == 0) {
-			ret = -EINVAL;
-			goto out;
-		}
-
 		if (qup_i2c_poll_state_i2c_master(qup)) {
 			ret = -EIO;
 			goto out;
@@ -1520,9 +1515,6 @@ qup_i2c_determine_mode_v2(struct qup_i2c_dev *qup,
 
 	/* All i2c_msgs should be transferred using either dma or cpu */
 	for (idx = 0; idx < num; idx++) {
-		if (msgs[idx].len == 0)
-			return -EINVAL;
-
 		if (msgs[idx].flags & I2C_M_RD)
 			max_rx_len = max_t(unsigned int, max_rx_len,
 					   msgs[idx].len);
@@ -1636,9 +1628,14 @@ static const struct i2c_algorithm qup_i2c_algo_v2 = {
  * which limits the possible read to 256 (QUP_READ_LIMIT) bytes.
  */
 static const struct i2c_adapter_quirks qup_i2c_quirks = {
+	.flags = I2C_AQ_NO_ZERO_LEN,
 	.max_read_len = QUP_READ_LIMIT,
 };
 
+static const struct i2c_adapter_quirks qup_i2c_quirks_v2 = {
+	.flags = I2C_AQ_NO_ZERO_LEN,
+};
+
 static void qup_i2c_enable_clocks(struct qup_i2c_dev *qup)
 {
 	clk_prepare_enable(qup->clk);
@@ -1701,6 +1698,7 @@ static int qup_i2c_probe(struct platform_device *pdev)
 		is_qup_v1 = true;
 	} else {
 		qup->adap.algo = &qup_i2c_algo_v2;
+		qup->adap.quirks = &qup_i2c_quirks_v2;
 		is_qup_v1 = false;
 		if (acpi_match_device(qup_i2c_acpi_match, qup->dev))
 			goto nodma;
drivers/i2c/busses/i2c-tegra.c +1 -3
index ef13b6ce9d8d..47d196c026ba 100644
@@ -684,9 +684,6 @@ static int tegra_i2c_xfer_msg(struct tegra_i2c_dev *i2c_dev,
 
 	tegra_i2c_flush_fifos(i2c_dev);
 
-	if (msg->len == 0)
-		return -EINVAL;
-
 	i2c_dev->msg_buf = msg->buf;
 	i2c_dev->msg_buf_remaining = msg->len;
 	i2c_dev->msg_err = I2C_ERR_NONE;
@@ -831,6 +828,7 @@ static const struct i2c_algorithm tegra_i2c_algo = {
 
 /* payload size is only 12 bit */
 static const struct i2c_adapter_quirks tegra_i2c_quirks = {
+	.flags = I2C_AQ_NO_ZERO_LEN,
 	.max_read_len = 4096,
 	.max_write_len = 4096 - 12,
 };
drivers/i2c/busses/i2c-zx2967.c +5 -3
index 48281c1b30c6..b8f9e020d80e 100644
@@ -281,9 +281,6 @@ static int zx2967_i2c_xfer_msg(struct zx2967_i2c *i2c,
 	int ret;
 	int i;
 
-	if (msg->len == 0)
-		return -EINVAL;
-
 	zx2967_i2c_flush_fifos(i2c);
 
 	i2c->cur_trans = msg->buf;
@@ -498,6 +495,10 @@ static const struct i2c_algorithm zx2967_i2c_algo = {
 	.functionality = zx2967_i2c_func,
 };
 
+static const struct i2c_adapter_quirks zx2967_i2c_quirks = {
+	.flags = I2C_AQ_NO_ZERO_LEN,
+};
+
 static const struct of_device_id zx2967_i2c_of_match[] = {
 	{ .compatible = "zte,zx296718-i2c", },
 	{ },
@@ -568,6 +569,7 @@ static int zx2967_i2c_probe(struct platform_device *pdev)
 	strlcpy(i2c->adap.name, "zx2967 i2c adapter",
 		sizeof(i2c->adap.name));
 	i2c->adap.algo = &zx2967_i2c_algo;
+	i2c->adap.quirks = &zx2967_i2c_quirks;
 	i2c->adap.nr = pdev->id;
 	i2c->adap.dev.parent = &pdev->dev;
 	i2c->adap.dev.of_node = pdev->dev.of_node;
drivers/infiniband/hw/hfi1/mad.c +2 -2
index f208a25d0e4f..1669548e91dc 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright(c) 2015-2017 Intel Corporation.
+ * Copyright(c) 2015-2018 Intel Corporation.
  *
  * This file is provided under a dual BSD/GPLv2 license.  When using or
  * redistributing this file, you may do so under either license.
@@ -4829,7 +4829,7 @@ static int hfi1_process_opa_mad(struct ib_device *ibdev, int mad_flags,
 	int ret;
 	int pkey_idx;
 	int local_mad = 0;
-	u32 resp_len = 0;
+	u32 resp_len = in_wc->byte_len - sizeof(*in_grh);
 	struct hfi1_ibport *ibp = to_iport(ibdev, port);
 
 	pkey_idx = hfi1_lookup_pkey_idx(ibp, LIM_MGMT_P_KEY);
drivers/infiniband/hw/hns/hns_roce_device.h +2 -0
index 9a24fd0ee3e7..ebfb0998bced 100644
@@ -665,7 +665,9 @@ struct hns_roce_caps {
 	u32		max_sq_sg;	/* 2 */
 	u32		max_sq_inline;	/* 32 */
 	u32		max_rq_sg;	/* 2 */
+	u32		max_extend_sg;
 	int		num_qps;	/* 256k */
+	int             reserved_qps;
 	u32		max_wqes;	/* 16k */
 	u32		max_sq_desc_sz;	/* 64 */
 	u32		max_rq_desc_sz;	/* 64 */
drivers/infiniband/hw/hns/hns_roce_hw_v2.c +4 -0
index 3f8e13190aa7..9e7923cf8577 100644
@@ -121,6 +121,7 @@ static int set_rwqe_data_seg(struct ib_qp *ibqp, const struct ib_send_wr *wr,
 		}
 
 		if (wr->opcode == IB_WR_RDMA_READ) {
+			*bad_wr =  wr;
 			dev_err(hr_dev->dev, "Not support inline data!\n");
 			return -EINVAL;
 		}
@@ -1193,6 +1194,7 @@ static int hns_roce_v2_profile(struct hns_roce_dev *hr_dev)
 	caps->num_cqs		= HNS_ROCE_V2_MAX_CQ_NUM;
 	caps->max_cqes		= HNS_ROCE_V2_MAX_CQE_NUM;
 	caps->max_sq_sg		= HNS_ROCE_V2_MAX_SQ_SGE_NUM;
+	caps->max_extend_sg	= HNS_ROCE_V2_MAX_EXTEND_SGE_NUM;
 	caps->max_rq_sg		= HNS_ROCE_V2_MAX_RQ_SGE_NUM;
 	caps->max_sq_inline	= HNS_ROCE_V2_MAX_SQ_INLINE;
 	caps->num_uars		= HNS_ROCE_V2_UAR_NUM;
@@ -1222,6 +1224,7 @@ static int hns_roce_v2_profile(struct hns_roce_dev *hr_dev)
 	caps->reserved_mrws	= 1;
 	caps->reserved_uars	= 0;
 	caps->reserved_cqs	= 0;
+	caps->reserved_qps	= HNS_ROCE_V2_RSV_QPS;
 
 	caps->qpc_ba_pg_sz	= 0;
 	caps->qpc_buf_pg_sz	= 0;
@@ -2266,6 +2269,7 @@ static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq,
 		wc->src_qp = (u8)roce_get_field(cqe->byte_32,
 						V2_CQE_BYTE_32_RMT_QPN_M,
 						V2_CQE_BYTE_32_RMT_QPN_S);
+		wc->slid = 0;
 		wc->wc_flags |= (roce_get_bit(cqe->byte_32,
 					      V2_CQE_BYTE_32_GRH_S) ?
 					      IB_WC_GRH : 0);
drivers/infiniband/hw/hns/hns_roce_hw_v2.h +2 -0
index 14aa308befef..2c3e600db9ce 100644
@@ -50,6 +50,7 @@
 #define HNS_ROCE_V2_MAX_CQE_NUM			0x10000
 #define HNS_ROCE_V2_MAX_RQ_SGE_NUM		0x100
 #define HNS_ROCE_V2_MAX_SQ_SGE_NUM		0xff
+#define HNS_ROCE_V2_MAX_EXTEND_SGE_NUM		0x200000
 #define HNS_ROCE_V2_MAX_SQ_INLINE		0x20
 #define HNS_ROCE_V2_UAR_NUM			256
 #define HNS_ROCE_V2_PHY_UAR_NUM			1
@@ -78,6 +79,7 @@
 #define HNS_ROCE_INVALID_LKEY			0x100
 #define HNS_ROCE_CMQ_TX_TIMEOUT			30000
 #define HNS_ROCE_V2_UC_RC_SGE_NUM_IN_WQE	2
+#define HNS_ROCE_V2_RSV_QPS			8
 
 #define HNS_ROCE_CONTEXT_HOP_NUM		1
 #define HNS_ROCE_MTT_HOP_NUM			1
drivers/infiniband/hw/hns/hns_roce_qp.c +27 -2
index 2fa4fb17f6d3..54d22868ffba 100644
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/pci.h>
 #include <linux/platform_device.h>
 #include <rdma/ib_addr.h>
 #include <rdma/ib_umem.h>
@@ -372,6 +373,16 @@ static int hns_roce_set_user_sq_size(struct hns_roce_dev *hr_dev,
 	if (hr_qp->sq.max_gs > 2)
 		hr_qp->sge.sge_cnt = roundup_pow_of_two(hr_qp->sq.wqe_cnt *
 							(hr_qp->sq.max_gs - 2));
+
+	if ((hr_qp->sq.max_gs > 2) && (hr_dev->pci_dev->revision == 0x20)) {
+		if (hr_qp->sge.sge_cnt > hr_dev->caps.max_extend_sg) {
+			dev_err(hr_dev->dev,
+				"The extended sge cnt error! sge_cnt=%d\n",
+				hr_qp->sge.sge_cnt);
+			return -EINVAL;
+		}
+	}
+
 	hr_qp->sge.sge_shift = 4;
 
 	/* Get buf size, SQ and RQ  are aligned to page_szie */
@@ -465,6 +476,14 @@ static int hns_roce_set_kernel_sq_size(struct hns_roce_dev *hr_dev,
 		hr_qp->sge.sge_shift = 4;
 	}
 
+	if ((hr_qp->sq.max_gs > 2) && hr_dev->pci_dev->revision == 0x20) {
+		if (hr_qp->sge.sge_cnt > hr_dev->caps.max_extend_sg) {
+			dev_err(dev, "The extended sge cnt error! sge_cnt=%d\n",
+				hr_qp->sge.sge_cnt);
+			return -EINVAL;
+		}
+	}
+
 	/* Get buf size, SQ and RQ are aligned to PAGE_SIZE */
 	page_size = 1 << (hr_dev->caps.mtt_buf_pg_sz + PAGE_SHIFT);
 	hr_qp->sq.offset = 0;
@@ -1106,14 +1125,20 @@ int hns_roce_init_qp_table(struct hns_roce_dev *hr_dev)
 {
 	struct hns_roce_qp_table *qp_table = &hr_dev->qp_table;
 	int reserved_from_top = 0;
+	int reserved_from_bot;
 	int ret;
 
 	spin_lock_init(&qp_table->lock);
 	INIT_RADIX_TREE(&hr_dev->qp_table_tree, GFP_ATOMIC);
 
-	/* A port include two SQP, six port total 12 */
+	/* In hw v1, a port include two SQP, six ports total 12 */
+	if (hr_dev->caps.max_sq_sg <= 2)
+		reserved_from_bot = SQP_NUM;
+	else
+		reserved_from_bot = hr_dev->caps.reserved_qps;
+
 	ret = hns_roce_bitmap_init(&qp_table->bitmap, hr_dev->caps.num_qps,
-				   hr_dev->caps.num_qps - 1, SQP_NUM,
+				   hr_dev->caps.num_qps - 1, reserved_from_bot,
 				   reserved_from_top);
 	if (ret) {
 		dev_err(hr_dev->dev, "qp bitmap init failed!error=%d\n",
drivers/infiniband/hw/mthca/mthca_main.c +2 -1
index f3e80dec1334..af7f2083d4d1 100644
@@ -986,7 +986,8 @@ static int __mthca_init_one(struct pci_dev *pdev, int hca_type)
 		goto err_free_dev;
 	}
 
-	if (mthca_cmd_init(mdev)) {
+	err = mthca_cmd_init(mdev);
+	if (err) {
 		mthca_err(mdev, "Failed to init command interface, aborting.\n");
 		goto err_free_dev;
 	}
drivers/infiniband/sw/rxe/rxe_srq.c +8 -2
index 0d6c04ba7fc3..c41a5fee81f7 100644
@@ -31,6 +31,7 @@
  * SOFTWARE.
  */
 
+#include <linux/vmalloc.h>
 #include "rxe.h"
 #include "rxe_loc.h"
 #include "rxe_queue.h"
@@ -129,13 +130,18 @@ int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq,
 
 	err = do_mmap_info(rxe, uresp ? &uresp->mi : NULL, context, q->buf,
 			   q->buf_size, &q->ip);
-	if (err)
+	if (err) {
+		vfree(q->buf);
+		kfree(q);
 		return err;
+	}
 
 	if (uresp) {
 		if (copy_to_user(&uresp->srq_num, &srq->srq_num,
-				 sizeof(uresp->srq_num)))
+				 sizeof(uresp->srq_num))) {
+			rxe_queue_cleanup(q);
 			return -EFAULT;
+		}
 	}
 
 	return 0;
drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c +2 -1
index 267da8215e08..31cd361416ac 100644
@@ -351,7 +351,8 @@ static uint32_t opa_vnic_get_dlid(struct opa_vnic_adapter *adapter,
 			if (unlikely(!dlid))
 				v_warn("Null dlid in MAC address\n");
 		} else if (def_port != OPA_VNIC_INVALID_PORT) {
-			dlid = info->vesw.u_ucast_dlid[def_port];
+			if (def_port < OPA_VESW_MAX_NUM_DEF_PORT)
+				dlid = info->vesw.u_ucast_dlid[def_port];
 		}
 	}
 
drivers/input/touchscreen/silead.c +13 -0
index e5c3b066bd2a..06f0eb04a8fd 100644
@@ -558,20 +558,33 @@ static int __maybe_unused silead_ts_suspend(struct device *dev)
 static int __maybe_unused silead_ts_resume(struct device *dev)
 {
 	struct i2c_client *client = to_i2c_client(dev);
+	bool second_try = false;
 	int error, status;
 
 	silead_ts_set_power(client, SILEAD_POWER_ON);
 
+ retry:
 	error = silead_ts_reset(client);
 	if (error)
 		return error;
 
+	if (second_try) {
+		error = silead_ts_load_fw(client);
+		if (error)
+			return error;
+	}
+
 	error = silead_ts_startup(client);
 	if (error)
 		return error;
 
 	status = silead_ts_get_status(client);
 	if (status != SILEAD_STATUS_OK) {
+		if (!second_try) {
+			second_try = true;
+			dev_dbg(dev, "Reloading firmware after unsuccessful resume\n");
+			goto retry;
+		}
 		dev_err(dev, "Resume error, status: 0x%02x\n", status);
 		return -ENODEV;
 	}
drivers/input/touchscreen/st1232.c +1 -0
index d5dfa4053bbf..b71673911aac 100644
@@ -195,6 +195,7 @@ static int st1232_ts_probe(struct i2c_client *client,
 	input_dev->id.bustype = BUS_I2C;
 	input_dev->dev.parent = &client->dev;
 
+	__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
 	__set_bit(EV_SYN, input_dev->evbit);
 	__set_bit(EV_KEY, input_dev->evbit);
 	__set_bit(EV_ABS, input_dev->evbit);
drivers/iommu/arm-smmu-v3.c +3 -5
index 40fbf20d69e5..2ab7100bcff1 100644
@@ -567,7 +567,7 @@ struct arm_smmu_device {
 
 	int				gerr_irq;
 	int				combined_irq;
-	atomic_t			sync_nr;
+	u32				sync_nr;
 
 	unsigned long			ias; /* IPA */
 	unsigned long			oas; /* PA */
@@ -964,14 +964,13 @@ static int __arm_smmu_cmdq_issue_sync_msi(struct arm_smmu_device *smmu)
 	struct arm_smmu_cmdq_ent ent = {
 		.opcode = CMDQ_OP_CMD_SYNC,
 		.sync	= {
-			.msidata = atomic_inc_return_relaxed(&smmu->sync_nr),
 			.msiaddr = virt_to_phys(&smmu->sync_count),
 		},
 	};
 
-	arm_smmu_cmdq_build_cmd(cmd, &ent);
-
 	spin_lock_irqsave(&smmu->cmdq.lock, flags);
+	ent.sync.msidata = ++smmu->sync_nr;
+	arm_smmu_cmdq_build_cmd(cmd, &ent);
 	arm_smmu_cmdq_insert_cmd(smmu, cmd);
 	spin_unlock_irqrestore(&smmu->cmdq.lock, flags);
 
@@ -2196,7 +2195,6 @@ static int arm_smmu_init_structures(struct arm_smmu_device *smmu)
 {
 	int ret;
 
-	atomic_set(&smmu->sync_nr, 0);
 	ret = arm_smmu_init_queues(smmu);
 	if (ret)
 		return ret;
drivers/iommu/io-pgtable-arm.c +4 -5
index 88641b4560bc..2f79efd16a05 100644
@@ -574,13 +574,12 @@ static size_t arm_lpae_split_blk_unmap(struct arm_lpae_io_pgtable *data,
 			return 0;
 
 		tablep = iopte_deref(pte, data);
+	} else if (unmap_idx >= 0) {
+		io_pgtable_tlb_add_flush(&data->iop, iova, size, size, true);
+		return size;
 	}
 
-	if (unmap_idx < 0)
-		return __arm_lpae_unmap(data, iova, size, lvl, tablep);
-
-	io_pgtable_tlb_add_flush(&data->iop, iova, size, size, true);
-	return size;
+	return __arm_lpae_unmap(data, iova, size, lvl, tablep);
 }
 
 static size_t __arm_lpae_unmap(struct arm_lpae_io_pgtable *data,
drivers/irqchip/irq-mvebu-icu.c +1 -1
index 13063339b416..a2a3acd74491 100644
@@ -105,7 +105,7 @@ static int
 mvebu_icu_irq_domain_translate(struct irq_domain *d, struct irq_fwspec *fwspec,
 			       unsigned long *hwirq, unsigned int *type)
 {
-	struct mvebu_icu *icu = d->host_data;
+	struct mvebu_icu *icu = platform_msi_get_host_data(d);
 	unsigned int icu_group;
 
 	/* Check the count of the parameters in dt */
drivers/lightnvm/pblk-core.c +13 -19
index 80710c62ac29..8dce31dbf2cb 100644
@@ -893,10 +893,8 @@ static void pblk_setup_e_rq(struct pblk *pblk, struct nvm_rq *rqd,
 
 static int pblk_blk_erase_sync(struct pblk *pblk, struct ppa_addr ppa)
 {
-	struct nvm_rq rqd;
-	int ret = 0;
-
-	memset(&rqd, 0, sizeof(struct nvm_rq));
+	struct nvm_rq rqd = {NULL};
+	int ret;
 
 	pblk_setup_e_rq(pblk, &rqd, ppa);
 
@@ -904,19 +902,6 @@ static int pblk_blk_erase_sync(struct pblk *pblk, struct ppa_addr ppa)
 	 * with writes. Thus, there is no need to take the LUN semaphore.
 	 */
 	ret = pblk_submit_io_sync(pblk, &rqd);
-	if (ret) {
-		struct nvm_tgt_dev *dev = pblk->dev;
-		struct nvm_geo *geo = &dev->geo;
-
-		pblk_err(pblk, "could not sync erase line:%d,blk:%d\n",
-					pblk_ppa_to_line(ppa),
-					pblk_ppa_to_pos(geo, ppa));
-
-		rqd.error = ret;
-		goto out;
-	}
-
-out:
 	rqd.private = pblk;
 	__pblk_end_io_erase(pblk, &rqd);
 
@@ -1788,6 +1773,17 @@ void pblk_line_close_meta(struct pblk *pblk, struct pblk_line *line)
 	wa->pad = cpu_to_le64(atomic64_read(&pblk->pad_wa));
 	wa->gc = cpu_to_le64(atomic64_read(&pblk->gc_wa));
 
+	if (le32_to_cpu(emeta_buf->header.identifier) != PBLK_MAGIC) {
+		emeta_buf->header.identifier = cpu_to_le32(PBLK_MAGIC);
+		memcpy(emeta_buf->header.uuid, pblk->instance_uuid, 16);
+		emeta_buf->header.id = cpu_to_le32(line->id);
+		emeta_buf->header.type = cpu_to_le16(line->type);
+		emeta_buf->header.version_major = EMETA_VERSION_MAJOR;
+		emeta_buf->header.version_minor = EMETA_VERSION_MINOR;
+		emeta_buf->header.crc = cpu_to_le32(
+			pblk_calc_meta_header_crc(pblk, &emeta_buf->header));
+	}
+
 	emeta_buf->nr_valid_lbas = cpu_to_le64(line->nr_valid_lbas);
 	emeta_buf->crc = cpu_to_le32(pblk_calc_emeta_crc(pblk, emeta_buf));
 
@@ -1805,8 +1801,6 @@ void pblk_line_close_meta(struct pblk *pblk, struct pblk_line *line)
 	spin_unlock(&l_mg->close_lock);
 
 	pblk_line_should_sync_meta(pblk);
-
-
 }
 
 static void pblk_save_lba_list(struct pblk *pblk, struct pblk_line *line)
drivers/lightnvm/pblk-init.c +7 -3
index 537e98f2b24a..88b632787abd 100644
@@ -181,7 +181,8 @@ static int pblk_rwb_init(struct pblk *pblk)
 	unsigned int power_size, power_seg_sz;
 	int pgs_in_buffer;
 
-	pgs_in_buffer = max(geo->mw_cunits, geo->ws_opt) * geo->all_luns;
+	pgs_in_buffer = (max(geo->mw_cunits, geo->ws_opt) + geo->ws_opt)
+								* geo->all_luns;
 
 	if (write_buffer_size && (write_buffer_size > pgs_in_buffer))
 		buffer_size = write_buffer_size;
@@ -371,9 +372,11 @@ static int pblk_core_init(struct pblk *pblk)
 	atomic64_set(&pblk->nr_flush, 0);
 	pblk->nr_flush_rst = 0;
 
-	pblk->min_write_pgs = geo->ws_opt * (geo->csecs / PAGE_SIZE);
+	pblk->min_write_pgs = geo->ws_opt;
 	max_write_ppas = pblk->min_write_pgs * geo->all_luns;
 	pblk->max_write_pgs = min_t(int, max_write_ppas, NVM_MAX_VLBA);
+	pblk->max_write_pgs = min_t(int, pblk->max_write_pgs,
+		queue_max_hw_sectors(dev->q) / (geo->csecs >> SECTOR_SHIFT));
 	pblk_set_sec_per_write(pblk, pblk->min_write_pgs);
 
 	if (pblk->max_write_pgs > PBLK_MAX_REQ_ADDRS) {
@@ -1083,7 +1086,8 @@ static int pblk_lines_init(struct pblk *pblk)
 
 	if (!nr_free_chks) {
 		pblk_err(pblk, "too many bad blocks prevent for sane instance\n");
-		return -EINTR;
+		ret = -EINTR;
+		goto fail_free_lines;
 	}
 
 	pblk_set_provision(pblk, nr_free_chks);
drivers/lightnvm/pblk-sysfs.c +1 -2
index 8d2ed510c04b..bdc86ee4c779 100644
@@ -343,7 +343,6 @@ static ssize_t pblk_get_write_amp(u64 user, u64 gc, u64 pad,
 {
 	int sz;
 
-
 	sz = snprintf(page, PAGE_SIZE,
 			"user:%lld gc:%lld pad:%lld WA:",
 			user, gc, pad);
@@ -355,7 +354,7 @@ static ssize_t pblk_get_write_amp(u64 user, u64 gc, u64 pad,
 		u32 wa_frac;
 
 		wa_int = (user + gc + pad) * 100000;
-		wa_int = div_u64(wa_int, user);
+		wa_int = div64_u64(wa_int, user);
 		wa_int = div_u64_rem(wa_int, 100000, &wa_frac);
 
 		sz += snprintf(page + sz, PAGE_SIZE - sz, "%llu.%05u\n",
drivers/md/bcache/super.c +6 -0
index 2321643974da..4998b4cae9c1 100644
@@ -418,6 +418,7 @@ static int __uuid_write(struct cache_set *c)
 {
 	BKEY_PADDED(key) k;
 	struct closure cl;
+	struct cache *ca;
 
 	closure_init_stack(&cl);
 	lockdep_assert_held(&bch_register_lock);
@@ -429,6 +430,10 @@ static int __uuid_write(struct cache_set *c)
 	uuid_io(c, REQ_OP_WRITE, 0, &k.key, &cl);
 	closure_sync(&cl);
 
+	/* Only one bucket used for uuid write */
+	ca = PTR_CACHE(c, &k.key, 0);
+	atomic_long_add(ca->sb.bucket_size, &ca->meta_sectors_written);
+
 	bkey_copy(&c->uuid_bucket, &k.key);
 	bkey_put(c, &k.key);
 	return 0;
@@ -1004,6 +1009,7 @@ static void cached_dev_detach_finish(struct work_struct *w)
 	bch_write_bdev_super(dc, &cl);
 	closure_sync(&cl);
 
+	calc_cached_dev_sectors(dc->disk.c);
 	bcache_device_detach(&dc->disk);
 	list_move(&dc->list, &uncached_devices);
 
drivers/md/md.c +12 -10
index a8fbaa384e9a..2fe4f93d1d7d 100644
@@ -8778,6 +8778,18 @@ static void md_start_sync(struct work_struct *ws)
  */
 void md_check_recovery(struct mddev *mddev)
 {
+	if (test_bit(MD_ALLOW_SB_UPDATE, &mddev->flags) && mddev->sb_flags) {
+		/* Write superblock - thread that called mddev_suspend()
+		 * holds reconfig_mutex for us.
+		 */
+		set_bit(MD_UPDATING_SB, &mddev->flags);
+		smp_mb__after_atomic();
+		if (test_bit(MD_ALLOW_SB_UPDATE, &mddev->flags))
+			md_update_sb(mddev, 0);
+		clear_bit_unlock(MD_UPDATING_SB, &mddev->flags);
+		wake_up(&mddev->sb_wait);
+	}
+
 	if (mddev->suspended)
 		return;
 
@@ -8938,16 +8950,6 @@ void md_check_recovery(struct mddev *mddev)
 	unlock:
 		wake_up(&mddev->sb_wait);
 		mddev_unlock(mddev);
-	} else if (test_bit(MD_ALLOW_SB_UPDATE, &mddev->flags) && mddev->sb_flags) {
-		/* Write superblock - thread that called mddev_suspend()
-		 * holds reconfig_mutex for us.
-		 */
-		set_bit(MD_UPDATING_SB, &mddev->flags);
-		smp_mb__after_atomic();
-		if (test_bit(MD_ALLOW_SB_UPDATE, &mddev->flags))
-			md_update_sb(mddev, 0);
-		clear_bit_unlock(MD_UPDATING_SB, &mddev->flags);
-		wake_up(&mddev->sb_wait);
 	}
 }
 EXPORT_SYMBOL(md_check_recovery);
drivers/media/cec/cec-pin.c +20 -0
index 0496d93b2b8f..8f987bc0dd88 100644
@@ -936,6 +936,17 @@ static enum hrtimer_restart cec_pin_timer(struct hrtimer *timer)
 			/* Start bit, switch to receive state */
 			pin->ts = ts;
 			pin->state = CEC_ST_RX_START_BIT_LOW;
+			/*
+			 * If a transmit is pending, then that transmit should
+			 * use a signal free time of no more than
+			 * CEC_SIGNAL_FREE_TIME_NEW_INITIATOR since it will
+			 * have a new initiator due to the receive that is now
+			 * starting.
+			 */
+			if (pin->tx_msg.len && pin->tx_signal_free_time >
+			    CEC_SIGNAL_FREE_TIME_NEW_INITIATOR)
+				pin->tx_signal_free_time =
+					CEC_SIGNAL_FREE_TIME_NEW_INITIATOR;
 			break;
 		}
 		if (ktime_to_ns(pin->ts) == 0)
@@ -1158,6 +1169,15 @@ static int cec_pin_adap_transmit(struct cec_adapter *adap, u8 attempts,
 {
 	struct cec_pin *pin = adap->pin;
 
+	/*
+	 * If a receive is in progress, then this transmit should use
+	 * a signal free time of max CEC_SIGNAL_FREE_TIME_NEW_INITIATOR
[… more lines in the raw message]

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

drivers/media/i2c/adv748x/adv748x-core.c +22 -3
index 6ca88daa0ecd..65c3024c5f76 100644

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

drivers/media/i2c/adv748x/adv748x-csi2.c +6 -12
index 469be87a3761..556e13c911a6 100644

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

drivers/media/i2c/adv748x/adv748x.h +2 -0
index 65f83741277e..1cf46c401664 100644

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

drivers/media/i2c/dw9714.c +2 -1
index 91fae01d052b..3dc2100470a1 100644

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

drivers/media/i2c/dw9807-vcm.c +2 -1
index 8ba3920b6e2f..5477ba326d68 100644

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

drivers/media/i2c/ov5640.c +4 -3
index a3bbef682fb8..2023df14f828 100644

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

drivers/media/pci/cx18/cx18-driver.c +1 -1
index 0c389a3fb4e5..e64f9093cd6d 100644

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

drivers/media/platform/davinci/isif.c +2 -1
index f924e76e2fbf..340f8218f54d 100644

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

drivers/media/platform/pxa_camera.c +1 -1
index b6e9e93bde7a..406ac673ad84 100644

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

drivers/media/platform/qcom/venus/vdec.c +1 -2
index dfbbbf0f746f..e40fdf97b0f0 100644

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

drivers/media/platform/rcar-vin/rcar-core.c +0 -1
index e1085e3ab3cc..485fa3fa8b49 100644

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

drivers/media/rc/ir-rc6-decoder.c +7 -2
index 68487ce9f79b..d96aed1343e4 100644

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

drivers/media/usb/cx231xx/cx231xx-video.c +1 -1
index f7fcd733a2ca..963739fa8671 100644

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

drivers/mfd/ti_am335x_tscadc.c +13 -0
index fe8d335a4d74..4660ad90ef55 100644

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

drivers/misc/cxl/guest.c +0 -2
index b83a373e3a8d..08f4a512afad 100644

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

drivers/mmc/host/mmci.c +16 -11
index eb1a65cb878f..fa6268c0f123 100644

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

drivers/mmc/host/mmci.h +3 -3
index 517591d219e9..613d37ab08d2 100644

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

drivers/mmc/host/renesas_sdhi_internal_dmac.c +9 -0
index ca0b43973769..382172fb3da8 100644

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

drivers/mmc/host/tmio_mmc_core.c +3 -2
index 7d13ca9ea534..35630ccbe9e5 100644

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

drivers/mtd/devices/m25p80.c +8 -15
index 270d3c9580c5..c4a1d04b8c80 100644

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

drivers/mtd/maps/physmap_of_core.c +5 -22
index 4129535b8e46..ece605d78c21 100644

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

drivers/mtd/nand/raw/sh_flctl.c +2 -2
index bb8866e05ff7..1e7273263c4b 100644

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

drivers/mtd/spi-nor/cadence-quadspi.c +2 -2
index 0806c7a81c0f..04cedd3a2bf6 100644

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

drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c +5 -1
index 790c684f08ab..b178c2e9dc23 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c +2 -2
index b34f0f077a31..838692948c0b 100644

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

drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h +1 -1
index 02040b99c78a..484ee8290090 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c +50 -59

109 lines not on this page · raw message

drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +2 -0
index cb450d7ec8c1..94d7446811d5 100644

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

drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +1 -1
index 46a71d289bca..6a677fd540d6 100644

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

drivers/net/ethernet/intel/ice/ice_switch.c +10 -4
index 6b7ec2ae5ad6..4012adbab011 100644

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

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +18 -6
index 85280765d793..b45a6e2ed8d1 100644

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

drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c +8 -1
index a4f237f815d1..8d556eb37b7a 100644

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

drivers/net/ethernet/qlogic/qed/qed_ll2.c +12 -1
index 015de1e0addd..2847509a183d 100644

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

drivers/net/usb/cdc_ncm.c +1 -1
index a57d82ef0f81..1f57a6a2b8a2 100644

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

drivers/net/wireless/ath/ath10k/core.h +1 -0
index 9feea02e7d37..5c9fc4070fd2 100644

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

drivers/net/wireless/ath/ath10k/mac.c +1 -1
index 9d033da46ec2..d3d33cc2adfd 100644

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

drivers/net/wireless/ath/ath10k/wmi.c +16 -3
index 40b36e73bb48..aefc92d2c09b 100644

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

drivers/net/wireless/ath/ath10k/wmi.h +7 -1
index 36220258e3c7..e341cfb3fcc2 100644

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

drivers/net/wireless/ath/ath9k/common-spectral.c +1 -1
index 440e16e641e4..f75eb068e6cf 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c +19 -7
index 3e9c4f2f5dd1..456a1bf008b3 100644

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

drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.h +2 -0
index 0e8b34d2d85c..39f0d0218088 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/d3.c +3 -1
index 79bdae994822..868cb1195a74 100644

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

drivers/net/wireless/mediatek/mt76/mac80211.c +6 -0
index ade4a2029a24..1b5abd4816ed 100644

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

drivers/net/wireless/mediatek/mt76/mt76x2_init_common.c +4 -0
index 324b2a4b8b67..54a9e1dfaf7a 100644

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

drivers/net/wireless/mediatek/mt76/mt76x2_pci.c +1 -0
index e66f047ea448..26cfda24ce08 100644

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

drivers/net/wireless/mediatek/mt76/mt76x2_phy_common.c +2 -2
index 9fd6ab4cbb94..ca68dd184489 100644

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

drivers/net/wireless/quantenna/qtnfmac/cfg80211.c +22 -3
index 4aa332f4646b..ff8a46c9595e 100644

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

drivers/net/wireless/quantenna/qtnfmac/commands.c +4 -2
index ae9e77300533..734844b34c26 100644

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

drivers/net/wireless/quantenna/qtnfmac/core.c +14 -2
index 19abbc4e23e0..08928d5e252d 100644

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

drivers/net/wireless/quantenna/qtnfmac/core.h +1 -0
index a1e338a1f055..ecb5c41c8ed7 100644

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

drivers/net/wireless/quantenna/qtnfmac/qlink.h +2 -0
index 99d37e3efba6..c5ae4ea9a47a 100644

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

drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c +3 -3
index b026e80940a4..6fbf8845a2ab 100644

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

drivers/net/xen-netback/interface.c +2 -1
index 27b6b141cb71..4cafc31b98b7 100644

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

drivers/nvme/host/lightnvm.c +3 -0
index 6fe5923c95d4..a69553e75f38 100644

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

drivers/opp/core.c +3 -20
index 14d4ef594374..1e80f9ec1aa6 100644

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

drivers/opp/cpu.c +0 -2
index 2868a022a040..0c0910709435 100644

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

drivers/opp/opp.h +1 -1
index e0866b1c1f1b..7c540fd063b2 100644

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

drivers/pinctrl/pinctrl-gemini.c +38 -9

47 lines not on this page · raw message

drivers/platform/x86/mlx-platform.c +1 -1
index 742a0c217925..d17db140cb1f 100644

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

drivers/remoteproc/qcom_q6v5.c +1 -2
index 602af839421d..0d33e3079f0d 100644

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

drivers/remoteproc/remoteproc_sysfs.c +5 -0
index 47be411400e5..3a4c3d7cafca 100644

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

drivers/reset/core.c +8 -7
index 225e34c56b94..d1887c0ed5d3 100644

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

drivers/rpmsg/qcom_glink_smem.c +4 -8
index 2b5cf2790954..7b6544348a3e 100644

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

drivers/s390/char/Makefile +1 -0
index c6ab34f94b1b..3072b89785dd 100644

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

drivers/scsi/arcmsr/arcmsr_hba.c +3 -3
index 12316ef4c893..c75d4695f982 100644

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

drivers/soc/fsl/qbman/bman_portal.c +9 -1
index 2f71f7df3465..f9edd28894fd 100644

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

drivers/spi/spi-fsl-lpspi.c +1 -1
index e6d5cc6ab108..51670976faa3 100644

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

drivers/spi/spi-mt65xx.c +2 -2
index 3dc31627c655..0c2867deb36f 100644

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

drivers/spi/spi-rockchip.c +3 -0
index fdcf3076681b..185bbdce62b1 100644

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

drivers/spi/spidev.c +3 -5
index cda10719d1d1..c5fe08bc34a0 100644

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

drivers/tee/optee/core.c +3 -1
index 34dce850067b..2f254f957b0a 100644

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

drivers/usb/dwc2/params.c +1 -0
index dff2c6e8d797..a93415f33bf3 100644

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

drivers/usb/dwc3/gadget.c +19 -10
index 8398c33d08e7..3e04004b4f1b 100644

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

drivers/usb/gadget/udc/fotg210-udc.c +1 -1
index 587c5037ff07..bc6abaea907d 100644

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

drivers/usb/serial/cypress_m8.c +1 -1
index e0035c023120..2c58649fd47a 100644

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

drivers/video/backlight/lm3639_bl.c +2 -4
index cd50df5807ea..086611c7bc03 100644

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

drivers/video/fbdev/Kconfig +16 -18
index 591a13a59787..f99558d006bf 100644

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

drivers/video/fbdev/atmel_lcdfb.c +9 -34

43 lines not on this page · raw message

drivers/video/fbdev/core/fbmon.c +0 -96

96 lines not on this page · raw message

drivers/video/fbdev/core/modedb.c +0 -57

57 lines not on this page · raw message

drivers/video/fbdev/sbuslib.c +14 -14
index a436d44f1b7f..01a7110e61a7 100644

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

drivers/watchdog/renesas_wdt.c +1 -0
index d01efd342dc0..62d9d3edcdf2 100644

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

drivers/watchdog/sama5d4_wdt.c +1 -5
index 255169916dbb..1e93c1b0e3cf 100644

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

drivers/watchdog/w83627hf_wdt.c +7 -1
index 7817836bff55..4b9365d4de7a 100644

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

drivers/watchdog/watchdog_dev.c +5 -5
index ffbdc4642ea5..f6c24b22b37c 100644

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

fs/ext4/namei.c +1 -1
index 61dc1b0e4465..badbb8b4f0f1 100644

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

fs/f2fs/gc.c +1 -1
index dd29a49143f5..8c4cb1eee10a 100644

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

fs/f2fs/super.c +1 -0
index b05e10c332b7..15779123d089 100644

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

fs/gfs2/incore.h +1 -0
index b96d39c28e17..5d72e8b66a26 100644

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

fs/gfs2/log.c +5 -2
index cd85092723de..90b5c8d0c56a 100644

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

fs/gfs2/super.c +1 -1
index c212893534ed..a971862b186e 100644

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

fs/gfs2/util.c +7 -6
index 59c811de0dc7..6a02cc890daf 100644

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

fs/nfs/delegation.c +3 -3
index c5c3394148f7..74ff459b75ef 100644

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

fs/orangefs/orangefs-sysfs.c +1 -1
index dd28079f518c..19739aaee675 100644

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

fs/proc/vmcore.c +10 -0
index cbde728f8ac6..5c5f161763c8 100644

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

include/linux/cpuidle.h +1 -0
index 4325d6fdde9b..317aecaed897 100644

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

include/linux/fb.h +0 -3
index 3e7e75383d32..7bfed8460c78 100644

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

include/linux/platform_data/dma-ep93xx.h +1 -1
index f8f1f6b952a6..eb9805bb3fe8 100644

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

include/linux/sunrpc/sched.h +0 -2
index 592653becd91..ad2e243f3f03 100644

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

include/rdma/ib_verbs.h +1 -1
index f3d475024d37..54e4d1fd21f8 100644

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

kernel/bpf/btf.c +3 -0
index 138f0302692e..378cef70341c 100644

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

kernel/cpu.c +1 -0
index 9bb57ce57d98..8d6b8b5493f9 100644

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

kernel/kexec_core.c +6 -0
index f50b90d0d1c2..faeec8255e7e 100644

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

kernel/printk/printk.c +29 -13

42 lines not on this page · raw message

lib/idr.c +13 -2
index fab2fd5bc326..61383564a6c5 100644

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

mm/memory_hotplug.c +20 -57

77 lines not on this page · raw message

net/core/dev.c +14 -0
index 4a2ee1ce6c02..e96c88b1465d 100644

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

net/ipv4/tcp.c +2 -2
index 647ba447bf1a..a7a804bece7a 100644

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

net/ipv4/tcp_input.c +3 -24
index 14a6a489937c..57e8dad956ec 100644

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

net/ipv4/tcp_output.c +4 -21
index 2697e4397e46..53f910bb5508 100644

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

net/mac80211/rc80211_minstrel_ht.c +12 -8
index 67ebdeaffbbc..3d5520776655 100644

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

net/netfilter/nft_compat.c +22 -2
index 1245e02239d9..469f9da5073b 100644

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

net/openvswitch/vport-internal_dev.c +3 -2
index d2356a284646..3ebf8ba7c389 100644

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

net/sched/sch_generic.c +12 -2
index 30e32df5f84a..8a4d01e427a2 100644

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

net/sunrpc/sched.c +54 -55

109 lines not on this page · raw message

net/sunrpc/xprt.c +4 -10
index 3581168e6b99..5e7c13aa66d0 100644

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

net/sunrpc/xprtrdma/transport.c +5 -1
index 98cbc7b060ba..f56f36b4d742 100644

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

net/sunrpc/xprtsock.c +6 -4
index 7d8cce1dfcad..c0d7875a64ff 100644

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

net/wireless/nl80211.c +1 -1
index 2ef1f56504cb..5075fd293feb 100644

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

net/xdp/xdp_umem.c +3 -8
index 8cab91c482ff..d9117ab035f7 100644

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

net/xdp/xsk.c +8 -5
index 661504042d30..ff15207036dc 100644

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

net/xfrm/xfrm_input.c +1 -1
index 790b514f86b6..d5635908587f 100644

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

samples/mei/mei-amt-version.c +1 -1
index bb9988914a56..32234481ad7d 100644

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

sound/hda/ext/hdac_ext_controller.c +14 -8
index 5bc4a1d587d4..60cb00fd0c69 100644

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

sound/pci/hda/patch_ca0132.c +4 -4
index f2cabfdced05..6a9b89e05dae 100644

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

sound/pci/hda/patch_sigmatel.c +20 -0
index 046705b4691a..d8168aa2cef3 100644

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

sound/soc/qcom/qdsp6/q6asm-dai.c +3 -2
index 9db9a2944ef2..c1a7d376a3fe 100644

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

tools/pci/pcitest.c +2 -5
index af146bb03b4d..4c5be77c211f 100644

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

tools/testing/radix-tree/idr-test.c +52 -0

52 lines not on this page · raw message

tools/testing/selftests/net/forwarding/lib.sh +1 -1
index ca53b539aa2d..08bac6cf1bb3 100644

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

tools/testing/selftests/net/tls.c +10 -10
index 8fdfeafaf8c0..7549d39ccaff 100644

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

tools/testing/selftests/tc-testing/bpf/Makefile new file +29 -0
new file mode 100644
index 000000000000..dc92eb271d9a

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

tools/testing/selftests/tc-testing/bpf/action.c new file +23 -0
new file mode 100644
index 000000000000..c32b99b80e19

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

tools/testing/selftests/tc-testing/tc-tests/actions/bpf.json +8 -8
index 6f289a49e5ec..1a9b282dd0be 100644

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

tools/testing/selftests/tc-testing/tdc_config.py +3 -1
index a023d0d62b25..d651bc1501bd 100644

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

virt/kvm/arm/mmu.c +2 -1
index 1344557a7085..bf330b493c1e 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.