Skip to contentSkip to conversation

Linux 4.14.81

DISCUSSION Greg KH 1 participant 2 messages Nov 14, 2018 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 4.14.81 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:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

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

 Documentation/media/uapi/v4l/biblio.rst                                                     |   10 
 Documentation/media/uapi/v4l/colorspaces-defs.rst                                           |    8 
 Documentation/media/uapi/v4l/colorspaces-details.rst                                        |   13 -
 Makefile                                                                                    |    2 
 arch/arm/boot/dts/dra7.dtsi                                                                 |    2 
 arch/arm/boot/dts/exynos3250.dtsi                                                           |   16 +
 arch/arm/boot/dts/exynos4210-origen.dts                                                     |    9 
 arch/arm/boot/dts/exynos4210.dtsi                                                           |   15 +
 arch/arm/boot/dts/exynos4412.dtsi                                                           |    2 
 arch/arm/boot/dts/exynos5250.dtsi                                                           |  116 +++++++---
 arch/arm/boot/dts/exynos5420-cpus.dtsi                                                      |   16 -
 arch/arm/boot/dts/exynos5422-cpus.dtsi                                                      |   16 -
 arch/arm/boot/dts/socfpga_arria10.dtsi                                                      |    2 
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi                                           |    2 
 arch/arm64/lib/Makefile                                                                     |    2 
 arch/mips/cavium-octeon/executive/cvmx-helper.c                                             |    2 
 arch/parisc/kernel/entry.S                                                                  |    2 
 arch/parisc/kernel/hpmc.S                                                                   |    3 
 arch/parisc/kernel/traps.c                                                                  |    3 
 arch/parisc/mm/init.c                                                                       |    8 
 arch/powerpc/include/asm/mpic.h                                                             |    7 
 arch/s390/kvm/sthyi.c                                                                       |    8 
 arch/sparc/include/asm/cpudata_64.h                                                         |    2 
 arch/sparc/kernel/perf_event.c                                                              |   26 +-
 arch/x86/boot/tools/build.c                                                                 |    7 
 arch/x86/include/asm/cpufeatures.h                                                          |    1 
 arch/x86/include/asm/kvm_host.h                                                             |    1 
 arch/x86/include/asm/nospec-branch.h                                                        |    1 
 arch/x86/include/asm/tlbflush.h                                                             |    6 
 arch/x86/kernel/check.c                                                                     |   15 +
 arch/x86/kernel/cpu/bugs.c                                                                  |   77 +++++-
 arch/x86/kernel/cpu/common.c                                                                |    3 
 arch/x86/kernel/fpu/signal.c                                                                |    1 
 arch/x86/kvm/vmx.c                                                                          |    7 
 arch/x86/mm/pageattr.c                                                                      |    6 
 arch/x86/platform/olpc/olpc-xo1-rtc.c                                                       |    3 
 arch/x86/xen/enlighten_pvh.c                                                                |    2 
 arch/x86/xen/platform-pci-unplug.c                                                          |    4 
 arch/x86/xen/spinlock.c                                                                     |   35 +--
 arch/x86/xen/xen-pvh.S                                                                      |    2 
 block/bfq-wf2q.c                                                                            |   13 -
 crypto/lrw.c                                                                                |    7 
 crypto/tcrypt.c                                                                             |    3 
 drivers/acpi/acpi_lpss.c                                                                    |    2 
 drivers/acpi/acpi_processor.c                                                               |    7 
 drivers/block/ataflop.c                                                                     |   25 +-
 drivers/block/swim.c                                                                        |   13 -
 drivers/block/xen-blkfront.c                                                                |    4 
 drivers/bluetooth/btbcm.c                                                                   |    1 
 drivers/char/ipmi/ipmi_ssif.c                                                               |   10 
 drivers/char/tpm/tpm-interface.c                                                            |    3 
 drivers/char/tpm/xen-tpmfront.c                                                             |    2 
 drivers/cpufreq/cpufreq-dt.c                                                                |   34 +-
 drivers/cpufreq/cpufreq_conservative.c                                                      |    6 
 drivers/crypto/caam/regs.h                                                                  |   28 +-
 drivers/dma/dma-jz4780.c                                                                    |    5 
 drivers/dma/ioat/init.c                                                                     |    9 
 drivers/dma/ppc4xx/adma.c                                                                   |    2 
 drivers/dma/stm32-dma.c                                                                     |    8 
 drivers/edac/amd64_edac.c                                                                   |   14 +
 drivers/edac/amd64_edac.h                                                                   |    3 
 drivers/edac/i7core_edac.c                                                                  |    1 
 drivers/edac/sb_edac.c                                                                      |    1 
 drivers/edac/skx_edac.c                                                                     |    3 
 drivers/hid/usbhid/hiddev.c                                                                 |   18 +
 drivers/hv/channel_mgmt.c                                                                   |   14 -
 drivers/hwmon/pmbus/pmbus.c                                                                 |    2 
 drivers/hwmon/pmbus/pmbus_core.c                                                            |    5 
 drivers/hwmon/pwm-fan.c                                                                     |   12 -
 drivers/hwtracing/coresight/coresight-etb10.c                                               |    4 
 drivers/i2c/busses/i2c-rcar.c                                                               |    6 
 drivers/iio/adc/at91_adc.c                                                                  |    6 
 drivers/iio/adc/fsl-imx25-gcq.c                                                             |    6 
 drivers/iio/dac/ad5064.c                                                                    |   53 +++-
 drivers/infiniband/core/sysfs.c                                                             |   19 +
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c                                                  |   13 -
 drivers/infiniband/hw/mlx5/mr.c                                                             |    2 
 drivers/infiniband/sw/rxe/rxe_resp.c                                                        |    8 
 drivers/infiniband/sw/rxe/rxe_verbs.h                                                       |    2 
 drivers/infiniband/ulp/ipoib/ipoib_cm.c                                                     |    8 
 drivers/iommu/arm-smmu.c                                                                    |    6 
 drivers/lightnvm/pblk-recovery.c                                                            |    6 
 drivers/md/bcache/btree.c                                                                   |    2 
 drivers/md/bcache/request.c                                                                 |    2 
 drivers/md/dm-ioctl.c                                                                       |   18 -
 drivers/md/dm-zoned-metadata.c                                                              |   80 ++++--
 drivers/md/raid1.c                                                                          |    1 
 drivers/md/raid10.c                                                                         |    1 
 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c                                               |    2 
 drivers/media/i2c/tvp5150.c                                                                 |    2 
 drivers/media/usb/em28xx/em28xx-cards.c                                                     |    4 
 drivers/media/usb/em28xx/em28xx-video.c                                                     |    8 
 drivers/mfd/menelaus.c                                                                      |   13 -
 drivers/misc/genwqe/card_base.h                                                             |    2 
 drivers/misc/genwqe/card_dev.c                                                              |    9 
 drivers/misc/vmw_vmci/vmci_driver.c                                                         |    2 
 drivers/misc/vmw_vmci/vmci_resource.c                                                       |    3 
 drivers/mmc/host/sdhci-pci-o2micro.c                                                        |    3 
 drivers/mtd/nand/atmel/nand-controller.c                                                    |    4 
 drivers/mtd/spi-nor/fsl-quadspi.c                                                           |    1 
 drivers/net/dsa/mv88e6xxx/phy.c                                                             |    3 
 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c                                           |    4 
 drivers/net/ethernet/netronome/nfp/nfp_devlink.c                                            |   17 +
 drivers/net/ethernet/qlogic/qla3xxx.c                                                       |    2 
 drivers/net/phy/phylink.c                                                                   |    3 
 drivers/net/tun.c                                                                           |    2 
 drivers/net/wireless/ath/ath10k/wmi.c                                                       |    6 
 drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c                                      |   34 ++
 drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h                                |    2 
 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c                                           |    9 
 drivers/net/wireless/intel/iwlwifi/mvm/rs.c                                                 |   24 +-
 drivers/net/wireless/intel/iwlwifi/mvm/tx.c                                                 |    9 
 drivers/net/wireless/intel/iwlwifi/pcie/rx.c                                                |   32 +-
 drivers/net/wireless/marvell/libertas/if_usb.c                                              |    2 
 drivers/nvdimm/bus.c                                                                        |    4 
 drivers/nvdimm/region_devs.c                                                                |   11 
 drivers/pci/dwc/pci-dra7xx.c                                                                |   11 
 drivers/pci/host/pcie-mediatek.c                                                            |   11 
 drivers/pci/host/vmd.c                                                                      |   13 +
 drivers/pci/msi.c                                                                           |    9 
 drivers/pci/pci-acpi.c                                                                      |   16 +
 drivers/pci/pcie/aspm.c                                                                     |    2 
 drivers/pci/quirks.c                                                                        |    4 
 drivers/pci/remove.c                                                                        |    4 
 drivers/pcmcia/ricoh.h                                                                      |   35 +++
 drivers/pcmcia/yenta_socket.c                                                               |    3 
 drivers/pinctrl/qcom/pinctrl-spmi-mpp.c                                                     |   27 +-
 drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c                                                    |   28 +-
 drivers/rpmsg/qcom_smd.c                                                                    |    7 
 drivers/scsi/esp_scsi.c                                                                     |    1 
 drivers/scsi/esp_scsi.h                                                                     |    2 
 drivers/scsi/lpfc/lpfc_scsi.c                                                               |   14 -
 drivers/scsi/lpfc/lpfc_sli.c                                                                |    7 
 drivers/scsi/mac_esp.c                                                                      |    2 
 drivers/scsi/megaraid/megaraid_sas_base.c                                                   |    3 
 drivers/soc/tegra/pmc.c                                                                     |    2 
 drivers/spi/spi-bcm-qspi.c                                                                  |    2 
 drivers/spi/spi-ep93xx.c                                                                    |   36 ++-
 drivers/tc/tc.c                                                                             |    8 
 drivers/thermal/da9062-thermal.c                                                            |    4 
 drivers/tty/serial/kgdboc.c                                                                 |    5 
 drivers/uio/uio.c                                                                           |    9 
 drivers/usb/chipidea/otg.h                                                                  |    3 
 drivers/usb/gadget/udc/atmel_usba_udc.c                                                     |    2 
 drivers/usb/gadget/udc/renesas_usb3.c                                                       |    3 
 drivers/usb/host/ohci-at91.c                                                                |    2 
 drivers/usb/usbip/vudc_main.c                                                               |   10 
 drivers/w1/masters/omap_hdq.c                                                               |    2 
 drivers/xen/swiotlb-xen.c                                                                   |    6 
 drivers/xen/xen-balloon.c                                                                   |   13 -
 fs/btrfs/extent-tree.c                                                                      |  113 ++++++---
 fs/btrfs/file.c                                                                             |   12 +
 fs/btrfs/free-space-cache.c                                                                 |   42 ++-
 fs/btrfs/inode.c                                                                            |   15 +
 fs/btrfs/ioctl.c                                                                            |   11 
 fs/btrfs/qgroup.c                                                                           |    5 
 fs/btrfs/qgroup.h                                                                           |    2 
 fs/btrfs/relocation.c                                                                       |    2 
 fs/btrfs/transaction.c                                                                      |    9 
 fs/btrfs/tree-log.c                                                                         |  116 ++++++++--
 fs/cifs/cifs_debug.c                                                                        |    3 
 fs/cifs/cifs_spnego.c                                                                       |    6 
 fs/cifs/inode.c                                                                             |   10 
 fs/cramfs/inode.c                                                                           |    3 
 fs/ext4/ext4.h                                                                              |    3 
 fs/ext4/inline.c                                                                            |    2 
 fs/ext4/ioctl.c                                                                             |   64 +++--
 fs/ext4/move_extent.c                                                                       |    8 
 fs/ext4/super.c                                                                             |   73 ++++--
 fs/f2fs/data.c                                                                              |    8 
 fs/f2fs/recovery.c                                                                          |    1 
 fs/f2fs/super.c                                                                             |   19 +
 fs/gfs2/ops_fstype.c                                                                        |    3 
 fs/jbd2/checkpoint.c                                                                        |    4 
 fs/jffs2/super.c                                                                            |    4 
 fs/lockd/host.c                                                                             |    2 
 fs/nfs/nfs4client.c                                                                         |   16 -
 fs/nfs/pagelist.c                                                                           |   40 +--
 fs/proc/task_mmu.c                                                                          |    4 
 include/linux/compat.h                                                                      |    3 
 include/linux/signal.h                                                                      |    2 
 include/linux/tc.h                                                                          |    1 
 include/uapi/linux/ndctl.h                                                                  |   48 +---
 kernel/bounds.c                                                                             |    4 
 kernel/bpf/syscall.c                                                                        |   13 +
 kernel/cpu.c                                                                                |   11 
 kernel/irq/manage.c                                                                         |    8 
 kernel/kprobes.c                                                                            |   27 +-
 kernel/locking/lockdep.c                                                                    |    4 
 kernel/printk/printk.c                                                                      |    7 
 kernel/sched/fair.c                                                                         |    2 
 kernel/signal.c                                                                             |   18 -
 lib/debug_locks.c                                                                           |    2 
 mm/hugetlb.c                                                                                |    6 
 mm/page_vma_mapped.c                                                                        |   24 +-
 net/core/netclassid_cgroup.c                                                                |    1 
 net/ipv4/cipso_ipv4.c                                                                       |   11 
 net/sched/sch_api.c                                                                         |    1 
 net/sunrpc/svc_xprt.c                                                                       |    2 
 net/xfrm/xfrm_policy.c                                                                      |    8 
 security/integrity/ima/ima_fs.c                                                             |    6 
 sound/pci/ca0106/ca0106.h                                                                   |    2 
 sound/pci/hda/hda_controller.h                                                              |    1 
 sound/pci/hda/hda_intel.c                                                                   |   11 
 sound/pci/hda/patch_conexant.c                                                              |    1 
 sound/pci/hda/patch_realtek.c                                                               |   26 ++
 sound/soc/intel/skylake/skl-topology.c                                                      |    1 
 tools/perf/Makefile.config                                                                  |    2 
 tools/perf/pmu-events/arch/x86/ivytown/uncore-power.json                                    |   16 -
 tools/perf/pmu-events/arch/x86/jaketown/uncore-power.json                                   |   16 -
 tools/perf/util/event.c                                                                     |    1 
 tools/perf/util/pmu.c                                                                       |   13 -
 tools/perf/util/strbuf.c                                                                    |   10 
 tools/perf/util/trace-event-info.c                                                          |    2 
 tools/perf/util/trace-event-read.c                                                          |    5 
 tools/power/cpupower/utils/cpufreq-info.c                                                   |    2 
 tools/power/cpupower/utils/helpers/amd.c                                                    |    7 
 tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc |   80 ++++++
 tools/testing/selftests/net/reuseport_bpf.c                                                 |   13 -
 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c                                  |    4 
 virt/kvm/arm/arm.c                                                                          |    4 
 221 files changed, 1834 insertions(+), 676 deletions(-)

Aaro Koskinen (1):
MIPS: OCTEON: fix out of bounds array access on CN68XX

Al Viro (1):

      gfs2_meta: ->mount() can get NULL dev_name

Alex Stanoev (1):
ALSA: ca0106: Disable IZD on SB0570 DAC to fix audio pops

Alexander Duyck (1):
libnvdimm: Hold reference on parent while scheduling async init

Alexandre Belloni (3):
usb: gadget: udc: atmel: handle at91sam9rl PMC
uio: ensure class is registered before devices
mfd: menelaus: Fix possible race condition and leak

Alexey Khoroshilov (1):
iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()

Amir Goldstein (1):
lockd: fix access beyond unterminated strings in prints

Andreas Kemnade (1):
w1: omap-hdq: fix missing bus unregister at removal

Andrew Lunn (1):
net: dsa: mv88e6xxx: Fix writing to a PHY page.

Antoine Tenart (1):
net: phy: phylink: ensure the carrier is off when starting phylink

Arend van Spriel (1):
brcmfmac: fix for proper support of 160MHz bandwidth

Arnd Bergmann (1):
kbuild: fix kernel/bounds.c 'W=1' warning

Artemy Kovalyov (1):
IB/mlx5: Fix MR cache initialization

Ben Hutchings (1):
x86: boot: Fix EFI stub alignment

Benjamin Coddington (1):
nfs: Fix a missed page unlock after pg_doio()

Bin Meng (1):
PCI: Add Device IDs for Intel GPU "spurious interrupt" quirk

Boris Ostrovsky (1):
xen/balloon: Support xend-based toolstack

Breno Leitao (2):
HID: hiddev: fix potential Spectre v1
selftests/powerpc: Fix ptrace tm failure

Chao Yu (2):
f2fs: fix to recover inode's i_flags during POR
f2fs: fix to account IO correctly

Christian Hewitt (1):
Bluetooth: btbcm: Add entry for BCM4335C0 UART bluetooth

Christian Lamparter (1):
dmaengine: ppc4xx: fix off-by-one build failure

Christophe Leroy (1):
powerpc/msi: Fix compile error on mpc83xx

Colin Ian King (1):
rpmsg: smd: fix memory leak on channel create

Damien Le Moal (2):
dm zoned: fix metadata block ref counting dm zoned: fix various dmz_get_mblock() issues

Dan Williams (1):
libnvdimm, region: Fail badblocks listing for inactive regions

Daniel Colascione (1):
bpf: wait for running BPF programs when updating map-in-map

David Ahern (1):
net: sched: Remove TCA_OPTIONS from policy

David Howells (1):
UAPI: ndctl: Fix g++-unsupported initialisation in headers

David Miller (1):
perf cpu_map: Align cpu map synthesized events properly.

David S. Miller (3):
sparc: Fix single-pcr perf event counter management.
sparc: Throttle perf events properly.
sparc64: Make proc_id signed.

Denis Drozdov (1):
IB/ipoib: Clear IPCB before icmp_send

Dexuan Cui (1):
Drivers: hv: vmbus: Use cpumask_var_t for on-stack cpu mask

Dmitry Bazhenov (1):
hwmon: (pmbus) Fix page count auto-detection.

Dou Liyang (1):
ACPI / processor: Fix the return value of acpi_processor_ids_walk()

Douglas Anderson (2):
pinctrl: spmi-mpp: Fix pmic_mpp_config_get() to be compliant
pinctrl: ssbi-gpio: Fix pm8xxx_pin_config_get() to be compliant

Dr. Greg Wettstein (1):
tpm: Restore functionality to xen vtpm driver.

Emmanuel Grumbach (1):
iwlwifi: mvm: clear HW_RESTART_REQUESTED when stopping the interface

Eric Biggers (1):
ima: fix showing large 'violations' or 'runtime_measurements_count'

Eric Dumazet (1):
bpf: do not blindly change rlimit in reuseport net selftest

Eric W. Biederman (3):
signal: Always deliver the kernel's SIGKILL and SIGSTOP to a pid namespace init signal/GenWQE: Fix sending of SIGKILL
signal: Guard against negative signal numbers in copy_siginfo_from_user32

Eugen Hristev (2):
iio: adc: at91: fix acking DRDY irq on simple conversions
iio: adc: at91: fix wrong channel number in triggered buffer mode

Filipe Manana (7):
Btrfs: fix warning when replaying log after fsync of a tmpfile
Btrfs: fix wrong dentries after fsync of file that got its parent replaced
Btrfs: fix null pointer dereference on compressed write path error
Btrfs: fix assertion on fsync of regular file when using no-holes feature
Btrfs: fix use-after-free during inode eviction
Btrfs: fix use-after-free when dumping free space
Btrfs: fix fsync after hole punching when using no-holes feature

Finn Thain (1):
scsi: esp_scsi: Track residual for PIO transfers

Florian Westphal (1):
xfrm: policy: use hlist rcu variants on insert

Geert Uytterhoeven (1):
thermal: da9062/61: Prevent hardware access during system suspend

Greg Kroah-Hartman (1):

      Linux 4.14.81

Gustavo A. R. Silva (1):
mtd: rawnand: atmel: Fix potential NULL pointer dereference

Hans Verkuil (2):
media: v4l2-tpg: fix kernel oops when enabling HFLIP and OSD
media: media colorspaces*.rst: rename AdobeRGB to opRGB

Hans de Goede (1):
ACPI / LPSS: Add alternative ACPI HIDs for Cherry Trail DMA controllers

He Zhe (3):
x86/corruption-check: Fix panic in memory_corruption_check() when boot option without value is provided
printk: Fix panic caused by passing log_buf_len to command line
kgdboc: Passing ekgdboc to command line causes panic

Helge Deller (2):
parisc: Fix map_pages() to not overwrite existing pte entries
parisc: Fix exported address of os_hpmc handler

Honghui Zhang (1):
PCI: mediatek: Fix mtk_pcie_find_port() endpoint/port matching logic

Horia Geantă (2):
crypto: caam - fix implicit casts in endianness helpers
crypto: tcrypt - fix ghash-generic speed test

Hou Tao (1):
jffs2: free jffs2_sb_info through jffs2_kill_sb()

Hui Wang (1):
ALSA: hda/realtek - Fix the problem of the front MIC on the Lenovo M715

Jaegeuk Kim (1):
Revert "f2fs: fix to clear PG_checked flag in set_page_dirty()"

James Smart (2):
scsi: lpfc: Correct soft lockup when running mds diagnostics
scsi: lpfc: Correct race with abort on completion path

Jan Glauber (1):
ipmi: Fix timer race with module unload

Jan Kara (1):
jbd2: fix use after free in jbd2_log_do_checkpoint()

Janosch Frank (1):
s390/sthyi: Fix machine name validity indication

Jarod Wilson (1):
perf tools: Fix use of alternatives to find JDIR

Javier Martinez Canillas (1):
tpm: suppress transmit cmd error logs when TPM 1.2 is disabled/deactivated

Jeff Mahoney (3):
btrfs: fix error handling in free_log_tree
btrfs: iterate all devices during trim, instead of fs_devices::alloc_list
btrfs: don't attempt to trim devices that don't support it

Jeremy Cline (1):

      ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)

Jia-Ju Bai (1):
lightnvm: pblk: fix two sleep-in-atomic-context bugs

Jim Mattson (1):
KVM: nVMX: Clear reserved bits of #DB exit qualification

Jiri Kosina (1):
x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

Jiri Olsa (2):
Revert "perf tools: Fix PMU term format max value calculation" perf vendor events intel: Fix wrong filter_band* values for uncore events

Joe Jin (1):
xen-swiotlb: use actually allocated size on check physical continuous

Johan Hovold (1):
soc/tegra: pmc: Fix child-node lookup

John David Anglin (1):
parisc: Fix address in HPMC IVA

Jorgen Hansen (1):
VMCI: Resource wildcard match fixed

Josef Bacik (9):
btrfs: wait on caching when putting the bg cache
btrfs: protect space cache inode alloc with GFP_NOFS
btrfs: reset max_extent_size on clear in a bitmap
btrfs: make sure we create all new block groups
btrfs: set max_extent_size properly
btrfs: don't use ctl->free_space for max_extent_size
btrfs: only free reserved extent if we didn't insert it
btrfs: don't run delayed_iputs in commit
btrfs: move the dio_sem higher up the callchain

Juergen Gross (5):
x86/xen: Fix boot loader version reported for PVH guests
xen: fix race in xen_qlock_wait()
xen: make xen_qlock_wait() nestable
xen/pvh: don't try to unplug emulated devices
xen: fix xen_qlock_wait()

Keith Busch (1):
PCI: vmd: White list for fast interrupt handlers

Lars-Peter Clausen (1):
iio: ad5064: Fix regulator handling

Liu Xiang (1):
mtd: spi-nor: fsl-quadspi: fix read error for flash size larger than 16MB

Loic Poulain (1):
usb: chipidea: Prevent unbalanced IRQ disable

Lubomir Rintel (2):
x86/olpc: Indicate that legacy PC XO-1 platform should not register RTC
libertas: don't set URB_ZERO_PACKET on IN USB transfer

Luca Coelho (1):
iwlwifi: mvm: check return value of rs_rate_from_ucode_rate()

Lukas Czerner (1):
ext4: initialize retries variable in ext4_da_write_inline_data_begin()

Lukas Wunner (2):
PCI/ASPM: Fix link_state teardown on device removal
genirq: Fix race on spurious interrupt detection

Maciej S. Szmigiero (1):
pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges

Maciej W. Rozycki (1):
TC: Set DMA masks for devices

Manjunath Patil (1):
xen-blkfront: fix kernel panic with negotiate_mq error path

Marek Szyprowski (3):
ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen
ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings
ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250

Mark Rutland (1):
KVM: arm64: Fix caching of host MDCR_EL2 value

Martin Willi (1):
ath10k: schedule hardware restart if WMI command times out

Masami Hiramatsu (2):
selftests: ftrace: Add synthetic event syntax testcase
kprobes: Return error if we fail to reuse kprobe instead of BUG_ON()

Mauro Carvalho Chehab (4):
media: em28xx: use a default format if TRY_FMT fails
media: tvp5150: avoid going past array on v4l2_querymenu()
media: em28xx: fix input name for Terratec AV 350
media: em28xx: make v4l2-compliance happier by starting sequence on zero

Michael Jin (1):
EDAC, amd64: Add Family 17h, models 10h-2fh support

Michal Hocko (1):
cgroup, netclassid: add a preemption point to write_classid

Mika Westerberg (1):
PCI / ACPI: Enable wake automatically for power managed bridges

Mike Kravetz (1):
hugetlbfs: dirty pages as they are added to pagecache

Nathan Chancellor (2):
net: qla3xxx: Remove overflowing shift statement
spi: spi-ep93xx: Use dma_data_direction for ep93xx_spi_dma_{finish,prepare}

Nicolas Pitre (1):
Cramfs: fix abad comparison when wrap-arounds occur

Omar Sandoval (2):
ataflop: fix error handling during setup
swim: fix cleanup on setup error

Ondrej Mosnacek (1):
crypto: lrw - Fix out-of bounds access on counter overflow

Paolo Valente (1):
block, bfq: correctly charge and reset entity service in all cases

Parav Pandit (1):
RDMA/core: Do not expose unsupported counters

Paul Cercueil (1):
dmaengine: dma-jz4780: Return error if not probed from DT

Pierre Yves MORDRET (1):
dmaengine: stm32-dma: fix incomplete configuration in cyclic mode

Prarit Bhargava (2):
cpupower: Fix coredump on VMWare
cpupower: Fix AMD Family 0x17 msr_pstate size

Qiuxu Zhuo (1):
EDAC, skx_edac: Fix logical channel intermediate decoding

Qu Wenruo (6):
btrfs: qgroup: Avoid calling qgroup functions if qgroup is not enabled
btrfs: Handle owner mismatch gracefully when walking up tree
btrfs: locking: Add extra check in btrfs_init_new_buffer() to avoid deadlock
btrfs: Enhance btrfs_trim_fs function to handle error better
btrfs: Ensure btrfs_trim_fs can trim the whole filesystem
btrfs: qgroup: Dirty all qgroups before rescan

Rafael J. Wysocki (1):
cpufreq: conservative: Take limits changes into account properly

Rafał Miłecki (1):
spi: bcm-qspi: switch back to reading flash using smaller chunks

Ralph Campbell (1):
mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly

Roger Pau Monne (1):
xen/pvh: increase early stack size

Ryan C Goodfellow (1):
nfp: devlink port split support for 1x100G CXP NIC

Sai Praneeth (1):
x86/speculation: Support Enhanced IBRS on future CPUs

Sanskriti Sharma (3):
perf tools: Free temporary 'sys' string in read_event_files() perf tools: Cleanup trace-event-info 'tdata' leak perf strbuf: Match va_{add,copy} with va_end

Sara Sharon (1):
iwlwifi: mvm: fix BAR seq ctrl reporting

Sebastian Andrzej Siewior (2):
x86/mm/pat: Disable preemption around __flush_tlb_all() x86/fpu: Remove second definition of fpu in __fpu__restore_sig()

Sebastian Basierski (1):
ixgbevf: VF2VF TCP RSS

Selvin Xavier (1):
RDMA/bnxt_re: Fix recursive lock warning in debug kernel

Serhey Popovych (1):
tun: Consistently configure generic netdev params via rtnetlink

Shaohua Li (2):
MD: fix invalid stored role for a disk
MD: fix invalid stored role for a disk - try2

Shaul Triebitz (1):
iwlwifi: pcie: avoid empty free RB queue

Shuah Khan (Samsung OSG) (1):
usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten

Song Muchun (1):
sched/fair: Fix the min_vruntime update logic in dequeue_entity()

Stefan Nuernberger (1):
net/ipv4: defensive cipso option parsing

Stephen Boyd (1):
pinctrl: qcom: spmi-mpp: Fix drive strength setting

Steve French (3):
smb3: allow stats which track session and share reconnects to be reset
smb3: do not attempt cifs operation in smb3 query info error path
smb3: on kerberos mount if server doesn't specify auth type use krb5

Suzuki K Poulose (1):
coresight: etb10: Fix handling of perf mode

Takashi Iwai (4):
ALSA: hda - Add quirk for ASUS G751 laptop
ALSA: hda - Fix headphone pin config for ASUS G751
ALSA: hda: Check the non-cached stream buffers more explicitly
ASoC: intel: skylake: Add missing break in skl_tplg_get_token()

Tang Junhui (2):
bcache: trace missed reading by cache_missed
bcache: fix miss key refill->end in writeback

Theodore Ts'o (2):
ext4: fix argument checking in EXT4_IOC_MOVE_EXT
ext4: fix use-after-free race in ext4_remount()'s error path

Thierry Reding (1):
hwmon: (pwm-fan) Set fan speed to 0 on suspend

Thor Thayer (2):
ARM: dts: socfpga: Fix SDRAM node address for Arria10
arm64: dts: stratix10: Correct System Manager register size

Tonghao Zhang (1):
PCI/MSI: Warn and return error if driver enables MSI/MSI-X twice

Tony Luck (1):
EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting

Tri Vo (1):
arm64: lse: remove -fcall-used-x0 flag

Trond Myklebust (2):
NFSv4.1: Fix the r/wsize checking
nfsd: Fix an Oops in free_session()

[email protected] (1):
usb: host: ohci-at91: fix request of irq for optional gpio

Vasilis Liaskovitis (1):
xen/blkfront: avoid NULL blkfront_info dereference on device removal

Vignesh R (2):
PCI: dwc: pci-dra7xx: Enable errata i870 for both EP and RC mode
ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

Vijay Immanuel (1):
IB/rxe: fix for duplicate request processing and ack psns

Viresh Kumar (3):
cpufreq: dt: Try freeing static OPPs only if we have added them
ARM: dts: exynos: Remove "cooling-{min|max}-level" for CPU nodes
arm: dts: exynos: Add missing cooling device properties for CPUs

Vlastimil Babka (1):
mm: /proc/pid/smaps_rollup: fix NULL pointer deref in smaps_pte_range()

Waiman Long (2):
locking/lockdep: Fix debug_locks off performance problem driver/dma/ioat: Call del_timer_sync() without holding prep_lock

Wang Shilong (2):
ext4: fix setattr project check in fssetxattr ioctl
ext4: propagate error from dquot_initialize() in EXT4_IOC_FSSETXATTR

Wenwen Wang (2):
scsi: megaraid_sas: fix a missing-check bug
dm ioctl: harden copy_params()'s copy_from_user() from malicious users

Will Deacon (2):
signal: Introduce COMPAT_SIGMINSTKSZ for use in compat_sys_sigaltstack iommu/arm-smmu: Ensure that page-table updates are visible before TLBI

Wolfram Sang (1):
i2c: rcar: cleanup DMA for all kinds of failure

Yoshihiro Shimoda (1):
usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround"

Yu Zhao (1):

      mmc: sdhci-pci-o2micro: Add quirk for O2 Micro dev 0x8620 rev 0x01

YueHaibing (1):
pinctrl: qcom: spmi-mpp: Fix err handling of pmic_mpp_set_mux

Yunlei He (1):
f2fs: report error if quota off error during umount

author maintainer
#1 lore raw
Documentation/media/uapi/v4l/biblio.rst +0 -10
index 1cedcfc04327..386d6cf83e9c 100644
@@ -226,16 +226,6 @@ xvYCC
 
 :author:    International Electrotechnical Commission (http://www.iec.ch)
 
-.. _adobergb:
-
-AdobeRGB
-========
-
-
-:title:     Adobe© RGB (1998) Color Image Encoding Version 2005-05
-
-:author:    Adobe Systems Incorporated (http://www.adobe.com)
-
 .. _oprgb:
 
 opRGB
Documentation/media/uapi/v4l/colorspaces-defs.rst +4 -4
index 410907fe9415..f24615544792 100644
@@ -51,8 +51,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum
       - See :ref:`col-rec709`.
     * - ``V4L2_COLORSPACE_SRGB``
       - See :ref:`col-srgb`.
-    * - ``V4L2_COLORSPACE_ADOBERGB``
-      - See :ref:`col-adobergb`.
+    * - ``V4L2_COLORSPACE_OPRGB``
+      - See :ref:`col-oprgb`.
     * - ``V4L2_COLORSPACE_BT2020``
       - See :ref:`col-bt2020`.
     * - ``V4L2_COLORSPACE_DCI_P3``
@@ -90,8 +90,8 @@ whole range, 0-255, dividing the angular value by 1.41. The enum
       - Use the Rec. 709 transfer function.
     * - ``V4L2_XFER_FUNC_SRGB``
       - Use the sRGB transfer function.
-    * - ``V4L2_XFER_FUNC_ADOBERGB``
-      - Use the AdobeRGB transfer function.
+    * - ``V4L2_XFER_FUNC_OPRGB``
+      - Use the opRGB transfer function.
     * - ``V4L2_XFER_FUNC_SMPTE240M``
       - Use the SMPTE 240M transfer function.
     * - ``V4L2_XFER_FUNC_NONE``
Documentation/media/uapi/v4l/colorspaces-details.rst +6 -7
index b5d551b9cc8f..09fabf4cd412 100644
@@ -290,15 +290,14 @@ Y' is clamped to the range [0…1] and Cb and Cr are clamped to the range
 170M/BT.601. The Y'CbCr quantization is limited range.
 
 
-.. _col-adobergb:
+.. _col-oprgb:
 
-Colorspace Adobe RGB (V4L2_COLORSPACE_ADOBERGB)
+Colorspace opRGB (V4L2_COLORSPACE_OPRGB)
 ===============================================
 
-The :ref:`adobergb` standard defines the colorspace used by computer
-graphics that use the AdobeRGB colorspace. This is also known as the
-:ref:`oprgb` standard. The default transfer function is
-``V4L2_XFER_FUNC_ADOBERGB``. The default Y'CbCr encoding is
+The :ref:`oprgb` standard defines the colorspace used by computer
+graphics that use the opRGB colorspace. The default transfer function is
+``V4L2_XFER_FUNC_OPRGB``. The default Y'CbCr encoding is
 ``V4L2_YCBCR_ENC_601``. The default Y'CbCr quantization is limited
 range.
 
@@ -312,7 +311,7 @@ The chromaticities of the primary colors and the white reference are:
 
 .. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
 
-.. flat-table:: Adobe RGB Chromaticities
+.. flat-table:: opRGB Chromaticities
     :header-rows:  1
     :stub-columns: 0
     :widths:       1 1 2
Makefile +1 -1
index f4cad5e03561..2fe1424d61d2 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 14
-SUBLEVEL = 80
+SUBLEVEL = 81
 EXTRAVERSION =
 NAME = Petit Gorille
 
arch/arm/boot/dts/dra7.dtsi +1 -1
index a5bd8f0205e8..0bf354024ef5 100644
@@ -333,7 +333,7 @@
 				ti,hwmods = "pcie1";
 				phys = <&pcie1_phy>;
 				phy-names = "pcie-phy0";
-				ti,syscon-unaligned-access = <&scm_conf1 0x14 2>;
+				ti,syscon-unaligned-access = <&scm_conf1 0x14 1>;
 				status = "disabled";
 			};
 		};
arch/arm/boot/dts/exynos3250.dtsi +16 -0
index 590ee442d0ae..3ed3d1a0fd40 100644
@@ -82,6 +82,22 @@
 			compatible = "arm,cortex-a7";
 			reg = <1>;
 			clock-frequency = <1000000000>;
+			clocks = <&cmu CLK_ARM_CLK>;
+			clock-names = "cpu";
+			#cooling-cells = <2>;
+
+			operating-points = <
+				1000000 1150000
+				900000  1112500
+				800000  1075000
+				700000  1037500
+				600000  1000000
+				500000  962500
+				400000  925000
+				300000  887500
+				200000  850000
+				100000  850000
+			>;
 		};
 	};
 
arch/arm/boot/dts/exynos4210-origen.dts +9 -0
index 084fcc5574ef..e4876186d5cd 100644
@@ -152,6 +152,8 @@
 		reg = <0x66>;
 		interrupt-parent = <&gpx0>;
 		interrupts = <4 IRQ_TYPE_NONE>, <3 IRQ_TYPE_NONE>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&max8997_irq>;
 
 		max8997,pmic-buck1-dvs-voltage = <1350000>;
 		max8997,pmic-buck2-dvs-voltage = <1100000>;
@@ -289,6 +291,13 @@
 	};
 };
 
+&pinctrl_1 {
+	max8997_irq: max8997-irq {
+		samsung,pins = "gpx0-3", "gpx0-4";
+		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+	};
+};
+
 &sdhci_0 {
 	bus-width = <4>;
 	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_cd>;
arch/arm/boot/dts/exynos4210.dtsi +13 -2
index 768fb075b1fd..27e17471ab7a 100644
@@ -52,8 +52,6 @@
 				400000	975000
 				200000	950000
 			>;
-			cooling-min-level = <4>;
-			cooling-max-level = <2>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -61,6 +59,19 @@
 			device_type = "cpu";
 			compatible = "arm,cortex-a9";
 			reg = <0x901>;
+			clocks = <&clock CLK_ARM_CLK>;
+			clock-names = "cpu";
+			clock-latency = <160000>;
+
+			operating-points = <
+				1200000 1250000
+				1000000 1150000
+				800000	1075000
+				500000	975000
+				400000	975000
+				200000	950000
+			>;
+			#cooling-cells = <2>; /* min followed by max */
 		};
 	};
 
arch/arm/boot/dts/exynos4412.dtsi +0 -2
index 7ff03a7e8fb9..1a35e6336e53 100644
@@ -45,8 +45,6 @@
 			clocks = <&clock CLK_ARM_CLK>;
 			clock-names = "cpu";
 			operating-points-v2 = <&cpu0_opp_table>;
-			cooling-min-level = <13>;
-			cooling-max-level = <7>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
arch/arm/boot/dts/exynos5250.dtsi +92 -24

130 lines not on this page · raw message

arch/arm/boot/dts/exynos5420-cpus.dtsi +0 -16
index 5c052d7ff554..7e6b55561b1d 100644
@@ -33,8 +33,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -45,8 +43,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -57,8 +53,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -69,8 +63,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -82,8 +74,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <7>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -94,8 +84,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <7>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -106,8 +94,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <7>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -118,8 +104,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <7>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 	};
arch/arm/boot/dts/exynos5422-cpus.dtsi +0 -16
index bf3c6f1ec4ee..c8afdf821a77 100644
@@ -32,8 +32,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -44,8 +42,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -56,8 +52,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -68,8 +62,6 @@
 			clock-frequency = <1000000000>;
 			cci-control-port = <&cci_control0>;
 			operating-points-v2 = <&cluster_a7_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <11>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -81,8 +73,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <15>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -93,8 +83,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <15>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -105,8 +93,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <15>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 
@@ -117,8 +103,6 @@
 			clock-frequency = <1800000000>;
 			cci-control-port = <&cci_control1>;
 			operating-points-v2 = <&cluster_a15_opp_table>;
-			cooling-min-level = <0>;
-			cooling-max-level = <15>;
 			#cooling-cells = <2>; /* min followed by max */
 		};
 	};
arch/arm/boot/dts/socfpga_arria10.dtsi +1 -1
index 791ca15c799e..bd1985694bca 100644
@@ -601,7 +601,7 @@
 			status = "disabled";
 		};
 
-		sdr: sdr@ffc25000 {
+		sdr: sdr@ffcfb100 {
 			compatible = "altr,sdr-ctl", "syscon";
 			reg = <0xffcfb100 0x80>;
 		};
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +1 -1
index c2b9bcb0ef61..e79f3defe002 100644
@@ -249,7 +249,7 @@
 
 		sysmgr: sysmgr@ffd12000 {
 			compatible = "altr,sys-mgr", "syscon";
-			reg = <0xffd12000 0x1000>;
+			reg = <0xffd12000 0x228>;
 		};
 
 		/* Local timer */
arch/arm64/lib/Makefile +1 -1
index 9a8cb96555d6..9a947afaf74c 100644
@@ -12,7 +12,7 @@ lib-y		:= bitops.o clear_user.o delay.o copy_from_user.o	\
 # when supported by the CPU. Result and argument registers are handled
 # correctly, based on the function prototype.
 lib-$(CONFIG_ARM64_LSE_ATOMICS) += atomic_ll_sc.o
-CFLAGS_atomic_ll_sc.o	:= -fcall-used-x0 -ffixed-x1 -ffixed-x2		\
+CFLAGS_atomic_ll_sc.o	:= -ffixed-x1 -ffixed-x2        		\
 		   -ffixed-x3 -ffixed-x4 -ffixed-x5 -ffixed-x6		\
 		   -ffixed-x7 -fcall-saved-x8 -fcall-saved-x9		\
 		   -fcall-saved-x10 -fcall-saved-x11 -fcall-saved-x12	\
arch/mips/cavium-octeon/executive/cvmx-helper.c +1 -1
index f24be0b5db50..c683c369bca5 100644
@@ -67,7 +67,7 @@ void (*cvmx_override_pko_queue_priority) (int pko_port,
 void (*cvmx_override_ipd_port_setup) (int ipd_port);
 
 /* Port count per interface */
-static int interface_port_count[5];
+static int interface_port_count[9];
 
 /**
  * Return the number of interfaces the chip has. Each interface
arch/parisc/kernel/entry.S +1 -1
index 1b4732e20137..843825a7e6e2 100644
@@ -185,7 +185,7 @@
 	bv,n	0(%r3)
 	nop
 	.word	0		/* checksum (will be patched) */
-	.word	PA(os_hpmc)	/* address of handler */
+	.word	0		/* address of handler */
 	.word	0		/* length of handler */
 	.endm
 
arch/parisc/kernel/hpmc.S +1 -2
index 781c3b9a3e46..fde654115564 100644
@@ -85,7 +85,7 @@ END(hpmc_pim_data)
 
 	.import intr_save, code
 	.align 16
-ENTRY_CFI(os_hpmc)
+ENTRY(os_hpmc)
 .os_hpmc:
 
 	/*
@@ -302,7 +302,6 @@ os_hpmc_6:
 	b .
 	nop
 	.align 16	/* make function length multiple of 16 bytes */
-ENDPROC_CFI(os_hpmc)
 .os_hpmc_end:
 
 
arch/parisc/kernel/traps.c +2 -1
index 8453724b8009..9a898d68f4a0 100644
@@ -836,7 +836,8 @@ void __init initialize_ivt(const void *iva)
 	if (pdc_instr(&instr) == PDC_OK)
 		ivap[0] = instr;
 
-	/* Compute Checksum for HPMC handler */
+	/* Setup IVA and compute checksum for HPMC handler */
+	ivap[6] = (u32)__pa(os_hpmc);
 	length = os_hpmc_size;
 	ivap[7] = length;
 
arch/parisc/mm/init.c +2 -6
index 13f7854e0d49..cc700f7dda54 100644
@@ -495,12 +495,8 @@ static void __init map_pages(unsigned long start_vaddr,
 						pte = pte_mkhuge(pte);
 				}
 
-				if (address >= end_paddr) {
-					if (force)
-						break;
-					else
-						pte_val(pte) = 0;
-				}
+				if (address >= end_paddr)
+					break;
 
 				set_pte(pg_table, pte);
 
arch/powerpc/include/asm/mpic.h +7 -0
index fad8ddd697ac..0abf2e7fd222 100644
@@ -393,7 +393,14 @@ extern struct bus_type mpic_subsys;
 #define	MPIC_REGSET_TSI108		MPIC_REGSET(1)	/* Tsi108/109 PIC */
 
 /* Get the version of primary MPIC */
+#ifdef CONFIG_MPIC
 extern u32 fsl_mpic_primary_get_version(void);
+#else
+static inline u32 fsl_mpic_primary_get_version(void)
+{
+	return 0;
+}
+#endif
 
 /* Allocate the controller structure and setup the linux irq descs
  * for the range if interrupts passed in. No HW initialization is
arch/s390/kvm/sthyi.c +5 -3
index 395926b8c1ed..ffba4617d108 100644
@@ -174,17 +174,19 @@ static void fill_hdr(struct sthyi_sctns *sctns)
 static void fill_stsi_mac(struct sthyi_sctns *sctns,
 			  struct sysinfo_1_1_1 *sysinfo)
 {
+	sclp_ocf_cpc_name_copy(sctns->mac.infmname);
+	if (*(u64 *)sctns->mac.infmname != 0)
+		sctns->mac.infmval1 |= MAC_NAME_VLD;
+
 	if (stsi(sysinfo, 1, 1, 1))
 		return;
 
-	sclp_ocf_cpc_name_copy(sctns->mac.infmname);
-
 	memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype));
 	memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu));
 	memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman));
 	memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq));
 
-	sctns->mac.infmval1 |= MAC_ID_VLD | MAC_NAME_VLD;
+	sctns->mac.infmval1 |= MAC_ID_VLD;
 }
 
 static void fill_stsi_par(struct sthyi_sctns *sctns,
arch/sparc/include/asm/cpudata_64.h +1 -1
index 666d6b5c0440..9c3fc03abe9a 100644
@@ -28,7 +28,7 @@ typedef struct {
 	unsigned short	sock_id;	/* physical package */
 	unsigned short	core_id;
 	unsigned short  max_cache_id;	/* groupings of highest shared cache */
-	unsigned short	proc_id;	/* strand (aka HW thread) id */
+	signed short	proc_id;	/* strand (aka HW thread) id */
 } cpuinfo_sparc;
 
 DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data);
arch/sparc/kernel/perf_event.c +22 -4
index 5c1f54758312..eceb0215bdee 100644
@@ -24,6 +24,7 @@
 #include <asm/cpudata.h>
 #include <linux/uaccess.h>
 #include <linux/atomic.h>
+#include <linux/sched/clock.h>
 #include <asm/nmi.h>
 #include <asm/pcr.h>
 #include <asm/cacheflush.h>
@@ -927,6 +928,8 @@ static void read_in_all_counters(struct cpu_hw_events *cpuc)
 			sparc_perf_event_update(cp, &cp->hw,
 						cpuc->current_idx[i]);
 			cpuc->current_idx[i] = PIC_NO_INDEX;
+			if (cp->hw.state & PERF_HES_STOPPED)
+				cp->hw.state |= PERF_HES_ARCH;
 		}
 	}
 }
@@ -959,10 +962,12 @@ static void calculate_single_pcr(struct cpu_hw_events *cpuc)
 
 		enc = perf_event_get_enc(cpuc->events[i]);
 		cpuc->pcr[0] &= ~mask_for_index(idx);
-		if (hwc->state & PERF_HES_STOPPED)
+		if (hwc->state & PERF_HES_ARCH) {
 			cpuc->pcr[0] |= nop_for_index(idx);
-		else
+		} else {
 			cpuc->pcr[0] |= event_encoding(enc, idx);
+			hwc->state = 0;
+		}
 	}
 out:
 	cpuc->pcr[0] |= cpuc->event[0]->hw.config_base;
@@ -988,6 +993,9 @@ static void calculate_multiple_pcrs(struct cpu_hw_events *cpuc)
 
 		cpuc->current_idx[i] = idx;
 
+		if (cp->hw.state & PERF_HES_ARCH)
+			continue;
+
 		sparc_pmu_start(cp, PERF_EF_RELOAD);
 	}
 out:
@@ -1079,6 +1087,8 @@ static void sparc_pmu_start(struct perf_event *event, int flags)
 	event->hw.state = 0;
 
 	sparc_pmu_enable_event(cpuc, &event->hw, idx);
+
+	perf_event_update_userpage(event);
 }
 
 static void sparc_pmu_stop(struct perf_event *event, int flags)
@@ -1371,9 +1381,9 @@ static int sparc_pmu_add(struct perf_event *event, int ef_flags)
 	cpuc->events[n0] = event->hw.event_base;
 	cpuc->current_idx[n0] = PIC_NO_INDEX;
 
-	event->hw.state = PERF_HES_UPTODATE;
+	event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED;
 	if (!(ef_flags & PERF_EF_START))
-		event->hw.state |= PERF_HES_STOPPED;
+		event->hw.state |= PERF_HES_ARCH;
 
 	/*
 	 * If group events scheduling transaction was started,
@@ -1603,6 +1613,8 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self,
 	struct perf_sample_data data;
 	struct cpu_hw_events *cpuc;
 	struct pt_regs *regs;
+	u64 finish_clock;
+	u64 start_clock;
 	int i;
 
 	if (!atomic_read(&active_events))
@@ -1616,6 +1628,8 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self,
 		return NOTIFY_DONE;
 	}
 
+	start_clock = sched_clock();
+
 	regs = args->regs;
 
 	cpuc = this_cpu_ptr(&cpu_hw_events);
@@ -1654,6 +1668,10 @@ static int __kprobes perf_event_nmi_handler(struct notifier_block *self,
 			sparc_pmu_stop(event, 0);
 	}
 
+	finish_clock = sched_clock();
+
+	perf_sample_event_took(finish_clock - start_clock);
+
 	return NOTIFY_STOP;
 }
 
arch/x86/boot/tools/build.c +7 -0
index d4e6cd4577e5..bf0e82400358 100644
@@ -391,6 +391,13 @@ int main(int argc, char ** argv)
 		die("Unable to mmap '%s': %m", argv[2]);
 	/* Number of 16-byte paragraphs, including space for a 4-byte CRC */
 	sys_size = (sz + 15 + 4) / 16;
+#ifdef CONFIG_EFI_STUB
+	/*
+	 * COFF requires minimum 32-byte alignment of sections, and
+	 * adding a signature is problematic without that alignment.
+	 */
+	sys_size = (sys_size + 1) & ~1;
+#endif
 
 	/* Patch the setup code with the appropriate size parameters */
 	buf[0x1f1] = setup_sectors-1;
arch/x86/include/asm/cpufeatures.h +1 -0
index 8418462298e7..673d6e988196 100644
@@ -220,6 +220,7 @@
 #define X86_FEATURE_STIBP		( 7*32+27) /* Single Thread Indirect Branch Predictors */
 #define X86_FEATURE_ZEN			( 7*32+28) /* "" CPU is AMD family 0x17 (Zen) */
 #define X86_FEATURE_L1TF_PTEINV		( 7*32+29) /* "" L1TF workaround PTE inversion */
+#define X86_FEATURE_IBRS_ENHANCED	( 7*32+30) /* Enhanced IBRS */
 
 /* Virtualization flags: Linux defined, word 8 */
 #define X86_FEATURE_TPR_SHADOW		( 8*32+ 0) /* Intel TPR Shadow */
arch/x86/include/asm/kvm_host.h +1 -0
index 4015b88383ce..367cdd263a5c 100644
@@ -174,6 +174,7 @@ enum {
 
 #define DR6_BD		(1 << 13)
 #define DR6_BS		(1 << 14)
+#define DR6_BT		(1 << 15)
 #define DR6_RTM		(1 << 16)
 #define DR6_FIXED_1	0xfffe0ff0
 #define DR6_INIT	0xffff0ff0
arch/x86/include/asm/nospec-branch.h +1 -0
index 8b38df98548e..1b4132161c1f 100644
@@ -215,6 +215,7 @@ enum spectre_v2_mitigation {
 	SPECTRE_V2_RETPOLINE_GENERIC,
 	SPECTRE_V2_RETPOLINE_AMD,
 	SPECTRE_V2_IBRS,
+	SPECTRE_V2_IBRS_ENHANCED,
 };
 
 /* The Speculative Store Bypass disable variants */
arch/x86/include/asm/tlbflush.h +6 -0
index 5f00ecb9d251..2501be609b82 100644
@@ -466,6 +466,12 @@ static inline void __native_flush_tlb_one_user(unsigned long addr)
  */
 static inline void __flush_tlb_all(void)
 {
+	/*
+	 * This is to catch users with enabled preemption and the PGE feature
+	 * and don't trigger the warning in __native_flush_tlb().
+	 */
+	VM_WARN_ON_ONCE(preemptible());
+
 	if (boot_cpu_has(X86_FEATURE_PGE)) {
 		__flush_tlb_global();
 	} else {
arch/x86/kernel/check.c +15 -0
index 33399426793e..cc8258a5378b 100644
@@ -31,6 +31,11 @@ static __init int set_corruption_check(char *arg)
 	ssize_t ret;
 	unsigned long val;
 
+	if (!arg) {
+		pr_err("memory_corruption_check config string not provided\n");
+		return -EINVAL;
+	}
+
 	ret = kstrtoul(arg, 10, &val);
 	if (ret)
 		return ret;
@@ -45,6 +50,11 @@ static __init int set_corruption_check_period(char *arg)
 	ssize_t ret;
 	unsigned long val;
 
+	if (!arg) {
+		pr_err("memory_corruption_check_period config string not provided\n");
+		return -EINVAL;
+	}
+
 	ret = kstrtoul(arg, 10, &val);
 	if (ret)
 		return ret;
@@ -59,6 +69,11 @@ static __init int set_corruption_check_size(char *arg)
 	char *end;
 	unsigned size;
 
+	if (!arg) {
+		pr_err("memory_corruption_check_size config string not provided\n");
+		return -EINVAL;
+	}
+
 	size = memparse(arg, &end);
 
 	if (*end == '\0')
arch/x86/kernel/cpu/bugs.c +69 -8

133 lines not on this page · raw message

arch/x86/kernel/cpu/common.c +3 -0
index 7d2a7890a823..96643e2c75b8 100644
@@ -967,6 +967,9 @@ static void __init cpu_set_bug_bits(struct cpuinfo_x86 *c)
 	setup_force_cpu_bug(X86_BUG_SPECTRE_V1);
 	setup_force_cpu_bug(X86_BUG_SPECTRE_V2);
 
+	if (ia32_cap & ARCH_CAP_IBRS_ALL)
+		setup_force_cpu_cap(X86_FEATURE_IBRS_ENHANCED);
+
 	if (x86_match_cpu(cpu_no_meltdown))
 		return;
 
arch/x86/kernel/fpu/signal.c +0 -1
index 23f1691670b6..61a949d84dfa 100644
@@ -314,7 +314,6 @@ static int __fpu__restore_sig(void __user *buf, void __user *buf_fx, int size)
 		 * thread's fpu state, reconstruct fxstate from the fsave
 		 * header. Validate and sanitize the copied state.
 		 */
-		struct fpu *fpu = &tsk->thread.fpu;
 		struct user_i387_ia32_struct env;
 		int err = 0;
 
arch/x86/kvm/vmx.c +5 -2
index fd46d890296c..ec588cf4fe95 100644
@@ -2733,10 +2733,13 @@ static int nested_vmx_check_exception(struct kvm_vcpu *vcpu, unsigned long *exit
 		}
 	} else {
 		if (vmcs12->exception_bitmap & (1u << nr)) {
-			if (nr == DB_VECTOR)
+			if (nr == DB_VECTOR) {
 				*exit_qual = vcpu->arch.dr6;
-			else
+				*exit_qual &= ~(DR6_FIXED_1 | DR6_BT);
+				*exit_qual ^= DR6_RTM;
+			} else {
 				*exit_qual = 0;
+			}
 			return 1;
 		}
 	}
arch/x86/mm/pageattr.c +5 -1
index 464f53da3a6f..835620ab435f 100644
@@ -2037,9 +2037,13 @@ void __kernel_map_pages(struct page *page, int numpages, int enable)
 
 	/*
 	 * We should perform an IPI and flush all tlbs,
-	 * but that can deadlock->flush only current cpu:
+	 * but that can deadlock->flush only current cpu.
+	 * Preemption needs to be disabled around __flush_tlb_all() due to
+	 * CR3 reload in __native_flush_tlb().
 	 */
+	preempt_disable();
 	__flush_tlb_all();
+	preempt_enable();
 
 	arch_flush_lazy_mmu_mode();
 }
arch/x86/platform/olpc/olpc-xo1-rtc.c +3 -0
index a2b4efddd61a..8e7ddd7e313a 100644
@@ -16,6 +16,7 @@
 
 #include <asm/msr.h>
 #include <asm/olpc.h>
+#include <asm/x86_init.h>
 
 static void rtc_wake_on(struct device *dev)
 {
@@ -75,6 +76,8 @@ static int __init xo1_rtc_init(void)
 	if (r)
 		return r;
 
+	x86_platform.legacy.rtc = 0;
+
 	device_init_wakeup(&xo1_rtc_device.dev, 1);
 	return 0;
 }
arch/x86/xen/enlighten_pvh.c +1 -1
index 7bd3ee08393e..d6d7b29b3be0 100644
@@ -76,7 +76,7 @@ static void __init init_pvh_bootparams(void)
 	 * Version 2.12 supports Xen entry point but we will use default x86/PC
 	 * environment (i.e. hardware_subarch 0).
 	 */
-	pvh_bootparams.hdr.version = 0x212;
+	pvh_bootparams.hdr.version = (2 << 8) | 12;
 	pvh_bootparams.hdr.type_of_loader = (9 << 4) | 0; /* Xen loader */
 }
 
arch/x86/xen/platform-pci-unplug.c +4 -0
index 33a783c77d96..184b36922397 100644
@@ -146,6 +146,10 @@ void xen_unplug_emulated_devices(void)
 {
 	int r;
 
+	/* PVH guests don't have emulated devices. */
+	if (xen_pvh_domain())
+		return;
+
 	/* user explicitly requested no unplug */
 	if (xen_emul_unplug & XEN_UNPLUG_NEVER)
 		return;
arch/x86/xen/spinlock.c +14 -21
index 08324c64005d..2527540051ff 100644
@@ -9,6 +9,7 @@
 #include <linux/log2.h>
 #include <linux/gfp.h>
 #include <linux/slab.h>
+#include <linux/atomic.h>
 
 #include <asm/paravirt.h>
 
@@ -20,6 +21,7 @@
 
 static DEFINE_PER_CPU(int, lock_kicker_irq) = -1;
 static DEFINE_PER_CPU(char *, irq_name);
+static DEFINE_PER_CPU(atomic_t, xen_qlock_wait_nest);
 static bool xen_pvspin = true;
 
 #include <asm/qspinlock.h>
@@ -41,33 +43,24 @@ static void xen_qlock_kick(int cpu)
 static void xen_qlock_wait(u8 *byte, u8 val)
 {
 	int irq = __this_cpu_read(lock_kicker_irq);
+	atomic_t *nest_cnt = this_cpu_ptr(&xen_qlock_wait_nest);
 
 	/* If kicker interrupts not initialized yet, just spin */
-	if (irq == -1)
+	if (irq == -1 || in_nmi())
 		return;
 
-	/* clear pending */
-	xen_clear_irq_pending(irq);
-	barrier();
-
-	/*
-	 * We check the byte value after clearing pending IRQ to make sure
-	 * that we won't miss a wakeup event because of the clearing.
-	 *
-	 * The sync_clear_bit() call in xen_clear_irq_pending() is atomic.
-	 * So it is effectively a memory barrier for x86.
-	 */
-	if (READ_ONCE(*byte) != val)
-		return;
+	/* Detect reentry. */
+	atomic_inc(nest_cnt);
 
-	/*
-	 * If an interrupt happens here, it will leave the wakeup irq
-	 * pending, which will cause xen_poll_irq() to return
-	 * immediately.
-	 */
+	/* If irq pending already and no nested call clear it. */
+	if (atomic_read(nest_cnt) == 1 && xen_test_irq_pending(irq)) {
+		xen_clear_irq_pending(irq);
+	} else if (READ_ONCE(*byte) == val) {
+		/* Block until irq becomes pending (or a spurious wakeup) */
+		xen_poll_irq(irq);
+	}
 
-	/* Block until irq becomes pending (or perhaps a spurious wakeup) */
-	xen_poll_irq(irq);
+	atomic_dec(nest_cnt);
 }
 
 static irqreturn_t dummy_handler(int irq, void *dev_id)
arch/x86/xen/xen-pvh.S +1 -1
index 5d7554c025fd..7ecbd3dde2ea 100644
@@ -178,7 +178,7 @@ canary:
 	.fill 48, 1, 0
 
 early_stack:
-	.fill 256, 1, 0
+	.fill BOOT_STACK_SIZE, 1, 0
 early_stack_end:
 
 	ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY,
block/bfq-wf2q.c +10 -3
index 414ba686a847..c1727604ad14 100644
@@ -1172,10 +1172,17 @@ bool __bfq_deactivate_entity(struct bfq_entity *entity, bool ins_into_idle_tree)
 	st = bfq_entity_service_tree(entity);
 	is_in_service = entity == sd->in_service_entity;
 
-	if (is_in_service) {
-		bfq_calc_finish(entity, entity->service);
+	bfq_calc_finish(entity, entity->service);
+
+	if (is_in_service)
 		sd->in_service_entity = NULL;
-	}
+	else
+		/*
+		 * Non in-service entity: nobody will take care of
+		 * resetting its service counter on expiration. Do it
+		 * now.
+		 */
+		entity->service = 0;
 
 	if (entity->tree == &st->active)
 		bfq_active_extract(st, entity);
crypto/lrw.c +6 -1
index fdba6dd6db63..886f91f2426c 100644
@@ -139,7 +139,12 @@ static inline int get_index128(be128 *block)
 		return x + ffz(val);
 	}
 
-	return x;
+	/*
+	 * If we get here, then x == 128 and we are incrementing the counter
+	 * from all ones to all zeros. This means we must return index 127, i.e.
+	 * the one corresponding to key2*{ 1,...,1 }.
+	 */
+	return 127;
 }
 
 static int post_crypt(struct skcipher_request *req)
crypto/tcrypt.c +3 -0
index e339960dcac7..f7affe7cf0b4 100644
@@ -727,6 +727,9 @@ static void test_ahash_speed_common(const char *algo, unsigned int secs,
 			break;
 		}
 
+		if (speed[i].klen)
+			crypto_ahash_setkey(tfm, tvmem[0], speed[i].klen);
+
 		pr_info("test%3u "
 			"(%5u byte blocks,%5u bytes per update,%4u updates): ",
 			i, speed[i].blen, speed[i].plen, speed[i].blen / speed[i].plen);
drivers/acpi/acpi_lpss.c +2 -0
index 75c3cb377b98..a56d3f352765 100644
@@ -326,9 +326,11 @@ static const struct acpi_device_id acpi_lpss_device_ids[] = {
 	{ "INT33FC", },
 
 	/* Braswell LPSS devices */
+	{ "80862286", LPSS_ADDR(lpss_dma_desc) },
 	{ "80862288", LPSS_ADDR(bsw_pwm_dev_desc) },
 	{ "8086228A", LPSS_ADDR(bsw_uart_dev_desc) },
 	{ "8086228E", LPSS_ADDR(bsw_spi_dev_desc) },
+	{ "808622C0", LPSS_ADDR(lpss_dma_desc) },
 	{ "808622C1", LPSS_ADDR(bsw_i2c_dev_desc) },
 
 	/* Broadwell LPSS devices */
drivers/acpi/acpi_processor.c +4 -3
index 86c10599d9f8..ccf07674a2a0 100644
@@ -642,7 +642,7 @@ static acpi_status __init acpi_processor_ids_walk(acpi_handle handle,
 
 	status = acpi_get_type(handle, &acpi_type);
 	if (ACPI_FAILURE(status))
-		return false;
+		return status;
 
 	switch (acpi_type) {
 	case ACPI_TYPE_PROCESSOR:
@@ -662,11 +662,12 @@ static acpi_status __init acpi_processor_ids_walk(acpi_handle handle,
 	}
 
 	processor_validated_ids_update(uid);
-	return true;
+	return AE_OK;
 
 err:
+	/* Exit on error, but don't abort the namespace walk */
 	acpi_handle_info(handle, "Invalid processor object\n");
-	return false;
+	return AE_OK;
 
 }
 
drivers/block/ataflop.c +15 -10
index 92da886180aa..1dacc42e2dcf 100644
@@ -1935,6 +1935,11 @@ static int __init atari_floppy_init (void)
 		unit[i].disk = alloc_disk(1);
 		if (!unit[i].disk)
 			goto Enomem;
+
+		unit[i].disk->queue = blk_init_queue(do_fd_request,
+						     &ataflop_lock);
+		if (!unit[i].disk->queue)
+			goto Enomem;
 	}
 
 	if (UseTrackbuffer < 0)
@@ -1966,10 +1971,6 @@ static int __init atari_floppy_init (void)
 		sprintf(unit[i].disk->disk_name, "fd%d", i);
 		unit[i].disk->fops = &floppy_fops;
 		unit[i].disk->private_data = &unit[i];
-		unit[i].disk->queue = blk_init_queue(do_fd_request,
-					&ataflop_lock);
-		if (!unit[i].disk->queue)
-			goto Enomem;
 		set_capacity(unit[i].disk, MAX_DISK_SIZE * 2);
 		add_disk(unit[i].disk);
 	}
@@ -1984,13 +1985,17 @@ static int __init atari_floppy_init (void)
 
 	return 0;
 Enomem:
-	while (i--) {
-		struct request_queue *q = unit[i].disk->queue;
+	do {
+		struct gendisk *disk = unit[i].disk;
 
-		put_disk(unit[i].disk);
-		if (q)
-			blk_cleanup_queue(q);
-	}
+		if (disk) {
+			if (disk->queue) {
+				blk_cleanup_queue(disk->queue);
+				disk->queue = NULL;
+			}
+			put_disk(unit[i].disk);
+		}
+	} while (i--);
 
 	unregister_blkdev(FLOPPY_MAJOR, "fd");
 	return -ENOMEM;
drivers/block/swim.c +11 -2
index e88d50f75a4a..58e308145e95 100644
@@ -887,8 +887,17 @@ static int swim_floppy_init(struct swim_priv *swd)
 
 exit_put_disks:
 	unregister_blkdev(FLOPPY_MAJOR, "fd");
-	while (drive--)
-		put_disk(swd->unit[drive].disk);
+	do {
+		struct gendisk *disk = swd->unit[drive].disk;
+
+		if (disk) {
+			if (disk->queue) {
+				blk_cleanup_queue(disk->queue);
+				disk->queue = NULL;
+			}
+			put_disk(disk);
+		}
+	} while (drive--);
 	return err;
 }
 
drivers/block/xen-blkfront.c +4 -0
index 7d23225f79ed..32ac5f551e55 100644
@@ -1910,6 +1910,7 @@ static int negotiate_mq(struct blkfront_info *info)
 	info->rinfo = kzalloc(sizeof(struct blkfront_ring_info) * info->nr_rings, GFP_KERNEL);
 	if (!info->rinfo) {
 		xenbus_dev_fatal(info->xbdev, -ENOMEM, "allocating ring_info structure");
+		info->nr_rings = 0;
 		return -ENOMEM;
 	}
 
@@ -2471,6 +2472,9 @@ static int blkfront_remove(struct xenbus_device *xbdev)
 
 	dev_dbg(&xbdev->dev, "%s removed", xbdev->nodename);
 
+	if (!info)
+		return 0;
+
 	blkif_free(info, 0);
 
 	mutex_lock(&info->mutex);
drivers/bluetooth/btbcm.c +1 -0
index cc4bdefa6648..67315cb28826 100644
@@ -325,6 +325,7 @@ static const struct {
 	{ 0x4103, "BCM4330B1"	},	/* 002.001.003 */
 	{ 0x410e, "BCM43341B0"	},	/* 002.001.014 */
 	{ 0x4406, "BCM4324B3"	},	/* 002.004.006 */
+	{ 0x6109, "BCM4335C0"	},	/* 003.001.009 */
 	{ 0x610c, "BCM4354"	},	/* 003.001.012 */
 	{ 0x2209, "BCM43430A1"  },	/* 001.002.009 */
 	{ }
drivers/char/ipmi/ipmi_ssif.c +6 -4
index 932678617dfa..0904ab442d31 100644
@@ -621,8 +621,9 @@ static void msg_done_handler(struct ssif_info *ssif_info, int result,
 			flags = ipmi_ssif_lock_cond(ssif_info, &oflags);
 			ssif_info->waiting_alert = true;
 			ssif_info->rtc_us_timer = SSIF_MSG_USEC;
-			mod_timer(&ssif_info->retry_timer,
-				  jiffies + SSIF_MSG_JIFFIES);
+			if (!ssif_info->stopping)
+				mod_timer(&ssif_info->retry_timer,
+					  jiffies + SSIF_MSG_JIFFIES);
 			ipmi_ssif_unlock_cond(ssif_info, flags);
 			return;
 		}
@@ -954,8 +955,9 @@ static void msg_written_handler(struct ssif_info *ssif_info, int result,
 			ssif_info->waiting_alert = true;
 			ssif_info->retries_left = SSIF_RECV_RETRIES;
 			ssif_info->rtc_us_timer = SSIF_MSG_PART_USEC;
-			mod_timer(&ssif_info->retry_timer,
-				  jiffies + SSIF_MSG_PART_JIFFIES);
+			if (!ssif_info->stopping)
+				mod_timer(&ssif_info->retry_timer,
+					  jiffies + SSIF_MSG_PART_JIFFIES);
 			ipmi_ssif_unlock_cond(ssif_info, flags);
 		}
 	}
drivers/char/tpm/tpm-interface.c +2 -1
index 89d5915b1a3f..6e93df272c20 100644
@@ -653,7 +653,8 @@ ssize_t tpm_transmit_cmd(struct tpm_chip *chip, struct tpm_space *space,
 		return len;
 
 	err = be32_to_cpu(header->return_code);
-	if (err != 0 && desc)
+	if (err != 0 && err != TPM_ERR_DISABLED && err != TPM_ERR_DEACTIVATED
+	    && desc)
 		dev_err(&chip->dev, "A TPM error (%d) occurred %s\n", err,
 			desc);
 	if (err)
drivers/char/tpm/xen-tpmfront.c +1 -1
index 656e8af95d52..2cffaf567d99 100644
@@ -203,7 +203,7 @@ static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv)
 		return -ENOMEM;
 	}
 
-	rv = xenbus_grant_ring(dev, &priv->shr, 1, &gref);
+	rv = xenbus_grant_ring(dev, priv->shr, 1, &gref);
 	if (rv < 0)
 		return rv;
 
drivers/cpufreq/cpufreq-dt.c +19 -15
index d83ab94d041a..ca6ee9f389b6 100644
@@ -32,6 +32,7 @@ struct private_data {
 	struct device *cpu_dev;
 	struct thermal_cooling_device *cdev;
 	const char *reg_name;
+	bool have_static_opps;
 };
 
 static struct freq_attr *cpufreq_dt_attr[] = {
@@ -196,6 +197,15 @@ static int cpufreq_init(struct cpufreq_policy *policy)
 		}
 	}
 
+	priv = kzalloc(sizeof(*priv), GFP_KERNEL);
+	if (!priv) {
+		ret = -ENOMEM;
+		goto out_put_regulator;
+	}
+
+	priv->reg_name = name;
+	priv->opp_table = opp_table;
+
 	/*
 	 * Initialize OPP tables for all policy->cpus. They will be shared by
 	 * all CPUs which have marked their CPUs shared with OPP bindings.
@@ -206,7 +216,8 @@ static int cpufreq_init(struct cpufreq_policy *policy)
 	 *
 	 * OPPs might be populated at runtime, don't check for error here
 	 */
-	dev_pm_opp_of_cpumask_add_table(policy->cpus);
+	if (!dev_pm_opp_of_cpumask_add_table(policy->cpus))
+		priv->have_static_opps = true;
 
 	/*
 	 * But we need OPP table to function so if it is not there let's
@@ -232,19 +243,10 @@ static int cpufreq_init(struct cpufreq_policy *policy)
 				__func__, ret);
 	}
 
-	priv = kzalloc(sizeof(*priv), GFP_KERNEL);
-	if (!priv) {
-		ret = -ENOMEM;
-		goto out_free_opp;
-	}
-
-	priv->reg_name = name;
-	priv->opp_table = opp_table;
-
 	ret = dev_pm_opp_init_cpufreq_table(cpu_dev, &freq_table);
 	if (ret) {
 		dev_err(cpu_dev, "failed to init cpufreq table: %d\n", ret);
-		goto out_free_priv;
+		goto out_free_opp;
 	}
 
 	priv->cpu_dev = cpu_dev;
@@ -280,10 +282,11 @@ static int cpufreq_init(struct cpufreq_policy *policy)
 
 out_free_cpufreq_table:
 	dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table);
-out_free_priv:
-	kfree(priv);
 out_free_opp:
-	dev_pm_opp_of_cpumask_remove_table(policy->cpus);
+	if (priv->have_static_opps)
+		dev_pm_opp_of_cpumask_remove_table(policy->cpus);
+	kfree(priv);
+out_put_regulator:
 	if (name)
 		dev_pm_opp_put_regulators(opp_table);
 out_put_clk:
@@ -298,7 +301,8 @@ static int cpufreq_exit(struct cpufreq_policy *policy)
 
 	cpufreq_cooling_unregister(priv->cdev);
 	dev_pm_opp_free_cpufreq_table(priv->cpu_dev, &policy->freq_table);
-	dev_pm_opp_of_cpumask_remove_table(policy->related_cpus);
+	if (priv->have_static_opps)
+		dev_pm_opp_of_cpumask_remove_table(policy->related_cpus);
 	if (priv->reg_name)
 		dev_pm_opp_put_regulators(priv->opp_table);
 
drivers/cpufreq/cpufreq_conservative.c +4 -2
index f20f20a77d4d..4268f87e99fc 100644
@@ -80,8 +80,10 @@ static unsigned int cs_dbs_update(struct cpufreq_policy *policy)
 	 * changed in the meantime, so fall back to current frequency in that
 	 * case.
 	 */
-	if (requested_freq > policy->max || requested_freq < policy->min)
+	if (requested_freq > policy->max || requested_freq < policy->min) {
 		requested_freq = policy->cur;
+		dbs_info->requested_freq = requested_freq;
+	}
 
 	freq_step = get_freq_step(cs_tuners, policy);
 
@@ -92,7 +94,7 @@ static unsigned int cs_dbs_update(struct cpufreq_policy *policy)
 	if (policy_dbs->idle_periods < UINT_MAX) {
 		unsigned int freq_steps = policy_dbs->idle_periods * freq_step;
 
-		if (requested_freq > freq_steps)
+		if (requested_freq > policy->min + freq_steps)
 			requested_freq -= freq_steps;
 		else
 			requested_freq = policy->min;
drivers/crypto/caam/regs.h +14 -14
index fee363865d88..e5513cc59ec3 100644
@@ -70,22 +70,22 @@
 extern bool caam_little_end;
 extern bool caam_imx;
 
-#define caam_to_cpu(len)				\
-static inline u##len caam##len ## _to_cpu(u##len val)	\
-{							\
-	if (caam_little_end)				\
-		return le##len ## _to_cpu(val);		\
-	else						\
-		return be##len ## _to_cpu(val);		\
+#define caam_to_cpu(len)						\
+static inline u##len caam##len ## _to_cpu(u##len val)			\
+{									\
+	if (caam_little_end)						\
+		return le##len ## _to_cpu((__force __le##len)val);	\
+	else								\
+		return be##len ## _to_cpu((__force __be##len)val);	\
 }
 
-#define cpu_to_caam(len)				\
-static inline u##len cpu_to_caam##len(u##len val)	\
-{							\
-	if (caam_little_end)				\
-		return cpu_to_le##len(val);		\
-	else						\
-		return cpu_to_be##len(val);		\
+#define cpu_to_caam(len)					\
+static inline u##len cpu_to_caam##len(u##len val)		\
+{								\
+	if (caam_little_end)					\
+		return (__force u##len)cpu_to_le##len(val);	\
+	else							\
+		return (__force u##len)cpu_to_be##len(val);	\
 }
 
 caam_to_cpu(16)
drivers/dma/dma-jz4780.c +5 -0
index 7373b7a555ec..803cfb4523b0 100644
@@ -754,6 +754,11 @@ static int jz4780_dma_probe(struct platform_device *pdev)
 	struct resource *res;
 	int i, ret;
 
+	if (!dev->of_node) {
+		dev_err(dev, "This driver must be probed from devicetree\n");
+		return -EINVAL;
+	}
+
 	jzdma = devm_kzalloc(dev, sizeof(*jzdma), GFP_KERNEL);
 	if (!jzdma)
 		return -ENOMEM;
drivers/dma/ioat/init.c +8 -1
index 854deb0da07c..68680e4151ea 100644
@@ -1205,8 +1205,15 @@ static void ioat_shutdown(struct pci_dev *pdev)
 
 		spin_lock_bh(&ioat_chan->prep_lock);
 		set_bit(IOAT_CHAN_DOWN, &ioat_chan->state);
-		del_timer_sync(&ioat_chan->timer);
 		spin_unlock_bh(&ioat_chan->prep_lock);
+		/*
+		 * Synchronization rule for del_timer_sync():
+		 *  - The caller must not hold locks which would prevent
+		 *    completion of the timer's handler.
+		 * So prep_lock cannot be held before calling it.
+		 */
+		del_timer_sync(&ioat_chan->timer);
+
 		/* this should quiesce then reset */
 		ioat_reset_hw(ioat_chan);
 	}
drivers/dma/ppc4xx/adma.c +1 -1
index 4cf0d4d0cecf..25610286979f 100644
@@ -4360,7 +4360,7 @@ static ssize_t enable_store(struct device_driver *dev, const char *buf,
 }
 static DRIVER_ATTR_RW(enable);
 
-static ssize_t poly_store(struct device_driver *dev, char *buf)
+static ssize_t poly_show(struct device_driver *dev, char *buf)
 {
 	ssize_t size = 0;
 	u32 reg;
drivers/dma/stm32-dma.c +6 -2
index 786fc8fcc38e..32192e98159b 100644
@@ -429,6 +429,8 @@ static void stm32_dma_dump_reg(struct stm32_dma_chan *chan)
 	dev_dbg(chan2dev(chan), "SFCR:  0x%08x\n", sfcr);
 }
 
+static void stm32_dma_configure_next_sg(struct stm32_dma_chan *chan);
+
 static void stm32_dma_start_transfer(struct stm32_dma_chan *chan)
 {
 	struct stm32_dma_device *dmadev = stm32_dma_get_dev(chan);
@@ -471,6 +473,9 @@ static void stm32_dma_start_transfer(struct stm32_dma_chan *chan)
 	if (status)
 		stm32_dma_irq_clear(chan, status);
 
+	if (chan->desc->cyclic)
+		stm32_dma_configure_next_sg(chan);
+
 	stm32_dma_dump_reg(chan);
 
 	/* Start DMA */
@@ -564,8 +569,7 @@ static void stm32_dma_issue_pending(struct dma_chan *c)
 	if (vchan_issue_pending(&chan->vchan) && !chan->desc && !chan->busy) {
 		dev_dbg(chan2dev(chan), "vchan %p: issued\n", &chan->vchan);
 		stm32_dma_start_transfer(chan);
-		if (chan->desc->cyclic)
-			stm32_dma_configure_next_sg(chan);
+
 	}
 	spin_unlock_irqrestore(&chan->vchan.lock, flags);
 }
drivers/edac/amd64_edac.c +14 -0
index 59ce32e405ac..667f5ba0403c 100644
@@ -2200,6 +2200,15 @@ static struct amd64_family_type family_types[] = {
 			.dbam_to_cs		= f17_base_addr_to_cs_size,
 		}
 	},
+	[F17_M10H_CPUS] = {
+		.ctl_name = "F17h_M10h",
+		.f0_id = PCI_DEVICE_ID_AMD_17H_M10H_DF_F0,
+		.f6_id = PCI_DEVICE_ID_AMD_17H_M10H_DF_F6,
+		.ops = {
+			.early_channel_count	= f17_early_channel_count,
+			.dbam_to_cs		= f17_base_addr_to_cs_size,
+		}
+	},
 };
 
 /*
@@ -3188,6 +3197,11 @@ static struct amd64_family_type *per_family_init(struct amd64_pvt *pvt)
 		break;
 
 	case 0x17:
+		if (pvt->model >= 0x10 && pvt->model <= 0x2f) {
+			fam_type = &family_types[F17_M10H_CPUS];
+			pvt->ops = &family_types[F17_M10H_CPUS].ops;
+			break;
+		}
 		fam_type	= &family_types[F17_CPUS];
 		pvt->ops	= &family_types[F17_CPUS].ops;
 		break;
drivers/edac/amd64_edac.h +3 -0
index 1d4b74e9a037..4242f8e39c18 100644
@@ -115,6 +115,8 @@
 #define PCI_DEVICE_ID_AMD_16H_M30H_NB_F2 0x1582
 #define PCI_DEVICE_ID_AMD_17H_DF_F0	0x1460
 #define PCI_DEVICE_ID_AMD_17H_DF_F6	0x1466
+#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F0 0x15e8
+#define PCI_DEVICE_ID_AMD_17H_M10H_DF_F6 0x15ee
 
 /*
  * Function 1 - Address Map
@@ -281,6 +283,7 @@ enum amd_families {
 	F16_CPUS,
 	F16_M30H_CPUS,
 	F17_CPUS,
+	F17_M10H_CPUS,
 	NUM_FAMILIES,
 };
 
drivers/edac/i7core_edac.c +1 -0
index 6c7d5f20eacb..2054a24b41d7 100644
@@ -1711,6 +1711,7 @@ static void i7core_mce_output_error(struct mem_ctl_info *mci,
 	u32 errnum = find_first_bit(&error, 32);
 
 	if (uncorrected_error) {
+		core_err_cnt = 1;
 		if (ripv)
 			tp_event = HW_EVENT_ERR_FATAL;
 		else
drivers/edac/sb_edac.c +1 -0
index 0dc0d595c47c..b0b390a1da15 100644
@@ -2891,6 +2891,7 @@ static void sbridge_mce_output_error(struct mem_ctl_info *mci,
 		recoverable = GET_BITFIELD(m->status, 56, 56);
 
 	if (uncorrected_error) {
+		core_err_cnt = 1;
 		if (ripv) {
 			type = "FATAL";
 			tp_event = HW_EVENT_ERR_FATAL;
drivers/edac/skx_edac.c +2 -1
index 16dea97568a1..5dafd4fa8f5e 100644
@@ -604,7 +604,7 @@ static bool skx_sad_decode(struct decoded_addr *res)
 			break;
 		case 2:
 			lchan = (addr >> shift) % 2;
-			lchan = (lchan << 1) | ~lchan;
+			lchan = (lchan << 1) | !lchan;
 			break;
 		case 3:
 			lchan = ((addr >> shift) % 2) << 1;
@@ -895,6 +895,7 @@ static void skx_mce_output_error(struct mem_ctl_info *mci,
 	recoverable = GET_BITFIELD(m->status, 56, 56);
 
 	if (uncorrected_error) {
+		core_err_cnt = 1;
 		if (ripv) {
 			type = "FATAL";
 			tp_event = HW_EVENT_ERR_FATAL;
drivers/hid/usbhid/hiddev.c +14 -4
index cf307bdc3d53..89761551c15d 100644
@@ -512,14 +512,24 @@ static noinline int hiddev_ioctl_usage(struct hiddev *hiddev, unsigned int cmd,
 			if (cmd == HIDIOCGCOLLECTIONINDEX) {
 				if (uref->usage_index >= field->maxusage)
 					goto inval;
+				uref->usage_index =
+					array_index_nospec(uref->usage_index,
+							   field->maxusage);
 			} else if (uref->usage_index >= field->report_count)
 				goto inval;
 		}
 
-		if ((cmd == HIDIOCGUSAGES || cmd == HIDIOCSUSAGES) &&
-		    (uref_multi->num_values > HID_MAX_MULTI_USAGES ||
-		     uref->usage_index + uref_multi->num_values > field->report_count))
-			goto inval;
+		if (cmd == HIDIOCGUSAGES || cmd == HIDIOCSUSAGES) {
+			if (uref_multi->num_values > HID_MAX_MULTI_USAGES ||
+			    uref->usage_index + uref_multi->num_values >
+			    field->report_count)
+				goto inval;
+
+			uref->usage_index =
+				array_index_nospec(uref->usage_index,
+						   field->report_count -
+						   uref_multi->num_values);
+		}
 
 		switch (cmd) {
 		case HIDIOCGUSAGE:
drivers/hv/channel_mgmt.c +9 -5
index 1700b4e7758d..752c52f7353d 100644
@@ -599,16 +599,18 @@ static void init_vp_index(struct vmbus_channel *channel, u16 dev_type)
 	bool perf_chn = vmbus_devs[dev_type].perf_device;
 	struct vmbus_channel *primary = channel->primary_channel;
 	int next_node;
-	struct cpumask available_mask;
+	cpumask_var_t available_mask;
 	struct cpumask *alloced_mask;
 
 	if ((vmbus_proto_version == VERSION_WS2008) ||
-	    (vmbus_proto_version == VERSION_WIN7) || (!perf_chn)) {
+	    (vmbus_proto_version == VERSION_WIN7) || (!perf_chn) ||
+	    !alloc_cpumask_var(&available_mask, GFP_KERNEL)) {
 		/*
 		 * Prior to win8, all channel interrupts are
 		 * delivered on cpu 0.
 		 * Also if the channel is not a performance critical
 		 * channel, bind it to cpu 0.
+		 * In case alloc_cpumask_var() fails, bind it to cpu 0.
 		 */
 		channel->numa_node = 0;
 		channel->target_cpu = 0;
@@ -646,7 +648,7 @@ static void init_vp_index(struct vmbus_channel *channel, u16 dev_type)
 		cpumask_clear(alloced_mask);
 	}
 
-	cpumask_xor(&available_mask, alloced_mask,
+	cpumask_xor(available_mask, alloced_mask,
 		    cpumask_of_node(primary->numa_node));
 
 	cur_cpu = -1;
@@ -664,10 +666,10 @@ static void init_vp_index(struct vmbus_channel *channel, u16 dev_type)
 	}
 
 	while (true) {
-		cur_cpu = cpumask_next(cur_cpu, &available_mask);
+		cur_cpu = cpumask_next(cur_cpu, available_mask);
 		if (cur_cpu >= nr_cpu_ids) {
 			cur_cpu = -1;
-			cpumask_copy(&available_mask,
+			cpumask_copy(available_mask,
 				     cpumask_of_node(primary->numa_node));
 			continue;
 		}
@@ -697,6 +699,8 @@ static void init_vp_index(struct vmbus_channel *channel, u16 dev_type)
 
 	channel->target_cpu = cur_cpu;
 	channel->target_vp = hv_cpu_number_to_vp_number(cur_cpu);
+
+	free_cpumask_var(available_mask);
 }
 
 static void vmbus_wait_for_unload(void)
drivers/hwmon/pmbus/pmbus.c +2 -0
index 7718e58dbda5..7688dab32f6e 100644
@@ -118,6 +118,8 @@ static int pmbus_identify(struct i2c_client *client,
 		} else {
 			info->pages = 1;
 		}
+
+		pmbus_clear_faults(client);
 	}
 
 	if (pmbus_check_byte_register(client, 0, PMBUS_VOUT_MODE)) {
drivers/hwmon/pmbus/pmbus_core.c +4 -1
index a139940cd991..924f3ca41c65 100644
@@ -1802,7 +1802,10 @@ static int pmbus_init_common(struct i2c_client *client, struct pmbus_data *data,
 	if (ret >= 0 && (ret & PB_CAPABILITY_ERROR_CHECK))
 		client->flags |= I2C_CLIENT_PEC;
 
-	pmbus_clear_faults(client);
+	if (data->info->pages)
+		pmbus_clear_faults(client);
+	else
+		pmbus_clear_fault_page(client, -1);
 
 	if (info->identify) {
 		ret = (*info->identify)(client, info);
drivers/hwmon/pwm-fan.c +11 -1
index 70cc0d134f3c..ca250e7ac511 100644
@@ -290,9 +290,19 @@ static int pwm_fan_remove(struct platform_device *pdev)
 static int pwm_fan_suspend(struct device *dev)
 {
 	struct pwm_fan_ctx *ctx = dev_get_drvdata(dev);
+	struct pwm_args args;
+	int ret;
+
+	pwm_get_args(ctx->pwm, &args);
+
+	if (ctx->pwm_value) {
+		ret = pwm_config(ctx->pwm, 0, args.period);
+		if (ret < 0)
+			return ret;
 
-	if (ctx->pwm_value)
 		pwm_disable(ctx->pwm);
+	}
+
 	return 0;
 }
 
drivers/hwtracing/coresight/coresight-etb10.c +4 -0
index 56ecd7aff5eb..d14a9cb7959a 100644
@@ -155,6 +155,10 @@ static int etb_enable(struct coresight_device *csdev, u32 mode)
 	if (val == CS_MODE_PERF)
 		return -EBUSY;
 
+	/* Don't let perf disturb sysFS sessions */
+	if (val == CS_MODE_SYSFS && mode == CS_MODE_PERF)
+		return -EBUSY;
+
 	/* Nothing to do, the tracer is already enabled. */
 	if (val == CS_MODE_SYSFS)
 		goto out;
drivers/i2c/busses/i2c-rcar.c +5 -1
index 7f044df1ea07..3415733a9364 100644
@@ -761,8 +761,12 @@ static int rcar_i2c_master_xfer(struct i2c_adapter *adap,
 
 	time_left = wait_event_timeout(priv->wait, priv->flags & ID_DONE,
 				     num * adap->timeout);
-	if (!time_left) {
+
+	/* cleanup DMA if it couldn't complete properly due to an error */
+	if (priv->dma_direction != DMA_NONE)
 		rcar_i2c_cleanup_dma(priv);
+
+	if (!time_left) {
 		rcar_i2c_init(priv);
 		ret = -ETIMEDOUT;
 	} else if (priv->flags & ID_NACK) {
drivers/iio/adc/at91_adc.c +5 -1
index 15109728cae7..cd686179aa92 100644
@@ -248,12 +248,14 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
 	struct iio_poll_func *pf = p;
 	struct iio_dev *idev = pf->indio_dev;
 	struct at91_adc_state *st = iio_priv(idev);
+	struct iio_chan_spec const *chan;
 	int i, j = 0;
 
 	for (i = 0; i < idev->masklength; i++) {
 		if (!test_bit(i, idev->active_scan_mask))
 			continue;
-		st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, i));
+		chan = idev->channels + i;
+		st->buffer[j] = at91_adc_readl(st, AT91_ADC_CHAN(st, chan->channel));
 		j++;
 	}
 
@@ -279,6 +281,8 @@ static void handle_adc_eoc_trigger(int irq, struct iio_dev *idev)
 		iio_trigger_poll(idev->trig);
 	} else {
 		st->last_value = at91_adc_readl(st, AT91_ADC_CHAN(st, st->chnb));
+		/* Needed to ACK the DRDY interruption */
+		at91_adc_readl(st, AT91_ADC_LCDR);
 		st->done = true;
 		wake_up_interruptible(&st->wq_data_avail);
 	}
drivers/iio/adc/fsl-imx25-gcq.c +6 -0
index ea264fa9e567..929c617db364 100644
@@ -209,12 +209,14 @@ static int mx25_gcq_setup_cfgs(struct platform_device *pdev,
 		ret = of_property_read_u32(child, "reg", &reg);
 		if (ret) {
 			dev_err(dev, "Failed to get reg property\n");
+			of_node_put(child);
 			return ret;
 		}
 
 		if (reg >= MX25_NUM_CFGS) {
 			dev_err(dev,
 				"reg value is greater than the number of available configuration registers\n");
+			of_node_put(child);
 			return -EINVAL;
 		}
 
@@ -228,6 +230,7 @@ static int mx25_gcq_setup_cfgs(struct platform_device *pdev,
 			if (IS_ERR(priv->vref[refp])) {
 				dev_err(dev, "Error, trying to use external voltage reference without a vref-%s regulator.",
 					mx25_gcq_refp_names[refp]);
+				of_node_put(child);
 				return PTR_ERR(priv->vref[refp]);
 			}
 			priv->channel_vref_mv[reg] =
@@ -240,6 +243,7 @@ static int mx25_gcq_setup_cfgs(struct platform_device *pdev,
 			break;
 		default:
 			dev_err(dev, "Invalid positive reference %d\n", refp);
+			of_node_put(child);
 			return -EINVAL;
 		}
 
@@ -254,10 +258,12 @@ static int mx25_gcq_setup_cfgs(struct platform_device *pdev,
 
 		if ((refp & MX25_ADCQ_CFG_REFP_MASK) != refp) {
 			dev_err(dev, "Invalid fsl,adc-refp property value\n");
+			of_node_put(child);
 			return -EINVAL;
 		}
 		if ((refn & MX25_ADCQ_CFG_REFN_MASK) != refn) {
 			dev_err(dev, "Invalid fsl,adc-refn property value\n");
+			of_node_put(child);
 			return -EINVAL;
 		}
 
drivers/iio/dac/ad5064.c +38 -15

66 lines not on this page · raw message

drivers/infiniband/core/sysfs.c +12 -7
index 0a1e96c25ca3..f75f99476ad0 100644
@@ -489,7 +489,7 @@ static ssize_t show_pma_counter(struct ib_port *p, struct port_attribute *attr,
 	ret = get_perf_mad(p->ibdev, p->port_num, tab_attr->attr_id, &data,
 			40 + offset / 8, sizeof(data));
 	if (ret < 0)
-		return sprintf(buf, "N/A (no PMA)\n");
+		return ret;
 
 	switch (width) {
 	case 4:
@@ -1012,10 +1012,12 @@ static int add_port(struct ib_device *device, int port_num,
 		goto err_put;
 	}
 
-	p->pma_table = get_counter_table(device, port_num);
-	ret = sysfs_create_group(&p->kobj, p->pma_table);
-	if (ret)
-		goto err_put_gid_attrs;
+	if (device->process_mad) {
+		p->pma_table = get_counter_table(device, port_num);
+		ret = sysfs_create_group(&p->kobj, p->pma_table);
+		if (ret)
+			goto err_put_gid_attrs;
+	}
 
 	p->gid_group.name  = "gids";
 	p->gid_group.attrs = alloc_group_attrs(show_port_gid, attr.gid_tbl_len);
@@ -1128,7 +1130,8 @@ static int add_port(struct ib_device *device, int port_num,
 	p->gid_group.attrs = NULL;
 
 err_remove_pma:
-	sysfs_remove_group(&p->kobj, p->pma_table);
+	if (p->pma_table)
+		sysfs_remove_group(&p->kobj, p->pma_table);
 
 err_put_gid_attrs:
 	kobject_put(&p->gid_attr_group->kobj);
@@ -1240,7 +1243,9 @@ static void free_port_list_attributes(struct ib_device *device)
 			kfree(port->hw_stats);
 			free_hsag(&port->kobj, port->hw_stats_ag);
 		}
-		sysfs_remove_group(p, port->pma_table);
+
+		if (port->pma_table)
+			sysfs_remove_group(p, port->pma_table);
 		sysfs_remove_group(p, &port->pkey_group);
 		sysfs_remove_group(p, &port->gid_group);
 		sysfs_remove_group(&port->gid_attr_group->kobj,
drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +11 -2
index 8d91733009a4..ad74988837c9 100644
@@ -311,8 +311,17 @@ static int bnxt_qplib_process_qp_event(struct bnxt_qplib_rcfw *rcfw,
 		bnxt_qplib_release_cq_locks(qp, &flags);
 		break;
 	default:
-		/* Command Response */
-		spin_lock_irqsave(&cmdq->lock, flags);
+		/*
+		 * Command Response
+		 * cmdq->lock needs to be acquired to synchronie
+		 * the command send and completion reaping. This function
+		 * is always called with creq->lock held. Using
+		 * the nested variant of spin_lock.
+		 *
+		 */
+
+		spin_lock_irqsave_nested(&cmdq->lock, flags,
+					 SINGLE_DEPTH_NESTING);
 		cookie = le16_to_cpu(qp_event->cookie);
 		mcookie = qp_event->cookie;
 		blocked = cookie & RCFW_CMD_IS_BLOCKING;
drivers/infiniband/hw/mlx5/mr.c +1 -1
index 9866c5d1b99f..e88bb71056cd 100644
@@ -675,7 +675,6 @@ int mlx5_mr_cache_init(struct mlx5_ib_dev *dev)
 		init_completion(&ent->compl);
 		INIT_WORK(&ent->work, cache_work_func);
 		INIT_DELAYED_WORK(&ent->dwork, delayed_cache_work_func);
-		queue_work(cache->wq, &ent->work);
 
 		if (i > MR_CACHE_LAST_STD_ENTRY) {
 			mlx5_odp_init_mr_cache_entry(ent);
@@ -694,6 +693,7 @@ int mlx5_mr_cache_init(struct mlx5_ib_dev *dev)
 			ent->limit = dev->mdev->profile->mr_cache[i].limit;
 		else
 			ent->limit = 0;
+		queue_work(cache->wq, &ent->work);
 	}
 
 	err = mlx5_mr_cache_debugfs_init(dev);
drivers/infiniband/sw/rxe/rxe_resp.c +6 -2
index bd43c1c7a42f..4d84b010b3ee 100644
@@ -683,6 +683,7 @@ static enum resp_states read_reply(struct rxe_qp *qp,
 		rxe_advance_resp_resource(qp);
 
 		res->type		= RXE_READ_MASK;
+		res->replay		= 0;
 
 		res->read.va		= qp->resp.va;
 		res->read.va_org	= qp->resp.va;
@@ -753,7 +754,8 @@ static enum resp_states read_reply(struct rxe_qp *qp,
 		state = RESPST_DONE;
 	} else {
 		qp->resp.res = NULL;
-		qp->resp.opcode = -1;
+		if (!res->replay)
+			qp->resp.opcode = -1;
 		if (psn_compare(res->cur_psn, qp->resp.psn) >= 0)
 			qp->resp.psn = res->cur_psn;
 		state = RESPST_CLEANUP;
@@ -815,6 +817,7 @@ static enum resp_states execute(struct rxe_qp *qp, struct rxe_pkt_info *pkt)
 
 	/* next expected psn, read handles this separately */
 	qp->resp.psn = (pkt->psn + 1) & BTH_PSN_MASK;
+	qp->resp.ack_psn = qp->resp.psn;
 
 	qp->resp.opcode = pkt->opcode;
 	qp->resp.status = IB_WC_SUCCESS;
@@ -1071,7 +1074,7 @@ static enum resp_states duplicate_request(struct rxe_qp *qp,
 					  struct rxe_pkt_info *pkt)
 {
 	enum resp_states rc;
-	u32 prev_psn = (qp->resp.psn - 1) & BTH_PSN_MASK;
+	u32 prev_psn = (qp->resp.ack_psn - 1) & BTH_PSN_MASK;
 
 	if (pkt->mask & RXE_SEND_MASK ||
 	    pkt->mask & RXE_WRITE_MASK) {
@@ -1114,6 +1117,7 @@ static enum resp_states duplicate_request(struct rxe_qp *qp,
 			res->state = (pkt->psn == res->first_psn) ?
 					rdatm_res_state_new :
 					rdatm_res_state_replay;
+			res->replay = 1;
 
 			/* Reset the resource, except length. */
 			res->read.va_org = iova;
drivers/infiniband/sw/rxe/rxe_verbs.h +2 -0
index 1019f5e7dbdd..59f6a24db064 100644
@@ -173,6 +173,7 @@ enum rdatm_res_state {
 
 struct resp_res {
 	int			type;
+	int			replay;
 	u32			first_psn;
 	u32			last_psn;
 	u32			cur_psn;
@@ -197,6 +198,7 @@ struct rxe_resp_info {
 	enum rxe_qp_state	state;
 	u32			msn;
 	u32			psn;
+	u32			ack_psn;
 	int			opcode;
 	int			drop_msg;
 	int			goto_error;
drivers/infiniband/ulp/ipoib/ipoib_cm.c +6 -2
index 9939f32d0154..0e85b3445c07 100644
@@ -1427,11 +1427,15 @@ static void ipoib_cm_skb_reap(struct work_struct *work)
 		spin_unlock_irqrestore(&priv->lock, flags);
 		netif_tx_unlock_bh(dev);
 
-		if (skb->protocol == htons(ETH_P_IP))
+		if (skb->protocol == htons(ETH_P_IP)) {
+			memset(IPCB(skb), 0, sizeof(*IPCB(skb)));
 			icmp_send(skb, ICMP_DEST_UNREACH, ICMP_FRAG_NEEDED, htonl(mtu));
+		}
 #if IS_ENABLED(CONFIG_IPV6)
-		else if (skb->protocol == htons(ETH_P_IPV6))
+		else if (skb->protocol == htons(ETH_P_IPV6)) {
+			memset(IP6CB(skb), 0, sizeof(*IP6CB(skb)));
 			icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu);
+		}
 #endif
 		dev_kfree_skb_any(skb);
 
drivers/iommu/arm-smmu.c +6 -0
index 2c436376f13e..15b5856475fc 100644
@@ -475,6 +475,9 @@ static void arm_smmu_tlb_inv_range_nosync(unsigned long iova, size_t size,
 	bool stage1 = cfg->cbar != CBAR_TYPE_S2_TRANS;
 	void __iomem *reg = ARM_SMMU_CB(smmu_domain->smmu, cfg->cbndx);
 
+	if (smmu_domain->smmu->features & ARM_SMMU_FEAT_COHERENT_WALK)
+		wmb();
+
 	if (stage1) {
 		reg += leaf ? ARM_SMMU_CB_S1_TLBIVAL : ARM_SMMU_CB_S1_TLBIVA;
 
@@ -516,6 +519,9 @@ static void arm_smmu_tlb_inv_vmid_nosync(unsigned long iova, size_t size,
 	struct arm_smmu_domain *smmu_domain = cookie;
 	void __iomem *base = ARM_SMMU_GR0(smmu_domain->smmu);
 
+	if (smmu_domain->smmu->features & ARM_SMMU_FEAT_COHERENT_WALK)
+		wmb();
+
 	writel_relaxed(smmu_domain->cfg.vmid, base + ARM_SMMU_GR0_TLBIVMID);
 }
 
drivers/lightnvm/pblk-recovery.c +4 -2
index cb556e06673e..5d0912bf9eab 100644
@@ -1001,12 +1001,14 @@ struct pblk_line *pblk_recov_l2p(struct pblk *pblk)
 		}
 	}
 
-	spin_lock(&l_mg->free_lock);
 	if (!open_lines) {
+		spin_lock(&l_mg->free_lock);
 		WARN_ON_ONCE(!test_and_clear_bit(meta_line,
 							&l_mg->meta_bitmap));
+		spin_unlock(&l_mg->free_lock);
 		pblk_line_replace_data(pblk);
 	} else {
+		spin_lock(&l_mg->free_lock);
 		/* Allocate next line for preparation */
 		l_mg->data_next = pblk_line_get(pblk);
 		if (l_mg->data_next) {
@@ -1014,8 +1016,8 @@ struct pblk_line *pblk_recov_l2p(struct pblk *pblk)
 			l_mg->data_next->type = PBLK_LINETYPE_DATA;
 			is_next = 1;
 		}
+		spin_unlock(&l_mg->free_lock);
 	}
-	spin_unlock(&l_mg->free_lock);
 
 	if (is_next) {
 		pblk_line_erase(pblk, l_mg->data_next);
drivers/md/bcache/btree.c +1 -1
index 89d088cf95d9..9406326216f1 100644
@@ -2371,7 +2371,7 @@ static int refill_keybuf_fn(struct btree_op *op, struct btree *b,
 	struct keybuf *buf = refill->buf;
 	int ret = MAP_CONTINUE;
 
-	if (bkey_cmp(k, refill->end) >= 0) {
+	if (bkey_cmp(k, refill->end) > 0) {
 		ret = MAP_DONE;
 		goto out;
 	}
drivers/md/bcache/request.c +1 -1
index 5b63afff46d5..69b336d8c05a 100644
@@ -792,7 +792,7 @@ static void cached_dev_read_done_bh(struct closure *cl)
 
 	bch_mark_cache_accounting(s->iop.c, s->d,
 				  !s->cache_missed, s->iop.bypass);
-	trace_bcache_read(s->orig_bio, !s->cache_miss, s->iop.bypass);
+	trace_bcache_read(s->orig_bio, !s->cache_missed, s->iop.bypass);
 
 	if (s->iop.status)
 		continue_at_nobarrier(cl, cached_dev_read_error, bcache_wq);
drivers/md/dm-ioctl.c +6 -12
index e52676fa9832..ca948155191a 100644
@@ -1719,8 +1719,7 @@ static void free_params(struct dm_ioctl *param, size_t param_size, int param_fla
 }
 
 static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kernel,
-		       int ioctl_flags,
-		       struct dm_ioctl **param, int *param_flags)
+		       int ioctl_flags, struct dm_ioctl **param, int *param_flags)
 {
 	struct dm_ioctl *dmi;
 	int secure_data;
@@ -1761,18 +1760,13 @@ static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kern
 
 	*param_flags |= DM_PARAMS_MALLOC;
 
-	if (copy_from_user(dmi, user, param_kernel->data_size))
-		goto bad;
+	/* Copy from param_kernel (which was already copied from user) */
+	memcpy(dmi, param_kernel, minimum_data_size);
 
-data_copied:
-	/*
-	 * Abort if something changed the ioctl data while it was being copied.
-	 */
-	if (dmi->data_size != param_kernel->data_size) {
-		DMERR("rejecting ioctl: data size modified while processing parameters");
+	if (copy_from_user(&dmi->data, (char __user *)user + minimum_data_size,
+			   param_kernel->data_size - minimum_data_size))
 		goto bad;
-	}
-
+data_copied:
 	/* Wipe the user buffer so we do not return it to userspace */
 	if (secure_data && clear_user(user, param_kernel->data_size))
 		goto bad;
drivers/md/dm-zoned-metadata.c +50 -30

161 lines not on this page · raw message

drivers/md/raid1.c +1 -0
index 78d830763704..205f86f1a6cb 100644
@@ -1725,6 +1725,7 @@ static int raid1_add_disk(struct mddev *mddev, struct md_rdev *rdev)
 	 */
 	if (rdev->saved_raid_disk >= 0 &&
 	    rdev->saved_raid_disk >= first &&
+	    rdev->saved_raid_disk < conf->raid_disks &&
 	    conf->mirrors[rdev->saved_raid_disk].rdev == NULL)
 		first = last = rdev->saved_raid_disk;
 
drivers/md/raid10.c +1 -0
index 927b60e9d3ca..e786546bf3b8 100644
@@ -1775,6 +1775,7 @@ static int raid10_add_disk(struct mddev *mddev, struct md_rdev *rdev)
 		first = last = rdev->raid_disk;
 
 	if (rdev->saved_raid_disk >= first &&
+	    rdev->saved_raid_disk < conf->geo.raid_disks &&
 	    conf->mirrors[rdev->saved_raid_disk].rdev == NULL)
 		mirror = rdev->saved_raid_disk;
 	else
drivers/media/common/v4l2-tpg/v4l2-tpg-core.c +1 -1
index a772976cfe26..a1aacd6fb96f 100644
@@ -1765,7 +1765,7 @@ typedef struct { u16 __; u8 _; } __packed x24;
 				pos[7] = (chr & (0x01 << 0) ? fg : bg);	\
 			} \
 	\
-			pos += (tpg->hflip ? -8 : 8) / hdiv;	\
+			pos += (tpg->hflip ? -8 : 8) / (int)hdiv;	\
 		}	\
 	}	\
 } while (0)
drivers/media/i2c/tvp5150.c +1 -1
index 59b0c1fce9be..4d3e97f97c76 100644
@@ -1530,7 +1530,7 @@ static int tvp5150_probe(struct i2c_client *c,
 			27000000, 1, 27000000);
 	v4l2_ctrl_new_std_menu_items(&core->hdl, &tvp5150_ctrl_ops,
 				     V4L2_CID_TEST_PATTERN,
-				     ARRAY_SIZE(tvp5150_test_patterns),
+				     ARRAY_SIZE(tvp5150_test_patterns) - 1,
 				     0, 0, tvp5150_test_patterns);
 	sd->ctrl_handler = &core->hdl;
 	if (core->hdl.error) {
drivers/media/usb/em28xx/em28xx-cards.c +2 -2
index 11a59854a0a6..9747e23aad27 100644
@@ -2112,13 +2112,13 @@ struct em28xx_board em28xx_boards[] = {
 		.input           = { {
 			.type     = EM28XX_VMUX_COMPOSITE,
 			.vmux     = TVP5150_COMPOSITE1,
-			.amux     = EM28XX_AUDIO_SRC_LINE,
+			.amux     = EM28XX_AMUX_LINE_IN,
 			.gpio     = terratec_av350_unmute_gpio,
 
 		}, {
 			.type     = EM28XX_VMUX_SVIDEO,
 			.vmux     = TVP5150_SVIDEO,
-			.amux     = EM28XX_AUDIO_SRC_LINE,
+			.amux     = EM28XX_AMUX_LINE_IN,
 			.gpio     = terratec_av350_unmute_gpio,
 		} },
 	},
drivers/media/usb/em28xx/em28xx-video.c +5 -3
index 8d253a5df0a9..92a74bc34527 100644
@@ -900,6 +900,8 @@ static int em28xx_enable_analog_tuner(struct em28xx *dev)
 	if (!mdev || !v4l2->decoder)
 		return 0;
 
+	dev->v4l2->field_count = 0;
+
 	/*
 	 * This will find the tuner that is connected into the decoder.
 	 * Technically, this is not 100% correct, as the device may be
@@ -1445,9 +1447,9 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
 
 	fmt = format_by_fourcc(f->fmt.pix.pixelformat);
 	if (!fmt) {
-		em28xx_videodbg("Fourcc format (%08x) invalid.\n",
-				f->fmt.pix.pixelformat);
-		return -EINVAL;
+		fmt = &format[0];
+		em28xx_videodbg("Fourcc format (%08x) invalid. Using default (%08x).\n",
+				f->fmt.pix.pixelformat, fmt->fourcc);
 	}
 
 	if (dev->board.is_em2800) {
drivers/mfd/menelaus.c +9 -4
index 29b7164a823b..d28ebe7ecd21 100644
@@ -1094,6 +1094,7 @@ static void menelaus_rtc_alarm_work(struct menelaus_chip *m)
 static inline void menelaus_rtc_init(struct menelaus_chip *m)
 {
 	int	alarm = (m->client->irq > 0);
+	int	err;
 
 	/* assume 32KDETEN pin is pulled high */
 	if (!(menelaus_read_reg(MENELAUS_OSC_CTRL) & 0x80)) {
@@ -1101,6 +1102,12 @@ static inline void menelaus_rtc_init(struct menelaus_chip *m)
 		return;
 	}
 
+	m->rtc = devm_rtc_allocate_device(&m->client->dev);
+	if (IS_ERR(m->rtc))
+		return;
+
+	m->rtc->ops = &menelaus_rtc_ops;
+
 	/* support RTC alarm; it can issue wakeups */
 	if (alarm) {
 		if (menelaus_add_irq_work(MENELAUS_RTCALM_IRQ,
@@ -1125,10 +1132,8 @@ static inline void menelaus_rtc_init(struct menelaus_chip *m)
 		menelaus_write_reg(MENELAUS_RTC_CTRL, m->rtc_control);
 	}
 
-	m->rtc = rtc_device_register(DRIVER_NAME,
-			&m->client->dev,
-			&menelaus_rtc_ops, THIS_MODULE);
-	if (IS_ERR(m->rtc)) {
+	err = rtc_register_device(m->rtc);
+	if (err) {
 		if (alarm) {
 			menelaus_remove_irq_work(MENELAUS_RTCALM_IRQ);
 			device_init_wakeup(&m->client->dev, 0);
drivers/misc/genwqe/card_base.h +1 -1
index 5813b5f25006..135e02f257c1 100644
@@ -403,7 +403,7 @@ struct genwqe_file {
 	struct file *filp;
 
 	struct fasync_struct *async_queue;
-	struct task_struct *owner;
+	struct pid *opener;
 	struct list_head list;		/* entry in list of open files */
 
 	spinlock_t map_lock;		/* lock for dma_mappings */
drivers/misc/genwqe/card_dev.c +5 -4
index dd4617764f14..dbd5eaa69311 100644
@@ -52,7 +52,7 @@ static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile)
 {
 	unsigned long flags;
 
-	cfile->owner = current;
+	cfile->opener = get_pid(task_tgid(current));
 	spin_lock_irqsave(&cd->file_lock, flags);
 	list_add(&cfile->list, &cd->file_list);
 	spin_unlock_irqrestore(&cd->file_lock, flags);
@@ -65,6 +65,7 @@ static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile)
 	spin_lock_irqsave(&cd->file_lock, flags);
 	list_del(&cfile->list);
 	spin_unlock_irqrestore(&cd->file_lock, flags);
+	put_pid(cfile->opener);
 
 	return 0;
 }
@@ -275,7 +276,7 @@ static int genwqe_kill_fasync(struct genwqe_dev *cd, int sig)
 	return files;
 }
 
-static int genwqe_force_sig(struct genwqe_dev *cd, int sig)
+static int genwqe_terminate(struct genwqe_dev *cd)
 {
 	unsigned int files = 0;
 	unsigned long flags;
@@ -283,7 +284,7 @@ static int genwqe_force_sig(struct genwqe_dev *cd, int sig)
 
 	spin_lock_irqsave(&cd->file_lock, flags);
 	list_for_each_entry(cfile, &cd->file_list, list) {
-		force_sig(sig, cfile->owner);
+		kill_pid(cfile->opener, SIGKILL, 1);
 		files++;
 	}
 	spin_unlock_irqrestore(&cd->file_lock, flags);
@@ -1356,7 +1357,7 @@ static int genwqe_inform_and_stop_processes(struct genwqe_dev *cd)
 		dev_warn(&pci_dev->dev,
 			 "[%s] send SIGKILL and wait ...\n", __func__);
 
-		rc = genwqe_force_sig(cd, SIGKILL); /* force terminate */
+		rc = genwqe_terminate(cd);
 		if (rc) {
 			/* Give kill_timout more seconds to end processes */
 			for (i = 0; (i < genwqe_kill_timeout) &&
drivers/misc/vmw_vmci/vmci_driver.c +1 -1
index d7eaf1eb11e7..003bfba40758 100644
@@ -113,5 +113,5 @@ module_exit(vmci_drv_exit);
 
 MODULE_AUTHOR("VMware, Inc.");
 MODULE_DESCRIPTION("VMware Virtual Machine Communication Interface.");
-MODULE_VERSION("1.1.5.0-k");
+MODULE_VERSION("1.1.6.0-k");
 MODULE_LICENSE("GPL v2");
drivers/misc/vmw_vmci/vmci_resource.c +2 -1
index 1ab6e8737a5f..da1ee2e1ba99 100644
@@ -57,7 +57,8 @@ static struct vmci_resource *vmci_resource_lookup(struct vmci_handle handle,
 
 		if (r->type == type &&
 		    rid == handle.resource &&
-		    (cid == handle.context || cid == VMCI_INVALID_ID)) {
+		    (cid == handle.context || cid == VMCI_INVALID_ID ||
+		     handle.context == VMCI_INVALID_ID)) {
 			resource = r;
 			break;
 		}
drivers/mmc/host/sdhci-pci-o2micro.c +3 -0
index 14273ca00641..44a809a20d3a 100644
@@ -334,6 +334,9 @@ int sdhci_pci_o2_probe(struct sdhci_pci_chip *chip)
 		pci_write_config_byte(chip->pdev, O2_SD_LOCK_WP, scratch);
 		break;
 	case PCI_DEVICE_ID_O2_SEABIRD0:
+		if (chip->pdev->revision == 0x01)
+			chip->quirks |= SDHCI_QUIRK_DELAY_AFTER_POWER;
+		/* fall through */
 	case PCI_DEVICE_ID_O2_SEABIRD1:
 		/* UnLock WP */
 		ret = pci_read_config_byte(chip->pdev,
drivers/mtd/nand/atmel/nand-controller.c +4 -0
index 148744418e82..32a2f947a454 100644
@@ -2079,6 +2079,10 @@ atmel_hsmc_nand_controller_legacy_init(struct atmel_hsmc_nand_controller *nc)
 	nand_np = dev->of_node;
 	nfc_np = of_find_compatible_node(dev->of_node, NULL,
 					 "atmel,sama5d3-nfc");
+	if (!nfc_np) {
+		dev_err(dev, "Could not find device node for sama5d3-nfc\n");
+		return -ENODEV;
+	}
 
 	nc->clk = of_clk_get(nfc_np, 0);
 	if (IS_ERR(nc->clk)) {
drivers/mtd/spi-nor/fsl-quadspi.c +1 -0
index f17d22435bfc..62f5763482b3 100644
@@ -468,6 +468,7 @@ static int fsl_qspi_get_seqid(struct fsl_qspi *q, u8 cmd)
 {
 	switch (cmd) {
 	case SPINOR_OP_READ_1_1_4:
+	case SPINOR_OP_READ_1_1_4_4B:
 		return SEQID_READ;
 	case SPINOR_OP_WREN:
 		return SEQID_WREN;
drivers/net/dsa/mv88e6xxx/phy.c +3 -0
index 436668bd50dc..e53ce9610fee 100644
@@ -110,6 +110,9 @@ int mv88e6xxx_phy_page_write(struct mv88e6xxx_chip *chip, int phy,
 	err = mv88e6xxx_phy_page_get(chip, phy, page);
 	if (!err) {
 		err = mv88e6xxx_phy_write(chip, phy, MV88E6XXX_PHY_PAGE, page);
+		if (!err)
+			err = mv88e6xxx_phy_write(chip, phy, reg, val);
+
 		mv88e6xxx_phy_page_put(chip, phy);
 	}
 
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +4 -0
index 90be4385bf36..e238f6e85ab6 100644
@@ -3427,6 +3427,10 @@ static void ixgbevf_tx_csum(struct ixgbevf_ring *tx_ring,
 		skb_checksum_help(skb);
 		goto no_csum;
 	}
+
+	if (first->protocol == htons(ETH_P_IP))
+		type_tucmd |= IXGBE_ADVTXD_TUCMD_IPV4;
+
 	/* update TX checksum flag */
 	first->tx_flags |= IXGBE_TX_FLAGS_CSUM;
 	vlan_macip_lens = skb_checksum_start_offset(skb) -
drivers/net/ethernet/netronome/nfp/nfp_devlink.c +14 -3
index 6c9f29c2e975..90a6c4fbc113 100644
@@ -96,6 +96,7 @@ nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index,
 {
 	struct nfp_pf *pf = devlink_priv(devlink);
 	struct nfp_eth_table_port eth_port;
+	unsigned int lanes;
 	int ret;
 
 	if (count < 2)
@@ -114,8 +115,12 @@ nfp_devlink_port_split(struct devlink *devlink, unsigned int port_index,
 		goto out;
 	}
 
-	ret = nfp_devlink_set_lanes(pf, eth_port.index,
-				    eth_port.port_lanes / count);
+	/* Special case the 100G CXP -> 2x40G split */
+	lanes = eth_port.port_lanes / count;
+	if (eth_port.lanes == 10 && count == 2)
+		lanes = 8 / count;
+
+	ret = nfp_devlink_set_lanes(pf, eth_port.index, lanes);
 out:
 	mutex_unlock(&pf->lock);
 
@@ -127,6 +132,7 @@ nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index)
 {
 	struct nfp_pf *pf = devlink_priv(devlink);
 	struct nfp_eth_table_port eth_port;
+	unsigned int lanes;
 	int ret;
 
 	mutex_lock(&pf->lock);
@@ -142,7 +148,12 @@ nfp_devlink_port_unsplit(struct devlink *devlink, unsigned int port_index)
 		goto out;
 	}
 
-	ret = nfp_devlink_set_lanes(pf, eth_port.index, eth_port.port_lanes);
+	/* Special case the 100G CXP -> 2x40G unsplit */
+	lanes = eth_port.port_lanes;
+	if (eth_port.port_lanes == 8)
+		lanes = 10;
+
+	ret = nfp_devlink_set_lanes(pf, eth_port.index, lanes);
 out:
 	mutex_unlock(&pf->lock);
 
drivers/net/ethernet/qlogic/qla3xxx.c +0 -2
index 2991179c2fd0..080d00520362 100644
@@ -380,8 +380,6 @@ static void fm93c56a_select(struct ql3_adapter *qdev)
 
 	qdev->eeprom_cmd_data = AUBURN_EEPROM_CS_1;
 	ql_write_nvram_reg(qdev, spir, ISP_NVRAM_MASK | qdev->eeprom_cmd_data);
-	ql_write_nvram_reg(qdev, spir,
-			   ((ISP_NVRAM_MASK << 16) | qdev->eeprom_cmd_data));
 }
 
 /*
drivers/net/phy/phylink.c +3 -0
index 79f28b9186c6..70ce7da26d1f 100644
@@ -747,6 +747,9 @@ void phylink_start(struct phylink *pl)
 		    phylink_an_mode_str(pl->link_an_mode),
 		    phy_modes(pl->link_config.interface));
 
+	/* Always set the carrier off */
+	netif_carrier_off(pl->netdev);
+
 	/* Apply the link configuration to the MAC when starting. This allows
 	 * a fixed-link to start with the correct parameters, and also
 	 * ensures that we set the appropriate advertisment for Serdes links.
drivers/net/tun.c +2 -0
index e0baea2dfd3c..7f8c7e3aa356 100644
@@ -1814,6 +1814,8 @@ static void tun_setup(struct net_device *dev)
 static int tun_validate(struct nlattr *tb[], struct nlattr *data[],
 			struct netlink_ext_ack *extack)
 {
+	if (!data)
+		return 0;
 	return -EINVAL;
 }
 
drivers/net/wireless/ath/ath10k/wmi.c +6 -0
index 2ab5311659ea..8cb47858eb00 100644
@@ -1852,6 +1852,12 @@ int ath10k_wmi_cmd_send(struct ath10k *ar, struct sk_buff *skb, u32 cmd_id)
 	if (ret)
 		dev_kfree_skb_any(skb);
 
+	if (ret == -EAGAIN) {
+		ath10k_warn(ar, "wmi command %d timeout, restarting hardware\n",
+			    cmd_id);
+		queue_work(ar->workqueue, &ar->restart_work);
+	}
+
 	return ret;
 }
 
drivers/net/wireless/broadcom/brcm80211/brcmutil/d11.c +33 -1
index d8b79cb72b58..e7584b842dce 100644
@@ -77,6 +77,8 @@ static u16 d11ac_bw(enum brcmu_chan_bw bw)
 		return BRCMU_CHSPEC_D11AC_BW_40;
 	case BRCMU_CHAN_BW_80:
 		return BRCMU_CHSPEC_D11AC_BW_80;
+	case BRCMU_CHAN_BW_160:
+		return BRCMU_CHSPEC_D11AC_BW_160;
 	default:
 		WARN_ON(1);
 	}
@@ -190,8 +192,38 @@ static void brcmu_d11ac_decchspec(struct brcmu_chan *ch)
 			break;
 		}
 		break;
-	case BRCMU_CHSPEC_D11AC_BW_8080:
 	case BRCMU_CHSPEC_D11AC_BW_160:
+		switch (ch->sb) {
+		case BRCMU_CHAN_SB_LLL:
+			ch->control_ch_num -= CH_70MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_LLU:
+			ch->control_ch_num -= CH_50MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_LUL:
+			ch->control_ch_num -= CH_30MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_LUU:
+			ch->control_ch_num -= CH_10MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_ULL:
+			ch->control_ch_num += CH_10MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_ULU:
+			ch->control_ch_num += CH_30MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_UUL:
+			ch->control_ch_num += CH_50MHZ_APART;
+			break;
+		case BRCMU_CHAN_SB_UUU:
+			ch->control_ch_num += CH_70MHZ_APART;
+			break;
+		default:
+			WARN_ON_ONCE(1);
+			break;
+		}
+		break;
+	case BRCMU_CHSPEC_D11AC_BW_8080:
 	default:
 		WARN_ON_ONCE(1);
 		break;
drivers/net/wireless/broadcom/brcm80211/include/brcmu_wifi.h +2 -0
index 7b9a77981df1..75b2a0438cfa 100644
@@ -29,6 +29,8 @@
 #define CH_UPPER_SB			0x01
 #define CH_LOWER_SB			0x02
 #define CH_EWA_VALID			0x04
+#define CH_70MHZ_APART			14
+#define CH_50MHZ_APART			10
 #define CH_30MHZ_APART			6
 #define CH_20MHZ_APART			4
 #define CH_10MHZ_APART			2
drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +6 -3
index db1fab9aa1c6..80a653950e86 100644
@@ -1225,12 +1225,15 @@ void __iwl_mvm_mac_stop(struct iwl_mvm *mvm)
 	iwl_mvm_del_aux_sta(mvm);
 
 	/*
-	 * Clear IN_HW_RESTART flag when stopping the hw (as restart_complete()
-	 * won't be called in this case).
+	 * Clear IN_HW_RESTART and HW_RESTART_REQUESTED flag when stopping the
+	 * hw (as restart_complete() won't be called in this case) and mac80211
+	 * won't execute the restart.
 	 * But make sure to cleanup interfaces that have gone down before/during
 	 * HW restart was requested.
 	 */
-	if (test_and_clear_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status))
+	if (test_and_clear_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status) ||
+	    test_and_clear_bit(IWL_MVM_STATUS_HW_RESTART_REQUESTED,
+			       &mvm->status))
 		ieee80211_iterate_interfaces(mvm->hw, 0,
 					     iwl_mvm_cleanup_iterator, mvm);
 
drivers/net/wireless/intel/iwlwifi/mvm/rs.c +19 -5
index 386fdee23eb0..bd48cd0eb395 100644
@@ -1226,7 +1226,11 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
 	    !(info->flags & IEEE80211_TX_STAT_AMPDU))
 		return;
 
-	rs_rate_from_ucode_rate(tx_resp_hwrate, info->band, &tx_resp_rate);
+	if (rs_rate_from_ucode_rate(tx_resp_hwrate, info->band,
+				    &tx_resp_rate)) {
+		WARN_ON_ONCE(1);
+		return;
+	}
 
 #ifdef CONFIG_MAC80211_DEBUGFS
 	/* Disable last tx check if we are debugging with fixed rate but
@@ -1277,7 +1281,10 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
 	 */
 	table = &lq_sta->lq;
 	lq_hwrate = le32_to_cpu(table->rs_table[0]);
-	rs_rate_from_ucode_rate(lq_hwrate, info->band, &lq_rate);
+	if (rs_rate_from_ucode_rate(lq_hwrate, info->band, &lq_rate)) {
+		WARN_ON_ONCE(1);
+		return;
+	}
 
 	/* Here we actually compare this rate to the latest LQ command */
 	if (lq_color != LQ_FLAG_COLOR_GET(table->flags)) {
@@ -1379,8 +1386,12 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
 		/* Collect data for each rate used during failed TX attempts */
 		for (i = 0; i <= retries; ++i) {
 			lq_hwrate = le32_to_cpu(table->rs_table[i]);
-			rs_rate_from_ucode_rate(lq_hwrate, info->band,
-						&lq_rate);
+			if (rs_rate_from_ucode_rate(lq_hwrate, info->band,
+						    &lq_rate)) {
+				WARN_ON_ONCE(1);
+				return;
+			}
+
 			/*
 			 * Only collect stats if retried rate is in the same RS
 			 * table as active/search.
@@ -3244,7 +3255,10 @@ static void rs_build_rates_table_from_fixed(struct iwl_mvm *mvm,
 	for (i = 0; i < num_rates; i++)
 		lq_cmd->rs_table[i] = ucode_rate_le32;
 
-	rs_rate_from_ucode_rate(ucode_rate, band, &rate);
+	if (rs_rate_from_ucode_rate(ucode_rate, band, &rate)) {
+		WARN_ON_ONCE(1);
+		return;
+	}
 
 	if (is_mimo(&rate))
 		lq_cmd->mimo_delim = num_rates - 1;
drivers/net/wireless/intel/iwlwifi/mvm/tx.c +5 -4
index 6c014c273922..62a6e293cf12 100644
@@ -1345,6 +1345,7 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
 	while (!skb_queue_empty(&skbs)) {
 		struct sk_buff *skb = __skb_dequeue(&skbs);
 		struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
+		struct ieee80211_hdr *hdr = (void *)skb->data;
 		bool flushed = false;
 
 		skb_freed++;
@@ -1389,11 +1390,11 @@ static void iwl_mvm_rx_tx_cmd_single(struct iwl_mvm *mvm,
 			info->flags |= IEEE80211_TX_STAT_AMPDU_NO_BACK;
 		info->flags &= ~IEEE80211_TX_CTL_AMPDU;
 
-		/* W/A FW bug: seq_ctl is wrong when the status isn't success */
-		if (status != TX_STATUS_SUCCESS) {
-			struct ieee80211_hdr *hdr = (void *)skb->data;
+		/* W/A FW bug: seq_ctl is wrong upon failure / BAR frame */
+		if (ieee80211_is_back_req(hdr->frame_control))
+			seq_ctl = 0;
+		else if (status != TX_STATUS_SUCCESS)
 			seq_ctl = le16_to_cpu(hdr->seq_ctrl);
-		}
 
 		if (unlikely(!seq_ctl)) {
 			struct ieee80211_hdr *hdr = (void *)skb->data;
drivers/net/wireless/intel/iwlwifi/pcie/rx.c +21 -11
index ca99c3cf41c2..5a15362ef671 100644
@@ -1049,6 +1049,14 @@ void iwl_pcie_rx_free(struct iwl_trans *trans)
 	kfree(trans_pcie->rxq);
 }
 
+static void iwl_pcie_rx_move_to_allocator(struct iwl_rxq *rxq,
+					  struct iwl_rb_allocator *rba)
+{
+	spin_lock(&rba->lock);
+	list_splice_tail_init(&rxq->rx_used, &rba->rbd_empty);
+	spin_unlock(&rba->lock);
+}
+
 /*
  * iwl_pcie_rx_reuse_rbd - Recycle used RBDs
  *
@@ -1080,9 +1088,7 @@ static void iwl_pcie_rx_reuse_rbd(struct iwl_trans *trans,
 	if ((rxq->used_count % RX_CLAIM_REQ_ALLOC) == RX_POST_REQ_ALLOC) {
 		/* Move the 2 RBDs to the allocator ownership.
 		 Allocator has another 6 from pool for the request completion*/
-		spin_lock(&rba->lock);
-		list_splice_tail_init(&rxq->rx_used, &rba->rbd_empty);
-		spin_unlock(&rba->lock);
+		iwl_pcie_rx_move_to_allocator(rxq, rba);
 
 		atomic_inc(&rba->req_pending);
 		queue_work(rba->alloc_wq, &rba->rx_alloc);
@@ -1260,10 +1266,18 @@ static void iwl_pcie_rx_handle(struct iwl_trans *trans, int queue)
 		IWL_DEBUG_RX(trans, "Q %d: HW = SW = %d\n", rxq->id, r);
 
 	while (i != r) {
+		struct iwl_rb_allocator *rba = &trans_pcie->rba;
 		struct iwl_rx_mem_buffer *rxb;
-
-		if (unlikely(rxq->used_count == rxq->queue_size / 2))
+		/* number of RBDs still waiting for page allocation */
+		u32 rb_pending_alloc =
+			atomic_read(&trans_pcie->rba.req_pending) *
+			RX_CLAIM_REQ_ALLOC;
+
+		if (unlikely(rb_pending_alloc >= rxq->queue_size / 2 &&
+			     !emergency)) {
+			iwl_pcie_rx_move_to_allocator(rxq, rba);
 			emergency = true;
+		}
 
 		if (trans->cfg->mq_rx_supported) {
 			/*
@@ -1306,17 +1320,13 @@ static void iwl_pcie_rx_handle(struct iwl_trans *trans, int queue)
 			iwl_pcie_rx_allocator_get(trans, rxq);
 
 		if (rxq->used_count % RX_CLAIM_REQ_ALLOC == 0 && !emergency) {
-			struct iwl_rb_allocator *rba = &trans_pcie->rba;
-
 			/* Add the remaining empty RBDs for allocator use */
-			spin_lock(&rba->lock);
-			list_splice_tail_init(&rxq->rx_used, &rba->rbd_empty);
-			spin_unlock(&rba->lock);
+			iwl_pcie_rx_move_to_allocator(rxq, rba);
 		} else if (emergency) {
 			count++;
 			if (count == 8) {
 				count = 0;
-				if (rxq->used_count < rxq->queue_size / 3)
+				if (rb_pending_alloc < rxq->queue_size / 3)
 					emergency = false;
 
 				rxq->read = i;
drivers/net/wireless/marvell/libertas/if_usb.c +0 -2
index 16e54c757dd0..e4ae2b5a71c2 100644
@@ -456,8 +456,6 @@ static int __if_usb_submit_rx_urb(struct if_usb_card *cardp,
 			  MRVDRV_ETH_RX_PACKET_BUFFER_SIZE, callbackfn,
 			  cardp);
 
-	cardp->rx_urb->transfer_flags |= URB_ZERO_PACKET;
-
 	lbs_deb_usb2(&cardp->udev->dev, "Pointer for rx_urb %p\n", cardp->rx_urb);
 	if ((ret = usb_submit_urb(cardp->rx_urb, GFP_ATOMIC))) {
 		lbs_deb_usbd(&cardp->udev->dev, "Submit Rx URB failed: %d\n", ret);
drivers/nvdimm/bus.c +4 -0
index fb5ab5812a22..a6746a1f20ae 100644
@@ -484,6 +484,8 @@ static void nd_async_device_register(void *d, async_cookie_t cookie)
 		put_device(dev);
 	}
 	put_device(dev);
+	if (dev->parent)
+		put_device(dev->parent);
 }
 
 static void nd_async_device_unregister(void *d, async_cookie_t cookie)
@@ -503,6 +505,8 @@ void __nd_device_register(struct device *dev)
 	if (!dev)
 		return;
 	dev->bus = &nvdimm_bus_type;
+	if (dev->parent)
+		get_device(dev->parent);
 	get_device(dev);
 	async_schedule_domain(nd_async_device_register, dev,
 			&nd_async_domain);
drivers/nvdimm/region_devs.c +9 -2
index abaf38c61220..050deb56ee62 100644
@@ -513,10 +513,17 @@ static ssize_t region_badblocks_show(struct device *dev,
 		struct device_attribute *attr, char *buf)
 {
 	struct nd_region *nd_region = to_nd_region(dev);
+	ssize_t rc;
 
-	return badblocks_show(&nd_region->bb, buf, 0);
-}
+	device_lock(dev);
+	if (dev->driver)
+		rc = badblocks_show(&nd_region->bb, buf, 0);
+	else
+		rc = -ENXIO;
+	device_unlock(dev);
 
+	return rc;
+}
 static DEVICE_ATTR(badblocks, 0444, region_badblocks_show, NULL);
 
 static ssize_t resource_show(struct device *dev,
drivers/pci/dwc/pci-dra7xx.c +8 -3
index 362607f727ee..06eae132aff7 100644
@@ -546,7 +546,7 @@ static const struct of_device_id of_dra7xx_pcie_match[] = {
 };
 
 /*
- * dra7xx_pcie_ep_unaligned_memaccess: workaround for AM572x/AM571x Errata i870
+ * dra7xx_pcie_unaligned_memaccess: workaround for AM572x/AM571x Errata i870
  * @dra7xx: the dra7xx device where the workaround should be applied
  *
  * Access to the PCIe slave port that are not 32-bit aligned will result
@@ -556,7 +556,7 @@ static const struct of_device_id of_dra7xx_pcie_match[] = {
  *
  * To avoid this issue set PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE to 1.
  */
-static int dra7xx_pcie_ep_unaligned_memaccess(struct device *dev)
+static int dra7xx_pcie_unaligned_memaccess(struct device *dev)
 {
 	int ret;
 	struct device_node *np = dev->of_node;
@@ -707,6 +707,11 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
 	case DW_PCIE_RC_TYPE:
 		dra7xx_pcie_writel(dra7xx, PCIECTRL_TI_CONF_DEVICE_TYPE,
 				   DEVICE_TYPE_RC);
+
+		ret = dra7xx_pcie_unaligned_memaccess(dev);
+		if (ret)
+			dev_err(dev, "WA for Errata i870 not applied\n");
+
 		ret = dra7xx_add_pcie_port(dra7xx, pdev);
 		if (ret < 0)
 			goto err_gpio;
@@ -715,7 +720,7 @@ static int __init dra7xx_pcie_probe(struct platform_device *pdev)
 		dra7xx_pcie_writel(dra7xx, PCIECTRL_TI_CONF_DEVICE_TYPE,
 				   DEVICE_TYPE_EP);
 
-		ret = dra7xx_pcie_ep_unaligned_memaccess(dev);
+		ret = dra7xx_pcie_unaligned_memaccess(dev);
 		if (ret)
 			goto err_gpio;
 
drivers/pci/host/pcie-mediatek.c +11 -0
index db93efdf1d63..c896bb9ef968 100644
@@ -333,6 +333,17 @@ static struct mtk_pcie_port *mtk_pcie_find_port(struct pci_bus *bus,
 {
 	struct mtk_pcie *pcie = bus->sysdata;
 	struct mtk_pcie_port *port;
+	struct pci_dev *dev = NULL;
+
+	/*
+	 * Walk the bus hierarchy to get the devfn value
+	 * of the port in the root bus.
+	 */
+	while (bus && bus->number) {
+		dev = bus->self;
+		bus = dev->bus;
+		devfn = dev->devfn;
+	}
 
 	list_for_each_entry(port, &pcie->ports, list)
 		if (port->slot == PCI_SLOT(devfn))
drivers/pci/host/vmd.c +12 -1
index 509893bc3e63..2537b022f42d 100644
@@ -183,9 +183,20 @@ static struct vmd_irq_list *vmd_next_irq(struct vmd_dev *vmd, struct msi_desc *d
 	int i, best = 1;
 	unsigned long flags;
 
-	if (pci_is_bridge(msi_desc_to_pci_dev(desc)) || vmd->msix_count == 1)
+	if (vmd->msix_count == 1)
 		return &vmd->irqs[0];
 
+	/*
+	 * White list for fast-interrupt handlers. All others will share the
+	 * "slow" interrupt vector.
+	 */
+	switch (msi_desc_to_pci_dev(desc)->class) {
+	case PCI_CLASS_STORAGE_EXPRESS:
+		break;
+	default:
+		return &vmd->irqs[0];
+	}
+
 	raw_spin_lock_irqsave(&list_lock, flags);
 	for (i = 1; i < vmd->msix_count; i++)
 		if (vmd->irqs[i].count < vmd->irqs[best].count)
drivers/pci/msi.c +6 -3
index 496ed9130600..536e9a5cd2b1 100644
@@ -958,7 +958,6 @@ static int __pci_enable_msix(struct pci_dev *dev, struct msix_entry *entries,
 			}
 		}
 	}
-	WARN_ON(!!dev->msix_enabled);
 
 	/* Check whether driver already requested for MSI irq */
 	if (dev->msi_enabled) {
@@ -1028,8 +1027,6 @@ static int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec,
 	if (!pci_msi_supported(dev, minvec))
 		return -EINVAL;
 
-	WARN_ON(!!dev->msi_enabled);
-
 	/* Check whether driver already requested MSI-X irqs */
 	if (dev->msix_enabled) {
 		dev_info(&dev->dev,
@@ -1040,6 +1037,9 @@ static int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec,
 	if (maxvec < minvec)
 		return -ERANGE;
 
+	if (WARN_ON_ONCE(dev->msi_enabled))
+		return -EINVAL;
+
 	nvec = pci_msi_vec_count(dev);
 	if (nvec < 0)
 		return nvec;
@@ -1088,6 +1088,9 @@ static int __pci_enable_msix_range(struct pci_dev *dev,
 	if (maxvec < minvec)
 		return -ERANGE;
 
+	if (WARN_ON_ONCE(dev->msix_enabled))
+		return -EINVAL;
+
 	for (;;) {
 		if (affd) {
 			nvec = irq_calc_affinity_vectors(minvec, nvec, affd);
drivers/pci/pci-acpi.c +15 -1
index 4708eb9df71b..a3cedf8de863 100644
@@ -738,19 +738,33 @@ static void pci_acpi_setup(struct device *dev)
 		return;
 
 	device_set_wakeup_capable(dev, true);
+	/*
+	 * For bridges that can do D3 we enable wake automatically (as
+	 * we do for the power management itself in that case). The
+	 * reason is that the bridge may have additional methods such as
+	 * _DSW that need to be called.
+	 */
+	if (pci_dev->bridge_d3)
+		device_wakeup_enable(dev);
+
 	acpi_pci_wakeup(pci_dev, false);
 }
 
 static void pci_acpi_cleanup(struct device *dev)
 {
 	struct acpi_device *adev = ACPI_COMPANION(dev);
+	struct pci_dev *pci_dev = to_pci_dev(dev);
 
 	if (!adev)
 		return;
 
 	pci_acpi_remove_pm_notifier(adev);
-	if (adev->wakeup.flags.valid)
+	if (adev->wakeup.flags.valid) {
+		if (pci_dev->bridge_d3)
+			device_wakeup_disable(dev);
+
 		device_set_wakeup_capable(dev, false);
+	}
 }
 
 static bool pci_acpi_bus_match(struct device *dev)
drivers/pci/pcie/aspm.c +1 -1
index 633e55c57b13..c0e1985e4c75 100644
@@ -937,7 +937,7 @@ void pcie_aspm_exit_link_state(struct pci_dev *pdev)
 	 * All PCIe functions are in one slot, remove one function will remove
 	 * the whole slot, so just wait until we are the last function left.
 	 */
-	if (!list_is_last(&pdev->bus_list, &parent->subordinate->devices))
+	if (!list_empty(&parent->subordinate->devices))
 		goto out;
 
 	link = parent->link_state;
drivers/pci/quirks.c +4 -0
index 35c9b2f4b293..d442afa195ab 100644
@@ -3163,7 +3163,11 @@ static void disable_igfx_irq(struct pci_dev *dev)
 
 	pci_iounmap(dev, regs);
 }
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0042, disable_igfx_irq);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0046, disable_igfx_irq);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x004a, disable_igfx_irq);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0102, disable_igfx_irq);
+DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0106, disable_igfx_irq);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq);
 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x0152, disable_igfx_irq);
 
drivers/pci/remove.c +1 -3
index 2fa0dbde36b7..0911217467bc 100644
@@ -24,9 +24,6 @@ static void pci_stop_dev(struct pci_dev *dev)
 		pci_remove_sysfs_dev_files(dev);
 		dev->is_added = 0;
 	}
-
-	if (dev->bus->self)
-		pcie_aspm_exit_link_state(dev);
 }
 
 static void pci_destroy_dev(struct pci_dev *dev)
@@ -40,6 +37,7 @@ static void pci_destroy_dev(struct pci_dev *dev)
 	list_del(&dev->bus_list);
 	up_write(&pci_bus_sem);
 
+	pcie_aspm_exit_link_state(dev);
 	pci_bridge_d3_update(dev);
 	pci_free_resources(dev);
 	put_device(&dev->dev);
drivers/pcmcia/ricoh.h +35 -0
index 01098c841f87..8ac7b138c094 100644
@@ -119,6 +119,10 @@
 #define  RL5C4XX_MISC_CONTROL           0x2F /* 8 bit */
 #define  RL5C4XX_ZV_ENABLE              0x08
 
+/* Misc Control 3 Register */
+#define RL5C4XX_MISC3			0x00A2 /* 16 bit */
+#define  RL5C47X_MISC3_CB_CLKRUN_DIS	BIT(1)
+
 #ifdef __YENTA_H
 
 #define rl_misc(socket)		((socket)->private[0])
@@ -156,6 +160,35 @@ static void ricoh_set_zv(struct yenta_socket *socket)
         }
 }
 
+static void ricoh_set_clkrun(struct yenta_socket *socket, bool quiet)
+{
+	u16 misc3;
+
+	/*
+	 * RL5C475II likely has this setting, too, however no datasheet
+	 * is publicly available for this chip
+	 */
+	if (socket->dev->device != PCI_DEVICE_ID_RICOH_RL5C476 &&
+	    socket->dev->device != PCI_DEVICE_ID_RICOH_RL5C478)
+		return;
+
+	if (socket->dev->revision < 0x80)
+		return;
+
+	misc3 = config_readw(socket, RL5C4XX_MISC3);
+	if (misc3 & RL5C47X_MISC3_CB_CLKRUN_DIS) {
+		if (!quiet)
+			dev_dbg(&socket->dev->dev,
+				"CLKRUN feature already disabled\n");
+	} else if (disable_clkrun) {
+		if (!quiet)
+			dev_info(&socket->dev->dev,
+				 "Disabling CLKRUN feature\n");
+		misc3 |= RL5C47X_MISC3_CB_CLKRUN_DIS;
+		config_writew(socket, RL5C4XX_MISC3, misc3);
+	}
+}
+
 static void ricoh_save_state(struct yenta_socket *socket)
 {
 	rl_misc(socket) = config_readw(socket, RL5C4XX_MISC);
@@ -172,6 +205,7 @@ static void ricoh_restore_state(struct yenta_socket *socket)
 	config_writew(socket, RL5C4XX_16BIT_IO_0, rl_io(socket));
 	config_writew(socket, RL5C4XX_16BIT_MEM_0, rl_mem(socket));
 	config_writew(socket, RL5C4XX_CONFIG, rl_config(socket));
+	ricoh_set_clkrun(socket, true);
 }
 
 
@@ -197,6 +231,7 @@ static int ricoh_override(struct yenta_socket *socket)
 	config_writew(socket, RL5C4XX_CONFIG, config);
 
 	ricoh_set_zv(socket);
+	ricoh_set_clkrun(socket, false);
 
 	return 0;
 }
drivers/pcmcia/yenta_socket.c +2 -1
index 5d6d9b1549bc..5034422a1d96 100644
@@ -26,7 +26,8 @@
 
 static bool disable_clkrun;
 module_param(disable_clkrun, bool, 0444);
-MODULE_PARM_DESC(disable_clkrun, "If PC card doesn't function properly, please try this option");
+MODULE_PARM_DESC(disable_clkrun,
+		 "If PC card doesn't function properly, please try this option (TI and Ricoh bridges only)");
 
 static bool isa_probe = 1;
 module_param(isa_probe, bool, 0444);
drivers/pinctrl/qcom/pinctrl-spmi-mpp.c +19 -8
index 6556dbeae65e..ac251c62bc66 100644
@@ -319,6 +319,8 @@ static int pmic_mpp_set_mux(struct pinctrl_dev *pctldev, unsigned function,
 	pad->function = function;
 
 	ret = pmic_mpp_write_mode_ctl(state, pad);
+	if (ret < 0)
+		return ret;
 
 	val = pad->is_enabled << PMIC_MPP_REG_MASTER_EN_SHIFT;
 
@@ -343,13 +345,12 @@ static int pmic_mpp_config_get(struct pinctrl_dev *pctldev,
 
 	switch (param) {
 	case PIN_CONFIG_BIAS_DISABLE:
-		arg = pad->pullup == PMIC_MPP_PULL_UP_OPEN;
+		if (pad->pullup != PMIC_MPP_PULL_UP_OPEN)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_BIAS_PULL_UP:
 		switch (pad->pullup) {
-		case PMIC_MPP_PULL_UP_OPEN:
-			arg = 0;
-			break;
 		case PMIC_MPP_PULL_UP_0P6KOHM:
 			arg = 600;
 			break;
@@ -364,13 +365,17 @@ static int pmic_mpp_config_get(struct pinctrl_dev *pctldev,
 		}
 		break;
 	case PIN_CONFIG_BIAS_HIGH_IMPEDANCE:
-		arg = !pad->is_enabled;
+		if (pad->is_enabled)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_POWER_SOURCE:
 		arg = pad->power_source;
 		break;
 	case PIN_CONFIG_INPUT_ENABLE:
-		arg = pad->input_enabled;
+		if (!pad->input_enabled)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_OUTPUT:
 		arg = pad->out_value;
@@ -382,7 +387,9 @@ static int pmic_mpp_config_get(struct pinctrl_dev *pctldev,
 		arg = pad->amux_input;
 		break;
 	case PMIC_MPP_CONF_PAIRED:
-		arg = pad->paired;
+		if (!pad->paired)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_DRIVE_STRENGTH:
 		arg = pad->drive_strength;
@@ -455,7 +462,7 @@ static int pmic_mpp_config_set(struct pinctrl_dev *pctldev, unsigned int pin,
 			pad->dtest = arg;
 			break;
 		case PIN_CONFIG_DRIVE_STRENGTH:
-			arg = pad->drive_strength;
+			pad->drive_strength = arg;
 			break;
 		case PMIC_MPP_CONF_AMUX_ROUTE:
 			if (arg >= PMIC_MPP_AMUX_ROUTE_ABUS4)
@@ -502,6 +509,10 @@ static int pmic_mpp_config_set(struct pinctrl_dev *pctldev, unsigned int pin,
 	if (ret < 0)
 		return ret;
 
+	ret = pmic_mpp_write(state, pad, PMIC_MPP_REG_SINK_CTL, pad->drive_strength);
+	if (ret < 0)
+		return ret;
+
 	val = pad->is_enabled << PMIC_MPP_REG_MASTER_EN_SHIFT;
 
 	return pmic_mpp_write(state, pad, PMIC_MPP_REG_EN_CTL, val);
drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c +21 -7
index f53e32a9d8fc..0e153bae322e 100644
@@ -260,22 +260,32 @@ static int pm8xxx_pin_config_get(struct pinctrl_dev *pctldev,
 
 	switch (param) {
 	case PIN_CONFIG_BIAS_DISABLE:
-		arg = pin->bias == PM8XXX_GPIO_BIAS_NP;
+		if (pin->bias != PM8XXX_GPIO_BIAS_NP)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_BIAS_PULL_DOWN:
-		arg = pin->bias == PM8XXX_GPIO_BIAS_PD;
+		if (pin->bias != PM8XXX_GPIO_BIAS_PD)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_BIAS_PULL_UP:
-		arg = pin->bias <= PM8XXX_GPIO_BIAS_PU_1P5_30;
+		if (pin->bias > PM8XXX_GPIO_BIAS_PU_1P5_30)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PM8XXX_QCOM_PULL_UP_STRENGTH:
 		arg = pin->pull_up_strength;
 		break;
 	case PIN_CONFIG_BIAS_HIGH_IMPEDANCE:
-		arg = pin->disable;
+		if (!pin->disable)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_INPUT_ENABLE:
-		arg = pin->mode == PM8XXX_GPIO_MODE_INPUT;
+		if (pin->mode != PM8XXX_GPIO_MODE_INPUT)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_OUTPUT:
 		if (pin->mode & PM8XXX_GPIO_MODE_OUTPUT)
@@ -290,10 +300,14 @@ static int pm8xxx_pin_config_get(struct pinctrl_dev *pctldev,
 		arg = pin->output_strength;
 		break;
 	case PIN_CONFIG_DRIVE_PUSH_PULL:
-		arg = !pin->open_drain;
+		if (pin->open_drain)
+			return -EINVAL;
+		arg = 1;
 		break;
 	case PIN_CONFIG_DRIVE_OPEN_DRAIN:
-		arg = pin->open_drain;
+		if (!pin->open_drain)
+			return -EINVAL;
+		arg = 1;
 		break;
 	default:
 		return -EINVAL;
drivers/rpmsg/qcom_smd.c +5 -2
index f1a2147a6d84..72d02bfeda9e 100644
@@ -1049,8 +1049,10 @@ static struct qcom_smd_channel *qcom_smd_create_channel(struct qcom_smd_edge *ed
 
 	channel->edge = edge;
[… more lines in the raw message]

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

drivers/scsi/esp_scsi.c +1 -0
index c3fc34b9964d..9e5d3f7d29ae 100644

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

drivers/scsi/esp_scsi.h +2 -0
index 8163dca2071b..a77772777a30 100644

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

drivers/scsi/lpfc/lpfc_scsi.c +11 -3
index 1a6f122bb25d..4ade13d72deb 100644

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

drivers/scsi/lpfc/lpfc_sli.c +7 -0
index dc83498024dc..24b6e56f6e97 100644

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

drivers/scsi/mac_esp.c +2 -0
index eb551f3cc471..71879f2207e0 100644

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

drivers/scsi/megaraid/megaraid_sas_base.c +3 -0
index d55c365be238..d0abee3e6ed9 100644

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

drivers/soc/tegra/pmc.c +1 -1
index 0453ff6839a7..7e9ef3431bea 100644

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

drivers/spi/spi-bcm-qspi.c +1 -1
index 6573152ce893..0316fae20cfe 100644

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

drivers/spi/spi-ep93xx.c +25 -11
index e5cc07357746..ce28c910ee48 100644

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

drivers/tc/tc.c +7 -1
index 3be9519654e5..cf3fad2cb871 100644

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

drivers/thermal/da9062-thermal.c +2 -2
index dd8dd947b7f0..01b0cb994457 100644

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

drivers/tty/serial/kgdboc.c +5 -0
index a260cde743e2..2db68dfe497d 100644

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

drivers/uio/uio.c +9 -0
index 41784798c789..0a730136646d 100644

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

drivers/usb/chipidea/otg.h +2 -1
index 9ecb598e48f0..a5557c70034a 100644

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

drivers/usb/gadget/udc/atmel_usba_udc.c +2 -0
index a884c022df7a..cb66f982c313 100644

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

drivers/usb/gadget/udc/renesas_usb3.c +3 -0
index 36a706f475d2..ade0723787e5 100644

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

drivers/usb/host/ohci-at91.c +2 -0
index 5302f988e7e6..e0ebd3d513c6 100644

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

drivers/usb/usbip/vudc_main.c +9 -1
index 9e655714e389..916e2eefc886 100644

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

drivers/w1/masters/omap_hdq.c +2 -0
index 83fc9aab34e8..3099052e1243 100644

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

drivers/xen/swiotlb-xen.c +6 -0
index f98b8c135db9..95dbee89b758 100644

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

drivers/xen/xen-balloon.c +8 -5
index 294f35ce9e46..cf8ef8cee5a0 100644

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

fs/btrfs/extent-tree.c +81 -32

113 lines not on this page · raw message

fs/btrfs/file.c +12 -0
index 5690feded0de..57e25e83b81a 100644

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

fs/btrfs/free-space-cache.c +32 -10

42 lines not on this page · raw message

fs/btrfs/inode.c +13 -2
index e8bfafa25a71..90568a21fa77 100644

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

fs/btrfs/ioctl.c +7 -4
index a507c0d25354..9333e4cda68d 100644

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

fs/btrfs/qgroup.c +5 -0
index 47dec283628d..d6d6e9593e39 100644

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

fs/btrfs/qgroup.h +2 -0
index d9984e87cddf..83483ade3b19 100644

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

fs/btrfs/relocation.c +1 -1
index b80b03e0c5d3..eeae2c3ab17e 100644

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

fs/btrfs/transaction.c +0 -9
index 27638b96079d..f74005ca8f08 100644

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

fs/btrfs/tree-log.c +97 -19

116 lines not on this page · raw message

fs/cifs/cifs_debug.c +3 -0
index 2565cee702e4..106a715101f9 100644

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

fs/cifs/cifs_spnego.c +4 -2
index b611fc2e8984..7f01c6e60791 100644

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

fs/cifs/inode.c +9 -1
index d01cbca84701..a90a637ae79a 100644

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

fs/cramfs/inode.c +2 -1
index 7919967488cb..011c6f53dcda 100644

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

fs/ext4/ext4.h +2 -1
index c96778c39885..c0c6562b3c44 100644

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

fs/ext4/inline.c +1 -1
index 4e1d62ba0703..ac2e0516c16f 100644

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

fs/ext4/ioctl.c +40 -24

64 lines not on this page · raw message

fs/ext4/move_extent.c +6 -2
index 9bb36909ec92..cd8d481e0c48 100644

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

fs/ext4/super.c +48 -25

73 lines not on this page · raw message

fs/f2fs/data.c +2 -6
index e10bd73f0723..6fbb6d75318a 100644

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

fs/f2fs/recovery.c +1 -0
index 9626758bc762..765fadf954af 100644

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

fs/f2fs/super.c +16 -3
index eae35909fa51..7cda685296b2 100644

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

fs/gfs2/ops_fstype.c +3 -0
index a3711f543405..28d6c65c8bb3 100644

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

fs/jbd2/checkpoint.c +2 -2
index 4055f51617ef..fe4fe155b7fb 100644

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

fs/jffs2/super.c +1 -3
index 33e01de576d2..bc00cc385b77 100644

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

fs/lockd/host.c +1 -1
index 0d4e590e0549..c4504ed9f680 100644

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

fs/nfs/nfs4client.c +9 -7
index fb85d04fdc4c..fed9c8005c17 100644

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

fs/nfs/pagelist.c +21 -19
index d0543e19098a..37f20d7a26ed 100644

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

fs/proc/task_mmu.c +3 -1
index 519522d39bde..2b47757c9c68 100644

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

include/linux/compat.h +3 -0
index 3e838a828459..23909d12f729 100644

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

include/linux/signal.h +1 -1
index 042968dd98f0..843bd62b1ead 100644

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

include/linux/tc.h +1 -0
index f92511e57cdb..a60639f37963 100644

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

include/uapi/linux/ndctl.h +21 -27

48 lines not on this page · raw message

kernel/bounds.c +3 -1
index c373e887c066..9795d75b09b2 100644

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

kernel/bpf/syscall.c +13 -0
index ea22d0b6a9f0..5c9deed4524e 100644

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

kernel/cpu.c +10 -1
index f3f389e33343..90cf6a04e08a 100644

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

kernel/irq/manage.c +6 -2
index 069311541577..4cd85870f00e 100644

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

kernel/kprobes.c +20 -7
index 5c90765d37e7..5cbad4fb9107 100644

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

kernel/locking/lockdep.c +2 -2
index d7c155048ea9..bf694c709b96 100644

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

kernel/printk/printk.c +6 -1
index f0223a7d9ed1..7161312593dd 100644

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

kernel/sched/fair.c +1 -1
index 19bfa21f7197..2d4d79420e36 100644

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

kernel/signal.c +11 -7
index 4439ba9dc5d9..164c36ef0825 100644

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

lib/debug_locks.c +1 -1
index 96c4c633d95e..124fdf238b3d 100644

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

mm/hugetlb.c +6 -0
index 9801dc0250e2..e073099083ca 100644

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

mm/page_vma_mapped.c +23 -1
index 956015614395..e00d985a51c5 100644

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

net/core/netclassid_cgroup.c +1 -0
index 5e4f04004a49..7bf833598615 100644

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

net/ipv4/cipso_ipv4.c +7 -4
index 82178cc69c96..777fa3b7fb13 100644

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

net/sched/sch_api.c +0 -1
index 691ca96f7460..7b4270987ac1 100644

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

net/sunrpc/svc_xprt.c +1 -1
index d16a8b423c20..ea7b5a3a53f0 100644

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

net/xfrm/xfrm_policy.c +4 -4
index 37c32e73aaef..70ec57b887f6 100644

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

security/integrity/ima/ima_fs.c +3 -3
index ad491c51e833..2c4e83f6409e 100644

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

sound/pci/ca0106/ca0106.h +1 -1
index 04402c14cb23..9847b669cf3c 100644

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

sound/pci/hda/hda_controller.h +1 -0
index a68e75b00ea3..53c3cd28bc99 100644

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

sound/pci/hda/hda_intel.c +8 -3
index 873d9824fbcf..4e38905bc47d 100644

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

sound/pci/hda/patch_conexant.c +1 -0
index 16197ad4512a..0cc0ced1f2ed 100644

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

sound/pci/hda/patch_realtek.c +26 -0
index fe5c741fcc6a..eb8807de3ebc 100644

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

sound/soc/intel/skylake/skl-topology.c +1 -0
index 22f768ca3c73..b45c1ae60f94 100644

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

tools/perf/Makefile.config +1 -1
index 63f534a0902f..f362ee46506a 100644

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

tools/perf/pmu-events/arch/x86/ivytown/uncore-power.json +8 -8
index d40498f2cb1e..635c09fda1d9 100644

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

tools/perf/pmu-events/arch/x86/jaketown/uncore-power.json +8 -8
index 16034bfd06dd..8755693d86c6 100644

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

tools/perf/util/event.c +1 -0
index fc690fecbfd6..a19e840db54a 100644

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

tools/perf/util/pmu.c +7 -6
index d87d458996b7..dceef4725d33 100644

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

tools/perf/util/strbuf.c +8 -2
index 3d1cf5bf7f18..9005fbe0780e 100644

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

tools/perf/util/trace-event-info.c +2 -0
index 8f3b7ef221f2..71a5b4863707 100644

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

tools/perf/util/trace-event-read.c +4 -1
index 8a9a677f7576..6bfd690d63d9 100644

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

tools/power/cpupower/utils/cpufreq-info.c +2 -0
index 3e701f0e9c14..5853faa9daf3 100644

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

tools/power/cpupower/utils/helpers/amd.c +6 -1
index bb41cdd0df6b..9607ada5b29a 100644

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

tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-syntax.tc new file +80 -0

80 lines not on this page · raw message

tools/testing/selftests/net/reuseport_bpf.c +9 -4
index cad14cd0ea92..b5277106df1f 100644

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

tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c +2 -2
index 327fa943c7f3..dbdffa2e2c82 100644

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

virt/kvm/arm/arm.c +2 -2
index d5f1d8364571..ed42b8cf6f5b 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.