Skip to contentSkip to conversation

Linux 4.14.155

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

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.14.155 kernel.

All users of the 4.14 kernel series must upgrade.

The updated 4.14.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.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

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

 Documentation/devicetree/bindings/media/i2c/adv748x.txt      |    4 
 Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt   |    3 
 Makefile                                                     |    2 
 arch/arm/boot/compressed/libfdt_env.h                        |    2 
 arch/arm/boot/dts/am335x-evm.dts                             |   12 
 arch/arm/boot/dts/arm-realview-eb.dtsi                       |    2 
 arch/arm/boot/dts/arm-realview-pb1176.dts                    |    2 
 arch/arm/boot/dts/arm-realview-pb11mp.dts                    |    2 
 arch/arm/boot/dts/arm-realview-pbx.dtsi                      |    2 
 arch/arm/boot/dts/armada-388-clearfog.dtsi                   |    2 
 arch/arm/boot/dts/at91sam9g45.dtsi                           |    2 
 arch/arm/boot/dts/dove-cubox.dts                             |    2 
 arch/arm/boot/dts/dove.dtsi                                  |    6 
 arch/arm/boot/dts/exynos5250-arndale.dts                     |    9 
 arch/arm/boot/dts/exynos5250-snow-rev5.dts                   |   11 
 arch/arm/boot/dts/exynos5420-peach-pit.dts                   |    3 
 arch/arm/boot/dts/exynos5800-peach-pi.dts                    |    3 
 arch/arm/boot/dts/lpc32xx.dtsi                               |    4 
 arch/arm/boot/dts/meson8.dtsi                                |    2 
 arch/arm/boot/dts/meson8b.dtsi                               |    2 
 arch/arm/boot/dts/omap3-gta04.dtsi                           |   49 ++-
 arch/arm/boot/dts/orion5x-linkstation.dtsi                   |    2 
 arch/arm/boot/dts/pxa25x.dtsi                                |    4 
 arch/arm/boot/dts/pxa27x.dtsi                                |    6 
 arch/arm/boot/dts/qcom-ipq4019.dtsi                          |    2 
 arch/arm/boot/dts/rk3036.dtsi                                |    2 
 arch/arm/boot/dts/rk3188-radxarock.dts                       |    8 
 arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts            |    2 
 arch/arm/boot/dts/ste-dbx5x0.dtsi                            |    6 
 arch/arm/boot/dts/ste-href-family-pinctrl.dtsi               |    8 
 arch/arm/boot/dts/ste-hrefprev60.dtsi                        |    2 
 arch/arm/boot/dts/ste-snowball.dts                           |    2 
 arch/arm/boot/dts/ste-u300.dts                               |    2 
 arch/arm/boot/dts/tegra20-paz00.dts                          |    6 
 arch/arm/boot/dts/tegra30-apalis.dtsi                        |    6 
 arch/arm/boot/dts/tegra30.dtsi                               |    6 
 arch/arm/boot/dts/versatile-ab.dts                           |    2 
 arch/arm/crypto/crc32-ce-glue.c                              |    2 
 arch/arm/mach-imx/pm-imx6.c                                  |   25 +
 arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts      |    6 
 arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts       |    8 
 arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi                 |    4 
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi                  |    2 
 arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts |    2 
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi                   |    2 
 arch/arm64/boot/dts/lg/lg1312.dtsi                           |    4 
 arch/arm64/boot/dts/lg/lg1313.dtsi                           |    4 
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi               |    1 
 arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi            |   26 +
 arch/mips/bcm47xx/workarounds.c                              |    8 
 arch/mips/bcm63xx/reset.c                                    |    2 
 arch/mips/include/asm/kexec.h                                |    6 
 arch/mips/txx9/generic/setup.c                               |    5 
 arch/powerpc/boot/libfdt_env.h                               |    2 
 arch/powerpc/include/asm/imc-pmu.h                           |    6 
 arch/powerpc/include/asm/uaccess.h                           |    6 
 arch/powerpc/kernel/iommu.c                                  |    2 
 arch/powerpc/kernel/rtas.c                                   |    2 
 arch/powerpc/kernel/vdso32/datapage.S                        |    1 
 arch/powerpc/kernel/vdso32/gettimeofday.S                    |    1 
 arch/powerpc/kernel/vdso64/datapage.S                        |    1 
 arch/powerpc/kernel/vdso64/gettimeofday.S                    |    1 
 arch/powerpc/mm/slb.c                                        |    2 
 arch/powerpc/perf/imc-pmu.c                                  |   17 -
 arch/powerpc/platforms/powernv/opal-imc.c                    |   16 +
 arch/x86/hyperv/hv_init.c                                    |   19 +
 arch/x86/kernel/cpu/common.c                                 |    4 
 arch/x86/kernel/cpu/cyrix.c                                  |    2 
 arch/x86/kernel/cpu/mcheck/mce-inject.c                      |    6 
 arch/x86/kernel/uprobes.c                                    |    2 
 arch/x86/kvm/vmx.c                                           |    7 
 arch/x86/kvm/x86.c                                           |    8 
 arch/x86/kvm/x86.h                                           |    5 
 block/bfq-iosched.c                                          |   10 
 crypto/rsa-pkcs1pad.c                                        |    9 
 drivers/acpi/acpi_lpss.c                                     |   22 +
 drivers/acpi/pci_root.c                                      |    5 
 drivers/base/component.c                                     |    6 
 drivers/base/power/opp/core.c                                |   21 +
 drivers/base/power/opp/cpu.c                                 |    2 
 drivers/base/power/opp/opp.h                                 |    2 
 drivers/bluetooth/hci_serdev.c                               |    1 
 drivers/char/ipmi/ipmi_dmi.c                                 |    4 
 drivers/crypto/s5p-sss.c                                     |    4 
 drivers/dma/Kconfig                                          |    2 
 drivers/dma/dma-jz4780.c                                     |    2 
 drivers/edac/sb_edac.c                                       |   68 ++--
 drivers/extcon/extcon-intel-cht-wc.c                         |    2 
 drivers/firmware/dell_rbu.c                                  |    8 
 drivers/hv/hv.c                                              |   15 -
 drivers/hwtracing/coresight/coresight-etm-perf.c             |   59 +++-
 drivers/hwtracing/coresight/coresight-etm4x.c                |   40 +-
 drivers/hwtracing/coresight/coresight-tmc-etf.c              |    4 
 drivers/hwtracing/coresight/coresight.c                      |   22 +
 drivers/i2c/busses/i2c-aspeed.c                              |   65 +++-
 drivers/i2c/i2c-core-acpi.c                                  |   28 +
 drivers/iio/adc/max9611.c                                    |    2 
 drivers/iio/dac/mcp4922.c                                    |   11 
 drivers/infiniband/core/device.c                             |    2 
 drivers/infiniband/core/mad.c                                |   72 ++---
 drivers/infiniband/hw/hfi1/pcie.c                            |    4 
 drivers/infiniband/hw/hfi1/user_sdma.c                       |    4 
 drivers/infiniband/hw/i40iw/i40iw_cm.c                       |    2 
 drivers/infiniband/sw/rxe/rxe_comp.c                         |   21 +
 drivers/infiniband/sw/rxe/rxe_req.c                          |   15 -
 drivers/infiniband/ulp/ipoib/ipoib_main.c                    |    3 
 drivers/infiniband/ulp/iser/iser_initiator.c                 |   18 -
 drivers/input/ff-memless.c                                   |    9 
 drivers/input/rmi4/rmi_driver.c                              |    6 
 drivers/input/rmi4/rmi_f11.c                                 |    4 
 drivers/input/rmi4/rmi_f12.c                                 |   32 +-
 drivers/input/rmi4/rmi_f54.c                                 |    5 
 drivers/media/pci/ivtv/ivtv-yuv.c                            |    2 
 drivers/media/pci/meye/meye.c                                |    2 
 drivers/media/platform/davinci/vpbe_display.c                |    2 
 drivers/media/usb/au0828/au0828-core.c                       |    4 
 drivers/misc/genwqe/card_utils.c                             |   13 
 drivers/misc/kgdbts.c                                        |   16 -
 drivers/mmc/host/sdhci-of-at91.c                             |    2 
 drivers/net/can/slcan.c                                      |    1 
 drivers/net/ethernet/amd/am79c961a.c                         |    2 
 drivers/net/ethernet/amd/atarilance.c                        |    6 
 drivers/net/ethernet/amd/declance.c                          |    2 
 drivers/net/ethernet/amd/sun3lance.c                         |    6 
 drivers/net/ethernet/amd/sunlance.c                          |    2 
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c                     |    4 
 drivers/net/ethernet/broadcom/bcm63xx_enet.c                 |    5 
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c             |   10 
 drivers/net/ethernet/broadcom/sb1250-mac.c                   |    4 
 drivers/net/ethernet/cavium/liquidio/octeon_device.c         |    5 
 drivers/net/ethernet/cavium/liquidio/octeon_iq.h             |    2 
 drivers/net/ethernet/cavium/liquidio/request_manager.c       |    2 
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c                   |    2 
 drivers/net/ethernet/faraday/ftgmac100.c                     |    4 
 drivers/net/ethernet/faraday/ftmac100.c                      |    7 
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c               |    3 
 drivers/net/ethernet/freescale/fec_mpc52xx.c                 |    3 
 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c        |    3 
 drivers/net/ethernet/freescale/gianfar.c                     |    4 
 drivers/net/ethernet/freescale/ucc_geth.c                    |    3 
 drivers/net/ethernet/hisilicon/hip04_eth.c                   |    3 
 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c                |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c      |    2 
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c        |    2 
 drivers/net/ethernet/intel/i40e/i40e_main.c                  |    8 
 drivers/net/ethernet/intel/i40e/i40e_ptp.c                   |    3 
 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c           |   10 
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c               |    7 
 drivers/net/ethernet/micrel/ks8695net.c                      |    2 
 drivers/net/ethernet/micrel/ks8851_mll.c                     |    4 
 drivers/net/ethernet/netronome/nfp/nfp_net_common.c          |   16 -
 drivers/net/ethernet/smsc/smc911x.c                          |    3 
 drivers/net/ethernet/smsc/smc91x.c                           |    3 
 drivers/net/ethernet/smsc/smsc911x.c                         |    3 
 drivers/net/ethernet/sun/ldmvsw.c                            |    2 
 drivers/net/ethernet/sun/sunbmac.c                           |    3 
 drivers/net/ethernet/sun/sunqe.c                             |    2 
 drivers/net/ethernet/sun/sunvnet.c                           |    2 
 drivers/net/ethernet/sun/sunvnet_common.c                    |   14 
 drivers/net/ethernet/sun/sunvnet_common.h                    |    7 
 drivers/net/ethernet/toshiba/ps3_gelic_net.c                 |    4 
 drivers/net/ethernet/toshiba/ps3_gelic_net.h                 |    2 
 drivers/net/ethernet/toshiba/spider_net.c                    |    4 
 drivers/net/ethernet/toshiba/tc35815.c                       |    6 
 drivers/net/ethernet/xilinx/ll_temac_main.c                  |    3 
 drivers/net/ethernet/xilinx/xilinx_axienet_main.c            |    3 
 drivers/net/ethernet/xilinx/xilinx_emaclite.c                |    9 
 drivers/net/phy/mdio-bcm-unimac.c                            |   83 +++++
 drivers/net/phy/mscc.c                                       |   11 
 drivers/net/slip/slip.c                                      |    1 
 drivers/net/usb/ax88172a.c                                   |    2 
 drivers/net/usb/lan78xx.c                                    |    5 
 drivers/net/usb/qmi_wwan.c                                   |    2 
 drivers/net/wireless/ath/ath10k/ahb.c                        |    4 
 drivers/net/wireless/ath/ath10k/mac.c                        |    2 
 drivers/net/wireless/ath/ath10k/pci.c                        |    2 
 drivers/net/wireless/ath/ath10k/wmi.c                        |    3 
 drivers/net/wireless/ath/ath9k/main.c                        |    1 
 drivers/net/wireless/ath/ath9k/tx99.c                        |   10 
 drivers/net/wireless/intel/iwlwifi/fw/api/tx.h               |    6 
 drivers/net/wireless/intel/iwlwifi/fw/dbg.c                  |    9 
 drivers/net/wireless/intel/iwlwifi/mvm/sta.c                 |    4 
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c                  |    8 
 drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c          |    2 
 drivers/nvmem/core.c                                         |    2 
 drivers/of/base.c                                            |    2 
 drivers/phy/broadcom/Kconfig                                 |    3 
 drivers/phy/lantiq/phy-lantiq-rcu-usb2.c                     |    1 
 drivers/phy/renesas/phy-rcar-gen3-usb2.c                     |    2 
 drivers/phy/ti/phy-twl4030-usb.c                             |   29 ++
 drivers/pinctrl/pinctrl-at91-pio4.c                          |    8 
 drivers/pinctrl/pinctrl-at91.c                               |   28 -
 drivers/pinctrl/pinctrl-ingenic.c                            |    2 
 drivers/power/reset/at91-sama5d2_shdwc.c                     |    3 
 drivers/power/supply/ab8500_fg.c                             |   31 --
 drivers/power/supply/max8998_charger.c                       |    2 
 drivers/power/supply/twl4030_charger.c                       |   30 +-
 drivers/remoteproc/da8xx_remoteproc.c                        |    2 
 drivers/rtc/rtc-armada38x.c                                  |   22 -
 drivers/rtc/rtc-mt6397.c                                     |   13 
 drivers/rtc/rtc-pl030.c                                      |   15 -
 drivers/rtc/rtc-rv8803.c                                     |    2 
 drivers/s390/net/qeth_l2_main.c                              |    3 
 drivers/s390/net/qeth_l3_main.c                              |    3 
 drivers/scsi/NCR5380.c                                       |  156 ++++++-----
 drivers/scsi/NCR5380.h                                       |    2 
 drivers/scsi/libsas/sas_expander.c                           |   13 
 drivers/scsi/lpfc/lpfc_nvme.c                                |    2 
 drivers/scsi/lpfc/lpfc_nvmet.c                               |    7 
 drivers/scsi/pm8001/pm8001_hwi.c                             |    6 
 drivers/scsi/pm8001/pm8001_sas.c                             |    9 
 drivers/scsi/pm8001/pm8001_sas.h                             |    1 
 drivers/scsi/pm8001/pm80xx_hwi.c                             |   80 +++++
 drivers/scsi/pm8001/pm80xx_hwi.h                             |    3 
 drivers/scsi/qla2xxx/qla_gs.c                                |    4 
 drivers/scsi/qla2xxx/qla_isr.c                               |    2 
 drivers/scsi/qla2xxx/qla_os.c                                |   28 +
 drivers/scsi/scsi_lib.c                                      |    3 
 drivers/scsi/sym53c8xx_2/sym_hipd.c                          |   15 -
 drivers/soc/imx/gpc.c                                        |    2 
 drivers/soc/qcom/wcnss_ctrl.c                                |    2 
 drivers/spi/spi-mt65xx.c                                     |   37 +-
 drivers/spi/spi-pic32.c                                      |    4 
 drivers/tee/optee/core.c                                     |    2 
 drivers/tty/serial/mxs-auart.c                               |    3 
 drivers/tty/serial/samsung.c                                 |    8 
 drivers/tty/serial/xilinx_uartps.c                           |   41 --
 drivers/usb/chipidea/otg.c                                   |    9 
 drivers/usb/chipidea/usbmisc_imx.c                           |    2 
 drivers/usb/gadget/function/uvc_configfs.c                   |    7 
 drivers/usb/gadget/function/uvc_video.c                      |   32 +-
 drivers/usb/host/xhci-mtk-sch.c                              |    4 
 drivers/vfio/pci/vfio_pci.c                                  |    8 
 drivers/vfio/pci/vfio_pci_config.c                           |   31 ++
 fs/compat_ioctl.c                                            |   10 
 fs/ecryptfs/inode.c                                          |   19 -
 fs/f2fs/recovery.c                                           |   17 +
 fs/f2fs/super.c                                              |    6 
 fs/fuse/control.c                                            |    4 
 fs/gfs2/rgrp.c                                               |    2 
 fs/kernfs/symlink.c                                          |    5 
 include/linux/cpufeature.h                                   |    2 
 include/linux/edac.h                                         |    3 
 include/linux/intel-iommu.h                                  |    6 
 include/linux/libfdt_env.h                                   |    1 
 include/net/llc.h                                            |    1 
 include/trace/events/sched.h                                 |   11 
 kernel/events/uprobes.c                                      |    4 
 kernel/kprobes.c                                             |    8 
 kernel/signal.c                                              |    4 
 mm/hugetlb_cgroup.c                                          |    2 
 mm/memcontrol.c                                              |    2 
 mm/shmem.c                                                   |    2 
 net/bluetooth/l2cap_core.c                                   |   10 
 net/ipv4/gre_demux.c                                         |    7 
 net/ipv4/ip_gre.c                                            |    9 
 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c                  |   22 +
 net/ipv6/netfilter/nf_nat_masquerade_ipv6.c                  |   19 +
 net/llc/llc_core.c                                           |    4 
 net/wireless/reg.c                                           |   46 +++
 samples/bpf/sockex2_kern.c                                   |   11 
 samples/bpf/sockex3_kern.c                                   |    8 
 samples/bpf/sockex3_user.c                                   |    4 
 sound/core/oss/pcm_plugin.c                                  |    4 
 sound/core/seq/seq_system.c                                  |   18 +
 sound/pci/intel8x0m.c                                        |   20 -
 sound/soc/codecs/hdac_hdmi.c                                 |    6 
 sound/soc/codecs/sgtl5000.c                                  |    2 
 sound/soc/sh/rcar/rsnd.h                                     |    1 
 sound/soc/sh/rcar/ssi.c                                      |    4 
 sound/soc/soc-pcm.c                                          |    2 
 sound/usb/endpoint.c                                         |    3 
 sound/usb/mixer.c                                            |    4 
 273 files changed, 1715 insertions(+), 749 deletions(-)

Aapo Vienamo (1):

      arm64: dts: tegra210-p2180: Correct sdmmc4 vqmmc-supply

Al Viro (2):

      ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
      ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either

Alan Modra (1):
powerpc/vdso: Correct call frame information

Aleksander Morgado (1):
net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules

Alex Williamson (1):
vfio/pci: Mask buggy SR-IOV VF INTx support

Alexandre Belloni (4):
rtc: rv8803: fix the rv8803 id in the OF table
rtc: mt6397: fix possible race condition
rtc: pl030: fix possible race condition
rtc: armada38x: fix possible race condition

Andre Przywara (2):
arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage
arm64: dts: allwinner: a64: NanoPi-A64: Fix DCDC1 voltage

Andreas Kemnade (3):
power: supply: twl4030_charger: fix charging current out-of-bounds
power: supply: twl4030_charger: disable eoc interrupt on linear charge
phy: phy-twl4030-usb: fix denied runtime access

Andrew Duggan (2):
Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)

Andy Shevchenko (1):
extcon: cht-wc: Return from default case to avoid warnings

Anju T Sudhakar (1):
powerpc/perf: Fix kfree memory allocated for nest pmus

Anton Blanchard (1):
powerpc: Fix duplicate const clang warning in user access code

Anton Vasilyev (1):
serial: mxs-auart: Fix potential infinite loop

Ard Biesheuvel (1):
tee: optee: take DT status property into account

Arnd Bergmann (2):
media: dvb: fix compat ioctl translation
net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused

Balakrishna Godavarthi (1):
Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races

Banajit Goswami (1):
component: fix loop condition to call unbind() if bind() fails

Baruch Siach (1):
ARM: dts: clearfog: fix sdhci supply property name

Bernd Edlinger (1):
kernfs: Fix range checks in kernfs_get_target_path

Bjorn Andersson (1):
remoteproc/davinci: Use %zx for formating size_t

Bob Peterson (1):
gfs2: Don't set GFS2_RDF_UPTODATE when the lvb is updated

Borislav Petkov (1):
x86/mce-inject: Reset injection struct after injection

Brad Love (1):
media: au0828: Fix incorrect error messages

Brendan Higgins (1):
i2c: aspeed: fix invalid clock parameters for very large divisors

Breno Leitao (1):
powerpc/iommu: Avoid derefence before pointer check

Chao Yu (4):
f2fs: fix memory leak of percpu counter in fill_super()
f2fs: fix to recover inode's uid/gid during POR
f2fs: fix to recover inode's project id during POR
f2fs: mark inode dirty explicitly in recover_inode()

Charles Keepax (1):

      ASoC: dpcm: Properly initialise hw->rate_max

Christian Lamparter (1):
ARM: dts: qcom: ipq4019: fix cpu0's qcom,saw2 reg value

Christoph Manszewski (1):
crypto: s5p-sss: Fix Fix argument list alignment

Chuhong Yuan (1):
Input: synaptics-rmi4 - destroy F54 poller workqueue when removing

Chunfeng Yun (1):
usb: xhci-mtk: fix ISOC error when interval is zero

Claudiu Beznea (1):
power: reset: at91-poweroff: do not procede if at91_shdwc is allocated

Colin Ian King (1):
ASoC: sgtl5000: avoid division by zero if lo_vag is zero

Cong Wang (1):
llc: avoid blocking in llc_sap_close()

Corey Minyard (1):
ipmi:dmi: Ignore IPMI SMBIOS entries with a zero base address

Dan Aloni (1):
crypto: fix a memory leak in rsa-kcs1pad's encryption mode

Dan Carpenter (4):
ALSA: pcm: signedness bug in snd_pcm_plug_alloc()
pinctrl: at91-pio4: fix has_config check in atmel_pctl_dt_subnode_to_map()
power: supply: ab8500_fg: silence uninitialized variable warnings
ath9k: Fix a locking bug in ath9k_add_interface()

Daniel Silsby (1):
dmaengine: dma-jz4780: Further residue status fix

Deepak Ukey (2):

      scsi: pm80xx: Corrected dma_unmap_sg() parameter
      scsi: pm80xx: Fixed system hang issue during kexec boot

Dengcheng Zhu (1):
MIPS: kexec: Relax memory restriction

Dexuan Cui (1):
x86/hyperv: Suppress "PCI: Fatal: No config space access function found"

Ding Xiang (1):
mips: txx9: fix iounmap related issue

Dinh Nguyen (1):
ARM: dts: socfpga: Fix I2C bus unit-address error

Emmanuel Grumbach (1):
iwlwifi: dbg: don't crash if the firmware crashes in the middle of a debug dump

Eric Auger (1):
iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros

Eric W. Biederman (3):
signal: Always ignore SIGKILL and SIGSTOP sent to the global init
signal: Properly deliver SIGILL from uprobes
signal: Properly deliver SIGSEGV from x86 uprobes

Erik Stromdahl (1):
ath10k: wmi: disable softirq's while calling ieee80211_rx

Eugen Hristev (1):
mmc: sdhci-of-at91: fix quirk2 overwrite

Evan Green (1):
Revert "Input: synaptics-rmi4 - avoid processing unknown IRQs"

Felix Fietkau (2):
ath9k: fix tx99 with monitor mode interface
ath9k: add back support for using active monitor interfaces for tx99

Finn Thain (8):
scsi: NCR5380: Have NCR5380_select() return a bool
scsi: NCR5380: Withhold disconnect privilege for REQUEST SENSE
scsi: NCR5380: Use DRIVER_SENSE to indicate valid sense data
scsi: NCR5380: Check for invalid reselection target
scsi: NCR5380: Don't clear busy flag when abort fails
scsi: NCR5380: Don't call dsprintk() following reselection interrupt
scsi: NCR5380: Handle BUS FREE during reselection
scsi: NCR5380: Check for bus reset

Florian Fainelli (2):
net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider
phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs

Fuyun Liang (1):
net: hns3: Fix for setting speed for phy failed problem

Ganesh Goudar (1):
cxgb4: Fix endianness issue in t4_fwcache()

Geert Uytterhoeven (2):
media: dt-bindings: adv748x: Fix decimal unit addresses
ARM: dts: ux500: Correct SCU unit address

George Kennedy (1):
scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()

Greg Kroah-Hartman (1):

      Linux 4.14.155

Grygorii Strashko (1):
ARM: dts: am335x-evm: fix number of cpsw

H. Nikolaus Schaller (6):
ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files
ARM: dts: omap3-gta04: fixes for tvout / venc
ARM: dts: omap3-gta04: tvout: enable as display1 alias
ARM: dts: omap3-gta04: fix touchscreen tsc2007
ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
ARM: dts: omap3-gta04: keep vpll2 always on

Haishuang Yan (1):
ip_gre: fix parsing gre header in ipgre_err

Hannes Reinecke (1):
scsi: NCR5380: Clear all unissued commands on host reset

Hans de Goede (2):
i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present ACPI / LPSS: Exclude I2C busses shared with PUNIT from pmc_atom_d3_mask

Hauke Mehrtens (1):
phy: lantiq: Fix compile warning

Heiko Stuebner (1):
ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock

Henry Lin (1):
ALSA: usb-audio: not submit urb for stopped endpoint

Håkon Bugge (1):
RDMA/i40iw: Fix incorrect iterator type

Ilan Peer (1):
iwlwifi: mvm: Allow TKIP for AP mode

Israel Rukshin (1):
IB/iser: Fix possible NULL deref at iser_inv_desc()

Jakub Kicinski (1):
nfp: provide a better warning when ring allocation fails

James Erwin (1):
IB/hfi1: Ensure full Gen3 speed in a Gen4 system

James Smart (1):
scsi: lpfc: Fix errors in log messages.

Jason Yan (1):
scsi: libsas: always unregister the old device if going to discover new

Jay Foster (1):
ARM: dts: at91/trivial: Fix USART1 definition for at91sam9g45

Jerome Brunet (1):
arm64: dts: meson: libretech: update board model

Jia-Ju Bai (1):
media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init()

Jiada Wang (1):
ASoC: rsnd: ssi: Fix issue in dma data address assignment

Jian Shen (1):
net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg()

Joel Pepper (1):
usb: gadget: uvc: configfs: Prevent format changes after linking header

Johannes Berg (2):
iwlwifi: don't WARN on trying to dump dead firmware
iwlwifi: api: annotate compressed BA notif array sizes

Jonas Gorski (1):
MIPS: BCM63XX: fix switch core reset on BCM6368

Jouni Hogander (2):
slip: Fix memory leak in slip_open error path
slcan: Fix memory leak in error path

Julian Wiedmann (1):
s390/qeth: invoke softirqs after napi_schedule()

Junaid Shahid (1):
kvm: mmu: Don't read PDPTEs when paging is not enabled

Justin Ernst (1):
EDAC: Raise the maximum number of memory controllers

Kirill Tkhai (1):
fuse: use READ_ONCE on congestion_threshold and max_background

Lao Wei (1):
media: fix: media: pci: meye: validate offset to avoid arbitrary access

Larry Finger (1):
rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument

Laura Abbott (1):
misc: kgdbts: Fix restrict error

Laurent Pinchart (3):
usb: gadget: uvc: configfs: Drop leaked references to config items
usb: gadget: uvc: Factor out video USB request queueing
usb: gadget: uvc: Only halt video streaming endpoint in bulk mode

Leo Yan (1):
coresight: tmc: Fix byte-address alignment for RRP

Li Qiang (1):
vfio/pci: Fix potential memory leak in vfio_msi_cap_len

Linus Walleij (1):
ARM: dts: ux500: Fix LCDA clock line muxing

Loic Poulain (1):
usb: chipidea: Fix otg event handler

Lucas Stach (2):
Input: synaptics-rmi4 - fix video buffer size
Input: synaptics-rmi4 - clear IRQ enables for F54

Ludovic Desroches (1):
pinctrl: at91: don't use the same irqchip with multiple gpiochips

Luiz Augusto von Dentz (1):
Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS

Madhavan Srinivasan (1):
powerpc/perf: Fix IMC_MAX_PMU macro

Marc Dietrich (1):
ARM: dts: paz00: fix wakeup gpio keycode

Marcel Ziswiler (3):
ARM: dts: pxa: fix power i2c base address
ARM: dts: tegra30: fix xcvr-setup-use-fuses
ARM: tegra: apalis_t30: fix mmc1 cmd pull-up

Marcus Folkesson (1):
iio: dac: mcp4922: fix error handling in mcp4922_write_raw

Marek Szyprowski (4):
ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook
ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks
ARM: dts: exynos: Disable pull control for S5M8767 PMIC
serial: samsung: Enable baud clock for UART reset procedure in resume

Martin Blumenstingl (2):
ARM: dts: meson8: fix the clock controller register size
ARM: dts: meson8b: fix the clock controller register size

Masami Hiramatsu (1):
kprobes: Don't call BUG_ON() if there is a kprobe in use on free list

Matthew Whitehead (2):
x86/CPU: Use correct macros for Cyrix calls x86/CPU: Change query logic so CPUID is enabled before testing

Michael J. Ruhl (1):
IB/hfi1: Missing return value in error path for user sdma

Michael Kelley (1):
Drivers: hv: vmbus: Fix synic per-cpu context initialization

Michael Schmitz (1):
scsi: core: Handle drivers which set sg_tablesize to zero

Mitch Williams (1):
i40e: use correct length for strncpy

Muhammad Sammar (1):
IB/ipoib: Ensure that MTU isn't less than minimum permitted

Nathan Chancellor (2):
spi: pic32: Use proper enum in dmaengine_prep_slave_rg
media: davinci: Fix implicit enum conversion warning

Nathan Fontenot (1):
powerpc/pseries: Disable CPU hotplug across migrations

Nava kishore Manne (1):
serial: uartps: Fix suspend functionality

Nicholas Piggin (1):
powerpc/64s/hash: Fix stab_rr off by one initialization

Nicolas Adell (1):
usb: chipidea: imx: enable OTG overcurrent in case USB subsystem is already started

Niklas Cassel (1):
soc: qcom: wcnss_ctrl: Avoid string overflow

Oleksij Rempel (1):
ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

Oliver Neukum (2):
ax88172a: fix information leak on short answers
Input: ff-memless - kill timer in destroy()

Paolo Bonzini (1):
KVM: x86: introduce is_pae_paging

Paolo Valente (1):
blok, bfq: do not plug I/O if all queues are weight-raised

Parav Pandit (2):
RDMA/core: Rate limit MAD error messages
RDMA/core: Follow correct unregister order between sysfs and cgroup

Patryk Małek (2):
i40e: hold the rtnl lock on clearing interrupt scheme
i40e: Prevent deleting MAC address from VF when set by PF

Paul Cercueil (2):
pinctrl: ingenic: Probe driver at subsys_initcall
dmaengine: dma-jz4780: Don't depend on MACH_JZ4780

Peter Shih (1):
spi: mediatek: Don't modify spi_transfer when transfer.

Petr Machata (1):
mlxsw: spectrum: Init shaper for TCs 8..15

Prashant Bhole (1):
samples/bpf: fix compilation failure

Qiuxu Zhuo (1):
EDAC, sb_edac: Return early on ADDRV bit and address type test

Quentin Schulz (2):
net: phy: mscc: read 'vsc8531,vddmac' as an u32
net: phy: mscc: read 'vsc8531, edge-slowdown' as an u32

Quinn Tran (3):
scsi: qla2xxx: Fix iIDMA error
scsi: qla2xxx: Defer chip reset until target mode is enabled
scsi: qla2xxx: Fix dropped srb resource.

Rajeev Kumar Sirasanagandla (1):
cfg80211: Avoid regulatory restore when COUNTRY_IE_IGNORE is set

Rick Farrington (1):
liquidio: fix race condition in instruction completion processing

Rob Herring (10):
of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
arm64: dts: meson: Fix erroneous SPI bus warnings
ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036
libfdt: Ensure INT_MAX is defined in libfdt_env.h
ARM: dts: ste: Fix SPI controller node names
ARM: dts: marvell: Fix SPI and I2C bus warnings
ARM: dts: realview: Fix SPI controller node names
arm64: dts: amd: Fix SPI bus warnings
arm64: dts: lg: Fix SPI controller node names
ARM: dts: lpc32xx: Fix SPI controller node names

Robert Jarzmik (1):
ARM: dts: pxa: fix the rtc controller

Roman Gushchin (2):
mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()

Sara Sharon (1):
iwlwifi: mvm: avoid sending too many BARs

Shahed Shaikh (1):
bnx2x: Ignore bandwidth attention in single function mode

Sinan Kaya (1):
PCI/ACPI: Correct error message for ASPM disabling

Srinivas Kandagatla (1):
nvmem: core: return error code instead of NULL from nvmem_device_get

Stefan Agner (3):
iio: adc: max9611: explicitly cast gain_selectors
cpufeature: avoid warning when compiling with clang
crypto: arm/crc32 - avoid warning when compiling with Clang

Stefan Wahren (1):
net: lan78xx: Bail out if lan78xx_get_endpoints fails

Stuart Hayes (1):
firmware: dell_rbu: Make payload memory uncachable

Suzuki K Poulose (3):
coresight: Fix handling of sinks
coresight: perf: Fix per cpu path management
coresight: perf: Disable trace path upon source error

Sven Eckelmann (1):
ath10k: limit available channels via DT ieee80211-freq-limit

Sven Schmitt (1):
soc: imx: gpc: fix PDN delay

Takashi Iwai (3):
ALSA: usb-audio: Fix missing error check at mixer resolution test
ALSA: seq: Do error checks at creating system ports
ALSA: intel8x0m: Register irq handler after register initializations

Tamizh chelvam (1):
ath10k: fix kernel panic by moving pci flush after napi_disable

Tan Hu (1):
netfilter: masquerade: don't flush all conntracks if only one address deleted on device

Tomasz Figa (1):
power: supply: max8998-charger: Fix platform data retrieval

Tomasz Nowicki (1):
coresight: etm4x: Configure EL2 exception level when kernel is running in HYP

Tuomas Tynkkynen (1):
MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3

Uwe Kleine-König (1):
sched/debug: Use symbolic names for task state constants

Vicente Bergas (2):
arm64: dts: rockchip: Fix VCC5V0_HOST_EN on rk3399-sapphire
arm64: dts: rockchip: Fix microSD in rk3399 sapphire board

Vijay Immanuel (1):
IB/rxe: fixes for rdma read retry

Viresh Kumar (1):
OPP: Protect dev_list with opp_table lock

Yong Zhi (1):
ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation

Yonghong Song (1):
samples/bpf: fix a compilation failure

Yoshihiro Shimoda (1):
phy: renesas: rcar-gen3-usb2: fix vbus_ctrl for role sysfs

YueHaibing (10):
net: hns3: fix return type of ndo_start_xmit function
net: toshiba: fix return type of ndo_start_xmit function
net: xilinx: fix return type of ndo_start_xmit function
net: broadcom: fix return type of ndo_start_xmit function
net: amd: fix return type of ndo_start_xmit function
net: sun: fix return type of ndo_start_xmit function
net: micrel: fix return type of ndo_start_xmit function
net: freescale: fix return type of ndo_start_xmit function
net: smsc: fix return type of ndo_start_xmit function
net: faraday: fix return type of ndo_start_xmit function

zhong jiang (2):
misc: genwqe: should return proper error value.
memfd: Use radix_tree_deref_slot_protected to avoid the warning.

author maintainer
#1 lore raw
Documentation/devicetree/bindings/media/i2c/adv748x.txt +2 -2
index 21ffb5ed8183..54d1d3bc1869 100644
@@ -73,7 +73,7 @@ Example:
 			};
 		};
 
-		port@10 {
+		port@a {
 			reg = <10>;
 
 			adv7482_txa: endpoint {
@@ -83,7 +83,7 @@ Example:
 			};
 		};
 
-		port@11 {
+		port@b {
 			reg = <11>;
 
 			adv7482_txb: endpoint {
Documentation/devicetree/bindings/net/brcm,unimac-mdio.txt +3 -0
index 4648948f7c3b..e15589f47787 100644
@@ -19,6 +19,9 @@ Optional properties:
 - interrupt-names: must be "mdio_done_error" when there is a share interrupt fed
   to this hardware block, or must be "mdio_done" for the first interrupt and
   "mdio_error" for the second when there are separate interrupts
+- clocks: A reference to the clock supplying the MDIO bus controller
+- clock-frequency: the MDIO bus clock that must be output by the MDIO bus
+  hardware, if absent, the default hardware values are used
 
 Child nodes of this MDIO bus controller node are standard Ethernet PHY device
 nodes as described in Documentation/devicetree/bindings/net/phy.txt
Makefile +1 -1
index 4d2d55691548..1f427c8bcc56 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 14
-SUBLEVEL = 154
+SUBLEVEL = 155
 EXTRAVERSION =
 NAME = Petit Gorille
 
arch/arm/boot/compressed/libfdt_env.h +2 -0
index 07437816e098..b36c0289a308 100644
@@ -6,6 +6,8 @@
 #include <linux/string.h>
 #include <asm/byteorder.h>
 
+#define INT_MAX			((int)(~0U>>1))
+
 typedef __be16 fdt16_t;
 typedef __be32 fdt32_t;
 typedef __be64 fdt64_t;
arch/arm/boot/dts/am335x-evm.dts +6 -6
index 478434ebff92..27ff3e689e96 100644
@@ -724,6 +724,7 @@
 	pinctrl-0 = <&cpsw_default>;
 	pinctrl-1 = <&cpsw_sleep>;
 	status = "okay";
+	slaves = <1>;
 };
 
 &davinci_mdio {
@@ -731,15 +732,14 @@
 	pinctrl-0 = <&davinci_mdio_default>;
 	pinctrl-1 = <&davinci_mdio_sleep>;
 	status = "okay";
-};
 
-&cpsw_emac0 {
-	phy_id = <&davinci_mdio>, <0>;
-	phy-mode = "rgmii-txid";
+	ethphy0: ethernet-phy@0 {
+		reg = <0>;
+	};
 };
 
-&cpsw_emac1 {
-	phy_id = <&davinci_mdio>, <1>;
+&cpsw_emac0 {
+	phy-handle = <&ethphy0>;
 	phy-mode = "rgmii-txid";
 };
 
arch/arm/boot/dts/arm-realview-eb.dtsi +1 -1
index e2e9599596e2..05379b6c1c13 100644
@@ -334,7 +334,7 @@
 			clock-names = "uartclk", "apb_pclk";
 		};
 
-		ssp: ssp@1000d000 {
+		ssp: spi@1000d000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x1000d000 0x1000>;
 			clocks = <&sspclk>, <&pclk>;
arch/arm/boot/dts/arm-realview-pb1176.dts +1 -1
index c789564f2803..c1fd5615ddfe 100644
@@ -343,7 +343,7 @@
 			clock-names = "apb_pclk";
 		};
 
-		pb1176_ssp: ssp@1010b000 {
+		pb1176_ssp: spi@1010b000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x1010b000 0x1000>;
 			interrupt-parent = <&intc_dc1176>;
arch/arm/boot/dts/arm-realview-pb11mp.dts +1 -1
index 3944765ac4b0..e306f1cceb4e 100644
@@ -480,7 +480,7 @@
 			clock-names = "uartclk", "apb_pclk";
 		};
 
-		ssp@1000d000 {
+		spi@1000d000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x1000d000 0x1000>;
 			interrupt-parent = <&intc_pb11mp>;
arch/arm/boot/dts/arm-realview-pbx.dtsi +1 -1
index aeb49c4bd773..2bf3958b2e6b 100644
@@ -318,7 +318,7 @@
 			clock-names = "uartclk", "apb_pclk";
 		};
 
-		ssp: ssp@1000d000 {
+		ssp: spi@1000d000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x1000d000 0x1000>;
 			clocks = <&sspclk>, <&pclk>;
arch/arm/boot/dts/armada-388-clearfog.dtsi +1 -1
index 68acfc968706..8a3bbb7d6cc1 100644
@@ -89,7 +89,7 @@
 					     &clearfog_sdhci_cd_pins>;
 				pinctrl-names = "default";
 				status = "okay";
-				vmmc = <&reg_3p3v>;
+				vmmc-supply = <&reg_3p3v>;
 				wp-inverted;
 			};
 
arch/arm/boot/dts/at91sam9g45.dtsi +1 -1
index 64fa3f9a39d3..db0921e7a613 100644
@@ -566,7 +566,7 @@
 					};
 				};
 
-				uart1 {
+				usart1 {
 					pinctrl_usart1: usart1-0 {
 						atmel,pins =
 							<AT91_PIOB 4 AT91_PERIPH_A AT91_PINCTRL_PULL_UP	/* PB4 periph A with pullup */
arch/arm/boot/dts/dove-cubox.dts +1 -1
index 580e3cbcfbf7..3e1584e787ae 100644
@@ -87,7 +87,7 @@
 	status = "okay";
 	clock-frequency = <100000>;
 
-	si5351: clock-generator {
+	si5351: clock-generator@60 {
 		compatible = "silabs,si5351a-msop";
 		reg = <0x60>;
 		#address-cells = <1>;
arch/arm/boot/dts/dove.dtsi +3 -3
index f4a07bb7c3a2..c78471b05ab4 100644
@@ -155,7 +155,7 @@
 				  0xffffe000 MBUS_ID(0x03, 0x01) 0 0x0000800   /* CESA SRAM  2k */
 				  0xfffff000 MBUS_ID(0x0d, 0x00) 0 0x0000800>; /* PMU  SRAM  2k */
 
-			spi0: spi-ctrl@10600 {
+			spi0: spi@10600 {
 				compatible = "marvell,orion-spi";
 				#address-cells = <1>;
 				#size-cells = <0>;
@@ -168,7 +168,7 @@
 				status = "disabled";
 			};
 
-			i2c: i2c-ctrl@11000 {
+			i2c: i2c@11000 {
 				compatible = "marvell,mv64xxx-i2c";
 				reg = <0x11000 0x20>;
 				#address-cells = <1>;
@@ -218,7 +218,7 @@
 				status = "disabled";
 			};
 
-			spi1: spi-ctrl@14600 {
+			spi1: spi@14600 {
 				compatible = "marvell,orion-spi";
 				#address-cells = <1>;
 				#size-cells = <0>;
arch/arm/boot/dts/exynos5250-arndale.dts +9 -0
index 18a7f396ac5f..abd1705635f9 100644
@@ -169,6 +169,8 @@
 		reg = <0x66>;
 		interrupt-parent = <&gpx3>;
 		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&s5m8767_irq>;
 
 		vinb1-supply = <&main_dc_reg>;
 		vinb2-supply = <&main_dc_reg>;
@@ -544,6 +546,13 @@
 	cap-sd-highspeed;
 };
 
+&pinctrl_0 {
+	s5m8767_irq: s5m8767-irq {
+		samsung,pins = "gpx3-2";
+		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+	};
+};
+
 &rtc {
 	status = "okay";
 };
arch/arm/boot/dts/exynos5250-snow-rev5.dts +11 -0
index 90560c316f64..cb986175b69b 100644
@@ -23,6 +23,14 @@
 
 		samsung,model = "Snow-I2S-MAX98090";
 		samsung,audio-codec = <&max98090>;
+
+		cpu {
+			sound-dai = <&i2s0 0>;
+		};
+
+		codec {
+			sound-dai = <&max98090 0>, <&hdmi>;
+		};
 	};
 };
 
@@ -34,6 +42,9 @@
 		interrupt-parent = <&gpx0>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&max98090_irq>;
+		clocks = <&pmu_system_controller 0>;
+		clock-names = "mclk";
+		#sound-dai-cells = <1>;
 	};
 };
 
arch/arm/boot/dts/exynos5420-peach-pit.dts +3 -0
index 7ccee2cfe481..442161d2acd5 100644
@@ -301,6 +301,7 @@
 				regulator-name = "vdd_1v35";
 				regulator-min-microvolt = <1350000>;
 				regulator-max-microvolt = <1350000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
@@ -322,6 +323,7 @@
 				regulator-name = "vdd_2v";
 				regulator-min-microvolt = <2000000>;
 				regulator-max-microvolt = <2000000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
@@ -332,6 +334,7 @@
 				regulator-name = "vdd_1v8";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
arch/arm/boot/dts/exynos5800-peach-pi.dts +3 -0
index 0900b38f60b4..58af2254e521 100644
@@ -301,6 +301,7 @@
 				regulator-name = "vdd_1v35";
 				regulator-min-microvolt = <1350000>;
 				regulator-max-microvolt = <1350000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
@@ -322,6 +323,7 @@
 				regulator-name = "vdd_2v";
 				regulator-min-microvolt = <2000000>;
 				regulator-max-microvolt = <2000000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
@@ -332,6 +334,7 @@
 				regulator-name = "vdd_1v8";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
+				regulator-always-on;
 				regulator-boot-on;
 				regulator-state-mem {
 					regulator-on-in-suspend;
arch/arm/boot/dts/lpc32xx.dtsi +2 -2
index f22a33a01819..d077bd2b9583 100644
@@ -179,7 +179,7 @@
 			 * ssp0 and spi1 are shared pins;
 			 * enable one in your board dts, as needed.
 			 */
-			ssp0: ssp@20084000 {
+			ssp0: spi@20084000 {
 				compatible = "arm,pl022", "arm,primecell";
 				reg = <0x20084000 0x1000>;
 				interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
@@ -199,7 +199,7 @@
 			 * ssp1 and spi2 are shared pins;
 			 * enable one in your board dts, as needed.
 			 */
-			ssp1: ssp@2008c000 {
+			ssp1: spi@2008c000 {
 				compatible = "arm,pl022", "arm,primecell";
 				reg = <0x2008c000 0x1000>;
 				interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
arch/arm/boot/dts/meson8.dtsi +1 -1
index b98d44fde6b6..e3ae85d65b39 100644
@@ -170,7 +170,7 @@
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		compatible = "amlogic,meson8-clkc";
-		reg = <0x8000 0x4>, <0x4000 0x460>;
+		reg = <0x8000 0x4>, <0x4000 0x400>;
 	};
 
 	pwm_ef: pwm@86c0 {
arch/arm/boot/dts/meson8b.dtsi +1 -1
index bc278da7df0d..0f76da280ee7 100644
@@ -121,7 +121,7 @@
 		#clock-cells = <1>;
 		#reset-cells = <1>;
 		compatible = "amlogic,meson8b-clkc";
-		reg = <0x8000 0x4>, <0x4000 0x460>;
+		reg = <0x8000 0x4>, <0x4000 0x400>;
 	};
 
 	reset: reset-controller@4404 {
arch/arm/boot/dts/omap3-gta04.dtsi +38 -11

119 lines not on this page · raw message

arch/arm/boot/dts/orion5x-linkstation.dtsi +1 -1
index e9991c83d7b7..117d71546ed0 100644
@@ -156,7 +156,7 @@
 &i2c {
 	status = "okay";
 
-	rtc {
+	rtc@32 {
 		compatible = "ricoh,rs5c372a";
 		reg = <0x32>;
 	};
arch/arm/boot/dts/pxa25x.dtsi +4 -0
index 95d59be97213..8494b5787170 100644
@@ -80,6 +80,10 @@
 			#pwm-cells = <1>;
 			clocks = <&clks CLK_PWM1>;
 		};
+
+		rtc@40900000 {
+			clocks = <&clks CLK_OSC32k768>;
+		};
 	};
 
 	timer@40a00000 {
arch/arm/boot/dts/pxa27x.dtsi +5 -1
index 747f750f675d..3228ad5fb725 100644
@@ -71,7 +71,7 @@
 			clocks = <&clks CLK_PWM1>;
 		};
 
-		pwri2c: i2c@40f000180 {
+		pwri2c: i2c@40f00180 {
 			compatible = "mrvl,pxa-i2c";
 			reg = <0x40f00180 0x24>;
 			interrupts = <6>;
@@ -113,6 +113,10 @@
 
 			status = "disabled";
 		};
+
+		rtc@40900000 {
+			clocks = <&clks CLK_OSC32k768>;
+		};
 	};
 
 	clocks {
arch/arm/boot/dts/qcom-ipq4019.dtsi +1 -1
index 10d112a4078e..19156cbb6003 100644
@@ -234,7 +234,7 @@
 
                 saw0: regulator@b089000 {
                         compatible = "qcom,saw2";
-                        reg = <0x02089000 0x1000>, <0x0b009000 0x1000>;
+			reg = <0x0b089000 0x1000>, <0x0b009000 0x1000>;
                         regulator;
                 };
 
arch/arm/boot/dts/rk3036.dtsi +1 -1
index 5c0a76493d22..03cf0c84ac0a 100644
@@ -750,7 +750,7 @@
 			/* no rts / cts for uart2 */
 		};
 
-		spi {
+		spi-pins {
 			spi_txd:spi-txd {
 				rockchip,pins = <1 29 RK_FUNC_3 &pcfg_pull_default>;
 			};
arch/arm/boot/dts/rk3188-radxarock.dts +8 -0
index 53d6fc2fdbce..541a798d3d20 100644
@@ -130,6 +130,8 @@
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 		gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdmmc_pwr>;
 		startup-delay-us = <100000>;
 		vin-supply = <&vcc_io>;
 	};
@@ -348,6 +350,12 @@
 		};
 	};
 
+	sd0 {
+		sdmmc_pwr: sdmmc-pwr {
+			rockchip,pins = <RK_GPIO3 1 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+
 	usb {
 		host_vbus_drv: host-vbus-drv {
 			rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>;
arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts +1 -1
index b280e6494193..31b01a998b2e 100644
@@ -88,7 +88,7 @@
 	status = "okay";
 	clock-frequency = <100000>;
 
-	adxl345: adxl345@0 {
+	adxl345: adxl345@53 {
 		compatible = "adi,adxl345";
 		reg = <0x53>;
 
arch/arm/boot/dts/ste-dbx5x0.dtsi +3 -3
index 2310a4e97768..986767735e24 100644
@@ -197,7 +197,7 @@
 			      <0xa0410100 0x100>;
 		};
 
-		scu@a04100000 {
+		scu@a0410000 {
 			compatible = "arm,cortex-a9-scu";
 			reg = <0xa0410000 0x100>;
 		};
@@ -878,7 +878,7 @@
 			power-domains = <&pm_domains DOMAIN_VAPE>;
 		};
 
-		ssp@80002000 {
+		spi@80002000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x80002000 0x1000>;
 			interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
@@ -892,7 +892,7 @@
 			power-domains = <&pm_domains DOMAIN_VAPE>;
 		};
 
-		ssp@80003000 {
+		spi@80003000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x80003000 0x1000>;
 			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
arch/arm/boot/dts/ste-href-family-pinctrl.dtsi +6 -2
index 5c5cea232743..1ec193b0c506 100644
@@ -607,16 +607,20 @@
 
 			mcde {
 				lcd_default_mode: lcd_default {
-					default_mux {
+					default_mux1 {
 						/* Mux in VSI0 and all the data lines */
 						function = "lcd";
 						groups =
 						"lcdvsi0_a_1", /* VSI0 for LCD */
 						"lcd_d0_d7_a_1", /* Data lines */
 						"lcd_d8_d11_a_1", /* TV-out */
-						"lcdaclk_b_1", /* Clock line for TV-out */
 						"lcdvsi1_a_1"; /* VSI1 for HDMI */
 					};
+					default_mux2 {
+						function = "lcda";
+						groups =
+						"lcdaclk_b_1"; /* Clock line for TV-out */
+					};
 					default_cfg1 {
 						pins =
 						"GPIO68_E1", /* VSI0 */
arch/arm/boot/dts/ste-hrefprev60.dtsi +1 -1
index 3f14b4df69b4..94eeb7f1c947 100644
@@ -57,7 +57,7 @@
 			};
 		};
 
-		ssp@80002000 {
+		spi@80002000 {
 			/*
 			 * On the first generation boards, this SSP/SPI port was connected
 			 * to the AB8500.
arch/arm/boot/dts/ste-snowball.dts +1 -1
index ade1d0d4e5f4..1bf4358f8fa7 100644
@@ -376,7 +376,7 @@
 			pinctrl-1 = <&i2c3_sleep_mode>;
 		};
 
-		ssp@80002000 {
+		spi@80002000 {
 			pinctrl-names = "default";
 			pinctrl-0 = <&ssp0_snowball_mode>;
 		};
arch/arm/boot/dts/ste-u300.dts +1 -1
index 62ecb6a2fa39..1bd1aba3322f 100644
@@ -442,7 +442,7 @@
 			dma-names = "rx";
 		};
 
-		spi: ssp@c0006000 {
+		spi: spi@c0006000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0xc0006000 0x1000>;
 			interrupt-parent = <&vica>;
arch/arm/boot/dts/tegra20-paz00.dts +3 -3
index 30436969adc0..1b8db91277b1 100644
@@ -524,10 +524,10 @@
 	gpio-keys {
 		compatible = "gpio-keys";
 
-		power {
-			label = "Power";
+		wakeup {
+			label = "Wakeup";
 			gpios = <&gpio TEGRA_GPIO(J, 7) GPIO_ACTIVE_LOW>;
-			linux,code = <KEY_POWER>;
+			linux,code = <KEY_WAKEUP>;
 			wakeup-source;
 		};
 	};
arch/arm/boot/dts/tegra30-apalis.dtsi +3 -3
index faa8cd2914e8..b9368d40bc6f 100644
@@ -166,14 +166,14 @@
 
 			/* Apalis MMC1 */
 			sdmmc3_clk_pa6 {
-				nvidia,pins = "sdmmc3_clk_pa6",
-					      "sdmmc3_cmd_pa7";
+				nvidia,pins = "sdmmc3_clk_pa6";
 				nvidia,function = "sdmmc3";
 				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
 				nvidia,tristate = <TEGRA_PIN_DISABLE>;
 			};
 			sdmmc3_dat0_pb7 {
-				nvidia,pins = "sdmmc3_dat0_pb7",
+				nvidia,pins = "sdmmc3_cmd_pa7",
+					      "sdmmc3_dat0_pb7",
 					      "sdmmc3_dat1_pb6",
 					      "sdmmc3_dat2_pb5",
 					      "sdmmc3_dat3_pb4",
arch/arm/boot/dts/tegra30.dtsi +3 -3
index c3e9f1e847db..cb5b76e95813 100644
@@ -840,7 +840,7 @@
 		nvidia,elastic-limit = <16>;
 		nvidia,term-range-adj = <6>;
 		nvidia,xcvr-setup = <51>;
-		nvidia.xcvr-setup-use-fuses;
+		nvidia,xcvr-setup-use-fuses;
 		nvidia,xcvr-lsfslew = <1>;
 		nvidia,xcvr-lsrslew = <1>;
 		nvidia,xcvr-hsslew = <32>;
@@ -877,7 +877,7 @@
 		nvidia,elastic-limit = <16>;
 		nvidia,term-range-adj = <6>;
 		nvidia,xcvr-setup = <51>;
-		nvidia.xcvr-setup-use-fuses;
+		nvidia,xcvr-setup-use-fuses;
 		nvidia,xcvr-lsfslew = <2>;
 		nvidia,xcvr-lsrslew = <2>;
 		nvidia,xcvr-hsslew = <32>;
@@ -913,7 +913,7 @@
 		nvidia,elastic-limit = <16>;
 		nvidia,term-range-adj = <6>;
 		nvidia,xcvr-setup = <51>;
-		nvidia.xcvr-setup-use-fuses;
+		nvidia,xcvr-setup-use-fuses;
 		nvidia,xcvr-lsfslew = <2>;
 		nvidia,xcvr-lsrslew = <2>;
 		nvidia,xcvr-hsslew = <32>;
arch/arm/boot/dts/versatile-ab.dts +1 -1
index 4a51612996bc..a9000d22b2c0 100644
@@ -304,7 +304,7 @@
 			clock-names = "apb_pclk";
 		};
 
-		ssp@101f4000 {
+		spi@101f4000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x101f4000 0x1000>;
 			interrupts = <11>;
arch/arm/crypto/crc32-ce-glue.c +1 -1
index 96e62ec105d0..cd9e93b46c2d 100644
@@ -236,7 +236,7 @@ static void __exit crc32_pmull_mod_exit(void)
 				  ARRAY_SIZE(crc32_pmull_algs));
 }
 
-static const struct cpu_feature crc32_cpu_feature[] = {
+static const struct cpu_feature __maybe_unused crc32_cpu_feature[] = {
 	{ cpu_feature(CRC32) }, { cpu_feature(PMULL) }, { }
 };
 MODULE_DEVICE_TABLE(cpu, crc32_cpu_feature);
arch/arm/mach-imx/pm-imx6.c +25 -0
index ecdf071653d4..6078bcc9f594 100644
@@ -604,6 +604,28 @@ static void __init imx6_pm_common_init(const struct imx6_pm_socdata
 				   IMX6Q_GPR1_GINT);
 }
 
+static void imx6_pm_stby_poweroff(void)
+{
+	imx6_set_lpm(STOP_POWER_OFF);
+	imx6q_suspend_finish(0);
+
+	mdelay(1000);
+
+	pr_emerg("Unable to poweroff system\n");
+}
+
+static int imx6_pm_stby_poweroff_probe(void)
+{
+	if (pm_power_off) {
+		pr_warn("%s: pm_power_off already claimed  %p %pf!\n",
+			__func__, pm_power_off, pm_power_off);
+		return -EBUSY;
+	}
+
+	pm_power_off = imx6_pm_stby_poweroff;
+	return 0;
+}
+
 void __init imx6_pm_ccm_init(const char *ccm_compat)
 {
 	struct device_node *np;
@@ -620,6 +642,9 @@ void __init imx6_pm_ccm_init(const char *ccm_compat)
 	val = readl_relaxed(ccm_base + CLPCR);
 	val &= ~BM_CLPCR_LPM;
 	writel_relaxed(val, ccm_base + CLPCR);
+
+	if (of_property_read_bool(np, "fsl,pmic-stby-poweroff"))
+		imx6_pm_stby_poweroff_probe();
 }
 
 void __init imx6q_pm_init(void)
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts +3 -3
index 2beef9e6cb88..aa0b3844ad63 100644
@@ -126,9 +126,9 @@
 
 &reg_dcdc1 {
 	regulator-always-on;
-	regulator-min-microvolt = <3000000>;
-	regulator-max-microvolt = <3000000>;
-	regulator-name = "vcc-3v";
+	regulator-min-microvolt = <3300000>;
+	regulator-max-microvolt = <3300000>;
+	regulator-name = "vcc-3v3";
 };
 
 &reg_dcdc2 {
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +6 -2
index 338e786155b1..2ef779b02757 100644
@@ -120,10 +120,14 @@
 
 /* DCDC3 is polyphased with DCDC2 */
 
+/*
+ * The board uses DDR3L DRAM chips. 1.36V is the closest to the nominal
+ * 1.35V that the PMIC can drive.
+ */
 &reg_dcdc5 {
 	regulator-always-on;
-	regulator-min-microvolt = <1500000>;
-	regulator-max-microvolt = <1500000>;
+	regulator-min-microvolt = <1360000>;
+	regulator-max-microvolt = <1360000>;
 	regulator-name = "vcc-ddr3";
 };
 
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +2 -2
index 125f4deb52fe..b664e7af74eb 100644
@@ -107,7 +107,7 @@
 			clock-names = "uartclk", "apb_pclk";
 		};
 
-		spi0: ssp@e1020000 {
+		spi0: spi@e1020000 {
 			status = "disabled";
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0 0xe1020000 0 0x1000>;
@@ -117,7 +117,7 @@
 			clock-names = "apb_pclk";
 		};
 
-		spi1: ssp@e1030000 {
+		spi1: spi@e1030000 {
 			status = "disabled";
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0 0xe1030000 0 0x1000>;
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +1 -1
index af834cdbba79..250b5c11c0e2 100644
@@ -413,7 +413,7 @@
 			};
 		};
 
-		spi_pins: spi {
+		spi_pins: spi-pins {
 			mux {
 				groups = "spi_miso",
 					"spi_mosi",
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +1 -1
index d71cbf596d1f..0814b6b29b86 100644
@@ -14,7 +14,7 @@
 
 / {
 	compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl";
-	model = "Libre Technology CC";
+	model = "Libre Computer Board AML-S905X-CC";
 
 	aliases {
 		serial0 = &uart_AO;
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +1 -1
index fb8d76a17bc5..3c3057944960 100644
@@ -310,7 +310,7 @@
 			};
 		};
 
-		spi_pins: spi {
+		spi_pins: spi-pins {
 			mux {
 				groups = "spi_miso",
 					"spi_mosi",
arch/arm64/boot/dts/lg/lg1312.dtsi +2 -2
index 860c8fb10795..4bde7b6f2b11 100644
@@ -168,14 +168,14 @@
 			clock-names = "apb_pclk";
 			status="disabled";
 		};
-		spi0: ssp@fe800000 {
+		spi0: spi@fe800000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe800000 0x1000>;
 			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clk_bus>;
 			clock-names = "apb_pclk";
 		};
-		spi1: ssp@fe900000 {
+		spi1: spi@fe900000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe900000 0x1000>;
 			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
arch/arm64/boot/dts/lg/lg1313.dtsi +2 -2
index 1887af654a7d..16ced1ff1ad3 100644
@@ -168,14 +168,14 @@
 			clock-names = "apb_pclk";
 			status="disabled";
 		};
-		spi0: ssp@fe800000 {
+		spi0: spi@fe800000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe800000 0x1000>;
 			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&clk_bus>;
 			clock-names = "apb_pclk";
 		};
-		spi1: ssp@fe900000 {
+		spi1: spi@fe900000 {
 			compatible = "arm,pl022", "arm,primecell";
 			reg = <0x0 0xfe900000 0x1000>;
 			interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +1 -0
index f6e6f1e83ba8..be91873c0878 100644
@@ -282,6 +282,7 @@
 		status = "okay";
 		bus-width = <8>;
 		non-removable;
+		vqmmc-supply = <&vdd_1v8>;
 	};
 
 	clocks {
arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi +24 -2
index ce592a4c0c4c..075659847791 100644
@@ -113,6 +113,19 @@
 		vin-supply = <&vcc_1v8>;
 	};
 
+	vcc3v0_sd: vcc3v0-sd {
+		compatible = "regulator-fixed";
+		enable-active-high;
+		gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdmmc0_pwr_h>;
+		regulator-always-on;
+		regulator-max-microvolt = <3000000>;
+		regulator-min-microvolt = <3000000>;
+		regulator-name = "vcc3v0_sd";
+		vin-supply = <&vcc3v3_sys>;
+	};
+
 	vcc3v3_sys: vcc3v3-sys {
 		compatible = "regulator-fixed";
 		regulator-name = "vcc3v3_sys";
@@ -136,7 +149,7 @@
 	vcc5v0_host: vcc5v0-host-regulator {
 		compatible = "regulator-fixed";
 		enable-active-high;
-		gpio = <&gpio1 RK_PD1 GPIO_ACTIVE_HIGH>;
+		gpio = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&vcc5v0_host_en>;
 		regulator-name = "vcc5v0_host";
@@ -315,7 +328,7 @@
 				regulator-always-on;
 				regulator-boot-on;
 				regulator-min-microvolt = <1800000>;
-				regulator-max-microvolt = <3000000>;
+				regulator-max-microvolt = <3300000>;
 				regulator-state-mem {
 					regulator-on-in-suspend;
 					regulator-suspend-microvolt = <3000000>;
@@ -490,6 +503,13 @@
 		};
 	};
 
+	sd {
+		sdmmc0_pwr_h: sdmmc0-pwr-h {
+			rockchip,pins =
+				<RK_GPIO0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
+		};
+	};
+
 	usb2 {
 		vcc5v0_host_en: vcc5v0-host-en {
 			rockchip,pins =
@@ -537,6 +557,7 @@
 };
 
 &sdmmc {
+	broken-cd;
 	bus-width = <4>;
 	cap-mmc-highspeed;
 	cap-sd-highspeed;
@@ -545,6 +566,7 @@
 	max-frequency = <150000000>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
+	vmmc-supply = <&vcc3v0_sd>;
 	vqmmc-supply = <&vcc_sdio>;
 	status = "okay";
 };
arch/mips/bcm47xx/workarounds.c +5 -3
index 1a8a07e7a563..46eddbec8d9f 100644
@@ -5,9 +5,8 @@
 #include <bcm47xx_board.h>
 #include <bcm47xx.h>
 
-static void __init bcm47xx_workarounds_netgear_wnr3500l(void)
+static void __init bcm47xx_workarounds_enable_usb_power(int usb_power)
 {
-	const int usb_power = 12;
 	int err;
 
 	err = gpio_request_one(usb_power, GPIOF_OUT_INIT_HIGH, "usb_power");
@@ -23,7 +22,10 @@ void __init bcm47xx_workarounds(void)
 
 	switch (board) {
 	case BCM47XX_BOARD_NETGEAR_WNR3500L:
-		bcm47xx_workarounds_netgear_wnr3500l();
+		bcm47xx_workarounds_enable_usb_power(12);
+		break;
+	case BCM47XX_BOARD_NETGEAR_WNDR3400_V3:
+		bcm47xx_workarounds_enable_usb_power(21);
 		break;
 	default:
 		/* No workaround(s) needed */
arch/mips/bcm63xx/reset.c +1 -1
index a2af38cf28a7..64574e74cb23 100644
@@ -120,7 +120,7 @@
 #define BCM6368_RESET_DSL	0
 #define BCM6368_RESET_SAR	SOFTRESET_6368_SAR_MASK
 #define BCM6368_RESET_EPHY	SOFTRESET_6368_EPHY_MASK
-#define BCM6368_RESET_ENETSW	0
+#define BCM6368_RESET_ENETSW	SOFTRESET_6368_ENETSW_MASK
 #define BCM6368_RESET_PCM	SOFTRESET_6368_PCM_MASK
 #define BCM6368_RESET_MPI	SOFTRESET_6368_MPI_MASK
 #define BCM6368_RESET_PCIE	0
arch/mips/include/asm/kexec.h +3 -3
index 493a3cc7c39a..cfdbe66575f4 100644
@@ -12,11 +12,11 @@
 #include <asm/stacktrace.h>
 
 /* Maximum physical address we can use pages from */
-#define KEXEC_SOURCE_MEMORY_LIMIT (0x20000000)
+#define KEXEC_SOURCE_MEMORY_LIMIT (-1UL)
 /* Maximum address we can reach in physical address mode */
-#define KEXEC_DESTINATION_MEMORY_LIMIT (0x20000000)
+#define KEXEC_DESTINATION_MEMORY_LIMIT (-1UL)
  /* Maximum address we can use for the control code buffer */
-#define KEXEC_CONTROL_MEMORY_LIMIT (0x20000000)
+#define KEXEC_CONTROL_MEMORY_LIMIT (-1UL)
 /* Reserve 3*4096 bytes for board-specific info */
 #define KEXEC_CONTROL_PAGE_SIZE (4096 + 3*4096)
 
arch/mips/txx9/generic/setup.c +2 -3
index 1791a44ee570..20aaf77166e8 100644
@@ -959,12 +959,11 @@ void __init txx9_sramc_init(struct resource *r)
 		goto exit_put;
 	err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr);
 	if (err) {
-		device_unregister(&dev->dev);
 		iounmap(dev->base);
-		kfree(dev);
+		device_unregister(&dev->dev);
 	}
 	return;
 exit_put:
+	iounmap(dev->base);
 	put_device(&dev->dev);
-	return;
 }
arch/powerpc/boot/libfdt_env.h +2 -0
index f52c31b1f48f..39155d3b2cef 100644
@@ -5,6 +5,8 @@
 #include <types.h>
 #include <string.h>
 
+#define INT_MAX			((int)(~0U>>1))
+
 #include "of.h"
 
 typedef u32 uint32_t;
arch/powerpc/include/asm/imc-pmu.h +1 -5
index 7f74c282710f..fad0e6ff460f 100644
@@ -20,11 +20,6 @@
 #include <linux/io.h>
 #include <asm/opal.h>
 
-/*
- * For static allocation of some of the structures.
- */
-#define IMC_MAX_PMUS			32
-
 /*
  * Compatibility macros for IMC devices
  */
@@ -125,4 +120,5 @@ enum {
 extern int init_imc_pmu(struct device_node *parent,
 				struct imc_pmu *pmu_ptr, int pmu_id);
 extern void thread_imc_disable(void);
+extern int get_max_nest_dev(void);
 #endif /* __ASM_POWERPC_IMC_PMU_H */
arch/powerpc/include/asm/uaccess.h +3 -3
index 51f00c00d7e4..3865d1d23597 100644
@@ -234,7 +234,7 @@ do {								\
 ({								\
 	long __gu_err;						\
 	__long_type(*(ptr)) __gu_val;				\
-	const __typeof__(*(ptr)) __user *__gu_addr = (ptr);	\
+	__typeof__(*(ptr)) __user *__gu_addr = (ptr);	\
 	__chk_user_ptr(ptr);					\
 	if (!is_kernel_addr((unsigned long)__gu_addr))		\
 		might_fault();					\
@@ -248,7 +248,7 @@ do {								\
 ({									\
 	long __gu_err = -EFAULT;					\
 	__long_type(*(ptr)) __gu_val = 0;				\
-	const __typeof__(*(ptr)) __user *__gu_addr = (ptr);		\
+	__typeof__(*(ptr)) __user *__gu_addr = (ptr);		\
 	might_fault();							\
 	if (access_ok(VERIFY_READ, __gu_addr, (size))) {		\
 		barrier_nospec();					\
@@ -262,7 +262,7 @@ do {								\
 ({								\
 	long __gu_err;						\
 	__long_type(*(ptr)) __gu_val;				\
-	const __typeof__(*(ptr)) __user *__gu_addr = (ptr);	\
+	__typeof__(*(ptr)) __user *__gu_addr = (ptr);	\
 	__chk_user_ptr(ptr);					\
 	barrier_nospec();					\
 	__get_user_size(__gu_val, __gu_addr, (size), __gu_err);	\
arch/powerpc/kernel/iommu.c +1 -1
index af7a20dc6e09..80b6caaa9b92 100644
@@ -785,9 +785,9 @@ dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,
 
 	vaddr = page_address(page) + offset;
 	uaddr = (unsigned long)vaddr;
-	npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl));
 
 	if (tbl) {
+		npages = iommu_num_pages(uaddr, size, IOMMU_PAGE_SIZE(tbl));
 		align = 0;
 		if (tbl->it_page_shift < PAGE_SHIFT && size >= PAGE_SIZE &&
 		    ((unsigned long)vaddr & ~PAGE_MASK) == 0)
arch/powerpc/kernel/rtas.c +2 -0
index 141d192c6953..a01f83ba739e 100644
@@ -984,6 +984,7 @@ int rtas_ibm_suspend_me(u64 handle)
 		goto out;
 	}
 
+	cpu_hotplug_disable();
 	stop_topology_update();
 
 	/* Call function on all CPUs.  One of us will make the
@@ -998,6 +999,7 @@ int rtas_ibm_suspend_me(u64 handle)
 		printk(KERN_ERR "Error doing global join\n");
 
 	start_topology_update();
+	cpu_hotplug_enable();
 
 	/* Take down CPUs not online prior to suspend */
 	cpuret = rtas_offline_cpus_mask(offline_mask);
arch/powerpc/kernel/vdso32/datapage.S +1 -0
index 3745113fcc65..2a7eb5452aba 100644
@@ -37,6 +37,7 @@ data_page_branch:
 	mtlr	r0
 	addi	r3, r3, __kernel_datapage_offset-data_page_branch
 	lwz	r0,0(r3)
+  .cfi_restore lr
 	add	r3,r0,r3
 	blr
   .cfi_endproc
arch/powerpc/kernel/vdso32/gettimeofday.S +1 -0
index 769c2624e0a6..1e0bc5955a40 100644
@@ -139,6 +139,7 @@ V_FUNCTION_BEGIN(__kernel_clock_gettime)
 	 */
 99:
 	li	r0,__NR_clock_gettime
+  .cfi_restore lr
 	sc
 	blr
   .cfi_endproc
arch/powerpc/kernel/vdso64/datapage.S +1 -0
index abf17feffe40..bf9668691511 100644
@@ -37,6 +37,7 @@ data_page_branch:
 	mtlr	r0
 	addi	r3, r3, __kernel_datapage_offset-data_page_branch
 	lwz	r0,0(r3)
+  .cfi_restore lr
 	add	r3,r0,r3
 	blr
   .cfi_endproc
arch/powerpc/kernel/vdso64/gettimeofday.S +1 -0
index 382021324883..09b2a49f6dd5 100644
@@ -124,6 +124,7 @@ V_FUNCTION_BEGIN(__kernel_clock_gettime)
 	 */
 99:
 	li	r0,__NR_clock_gettime
+  .cfi_restore lr
 	sc
 	blr
   .cfi_endproc
arch/powerpc/mm/slb.c +1 -1
index 6d9bf014b3e7..2502fe3bfb54 100644
@@ -315,7 +315,7 @@ void slb_initialize(void)
 #endif
 	}
 
-	get_paca()->stab_rr = SLB_NUM_BOLTED;
+	get_paca()->stab_rr = SLB_NUM_BOLTED - 1;
 
 	lflags = SLB_VSID_KERNEL | linear_llp;
 	vflags = SLB_VSID_KERNEL | vmalloc_llp;
arch/powerpc/perf/imc-pmu.c +14 -3
index 994e4392cac5..a0b4c22d963a 100644
@@ -26,7 +26,7 @@
  */
 static DEFINE_MUTEX(nest_init_lock);
 static DEFINE_PER_CPU(struct imc_pmu_ref *, local_nest_imc_refc);
-static struct imc_pmu *per_nest_pmu_arr[IMC_MAX_PMUS];
+static struct imc_pmu **per_nest_pmu_arr;
 static cpumask_t nest_imc_cpumask;
 struct imc_pmu_ref *nest_imc_refc;
 static int nest_pmus;
@@ -286,13 +286,14 @@ static struct imc_pmu_ref *get_nest_pmu_ref(int cpu)
 static void nest_change_cpu_context(int old_cpu, int new_cpu)
 {
 	struct imc_pmu **pn = per_nest_pmu_arr;
-	int i;
 
 	if (old_cpu < 0 || new_cpu < 0)
 		return;
 
-	for (i = 0; *pn && i < IMC_MAX_PMUS; i++, pn++)
+	while (*pn) {
 		perf_pmu_migrate_context(&(*pn)->pmu, old_cpu, new_cpu);
+		pn++;
+	}
 }
 
 static int ppc_nest_imc_cpu_offline(unsigned int cpu)
@@ -1188,6 +1189,7 @@ static void imc_common_cpuhp_mem_free(struct imc_pmu *pmu_ptr)
 		if (nest_pmus == 1) {
 			cpuhp_remove_state(CPUHP_AP_PERF_POWERPC_NEST_IMC_ONLINE);
 			kfree(nest_imc_refc);
+			kfree(per_nest_pmu_arr);
 		}
 
 		if (nest_pmus > 0)
@@ -1236,6 +1238,13 @@ static int imc_mem_init(struct imc_pmu *pmu_ptr, struct device_node *parent,
 			return -ENOMEM;
 
 		/* Needed for hotplug/migration */
+		if (!per_nest_pmu_arr) {
+			per_nest_pmu_arr = kcalloc(get_max_nest_dev() + 1,
+						sizeof(struct imc_pmu *),
+						GFP_KERNEL);
+			if (!per_nest_pmu_arr)
+				return -ENOMEM;
+		}
 		per_nest_pmu_arr[pmu_index] = pmu_ptr;
 		break;
 	case IMC_DOMAIN_CORE:
@@ -1318,6 +1327,8 @@ int init_imc_pmu(struct device_node *parent, struct imc_pmu *pmu_ptr, int pmu_id
 			ret = nest_pmu_cpumask_init();
 			if (ret) {
 				mutex_unlock(&nest_init_lock);
+				kfree(nest_imc_refc);
+				kfree(per_nest_pmu_arr);
 				goto err_free;
 			}
 		}
arch/powerpc/platforms/powernv/opal-imc.c +16 -0
index 7b93191dc2e3..dad23cd8a1de 100644
@@ -159,6 +159,22 @@ static void disable_core_pmu_counters(void)
 	put_online_cpus();
 }
 
+int get_max_nest_dev(void)
+{
+	struct device_node *node;
+	u32 pmu_units = 0, type;
+
+	for_each_compatible_node(node, NULL, IMC_DTB_UNIT_COMPAT) {
+		if (of_property_read_u32(node, "type", &type))
+			continue;
+
+		if (type == IMC_TYPE_CHIP)
+			pmu_units++;
+	}
+
+	return pmu_units;
+}
+
 static int opal_imc_counters_probe(struct platform_device *pdev)
 {
 	struct device_node *imc_dev = pdev->dev.of_node;
arch/x86/hyperv/hv_init.c +19 -0
index 2e9d58cc371e..2653b7b25d17 100644
@@ -17,6 +17,7 @@
  *
  */
 
+#include <linux/efi.h>
 #include <linux/types.h>
 #include <asm/hypervisor.h>
 #include <asm/hyperv.h>
@@ -101,6 +102,22 @@ static int hv_cpu_init(unsigned int cpu)
 	return 0;
 }
 
+static int __init hv_pci_init(void)
+{
+	int gen2vm = efi_enabled(EFI_BOOT);
+
+	/*
+	 * For Generation-2 VM, we exit from pci_arch_init() by returning 0.
+	 * The purpose is to suppress the harmless warning:
+	 * "PCI: Fatal: No config space access function found"
+	 */
+	if (gen2vm)
+		return 0;
+
+	/* For Generation-1 VM, we'll proceed in pci_arch_init().  */
+	return 1;
+}
+
 /*
  * This function is to be invoked early in the boot sequence after the
  * hypervisor has been detected.
@@ -154,6 +171,8 @@ void hyperv_init(void)
 
 	hyper_alloc_mmu();
 
+	x86_init.pci.arch_init = hv_pci_init;
+
 	/*
 	 * Register Hyper-V specific clocksource.
 	 */
arch/x86/kernel/cpu/common.c +3 -1
index c0c9c5a44e82..3d805e8b3739 100644
@@ -1066,6 +1066,9 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
 	memset(&c->x86_capability, 0, sizeof c->x86_capability);
 	c->extended_cpuid_level = 0;
 
+	if (!have_cpuid_p())
+		identify_cpu_without_cpuid(c);
+
 	/* cyrix could have cpuid enabled via c_identify()*/
 	if (have_cpuid_p()) {
 		cpu_detect(c);
@@ -1082,7 +1085,6 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
 		if (this_cpu->c_bsp_init)
 			this_cpu->c_bsp_init(c);
 	} else {
-		identify_cpu_without_cpuid(c);
 		setup_clear_cpu_cap(X86_FEATURE_CPUID);
 	}
 
arch/x86/kernel/cpu/cyrix.c +1 -1
index fa61c870ada9..1d9b8aaea06c 100644
@@ -437,7 +437,7 @@ static void cyrix_identify(struct cpuinfo_x86 *c)
 			/* enable MAPEN  */
 			setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10);
 			/* enable cpuid  */
-			setCx86_old(CX86_CCR4, getCx86_old(CX86_CCR4) | 0x80);
+			setCx86(CX86_CCR4, getCx86(CX86_CCR4) | 0x80);
 			/* disable MAPEN */
 			setCx86(CX86_CCR3, ccr3);
 			local_irq_restore(flags);
arch/x86/kernel/cpu/mcheck/mce-inject.c +6 -0
index 8fec687b3e44..f12141ba9a76 100644
@@ -108,6 +108,9 @@ static void setup_inj_struct(struct mce *m)
 	memset(m, 0, sizeof(struct mce));
 
 	m->cpuvendor = boot_cpu_data.x86_vendor;
+	m->time	     = ktime_get_real_seconds();
+	m->cpuid     = cpuid_eax(1);
+	m->microcode = boot_cpu_data.microcode;
 }
 
 /* Update fake mce registers on current CPU. */
@@ -576,6 +579,9 @@ static int inj_bank_set(void *data, u64 val)
 	m->bank = val;
 	do_inject();
 
+	/* Reset injection struct */
+	setup_inj_struct(&i_mce);
+
 	return 0;
 }
 
arch/x86/kernel/uprobes.c +1 -1
index 7a87ef1f5b5e..73391c1bd2a9 100644
@@ -987,7 +987,7 @@ arch_uretprobe_hijack_return_addr(unsigned long trampoline_vaddr, struct pt_regs
 		pr_err("uprobe: return address clobbered: pid=%d, %%sp=%#lx, "
 			"%%ip=%#lx\n", current->pid, regs->sp, regs->ip);
 
-		force_sig_info(SIGSEGV, SEND_SIG_FORCED, current);
+		force_sig(SIGSEGV, current);
 	}
 
 	return -1;
arch/x86/kvm/vmx.c +3 -4
index cd5a8e888eb6..ab6384efc791 100644
@@ -4468,7 +4468,7 @@ static void ept_load_pdptrs(struct kvm_vcpu *vcpu)
 		      (unsigned long *)&vcpu->arch.regs_dirty))
 		return;
 
-	if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) {
+	if (is_pae_paging(vcpu)) {
 		vmcs_write64(GUEST_PDPTR0, mmu->pdptrs[0]);
 		vmcs_write64(GUEST_PDPTR1, mmu->pdptrs[1]);
 		vmcs_write64(GUEST_PDPTR2, mmu->pdptrs[2]);
@@ -4480,7 +4480,7 @@ static void ept_save_pdptrs(struct kvm_vcpu *vcpu)
 {
 	struct kvm_mmu *mmu = vcpu->arch.walk_mmu;
 
-	if (is_paging(vcpu) && is_pae(vcpu) && !is_long_mode(vcpu)) {
+	if (is_pae_paging(vcpu)) {
 		mmu->pdptrs[0] = vmcs_read64(GUEST_PDPTR0);
 		mmu->pdptrs[1] = vmcs_read64(GUEST_PDPTR1);
 		mmu->pdptrs[2] = vmcs_read64(GUEST_PDPTR2);
@@ -10906,8 +10906,7 @@ static int nested_vmx_load_cr3(struct kvm_vcpu *vcpu, unsigned long cr3, bool ne
 		 * If PAE paging and EPT are both on, CR3 is not used by the CPU and
 		 * must not be dereferenced.
 		 */
-		if (!is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu) &&
-		    !nested_ept) {
+		if (is_pae_paging(vcpu) && !nested_ept) {
 			if (!load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3)) {
 				*entry_failure_code = ENTRY_FAIL_PDPTE;
 				return 1;
arch/x86/kvm/x86.c +4 -4
index dcee3282112d..1f9360320a82 100644
@@ -620,7 +620,7 @@ bool pdptrs_changed(struct kvm_vcpu *vcpu)
 	gfn_t gfn;
 	int r;
 
-	if (is_long_mode(vcpu) || !is_pae(vcpu))
+	if (!is_pae_paging(vcpu))
 		return false;
 
 	if (!test_bit(VCPU_EXREG_PDPTR,
@@ -849,8 +849,8 @@ int kvm_set_cr3(struct kvm_vcpu *vcpu, unsigned long cr3)
 	if (is_long_mode(vcpu) &&
 	    (cr3 & rsvd_bits(cpuid_maxphyaddr(vcpu), 63)))
 		return 1;
-	else if (is_pae(vcpu) && is_paging(vcpu) &&
-		   !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3))
+	else if (is_pae_paging(vcpu) &&
+		 !load_pdptrs(vcpu, vcpu->arch.walk_mmu, cr3))
 		return 1;
 
 	vcpu->arch.cr3 = cr3;
@@ -7787,7 +7787,7 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
 		kvm_update_cpuid(vcpu);
 
 	idx = srcu_read_lock(&vcpu->kvm->srcu);
-	if (!is_long_mode(vcpu) && is_pae(vcpu)) {
+	if (is_pae_paging(vcpu)) {
 		load_pdptrs(vcpu, vcpu->arch.walk_mmu, kvm_read_cr3(vcpu));
 		mmu_reset_needed = 1;
 	}
arch/x86/kvm/x86.h +5 -0
index c88305d997b0..68eb0d03e5fc 100644
@@ -94,6 +94,11 @@ static inline int is_paging(struct kvm_vcpu *vcpu)
 	return likely(kvm_read_cr0_bits(vcpu, X86_CR0_PG));
 }
 
+static inline bool is_pae_paging(struct kvm_vcpu *vcpu)
+{
+	return !is_long_mode(vcpu) && is_pae(vcpu) && is_paging(vcpu);
+}
+
 static inline u32 bit(int bitno)
 {
 	return 1 << (bitno & 31);
block/bfq-iosched.c +8 -2
index e65b0da1007b..93863c6173e6 100644
@@ -3314,7 +3314,12 @@ static bool bfq_bfqq_may_idle(struct bfq_queue *bfqq)
 	 * whether bfqq is being weight-raised, because
 	 * bfq_symmetric_scenario() does not take into account also
 	 * weight-raised queues (see comments on
-	 * bfq_weights_tree_add()).
+	 * bfq_weights_tree_add()). In particular, if bfqq is being
+	 * weight-raised, it is important to idle only if there are
+	 * other, non-weight-raised queues that may steal throughput
+	 * to bfqq. Actually, we should be even more precise, and
+	 * differentiate between interactive weight raising and
+	 * soft real-time weight raising.
 	 *
 	 * As a side note, it is worth considering that the above
 	 * device-idling countermeasures may however fail in the
@@ -3326,7 +3331,8 @@ static bool bfq_bfqq_may_idle(struct bfq_queue *bfqq)
 	 * to let requests be served in the desired order until all
 	 * the requests already queued in the device have been served.
 	 */
-	asymmetric_scenario = bfqq->wr_coeff > 1 ||
+	asymmetric_scenario = (bfqq->wr_coeff > 1 &&
+			       bfqd->wr_busy_queues < bfqd->busy_queues) ||
 		!bfq_symmetric_scenario(bfqd);
 
 	/*
crypto/rsa-pkcs1pad.c +0 -9
index 407c64bdcdd9..3279b457c4ed 100644
@@ -261,15 +261,6 @@ static int pkcs1pad_encrypt(struct akcipher_request *req)
 	pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,
 			ctx->key_size - 1 - req->src_len, req->src);
 
-	req_ctx->out_buf = kmalloc(ctx->key_size, GFP_KERNEL);
-	if (!req_ctx->out_buf) {
-		kfree(req_ctx->in_buf);
-		return -ENOMEM;
-	}
-
-	pkcs1pad_sg_set_buf(req_ctx->out_sg, req_ctx->out_buf,
-			ctx->key_size, NULL);
-
 	akcipher_request_set_tfm(&req_ctx->child_req, ctx->child);
 	akcipher_request_set_callback(&req_ctx->child_req, req->base.flags,
 			pkcs1pad_encrypt_sign_complete_cb, req);
drivers/acpi/acpi_lpss.c +20 -2
index 51592dd45b06..1ab8d7223b25 100644
@@ -98,6 +98,9 @@ struct lpss_private_data {
 	u32 prv_reg_ctx[LPSS_PRV_REG_COUNT];
 };
 
+/* Devices which need to be in D3 before lpss_iosf_enter_d3_state() proceeds */
+static u32 pmc_atom_d3_mask = 0xfe000ffe;
+
 /* LPSS run time quirks */
 static unsigned int lpss_quirks;
 
@@ -174,6 +177,21 @@ static void byt_pwm_setup(struct lpss_private_data *pdata)
 
 static void byt_i2c_setup(struct lpss_private_data *pdata)
 {
+	const char *uid_str = acpi_device_uid(pdata->adev);
+	acpi_handle handle = pdata->adev->handle;
+	unsigned long long shared_host = 0;
+	acpi_status status;
+	long uid = 0;
+
+	/* Expected to always be true, but better safe then sorry */
+	if (uid_str)
+		uid = simple_strtol(uid_str, NULL, 10);
+
+	/* Detect I2C bus shared with PUNIT and ignore its d3 status */
+	status = acpi_evaluate_integer(handle, "_SEM", NULL, &shared_host);
+	if (ACPI_SUCCESS(status) && shared_host && uid)
+		pmc_atom_d3_mask &= ~(BIT_LPSS2_F1_I2C1 << (uid - 1));
+
 	lpss_deassert_reset(pdata);
 
 	if (readl(pdata->mmio_base + pdata->dev_desc->prv_offset))
@@ -789,7 +807,7 @@ static void lpss_iosf_enter_d3_state(void)
 	 * Here we read the values related to LPSS power island, i.e. LPSS
 	 * devices, excluding both LPSS DMA controllers, along with SCC domain.
 	 */
-	u32 func_dis, d3_sts_0, pmc_status, pmc_mask = 0xfe000ffe;
+	u32 func_dis, d3_sts_0, pmc_status;
 	int ret;
 
 	ret = pmc_atom_read(PMC_FUNC_DIS, &func_dis);
@@ -807,7 +825,7 @@ static void lpss_iosf_enter_d3_state(void)
 	 * Shutdown both LPSS DMA controllers if and only if all other devices
 	 * are already in D3hot.
 	 */
-	pmc_status = (~(d3_sts_0 | func_dis)) & pmc_mask;
+	pmc_status = (~(d3_sts_0 | func_dis)) & pmc_atom_d3_mask;
 	if (pmc_status)
 		goto exit;
 
drivers/acpi/pci_root.c +3 -2
index eb857d6ea1fe..96911360a28e 100644
@@ -454,8 +454,9 @@ static void negotiate_os_control(struct acpi_pci_root *root, int *no_aspm)
 	decode_osc_support(root, "OS supports", support);
 	status = acpi_pci_osc_support(root, support);
 	if (ACPI_FAILURE(status)) {
-		dev_info(&device->dev, "_OSC failed (%s); disabling ASPM\n",
-			 acpi_format_exception(status));
+		dev_info(&device->dev, "_OSC failed (%s)%s\n",
+			 acpi_format_exception(status),
+			 pcie_aspm_support_enabled() ? "; disabling ASPM" : "");
 		*no_aspm = 1;
 		return;
 	}
drivers/base/component.c +3 -3
index 89b032f2ffd2..08da6160e94d 100644
@@ -461,9 +461,9 @@ int component_bind_all(struct device *master_dev, void *data)
 		}
 
 	if (ret != 0) {
-		for (; i--; )
-			if (!master->match->compare[i].duplicate) {
-				c = master->match->compare[i].component;
+		for (; i > 0; i--)
+			if (!master->match->compare[i - 1].duplicate) {
+				c = master->match->compare[i - 1].component;
 				component_unbind(c, master, data);
 			}
 	}
drivers/base/power/opp/core.c +19 -2
index d5e7e8cc4f22..8100c8769149 100644
@@ -49,9 +49,14 @@ static struct opp_device *_find_opp_dev(const struct device *dev,
 static struct opp_table *_find_opp_table_unlocked(struct device *dev)
 {
 	struct opp_table *opp_table;
+	bool found;
 
 	list_for_each_entry(opp_table, &opp_tables, node) {
-		if (_find_opp_dev(dev, opp_table)) {
+		mutex_lock(&opp_table->lock);
+		found = !!_find_opp_dev(dev, opp_table);
+		mutex_unlock(&opp_table->lock);
+
+		if (found) {
 			_get_opp_table_kref(opp_table);
 
 			return opp_table;
@@ -711,6 +716,8 @@ struct opp_device *_add_opp_dev(const struct device *dev,
 
 	/* Initialize opp-dev */
 	opp_dev->dev = dev;
+
+	mutex_lock(&opp_table->lock);
 	list_add(&opp_dev->node, &opp_table->dev_list);
 
 	/* Create debugfs entries for the opp_table */
@@ -718,6 +725,7 @@ struct opp_device *_add_opp_dev(const struct device *dev,
 	if (ret)
 		dev_err(dev, "%s: Failed to register opp debugfs (%d)\n",
 			__func__, ret);
+	mutex_unlock(&opp_table->lock);
 
 	return opp_dev;
 }
@@ -736,6 +744,7 @@ static struct opp_table *_allocate_opp_table(struct device *dev)
 	if (!opp_table)
 		return NULL;
 
+	mutex_init(&opp_table->lock);
 	INIT_LIST_HEAD(&opp_table->dev_list);
 
 	opp_dev = _add_opp_dev(dev, opp_table);
@@ -757,7 +766,6 @@ static struct opp_table *_allocate_opp_table(struct device *dev)
 
 	BLOCKING_INIT_NOTIFIER_HEAD(&opp_table->head);
 	INIT_LIST_HEAD(&opp_table->opp_list);
-	mutex_init(&opp_table->lock);
 	kref_init(&opp_table->kref);
 
 	/* Secure the device table modification */
@@ -799,6 +807,10 @@ static void _opp_table_kref_release(struct kref *kref)
 	if (!IS_ERR(opp_table->clk))
 		clk_put(opp_table->clk);
 
+	/*
+	 * No need to take opp_table->lock here as we are guaranteed that no
+	 * references to the OPP table are taken at this point.
+	 */
 	opp_dev = list_first_entry(&opp_table->dev_list, struct opp_device,
 				   node);
 
@@ -1702,6 +1714,9 @@ void _dev_pm_opp_remove_table(struct opp_table *opp_table, struct device *dev,
 {
 	struct dev_pm_opp *opp, *tmp;
 
+	/* Protect dev_list */
+	mutex_lock(&opp_table->lock);
+
 	/* Find if opp_table manages a single device */
 	if (list_is_singular(&opp_table->dev_list)) {
 		/* Free static OPPs */
@@ -1712,6 +1727,8 @@ void _dev_pm_opp_remove_table(struct opp_table *opp_table, struct device *dev,
 	} else {
 		_remove_opp_dev(_find_opp_dev(dev, opp_table), opp_table);
 	}
+
+	mutex_unlock(&opp_table->lock);
 }
 
 void _dev_pm_opp_find_and_remove_table(struct device *dev, bool remove_all)
drivers/base/power/opp/cpu.c +2 -0
index 2d87bc1adf38..66e406bd4d62 100644
@@ -222,8 +222,10 @@ int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask)
 	cpumask_clear(cpumask);
 
 	if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) {
+		mutex_lock(&opp_table->lock);
 		list_for_each_entry(opp_dev, &opp_table->dev_list, node)
 			cpumask_set_cpu(opp_dev->dev->id, cpumask);
+		mutex_unlock(&opp_table->lock);
 	} else {
 		cpumask_set_cpu(cpu_dev->id, cpumask);
 	}
drivers/base/power/opp/opp.h +1 -1
index 166eef990599..0a206c6b9086 100644
@@ -124,7 +124,7 @@ enum opp_table_access {
  * @dev_list:	list of devices that share these OPPs
  * @opp_list:	table of opps
  * @kref:	for reference count of the table.
- * @lock:	mutex protecting the opp_list.
+ * @lock:	mutex protecting the opp_list and dev_list.
  * @np:		struct device_node pointer for opp's DT node.
  * @clock_latency_ns_max: Max clock latency in nanoseconds.
  * @shared_opp: OPP is shared between multiple devices.
drivers/bluetooth/hci_serdev.c +1 -0
index 52e6d4d1608e..69c00a3db538 100644
@@ -360,6 +360,7 @@ void hci_uart_unregister_device(struct hci_uart *hu)
 {
 	struct hci_dev *hdev = hu->hdev;
 
+	clear_bit(HCI_UART_PROTO_READY, &hu->flags);
 	hci_unregister_dev(hdev);
 	hci_free_dev(hdev);
 
drivers/char/ipmi/ipmi_dmi.c +4 -0
index c3a23ec3e76f..a37d9794170c 100644
@@ -197,6 +197,10 @@ static void __init dmi_decode_ipmi(const struct dmi_header *dm)
 	slave_addr = data[DMI_IPMI_SLAVEADDR];
 
 	memcpy(&base_addr, data + DMI_IPMI_ADDR, sizeof(unsigned long));
+	if (!base_addr) {
+		pr_err("Base address is zero, assuming no IPMI interface\n");
+		return;
+	}
 	if (len >= DMI_IPMI_VER2_LENGTH) {
 		if (type == IPMI_DMI_TYPE_SSIF) {
 			offset = 0;
drivers/crypto/s5p-sss.c +2 -2
index aec66159566d..9a5213cbcbe1 100644
@@ -323,7 +323,7 @@ static void s5p_unset_indata(struct s5p_aes_dev *dev)
 }
 
 static int s5p_make_sg_cpy(struct s5p_aes_dev *dev, struct scatterlist *src,
-			    struct scatterlist **dst)
+			   struct scatterlist **dst)
 {
 	void *pages;
 	int len;
@@ -569,7 +569,7 @@ static int s5p_set_indata_start(struct s5p_aes_dev *dev,
 }
 
 static int s5p_set_outdata_start(struct s5p_aes_dev *dev,
-				struct ablkcipher_request *req)
+				 struct ablkcipher_request *req)
 {
 	struct scatterlist *sg;
 	int err;
drivers/dma/Kconfig +1 -1
index fadc4d8783bd..79b809dbfda0 100644
@@ -143,7 +143,7 @@ config DMA_JZ4740
 
 config DMA_JZ4780
 	tristate "JZ4780 DMA support"
-	depends on MACH_JZ4780 || COMPILE_TEST
+	depends on MIPS || COMPILE_TEST
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help
drivers/dma/dma-jz4780.c +1 -1
index 803cfb4523b0..aca2d6fd92d5 100644
@@ -580,7 +580,7 @@ static enum dma_status jz4780_dma_tx_status(struct dma_chan *chan,
 					to_jz4780_dma_desc(vdesc), 0);
 	} else if (cookie == jzchan->desc->vdesc.tx.cookie) {
 		txstate->residue = jz4780_dma_desc_residue(jzchan, jzchan->desc,
-			  (jzchan->curr_hwdesc + 1) % jzchan->desc->count);
+					jzchan->curr_hwdesc + 1);
 	} else
 		txstate->residue = 0;
 
drivers/edac/sb_edac.c +35 -33

93 lines not on this page · raw message

drivers/extcon/extcon-intel-cht-wc.c +1 -1
index 60baaf693103..c562d9d69ae3 100644
@@ -155,7 +155,7 @@ static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext,
 		dev_warn(ext->dev,
 			"Unhandled charger type %d, defaulting to SDP\n",
 			 ret);
-		/* Fall through, treat as SDP */
+		return EXTCON_CHG_USB_SDP;
 	case CHT_WC_USBSRC_TYPE_SDP:
 	case CHT_WC_USBSRC_TYPE_FLOAT_DP_DN:
 	case CHT_WC_USBSRC_TYPE_OTHER:
drivers/firmware/dell_rbu.c +8 -0
index 2f452f1f7c8a..53f27a6e2d76 100644
@@ -45,6 +45,7 @@
 #include <linux/moduleparam.h>
 #include <linux/firmware.h>
 #include <linux/dma-mapping.h>
+#include <asm/set_memory.h>
 
 MODULE_AUTHOR("Abhay Salunke <[email protected]>");
 MODULE_DESCRIPTION("Driver for updating BIOS image on DELL systems");
@@ -181,6 +182,11 @@ static int create_packet(void *data, size_t length)
 			packet_data_temp_buf = NULL;
 		}
 	}
+	/*
+	 * set to uncachable or it may never get written back before reboot
+	 */
+	set_memory_uc((unsigned long)packet_data_temp_buf, 1 << ordernum);
+
 	spin_lock(&rbu_data.lock);
 
 	newpacket->data = packet_data_temp_buf;
@@ -349,6 +355,8 @@ static void packet_empty_list(void)
 		 * to make sure there are no stale RBU packets left in memory
 		 */
 		memset(newpacket->data, 0, rbu_data.packetsize);
+		set_memory_wb((unsigned long)newpacket->data,
+			1 << newpacket->ordernum);
 		free_pages((unsigned long) newpacket->data,
 			newpacket->ordernum);
 		kfree(newpacket);
drivers/hv/hv.c +12 -3
index fe041f22521d..23f312b4c6aa 100644
@@ -148,6 +148,17 @@ static void hv_init_clockevent_device(struct clock_event_device *dev, int cpu)
 int hv_synic_alloc(void)
 {
 	int cpu;
+	struct hv_per_cpu_context *hv_cpu;
+
+	/*
+	 * First, zero all per-cpu memory areas so hv_synic_free() can
+	 * detect what memory has been allocated and cleanup properly
+	 * after any failures.
+	 */
+	for_each_present_cpu(cpu) {
+		hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
+		memset(hv_cpu, 0, sizeof(*hv_cpu));
+	}
 
 	hv_context.hv_numa_map = kzalloc(sizeof(struct cpumask) * nr_node_ids,
 					 GFP_ATOMIC);
@@ -157,10 +168,8 @@ int hv_synic_alloc(void)
 	}
 
 	for_each_present_cpu(cpu) {
-		struct hv_per_cpu_context *hv_cpu
-			= per_cpu_ptr(hv_context.cpu_context, cpu);
+		hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
 
-		memset(hv_cpu, 0, sizeof(*hv_cpu));
 		tasklet_init(&hv_cpu->msg_dpc,
 			     vmbus_on_msg_dpc, (unsigned long) hv_cpu);
 
drivers/hwtracing/coresight/coresight-etm-perf.c +43 -16

167 lines not on this page · raw message

drivers/hwtracing/coresight/coresight-etm4x.c +20 -20
index b0141ba7b741..fb392688281b 100644
@@ -35,6 +35,7 @@
 #include <linux/pm_runtime.h>
 #include <asm/sections.h>
 #include <asm/local.h>
+#include <asm/virt.h>
 
 #include "coresight-etm4x.h"
 #include "coresight-etm-perf.h"
@@ -623,7 +624,7 @@ static void etm4_set_default_config(struct etmv4_config *config)
 	config->vinst_ctrl |= BIT(0);
 }
 
-static u64 etm4_get_access_type(struct etmv4_config *config)
+static u64 etm4_get_ns_access_type(struct etmv4_config *config)
 {
 	u64 access_type = 0;
 
@@ -634,17 +635,26 @@ static u64 etm4_get_access_type(struct etmv4_config *config)
 	 *   Bit[13] Exception level 1 - OS
 	 *   Bit[14] Exception level 2 - Hypervisor
 	 *   Bit[15] Never implemented
-	 *
-	 * Always stay away from hypervisor mode.
 	 */
-	access_type = ETM_EXLEVEL_NS_HYP;
-
-	if (config->mode & ETM_MODE_EXCL_KERN)
-		access_type |= ETM_EXLEVEL_NS_OS;
+	if (!is_kernel_in_hyp_mode()) {
+		/* Stay away from hypervisor mode for non-VHE */
+		access_type =  ETM_EXLEVEL_NS_HYP;
+		if (config->mode & ETM_MODE_EXCL_KERN)
+			access_type |= ETM_EXLEVEL_NS_OS;
+	} else if (config->mode & ETM_MODE_EXCL_KERN) {
+		access_type = ETM_EXLEVEL_NS_HYP;
+	}
 
 	if (config->mode & ETM_MODE_EXCL_USER)
 		access_type |= ETM_EXLEVEL_NS_APP;
 
+	return access_type;
+}
+
+static u64 etm4_get_access_type(struct etmv4_config *config)
+{
+	u64 access_type = etm4_get_ns_access_type(config);
+
 	/*
 	 * EXLEVEL_S, bits[11:8], don't trace anything happening
 	 * in secure state.
@@ -898,20 +908,10 @@ void etm4_config_trace_mode(struct etmv4_config *config)
 
 	addr_acc = config->addr_acc[ETM_DEFAULT_ADDR_COMP];
 	/* clear default config */
-	addr_acc &= ~(ETM_EXLEVEL_NS_APP | ETM_EXLEVEL_NS_OS);
+	addr_acc &= ~(ETM_EXLEVEL_NS_APP | ETM_EXLEVEL_NS_OS |
+		      ETM_EXLEVEL_NS_HYP);
 
-	/*
-	 * EXLEVEL_NS, bits[15:12]
-	 * The Exception levels are:
-	 *   Bit[12] Exception level 0 - Application
-	 *   Bit[13] Exception level 1 - OS
-	 *   Bit[14] Exception level 2 - Hypervisor
-	 *   Bit[15] Never implemented
-	 */
-	if (mode & ETM_MODE_EXCL_KERN)
-		addr_acc |= ETM_EXLEVEL_NS_OS;
-	else
-		addr_acc |= ETM_EXLEVEL_NS_APP;
+	addr_acc |= etm4_get_ns_access_type(config);
 
 	config->addr_acc[ETM_DEFAULT_ADDR_COMP] = addr_acc;
 	config->addr_acc[ETM_DEFAULT_ADDR_COMP + 1] = addr_acc;
drivers/hwtracing/coresight/coresight-tmc-etf.c +2 -2
index e2513b786242..336194d059fe 100644
@@ -442,10 +442,10 @@ static void tmc_update_etf_buffer(struct coresight_device *csdev,
 		case TMC_MEM_INTF_WIDTH_32BITS:
 		case TMC_MEM_INTF_WIDTH_64BITS:
 		case TMC_MEM_INTF_WIDTH_128BITS:
-			mask = GENMASK(31, 5);
+			mask = GENMASK(31, 4);
 			break;
 		case TMC_MEM_INTF_WIDTH_256BITS:
-			mask = GENMASK(31, 6);
+			mask = GENMASK(31, 5);
 			break;
 		}
 
drivers/hwtracing/coresight/coresight.c +15 -7
index e571e4010dff..366c1d493af3 100644
@@ -140,12 +140,14 @@ static int coresight_enable_sink(struct coresight_device *csdev, u32 mode)
 {
 	int ret;
 
-	if (!csdev->enable) {
-		if (sink_ops(csdev)->enable) {
-			ret = sink_ops(csdev)->enable(csdev, mode);
-			if (ret)
-				return ret;
-		}
+	/*
+	 * We need to make sure the "new" session is compatible with the
+	 * existing "mode" of operation.
+	 */
+	if (sink_ops(csdev)->enable) {
+		ret = sink_ops(csdev)->enable(csdev, mode);
+		if (ret)
+			return ret;
 		csdev->enable = true;
 	}
 
@@ -347,8 +349,14 @@ int coresight_enable_path(struct list_head *path, u32 mode)
 		switch (type) {
 		case CORESIGHT_DEV_TYPE_SINK:
 			ret = coresight_enable_sink(csdev, mode);
+			/*
+			 * Sink is the first component turned on. If we
+			 * failed to enable the sink, there are no components
+			 * that need disabling. Disabling the path here
+			 * would mean we could disrupt an existing session.
+			 */
 			if (ret)
-				goto err;
+				goto out;
 			break;
 		case CORESIGHT_DEV_TYPE_SOURCE:
 			/* sources are enabled from either sysFS or Perf */
drivers/i2c/busses/i2c-aspeed.c +45 -20

129 lines not on this page · raw message

drivers/i2c/i2c-core-acpi.c +27 -1
index 847d9bf6744c..df9800aaeac7 100644
@@ -43,6 +43,7 @@ struct i2c_acpi_lookup {
 	int index;
 	u32 speed;
 	u32 min_speed;
+	u32 force_speed;
 };
 
 static int i2c_acpi_fill_info(struct acpi_resource *ares, void *data)
@@ -240,6 +241,19 @@ i2c_acpi_match_device(const struct acpi_device_id *matches,
 	return acpi_match_device(matches, &client->dev);
 }
 
+static const struct acpi_device_id i2c_acpi_force_400khz_device_ids[] = {
+	/*
+	 * These Silead touchscreen controllers only work at 400KHz, for
+	 * some reason they do not work at 100KHz. On some devices the ACPI
+	 * tables list another device at their bus as only being capable
+	 * of 100KHz, testing has shown that these other devices work fine
+	 * at 400KHz (as can be expected of any recent i2c hw) so we force
+	 * the speed of the bus to 400 KHz if a Silead device is present.
+	 */
+	{ "MSSL1680", 0 },
+	{}
+};
+
 static acpi_status i2c_acpi_lookup_speed(acpi_handle handle, u32 level,
 					   void *data, void **return_value)
 {
@@ -258,6 +272,9 @@ static acpi_status i2c_acpi_lookup_speed(acpi_handle handle, u32 level,
 	if (lookup->speed <= lookup->min_speed)
 		lookup->min_speed = lookup->speed;
 
+	if (acpi_match_device_ids(adev, i2c_acpi_force_400khz_device_ids) == 0)
+		lookup->force_speed = 400000;
+
 	return AE_OK;
 }
 
@@ -295,7 +312,16 @@ u32 i2c_acpi_find_bus_speed(struct device *dev)
 		return 0;
 	}
 
-	return lookup.min_speed != UINT_MAX ? lookup.min_speed : 0;
+	if (lookup.force_speed) {
+		if (lookup.force_speed != lookup.min_speed)
+			dev_warn(dev, FW_BUG "DSDT uses known not-working I2C bus speed %d, forcing it to %d\n",
+				 lookup.min_speed, lookup.force_speed);
+		return lookup.force_speed;
+	} else if (lookup.min_speed != UINT_MAX) {
+		return lookup.min_speed;
+	} else {
+		return 0;
+	}
 }
 EXPORT_SYMBOL_GPL(i2c_acpi_find_bus_speed);
 
drivers/iio/adc/max9611.c +1 -1
index c61fbf560271..33be07c78b96 100644
@@ -289,7 +289,7 @@ static int max9611_read_csa_voltage(struct max9611_dev *max9611,
 			return ret;
 
 		if (*adc_raw > 0) {
-			*csa_gain = gain_selectors[i];
+			*csa_gain = (enum max9611_csa_gain)gain_selectors[i];
 			return 0;
 		}
 	}
drivers/iio/dac/mcp4922.c +8 -3
index 3854d201a5d6..68dd0be1ac07 100644
@@ -94,17 +94,22 @@ static int mcp4922_write_raw(struct iio_dev *indio_dev,
 		long mask)
 {
 	struct mcp4922_state *state = iio_priv(indio_dev);
+	int ret;
 
 	if (val2 != 0)
 		return -EINVAL;
 
 	switch (mask) {
 	case IIO_CHAN_INFO_RAW:
-		if (val > GENMASK(chan->scan_type.realbits-1, 0))
+		if (val < 0 || val > GENMASK(chan->scan_type.realbits - 1, 0))
 			return -EINVAL;
 		val <<= chan->scan_type.shift;
-		state->value[chan->channel] = val;
-		return mcp4922_spi_write(state, chan->channel, val);
+
+		ret = mcp4922_spi_write(state, chan->channel, val);
+		if (!ret)
+			state->value[chan->channel] = val;
+		return ret;
+
 	default:
 		return -EINVAL;
 	}
drivers/infiniband/core/device.c +1 -1
index 61ade4b3e7bb..6b0d1d8609ca 100644
@@ -599,8 +599,8 @@ void ib_unregister_device(struct ib_device *device)
 	}
 	up_read(&lists_rwsem);
 
-	ib_device_unregister_rdmacg(device);
 	ib_device_unregister_sysfs(device);
+	ib_device_unregister_rdmacg(device);
 
 	mutex_unlock(&device_mutex);
 
drivers/infiniband/core/mad.c +37 -35

138 lines not on this page · raw message

drivers/infiniband/hw/hfi1/pcie.c +3 -1
index 51a5416b1da4..fd9ae23c480e 100644
@@ -327,7 +327,9 @@ int pcie_speeds(struct hfi1_devdata *dd)
 	/*
 	 * bus->max_bus_speed is set from the bridge's linkcap Max Link Speed
 	 */
-	if (parent && dd->pcidev->bus->max_bus_speed != PCIE_SPEED_8_0GT) {
+	if (parent &&
+	    (dd->pcidev->bus->max_bus_speed == PCIE_SPEED_2_5GT ||
+	     dd->pcidev->bus->max_bus_speed == PCIE_SPEED_5_0GT)) {
 		dd_dev_info(dd, "Parent PCIe bridge does not support Gen3\n");
 		dd->link_gen3_capable = 0;
 	}
drivers/infiniband/hw/hfi1/user_sdma.c +3 -1
index 75275f9e363d..4854a4a453b5 100644
@@ -856,8 +856,10 @@ static int user_sdma_send_pkts(struct user_sdma_request *req, unsigned maxpkts)
 
 				changes = set_txreq_header_ahg(req, tx,
 							       datalen);
-				if (changes < 0)
+				if (changes < 0) {
+					ret = changes;
 					goto free_tx;
+				}
 			}
 		} else {
 			ret = sdma_txinit(&tx->txreq, 0, sizeof(req->hdr) +
drivers/infiniband/hw/i40iw/i40iw_cm.c +1 -1
index b7f1ce5333cb..880c63579ba8 100644
@@ -1667,7 +1667,7 @@ static enum i40iw_status_code i40iw_add_mqh_6(struct i40iw_device *iwdev,
 	unsigned long flags;
 
 	rtnl_lock();
-	for_each_netdev_rcu(&init_net, ip_dev) {
+	for_each_netdev(&init_net, ip_dev) {
 		if ((((rdma_vlan_dev_vlan_id(ip_dev) < I40IW_NO_VLAN) &&
 		      (rdma_vlan_dev_real_dev(ip_dev) == iwdev->netdev)) ||
 		     (ip_dev == iwdev->netdev)) && (ip_dev->flags & IFF_UP)) {
drivers/infiniband/sw/rxe/rxe_comp.c +16 -5
index 83cfe44f070e..fd9ce03dbd29 100644
@@ -253,6 +253,17 @@ static inline enum comp_state check_ack(struct rxe_qp *qp,
 	case IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE:
 		if (pkt->opcode != IB_OPCODE_RC_RDMA_READ_RESPONSE_MIDDLE &&
 		    pkt->opcode != IB_OPCODE_RC_RDMA_READ_RESPONSE_LAST) {
+			/* read retries of partial data may restart from
+			 * read response first or response only.
+			 */
+			if ((pkt->psn == wqe->first_psn &&
+			     pkt->opcode ==
+			     IB_OPCODE_RC_RDMA_READ_RESPONSE_FIRST) ||
+			    (wqe->first_psn == wqe->last_psn &&
+			     pkt->opcode ==
+			     IB_OPCODE_RC_RDMA_READ_RESPONSE_ONLY))
+				break;
+
 			return COMPST_ERROR;
 		}
 		break;
@@ -501,11 +512,11 @@ static inline enum comp_state complete_wqe(struct rxe_qp *qp,
 					   struct rxe_pkt_info *pkt,
 					   struct rxe_send_wqe *wqe)
 {
-	qp->comp.opcode = -1;
-
-	if (pkt) {
-		if (psn_compare(pkt->psn, qp->comp.psn) >= 0)
-			qp->comp.psn = (pkt->psn + 1) & BTH_PSN_MASK;
+	if (pkt && wqe->state == wqe_state_pending) {
+		if (psn_compare(wqe->last_psn, qp->comp.psn) >= 0) {
+			qp->comp.psn = (wqe->last_psn + 1) & BTH_PSN_MASK;
+			qp->comp.opcode = -1;
+		}
 
 		if (qp->req.wait_psn) {
 			qp->req.wait_psn = 0;
drivers/infiniband/sw/rxe/rxe_req.c +9 -6
index 08ae4f3a6a37..9fd4f04df3b3 100644
@@ -73,9 +73,6 @@ static void req_retry(struct rxe_qp *qp)
 	int npsn;
 	int first = 1;
 
-	wqe = queue_head(qp->sq.queue);
-	npsn = (qp->comp.psn - wqe->first_psn) & BTH_PSN_MASK;
-
 	qp->req.wqe_index	= consumer_index(qp->sq.queue);
 	qp->req.psn		= qp->comp.psn;
 	qp->req.opcode		= -1;
@@ -107,11 +104,17 @@ static void req_retry(struct rxe_qp *qp)
 		if (first) {
 			first = 0;
 
-			if (mask & WR_WRITE_OR_SEND_MASK)
+			if (mask & WR_WRITE_OR_SEND_MASK) {
+				npsn = (qp->comp.psn - wqe->first_psn) &
+					BTH_PSN_MASK;
 				retry_first_write_send(qp, wqe, mask, npsn);
+			}
 
-			if (mask & WR_READ_MASK)
+			if (mask & WR_READ_MASK) {
+				npsn = (wqe->dma.length - wqe->dma.resid) /
+					qp->mtu;
 				wqe->iova += npsn * qp->mtu;
+			}
 		}
 
 		wqe->state = wqe_state_posted;
@@ -435,7 +438,7 @@ static struct sk_buff *init_req_packet(struct rxe_qp *qp,
 	if (pkt->mask & RXE_RETH_MASK) {
 		reth_set_rkey(pkt, ibwr->wr.rdma.rkey);
 		reth_set_va(pkt, wqe->iova);
-		reth_set_len(pkt, wqe->dma.length);
+		reth_set_len(pkt, wqe->dma.resid);
 	}
 
 	if (pkt->mask & RXE_IMMDT_MASK)
drivers/infiniband/ulp/ipoib/ipoib_main.c +2 -1
index 1a93d3d58c8a..caae4bfab950 100644
@@ -249,7 +249,8 @@ static int ipoib_change_mtu(struct net_device *dev, int new_mtu)
 		return 0;
 	}
 
-	if (new_mtu > IPOIB_UD_MTU(priv->max_ib_mtu))
+	if (new_mtu < (ETH_MIN_MTU + IPOIB_ENCAP_LEN) ||
+	    new_mtu > IPOIB_UD_MTU(priv->max_ib_mtu))
 		return -EINVAL;
 
 	priv->admin_mtu = new_mtu;
drivers/infiniband/ulp/iser/iser_initiator.c +13 -5
index 2a07692007bd..a126750b65a9 100644
@@ -592,13 +592,19 @@ void iser_login_rsp(struct ib_cq *cq, struct ib_wc *wc)
 	ib_conn->post_recv_buf_count--;
 }
 
-static inline void
+static inline int
 iser_inv_desc(struct iser_fr_desc *desc, u32 rkey)
 {
-	if (likely(rkey == desc->rsc.mr->rkey))
+	if (likely(rkey == desc->rsc.mr->rkey)) {
 		desc->rsc.mr_valid = 0;
-	else if (likely(rkey == desc->pi_ctx->sig_mr->rkey))
+	} else if (likely(desc->pi_ctx && rkey == desc->pi_ctx->sig_mr->rkey)) {
 		desc->pi_ctx->sig_mr_valid = 0;
+	} else {
+		iser_err("Bogus remote invalidation for rkey %#x\n", rkey);
+		return -EINVAL;
+	}
+
+	return 0;
 }
 
 static int
@@ -626,12 +632,14 @@ iser_check_remote_inv(struct iser_conn *iser_conn,
 
 			if (iser_task->dir[ISER_DIR_IN]) {
 				desc = iser_task->rdma_reg[ISER_DIR_IN].mem_h;
-				iser_inv_desc(desc, rkey);
+				if (unlikely(iser_inv_desc(desc, rkey)))
+					return -EINVAL;
 			}
 
 			if (iser_task->dir[ISER_DIR_OUT]) {
 				desc = iser_task->rdma_reg[ISER_DIR_OUT].mem_h;
-				iser_inv_desc(desc, rkey);
+				if (unlikely(iser_inv_desc(desc, rkey)))
+					return -EINVAL;
 			}
 		} else {
 			iser_err("failed to get task for itt=%d\n", hdr->itt);
drivers/input/ff-memless.c +9 -0
index fcc6c3368182..ea3f0f5eb534 100644
@@ -501,6 +501,15 @@ static void ml_ff_destroy(struct ff_device *ff)
 {
 	struct ml_device *ml = ff->private;
 
+	/*
+	 * Even though we stop all playing effects when tearing down
+	 * an input device (via input_device_flush() that calls into
+	 * input_ff_flush() that stops and erases all effects), we
+	 * do not actually stop the timer, and therefore we should
+	 * do it here.
+	 */
+	del_timer_sync(&ml->timer);
+
 	kfree(ml->private);
 }
 
drivers/input/rmi4/rmi_driver.c +1 -5
index bae46816a3b3..997ccae7ee05 100644
@@ -165,7 +165,7 @@ static int rmi_process_interrupt_requests(struct rmi_device *rmi_dev)
 	}
 
 	mutex_lock(&data->irq_mutex);
-	bitmap_and(data->irq_status, data->irq_status, data->fn_irq_bits,
+	bitmap_and(data->irq_status, data->irq_status, data->current_irq_mask,
 	       data->irq_count);
 	/*
 	 * At this point, irq_status has all bits that are set in the
@@ -412,8 +412,6 @@ static int rmi_driver_set_irq_bits(struct rmi_device *rmi_dev,
 	bitmap_copy(data->current_irq_mask, data->new_irq_mask,
 		    data->num_of_irq_regs);
 
-	bitmap_or(data->fn_irq_bits, data->fn_irq_bits, mask, data->irq_count);
-
 error_unlock:
 	mutex_unlock(&data->irq_mutex);
 	return error;
@@ -427,8 +425,6 @@ static int rmi_driver_clear_irq_bits(struct rmi_device *rmi_dev,
 	struct device *dev = &rmi_dev->dev;
 
 	mutex_lock(&data->irq_mutex);
-	bitmap_andnot(data->fn_irq_bits,
-		      data->fn_irq_bits, mask, data->irq_count);
 	bitmap_andnot(data->new_irq_mask,
 		  data->current_irq_mask, mask, data->irq_count);
 
drivers/input/rmi4/rmi_f11.c +2 -2
index bb63b8823d62..e8c3e5d1ea22 100644
@@ -1295,8 +1295,8 @@ static int rmi_f11_attention(struct rmi_function *fn, unsigned long *irq_bits)
 			valid_bytes = f11->sensor.attn_size;
 		memcpy(f11->sensor.data_pkt, drvdata->attn_data.data,
 			valid_bytes);
-		drvdata->attn_data.data += f11->sensor.attn_size;
-		drvdata->attn_data.size -= f11->sensor.attn_size;
+		drvdata->attn_data.data += valid_bytes;
+		drvdata->attn_data.size -= valid_bytes;
 	} else {
 		error = rmi_read_block(rmi_dev,
 				data_base_addr, f11->sensor.data_pkt,
drivers/input/rmi4/rmi_f12.c +28 -4
index 8b0db086d68a..99dd2f512058 100644
@@ -58,6 +58,9 @@ struct f12_data {
 
 	const struct rmi_register_desc_item *data15;
 	u16 data15_offset;
+
+	unsigned long *abs_mask;
+	unsigned long *rel_mask;
 };
 
 static int rmi_f12_read_sensor_tuning(struct f12_data *f12)
@@ -214,8 +217,8 @@ static int rmi_f12_attention(struct rmi_function *fn,
 			valid_bytes = sensor->attn_size;
 		memcpy(sensor->data_pkt, drvdata->attn_data.data,
 			valid_bytes);
-		drvdata->attn_data.data += sensor->attn_size;
-		drvdata->attn_data.size -= sensor->attn_size;
+		drvdata->attn_data.data += valid_bytes;
+		drvdata->attn_data.size -= valid_bytes;
 	} else {
 		retval = rmi_read_block(rmi_dev, f12->data_addr,
 					sensor->data_pkt, sensor->pkt_size);
@@ -296,9 +299,18 @@ static int rmi_f12_write_control_regs(struct rmi_function *fn)
 static int rmi_f12_config(struct rmi_function *fn)
 {
 	struct rmi_driver *drv = fn->rmi_dev->driver;
+	struct f12_data *f12 = dev_get_drvdata(&fn->dev);
+	struct rmi_2d_sensor *sensor;
 	int ret;
 
-	drv->set_irq_bits(fn->rmi_dev, fn->irq_mask);
+	sensor = &f12->sensor;
+
+	if (!sensor->report_abs)
+		drv->clear_irq_bits(fn->rmi_dev, f12->abs_mask);
+	else
+		drv->set_irq_bits(fn->rmi_dev, f12->abs_mask);
+
+	drv->clear_irq_bits(fn->rmi_dev, f12->rel_mask);
 
 	ret = rmi_f12_write_control_regs(fn);
 	if (ret)
@@ -320,9 +332,12 @@ static int rmi_f12_probe(struct rmi_function *fn)
 	struct rmi_device_platform_data *pdata = rmi_get_platform_data(rmi_dev);
 	struct rmi_driver_data *drvdata = dev_get_drvdata(&rmi_dev->dev);
 	u16 data_offset = 0;
+	int mask_size;
 
 	rmi_dbg(RMI_DEBUG_FN, &fn->dev, "%s\n", __func__);
 
+	mask_size = BITS_TO_LONGS(drvdata->irq_count) * sizeof(unsigned long);
+
 	ret = rmi_read(fn->rmi_dev, query_addr, &buf);
 	if (ret < 0) {
 		dev_err(&fn->dev, "Failed to read general info register: %d\n",
@@ -337,10 +352,19 @@ static int rmi_f12_probe(struct rmi_function *fn)
 		return -ENODEV;
 	}
 
-	f12 = devm_kzalloc(&fn->dev, sizeof(struct f12_data), GFP_KERNEL);
+	f12 = devm_kzalloc(&fn->dev, sizeof(struct f12_data) + mask_size * 2,
+			GFP_KERNEL);
 	if (!f12)
 		return -ENOMEM;
 
+	f12->abs_mask = (unsigned long *)((char *)f12
+			+ sizeof(struct f12_data));
+	f12->rel_mask = (unsigned long *)((char *)f12
+			+ sizeof(struct f12_data) + mask_size);
+
+	set_bit(fn->irq_pos, f12->abs_mask);
+	set_bit(fn->irq_pos + 1, f12->rel_mask);
+
 	f12->has_dribble = !!(buf & BIT(3));
 
 	if (fn->dev.of_node) {
drivers/input/rmi4/rmi_f54.c +3 -2
index f5206e2c767e..7f1959517ec0 100644
@@ -362,7 +362,7 @@ static const struct vb2_ops rmi_f54_queue_ops = {
 static const struct vb2_queue rmi_f54_queue = {
 	.type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
 	.io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF | VB2_READ,
-	.buf_struct_size = sizeof(struct vb2_buffer),
+	.buf_struct_size = sizeof(struct vb2_v4l2_buffer),
 	.ops = &rmi_f54_queue_ops,
 	.mem_ops = &vb2_vmalloc_memops,
 	.timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,
@@ -619,7 +619,7 @@ static int rmi_f54_config(struct rmi_function *fn)
 {
 	struct rmi_driver *drv = fn->rmi_dev->driver;
 
-	drv->set_irq_bits(fn->rmi_dev, fn->irq_mask);
+	drv->clear_irq_bits(fn->rmi_dev, fn->irq_mask);
 
 	return 0;
 }
@@ -747,6 +747,7 @@ static void rmi_f54_remove(struct rmi_function *fn)
 
 	video_unregister_device(&f54->vdev);
 	v4l2_device_unregister(&f54->v4l2);
+	destroy_workqueue(f54->workqueue);
 }
 
 struct rmi_function_handler rmi_f54_handler = {
drivers/media/pci/ivtv/ivtv-yuv.c +1 -1
index 44936d6d7c39..1380474519f2 100644
@@ -935,7 +935,7 @@ static void ivtv_yuv_init(struct ivtv *itv)
 	}
 
 	/* We need a buffer for blanking when Y plane is offset - non-fatal if we can't get one */
-	yi->blanking_ptr = kzalloc(720 * 16, GFP_KERNEL|__GFP_NOWARN);
+	yi->blanking_ptr = kzalloc(720 * 16, GFP_ATOMIC|__GFP_NOWARN);
 	if (yi->blanking_ptr) {
 		yi->blanking_dmaptr = pci_map_single(itv->pdev, yi->blanking_ptr, 720*16, PCI_DMA_TODEVICE);
 	} else {
drivers/media/pci/meye/meye.c +1 -1
index 49e047e4a81e..926707c997ac 100644
@@ -1460,7 +1460,7 @@ static int meye_mmap(struct file *file, struct vm_area_struct *vma)
 	unsigned long page, pos;
 
 	mutex_lock(&meye.lock);
-	if (size > gbuffers * gbufsize) {
+	if (size > gbuffers * gbufsize || offset > gbuffers * gbufsize - size) {
 		mutex_unlock(&meye.lock);
 		return -EINVAL;
 	}
drivers/media/platform/davinci/vpbe_display.c +1 -1
index 13d027031ff0..82b06cc48bd1 100644
@@ -518,7 +518,7 @@ vpbe_disp_calculate_scale_factor(struct vpbe_display *disp_dev,
 		else if (v_scale == 4)
 			layer_info->v_zoom = ZOOM_X4;
 		if (v_exp)
-			layer_info->h_exp = V_EXP_6_OVER_5;
+			layer_info->v_exp = V_EXP_6_OVER_5;
 	} else {
 		/* no scaling, only cropping. Set display area to crop area */
 		cfg->ysize = expected_ysize;
drivers/media/usb/au0828/au0828-core.c +2 -2
index e3f63299f85c..07e3322bb182 100644
@@ -632,7 +632,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
 	/* Analog TV */
 	retval = au0828_analog_register(dev, interface);
 	if (retval) {
-		pr_err("%s() au0282_dev_register failed to register on V4L2\n",
+		pr_err("%s() au0828_analog_register failed to register on V4L2\n",
 			__func__);
 		mutex_unlock(&dev->lock);
 		goto done;
@@ -641,7 +641,7 @@ static int au0828_usb_probe(struct usb_interface *interface,
 	/* Digital TV */
 	retval = au0828_dvb_register(dev);
 	if (retval)
-		pr_err("%s() au0282_dev_register failed\n",
+		pr_err("%s() au0828_dvb_register failed\n",
 		       __func__);
 
 	/* Remote controller */
drivers/misc/genwqe/card_utils.c +7 -6
index cb1240985157..f55e6e822bea 100644
@@ -298,7 +298,7 @@ static int genwqe_sgl_size(int num_pages)
 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 			  void __user *user_addr, size_t user_size)
 {
-	int rc;
+	int ret = -ENOMEM;
 	struct pci_dev *pci_dev = cd->pci_dev;
 
 	sgl->fpage_offs = offset_in_page((unsigned long)user_addr);
@@ -317,7 +317,7 @@ int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 	if (get_order(sgl->sgl_size) > MAX_ORDER) {
 		dev_err(&pci_dev->dev,
 			"[%s] err: too much memory requested!\n", __func__);
-		return -ENOMEM;
+		return ret;
 	}
 
 	sgl->sgl = __genwqe_alloc_consistent(cd, sgl->sgl_size,
@@ -325,7 +325,7 @@ int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 	if (sgl->sgl == NULL) {
 		dev_err(&pci_dev->dev,
 			"[%s] err: no memory available!\n", __func__);
-		return -ENOMEM;
+		return ret;
 	}
 
 	/* Only use buffering on incomplete pages */
@@ -338,7 +338,7 @@ int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 		/* Sync with user memory */
 		if (copy_from_user(sgl->fpage + sgl->fpage_offs,
 				   user_addr, sgl->fpage_size)) {
-			rc = -EFAULT;
+			ret = -EFAULT;
 			goto err_out;
 		}
 	}
@@ -351,7 +351,7 @@ int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 		/* Sync with user memory */
 		if (copy_from_user(sgl->lpage, user_addr + user_size -
 				   sgl->lpage_size, sgl->lpage_size)) {
-			rc = -EFAULT;
+			ret = -EFAULT;
 			goto err_out2;
 		}
 	}
@@ -373,7 +373,8 @@ int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
 	sgl->sgl = NULL;
 	sgl->sgl_dma_addr = 0;
 	sgl->sgl_size = 0;
-	return -ENOMEM;
+
+	return ret;
 }
 
 int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
drivers/misc/kgdbts.c +6 -10
index 94cbc5c98cae..05824ff6b916 100644
@@ -981,6 +981,12 @@ static void kgdbts_run_tests(void)
 	int nmi_sleep = 0;
 	int i;
 
+	verbose = 0;
+	if (strstr(config, "V1"))
+		verbose = 1;
+	if (strstr(config, "V2"))
+		verbose = 2;
+
 	ptr = strchr(config, 'F');
 	if (ptr)
 		fork_test = simple_strtol(ptr + 1, NULL, 10);
@@ -1064,13 +1070,6 @@ static int kgdbts_option_setup(char *opt)
 		return -ENOSPC;
 	}
 	strcpy(config, opt);
-
-	verbose = 0;
-	if (strstr(config, "V1"))
-		verbose = 1;
-	if (strstr(config, "V2"))
-		verbose = 2;
-
 	return 0;
 }
 
@@ -1082,9 +1081,6 @@ static int configure_kgdbts(void)
 
 	if (!strlen(config) || isspace(config[0]))
 		goto noconfig;
-	err = kgdbts_option_setup(config);
-	if (err)
-		goto noconfig;
 
 	final_ack = 0;
 	run_plant_and_detach_test(1);
drivers/mmc/host/sdhci-of-at91.c +1 -1
index 74af8cc4ef36..564e7be21e06 100644
@@ -365,7 +365,7 @@ static int sdhci_at91_probe(struct platform_device *pdev)
 	pm_runtime_use_autosuspend(&pdev->dev);
 
 	/* HS200 is broken at this moment */
-	host->quirks2 = SDHCI_QUIRK2_BROKEN_HS200;
+	host->quirks2 |= SDHCI_QUIRK2_BROKEN_HS200;
 
 	ret = sdhci_add_host(host);
 	if (ret)
drivers/net/can/slcan.c +1 -0
index 5d067c1b987f..49427f44dc5b 100644
@@ -613,6 +613,7 @@ static int slcan_open(struct tty_struct *tty)
 	sl->tty = NULL;
 	tty->disc_data = NULL;
 	clear_bit(SLF_INUSE, &sl->flags);
+	free_netdev(sl->dev);
 
 err_exit:
 	rtnl_unlock();
drivers/net/ethernet/amd/am79c961a.c +1 -1
index b11e910850f7..78d1e5385a3e 100644
@@ -440,7 +440,7 @@ static void am79c961_timeout(struct net_device *dev)
 /*
  * Transmit a packet
  */
-static int
+static netdev_tx_t
 am79c961_sendpacket(struct sk_buff *skb, struct net_device *dev)
 {
 	struct dev_priv *priv = netdev_priv(dev);
drivers/net/ethernet/amd/atarilance.c +4 -2
index c5b81268c284..d3d44e07afbc 100644
@@ -339,7 +339,8 @@ static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
                                    *init_rec );
 static int lance_open( struct net_device *dev );
 static void lance_init_ring( struct net_device *dev );
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev );
+static netdev_tx_t lance_start_xmit(struct sk_buff *skb,
+				    struct net_device *dev);
 static irqreturn_t lance_interrupt( int irq, void *dev_id );
 static int lance_rx( struct net_device *dev );
 static int lance_close( struct net_device *dev );
@@ -769,7 +770,8 @@ static void lance_tx_timeout (struct net_device *dev)
 
 /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
 
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev )
+static netdev_tx_t
+lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct lance_private *lp = netdev_priv(dev);
 	struct lance_ioreg	 *IO = lp->iobase;
drivers/net/ethernet/amd/declance.c +1 -1
index c7cde58feaf7..290d070b293b 100644
@@ -893,7 +893,7 @@ static void lance_tx_timeout(struct net_device *dev)
 	netif_wake_queue(dev);
 }
 
-static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct lance_private *lp = netdev_priv(dev);
 	volatile struct lance_regs *ll = lp->ll;
drivers/net/ethernet/amd/sun3lance.c +4 -2
index 77b1db267730..da7e3d4f4166 100644
@@ -236,7 +236,8 @@ struct lance_private {
 static int lance_probe( struct net_device *dev);
 static int lance_open( struct net_device *dev );
 static void lance_init_ring( struct net_device *dev );
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev );
+static netdev_tx_t lance_start_xmit(struct sk_buff *skb,
+				    struct net_device *dev);
 static irqreturn_t lance_interrupt( int irq, void *dev_id);
 static int lance_rx( struct net_device *dev );
 static int lance_close( struct net_device *dev );
@@ -511,7 +512,8 @@ static void lance_init_ring( struct net_device *dev )
 }
 
 
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev )
+static netdev_tx_t
+lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct lance_private *lp = netdev_priv(dev);
 	int entry, len;
drivers/net/ethernet/amd/sunlance.c +1 -1
index 9845e07d40cd..1a44c8c26b8a 100644
@@ -1106,7 +1106,7 @@ static void lance_tx_timeout(struct net_device *dev)
 	netif_wake_queue(dev);
 }
 
-static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct lance_private *lp = netdev_priv(dev);
 	int entry, skblen, len;
drivers/net/ethernet/amd/xgbe/xgbe-drv.c +2 -2
index 75c4455e2271..c65d2cdcc7cf 100644
@@ -1964,7 +1964,7 @@ static int xgbe_close(struct net_device *netdev)
 	return 0;
 }
 
-static int xgbe_xmit(struct sk_buff *skb, struct net_device *netdev)
+static netdev_tx_t xgbe_xmit(struct sk_buff *skb, struct net_device *netdev)
 {
 	struct xgbe_prv_data *pdata = netdev_priv(netdev);
 	struct xgbe_hw_if *hw_if = &pdata->hw_if;
@@ -1973,7 +1973,7 @@ static int xgbe_xmit(struct sk_buff *skb, struct net_device *netdev)
 	struct xgbe_ring *ring;
 	struct xgbe_packet_data *packet;
 	struct netdev_queue *txq;
-	int ret;
+	netdev_tx_t ret;
 
 	DBGPR("-->xgbe_xmit: skb->len = %d\n", skb->len);
 
drivers/net/ethernet/broadcom/bcm63xx_enet.c +3 -2
index 68470c7c630a..35eb0119b015 100644
@@ -571,12 +571,13 @@ static irqreturn_t bcm_enet_isr_dma(int irq, void *dev_id)
 /*
  * tx request callback
  */
-static int bcm_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t
+bcm_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct bcm_enet_priv *priv;
 	struct bcm_enet_desc *desc;
 	u32 len_stat;
-	int ret;
+	netdev_tx_t ret;
 
 	priv = netdev_priv(dev);
 
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c +10 -0
index 8f0c9f6de893..dbe8feec456c 100644
@@ -3540,6 +3540,16 @@ static void bnx2x_drv_info_iscsi_stat(struct bnx2x *bp)
  */
 static void bnx2x_config_mf_bw(struct bnx2x *bp)
 {
+	/* Workaround for MFW bug.
+	 * MFW is not supposed to generate BW attention in
+	 * single function mode.
+	 */
+	if (!IS_MF(bp)) {
+		DP(BNX2X_MSG_MCP,
+		   "Ignoring MF BW config in single function mode\n");
+		return;
+	}
+
 	if (bp->link_vars.link_up) {
 		bnx2x_cmng_fns_init(bp, true, CMNG_FNS_MINMAX);
 		bnx2x_link_sync_notify(bp);
drivers/net/ethernet/broadcom/sb1250-mac.c +2 -2
index ecdef42f0ae6..00230fe097d9 100644
@@ -299,7 +299,7 @@ static enum sbmac_state sbmac_set_channel_state(struct sbmac_softc *,
 static void sbmac_promiscuous_mode(struct sbmac_softc *sc, int onoff);
 static uint64_t sbmac_addr2reg(unsigned char *ptr);
 static irqreturn_t sbmac_intr(int irq, void *dev_instance);
-static int sbmac_start_tx(struct sk_buff *skb, struct net_device *dev);
+static netdev_tx_t sbmac_start_tx(struct sk_buff *skb, struct net_device *dev);
 static void sbmac_setmulti(struct sbmac_softc *sc);
 static int sbmac_init(struct platform_device *pldev, long long base);
 static int sbmac_set_speed(struct sbmac_softc *s, enum sbmac_speed speed);
@@ -2028,7 +2028,7 @@ static irqreturn_t sbmac_intr(int irq,void *dev_instance)
  *  Return value:
  *  	   nothing
  ********************************************************************* */
-static int sbmac_start_tx(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t sbmac_start_tx(struct sk_buff *skb, struct net_device *dev)
 {
 	struct sbmac_softc *sc = netdev_priv(dev);
 	unsigned long flags;
drivers/net/ethernet/cavium/liquidio/octeon_device.c +3 -2
index 29d53b1763a7..2a9c925376cc 100644
@@ -1444,8 +1444,9 @@ void lio_enable_irq(struct octeon_droq *droq, struct octeon_instr_queue *iq)
 	}
 	if (iq) {
 		spin_lock_bh(&iq->lock);
-		writel(iq->pkt_in_done, iq->inst_cnt_reg);
-		iq->pkt_in_done = 0;
+		writel(iq->pkts_processed, iq->inst_cnt_reg);
+		iq->pkt_in_done -= iq->pkts_processed;
+		iq->pkts_processed = 0;
 		/* this write needs to be flushed before we release the lock */
 		mmiowb();
 		spin_unlock_bh(&iq->lock);
drivers/net/ethernet/cavium/liquidio/octeon_iq.h +2 -0
index 5c3c8da976f7..1860603452ee 100644
@@ -84,6 +84,8 @@ struct octeon_instr_queue {
 
 	u32 pkt_in_done;
 
+	u32 pkts_processed;
+
 	/** A spinlock to protect access to the input ring.*/
 	spinlock_t iq_flush_running_lock;
 
drivers/net/ethernet/cavium/liquidio/request_manager.c +2 -0
index 55e873126463..0ea623768783 100644
@@ -122,6 +122,7 @@ int octeon_init_instr_queue(struct octeon_device *oct,
 	iq->do_auto_flush = 1;
 	iq->db_timeout = (u32)conf->db_timeout;
 	atomic_set(&iq->instr_pending, 0);
+	iq->pkts_processed = 0;
 
 	/* Initialize the spinlock for this instruction queue */
 	spin_lock_init(&iq->lock);
@@ -474,6 +475,7 @@ octeon_flush_iq(struct octeon_device *oct, struct octeon_instr_queue *iq,
 				lio_process_iq_request_list(oct, iq, 0);
 
 		if (inst_processed) {
+			iq->pkts_processed += inst_processed;
 			atomic_sub(inst_processed, &iq->instr_pending);
 			iq->stats.instr_processed += inst_processed;
 		}
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +1 -1
index 1802debbd3c7..39bcf27902e4 100644
@@ -3750,7 +3750,7 @@ int t4_fwcache(struct adapter *adap, enum fw_params_param_dev_fwcache op)
 	c.param[0].mnem =
 		cpu_to_be32(FW_PARAMS_MNEM_V(FW_PARAMS_MNEM_DEV) |
 			    FW_PARAMS_PARAM_X_V(FW_PARAMS_PARAM_DEV_FWCACHE));
-	c.param[0].val = (__force __be32)op;
+	c.param[0].val = cpu_to_be32(op);
 
 	return t4_wr_mbox(adap, adap->mbox, &c, sizeof(c), NULL);
 }
drivers/net/ethernet/faraday/ftgmac100.c +2 -2
index bfda315a3f1b..a1baddcd6799 100644
@@ -707,8 +707,8 @@ static bool ftgmac100_prep_tx_csum(struct sk_buff *skb, u32 *csum_vlan)
 	return skb_checksum_help(skb) == 0;
 }
 
-static int ftgmac100_hard_start_xmit(struct sk_buff *skb,
-				     struct net_device *netdev)
+static netdev_tx_t ftgmac100_hard_start_xmit(struct sk_buff *skb,
+					     struct net_device *netdev)
 {
 	struct ftgmac100 *priv = netdev_priv(netdev);
 	struct ftgmac100_txdes *txdes, *first;
drivers/net/ethernet/faraday/ftmac100.c +4 -3
index 415fd93e9930..769c627aace5 100644
@@ -632,8 +632,8 @@ static void ftmac100_tx_complete(struct ftmac100 *priv)
 		;
 }
 
-static int ftmac100_xmit(struct ftmac100 *priv, struct sk_buff *skb,
-			 dma_addr_t map)
+static netdev_tx_t ftmac100_xmit(struct ftmac100 *priv, struct sk_buff *skb,
+				 dma_addr_t map)
 {
 	struct net_device *netdev = priv->netdev;
 	struct ftmac100_txdes *txdes;
@@ -1013,7 +1013,8 @@ static int ftmac100_stop(struct net_device *netdev)
 	return 0;
 }
 
-static int ftmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev)
+static netdev_tx_t
+ftmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev)
 {
 	struct ftmac100 *priv = netdev_priv(netdev);
 	dma_addr_t map;
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +2 -1
index d5f8bf87519a..39b8b6730e77 100644
@@ -2036,7 +2036,8 @@ static inline int dpaa_xmit(struct dpaa_priv *priv,
 	return 0;
 }
 
-static int dpaa_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
+static netdev_tx_t
+dpaa_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
 {
 	const int queue_mapping = skb_get_queue_mapping(skb);
 	bool nonlinear = skb_is_nonlinear(skb);
drivers/net/ethernet/freescale/fec_mpc52xx.c +2 -1
index 6d7269d87a85..b90bab72efdb 100644
@@ -305,7 +305,8 @@ static int mpc52xx_fec_close(struct net_device *dev)
  * invariant will hold if you make sure that the netif_*_queue()
  * calls are done at the proper times.
  */
-static int mpc52xx_fec_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t
+mpc52xx_fec_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct mpc52xx_fec_priv *priv = netdev_priv(dev);
 	struct bcom_fec_bd *bd;
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +2 -1
index 28bd4cf61741..708082c255d0 100644
@@ -481,7 +481,8 @@ static struct sk_buff *tx_skb_align_workaround(struct net_device *dev,
 }
 #endif
 
-static int fs_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t
+fs_enet_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct fs_enet_private *fep = netdev_priv(dev);
 	cbd_t __iomem *bdp;
drivers/net/ethernet/freescale/gianfar.c +2 -2
index 63daae120b2d..27d0e3b9833c 100644
@@ -112,7 +112,7 @@
 const char gfar_driver_version[] = "2.0";
 
 static int gfar_enet_open(struct net_device *dev);
-static int gfar_start_xmit(struct sk_buff *skb, struct net_device *dev);
+static netdev_tx_t gfar_start_xmit(struct sk_buff *skb, struct net_device *dev);
 static void gfar_reset_task(struct work_struct *work);
 static void gfar_timeout(struct net_device *dev);
 static int gfar_close(struct net_device *dev);
@@ -2334,7 +2334,7 @@ static inline bool gfar_csum_errata_76(struct gfar_private *priv,
 /* This is called by the kernel when a frame is ready for transmission.
  * It is pointed to by the dev->hard_start_xmit function pointer
  */
-static int gfar_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t gfar_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct gfar_private *priv = netdev_priv(dev);
 	struct gfar_priv_tx_q *tx_queue = NULL;
drivers/net/ethernet/freescale/ucc_geth.c +2 -1
index 94df1ddc5dcb..bddf4c25ee6e 100644
@@ -3085,7 +3085,8 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth)
 
 /* This is called by the kernel when a frame is ready for transmission. */
 /* It is pointed to by the dev->hard_start_xmit function pointer */
-static int ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t
+ucc_geth_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct ucc_geth_private *ugeth = netdev_priv(dev);
 #ifdef CONFIG_UGETH_TX_ON_DEMAND
drivers/net/ethernet/hisilicon/hip04_eth.c +2 -1
index ebc056b9a0fd..84c0f22ac2db 100644
@@ -424,7 +424,8 @@ static void hip04_start_tx_timer(struct hip04_priv *priv)
 			       ns, HRTIMER_MODE_REL);
 }
 
-static int hip04_mac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
+static netdev_tx_t
+hip04_mac_start_xmit(struct sk_buff *skb, struct net_device *ndev)
 {
 	struct hip04_priv *priv = netdev_priv(ndev);
 	struct net_device_stats *stats = &ndev->stats;
drivers/net/ethernet/hisilicon/hix5hd2_gmac.c +1 -1
index 25a6c8722eca..aab6fb10af94 100644
@@ -736,7 +736,7 @@ static int hix5hd2_fill_sg_desc(struct hix5hd2_priv *priv,
 	return 0;
 }
 
-static int hix5hd2_net_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t hix5hd2_net_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	struct hix5hd2_priv *priv = netdev_priv(dev);
 	struct hix5hd2_desc *desc;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +1 -1
index 86523e8993cb..3bb6181ff054 100644
@@ -2179,7 +2179,7 @@ static int hclge_get_mac_phy_link(struct hclge_dev *hdev)
 	mac_state = hclge_get_mac_link_status(hdev);
 
 	if (hdev->hw.mac.phydev) {
-		if (!genphy_read_status(hdev->hw.mac.phydev))
+		if (hdev->hw.mac.phydev->state == PHY_RUNNING)
 			link_stat = mac_state &
 				hdev->hw.mac.phydev->link;
 		else
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +1 -1
index 55228b91d80b..3799cb2548ce 100644
@@ -200,7 +200,7 @@ static int hclge_tm_qs_to_pri_map_cfg(struct hclge_dev *hdev,
 }
 
 static int hclge_tm_q_to_qs_map_cfg(struct hclge_dev *hdev,
-				    u8 q_id, u16 qs_id)
+				    u16 q_id, u16 qs_id)
 {
 	struct hclge_nq_to_qs_link_cmd *map;
 	struct hclge_desc desc;
drivers/net/ethernet/intel/i40e/i40e_main.c +8 -0
index 39029a12a233..aa2b446d6ad0 100644
@@ -11885,6 +11885,7 @@ static void i40e_remove(struct pci_dev *pdev)
 	mutex_destroy(&hw->aq.asq_mutex);
 
 	/* Clear all dynamic memory lists of rings, q_vectors, and VSIs */
+	rtnl_lock();
 	i40e_clear_interrupt_scheme(pf);
 	for (i = 0; i < pf->num_alloc_vsi; i++) {
 		if (pf->vsi[i]) {
@@ -11893,6 +11894,7 @@ static void i40e_remove(struct pci_dev *pdev)
 			pf->vsi[i] = NULL;
 		}
 	}
+	rtnl_unlock();
 
 	for (i = 0; i < I40E_MAX_VEB; i++) {
 		kfree(pf->veb[i]);
@@ -12086,7 +12088,13 @@ static void i40e_shutdown(struct pci_dev *pdev)
 	wr32(hw, I40E_PFPM_WUFC,
 	     (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0));
 
+	/* Since we're going to destroy queues during the
+	 * i40e_clear_interrupt_scheme() we should hold the RTNL lock for this
+	 * whole section
+	 */
+	rtnl_lock();
 	i40e_clear_interrupt_scheme(pf);
+	rtnl_unlock();
 
 	if (system_state == SYSTEM_POWER_OFF) {
 		pci_wake_from_d3(pdev, pf->wol_en);
drivers/net/ethernet/intel/i40e/i40e_ptp.c +2 -1
index ef242dbae116..5fc870757480 100644
@@ -704,7 +704,8 @@ static long i40e_ptp_create_clock(struct i40e_pf *pf)
 	if (!IS_ERR_OR_NULL(pf->ptp_clock))
 		return 0;
 
-	strncpy(pf->ptp_caps.name, i40e_driver_name, sizeof(pf->ptp_caps.name));
+	strncpy(pf->ptp_caps.name, i40e_driver_name,
+		sizeof(pf->ptp_caps.name) - 1);
 	pf->ptp_caps.owner = THIS_MODULE;
 	pf->ptp_caps.max_adj = 999999999;
 	pf->ptp_caps.n_ext_ts = 0;
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c +10 -0
index bdb752321600..b3307b1b3aac 100644
@@ -2177,6 +2177,16 @@ static int i40e_vc_del_mac_addr_msg(struct i40e_vf *vf, u8 *msg, u16 msglen)
 			ret = I40E_ERR_INVALID_MAC_ADDR;
 			goto error_param;
 		}
+
+		if (vf->pf_set_mac &&
+		    ether_addr_equal(al->list[i].addr,
+				     vf->default_lan_addr.addr)) {
+			dev_err(&pf->pdev->dev,
+				"MAC addr %pM has been set by PF, cannot delete it for VF %d, reset VF to change MAC addr\n",
+				vf->default_lan_addr.addr, vf->vf_id);
+			ret = I40E_ERR_PARAM;
+			goto error_param;
+		}
 	}
 	vsi = pf->vsi[vf->lan_vsi_idx];
 
drivers/net/ethernet/mellanox/mlxsw/spectrum.c +7 -0
index a909aa315a92..226187cba0e8 100644
@@ -2825,6 +2825,13 @@ static int mlxsw_sp_port_ets_init(struct mlxsw_sp_port *mlxsw_sp_port)
 						    MLXSW_REG_QEEC_MAS_DIS);
 		if (err)
[… more lines in the raw message]

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

drivers/net/ethernet/micrel/ks8695net.c +1 -1
index bd51e057e915..b881f5d4a7f9 100644

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

drivers/net/ethernet/micrel/ks8851_mll.c +2 -2
index f3e9dd47b56f..adbe0a6fe0db 100644

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

drivers/net/ethernet/netronome/nfp/nfp_net_common.c +12 -4
index 6df2c8b2ce6f..bffa25d6dc29 100644

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

drivers/net/ethernet/smsc/smc911x.c +2 -1
index 05157442a980..42d35a87bcc9 100644

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

drivers/net/ethernet/smsc/smc91x.c +2 -1
index 080428762858..96ac0d3af6f5 100644

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

drivers/net/ethernet/smsc/smsc911x.c +2 -1
index f0afb88d7bc2..ce4bfecc26c7 100644

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

drivers/net/ethernet/sun/ldmvsw.c +1 -1
index 5b56c24b6ed2..e6b96c2989b2 100644

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

drivers/net/ethernet/sun/sunbmac.c +2 -1
index 3189722110c2..9a60fb2b4e9d 100644

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

drivers/net/ethernet/sun/sunqe.c +1 -1
index a6bcdcdd947e..82386a375bd2 100644

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

drivers/net/ethernet/sun/sunvnet.c +1 -1
index 65347d2f139b..02ebbe74d93d 100644

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

drivers/net/ethernet/sun/sunvnet_common.c +8 -6
index ecf456c7b6d1..fd84ff8bba31 100644

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

drivers/net/ethernet/sun/sunvnet_common.h +4 -3
index 6a4dd1fb19bf..3fcb608fbbb3 100644

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

drivers/net/ethernet/toshiba/ps3_gelic_net.c +2 -2
index 88d74aef218a..75237c81c63d 100644

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

drivers/net/ethernet/toshiba/ps3_gelic_net.h +1 -1
index 003d0452d9cb..fbbf9b54b173 100644

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

drivers/net/ethernet/toshiba/spider_net.c +2 -2
index cec9e70ab995..da136b8843dd 100644

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

drivers/net/ethernet/toshiba/tc35815.c +4 -2
index 9146068979d2..03afc4d8c3ec 100644

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

drivers/net/ethernet/xilinx/ll_temac_main.c +2 -1
index 60abc9250f56..2241f9897092 100644

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

drivers/net/ethernet/xilinx/xilinx_axienet_main.c +2 -1
index b481cb174b23..9ccd08a051f6 100644

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

drivers/net/ethernet/xilinx/xilinx_emaclite.c +5 -4
index 69e31ceccfae..6f3e79159d7a 100644

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

drivers/net/phy/mdio-bcm-unimac.c +81 -2

83 lines not on this page · raw message

drivers/net/phy/mscc.c +5 -6
index 650c2667d523..fe81741ab66a 100644

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

drivers/net/slip/slip.c +1 -0
index 436dd78c396a..2901b7db9d2e 100644

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

drivers/net/usb/ax88172a.c +1 -1
index 501576f53854..914cac55a7ae 100644

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

drivers/net/usb/lan78xx.c +5 -0
index 78a12d7b96e8..2229284d16f5 100644

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

drivers/net/usb/qmi_wwan.c +2 -0
index 8ed538295d09..4a984b76a60e 100644

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

drivers/net/wireless/ath/ath10k/ahb.c +2 -2
index ff6815e95684..1404ec9f56be 100644

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

drivers/net/wireless/ath/ath10k/mac.c +2 -0
index 58a3c42c4aed..8c4bb56c262f 100644

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

drivers/net/wireless/ath/ath10k/pci.c +1 -1
index d790ea20b95d..27ab3eb47534 100644

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

drivers/net/wireless/ath/ath10k/wmi.c +2 -1
index ab8eb9cdfda0..4d6c2986c40d 100644

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

drivers/net/wireless/ath/ath9k/main.c +0 -1
index 8b4ac7f0a09b..72ad84fde5c1 100644

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

drivers/net/wireless/ath/ath9k/tx99.c +4 -6
index fe3a8263b224..87d09d1e74aa 100644

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

drivers/net/wireless/intel/iwlwifi/fw/api/tx.h +3 -3
index 14ad9fb895f9..a9c8352a7641 100644

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

drivers/net/wireless/intel/iwlwifi/fw/dbg.c +4 -5
index 839010417241..4650b9e5da2b 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/sta.c +0 -4
index d31d84eebc5d..d16e2ed4419f 100644

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

drivers/net/wireless/intel/iwlwifi/mvm/tx.c +8 -0
index efef28012a6b..ac1e05b93a9a 100644

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

drivers/net/wireless/realtek/rtl818x/rtl8187/leds.c +1 -1
index c2d5b495c179..c089540116fa 100644

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

drivers/nvmem/core.c +1 -1
index b414d9d207d4..08b171731664 100644

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

drivers/of/base.c +1 -1
index ce8a6e0c9b6a..41b254be0295 100644

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

drivers/phy/broadcom/Kconfig +2 -1
index 64fc59c3ae6d..181b8fde2bfe 100644

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

drivers/phy/lantiq/phy-lantiq-rcu-usb2.c +0 -1
index 986224fca9e9..5a180f71d8d4 100644

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

drivers/phy/renesas/phy-rcar-gen3-usb2.c +1 -1
index e8fe80312820..7f5e36bfeee8 100644

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

drivers/phy/ti/phy-twl4030-usb.c +29 -0
index a44680d64f9b..c267afb68f07 100644

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

drivers/pinctrl/pinctrl-at91-pio4.c +2 -6
index e61e2f8c91ce..e9d797707255 100644

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

drivers/pinctrl/pinctrl-at91.c +14 -14
index 569bc28cb909..404711f0985a 100644

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

drivers/pinctrl/pinctrl-ingenic.c +1 -1
index 103aaab41357..1541f8cba556 100644

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

drivers/power/reset/at91-sama5d2_shdwc.c +3 -0
index 31080c254124..037976a1fe40 100644

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

drivers/power/supply/ab8500_fg.c +12 -19
index c569f82a0071..b87768238b70 100644

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

drivers/power/supply/max8998_charger.c +1 -1
index b64cf0f14142..66438029bdd0 100644

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

drivers/power/supply/twl4030_charger.c +28 -2
index 0cc12bfe7b02..b20491016b1e 100644

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

drivers/remoteproc/da8xx_remoteproc.c +1 -1
index bf3b9034c319..a127d2ccd7ca 100644

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

drivers/rtc/rtc-armada38x.c +11 -11
index 21f355c37eab..10b5c8549039 100644

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

drivers/rtc/rtc-mt6397.c +8 -5
index 1a61fa56f3ad..e82df43e5ca2 100644

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

drivers/rtc/rtc-pl030.c +9 -6
index f85a1a93e669..343bb6ed1783 100644

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

drivers/rtc/rtc-rv8803.c +1 -1
index aae2576741a6..6e06fb3b0b92 100644

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

drivers/s390/net/qeth_l2_main.c +3 -0
index 2845316db554..6fa07c246915 100644

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

drivers/s390/net/qeth_l3_main.c +3 -0
index d9830c86d0c1..8bccfd686b73 100644

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

drivers/scsi/NCR5380.c +93 -63

156 lines not on this page · raw message

drivers/scsi/NCR5380.h +1 -1
index 8a6d002e6789..5935fd6d1a05 100644

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

drivers/scsi/libsas/sas_expander.c +5 -8
index 259ee0d3c3e6..7f2d00354a85 100644

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

drivers/scsi/lpfc/lpfc_nvme.c +1 -1
index 23bdb1ca106e..6c4499db969c 100644

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

drivers/scsi/lpfc/lpfc_nvmet.c +3 -4
index 7ac1a067d780..eacdcb931bda 100644

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

drivers/scsi/pm8001/pm8001_hwi.c +6 -0
index 10546faac58c..f374abfb7f1f 100644

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

drivers/scsi/pm8001/pm8001_sas.c +8 -1
index ce584c31d36e..e64a13f0bce1 100644

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

drivers/scsi/pm8001/pm8001_sas.h +1 -0
index e81a8fa7ef1a..e954ecd3f6c0 100644

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

drivers/scsi/pm8001/pm80xx_hwi.c +74 -6

80 lines not on this page · raw message

drivers/scsi/pm8001/pm80xx_hwi.h +3 -0
index 7a443bad6163..411b414a9a0e 100644

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

drivers/scsi/qla2xxx/qla_gs.c +2 -2
index 2a19ec0660cb..1088038e6a41 100644

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

drivers/scsi/qla2xxx/qla_isr.c +1 -1
index df94ef816826..6a76d7217515 100644

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

drivers/scsi/qla2xxx/qla_os.c +21 -7
index 343fbaa6d2a2..5617bb18c233 100644

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

drivers/scsi/scsi_lib.c +2 -1
index efb8af57dd9c..c36c84c8725a 100644

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

drivers/scsi/sym53c8xx_2/sym_hipd.c +11 -4
index 378af306fda1..b87b6c63431d 100644

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

drivers/soc/imx/gpc.c +1 -1
index c54d229f8da4..3a12123de466 100644

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

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

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

drivers/spi/spi-mt65xx.c +21 -16
index 86bf45667a04..3dc31627c655 100644

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

drivers/spi/spi-pic32.c +2 -2
index f8a45af1fa9f..288002f6c613 100644

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

drivers/tee/optee/core.c +1 -1
index edb6e4e9ef3a..ca79c2ba2ef2 100644

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

drivers/tty/serial/mxs-auart.c +2 -1
index 673c8fd7e34f..e83750831f15 100644

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

drivers/tty/serial/samsung.c +8 -0
index f4b8e4e17a86..808373d4e37a 100644

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

drivers/tty/serial/xilinx_uartps.c +12 -29

41 lines not on this page · raw message

drivers/usb/chipidea/otg.c +6 -3
index 10236fe71522..8bf4032226ed 100644

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

drivers/usb/chipidea/usbmisc_imx.c +2 -0
index 9f4a0185dd60..b7477fd4443a 100644

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

drivers/usb/gadget/function/uvc_configfs.c +7 -0
index 844cb738bafd..57f6e8a668cf 100644

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

drivers/usb/gadget/function/uvc_video.c +22 -10
index 0f01c04d7cbd..d6bab12b0b47 100644

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

drivers/usb/host/xhci-mtk-sch.c +3 -1
index 6e7ddf6cafae..defaf950e631 100644

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

drivers/vfio/pci/vfio_pci.c +6 -2
index 15b1cd4ef5a7..9bd3e7911af2 100644

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

drivers/vfio/pci/vfio_pci_config.c +30 -1
index 115a36f6f403..423ea1f98441 100644

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

fs/compat_ioctl.c +6 -4
index ea52b98b39fa..033e8e6aabb7 100644

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

fs/ecryptfs/inode.c +13 -6
index bda65a730790..62d1dea85ef1 100644

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

fs/f2fs/recovery.c +17 -0
index db357e9ad599..2eef266b656b 100644

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

fs/f2fs/super.c +5 -1
index 0f3209b23c94..e4aabfc21bd4 100644

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

fs/fuse/control.c +2 -2
index 5be0339dcceb..42bed87dd5ea 100644

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

fs/gfs2/rgrp.c +1 -1
index b0eee90738ff..0d72baae5150 100644

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

fs/kernfs/symlink.c +4 -1
index 5145ae2f0572..d273e3accade 100644

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

include/linux/cpufeature.h +1 -1
index 986c06c88d81..84d3c81b5978 100644

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

include/linux/edac.h +2 -1
index cd75c173fd00..90f72336aea6 100644

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

include/linux/intel-iommu.h +4 -2
index a6ab2f51f703..4def15c32a01 100644

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

include/linux/libfdt_env.h +1 -0
index 14997285e53d..1aa707ab19bb 100644

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

include/net/llc.h +1 -0
index 890a87318014..df282d9b4017 100644

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

include/trace/events/sched.h +8 -3
index 6e692a52936c..18197e0bb510 100644

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

kernel/events/uprobes.c +2 -2
index 01941cffa9c2..c74fc9826250 100644

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

kernel/kprobes.c +7 -1
index f7a4602a76f9..d0fe20a5475f 100644

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

kernel/signal.c +4 -0
index bb801156628e..c9b203875001 100644

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

mm/hugetlb_cgroup.c +1 -1
index eec1150125b9..e430e04997ee 100644

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

mm/memcontrol.c +1 -1
index 2dd99c7884cd..326525a97c47 100644

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

mm/shmem.c +1 -1
index 5b2cc9f9b1f1..e55aa460a2c0 100644

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

net/bluetooth/l2cap_core.c +10 -0
index 0c2219f483d7..f63d9918b15a 100644

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

net/ipv4/gre_demux.c +4 -3
index b798862b6be5..7efe740c06eb 100644

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

net/ipv4/ip_gre.c +3 -6
index 71ff2531d973..9940a59306b5 100644

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

net/ipv4/netfilter/nf_nat_masquerade_ipv4.c +19 -3
index 0c366aad89cb..b531fe204323 100644

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

net/ipv6/netfilter/nf_nat_masquerade_ipv6.c +16 -3
index 98f61fcb9108..b0f3745d1bee 100644

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

net/llc/llc_core.c +1 -3
index 260b3dc1b4a2..64d4bef04e73 100644

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

net/wireless/reg.c +46 -0

46 lines not on this page · raw message

samples/bpf/sockex2_kern.c +6 -5
index f58acfc92556..f2f9dbc021b0 100644

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

samples/bpf/sockex3_kern.c +4 -4
index 95907f8d2b17..c527b57d3ec8 100644

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

samples/bpf/sockex3_user.c +2 -2
index 495ee02e2fb7..741b899b693f 100644

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

sound/core/oss/pcm_plugin.c +2 -2
index 617845d4a811..b8ab46b8298d 100644

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

sound/core/seq/seq_system.c +15 -3
index 8ce1d0b40dce..ce1f1e4727ab 100644

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

sound/pci/intel8x0m.c +10 -10
index 3a4769a97d29..a626ee18628e 100644

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

sound/soc/codecs/hdac_hdmi.c +6 -0
index e824d47cc22b..1c3626347e12 100644

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

sound/soc/codecs/sgtl5000.c +1 -1
index 10764c1e854e..ca8a70ab22a8 100644

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

sound/soc/sh/rcar/rsnd.h +1 -0
index 1768a0ae469d..c68b31483c7b 100644

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

sound/soc/sh/rcar/ssi.c +1 -3
index 60cc550c5a4c..cae9ed6a0cdb 100644

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

sound/soc/soc-pcm.c +1 -1
index 052b6294a428..24047375c2fb 100644

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

sound/usb/endpoint.c +3 -0
index c90607ebe155..8caf0b57f9c6 100644

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

sound/usb/mixer.c +3 -1
index 5d48f8e74c56..044193b2364d 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.