This is the start of the stable review cycle for the 3.18.51 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Apr 30 08:30:25 UTC 2017. Anything received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v3.x/stable-review/patch-3.18.51-rc1.gz or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-3.18.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 3.18.51-rc1 Eric Dumazet <edumazet@xxxxxxxxxx> ping: implement proper locking EunTaik Lee <eun.taik.lee@xxxxxxxxxxx> staging/android/ion : fix a race condition in the ion driver Vlad Tsyrklevich <vlad@xxxxxxxxxxxxxxx> vfio/pci: Fix integer overflows, bitmask check Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxx> xc2028: avoid use after free Stefan Agner <stefan@xxxxxxxx> ARM: 8383/1: nommu: avoid deprecated source register on mov Arnd Bergmann <arnd@xxxxxxxx> kconfig: tinyconfig: provide whole choice blocks to avoid warnings John Crispin <john@xxxxxxxxxxx> MIPS: ralink: Cosmetic change to prom_init(). Hannes Reinecke <hare@xxxxxxx> aic94xx: Skip reading user settings if flash is not found Arnd Bergmann <arnd@xxxxxxxx> ARM: 8296/1: cache-l2x0: clean up aurora cache handling Satoru Takeuchi <takeuchi_satoru@xxxxxxxxxxxxxx> btrfs: fix state->private cast on 32 bit machines Arnd Bergmann <arnd@xxxxxxxx> gfs2: avoid uninitialized variable warning Arnd Bergmann <arnd@xxxxxxxx> mmc: sunxi: avoid invalid pointer calculation Arnd Bergmann <arnd@xxxxxxxx> net: tulip: turn compile-time warning into dev_warn() Sergey Ryazanov <ryazanov.s.a@xxxxxxxxx> MIPS: MSP71xx: remove odd locking in PCI config space access code Arnd Bergmann <arnd@xxxxxxxx> hostap: avoid uninitialized variable use in hfa384x_get_rid Richard Leitner <dev@xxxxxxxxxx> misc: ioc4: simplify wave period measurement in clock_calibrate Arnd Bergmann <arnd@xxxxxxxx> net: vxge: avoid unused function warnings Arnd Bergmann <arnd@xxxxxxxx> tty: nozomi: avoid a harmless gcc warning Arnd Bergmann <arnd@xxxxxxxx> brcmfmac: avoid gcc-5.1 warning Kevin Cernekee <cernekee@xxxxxxxxx> Fix signed/unsigned pointer warning Arnd Bergmann <arnd@xxxxxxxx> nfsd: work around a gcc-5.1 warning Markos Chandras <markos.chandras@xxxxxxxxxx> MIPS: asm: compiler: Add new macros to set ISA and arch asm annotations Paul Burton <paul.burton@xxxxxxxxxx> net: ti: cpmac: Fix compiler warning due to type confusion Oliver O'Halloran <oohall@xxxxxxxxx> mm/init: fix zone boundary creation Alex Williamson <alex.williamson@xxxxxxxxxx> iommu/vt-d: Remove unused variable Andre Przywara <andre.przywara@xxxxxxx> fs/nfs: fix new compiler warning about boolean in switch Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> perf: Avoid horrible stack usage Alban Bedel <albeu@xxxxxxx> MIPS: Fix the build on jz4740 after removing the custom gpio.h Arnd Bergmann <arnd@xxxxxxxx> dm bufio: hide bogus warning Arnd Bergmann <arnd@xxxxxxxx> gadgetfs: fix uninitialized variable in error handling Arnd Bergmann <arnd@xxxxxxxx> clk: at91: usb: fix determine_rate prototype again Mark Rutland <mark.rutland@xxxxxxx> arm64: avoid returning from bad_mode Suzuki K Poulose <suzuki.poulose@xxxxxxx> kvm: arm/arm64: Fix locking for kvm_free_stage2_pgd Yazen Ghannam <yazen.ghannam@xxxxxxx> x86/mce/AMD: Give a name to MCA bank 3 when accessed with legacy MSRs Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx> powerpc/kprobe: Fix oops when kprobed on 'stdu' instruction Sebastian Siewior <bigeasy@xxxxxxxxxxxxx> ubi/upd: Always flush after prepared for an update Haibo Chen <haibo.chen@xxxxxxx> mmc: sdhci-esdhc-imx: increase the pad I/O drive strength for DDR50 card Arnd Bergmann <arnd@xxxxxxxx> ACPI / power: Avoid maybe-uninitialized warning Thorsten Leemhuis <linux@xxxxxxxxxxxxx> Input: elantech - add Fujitsu Lifebook E547 to force crc_enabled Christian Borntraeger <borntraeger@xxxxxxxxxx> s390/mm: fix CMMA vs KSM vs others Germano Percossi <germano.percossi@xxxxxxxxxx> CIFS: remove bad_network_name flag Sachin Prabhu <sprabhu@xxxxxxxxxx> cifs: Do not send echoes before Negotiate is complete Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> ring-buffer: Have ring_buffer_iter_empty() return true when empty Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> tracing: Allocate the snapshot buffer before enabling probe Eric Biggers <ebiggers@xxxxxxxxxx> KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings David Howells <dhowells@xxxxxxxxxx> KEYS: Change the name of the dead type to ".dead" to prevent user access David Howells <dhowells@xxxxxxxxxx> KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings ------------- Diffstat: Makefile | 4 +- arch/arm/kernel/head-nommu.S | 20 ++-- arch/arm/kvm/mmu.c | 12 +++ arch/arm/mm/cache-l2x0.c | 111 +++++++-------------- arch/arm64/kernel/entry.S | 4 +- arch/arm64/kernel/traps.c | 28 +++++- arch/mips/include/asm/compiler.h | 13 +++ arch/mips/jz4740/board-qi_lb60.c | 1 + arch/mips/jz4740/gpio.c | 1 + arch/mips/pci/ops-pmcmsp.c | 12 --- arch/mips/ralink/prom.c | 9 +- arch/powerpc/kernel/entry_64.S | 6 +- arch/s390/include/asm/pgtable.h | 2 + arch/x86/configs/tiny.config | 2 + arch/x86/kernel/cpu/mcheck/mce_amd.c | 2 +- drivers/acpi/power.c | 1 + drivers/clk/at91/clk-usb.c | 4 +- drivers/input/mouse/elantech.c | 8 ++ drivers/iommu/intel-iommu.c | 1 - drivers/md/dm-bufio.c | 1 + drivers/media/tuners/tuner-xc2028.c | 3 +- drivers/misc/ioc4.c | 31 +++--- drivers/mmc/host/sdhci-esdhc-imx.c | 1 + drivers/mmc/host/sunxi-mmc.c | 5 +- drivers/mtd/ubi/upd.c | 8 +- drivers/net/ethernet/dec/tulip/tulip_core.c | 9 +- drivers/net/ethernet/dec/tulip/winbond-840.c | 2 +- drivers/net/ethernet/neterion/vxge/vxge-main.c | 31 +++--- drivers/net/ethernet/ti/cpmac.c | 5 +- drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c | 2 +- drivers/net/wireless/hostap/hostap_hw.c | 15 ++- drivers/scsi/aic94xx/aic94xx_sds.c | 5 +- drivers/staging/android/ion/ion.c | 55 +++++++--- drivers/tty/nozomi.c | 2 +- drivers/usb/gadget/legacy/inode.c | 1 + drivers/vfio/pci/vfio_pci.c | 33 +++--- drivers/vfio/pci/vfio_pci_intrs.c | 2 +- fs/btrfs/extent_io.c | 2 +- fs/cifs/cifsglob.h | 1 - fs/cifs/netmisc.c | 12 ++- fs/cifs/smb1ops.c | 10 ++ fs/cifs/smb2pdu.c | 5 - fs/gfs2/dir.c | 4 +- fs/nfs/nfs4proc.c | 11 +- fs/nfsd/nfs4state.c | 3 +- include/linux/ftrace_event.h | 2 +- include/linux/perf_event.h | 28 ++++-- include/trace/ftrace.h | 7 +- kernel/configs/tiny.config | 8 ++ kernel/events/core.c | 23 +++-- kernel/sched/core.c | 2 +- kernel/trace/ring_buffer.c | 16 ++- kernel/trace/trace.c | 8 +- kernel/trace/trace_event_perf.c | 4 +- kernel/trace/trace_kprobe.c | 4 +- kernel/trace/trace_syscalls.c | 4 +- kernel/trace/trace_uprobe.c | 2 +- mm/page_alloc.c | 17 ++-- net/ipv4/ping.c | 5 +- security/keys/gc.c | 2 +- security/keys/keyctl.c | 20 ++-- security/keys/process_keys.c | 44 ++++---- 62 files changed, 409 insertions(+), 287 deletions(-)