Merge remote-tracking branch 'origin/tmp-3eab887' into msm-4.8
* origin/tmp-3eab887:
Linux 4.8-rc4
drm/atomic: Don't potentially reset color_mgmt_changed on successive property updates.
mm: silently skip readahead for DAX inodes
dax: fix device-dax region base
fs/seq_file: fix out-of-bounds read
mm: memcontrol: avoid unused function warning
mm: clarify COMPACTION Kconfig text
treewide: replace config_enabled() with IS_ENABLED() (2nd round)
printk: fix parsing of "brl=" option
soft_dirty: fix soft_dirty during THP split
sysctl: handle error writing UINT_MAX to u32 fields
get_maintainer: quiet noisy implicit -f vcs_file_exists checking
byteswap: don't use __builtin_bswap*() with sparse
dlm: fix malfunction of dlm_tool caused by debugfs changes
clocksource/drivers/sun4i: Clear interrupts after stopping timer in probe function
drivers/clocksource/pistachio: Fix memory corruption in init
clocksource/drivers/timer-atmel-pit: Enable mck clock
mmc: fix use-after-free of struct request
drm: Protect fb_defio in drivers with CONFIG_KMS_FBDEV_EMULATION
i40iw: Send last streaming mode message for loopback connections
Revert "floppy: refactor open() flags handling"
Revert "floppy: fix open(O_ACCMODE) for ioctl-only open"
fs/block_dev: fix potential NULL ptr deref in freeze_bdev()
Btrfs: fix lockdep warning on deadlock against an inode's log mutex
Btrfs: detect corruption when non-root leaf has zero item
Btrfs: check btree node's nritems
btrfs: don't create or leak aliased root while cleaning up orphans
Btrfs: fix em leak in find_first_block_group
btrfs: do not background blkdev_put()
Btrfs: clarify do_chunk_alloc()'s return value
btrfs: fix fsfreeze hang caused by delayed iputs deal
btrfs: update btrfs_space_info's bytes_may_use timely
btrfs: divide btrfs_update_reserved_bytes() into two functions
btrfs: use correct offset for reloc_inode in prealloc_file_extent_cluster()
btrfs: qgroup: Fix qgroup incorrectness caused by log replay
btrfs: relocation: Fix leaking qgroups numbers on data extents
btrfs: qgroup: Refactor btrfs_qgroup_insert_dirty_extent()
btrfs: waiting on qgroup rescan should not always be interruptible
btrfs: properly track when rescan worker is running
btrfs: flush_space: treat return value of do_chunk_alloc properly
Btrfs: add ASSERT for block group's memory leak
btrfs: backref: Fix soft lockup in __merge_refs function
Btrfs: fix memory leak of reloc_root
arm64: avoid TLB conflict with CONFIG_RANDOMIZE_BASE
dm log: fix unitialized bio operation flags
dm flakey: fix reads to be issued if drop_writes configured
blk-mq: improve warning for running a queue on the wrong CPU
blk-mq: don't overwrite rq->mq_ctx
IB/srpt: Update sport->port_guid with each port refresh
drm/amdgpu: skip TV/CV in display parsing
drm/amdgpu: avoid a possible array overflow
xen: change the type of xen_vcpu_id to uint32_t
xenbus: don't look up transaction IDs for ordinary writes
RDMA/ocrdma: Fix the max_sge reported from FW
i40iw: Avoid writing to freed memory
i40iw: Fix double free of allocated_buffer
IB/mlx5: Remove superfluous include of io-mapping.h
i40iw: Do not set self-referencing pointer to NULL after kfree
i40iw: Add missing NULL check for MPA private data
drm/amdgpu: fix lru size grouping v2
block: make sure a big bio is split into at most 256 bvecs
nvme: Fix nvme_get/set_features() with a NULL result pointer
drm/tegra: dsi: Enhance runtime power management
perf/core: Use this_cpu_ptr() when stopping AUX events
clocksource/drivers/pxa: Fix include files for compilation
MAINTAINERS: Add ARM ARCHITECTED TIMER entry
ALSA: hda/realtek - fix headset mic detection for MSI MS-B120
x86/apic: Do not init irq remapping if ioapic is disabled
timekeeping: Cap array access in timekeeping_debug
timekeeping: Avoid taking lock in NMI path with CONFIG_DEBUG_TIMEKEEPING
x86/PCI: VMD: Fix infinite loop executing irq's
um: Don't discard .text.exit section
ubifs: Fix xattr generic handler usage
ubifs: Fix assertion in layout_in_gaps()
iw_cxgb4: Fix cxgb4 arm CQ logic w/IB_CQ_REPORT_MISSED_EVENTS
i40iw: Add missing check for interface already open
i40iw: Protect req_resource_num update
i40iw: Change mem_resources pointer to a u8
IB/core: Use memdup_user() rather than duplicating its implementation
IB/qib: Use memdup_user() rather than duplicating its implementation
vhost/scsi: fix reuse of &vq->iov[out] in response
ASoC: omap-mcpdm: Fix irq resource handling
usercopy: fix overlap check for kernel text
usercopy: avoid potentially undefined behavior in pointer math
Input: ads7846 - remove redundant regulator_disable call
Input: synaptics-rmi4 - fix register descriptor subpacket map construction
Input: tegra-kbc - fix inverted reset logic
Input: silead - use devm_gpiod_get
iw_cxgb4: use the MPA initiator's IRD if < our ORD
iw_cxgb4: limit IRD/ORD advertised to ULP by device max.
IB/hfi1: Fix mm_struct use after free
IB/rdmvat: Fix double vfree() in rvt_create_qp() error path
IB/hfi1: Improve J_KEY generation
IB/hfi1: Return invalid field for non-QSFP CableInfo queries
MAINTAINERS: Fix Soft RoCE location
IB/usnic: Fix error return code
IB/hfi1: Add missing error code assignment before test
IB/hfi1: Using kfree_rcu() to simplify the code
IB/hfi1: Validate header in set_armed_active
IB/hfi1: Pass packet ptr to set_armed_active
IB/hfi1: Fetch monitor values on-demand for CableInfo query
IB/hfi1,IB/qib: Fix qp_stats sleep with rcu read lock held
IB/hfi1: Remove duplicated include from affinity.c
IB/isert: fix error return code in isert_alloc_login_buf()
IB/core: Fix possible memory leak in cma_resolve_iboe_route()
IB/hfi1: Allocate cpu mask on the heap to silence warning
IB/mlx4: Return EAGAIN for any error in mlx4_ib_poll_one
IB/mlx4: Make function use_tunnel_data return void
irqchip/mips-gic: Implement activate op for device domain
irqchip/mips-gic: Cleanup chip and handler setup
ASoC: max98371: Add terminate entry for i2c_device_id tables
bdev: fix NULL pointer dereference
drm/i915: Fix botched merge that downgrades CSR versions.
drm/i915/skl: Ensure pipes with changed wms get added to the state
drm/i915/gen9: Only copy WM results for changed pipes to skl_hw
drm/i915/skl: Add support for the SAGV, fix underrun hangs
drm/i915/gen6+: Interpret mailbox error flags
drm/i915: Reattach comment, complete type specification
drm/i915: Unconditionally flush any chipset buffers before execbuf
drm/i915/gen9: Drop invalid WARN() during data rate calculation
drm/i915/gen9: Initialize intel_state->active_crtcs during WM sanitization (v2)
ALSA: line6: Fix POD sysfs attributes segfault
ALSA: line6: Give up on the lock while URBs are released.
ALSA: line6: Remove double line6_pcm_release() after failed acquire.
genirq/affinity: Use get/put_online_cpus around cpumask operations
genirq: Fix potential memleak when failing to get irq pm
drm: Reject page_flip for !DRIVER_MODESET
ARC: export __udivdi3 for modules
ARC: mm: fix build breakage with STRICT_MM_TYPECHECKS
ARC: export kmap
ARC: Support syscall ABI v4
ARC: use correct offset in pt_regs for saving/restoring user mode r25
Input: i8042 - set up shared ps2_cmd_mutex for AUX ports
xen-blkfront: free resources if xlvbd_alloc_gendisk fails
xen-blkfront: introduce blkif_set_queue_limits()
xen-blkfront: fix places not updated after introducing 64KB page granularity
drm/amdgpu: fix timeout value check in amd_sched_job_recovery
drm/amdgpu: fix sdma_v2_4_ring_test_ib
drm/amdgpu: fix amdgpu_move_blit on 32bit systems
drm/radeon: fix radeon_move_blit on 32bit systems
MIPS: KVM: Check for pfn noslot case
ASoC: omap-abe-twl6040: Correct dmic-codec device registration
thermal: imx: fix a possible NULL dereference
thermal: trivial: fix the typo
Thermal-INT3406: Delete owner assignment
thermal: cpu_cooling: Fix NULL dereference in cpufreq_state2power
gpio: make any OF dependent driver depend on OF_GPIO
gpio: Fix OF build problem on UM
ASoC: core: Clean up DAPM before the card debugfs
iommu/arm-smmu: Don't BUG() if we find aborting STEs with disable_bypass
iommu/arm-smmu: Disable stalling faults for all endpoints
irqchip/gicv3-its: Disable the ITS before initializing it
iommu/arm-smmu: Fix CMDQ error handling
iommu/io-pgtable-arm-v7s: Fix attributes when splitting blocks
bcache: pr_err: more meaningful error message when nr_stripes is invalid
bcache: RESERVE_PRIO is too small by one when prio_buckets() is a power of two.
bcache: register_bcache(): call blkdev_put() when cache_alloc() fails
f2fs: avoid potential deadlock in f2fs_move_file_range
f2fs: allow copying file range only in between regular files
Revert "f2fs: move i_size_write in f2fs_write_end"
Revert "f2fs: use percpu_rw_semaphore"
perf evsel: Do not access outside hw cache name arrays
tools lib: Reinstate strlcpy() header guard with __UCLIBC__
drm/radeon: only apply the SS fractional workaround to RS[78]80
ASoC: omap-mcpdm: Drop pdmclk clock handling
PCI: Call pci_intx() when using legacy interrupts in pci_alloc_irq_vectors()
kvm: nVMX: fix nested tsc scaling
KVM: nVMX: postpone VMCS changes on MSR_IA32_APICBASE write
KVM: nVMX: fix msr bitmaps to prevent L2 from accessing L0 x2APIC
irqchip/gicv3: Remove disabling redistributor and group1 non-secure interrupts
irqchip/gic: Allow self-SGIs for SMP on UP configurations
arm64: KVM: report configured SRE value to 32-bit world
arm64: KVM: remove misleading comment on pmu status
genirq: Correctly configure the trigger on chained interrupts
KVM: arm/arm64: timer: Workaround misconfigured timer interrupt
arm64: Document workaround for Cortex-A72 erratum #853709
KVM: arm/arm64: Change misleading use of is_error_pfn
block: Fix race triggered by blk_set_queue_dying()
PCI: Use positive flags in pci_alloc_irq_vectors()
perf unwind: Use addr_location::addr instead of ip for entries
KVM: arm64: ITS: avoid re-mapping LPIs
block: Fix secure erase
ASoC: atmel_ssc_dai: Don't unconditionally reset SSC on stream startup
ASoC: compress: Fix leak of a widget list in soc_compr_open_fe
crypto: sha512-mb - fix ctx pointer
crypto: sha256-mb - fix ctx pointer and digest copy
KVM: arm64: check for ITS device on MSI injection
KVM: arm64: ITS: move ITS registration into first VCPU run
KVM: arm64: vgic-its: Make updates to propbaser/pendbaser atomic
nvme: Prevent controller state invalid transition
ASoC: Intel: Skylake: Fix error return code in skl_probe()
ASoC: wm2000: Fix return of uninitialised varible
ASoC: Fix leak of rtd in soc_bind_dai_link
ARC: Elide redundant setup of DMA callbacks
ARC: Call trace_hardirqs_on() before enabling irqs
gpio: max730x: set gpiochip data pointer before using it
KVM: arm64: vgic-its: Plug race in vgic_put_irq
KVM: arm64: vgic-its: Handle errors from vgic_add_lpi
PCI: Update "pci=resource_alignment" documentation
KVM: arm64: ITS: return 1 on successful MSI injection
tools/gpio: fix gpio-event-mon header comment
ASoC: da7213: Default to 64 BCLKs per WCLK to support all formats
ASoC: nau8825: fix static check error about semaphone control
ASoC: nau8825: fix bug in playback when suspend
ASoC: samsung: Fix clock handling in S3C24XX_UDA134X card
ASoC: simple-card-utils: add missing MODULE_xxx()
ASoC: Intel: Skylake: Check list empty while getting module info
ASoC: rsnd: Fixup SRCm_IFSVR calculate method
ASoC: dapm: Add a dummy snd_pcm_runtime to avoid NULL pointer access
Change-Id: I2c8fbad0f61796ef61ed79bd14607df0889774a3
Signed-off-by: Kyle Yan <kyan@codeaurora.org>