Merge LTS tag v4.18-rc8 into msm-kona

* refs/heads/tmp-1ffaddd
  Linux 4.18-rc8
  Partially revert "block: fail op_is_write() requests to read-only partitions"
  netlink: Don't shift on 64 for ngroups
  net/smc: no cursor update send in state SMC_INIT
  jfs: Fix usercopy whitelist for inline inode data
  l2tp: fix missing refcount drop in pppol2tp_tunnel_ioctl()
  mlxsw: core_acl_flex_actions: Remove redundant mirror resource destruction
  mlxsw: core_acl_flex_actions: Remove redundant counter destruction
  mlxsw: core_acl_flex_actions: Remove redundant resource destruction
  mlxsw: core_acl_flex_actions: Return error for conflicting actions
  nohz: Fix missing tick reprogram when interrupting an inline softirq
  genirq: Make force irq threading setup more robust
  selftests/bpf: update test_lwt_seg6local.sh according to iproute2
  userfaultfd: remove uffd flags from vma->vm_flags if UFFD_EVENT_FORK fails
  ipc/shm.c add ->pagesize function to shm_vm_ops
  memcg: remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure
  drivers: net: lmc: fix case value for target abort error
  blk-mq: fix blk_mq_tagset_busy_iter
  fs: fix iomap_bmap position calculation
  selftest/net: fix protocol family to work for IPv4.
  Squashfs: Compute expected length from inode size rather than block length
  squashfs: more metadata hardening
  x86/boot/compressed/64: Validate trampoline placement against E820
  Revert "net/ipv6: fix metrics leak"
  NFSv4: Fix _nfs4_do_setlk()
  mm: do not initialize TLB stack vma's with vma_init()
  mm: delete historical BUG from zap_pmd_range()
  rxrpc: Fix user call ID check in rxrpc_service_prealloc_one
  squashfs metadata 2: electric boogaloo
  staging: ashmem: Fix SIGBUS crash when traversing mmaped ashmem pages
  ia64: mark special ia64 memory areas anonymous
  net: dsa: Do not suspend/resume closed slave_dev
  netlink: Fix spectre v1 gadget in netlink_create()
  Documentation: dpaa2: Use correct heading adornment
  net: stmmac: Fix WoL for PCI-based setups
  bonding: avoid lockdep confusion in bond_get_stats()
  powerpc/64s/radix: Fix missing global invalidations when removing copro
  enic: do not call enic_change_mtu in enic_probe
  ipv4: frags: handle possible skb truesize change
  inet: frag: enforce memory limits earlier
  nohz: Fix local_timer_softirq_pending()
  net/mlx5e: IPoIB, Set the netdevice sw mtu in ipoib enhanced flow
  net/mlx5e: Fix null pointer access when setting MTU of vport representor
  net/mlx5e: Set port trust mode to PCP as default
  net/mlx5e: E-Switch, Initialize eswitch only if eswitch manager
  net: dsa: mv88e6xxx: Fix SERDES support on 88E6141/6341
  PCI: Fix is_added/is_busmaster race condition
  crypto/arm64: aes-ce-gcm - add missing kernel_neon_begin/end pair
  cpufreq: intel_pstate: Limit the scope of HWP dynamic boost platforms
  perf/x86/intel/uncore: Fix hardcoded index of Broadwell extra PCI devices
  squashfs: more metadata hardening
  net: xsk: don't return frames via the allocator on error
  tools/bpftool: fix a percpu_array map dump problem
  audit: fix potential null dereference 'context->module.name'
  sparc: use asm-generic version of msi.h
  sparc: move MSI related definitions to where they are used
  sparc/time: Add missing __init to init_tick_ops()
  netlink: Don't shift with UB on nlk->ngroups
  arc: fix type warnings in arc/mm/cache.c
  arc: fix build errors in arc/include/asm/delay.h
  arc: [plat-eznps] fix printk warning in arc/plat-eznps/mtm.c
  arc: [plat-eznps] fix data type errors in platform headers
  ARC: [plat-eznps] Add missing struct nps_host_reg_aux_dpc
  ARC: add SMP_CACHE_BYTES value validate
  net/ipv6: fix metrics leak
  xen-netfront: wait xenbus state change when load module manually
  perf tools: Fix the build on the alpine:edge distro
  tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy'
  tools headers uapi: Refresh linux/bpf.h copy
  tools headers powerpc: Update asm/unistd.h copy to pick new
  tools headers uapi: Update tools's copy of linux/perf_event.h
  virtio_balloon: fix another race between migration and ballooning
  media: v4l: vsp1: Fix deadlock in VSPDL DRM pipelines
  media: rc: read out of bounds if bpf reports high protocol number
  ARM: 8781/1: Fix Thumb-2 syscall return for binutils 2.29+
  can: ems_usb: Fix memory leak on ems_usb_disconnect()
  Linux 4.18-rc7
  openvswitch: meter: Fix setting meter id for new entries
  netlink: Do not subscribe to non-existent groups
  squashfs: be more careful about metadata corruption
  ext4: fix check to prevent initializing reserved inodes
  NET: stmmac: align DMA stuff to largest cache line length
  ACPICA: AML Parser: ignore control method status in module-level code
  tcp_bbr: fix bw probing to raise in-flight data for very small BDPs
  net: socket: Fix potential spectre v1 gadget in sock_is_registered
  net: socket: fix potential spectre v1 gadget in socketcall
  net: mdio-mux: bcm-iproc: fix wrong getter and setter pair
  ipv4: remove BUG_ON() from fib_compute_spec_dst
  enic: handle mtu change for vf properly
  net: lan78xx: fix rx handling before first packet is send
  nfp: flower: fix port metadata conversion bug
  bpf: use GFP_ATOMIC instead of GFP_KERNEL in bpf_parse_prog()
  bpf: fix bpf_skb_load_bytes_relative pkt length check
  perf build: Build error in libbpf missing initialization
  PCI: mobiveil: Avoid integer overflow in IB_WIN_SIZE
  ARC: dma [non-IOC] setup SMP_CACHE_BYTES and cache_line_size
  ARC: dma [non IOC]: fix arc_dma_sync_single_for_(device|cpu)
  Revert "MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum"
  tools/power turbostat: version 18.07.27
  tools/power turbostat: Read extended processor family from CPUID
  block: reset bi_iter.bi_done after splitting bio
  tools/virtio: add kmalloc_array stub
  tools/virtio: add dma barrier stubs
  ACPI / LPSS: Avoid PM quirks on suspend and resume from hibernation
  net: ena: Fix use of uninitialized DMA address bits field
  kvm, mm: account shadow page tables to kmemcg
  zswap: re-check zswap_is_full() after do zswap_shrink()
  include/linux/eventfd.h: include linux/errno.h
  mm: fix vma_is_anonymous() false-positives
  mm: use vma_init() to initialize VMAs on stack and data segments
  mm: introduce vma_init()
  mm: fix exports that inadvertently make put_page() EXPORT_SYMBOL_GPL
  ipc/sem.c: prevent queue.status tearing in semop
  mm: disallow mappings that conflict for devm_memremap_pages()
  kasan: only select SLUB_DEBUG with SYSFS=y
  delayacct: fix crash in delayacct_blkio_end() after delayacct init failure
  bpf: btf: Use exact btf value_size match in map_check_btf()
  xdp: add NULL pointer check in __xdp_return()
  RDS: RDMA: Fix the NULL-ptr deref in rds_ib_get_mr
  net: rollback orig value on failure of dev_qdisc_change_tx_queue_len
  tools/power turbostat: Fix logical node enumeration to allow for non-sequential physical nodes
  tools/power turbostat: fix x2apic debug message output file
  tools/power turbostat: fix bogus summary values
  block: bio_iov_iter_get_pages: pin more pages for multi-segment IOs
  blkdev: __blkdev_direct_IO_simple: fix leak in error case
  block: bio_iov_iter_get_pages: fix size of last iovec
  PCI/AER: Work around use-after-free in pcie_do_fatal_recovery()
  net: fix amd-xgbe flow-control issue
  kthread, tracing: Don't expose half-written comm when creating kthreads
  media: bpf: ensure bpf program is freed on detach
  cxgb4: Added missing break in ndo_udp_tunnel_{add/del}
  netdevsim: don't leak devlink resources
  tracing: Quiet gcc warning about maybe unused link variable
  tracing: Fix possible double free in event_enable_trigger_func()
  xsk: fix poll/POLLIN premature returns
  bpf, x32: Fix regression caused by commit 24dea04767e6
  net: igmp: make function __ip_mc_inc_group() static
  tcp: ack immediately when a cwr packet arrives
  drm/i915/glk: Add Quirk for GLK NUC HDMI port issues.
  hinic: Link the logical network device to the pci device in sysfs
  virtio_net: Fix incosistent received bytes counter
  drm/vc4: Reset ->{x, y}_scaling[1] when dealing with uniplanar formats
  drm/atomic: Initialize variables in drm_atomic_helper_async_check() to make gcc happy
  drm/atomic: Check old_plane_state->crtc in drm_atomic_helper_async_check()
  tracing/kprobes: Fix trace_probe flags on enable_trace_kprobe() failure
  selftests/ftrace: Add snapshot and tracing_on test case
  ring_buffer: tracing: Inherit the tracing setting to next ring buffer
  tracing: Fix double free of event_trigger_data
  cachefiles: Wait rather than BUG'ing on "Unexpected object collision"
  cachefiles: Fix missing clear of the CACHEFILES_OBJECT_ACTIVE flag
  fscache: Fix reference overput in fscache_attach_object() error handling
  cachefiles: Fix refcounting bug in backing-file read monitoring
  fscache: Allow cancelled operations to be enqueued
  arm64: fix vmemmap BUILD_BUG_ON() triggering on !vmemmap setups
  arm64: Check for errata before evaluating cpu features
  nvmet: only check for filebacking on -ENOTBLK
  nvmet: fixup crash on NULL device path
  x86/boot: Fix if_changed build flip/flop bug
  perf/core: Fix crash when using HW tracing kernel filters
  perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)
  sched/rt: Restore rt_runtime after disabling RT_RUNTIME_SHARE
  sched/deadline: Update rq_clock of later_rq when pushing a task
  stop_machine: Disable preemption after queueing stopper threads
  sched/topology: Check variable group before dereferencing it
  locking/pvqspinlock/x86: Use LOCK_PREFIX in __pv_queued_spin_unlock() assembly code
  i2c/mux, locking/core: Annotate the nested rt_mutex usage
  locking/rtmutex: Allow specifying a subclass for nested locking
  brcmfmac: fix regression in parsing NVRAM for multiple devices
  iwlwifi: add more card IDs for 9000 series
  bpf: Introduce BPF_ANNOTATE_KV_PAIR
  bpf: Replace [u]int32_t and [u]int64_t in libbpf
  bpf: btf: Sync uapi btf.h to tools
  net: axienet: Fix double deregister of mdio
  qmi_wwan: fix interface number for DW5821e production firmware
  ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull
  bnx2x: Fix invalid memory access in rss hash config path.
  net/mlx4_core: Save the qpn from the input modifier in RST2INIT wrapper
  RDMA/uverbs: Expand primary and alt AV port checks
  ARC: Add Ofer Levi as plat-eznps maintainer
  r8169: restore previous behavior to accept BIOS WoL settings
  scsi: set timed out out mq requests to complete
  blk-mq: export setting request completion state
  xfs: properly handle free inodes in extent hint validators
  media: staging: omap4iss: Include asm/cacheflush.h after generic includes
  MAINTAINERS: Add Naveen N. Rao as kprobes co-maintainer
  i2c: imx: use open drain for recovery GPIO
  i2c: rcar: handle RXDMA HW behaviour on Gen3
  nvme: if_ready checks to fail io to deleting controller
  nvmet-fc: fix target sgl list on large transfers
  cpufreq: qcom-kryo: add NULL entry to the end of_device_id array
  x86/entry/64: Remove %ebx handling from error_entry/exit
  x86/apic: Future-proof the TSC_DEADLINE quirk for SKX
  perf/x86/amd/ibs: Don't access non-started event
  cfg80211: never ignore user regulatory hint
  s390: disable gcc plugins
  sock: fix sg page frag coalescing in sk_alloc_sg
  bpf: btf: Ensure the member->offset is in the right order
  netfilter: nf_tables: move dumper state allocation into ->start
  gpio: uniphier: set legitimate irq trigger type in .to_irq hook
  gpio: of: Handle fixed regulator flags properly
  tcp: add tcp_ooo_try_coalesce() helper
  tcp: call tcp_drop() from tcp_data_queue_ofo()
  tcp: detect malicious patterns in tcp_collapse_ofo_queue()
  tcp: avoid collapses in tcp_prune_queue() if possible
  tcp: free batches of packets in tcp_prune_ofo_queue()
  ip: hash fragments consistently
  ipv6: use fib6_info_hold_safe() when necessary
  i2c: imx: Fix reinit_completion() use
  i2c: davinci: Avoid zero value of CLKH
  can: xilinx_can: fix power management handling
  can: xilinx_can: fix incorrect clear of non-processed interrupts
  can: xilinx_can: fix RX overflow interrupt not being enabled
  can: xilinx_can: keep only 1-2 frames in TX FIFO to fix TX accounting
  can: xilinx_can: fix recovery from error states not being propagated
  can: xilinx_can: fix RX loop if RXNEMP is asserted without RXOK
  can: xilinx_can: fix device dropping off bus on RX overrun
  can: m_can: Move accessing of message ram to after clocks are enabled
  can: m_can: Fix runtime resume call
  can: mpc5xxx_can: check of_iomap return before use
  can: m_can.c: fix setup of CCCR register: clear CCCR NISO bit before checking can.ctrlmode
  can: peak_canfd: fix firmware < v3.3.0: limit allocation to 32-bit DMA addr only
  ACPICA: AML Parser: ignore dispatcher error status during table load
  net: prevent ISA drivers from building on PPC32
  nfp: flower: ensure dead neighbour entries are not offloaded
  vxlan: fix default fdb entry netlink notify ordering during netdev create
  vxlan: make netlink notify in vxlan_fdb_destroy optional
  vxlan: add new fdb alloc and create helpers
  rtnetlink: add rtnl_link_state check in rtnl_configure_link
  atl1c: reserve min skb headroom
  x86/efi: Access EFI MMIO data as unencrypted when SEV is active
  multicast: do not restore deleted record source filter mode to new one
  net: dsa: mv88e6xxx: fix races between lock and irq freeing
  net: skb_segment() should not return NULL
  net/ipv6: Fix linklocal to global address with VRF
  bpfilter: Fix mismatch in function argument types
  net: phy: consider PHY_IGNORE_INTERRUPT in phy_start_aneg_priv
  qed: Correct Multicast API to reflect existence of 256 approximate buckets.
  qed: Fix possible race for the link state value.
  qed: Fix link flap issue due to mismatching EEE capabilities.
  net: caif: Add a missing rcu_read_unlock() in caif_flow_cb
  bonding: set default miimon value for non-arp modes if not set
  usb: core: handle hub C_PORT_OVER_CURRENT condition
  tls: check RCV_SHUTDOWN in tls_wait_data
  tcp: do not delay ACK in DCTCP upon CE status change
  tcp: do not cancel delay-AcK on DCTCP special ACK
  tcp: helpers to send special DCTCP ack
  tools/power turbostat: fix -S on UP systems
  MIPS: ath79: fix register address in ath79_ddr_wb_flush()
  kvm: x86: vmx: fix vpid leak
  KVM: vmx: use local variable for current_vmptr when emulating VMPTRST
  usb: xhci: Fix memory leak in xhci_endpoint_reset()
  usb: typec: tcpm: Fix sink PDO starting index for PPS APDO selection
  usb: gadget: f_fs: Only return delayed status when len is 0
  netfilter: conntrack: dccp: treat SYNC/SYNCACK as invalid if no prior state
  netfilter: nf_tables: don't allow to rename to already-pending name
  netfilter: nf_tables: fix memory leaks on chain rename
  netfilter: nf_tables: free flow table struct too
  netfilter: nf_tables: use dev->name directly
  bpf: Use option "help" in the llvm-objcopy test
  bpf: btf: Clean up BTF_INT_BITS() in uapi btf.h
  tools/bpftool: Fix segfault case regarding 'pin' arguments
  net-next/hinic: fix a problem in hinic_xmit_frame()
  net/page_pool: Fix inconsistent lock state warning
  crypto: padlock-aes - Fix Nano workaround data corruption
  scsi: qla2xxx: Return error when TMF returns
  scsi: qla2xxx: Fix ISP recovery on unload
  scsi: qla2xxx: Fix driver unload by shutting down chip
  scsi: qla2xxx: Fix NPIV deletion by calling wait_for_sess_deletion
  scsi: qla2xxx: Fix unintialized List head crash
  bpf: test case to check whether src/dst regs got mangled by xadd
  bpf, ppc64: fix unexpected r0=0 exit path inside bpf_xadd
  net/mlx5e: Only allow offloading decap egress (egdev) flows
  net/mlx5: Fix QP fragmented buffer allocation
  net/mlx5: Fix 'DON'T_TRAP' functionality
  net/mlx5: E-Switch, UBSAN fix undefined behavior in mlx5_eswitch_mode
  net/mlx5e: Don't allow aRFS for encapsulated packets
  net/mlx5e: Fix quota counting in aRFS expire flow
  net/mlx5: Adjust clock overflow work period
  net/mlx5e: Refine ets validation function
  Input: i8042 - add Lenovo LaVie Z to the i8042 reset list
  netfilter: nft_set_rbtree: fix panic when destroying set by GC
  netfilter: nft_set_hash: add rcu_barrier() in the nft_rhash_destroy()
  random: mix rdrand with entropy sent in from userspace
  tools/power turbostat: Update turbostat(8) RAPL throttling column description
  netfilter: nf_tables: fix jumpstack depth validation
  usb: gadget: f_uac2: fix endianness of 'struct cntrl_*_lay3'
  usb: dwc2: Fix inefficient copy of unaligned buffers
  usb: dwc2: Fix DMA alignment to start at allocated boundary
  usb: dwc3: rockchip: Fix PHY documentation links.
  tools: usb: ffs-test: Fix build on big endian systems
  usb: gadget: aspeed: Workaround memory ordering issue
  usb: dwc3: gadget: remove redundant variable maxpacket
  usb: dwc2: avoid NULL dereferences
  usb/phy: fix PPC64 build errors in phy-fsl-usb.c
  usb: dwc2: host: do not delay retries for CONTROL IN transfers
  usb: gadget: u_audio: protect stream runtime fields with stream spinlock
  usb: gadget: u_audio: remove cached period bytes value
  usb: gadget: u_audio: remove caching of stream buffer parameters
  usb: gadget: u_audio: update hw_ptr in iso_complete after data copied
  usb: gadget: u_audio: fix pcm/card naming in g_audio_setup()
  usb: gadget: f_uac2: fix error handling in afunc_bind (again)
  usb: gadget: r8a66597: Fix a possible sleep-in-atomic-context bugs in r8a66597_queue()
  usb: gadget: r8a66597: Fix two possible sleep-in-atomic-context bugs in init_controller()
  usb: gadget: Fix OS descriptors support
  usb: gadget: aspeed-vhub: Fix SETUP packets with OUT data phase
  nbd: handle unexpected replies better
  nbd: don't requeue the same request twice.
  MIPS: Fix off-by-one in pci_resource_to_user()
  gpu: ipu-csi: Check for field type alternate
  drm/imx: imx-ldb: check if channel is enabled before printing warning
  drm/imx: imx-ldb: disable LDB on driver bind
  drm: re-enable error handling
  Input: elan_i2c - add another ACPI ID for Lenovo Ideapad 330-15AST
  mmc: mxcmmc: Fix missing parentheses and brace
  staging: speakup: fix wraparound in uaccess length check
  staging: ks7010: call 'hostif_mib_set_request_int' instead of 'hostif_mib_set_request_bool'
  Revert "staging:r8188eu: Use lib80211 to support TKIP"
  usb: cdc_acm: Add quirk for Castles VEGA3000
  scsi: sg: update comment for blk_get_request()
  scsi: sg: fix minor memory leak in error path
  scsi: libiscsi: fix possible NULL pointer dereference in case of TMF
  scsi: target: iscsi: cxgbit: fix max iso npdu calculation
  ext4: check for allocation block validity with block group locked
  clk: aspeed: Support HPLL strapping on ast2400
  driver core: Partially revert "driver core: correct device's shutdown order"
  ext4: fix inline data updates with checksums enabled
  drm/bridge: adv7511: Reset registers on hotplug
  clk: mvebu: armada-37xx-periph: Fix switching CPU rate from 300Mhz to 1.2GHz
  nl80211: Add a missing break in parse_station_flags
  ext4: clear mmp sequence number when remounting read-only
  ext4: fix false negatives *and* false positives in ext4_check_descriptors()
  clk: aspeed: Mark bclk (PCIe) and dclk (VGA) as critical
  clk/mmcc-msm8996: Make mmagic_bimc_gdsc ALWAYS_ON
  clk: aspeed: Treat a gate in reset as disabled
  clk: Really show symbolic clock flags in debugfs
  clk: qcom: gcc-msm8996: Disable halt check on UFS tx clock
  nl80211/mac80211: allow non-linear skb in rx_control_port
  usb: chipidea: Always build ULPI code
  MAINTAINERS: Add file patterns for serio device tree bindings
  Input: elan_i2c - add ACPI ID for lenovo ideapad 330
  mac80211: add stations tied to AP_VLANs during hw reconfig
  phy: mapphone-mdm6600: Fix wrong enum used for status lines
  phy: phy-brcm-usb-init: Fix power down USB 3.0 PHY when XHCI reenabled
  xfs: Initialize variables in xfs_alloc_get_rec before using them
  esp6: fix memleak on error path in esp6_input
  media: rc: be less noisy when driver misbehaves
  xfrm: free skb if nlsk pointer is NULL
  xfrm: fix missing dst_release() after policy blocking lbcast and multicast
  clk: meson: audio-divider is one based
  clk: meson-gxbb: set fclk_div2 as CLK_IS_CRITICAL
  xfrm_user: prevent leaking 2 bytes of kernel memory
  vti6: fix PMTU caching and reporting on xmit

Change-Id: Id1a1c4715035af389e73d5bf302c84c88e90dcee
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>