From: Greg Kroah-Hartman Date: Sat, 13 Oct 2018 08:44:28 +0000 (+0200) Subject: Merge 4.14.76 into android-4.14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=48091d94336ee8bc685c307c068a32bdb9e9d20b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Merge 4.14.76 into android-4.14 Changes in 4.14.76 perf/core: Add sanity check to deal with pinned event failure mm: migration: fix migration of huge PMD shared pages mm, thp: fix mlocking THP page with migration enabled mm/vmstat.c: skip NR_TLB_REMOTE_FLUSH* properly KVM: x86: fix L1TF's MMIO GFN calculation blk-mq: I/O and timer unplugs are inverted in blktrace clocksource/drivers/timer-atmel-pit: Properly handle error cases fbdev/omapfb: fix omapfb_memory_read infoleak xen-netback: fix input validation in xenvif_set_hash_mapping() drm/amdgpu: Fix vce work queue was not cancelled when suspend drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set x86/vdso: Fix asm constraints on vDSO syscall fallbacks selftests/x86: Add clock_gettime() tests to test_vdso x86/vdso: Only enable vDSO retpolines when enabled and supported x86/vdso: Fix vDSO syscall fallback asm constraint regression PCI: Reprogram bridge prefetch registers on resume mac80211: fix setting IEEE80211_KEY_FLAG_RX_MGMT for AP mode keys PM / core: Clear the direct_complete flag on errors dm cache metadata: ignore hints array being too small during resize dm cache: fix resize crash if user doesn't reload cache table xhci: Add missing CAS workaround for Intel Sunrise Point xHCI usb: xhci-mtk: resume USB3 roothub first USB: serial: simple: add Motorola Tetra MTP6550 id usb: cdc_acm: Do not leak URB buffers tty: Drop tty->count on tty_reopen() failure of: unittest: Disable interrupt node tests for old world MAC systems perf annotate: Use asprintf when formatting objdump command line perf tools: Fix python extension build for gcc 8 ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait ath10k: fix kernel panic issue during pci probe nvme_fc: fix ctrl create failures racing with workq items powerpc/lib/code-patching: refactor patch_instruction() powerpc: Avoid code patching freed init sections powerpc/lib: fix book3s/32 boot failure due to code patching ARC: clone syscall to setp r25 as thread pointer crypto: chelsio - Fix memory corruption in DMA Mapped buffers. perf utils: Move is_directory() to path.h f2fs: fix invalid memory access ucma: fix a use-after-free in ucma_resolve_ip() ubifs: Check for name being NULL while mounting rds: rds_ib_recv_alloc_cache() should call alloc_percpu_gfp() instead virtio_balloon: fix deadlock on OOM virtio_balloon: fix increment of vb->num_pfns in fill_balloon() ath10k: fix scan crash due to incorrect length calculation Linux 4.14.76 Signed-off-by: Greg Kroah-Hartman --- 48091d94336ee8bc685c307c068a32bdb9e9d20b diff --cc drivers/base/power/main.c index e24f6500786e,d16b40cd26cc..594581a0c973 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c @@@ -1477,9 -1477,7 +1479,10 @@@ static int __device_suspend(struct devi pm_wakeup_event(dev, 0); if (pm_wakeup_pending()) { + pm_get_active_wakeup_sources(suspend_abort, + MAX_SUSPEND_ABORT_LEN); + log_suspend_abort_reason(suspend_abort); + dev->power.direct_complete = false; async_error = -EBUSY; goto Complete; }