Merge 4.14.160 into android-4.14
Linux 4.14.160
net: stmmac: don't stop NAPI processing when dropping a packet
net: stmmac: use correct DMA buffer size in the RX descriptor
* xhci: fix USB3 device initiated resume race with roothub autosuspend
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci-ring.c
drm/radeon: fix r1xx/r2xx register checker for POT textures
scsi: iscsi: Fix a potential deadlock in the timeout handler
dm btree: increase rebalance threshold in __rebalance2()
* dma-buf: Fix memory leak in sync_file_merge()
drivers/dma-buf/sync_file.c
vfio/pci: call irq_bypass_unregister_producer() before freeing irq
ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
ARM: dts: s3c64xx: Fix init order of clock providers
CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
* rpmsg: glink: Free pending deferred work on remove
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Don't send pending rx_done during remove
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Fix rpmsg_register_device err handling
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Put an extra reference during cleanup
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Fix use after free in open_ack TIMEOUT case
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Fix reuse intents memory leak issue
drivers/rpmsg/qcom_glink_native.c
* rpmsg: glink: Set tail pointer to 0 at end of FIFO
drivers/rpmsg/qcom_glink_smem.c
xtensa: fix TLB sanity checker
* PCI: Apply Cavium ACS quirk to ThunderX2 and ThunderX3
drivers/pci/quirks.c
* PCI/MSI: Fix incorrect MSI-X masking on resume
drivers/pci/msi.c
* PCI: Fix Intel ACS quirk UPDCR register address
drivers/pci/quirks.c
* PCI/PM: Always return devices to D0 when thawing
drivers/pci/pci-driver.c
* Revert "regulator: Defer init completion for a while after late_initcall"
drivers/regulator/core.c
nvme: host: core: fix precedence of ternary operator
* inet: protect against too small mtu values.
include/linux/netdevice.h
include/net/ip.h
net/core/dev.c
net/ipv4/devinet.c
net/ipv4/ip_output.c
* tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
include/net/tcp.h
* tcp: tighten acceptance of ACKs not matching a child socket
include/net/tcp.h
* tcp: fix rejected syncookies due to stale timestamps
include/linux/time.h
include/net/tcp.h
tipc: fix ordering of tipc module init and exit routine
* tcp: md5: fix potential overestimation of TCP option space
net/ipv4/tcp_output.c
openvswitch: support asymmetric conntrack
net: thunderx: start phy before starting autonegotiation
net: ethernet: ti: cpsw: fix extra rx interrupt
* net: dsa: fix flow dissection on Tx path
net/core/flow_dissector.c
* net: bridge: deny dev_set_mac_address() when unregistering
net/bridge/br_device.c
ANDROID: cuttlefish_defconfig: Enable CONFIG_GNSS_CMDLINE_SERIAL
* ANDROID: gnss: Add command line test driver
drivers/gnss/Kconfig
* ANDROID: serdev: add platform device support
drivers/tty/serdev/core.c
ANDROID: cuttlefish_defconfig: set BINFMT_MISC
* UPSTREAM: binder: fix incorrect calculation for num_valid
drivers/android/binder.c
* ANDROID: kbuild: disable clang-specific configs with other compilers
Makefile
Merge 4.14.159 into android-4.14
Linux 4.14.159
of: unittest: fix memory leak in attach_node_and_children
raid5: need to set STRIPE_HANDLE for batch head
gpiolib: acpi: Add Terra Pad 1061 to the run_edge_events_on_boot_blacklist
* kernel/module.c: wakeup processes in module_wq on module unload
kernel/module.c
gfs2: fix glock reference problem in gfs2_trans_remove_revoke
net/mlx5e: Fix SFF 8472 eeprom length
sunrpc: fix crash when cache_head become valid before update
* workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
kernel/workqueue.c
* blk-mq: make sure that line break can be printed
block/blk-mq-sysfs.c
mfd: rk808: Fix RK818 ID template
* ext4: fix a bug in ext4_wait_for_tail_page_commit
fs/ext4/inode.c
* mm/shmem.c: cast the type of unmap_start to u64
mm/shmem.c
* firmware: qcom: scm: Ensure 'a0' status code is treated as signed
drivers/firmware/qcom_scm-64.c
* ext4: work around deleting a file with i_nlink == 0 safely
fs/ext4/namei.c
powerpc: Fix vDSO clock_getres()
powerpc: Avoid clang warnings around setjmp and longjmp
ath10k: fix fw crash by moving chip reset after napi disabled
media: vimc: fix component match compare
mlxsw: spectrum_router: Refresh nexthop neighbour when it becomes dead
power: supply: cpcap-battery: Fix signed counter sample register
x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait
drbd: Change drbd_request_detach_interruptible's return type to int
scsi: lpfc: Correct code setting non existent bits in sli4 ABORT WQE
scsi: lpfc: Cap NPIV vports to 256
omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251
phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role"
iio: adis16480: Add debugfs_reg_access entry
* xhci: make sure interrupts are restored to correct state
drivers/usb/host/xhci-hub.c
* xhci: Fix memory leak in xhci_add_in_port()
drivers/usb/host/xhci-mem.c
scsi: qla2xxx: Fix message indicating vectors used by driver
scsi: qla2xxx: Always check the qla2x00_wait_for_hba_online() return value
scsi: qla2xxx: Fix qla24xx_process_bidir_cmd()
scsi: qla2xxx: Fix session lookup in qlt_abort_work()
scsi: qla2xxx: Fix DMA unmap leak
scsi: zfcp: trace channel log even for FCP command responses
* block: fix single range discard merge
block/blk-merge.c
reiserfs: fix extended attributes on the root directory
* ext4: Fix credit estimate for final inode freeing
fs/ext4/inode.c
* quota: fix livelock in dquot_writeback_dquots
fs/quota/dquot.c
ext2: check err when partial != NULL
* quota: Check that quota is not dirty before release
fs/quota/dquot.c
include/linux/quotaops.h
* video/hdmi: Fix AVI bar unpack
drivers/video/hdmi.c
powerpc/xive: Skip ioremap() of ESB pages for LSI interrupts
powerpc: Allow flush_icache_range to work across ranges >4GB
powerpc/xive: Prevent page fault issues in the machine crash handler
powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
ppdev: fix PPGETTIME/PPSETTIME ioctls
ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card
pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
pinctrl: samsung: Fix device node refcount leaks in init code
pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
pinctrl: samsung: Add of_node_put() before return in error path
ACPI: PM: Avoid attaching ACPI PM domain to certain devices
ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
ACPI: OSL: only free map once in osl.c
cpufreq: powernv: fix stack bloat and hard limit on number of CPUs
* PM / devfreq: Lock devfreq in trans_stat_show
drivers/devfreq/devfreq.c
intel_th: pci: Add Tiger Lake CPU support
intel_th: pci: Add Ice Lake CPU support
intel_th: Fix a double put_device() in error path
* cpuidle: Do not unset the driver if it is there already
drivers/cpuidle/driver.c
* media: cec.h: CEC_OP_REC_FLAG_ values were swapped
include/uapi/linux/cec.h
media: radio: wl1273: fix interrupt masking on release
media: bdisp: fix memleak on release
s390/mm: properly clear _PAGE_NOEXEC bit when it is not supported
ar5523: check NULL before memcpy() in ar5523_cmd()
cgroup: pids: use atomic64_t for pids->limit
* blk-mq: avoid sysfs buffer overflow with too many CPU cores
block/blk-mq-sysfs.c
* ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
sound/soc/soc-jack.c
* workqueue: Fix pwq ref leak in rescuer_thread()
kernel/workqueue.c
* workqueue: Fix spurious sanity check failures in destroy_workqueue()
kernel/workqueue.c
dm zoned: reduce overhead of backing device checks
hwrng: omap - Fix RNG wait loop timeout
watchdog: aspeed: Fix clock behaviour for ast2600
md/raid0: Fix an error message in raid0_make_request()
ALSA: hda - Fix pending unsol events at shutdown
* ovl: relax WARN_ON() on rename to self
fs/overlayfs/dir.c
lib: raid6: fix awk build warnings
rtlwifi: rtl8192de: Fix missing enable interrupt flag
rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
btrfs: record all roots for rename exchange on a subvol
Btrfs: send, skip backreference walking for extents with many references
btrfs: Remove btrfs_bio::flags member
Btrfs: fix negative subv_writers counter and data space leak after buffered write
btrfs: use refcount_inc_not_zero in kill_all_nodes
btrfs: check page->mapping when loading free space cache
* usb: dwc3: ep0: Clear started flag on completion
drivers/usb/dwc3/ep0.c
virtio-balloon: fix managed page counts when migrating pages between zones
mtd: spear_smi: Fix Write Burst mode
tpm: add check after commands attribs tab allocation
usb: mon: Fix a deadlock in usbmon between mmap and read
* usb: core: urb: fix URB structure initialization function
drivers/usb/core/urb.c
USB: adutux: fix interface sanity check
USB: serial: io_edgeport: fix epic endpoint lookup
USB: idmouse: fix interface sanity checks
USB: atm: ueagle-atm: add missing endpoint check
iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
ARM: dts: pandora-common: define wl1251 as child node of mmc3
* xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour.
drivers/usb/host/xhci-ring.c
* xhci: Increase STS_HALT timeout in xhci_suspend()
drivers/usb/host/xhci.c
* usb: xhci: only set D3hot for pci device
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h
staging: gigaset: add endpoint-type sanity check
staging: gigaset: fix illegal free on probe errors
staging: gigaset: fix general protection fault on probe
staging: rtl8712: fix interface sanity check
staging: rtl8188eu: fix interface sanity check
* usb: Allow USB device to be warm reset in suspended state
drivers/usb/core/hub.c
USB: documentation: flags on usb-storage versus UAS
USB: uas: heed CAPACITY_HEURISTICS
USB: uas: honor flag to avoid CAPACITY16
media: venus: remove invalid compat_ioctl32 handler
scsi: qla2xxx: Fix driver unload hang
usb: gadget: pch_udc: fix use after free
* usb: gadget: configfs: Fix missing spin_lock_init()
drivers/usb/gadget/configfs.c
appletalk: Set error code if register_snap_client failed
* appletalk: Fix potential NULL pointer dereference in unregister_snap_client
include/linux/atalk.h
KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
ASoC: rsnd: fixup MIX kctrl registration
* binder: Handle start==NULL in binder_update_page_range()
drivers/android/binder_alloc.c
* thermal: Fix deadlock in thermal thermal_zone_device_check
drivers/thermal/thermal_core.c
iomap: Fix pipe page leakage during splicing
RDMA/qib: Validate ->show()/store() callbacks before calling them
spi: atmel: Fix CS high support
crypto: user - fix memory leak in crypto_report
* crypto: ecdh - fix big endian bug in ECC library
crypto/ecc.c
crypto: ccp - fix uninitialized list head
crypto: af_alg - cast ki_complete ternary op to int
crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
KVM: x86: do not modify masked bits of shared MSRs
KVM: arm/arm64: vgic: Don't rely on the wrong pending table
drm/i810: Prevent underflow in ioctl
* jbd2: Fix possible overflow in jbd2_log_space_left()
include/linux/jbd2.h
* kernfs: fix ino wrap-around detection
fs/kernfs/dir.c
include/linux/kernfs.h
can: slcan: Fix use-after-free Read in slcan_open
* tty: vt: keyboard: reject invalid keycodes
drivers/tty/vt/keyboard.c
CIFS: Fix SMB2 oplock break processing
CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
Input: Fix memory leak in psxpad_spi_probe
coresight: etm4x: Fix input validation for sysfs.
Input: goodix - add upside-down quirk for Teclast X89 tablet
Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers
Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
Input: synaptics - switch another X1 Carbon 6 to RMI/SMbus
ALSA: hda - Add mute led support for HP ProBook 645 G4
ALSA: pcm: oss: Avoid potential buffer overflows
ALSA: hda/realtek - Dell headphone has noise on unmute for ALC236
* fuse: verify attributes
fs/fuse/dir.c
fs/fuse/fuse_i.h
* fuse: verify nlink
fs/fuse/dir.c
* sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision
kernel/sched/fair.c
* tcp: exit if nothing to retransmit on RTO timeout
net/ipv4/tcp_timer.c
net: aquantia: fix RSS table and key sizes
media: vimc: fix start stream when link is disabled
ARM: dts: sunxi: Fix PMU compatible strings
usb: mtu3: fix dbginfo in qmu_tx_zlp_error_handler
mlx4: Use snprintf instead of complicated strcpy
IB/hfi1: Close VNIC sdma_progress sleep window
IB/hfi1: Ignore LNI errors before DC8051 transitions to Polling state
mlxsw: spectrum_router: Relax GRE decap matching check
* firmware: qcom: scm: fix compilation error when disabled
include/linux/qcom_scm.h
media: stkwebcam: Bugfix for wrong return values
* tty: Don't block on IO when ldisc change is pending
drivers/tty/n_tty.c
drivers/tty/tty_ldisc.c
include/linux/tty.h
nfsd: Return EPERM, not EACCES, in some SETATTR cases
MIPS: OCTEON: cvmx_pko_mem_debug8: use oldest forward compatible definition
clk: renesas: r8a77995: Correct parent clock of DU
powerpc/math-emu: Update macros from GCC
* pstore/ram: Avoid NULL deref in ftrace merging failure path
fs/pstore/ram.c
net/mlx4_core: Fix return codes of unsupported operations
dlm: fix invalid cluster name warning
ARM: dts: realview: Fix some more duplicate regulator nodes
clk: sunxi-ng: h3/h5: Fix CSI_MCLK parent
ARM: dts: pxa: clean up USB controller nodes
mtd: fix mtd_oobavail() incoherent returned value
* kbuild: fix single target build for external module
Makefile
* modpost: skip ELF local symbols during section mismatch check
scripts/mod/modpost.c
* tcp: fix SNMP TCP timeout under-estimation
net/ipv4/tcp_timer.c
* tcp: fix SNMP under-estimation on failed retransmission
net/ipv4/tcp_output.c
* tcp: fix off-by-one bug on aborting window-probing socket
net/ipv4/tcp_timer.c
ARM: dts: realview-pbx: Fix duplicate regulator nodes
ARM: dts: mmp2: fix the gpio interrupt cell number
net/x25: fix null_x25_address handling
net/x25: fix called/calling length calculation in x25_parse_address_block
arm64: dts: meson-gxl-khadas-vim: fix GPIO lines names
arm64: dts: meson-gxbb-odroidc2: fix GPIO lines names
arm64: dts: meson-gxbb-nanopi-k2: fix GPIO lines names
arm64: dts: meson-gxl-libretech-cc: fix GPIO lines names
ARM: OMAP1/2: fix SoC name printing
ASoC: au8540: use 64-bit arithmetic instead of 32-bit
nfsd: fix a warning in __cld_pipe_upcall()
ARM: debug: enable UART1 for socfpga Cyclone5
dlm: NULL check before kmem_cache_destroy is not needed
ARM: dts: sun8i: v3s: Change pinctrl nodes to avoid warning
ARM: dts: sun5i: a10s: Fix HDMI output DTC warning
ASoC: rsnd: tidyup registering method for rsnd_kctrl_new()
lockd: fix decoding of TEST results
i2c: imx: don't print error message on probe defer
serial: imx: fix error handling in console_setup
altera-stapl: check for a null key before strcasecmp'ing it
* dma-mapping: fix return type of dma_set_max_seg_size()
include/linux/dma-mapping.h
sparc: Correct ctx->saw_frame_pointer logic.
* f2fs: fix to allow node segment for GC by ioctl path
fs/f2fs/gc.c
ARM: dts: rockchip: Assign the proper GPIO clocks for rv1108
ARM: dts: rockchip: Fix the PMU interrupt number for rv1108
* f2fs: change segment to section in f2fs_ioc_gc_range
fs/f2fs/file.c
* f2fs: fix count of seg_freed to make sec_freed correct
fs/f2fs/gc.c
* ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
include/linux/acpi.h
* usb: dwc3: don't log probe deferrals; but do log other error codes
drivers/usb/dwc3/core.c
* usb: dwc3: debugfs: Properly print/set link state for HS
drivers/usb/dwc3/debug.h
drivers/usb/dwc3/debugfs.c
dmaengine: dw-dmac: implement dma protection control setting
dmaengine: coh901318: Remove unused variable
dmaengine: coh901318: Fix a double-lock bug
media: cec: report Vendor ID after initialization
media: pulse8-cec: return 0 when invalidating the logical address
ARM: dts: exynos: Use Samsung SoC specific compatible for DWC2 module
rtc: dt-binding: abx80x: fix resistance scale
rtc: max8997: Fix the returned value in case of error in 'max8997_rtc_read_alarm()'
math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
net/smc: use after free fix in smc_wr_tx_put_slot()
MIPS: OCTEON: octeon-platform: fix typing
iomap: sub-block dio needs to zeroout beyond EOF
net-next/hinic:fix a bug in set mac address
* regulator: Fix return value of _set_load() stub
include/linux/regulator/consumer.h
clk: rockchip: fix ID of 8ch clock of I2S1 for rk3328
clk: rockchip: fix I2S1 clock gate register for rk3328
* mm/vmstat.c: fix NUMA statistics updates
mm/vmstat.c
Staging: iio: adt7316: Fix i2c data reading, set the data field
pinctrl: qcom: ssbi-gpio: fix gpio-hog related boot issues
crypto: bcm - fix normal/non key hash algorithm failure
* crypto: ecc - check for invalid values in the key verification test
crypto/ecc.c
scsi: zfcp: drop default switch case which might paper over missing case
net: dsa: mv88e6xxx: Work around mv886e6161 SERDES missing MII_PHYSID2
MIPS: SiByte: Enable ZONE_DMA32 for LittleSur
dlm: fix missing idr_destroy for recover_idr
ARM: dts: rockchip: Fix rk3288-rock2 vcc_flash name
clk: rockchip: fix rk3188 sclk_mac_lbtest parameter ordering
clk: rockchip: fix rk3188 sclk_smc gate data
i40e: don't restart nway if autoneg not supported
rtc: s3c-rtc: Avoid using broken ALMYEAR register
net: ethernet: ti: cpts: correct debug for expired txq skb
extcon: max8997: Fix lack of path setting in USB device mode
dlm: fix possible call to kfree() for non-initialized pointer
clk: sunxi-ng: a64: Fix gate bit of DSI DPHY
net/mlx5: Release resource on error flow
ARM: 8813/1: Make aligned 2-byte getuser()/putuser() atomic on ARMv6+
iwlwifi: mvm: Send non offchannel traffic via AP sta
iwlwifi: mvm: synchronize TID queue removal
cxgb4vf: fix memleak in mac_hlist initialization
* serial: core: Allow processing sysrq at port unlock time
include/linux/serial_core.h
* i2c: core: fix use after free in of_i2c_notify
drivers/i2c/i2c-core-of.c
net: ep93xx_eth: fix mismatch of request_mem_region in remove
rsxx: add missed destroy_workqueue calls in remove
* ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
sound/core/pcm_lib.c
* sched/core: Avoid spurious lock dependencies
kernel/sched/core.c
Input: cyttsp4_core - fix use after free bug
* xfrm: release device reference for invalid state
net/xfrm/xfrm_input.c
NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
audit_get_nd(): don't unlock parent too early
* exportfs_decode_fh(): negative pinned may become positive without the parent locked
fs/exportfs/expfs.c
iwlwifi: pcie: don't consider IV len in A-MSDU
RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
autofs: fix a leak in autofs_expire_indirect()
serial: ifx6x60: add missed pm_runtime_disable
* serial: serial_core: Perform NULL checks for break_ctl ops
drivers/tty/serial/serial_core.c
serial: pl011: Fix DMA ->flush_buffer()
tty: serial: msm_serial: Fix flow control
tty: serial: fsl_lpuart: use the sg count from dma_map_sg
usb: gadget: u_serial: add missing port entry locking
arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
rsi: release skb if rsi_prepare_beacon fails
* ANDROID: staging: android: ion: Fix build when CONFIG_ION_SYSTEM_HEAP=n
drivers/staging/android/ion/ion.h
Merge remote-tracking branch 'origin/upstream-f2fs-stable-linux-4.14.y/v5.5-rc1' into android-4.14
* ANDROID: staging: android: ion: Expose total heap and pool sizes via sysfs
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion.h
drivers/staging/android/ion/ion_page_pool.c
* UPSTREAM: include/linux/slab.h: fix sparse warning in kmalloc_type()
include/linux/slab.h
* UPSTREAM: mm, slab: shorten kmalloc cache names for large sizes
mm/slab_common.c
* UPSTREAM: mm, proc: add KReclaimable to /proc/meminfo
fs/proc/meminfo.c
* BACKPORT: mm: rename and change semantics of nr_indirectly_reclaimable_bytes
drivers/staging/android/ion/ion_page_pool.c
include/linux/mmzone.h
mm/page_alloc.c
mm/util.c
mm/vmstat.c
* UPSTREAM: dcache: allocate external names from reclaimable kmalloc caches
fs/dcache.c
* BACKPORT: mm, slab/slub: introduce kmalloc-reclaimable caches
include/linux/slab.h
mm/slab_common.c
* UPSTREAM: mm, slab: combine kmalloc_caches and kmalloc_dma_caches
include/linux/slab.h
mm/slab_common.c
mm/slub.c
* ANDROID: kbuild: disable SCS by default in allmodconfig
arch/Kconfig
arch/arm64/Kconfig
ANDROID: arm64: cuttlefish_defconfig: enable LTO, CFI, and SCS
* BACKPORT: FROMLIST: arm64: implement Shadow Call Stack
arch/arm64/Kconfig
arch/arm64/include/asm/scs.h
arch/arm64/include/asm/stacktrace.h
arch/arm64/include/asm/thread_info.h
arch/arm64/kernel/Makefile
arch/arm64/kernel/asm-offsets.c
arch/arm64/kernel/entry.S
arch/arm64/kernel/head.S
arch/arm64/kernel/irq.c
arch/arm64/kernel/process.c
arch/arm64/kernel/scs.c
arch/arm64/kernel/smp.c
FROMLIST: arm64: disable SCS for hypervisor code
* BACKPORT: FROMLIST: arm64: vdso: disable Shadow Call Stack
arch/arm64/kernel/vdso/Makefile
* FROMLIST: arm64: preserve x18 when CPU is suspended
arch/arm64/include/asm/suspend.h
arch/arm64/mm/proc.S
* FROMLIST: arm64: reserve x18 from general allocation with SCS
arch/arm64/Makefile
* FROMLIST: arm64: disable function graph tracing with SCS
arch/arm64/Kconfig
* FROMLIST: scs: add support for stack usage debugging
kernel/scs.c
* FROMLIST: scs: add accounting
fs/proc/meminfo.c
include/linux/mmzone.h
kernel/scs.c
mm/page_alloc.c
mm/vmstat.c
* FROMLIST: add support for Clang's Shadow Call Stack (SCS)
Makefile
arch/Kconfig
include/linux/compiler-clang.h
include/linux/compiler_types.h
include/linux/scs.h
init/init_task.c
kernel/Makefile
kernel/fork.c
kernel/sched/core.c
kernel/scs.c
FROMLIST: arm64: kernel: avoid x18 in __cpu_soft_restart
FROMLIST: arm64: kvm: stop treating register x18 as caller save
* FROMLIST: arm64/lib: copy_page: avoid x18 register in assembler code
arch/arm64/lib/copy_page.S
* FROMLIST: arm64: mm: avoid x18 in idmap_kpti_install_ng_mappings
arch/arm64/mm/proc.S
* ANDROID: use non-canonical CFI jump tables
Makefile
* ANDROID: arm64: add __nocfi to __apply_alternatives
arch/arm64/kernel/alternative.c
* ANDROID: arm64: add __pa_function
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/mmu_context.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/psci.c
arch/arm64/kernel/smp_spin_table.c
* ANDROID: arm64: allow ThinLTO to be selected
arch/arm64/Kconfig
* ANDROID: soc/tegra: disable ARCH_TEGRA_210_SOC with LTO
drivers/soc/tegra/Kconfig
* FROMLIST: arm64: fix alternatives with LLVM's integrated assembler
arch/arm64/include/asm/alternative.h
* ANDROID: irqchip/gic-v3: rename gic_of_init to work around a ThinLTO+CFI bug
drivers/irqchip/irq-gic-v3.c
* ANDROID: kbuild: limit LTO inlining
Makefile
* ANDROID: kbuild: merge module sections with LTO
Makefile
* ANDROID: init: ensure initcall ordering with LTO
include/linux/init.h
scripts/generate_initcall_order.pl
scripts/link-vmlinux.sh
* Revert "ANDROID: HACK: init: ensure initcall ordering with LTO"
include/linux/init.h
* ANDROID: add support for ThinLTO
Makefile
arch/Kconfig
scripts/Makefile.build
ANDROID: Switch to LLD
ANDROID: clang: update to 10.0.1
* ANDROID: arm64: add atomic_ll_sc.o to obj-y if using lld
arch/arm64/lib/Makefile
* ANDROID: enable ARM64_ERRATUM_843419 by default with LTO_CLANG
arch/arm64/Kconfig
* ANDROID: kbuild: allow lld to be used with CONFIG_LTO_CLANG
Makefile
* ANDROID: Makefile: set -Qunused-arguments sooner
Makefile
* BACKPORT: FROMLIST: Makefile: lld: tell clang to use lld
Makefile
* BACKPORT: FROMLIST: Makefile: lld: set -O2 linker flag when linking with LLD
Makefile
* ANDROID: scripts/Kbuild: add ld-name support for ld.lld
scripts/Kbuild.include
* UPSTREAM: bpf: permit multiple bpf attachments for a single perf event
include/linux/bpf.h
include/linux/trace_events.h
include/trace/perf.h
kernel/bpf/core.c
kernel/events/core.c
kernel/trace/bpf_trace.c
kernel/trace/trace_uprobe.c
* UPSTREAM: bpf: use the same condition in perf event set/free bpf handler
kernel/events/core.c
* UPSTREAM: bpf: multi program support for cgroup+bpf
include/linux/bpf-cgroup.h
include/linux/bpf.h
include/linux/filter.h
include/uapi/linux/bpf.h
kernel/bpf/cgroup.c
kernel/bpf/core.c
kernel/bpf/syscall.c
kernel/cgroup/cgroup.c
* BACKPORT: serdev: make synchronous write return bytes written
drivers/tty/serdev/core.c
UPSTREAM: gnss: serial: fix synchronous write timeout
UPSTREAM: gnss: fix potential error pointer dereference
BACKPORT: gnss: add receiver type support
UPSTREAM: dt-bindings: add generic gnss binding
* UPSTREAM: gnss: add generic serial driver
drivers/gnss/Kconfig
ANDROID: cuttlefish_defconfig: Enable CONFIG_SERIAL_DEV_BUS
ANDROID: cuttlefish_defconfig: Enable CONFIG_GNSS
* BACKPORT: gnss: add GNSS receiver subsystem
drivers/Kconfig
drivers/Makefile
drivers/gnss/Kconfig
* UPSTREAM: arm64: Validate tagged addresses in access_ok() called from kernel threads
arch/arm64/include/asm/uaccess.h
BACKPORT: ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer
Merge 4.14.158 into android-4.14
Linux 4.14.158
net: fec: fix clock count mis-match
platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size
platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer
ASoC: stm32: i2s: fix IRQ clearing
ASoC: stm32: i2s: fix 16 bit format support
ASoC: stm32: i2s: fix dma configuration
pinctrl: stm32: fix memory leak issue
mailbox: mailbox-test: fix null pointer if no mmio
hwrng: stm32 - fix unbalanced pm_runtime_enable
media: stm32-dcmi: fix DMA corruption when stopping streaming
crypto: stm32/hash - Fix hmac issue more than 256 bytes
* HID: core: check whether Usage Page item is after Usage ID items
drivers/hid/hid-core.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
* futex: Prevent robust futex exit race
kernel/futex.c
* y2038: futex: Move compat implementation into futex.c
include/linux/futex.h
kernel/Makefile
kernel/futex.c
mtd: spi-nor: cast to u64 to avoid uint overflows
mtd: rawnand: atmel: fix possible object reference leak
mtd: rawnand: atmel: Fix spelling mistake in error message
net: macb driver, check for SKBTX_HW_TSTAMP
net: macb: Fix SUBNS increment and increase resolution
watchdog: sama5d4: fix WDD value to be always set to max
* ext4: add more paranoia checking in ext4_expand_extra_isize handling
fs/ext4/inode.c
fs/ext4/super.c
* net: sched: fix `tc -s class show` no bstats on class with nolock subqueues
net/sched/sch_mq.c
net/sched/sch_multiq.c
net/sched/sch_prio.c
* sctp: cache netns in sctp_ep_common
include/net/sctp/structs.h
tipc: fix link name length check
openvswitch: remove another BUG_ON()
openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
slip: Fix use-after-free Read in slip_open
openvswitch: fix flow command message size
net: psample: fix skb_over_panic
macvlan: schedule bc_work even if error
media: atmel: atmel-isc: fix INIT_WORK misplacement
media: atmel: atmel-isc: fix asd memory allocation
* pwm: Clear chip_data in pwm_put()
drivers/pwm/core.c
net: macb: fix error format in dev_err()
* media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE
drivers/media/v4l2-core/v4l2-ctrls.c
* xfrm: Fix memleak on xfrm state destroy
net/xfrm/xfrm_state.c
mei: bus: prefix device names on bus with the bus name
USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids
staging: rtl8723bs: Drop ACPI device ids
staging: rtl8192e: fix potential use after free
clk: at91: generated: set audio_pll_allowed in at91_clk_register_generated()
clk: at91: fix update bit maps on CFG_MOR write
mm, gup: add missing refcount overflow checks on s390
mtd: Remove a debug trace in mtdpart.c
powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property()
scsi: libsas: Check SMP PHY control function result
ACPI / APEI: Switch estatus pool to use vmalloc memory
ACPI / APEI: Don't wait to serialise with oops messages when panic()ing
scsi: libsas: Support SATA PHY connection rate unmatch fixing during discovery
apparmor: delete the dentry in aafs_remove() to avoid a leak
iommu/amd: Fix NULL dereference bug in match_hid_uid
net: hns3: Change fw error code NOT_EXEC to NOT_SUPPORTED
* bpf: drop refcount if bpf_map_new_fd() fails in map_create()
kernel/bpf/syscall.c
kvm: properly check debugfs dentry before using it
* net: dev: Use unsigned integer as an argument to left-shift
include/linux/netdevice.h
* bpf: decrease usercnt if bpf_map_new_fd() fails in bpf_map_get_fd_by_id()
kernel/bpf/syscall.c
sctp: don't compare hb_timer expire date before starting it
* net: fix possible overflow in __sk_mem_raise_allocated()
include/net/sock.h
net/core/sock.c
sfc: initialise found bitmap in efx_ef10_mtd_probe
tipc: fix skb may be leaky in tipc_link_input
* blktrace: Show requests without sector
include/linux/blktrace_api.h
net/smc: prevent races between smc_lgr_terminate() and smc_conn_free()
decnet: fix DN_IFREQ_SIZE
* ip_tunnel: Make none-tunnel-dst tunnel port work with lwtunnel
net/ipv4/ip_tunnel.c
sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
gpu: ipu-v3: pre: don't trigger update if buffer address doesn't change
serial: 8250: Fix serial8250 initialization crash
* net/core/neighbour: fix kmemleak minimal reference count for hash tables
net/core/neighbour.c
* PCI/MSI: Return -ENOSPC from pci_alloc_irq_vectors_affinity()
drivers/pci/msi.c
* net/core/neighbour: tell kmemleak about hash tables
net/core/neighbour.c
tipc: fix memory leak in tipc_nl_compat_publ_dump
mtd: Check add_mtd_device() ret code
* lib/genalloc.c: include vmalloc.h
lib/genalloc.c
* drivers/base/platform.c: kmemleak ignore a known leak
drivers/base/platform.c
* fork: fix some -Wmissing-prototypes warnings
include/linux/sched/task.h
init/main.c
kernel/fork.c
* lib/genalloc.c: use vzalloc_node() to allocate the bitmap
lib/genalloc.c
* lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk
include/linux/genalloc.h
lib/genalloc.c
* vmscan: return NODE_RECLAIM_NOSCAN in node_reclaim() when CONFIG_NUMA is n
include/linux/swap.h
mm/internal.h
ocfs2: clear journal dirty flag after shutdown journal
net/wan/fsl_ucc_hdlc: Avoid double free in ucc_hdlc_probe()
tipc: fix a missing check of genlmsg_put
atl1e: checking the status of atl1e_write_phy_reg
net: dsa: bcm_sf2: Propagate error value from mdio_write
net: stmicro: fix a missing check of clk_prepare
net: (cpts) fix a missing check of clk_prepare
um: Make GCOV depend on !KCOV
* f2fs: fix to dirty inode synchronously
fs/f2fs/file.c
* net/net_namespace: Check the return value of register_pernet_subsys()
net/core/net_namespace.c
net/netlink_compat: Fix a missing check of nla_parse_nested
pwm: clps711x: Fix period calculation
crypto: mxc-scc - fix build warnings on ARM64
powerpc/pseries: Fix node leak in update_lmb_associativity_index()
powerpc/83xx: handle machine check caused by watchdog timer
regulator: tps65910: fix a missing check of return value
IB/rxe: Make counters thread safe
drbd: fix print_st_err()'s prototype to match the definition
drbd: do not block when adjusting "disk-options" while IO is frozen
drbd: reject attach of unsuitable uuids even if connected
drbd: ignore "all zero" peer volume sizes in handshake
powerpc/powernv/eeh/npu: Fix uninitialized variables in opal_pci_eeh_freeze_status
vfio/spapr_tce: Get rid of possible infinite loop
powerpc/44x/bamboo: Fix PCI range
powerpc/mm: Make NULL pointer deferences explicit on bad page faults.
powerpc/prom: fix early DEBUG messages
powerpc/perf: Fix unit_sel/cache_sel checks
ath6kl: Fix off by one error in scan completion
ath6kl: Only use match sets when firmware supports it
scsi: csiostor: fix incorrect dma device in case of vport
scsi: qla2xxx: deadlock by configfs_depend_item
RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer
openrisc: Fix broken paths to arch/or32
serial: max310x: Fix tx_empty() callback
Bluetooth: hci_bcm: Handle specific unknown packets after firmware loading
drivers/regulator: fix a missing check of return value
powerpc/xmon: fix dump_segments()
powerpc/book3s/32: fix number of bats in p/v_block_mapped()
vxlan: Fix error path in __vxlan_dev_create()
clocksource/drivers/fttmr010: Fix invalid interrupt register access
IB/qib: Fix an error code in qib_sdma_verbs_send()
xfs: Fix bulkstat compat ioctls on x32 userspace.
xfs: Align compat attrlist_by_handle with native implementation.
gfs2: take jdata unstuff into account in do_grow
dm flakey: Properly corrupt multi-page bios.
HID: doc: fix wrong data structure reference for UHID_OUTPUT
pinctrl: sh-pfc: sh7734: Fix shifted values in IPSR10
pinctrl: sh-pfc: sh7264: Fix PFCR3 and PFCR0 register configuration
KVM: s390: unregister debug feature on failing arch init
bnxt_en: query force speeds before disabling autoneg mode.
bnxt_en: Return linux standard errors in bnxt_ethtool.c
exofs_mount(): fix leaks on failure exits
net/mlx5: Continue driver initialization despite debugfs failure
pinctrl: xway: fix gpio-hog related boot issues
vfio-mdev/samples: Use u8 instead of char for handle functions
xen/pciback: Check dev_data before using it
kprobes/x86/xen: blacklist non-attachable xen interrupt functions
serial: 8250: Rate limit serial port rx interrupts during input overruns
HID: intel-ish-hid: fixes incorrect error handling
btrfs: only track ref_heads in delayed_ref_updates
mtd: rawnand: sunxi: Write pageprog related opcodes to WCMD_SET
mmc: meson-gx: make sure the descriptor is stopped on errors
VSOCK: bind to random port for VMADDR_PORT_ANY
kvm: vmx: Set IA32_TSC_AUX for legacy mode guests
* gpiolib: Fix return value of gpio_to_desc() stub if !GPIOLIB
include/linux/gpio/consumer.h
iwlwifi: move iwl_nvm_check_version() into dvm
microblaze: move "... is ready" messages to arch/microblaze/Makefile
microblaze: adjust the help to the real behavior
ubi: Do not drop UBI device reference before using
ubi: Put MTD device after it is not used
xfs: require both realtime inodes to mount
rtl818x: fix potential use after free
mwifiex: debugfs: correct histogram spacing, formatting
mwifiex: fix potential NULL dereference and use after free
crypto: user - support incremental algorithm dumps
scsi: lpfc: Enable Management features for IF_TYPE=6
ACPI / LPSS: Ignore acpi_device_fix_up_power() return value
ARM: ks8695: fix section mismatch warning
PM / AVS: SmartReflex: NULL check before some freeing functions is not needed
RDMA/vmw_pvrdma: Use atomic memory allocation in create AH
ARM: OMAP1: fix USB configuration for device-only setups
* arm64: smp: Handle errors reported by the firmware
arch/arm64/kernel/smp.c
* arm64: mm: Prevent mismatched 52-bit VA support
arch/arm64/kernel/head.S
arch/arm64/kernel/smp.c
parisc: Fix HP SDC hpa address output
parisc: Fix serio address output
ARM: dts: imx53-voipac-dmm-668: Fix memory node duplication
ARM: debug-imx: only define DEBUG_IMX_UART_PORT if needed
ARM: dts: Fix up SQ201 flash access
scsi: lpfc: Fix dif and first burst use in write commands
scsi: lpfc: Fix kernel Oops due to null pring pointers
pwm: bcm-iproc: Prevent unloading the driver module while in use
block: drbd: remove a stray unlock in __drbd_send_protocol()
mac80211: fix station inactive_time shortly after boot
ceph: return -EINVAL if given fsc mount option on kernel w/o support
net: bcmgenet: reapply manual settings to the PHY
scripts/gdb: fix debugging modules compiled with hot/cold partitioning
watchdog: meson: Fix the wrong value of left time
can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error
can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error
can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors
can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM
can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max
can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak
can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
can: peak_usb: report bus recovery as well
bridge: ebtables: don't crash when using dnat target in output chains
net: fec: add missed clk_disable_unprepare in remove
clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call
x86/resctrl: Prevent NULL pointer dereference when reading mondata
* idr: Fix idr_alloc_u32 on 32-bit systems
lib/radix-tree.c
clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
clk: at91: avoid sleeping early
* reset: fix reset_control_ops kerneldoc comment
include/linux/reset-controller.h
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
ASoC: kirkwood: fix external clock probe defer
* reset: Fix memory leak in reset_control_array_put()
drivers/reset/core.c
* ASoC: compress: fix unsigned integer overflow check
sound/core/compress_offload.c
ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX
clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate
Revert "KVM: nVMX: reset cache/shadows when switching loaded VMCS"
* fs/lock: skip lock owner pid translation in case we are in init_pid_ns
fs/locks.c
UPSTREAM: dt-bindings: arm: coresight: Add support for coresight-loses-context-with-cpu
* BACKPORT: coresight: etm4x: Save/restore state across CPU low power states
include/linux/coresight.h
* f2fs: stop GC when the victim becomes fully valid
fs/f2fs/gc.c
* f2fs: expose main_blkaddr in sysfs
fs/f2fs/sysfs.c
* f2fs: choose hardlimit when softlimit is larger than hardlimit in f2fs_statfs_project()
fs/f2fs/super.c
* f2fs: Fix deadlock in f2fs_gc() context during atomic files handling
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/segment.c
* f2fs: show f2fs instance in printk_ratelimited
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/inode.c
fs/f2fs/node.c
fs/f2fs/segment.c
* f2fs: fix potential overflow
fs/f2fs/data.c
fs/f2fs/file.c
* f2fs: fix to update dir's i_pino during cross_rename
fs/f2fs/namei.c
* f2fs: support aligned pinned file
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c
fs/f2fs/sysfs.c
* f2fs: avoid kernel panic on corruption test
fs/f2fs/node.c
f2fs: fix wrong description in document
* f2fs: cache global IPU bio
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/super.c
* f2fs: fix to avoid memory leakage in f2fs_listxattr
fs/f2fs/xattr.c
* f2fs: check total_segments from devices in raw_super
fs/f2fs/super.c
* f2fs: update multi-dev metadata in resize_fs
fs/f2fs/gc.c
* f2fs: mark recovery flag correctly in read_raw_super_block()
fs/f2fs/super.c
* f2fs: fix to update time in lazytime mode
fs/f2fs/f2fs.h
fs/f2fs/inode.c
* vfs: don't allow writes to swap files
fs/block_dev.c
include/linux/fs.h
mm/filemap.c
mm/memory.c
mm/mmap.c
mm/swapfile.c
* mm: set S_SWAPFILE on blockdev swap devices
mm/swapfile.c
BACKPORT: ARM: 8900/1: UNWINDER_FRAME_POINTER implementation for Clang
Merge 4.14.157 into android-4.14
Linux 4.14.157
x86/hyperv: mark hyperv_init as __init function
KVM: PPC: Book3S HV: Flush link stack on guest exit to host kernel
powerpc/book3s64: Fix link stack flush on context switch
powerpc/64s: support nospectre_v2 cmdline option
staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
USB: serial: option: add support for Foxconn T77W968 LTE modules
USB: serial: option: add support for DW5821e with eSIM support
USB: serial: mos7840: fix remote wakeup
USB: serial: mos7720: fix remote wakeup
USB: serial: mos7840: add USB ID to support Moxa UPort 2210
appledisplay: fix error handling in the scheduled work
USB: chaoskey: fix error case of a timeout
usb-serial: cp201x: support Mark-10 digital force gauge
usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
usbip: tools: fix fd leakage in the function of read_attr_usbip_status
virtio_ring: fix return code on DMA mapping fails
media: imon: invalid dereference in imon_touch_event
media: cxusb: detect cxusb_ctrl_msg error in query
media: b2c2-flexcop-usb: add sanity checking
media: uvcvideo: Fix error path in control parsing failure
* cpufreq: Add NULL checks to show() and store() methods of cpufreq
drivers/cpufreq/cpufreq.c
media: usbvision: Fix races among open, close, and disconnect
media: vivid: Fix wrong locking that causes race conditions on streaming stop
media: vivid: Set vid_cap_streaming and vid_out_streaming to true
nfc: port100: handle command failure cleanly
nbd: prevent memory leak
x86/speculation: Fix redundant MDS mitigation message
x86/speculation: Fix incorrect MDS/TAA mitigation status
x86/insn: Fix awk regexp warnings
ARC: perf: Accommodate big-endian CPU
ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
ocfs2: remove ocfs2_is_o2cb_active()
* cpufreq: Skip cpufreq resume if it's not suspended
drivers/cpufreq/cpufreq.c
* arm64: fix for bad_mode() handler to always result in panic
arch/arm64/kernel/traps.c
net: phy: dp83867: increase SGMII autoneg timer duration
net: phy: dp83867: fix speed 10 in sgmii mode
mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
md/raid10: prevent access of uninitialized resync_pages offset
ath9k_hw: fix uninitialized variable data
ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
* KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
include/linux/kvm_host.h
Bluetooth: Fix invalid-free in bcsp_close()
* cfg80211: call disconnect_wk when AP stops
net/wireless/ap.c
net/wireless/core.h
net/wireless/sme.c
* ipv6: Fix handling of LLA with VRF and sockets bound to VRF
net/ipv6/tcp_ipv6.c
mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
i2c: uniphier-f: fix timeout error after reading 8 bytes
spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
PCI: keystone: Use quirk to limit MRRS for K2G
pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD
pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT
* pinctrl: qcom: spmi-gpio: fix gpio-hog related boot issues
drivers/pinctrl/qcom/pinctrl-spmi-gpio.c
* cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces
net/wireless/sme.c
of: unittest: allow base devicetree to have symbol metadata
net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
ACPICA: Use %d for signed int print formatting instead of %u
vrf: mark skb for multicast or link-local as enslaved to VRF
dlm: don't leak kernel pointer to userspace
dlm: fix invalid free
scsi: lpfc: Correct loss of fc4 type on remote port address change
scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
scsi: megaraid_sas: Fix goto labels in error handling
scsi: megaraid_sas: Fix msleep granularity
scsi: mpt3sas: Fix driver modifying persistent data in Manufacturing page11
scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
scsi: mpt3sas: Fix Sync cache command failure during driver unload
net: dsa: bcm_sf2: Turn on PHY to allow successful registration
rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information
wireless: airo: potential buffer overflow in sprintf()
brcmsmac: never log "tid x is not agg'able" by default
rtl8xxxu: Fix missing break in switch
wlcore: Fix the return value in case of error in 'wlcore_vendor_cmd_smart_config_start()'
wil6210: fix locking in wmi_call
btrfs: avoid link error with CONFIG_NO_AUTO_INLINE
audit: print empty EXECVE args
clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
* sched/fair: Don't increase sd->balance_interval on newidle balance
kernel/sched/fair.c
* sched/topology: Fix off by one bug
kernel/sched/topology.c
* net: do not abort bulk send on BQL status
net/core/dev.c
ocfs2: fix clusters leak in ocfs2_defrag_extent()
ocfs2: don't put and assigning null to bh allocated outside
* arm64: makefile fix build of .i file in external module case
arch/arm64/Makefile
ntb: intel: fix return value for ndev_vec_mask()
ntb_netdev: fix sleep time mismatch
net: hns3: bugfix for buffer not free problem during resetting
igb: shorten maximum PHC timecounter update interval
* mm/memory_hotplug: make add_memory() take the device_hotplug_lock
include/linux/memory_hotplug.h
fs/hfs/extent.c: fix array out of bounds read of array extent
hfs: update timestamp on truncate()
hfsplus: update timestamps on truncate()
hfs: fix return value of hfs_get_block()
hfsplus: fix return value of hfsplus_get_block()
hfs: prevent btree data loss on ENOSPC
hfsplus: prevent btree data loss on ENOSPC
hfs: fix BUG on bnode parent update
hfsplus: fix BUG on bnode parent update
* linux/bitmap.h: fix type of nbits in bitmap_shift_right()
include/linux/bitmap.h
* linux/bitmap.h: handle constant zero-size bitmaps correctly
include/linux/bitmap.h
selftests/powerpc/cache_shape: Fix out-of-tree build
selftests/powerpc/switch_endian: Fix out-of-tree build
selftests/powerpc/signal: Fix out-of-tree build
powerpc/xmon: Relax frame size for clang
* vfs: avoid problematic remapping requests into partial EOF block
fs/read_write.c
um: Make line/tty semantics use true write IRQ
i2c: uniphier-f: fix race condition when IRQ is cleared
i2c: uniphier-f: fix occasional timeout error
i2c: uniphier-f: make driver robust against concurrency
* block: fix the DISCARD request merge
block/blk-merge.c
macsec: let the administrator set UP state even if lowerdev is down
macsec: update operstate when lower device changes
* mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock
mm/page-writeback.c
fs/ocfs2/dlm/dlmdebug.c: fix a sleep-in-atomic-context bug in dlm_print_one_mle()
* arm64: lib: use C string functions with KASAN enabled
arch/arm64/include/asm/string.h
arch/arm64/kernel/arm64ksyms.c
arch/arm64/lib/memchr.S
arch/arm64/lib/memcmp.S
arch/arm64/lib/strchr.S
arch/arm64/lib/strcmp.S
arch/arm64/lib/strlen.S
arch/arm64/lib/strncmp.S
arch/arm64/lib/strnlen.S
arch/arm64/lib/strrchr.S
sparc64: Rework xchg() definition to avoid warnings.
powerpc/process: Fix flush_all_to_thread for SPE
* bpf: devmap: fix wrong interface selection in notifier_call
kernel/bpf/devmap.c
thermal: rcar_thermal: Prevent hardware access during system suspend
selftests: watchdog: Fix error message.
selftests: watchdog: fix message when /dev/watchdog open fails
selftests/ftrace: Fix to test kprobe $comm arg only if available
mfd: max8997: Enale irq-wakeup unconditionally
mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
mfd: arizona: Correct calling of runtime_put_sync
net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
qlcnic: fix a return in qlcnic_dcb_get_capability()
mISDN: Fix type of switch control variable in ctrl_teimanager
* f2fs: fix to spread clear_cold_data()
fs/f2fs/data.c
fs/f2fs/dir.c
fs/f2fs/segment.c
rtc: s35390a: Change buf's type to u8 in s35390a_init
ceph: fix dentry leak in ceph_readdir_prepopulate
powerpc/pseries: Export raw per-CPU VPA data via debugfs
sparc: Fix parport build warnings.
spi: omap2-mcspi: Set FIFO DMA trigger level to word length
s390/perf: Return error when debug_register fails
atm: zatm: Fix empty body Clang warnings
sunrpc: safely reallow resvport min/max inversion
SUNRPC: Fix a compile warning for cmpxchg64()
dm raid: avoid bitmap with raid4/5/6 journal device
usbip: tools: fix atoi() on non-null terminated string
USB: misc: appledisplay: fix backlight update_status return code
PCI: vmd: Detach resources after stopping root bus
macintosh/windfarm_smu_sat: Fix debug output
ALSA: i2c/cs8427: Fix int to char conversion
* PM / Domains: Deal with multiple states but no governor in genpd
drivers/base/power/domain.c
kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack
xfs: fix use-after-free race in xfs_buf_rele
* net: ena: Fix Kconfig dependency on X86
drivers/net/ethernet/amazon/Kconfig
* net: fix warning in af_unix
net/unix/af_unix.c
net: dsa: mv88e6xxx: Fix 88E6141/6341 2500mbps SERDES speed
scsi: dc395x: fix DMA API usage in sg_update_list
scsi: dc395x: fix dma API usage in srb_done
ASoC: tegra_sgtl5000: fix device_node refcounting
clk: at91: audio-pll: fix audio pmc type
clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk
nvmet-fcloop: suppress a compiler warning
crypto: ccree - avoid implicit enum conversion
scsi: iscsi_tcp: Explicitly cast param in iscsi_sw_tcp_host_get_param
scsi: isci: Change sci_controller_start_task's return type to sci_status
scsi: isci: Use proper enumerated type in atapi_d2h_reg_frame_handler
KVM/x86: Fix invvpid and invept register operand size in 64-bit mode
KVM: nVMX: reset cache/shadows when switching loaded VMCS
scsi: ips: fix missing break in switch
qed: Align local and global PTT to propagate through the APIs.
amiflop: clean up on errors during setup
pwm: lpss: Only set update bit if we are actually changing the settings
pinctrl: sunxi: Fix a memory leak in 'sunxi_pinctrl_build_state()'
RDMA/bnxt_re: Fix qp async event reporting
m68k: fix command-line parsing when passed from u-boot
w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
misc: mic: fix a DMA pool free failure
gsmi: Fix bug in append_to_eventlog sysfs handler
btrfs: handle error of get_old_root
mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail
spi: sh-msiof: fix deferred probing
cdrom: don't attempt to fiddle with cdo->capability
skd: fixup usage of legacy IO API
ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
brcmsmac: AP mode: update beacon when TIM changes
EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
powerpc/boot: Disable vector instructions
powerpc: Fix signedness bug in update_flash_db()
synclink_gt(): fix compat_ioctl()
* pty: fix compat ioctls
drivers/tty/pty.c
gfs2: Fix marking bitmaps non-full
* printk: fix integer overflow in setup_log_buf()
kernel/printk/printk.c
ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback
mwifiex: Fix NL80211_TX_POWER_LIMITED
platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
platform/x86: asus-nb-wmi: Support ALS on the Zenbook UX430UQ
drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
Revert "fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()"
virtio_console: allocate inbufs in add_port() only if it is needed
nbd:fix memory leak in nbd_get_socket()
tools: gpio: Correctly add make dependencies for gpio_utils
gpio: max77620: Fixup debounce delays
vhost/vsock: split packets to send using multiple buffers
net/sched: act_pedit: fix WARN() in the traffic path
net/mlxfw: Verify FSM error code translation doesn't exceed array size
net/mlx5e: Fix set vf link state error flow
sfc: Only cancel the PPS workqueue if it exists
* net: rtnetlink: prevent underflows in do_setvfinfo()
net/core/rtnetlink.c
net/mlx4_en: fix mlx4 ethtool -N insertion
ANDROID: removed CONFIG_PM_WAKELOCKS
Merge 4.14.156 into android-4.14
Linux 4.14.156
mmc: tmio: fix SCC error handling to avoid false positive CRC error
powerpc/time: Fix clockevent_decrementer initalisation for PR KVM
tools: PCI: Fix broken pcitest compilation
ARM: dts: omap5: Fix dual-role mode on Super-Speed port
mlxsw: spectrum_switchdev: Check notification relevance based on upper device
spi: rockchip: initialize dma_slave_config properly
mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode
mac80211: minstrel: fix CCK rate group streams value
mac80211: minstrel: fix using short preamble CCK rates on HT clients
misc: cxl: Fix possible null pointer dereference
netfilter: nft_compat: do not dump private area
hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
hwmon: (pwm-fan) Silence error on probe deferral
pinctrl: gemini: Fix up TVC clock group
orangefs: rate limit the client not running info message
ARM: 8802/1: Call syscall_trace_exit even when system call skipped
* spi: spidev: Fix OF tree warning logic
drivers/spi/spidev.c
pinctrl: gemini: Mask and set properly
spi: fsl-lpspi: Prevent FIFO under/overrun by default
gpio: syscon: Fix possible NULL ptr usage
x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error
media: cx231xx: fix potential sign-extension overflow on large shift
GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads
media: isif: fix a NULL pointer dereference bug
* printk: Give error on attempt to set log buffer length to over 2G
kernel/printk/printk.c
mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable
backlight: lm3639: Unconditionally call led_classdev_unregister
proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()
s390/kasan: avoid vdso instrumentation
media: dw9714: Fix error handling in probe function
bcache: recal cached_dev_sectors on detach
* reset: Fix potential use-after-free in __of_reset_control_get()
drivers/reset/core.c
fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper()
fbdev: sbuslib: use checked version of put_user()
mmc: tmio: Fix SCC error detection
x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately
iwlwifi: mvm: don't send keys when entering D3
ACPI / SBS: Fix rare oops when removing modules
* xfrm: use correct size to initialise sp->ovec
net/xfrm/xfrm_input.c
crypto: mxs-dcp - Fix AES issues
crypto: mxs-dcp - Fix SHA null hashes and output length
dmaengine: rcar-dmac: set scatter/gather max segment size
x86/olpc: Fix build error with CONFIG_MFD_CS5535=m
kexec: Allocate decrypted control pages for kdump if SME is enabled
remoteproc: Check for NULL firmwares in sysfs interface
Input: silead - try firmware reload after unsuccessful resume
Input: st1232 - set INPUT_PROP_DIRECT property
media: cec-gpio: select correct Signal Free Time
dmaengine: ioat: fix prototype of ioat_enumerate_channels
NFSv4.x: fix lock recovery during delegation recall
* i2c: brcmstb: Allow enabling the driver on DSL SoCs
drivers/i2c/busses/Kconfig
clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420
qtnfmac: drop error reports for out-of-bounds key indexes
qtnfmac: pass sgi rate info flag to wireless core
brcmfmac: fix full timeout waiting for action frame on-channel tx
brcmfmac: reduce timeout for action frame scan
* cpu/SMT: State SMT is disabled even with nosmt and without "=force"
kernel/cpu.c
mtd: physmap_of: Release resources on error
USB: serial: cypress_m8: fix interrupt-out transfer length
KVM: PPC: Book3S PR: Exiting split hack mode needs to fixup both PC and LR
ALSA: hda/sigmatel - Disable automute for Elo VuPoint
media: i2c: adv748x: Support probing a single output
media: pxa_camera: Fix check for pdev->dev.of_node
media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote
ata: ep93xx: Use proper enums for directions
powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer
ACPICA: Never run _REG on system_memory and system_IO
* IB/mlx4: Avoid implicit enumerated type conversion
include/rdma/ib_verbs.h
IB/mthca: Fix error return code in __mthca_init_one()
ixgbe: Fix crash with VFs and flow director on interface flap
i40e: Use proper enum in i40e_ndo_set_vf_link_state
ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit
md: allow metadata updates while suspending an array - fix
clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
clocksource/drivers/sh_cmt: Fixup for 64-bit machines
tools: PCI: Fix compilation warnings
PM / hibernate: Check the success of generating md5 digest before hibernation
mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer
ARM: dts: at91: at91sam9x5cm: fix addressable nand flash size
ARM: dts: at91: sama5d4_xplained: fix addressable nand flash size
powerpc/xive: Move a dereference below a NULL test
powerpc/pseries: Fix how we iterate over the DTL entries
powerpc/pseries: Fix DTL buffer registration
cxgb4: Use proper enum in IEEE_FAUX_SYNC
cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update
mei: samples: fix a signedness bug in amt_host_if_call()
sunrpc: Fix connect metrics
* clk: keystone: Enable TISCI clocks if K3_ARCH
drivers/clk/Makefile
drivers/clk/keystone/Kconfig
* ext4: fix build error when DX_DEBUG is defined
fs/ext4/namei.c
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
KVM: PPC: Inform the userspace about TCE update failures
watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D
irqchip/irq-mvebu-icu: Fix wrong private data retrieval
* nl80211: Fix a GET_KEY reply attribute
net/wireless/nl80211.c
* usb: dwc3: gadget: Check ENBLSLPM before sending ep command
drivers/usb/dwc3/gadget.c
usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status()
ath9k: fix reporting calculated new FFT upper max
* ata: ahci_brcm: Allow using driver or DSL SoCs
drivers/ata/Kconfig
ath10k: fix vdev-start timeout on error
arm64/numa: Report correct memblock range for the dummy node
kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table
* iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
drivers/iommu/io-pgtable-arm.c
IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds
* SUNRPC: Fix priority queue fairness
include/linux/sunrpc/sched.h
ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
* f2fs: return correct errno in f2fs_gc
fs/f2fs/gc.c
net: hns3: Fix for netdev not up problem when setting mtu
ARM: dts: omap5: enable OTG role for DWC3 controller
ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
net: xen-netback: fix return type of ndo_start_xmit function
net: ovs: fix return type of ndo_start_xmit function
* fbdev: Ditch fb_edid_add_monspecs
drivers/video/fbdev/core/fbmon.c
drivers/video/fbdev/core/modedb.c
include/linux/fb.h
* arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
arch/arm64/lib/clear_user.S
arch/arm64/lib/copy_from_user.S
arch/arm64/lib/copy_in_user.S
arch/arm64/lib/copy_to_user.S
mm/memory_hotplug: fix updating the node span
mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
* idr: Fix idr_get_next race with idr_remove
lib/idr.c
* net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
drivers/net/usb/cdc_ncm.c
* Revert "OPP: Protect dev_list with opp_table lock"
drivers/base/power/opp/core.c
drivers/base/power/opp/cpu.c
drivers/base/power/opp/opp.h
tee: optee: add missing of_node_put after of_device_is_available
spi: mediatek: use correct mata->xfer_len when in fifo transfer
* FROMGIT: pinctrl: devicetree: Avoid taking direct reference to device name string
drivers/pinctrl/devicetree.c
Change-Id: I9c31a0c869961bd1866ef774568945fa54f0313d
Signed-off-by: Robin Peng <robinpeng@google.com>
45 lines
1.2 KiB
C
45 lines
1.2 KiB
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/init_task.h>
|
|
#include <linux/export.h>
|
|
#include <linux/mqueue.h>
|
|
#include <linux/sched.h>
|
|
#include <linux/sched/sysctl.h>
|
|
#include <linux/sched/rt.h>
|
|
#include <linux/sched/task.h>
|
|
#include <linux/init.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/mm.h>
|
|
#include <linux/scs.h>
|
|
|
|
#include <asm/pgtable.h>
|
|
#include <linux/uaccess.h>
|
|
|
|
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
|
|
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
|
|
|
|
#ifdef CONFIG_SHADOW_CALL_STACK
|
|
unsigned long init_shadow_call_stack[SCS_SIZE / sizeof(long)]
|
|
__init_task_data __aligned(SCS_SIZE);
|
|
#endif
|
|
|
|
/* Initial task structure */
|
|
struct task_struct init_task = INIT_TASK(init_task);
|
|
EXPORT_SYMBOL(init_task);
|
|
|
|
#ifdef CONFIG_SHADOW_CALL_STACK
|
|
unsigned long init_shadow_call_stack[SCS_SIZE / sizeof(long)] __init_task_data
|
|
__aligned(SCS_SIZE) = {
|
|
[(SCS_SIZE / sizeof(long)) - 1] = SCS_END_MAGIC
|
|
};
|
|
#endif
|
|
|
|
/*
|
|
* Initial thread structure. Alignment of this is handled by a special
|
|
* linker map entry.
|
|
*/
|
|
union thread_union init_thread_union __init_task_data = {
|
|
#ifndef CONFIG_THREAD_INFO_IN_TASK
|
|
INIT_THREAD_INFO(init_task)
|
|
#endif
|
|
};
|