Merge 4.4.72 into android-4.4
authorGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Jun 2017 14:33:25 +0000 (16:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 14 Jun 2017 14:33:25 +0000 (16:33 +0200)
Changes in 4.4.72
bnx2x: Fix Multi-Cos
ipv6: xfrm: Handle errors reported by xfrm6_find_1stfragopt()
cxgb4: avoid enabling napi twice to the same queue
tcp: disallow cwnd undo when switching congestion control
vxlan: fix use-after-free on deletion
ipv6: Fix leak in ipv6_gso_segment().
net: ping: do not abuse udp_poll()
net: ethoc: enable NAPI before poll may be scheduled
net: bridge: start hello timer only if device is up
sparc64: mm: fix copy_tsb to correctly copy huge page TSBs
sparc: Machine description indices can vary
sparc64: reset mm cpumask after wrap
sparc64: combine activate_mm and switch_mm
sparc64: redefine first version
sparc64: add per-cpu mm of secondary contexts
sparc64: new context wrap
sparc64: delete old wrap code
arch/sparc: support NR_CPUS = 4096
serial: ifx6x60: fix use-after-free on module unload
ptrace: Properly initialize ptracer_cred on fork
KEYS: fix dereferencing NULL payload with nonzero length
KEYS: fix freeing uninitialized memory in key_update()
crypto: gcm - wait for crypto op not signal safe
drm/amdgpu/ci: disable mclk switching for high refresh rates (v2)
nfsd4: fix null dereference on replay
nfsd: Fix up the "supattr_exclcreat" attributes
kvm: async_pf: fix rcu_irq_enter() with irqs enabled
KVM: cpuid: Fix read/write out-of-bounds vulnerability in cpuid emulation
arm: KVM: Allow unaligned accesses at HYP
KVM: async_pf: avoid async pf injection when in guest mode
dmaengine: usb-dmac: Fix DMAOR AE bit definition
dmaengine: ep93xx: Always start from BASE0
xen/privcmd: Support correctly 64KB page granularity when mapping memory
xen-netfront: do not cast grant table reference to signed short
xen-netfront: cast grant table reference first to type int
ext4: fix SEEK_HOLE
ext4: keep existing extra fields when inode expands
ext4: fix fdatasync(2) after extent manipulation operations
usb: gadget: f_mass_storage: Serialize wake and sleep execution
usb: chipidea: udc: fix NULL pointer dereference if udc_start failed
usb: chipidea: debug: check before accessing ci_role
staging/lustre/lov: remove set_fs() call from lov_getstripe()
iio: light: ltr501 Fix interchanged als/ps register field
iio: proximity: as3935: fix AS3935_INT mask
drivers: char: random: add get_random_long()
random: properly align get_random_int_hash
stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
cpufreq: cpufreq_register_driver() should return -ENODEV if init fails
target: Re-add check to reject control WRITEs with overflow data
drm/msm: Expose our reservation object when exporting a dmabuf.
Input: elantech - add Fujitsu Lifebook E546/E557 to force crc_enabled
cpuset: consider dying css as offline
fs: add i_blocksize()
ufs: restore proper tail allocation
fix ufs_isblockset()
ufs: restore maintaining ->i_blocks
ufs: set correct ->s_maxsize
ufs_extend_tail(): fix the braino in calling conventions of ufs_new_fragments()
ufs_getfrag_block(): we only grab ->truncate_mutex on block creation path
cxl: Fix error path on bad ioctl
btrfs: use correct types for page indices in btrfs_page_exists_in_range
btrfs: fix memory leak in update_space_info failure path
KVM: arm/arm64: Handle possible NULL stage2 pud when ageing pages
scsi: qla2xxx: don't disable a not previously enabled PCI device
powerpc/eeh: Avoid use after free in eeh_handle_special_event()
powerpc/numa: Fix percpu allocations to be NUMA aware
powerpc/hotplug-mem: Fix missing endian conversion of aa_index
perf/core: Drop kernel samples even though :u is specified
drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()
drm/vmwgfx: Make sure backup_handle is always valid
drm/nouveau/tmr: fully separate alarm execution/pending lists
ALSA: timer: Fix race between read and ioctl
ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
ASoC: Fix use-after-free at card unregistration
drivers: char: mem: Fix wraparound check to allow mappings up to the end
tty: Drop krefs for interrupted tty lock
serial: sh-sci: Fix panic when serial console and DMA are enabled
net: better skb->sender_cpu and skb->napi_id cohabitation
mm: consider memblock reservations for deferred memory initialization sizing
NFS: Ensure we revalidate attributes before using execute_ok()
NFSv4: Don't perform cached access checks before we've OPENed the file
Make __xfs_xattr_put_listen preperly report errors.
arm64: hw_breakpoint: fix watchpoint matching for tagged pointers
arm64: entry: improve data abort handling of tagged pointers
RDMA/qib,hfi1: Fix MR reference count leak on write with immediate
usercopy: Adjust tests to deal with SMAP/PAN
arm64: armv8_deprecated: ensure extension of addr
arm64: ensure extension of smp_store_release value
Linux 4.4.72

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
20 files changed:
1  2 
Makefile
arch/arm64/include/asm/barrier.h
arch/arm64/include/asm/uaccess.h
arch/arm64/kernel/armv8_deprecated.c
arch/arm64/kernel/entry.S
arch/arm64/kernel/hw_breakpoint.c
drivers/cpufreq/cpufreq.c
fs/ext4/inode.c
fs/mpage.c
include/linux/fs.h
include/linux/memblock.h
include/linux/mmzone.h
kernel/cpuset.c
kernel/events/core.c
kernel/fork.c
mm/memblock.c
mm/page_alloc.c
net/ipv4/af_inet.c
net/ipv6/ping.c
net/ipv6/raw.c

diff --cc Makefile
Simple merge
Simple merge
Simple merge
index 74dc6c1d97ee0b3ab4b378965a47285d36128e67,478a00b9732b4c26f6fe1d41d56442044bc9e1f6..185ac132f195921e2faac58ae426010b5691de2f
@@@ -296,13 -297,17 +296,14 @@@ do {                                                            
        "4:     mov             %w0, %w5\n"                     \
        "       b               3b\n"                           \
        "       .popsection"                                    \
 -      "       .pushsection     __ex_table,\"a\"\n"            \
 -      "       .align          3\n"                            \
 -      "       .quad           0b, 4b\n"                       \
 -      "       .quad           1b, 4b\n"                       \
 -      "       .popsection\n"                                  \
 -      ALTERNATIVE("nop", SET_PSTATE_PAN(1), ARM64_HAS_PAN,    \
 -              CONFIG_ARM64_PAN)                               \
 +      _ASM_EXTABLE(0b, 4b)                                    \
 +      _ASM_EXTABLE(1b, 4b)                                    \
        : "=&r" (res), "+r" (data), "=&r" (temp)                \
-       : "r" (addr), "i" (-EAGAIN), "i" (-EFAULT)              \
+       : "r" ((unsigned long)addr), "i" (-EAGAIN),             \
+         "i" (-EFAULT)                                         \
 -      : "memory")
 +      : "memory");                                            \
 +      uaccess_disable();                                      \
 +} while (0)
  
  #define __user_swp_asm(data, addr, res, temp) \
        __user_swpX_asm(data, addr, res, temp, "")
index a7d42474f65fbbed2d5efbd0fb1a7e39bb40f9cb,dccd0c2e9023626db6554c8545047f5fef2dbb0e..3f9d78612e572314410e84cc991d31dd6a794a34
  #include <asm/cpufeature.h>
  #include <asm/errno.h>
  #include <asm/esr.h>
 +#include <asm/irq.h>
  #include <asm/memory.h>
 +#include <asm/ptrace.h>
  #include <asm/thread_info.h>
 +#include <asm/uaccess.h>
+ #include <asm/asm-uaccess.h>
  #include <asm/unistd.h>
  
  /*
Simple merge
Simple merge
diff --cc fs/ext4/inode.c
Simple merge
diff --cc fs/mpage.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc kernel/cpuset.c
Simple merge
Simple merge
diff --cc kernel/fork.c
Simple merge
diff --cc mm/memblock.c
Simple merge
diff --cc mm/page_alloc.c
Simple merge
Simple merge
diff --cc net/ipv6/ping.c
Simple merge
diff --cc net/ipv6/raw.c
Simple merge