Merge 4.19.177 into android-4.19-stable
Linux 4.19.177
kvm: check tlbs_dirty directly
scsi: qla2xxx: Fix crash during driver load on big endian machines
xen-blkback: fix error handling in xen_blkbk_map()
xen-scsiback: don't "handle" error by BUG()
xen-netback: don't "handle" error by BUG()
xen-blkback: don't "handle" error by BUG()
xen/arm: don't ignore return errors from set_phys_to_machine
* Xen/gntdev: correct error checking in gntdev_map_grant_pages()
include/xen/grant_table.h
Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
Xen/x86: don't bail early from clear_foreign_p2m_mapping()
* net: qrtr: Fix port ID for control messages
net/qrtr/qrtr.c
KVM: SEV: fix double locking due to incorrect backport
x86/build: Disable CET instrumentation in the kernel for 32-bit too
* ovl: expand warning in ovl_d_real()
fs/overlayfs/super.c
net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
vsock: fix locking in vsock_shutdown()
vsock/virtio: update credit only if socket is not closed
* net: watchdog: hold device global xmit lock during tx disable
include/linux/netdevice.h
net/vmw_vsock: improve locking in vsock_connect_timeout()
* net: fix iteration for sctp transport seq_files
net/sctp/proc.c
usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
usb: dwc3: ulpi: fix checkpatch warning
h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
i2c: stm32f7: fix configuration of the digital filter
* firmware_loader: align .builtin_fw to 8
include/asm-generic/vmlinux.lds.h
net: hns3: add a check for queue_id in hclge_reset_vf_queue()
* netfilter: conntrack: skip identical origin tuple in same zone only
net/netfilter/nf_conntrack_core.c
net: stmmac: set TxQ mode back to DCB after disabling CBS
xen/netback: avoid race in xenvif_rx_ring_slots_available()
netfilter: flowtable: fix tcp and udp header checksum update
netfilter: xt_recent: Fix attempt to update deleted entry
* bpf: Check for integer overflow when using roundup_pow_of_two()
kernel/bpf/stackmap.c
mt76: dma: fix a possible memory leak in mt76_add_fragment()
ARM: kexec: fix oops after TLB are invalidated
ARM: ensure the signal page contains defined contents
ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
bfq-iosched: Revert "bfq: Fix computation of shallow depth"
riscv: virt_addr_valid must check the address belongs to linear mapping
drm/amd/display: Free atomic state after drm_atomic_commit
drm/amd/display: Fix dc_sink kref count in emulated_link_detect
* ovl: skip getxattr of security labels
fs/overlayfs/copy_up.c
* cap: fix conversions on getxattr
security/commoncap.c
* ovl: perform vfs_getxattr() with mounter creds
fs/overlayfs/inode.c
platform/x86: hp-wmi: Disable tablet-mode reporting by default
arm64: dts: rockchip: Fix PCIe DT properties on rk3399
* arm/xen: Don't probe xenbus as part of an early initcall
include/xen/xenbus.h
* tracing: Check length before giving out the filter buffer
kernel/trace/trace.c
* tracing: Do not count ftrace events in top level enable output
kernel/trace/trace_events.c
ANDROID: build_config: drop CONFIG_KASAN_PANIC_ON_WARN
Merge 4.19.176 into android-4.19-stable
Linux 4.19.176
* regulator: Fix lockdep warning resolving supplies
drivers/regulator/core.c
* regulator: core: Clean enabling always-on regulators + their supplies
drivers/regulator/core.c
* regulator: core: enable power when setting up constraints
drivers/regulator/core.c
squashfs: add more sanity checks in xattr id lookup
squashfs: add more sanity checks in inode lookup
squashfs: add more sanity checks in id lookup
* blk-mq: don't hold q->sysfs_lock in blk_mq_map_swqueue
block/blk-mq.c
* block: don't hold q->sysfs_lock in elevator_init_mq
block/elevator.c
Fix unsynchronized access to sev members through svm_register_enc_region
* memcg: fix a crash in wb_workfn when a device disappears
fs/fs-writeback.c
include/linux/backing-dev.h
include/trace/events/writeback.h
mm/backing-dev.c
* include/trace/events/writeback.h: fix -Wstringop-truncation warnings
include/trace/events/writeback.h
* lib/string: Add strscpy_pad() function
include/linux/string.h
lib/string.c
SUNRPC: Handle 0 length opaque XDR object data properly
* SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
include/linux/sunrpc/xdr.h
iwlwifi: mvm: guard against device removal in reprobe
iwlwifi: pcie: fix context info memory leak
iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
chtls: Fix potential resource leak
* regulator: core: avoid regulator_resolve_supply() race condition
drivers/regulator/core.c
* af_key: relax availability checks for skb size calculation
net/key/af_key.c
remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
* fgraph: Initialize tracing_graph_pause at task creation
init/init_task.c
* block: fix NULL pointer dereference in register_disk
block/genhd.c
* tracing/kprobe: Fix to support kretprobe events on unloaded modules
include/linux/kprobes.h
* BACKPORT: bpf: add bpf_ktime_get_boot_ns()
include/linux/bpf.h
include/uapi/linux/bpf.h
kernel/bpf/core.c
kernel/bpf/helpers.c
kernel/trace/bpf_trace.c
net/core/filter.c
Merge 4.19.175 into android-4.19-stable
Linux 4.19.175
net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
* net: ip_tunnel: fix mtu calculation
net/ipv4/ip_tunnel.c
md: Set prev_flush_start and flush_bio in an atomic way
iommu/vt-d: Do not use flush-queue when caching-mode is on
* Input: xpad - sync supported devices with fork on GitHub
drivers/input/joystick/xpad.c
x86/apic: Add extra serialization for non-serializing MSRs
* x86/build: Disable CET instrumentation in the kernel
Makefile
mm: thp: fix MADV_REMOVE deadlock on shmem THP
mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
mm: hugetlb: fix a race between isolating and freeing page
mm: hugetlb: fix a race between freeing and dissolving the page
* mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
include/linux/hugetlb.h
ARM: footbridge: fix dc21285 PCI configuration accessors
KVM: SVM: Treat SVM as unsupported when running as an SEV guest
nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
mmc: core: Limit retries when analyse of SDIO tuples fails
smb3: Fix out-of-bounds bug in SMB2_negotiate()
cifs: report error instead of invalid when revalidating a dentry fails
* xhci: fix bounce buffer usage for non-sg list case
drivers/usb/host/xhci-ring.c
* genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
include/linux/msi.h
kernel/irq/msi.c
kretprobe: Avoid re-registration of the same kretprobe earlier
mac80211: fix station rate table updates on assoc
* ovl: fix dentry leak in ovl_get_redirect
fs/overlayfs/dir.c
* usb: dwc3: fix clock issue during resume in OTG mode
drivers/usb/dwc3/core.c
usb: dwc2: Fix endpoint direction check in ep_from_windex
usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
USB: usblp: don't call usb_set_interface if there's a single alt
USB: gadget: legacy: fix an error code in eth_bind()
* memblock: do not start bottom-up allocations with kernel_end
mm/memblock.c
net: mvpp2: TCAM entry enable should be written after SRAM data
net: lapb: Copy the skb before sending a packet
arm64: dts: ls1046a: fix dcfg address range
rxrpc: Fix deadlock around release of dst cached on udp tunnel
Input: i8042 - unbreak Pegatron C15B
* elfcore: fix building with clang
include/linux/elfcore.h
kernel/Makefile
USB: serial: option: Adding support for Cinterion MV31
USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
USB: serial: cp210x: add pid/vid for WSDA-200-USB
* UPSTREAM: dma-buf: Fix SET_NAME ioctl uapi
drivers/dma-buf/dma-buf.c
include/uapi/linux/dma-buf.h
ANDROID: GKI: Update ABI for coresight-clk-amba-dummy.ko.
Merge 4.19.174 into android-4.19-stable
Linux 4.19.174
* workqueue: Restrict affinity change to rescuer
kernel/workqueue.c
* kthread: Extract KTHREAD_IS_PER_CPU
include/linux/kthread.h
kernel/kthread.c
kernel/smpboot.c
objtool: Don't fail on missing symbol table
selftests/powerpc: Only test lwm/stmw on big endian
scsi: ibmvfc: Set default timeout to avoid crash during migration
mac80211: fix fast-rx encryption check
scsi: libfc: Avoid invoking response handler twice if ep is already completed
scsi: scsi_transport_srp: Don't block target in failfast state
x86: __always_inline __{rd,wr}msr()
platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
phy: cpcap-usb: Fix warning for missing regulator_disable
* net_sched: gen_estimator: support large ewma log
net/core/gen_estimator.c
* sysctl: handle overflow in proc_get_long
kernel/sysctl.c
ACPI: thermal: Do not call acpi_thermal_check() directly
ibmvnic: Ensure that CRQ entry read are correctly ordered
net: dsa: bcm_sf2: put device node before return
Merge 4.19.173 into android-4.19-stable
Linux 4.19.173
* tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
include/net/tcp.h
net/ipv4/tcp_input.c
net/ipv4/tcp_recovery.c
team: protect features update by RCU to avoid deadlock
NFC: fix possible resource leak
NFC: fix resource leak when target index is invalid
rxrpc: Fix memory leak in rxrpc_lookup_local
* iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
include/linux/intel-iommu.h
iommu/vt-d: Gracefully handle DMAR units with no supported address widths
can: dev: prevent potential information leak in can_fill_info()
net/mlx5: Fix memory leak on flow table creation error flow
mac80211: pause TX while changing interface type
iwlwifi: pcie: reschedule in long-running memory reads
iwlwifi: pcie: use jiffies for memory read spin time limit
pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
RDMA/cxgb4: Fix the reported max_recv_sge value
* xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
net/xfrm/xfrm_policy.c
* xfrm: Fix oops in xfrm_replay_advance_bmp
net/xfrm/xfrm_input.c
netfilter: nft_dynset: add timeout extension to template
ARM: imx: build suspend-imx6.S with arm instruction set
xen-blkfront: allow discard-* nodes to be optional
mt7601u: fix rx buffer refcounting
mt7601u: fix kernel crash unplugging the device
* leds: trigger: fix potential deadlock with libata
drivers/leds/led-triggers.c
xen: Fix XenStore initialisation for XS_LOCAL
KVM: x86: get smi pending status correctly
KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
PM: hibernate: flush swap writer after marking
net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
* wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
net/wireless/wext-core.c
ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
media: rc: ensure that uevent can be read directly after rc device register
ALSA: hda/via: Apply the workaround generically for Clevo machines
xen/privcmd: allow fetching resource sizes
kernel: kexec: remove the lock operation of system_transition_mutex
ACPI: sysfs: Prefer "compatible" modalias
nbd: freeze the queue while we're adding connections
Revert "Revert "ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for x86_64""
ANDROID: GKI: Update ABI
ANDROID: GKI: Update cuttlefish symbol list
* ANDROID: GKI: fix up abi issues with 4.19.172
include/linux/sched.h
Merge 4.19.172 into android-4.19-stable
Linux 4.19.172
* fs: fix lazytime expiration handling in __writeback_single_inode()
fs/fs-writeback.c
* writeback: Drop I_DIRTY_TIME_EXPIRE
fs/ext4/inode.c
fs/fs-writeback.c
include/linux/fs.h
include/trace/events/writeback.h
dm integrity: conditionally disable "recalculate" feature
tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
* tracing: Fix race in trace_open and buffer resize call
kernel/trace/ring_buffer.c
HID: wacom: Correct NULL dereference on AES pen proximity
* futex: Handle faults correctly for PI futexes
kernel/futex.c
* futex: Simplify fixup_pi_state_owner()
kernel/futex.c
* futex: Use pi_state_update_owner() in put_pi_state()
kernel/futex.c
* rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
kernel/futex.c
kernel/locking/rtmutex.c
kernel/locking/rtmutex_common.h
* futex: Provide and use pi_state_update_owner()
kernel/futex.c
* futex: Replace pointless printk in fixup_owner()
kernel/futex.c
* futex: Ensure the correct return value from futex_lock_pi()
kernel/futex.c
* futex: Prevent exit livelock
kernel/futex.c
* futex: Provide distinct return value when owner is exiting
kernel/futex.c
* futex: Add mutex around futex exit
include/linux/futex.h
include/linux/sched.h
kernel/futex.c
* futex: Provide state handling for exec() as well
kernel/futex.c
* futex: Sanitize exit state handling
kernel/futex.c
* futex: Mark the begin of futex exit explicitly
include/linux/futex.h
kernel/exit.c
kernel/futex.c
* futex: Set task::futex_state to DEAD right after handling futex exit
kernel/exit.c
kernel/futex.c
* futex: Split futex_mm_release() for exit/exec
include/linux/futex.h
kernel/fork.c
kernel/futex.c
* exit/exec: Seperate mm_release()
fs/exec.c
include/linux/sched/mm.h
kernel/exit.c
kernel/fork.c
* futex: Replace PF_EXITPIDONE with a state
include/linux/futex.h
include/linux/sched.h
kernel/exit.c
kernel/futex.c
* futex: Move futex exit handling into futex code
include/linux/compat.h
include/linux/futex.h
kernel/fork.c
kernel/futex.c
* Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
mm/slub.c
gpio: mvebu: fix pwm .get_state period calculation
* FROMGIT: f2fs: flush data when enabling checkpoint back
fs/f2fs/super.c
ANDROID: GKI: Added the get_task_pid function
Bug: 181732917
Change-Id: I371506c789fee218749bb057bc7b8d159970847c
Signed-off-by: Lucas Wei <lucaswei@google.com>