aboutsummaryrefslogtreecommitdiff
path: root/Documentation/filesystems
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.18.103 into android-msm-marlin-3.18-ltsPetri Gynther2018-08-161-30/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux 3.18.103 Revert "ARM: dts: am335x-pepper: Fix the audio CODEC's reset pin" Revert "ARM: dts: omap3-n900: Fix the audio CODEC's reset pin" * Revert "PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()" drivers/pci/pci-driver.c md/raid10: reset the 'first' at the end of loop ARM: dts: dra7: Add power hold and power controller properties to palmas Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition vt: change SGR 21 to follow the standards Input: i8042 - enable MUX on Sony VAIO VGN-CS series to fix touchpad Input: i8042 - add Lenovo ThinkPad L460 to i8042 reset list * fs/proc: Stop trying to report thread stacks fs/proc/task_mmu.c * proc: revert /proc/<pid>/maps [stack:TID] annotation fs/proc/task_mmu.c include/linux/mm.h mm/util.c crypto: x86/cast5-avx - fix ECB encryption when long sg follows short one * crypto: ahash - Fix early termination in hash walk crypto/ahash.c parport_pc: Add support for WCH CH382L PCI-E single parallel port card. media: usbtv: prevent double free in error case mei: remove dev_err message on an unsupported ioctl USB: serial: cp210x: add ELDAT Easywave RX09 id USB: serial: ftdi_sio: add support for Harman FirmwareHubEmulator USB: serial: ftdi_sio: add RT Systems VX-8 cable * media: v4l2-compat-ioctl32: initialize a reserved field drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32: use compat_u64 for video standard drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: media/v4l2-ctrls: volatiles should not generate CH_VALUE drivers/media/v4l2-core/v4l2-ctrls.c * media: v4l2-ctrls: fix sparse warning drivers/media/v4l2-core/v4l2-ctrls.c * media: v4l2-compat-ioctl32.c: refactor compat ioctl32 logic drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: don't copy back the result for certain errors drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: drop pr_info for unknown buffer type drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: copy clip list in put_v4l2_window32 drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32: Copy v4l2_window->global_alpha drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: fix ctrl_is_pointer drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: copy m.userptr in put_v4l2_plane32 drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: avoid sizeof(type) drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: move 'helper' functions to __get/put_v4l2_format32 drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: fix the indentation drivers/media/v4l2-core/v4l2-compat-ioctl32.c * media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF drivers/media/v4l2-core/v4l2-compat-ioctl32.c * vb2: V4L2_BUF_FLAG_DONE is set after DQBUF drivers/media/v4l2-core/videobuf2-core.c * media: v4l2-ioctl.c: don't copy back the result for -ENOTTY drivers/media/v4l2-core/v4l2-ioctl.c scsi: virtio_scsi: always read VPD pages for multiqueue too * Bluetooth: Fix missing encryption refresh on Security Request net/bluetooth/smp.c * netfilter: x_tables: add and use xt_check_proc_name include/linux/netfilter/x_tables.h net/netfilter/x_tables.c net/netfilter/xt_hashlimit.c netfilter: bridge: ebt_among: add more missing match size checks * xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems net/xfrm/xfrm_state.c * net: xfrm: use preempt-safe this_cpu_read() in ipcomp_alloc_tfms() net/xfrm/xfrm_ipcomp.c * xfrm_user: uncoditionally validate esn replay attribute struct net/xfrm/xfrm_user.c kprobes/x86: Fix to set RWX bits correctly before releasing trampoline * xhci: Fix ring leak in failure path of xhci_alloc_virt_device() drivers/usb/host/xhci-mem.c * Revert "led: core: Fix brightness setting when setting delay_off=0" drivers/leds/led-core.c usb: gadget: f_hid: fix: Prevent accessing released memory * usb: gadget: align buffer size when allocating for OUT endpoint drivers/usb/gadget/u_f.c drivers/usb/gadget/u_f.h * usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align include/linux/usb/gadget.h * usb: gadget: change len to size_t on alloc_ep_req() drivers/usb/gadget/u_f.c drivers/usb/gadget/u_f.h * usb: gadget: define free_ep_req as universal function drivers/usb/gadget/function/f_midi.c drivers/usb/gadget/u_f.c drivers/usb/gadget/u_f.h * partitions/msdos: Unable to mount UFS 44bsd partitions block/partitions/msdos.c * perf/hwbp: Simplify the perf-hwbp code, fix documentation kernel/events/hw_breakpoint.c ALSA: pcm: potential uninitialized return values * ALSA: pcm: Use dma_bytes as size parameter in dma_mmap_coherent() sound/core/pcm_native.c mtd: jedec_probe: Fix crash in jedec_read_mfr() net: fec: Fix unbalanced PM runtime calls s390/qeth: on channel error, reject further cmd requests s390/qeth: lock read device while queueing next buffer s390/qeth: when thread completes, wake up all waiters s390/qeth: free netdevice when removing a card team: Fix double free in error path * skbuff: Fix not waking applications when errors are enqueued net/core/skbuff.c * net: Only honor ifindex in IP_PKTINFO if non-0 net/ipv4/ip_sockglue.c * netlink: avoid a double skb free in genlmsg_mcast() net/netlink/genetlink.c net/iucv: Free memory obtained by kzalloc net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred * l2tp: do not accept arbitrary sockets net/l2tp/l2tp_core.c * ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option() net/ipv6/ndisc.c dccp: check sk for closed state in dccp_sendmsg() * Revert "genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs" kernel/irq/manage.c * scsi: sg: don't return bogus Sg_requests drivers/scsi/sg.c kvm/x86: fix icebp instruction handling tty: vt: fix up tabstops properly can: cc770: Fix use after free in cc770_tx_interrupt() can: cc770: Fix queue stall & dropped RTR reply can: cc770: Fix stalls on rt-linux, remove redundant IRQ ack staging: ncpfs: memory corruption in ncp_read_kernel() tracing: probeevent: Fix to support minus offset from symbol brcmfmac: fix P2P_DEVICE ethernet address generation drm: udl: Properly check framebuffer mmap offsets libata: Modify quirks for MX100 to limit NCQ_TRIM quirk to MU01 version libata: Make Crucial BX100 500GB LPM quirk apply to all firmware versions libata: Apply NOLPM quirk to Crucial M500 480 and 960GB SSDs libata: Enable queued TRIM for Samsung SSD 860 libata: disable LPM for Crucial BX100 SSD 500GB drive libata: Apply NOLPM quirk to Crucial MX100 512GB SSDs libata: remove WARN() for DMA or PIO command without data libata: fix length validation of ATAPI-relayed SCSI commands ALSA: aloop: Fix access to not-yet-ready substream via cable ALSA: aloop: Sync stale timer before release * ALSA: usb-audio: Fix parsing descriptor of UAC2 processing unit include/uapi/linux/usb/audio.h Change-Id: I1e821a4308efd258f9e7294e70429ae0335c2bb0 Signed-off-by: Petri Gynther <pgynther@google.com>
| * fs/proc: Stop trying to report thread stacksAndy Lutomirski2018-04-081-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit b18cb64ead400c01bf1580eeba330ace51f8087d upstream. This reverts more of: b76437579d13 ("procfs: mark thread stack correctly in proc/<pid>/maps") ... which was partially reverted by: 65376df58217 ("proc: revert /proc/<pid>/maps [stack:TID] annotation") Originally, /proc/PID/task/TID/maps was the same as /proc/TID/maps. In current kernels, /proc/PID/maps (or /proc/TID/maps even for threads) shows "[stack]" for VMAs in the mm's stack address range. In contrast, /proc/PID/task/TID/maps uses KSTK_ESP to guess the target thread's stack's VMA. This is racy, probably returns garbage and, on arches with CONFIG_TASK_INFO_IN_THREAD=y, is also crash-prone: KSTK_ESP is not safe to use on tasks that aren't known to be running ordinary process-context kernel code. This patch removes the difference and just shows "[stack]" for VMAs in the mm's stack range. This is IMO much more sensible -- the actual "stack" address really is treated specially by the VM code, and the current thread stack isn't even well-defined for programs that frequently switch stacks on their own. Reported-by: Jann Horn <jann@thejh.net> Signed-off-by: Andy Lutomirski <luto@kernel.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Linux API <linux-api@vger.kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Tycho Andersen <tycho.andersen@canonical.com> Link: http://lkml.kernel.org/r/3e678474ec14e0a0ec34c611016753eea2e1b8ba.1475257877.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| * proc: revert /proc/<pid>/maps [stack:TID] annotationJohannes Weiner2018-04-081-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 65376df582174ffcec9e6471bf5b0dd79ba05e4a upstream. Commit b76437579d13 ("procfs: mark thread stack correctly in proc/<pid>/maps") added [stack:TID] annotation to /proc/<pid>/maps. Finding the task of a stack VMA requires walking the entire thread list, turning this into quadratic behavior: a thousand threads means a thousand stacks, so the rendering of /proc/<pid>/maps needs to look at a million combinations. The cost is not in proportion to the usefulness as described in the patch. Drop the [stack:TID] annotation to make /proc/<pid>/maps (and /proc/<pid>/numa_maps) usable again for higher thread counts. The [stack] annotation inside /proc/<pid>/task/<tid>/maps is retained, as identifying the stack VMA there is an O(1) operation. Siddesh said: "The end users needed a way to identify thread stacks programmatically and there wasn't a way to do that. I'm afraid I no longer remember (or have access to the resources that would aid my memory since I changed employers) the details of their requirement. However, I did do this on my own time because I thought it was an interesting project for me and nobody really gave any feedback then as to its utility, so as far as I am concerned you could roll back the main thread maps information since the information is available in the thread-specific files" Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> Cc: Shaohua Li <shli@fb.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Merge 3.18.100 into android-msm-marlin-3.18Thierry Strudel2018-03-201-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux 3.18.100 fixup: sctp: verify size of a new chunk in _sctp_make_chunk() serial: 8250_pci: Add Brainboxes UC-260 4 port serial device usb: usbmon: Read text within supplied buffer size USB: usbmon: remove assignment from IS_ERR argument * usb: quirks: add control message delay for 1b1c:1b20 * staging: android: ashmem: Fix lockdep issue during llseek uas: fix comparison for error code tty/serial: atmel: add new version check for usart serial: sh-sci: prevent lockup on full TTY buffers x86: Treat R_X86_64_PLT32 as R_X86_64_PC32 x86/module: Detect and skip invalid relocations scripts: recordmcount: break hardlinks ubi: Fix race condition between ubi volume creation and udev netfilter: ipv6: fix use-after-free Write in nf_nat_ipv6_manip_pkt netfilter: bridge: ebt_among: add missing match size checks * netfilter: ebtables: CONFIG_COMPAT: don't trust userland offsets * netfilter: IDLETIMER: be syzkaller friendly * netfilter: nat: cope with negative port range netfilter: x_tables: fix missing timer initialization in xt_LED ALSA: seq: More protection for concurrent write and ioctl races ALSA: seq: Don't allow resizing pool in use x86/MCE: Serialize sysfs changes Input: matrix_keypad - fix race when disabling interrupts MIPS: BMIPS: Do not mask IPIs during suspend scsi: qla2xxx: Fix NULL pointer crash due to active timer for ABTS Linux 3.18.99 * dm io: fix duplicate bio completion due to missing ref count * fib_semantics: Don't match route with mismatching tclassid * net: ipv4: don't allow setting net.ipv4.route.min_pmtu below 68 sctp: verify size of a new chunk in _sctp_make_chunk() s390/qeth: fix IPA command submission race s390/qeth: fix SETIP command handling sctp: fix dst refcnt leak in sctp_v6_get_dst() * udplite: fix partial checksum initialization * ppp: prevent unregistered channels from connecting to PPP units * netlink: ensure to loop over all netns in genlmsg_multicast_allns() * net: fix race on decreasing number of TX queues * ipv6 sit: work around bogus gcc-8 -Wrestrict warning hdlc_ppp: carrier detect ok, don't turn off negotiation * bridge: check brport attr show in brport_show * leds: do not overflow sysfs buffer in led_trigger_show net: fec: introduce fec_ptp_stop and use in probe fail path ARM: mvebu: Fix broken PL310_ERRATA_753970 selects cpufreq: s3c24xx: Fix broken s3c_cpufreq_init() * ALSA: usb-audio: Add a quirck for B&W PX headphones tpm_i2c_nuvoton: fix potential buffer overruns caused by bit glitches on the bus tpm_i2c_infineon: fix potential buffer overruns caused by bit glitches on the bus Linux 3.18.98 net: gianfar_ptp: move set_fipers() to spinlock protecting area sctp: make use of pre-calculated len xen/gntdev: Fix partial gntdev_mmap() cleanup xen/gntdev: Fix off-by-one error when unmapping with holes SolutionEngine771x: fix Ether platform data mdio-sun4i: Fix a memory leak xen-netfront: enable device after manual module load drm/ttm: check the return value of kzalloc e1000: fix disabling already-disabled warning xfs: quota: check result of register_shrinker() xfs: quota: fix missed destroy of qi_tree_lock s390/dasd: fix wrongly assigned configuration data * led: core: Fix brightness setting when setting delay_off=0 bnx2x: Improve reliability in case of nested PCI errors tg3: Enable PHY reset in MTU change path for 5720 tg3: Add workaround to restrict 5762 MRRS to 2048 scsi: storvsc: Fix scsi_cmd error assignments in storvsc_handle_error net: arc_emac: fix arc_emac_rx() error paths spi: atmel: fixed spin_lock usage inside atmel_spi_remove * sget(): handle failures of register_shrinker() * ipv6: icmp6: Allow icmp messages to be looped back mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM * hrtimer: Ensure POSIX compliance (relative CLOCK_REALTIME hrtimers) * ipv6: Skip XFRM lookup if dst_entry in socket cache is valid Linux 3.18.97 * ASN.1: fix out-of-bounds read when parsing indefinite length item * usb: gadget: f_fs: Process all descriptors during bind * usb: dwc3: gadget: Set maxpacket size for ep0 IN * arm64: Disable unhandled signal log messages by default * irqchip/gic-v3: Use wmb() instead of smb_wmb() in gic_raise_softirq() x86/oprofile: Fix bogus GCC-8 warning in nmi_setup() iio: adis_lib: Initialize trigger before requesting interrupt * iio: buffer: check if a buffer has been set up when poll is called cfg80211: fix cfg80211_beacon_dup scsi: ibmvfc: fix misdefined reserved field in ibmvfc_fcp_rsp_info PCI: keystone: Fix interrupt-controller-node lookup * netfilter: drop outermost socket lock in getsockopt() Linux 3.18.96 crypto: s5p-sss - Fix kernel Oops in AES-ECB mode KVM: async_pf: Fix #DF due to inject "Page not Present" and "Page Ready" exceptions simultaneously hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close * xen: XEN_ACPI_PROCESSOR is Dom0-only x86/mm/kmmio: Fix mmiotrace for page unaligned addresses * mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep dmaengine: jz4740: disable/unprepare clk if probe fails * xfrm: Fix stack-out-of-bounds with misconfigured transport mode policies. spi: sun4i: disable clocks in the remove function * 509: fix printing uninitialized stack memory when OID is empty btrfs: Fix possible off-by-one in btrfs_search_path_in_tree net_sched: red: Avoid illegal values net_sched: red: Avoid devision by zero gianfar: fix a flooded alignment reports because of padding issue. s390/dasd: prevent prefix I/O error powerpc/perf: Fix oops when grouping different pmu events scripts/kernel-doc: Don't fail with status != 0 if error encountered with -none media: s5k6aa: describe some function parameters perf bench numa: Fixup discontiguous/sparse numa nodes perf top: Fix window dimensions change handling ARM: dts: am4372: Correct the interrupts_properties of McASP ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function * usb: build drivers/usb/common/ when USB_SUPPORT is set usbip: keep usbip_device sockfd state in sync with tcp_socket dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock video: fbdev/mmp: add MODULE_LICENSE ASoC: ux500: add MODULE_LICENSE tag * selinux: ensure the context is NUL terminated in security_context_to_sid_core() * Provide a function to create a NUL-terminated string from unterminated data * net: avoid skb_warn_bad_offload on IS_ERR netfilter: xt_RATEEST: acquire xt_rateest_mutex for hash insert * netfilter: on sockopt() acquire sock lock only in the required scope netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check() * netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target} * netfilter: x_tables: fix int overflow in xt_alloc_table_info() crypto: x86/twofish-3way - Fix %rbp usage * selinux: skip bounded transition processing if the policy isn't loaded * xfrm: check id proto in validate_tmpl() * mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed. media: r820t: fix r820t_write_reg for KASAN ARM: dts: s5pv210: add interrupt-parent for ohci ALSA: seq: Fix racy pool initializations Btrfs: fix crash due to not cleaning up tree log block's dirty bits Btrfs: fix deadlock in run_delalloc_nocow console/dummy: leave .con_font_get set to NULL video: fbdev: atmel_lcdfb: fix display-timings lookup ext4: correct documentation for grpid mount option * ext4: save error to disk in __ext4_grp_locked_error() drm/radeon: adjust tested variable ALSA: seq: Fix regression by incorrect ioctl_mutex usages arm: spear13xx: Fix spics gpio controller's warning arm: spear13xx: Fix dmas cells arm: spear600: Add missing interrupt-parent of rtc s390: fix handling of -1 in set{,fs}[gu]id16 syscalls * PM / devfreq: Propagate error from devfreq_add_device() IB/mlx4: Fix incorrectly releasing steerable UD QPs when have only ETH ports Linux 3.18.95 mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy ACPI: sbshc: remove raw pointer from printk() message pktcdvd: Fix pkt_setup_dev() error path EDAC, octeon: Fix an uninitialized variable warning xtensa: fix futex_atomic_cmpxchg_inatomic alpha: fix reboot on Avanti platform alpha: fix crash if pthread_create races with signal delivery signal/sh: Ensure si_signo is initialized in do_divide_error signal/openrisc: Fix do_unaligned_access to send the proper signal * kernel/async.c: revert "async: simplify lowest_in_progress()" media: cxusb, dib0700: ignore XC2028_I2C_FLUSH crypto: caam - fix endless loop when DECO acquire fails * crypto: cryptd - pass through absence of ->setkey() * crypto: hash - introduce crypto_hash_alg_has_setkey() * kernfs: fix regression in kernfs_fop_write caused by wrong type NFS: commit direct writes even if they fail partially NFS: Add a cond_resched() to nfs_commit_release_pages() mtd: nand: Fix nand_do_read_oob() return value media: dvb-usb-v2: lmedm04: move ts2020 attach to dm04_lme2510_tuner media: dvb-usb-v2: lmedm04: Improve logic checking of warm start dccp: CVE-2017-8824: use-after-free in DCCP code usbip: vhci: stop printing kernel pointer addresses in messages usbip: stub: stop printing kernel pointer addresses in messages usbip: prevent leaking socket pointer address in messages usbip: vhci-hcd: Add USB3 SuperSpeed support usb: usbip: Fix possible deadlocks reported by lockdep usbip: Fix potential format overflow in userspace tools usbip: prevent vhci_hcd driver from leaking a socket pointer address usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input usbip: fix stub_rx: get_pipe() to validate endpoint number * posix-timer: Properly check sigevent->sigev_notify CIFS: zero sensitive data when freeing cifs: Fix autonegotiate security settings mismatch cifs: Fix missing put_xid in cifs_file_strict_mmap * ipv4: Map neigh lookup keys in __ipv4_neigh_lookup_noref() * KEYS: encrypted: fix buffer overread in valid_master_desc() ARM: exynos_defconfig: Enable NFSv4 client ARM: exynos_defconfig: Enable options to mount a rootfs via NFS * tcp: release sk_frag.page in tcp_disconnect r8169: fix RTL8168EP take too long to complete driver initialization. qlcnic: fix deadlock bug * net: igmp: add a missing rcu locking section ip6mr: fix stale iterator vhost_net: stop device during reset owner Linux 3.18.94 um: Fix out-of-tree build ASoC: pcm512x: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE spi: imx: do not access registers while clocks disabled * selinux: general protection fault in sock_has_perm usb: uas: unconditionally bring back host after reset * usb: f_fs: Prevent gadget unbind if it is already unbound * USB: serial: simple: add Motorola Tetra driver usbip: list: don't list devices attached to vhci_hcd usbip: prevent bind loops on devices attached to vhci_hcd USB: serial: io_edgeport: fix possible sleep-in-atomic CDC-ACM: apply quirk for card reader USB: cdc-acm: Do not log urb submission errors on disconnect * USB: serial: pl2303: new device id for Chilitag staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID * usb: gadget: don't dereference g until after it has been null checked media: usbtv: add a new usbid * scsi: ufs: ufshcd: fix potential NULL pointer dereference in ufshcd_config_vreg * quota: Check for register_shrinker() failure. * net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit hwmon: (pmbus) Use 64bit math for DIRECT format values nfsd: check for use of the closed special stateid nfsd: CLOSE SHOULD return the invalid special stateid for NFSv4.x (x>0) xen-netfront: remove warning when unloading module KVM: VMX: Fix rflags cache during vCPU reset mac80211: fix the update of path metric for RANN frame bcache: check return value of register_shrinker KVM: X86: Fix operand/address-size during instruction decoding KVM: x86: Don't re-execute instruction when not passing CR2 value KVM: x86: emulator: Return to user-mode on L1 CPL=0 emulation failure igb: Free IRQs when device is hotplugged gpio: iop: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE ALSA: seq: Make ioctls race-free * loop: fix concurrent lo_open/lo_release um: Remove copy&paste code from init.h um: Stop abusing __KERNEL__ um: link vmlinux with -no-pie * Input: do not emit unneeded EV_SYN when suspending Linux 3.18.93 * hrtimer: Reset hrtimer cpu base proper on CPU hotplug * ipv4: Make neigh lookup keys for loopback/point-to-point devices be INADDR_ANY * ipv6: fix udpv6 sendmsg crash caused by too small MTU * net: Allow neigh contructor functions ability to modify the primary_key vmxnet3: repair memory leak sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf sctp: do not allow the v4 socket to bind a v4mapped v6 address * pppoe: take ->needed_headroom of lower device into account on xmit * net: qdisc_pkt_len_init() should be more robust * tcp: __tcp_hdrlen() helper * net: igmp: fix source address check for IGMPv3 reports dccp: don't restart ccid2_hc_tx_rto_expire() if sk in closed state * net: tcp: close sock if net namespace is exiting x86/microcode/intel: Extend BDW late-loading further with LLC size check * eventpoll.h: add missing epoll event masks scsi: libiscsi: fix shifting of DID_REQUEUE host byte * fs/fcntl: f_setown, avoid undefined behaviour reiserfs: don't preallocate blocks for extended attributes reiserfs: fix race in prealloc discard netfilter: xt_osf: Add missing permission checks netfilter: nfnetlink_cthelper: Add missing permission checks netfilter: nf_conntrack_sip: extend request line validation * netfilter: restart search if moved to other chain * netfilter: nf_ct_expect: remove the redundant slash when policy name is empty ipc: msg, make msgrcv work with LONG_MIN hwpoison, memcg: forcibly uncharge LRU pages * mm/mmap.c: do not blow on PROT_NONE MAP_FIXED holes in the stack can: af_can: canfd_rcv(): replace WARN_ONCE by pr_warn_once can: af_can: can_rcv(): replace WARN_ONCE by pr_warn_once usbip: Fix implicit fallthrough warning x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels MIPS: AR7: ensure the port type's FCR value is used arm64: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls dm thin metadata: THIN_MAX_CONCURRENT_LOCKS should be 6 dm btree: fix serious bug in btree_split_beneath() ARM: dts: kirkwood: fix pin-muxing of MPP7 on OpenBlocks A7 * phy: work around 'phys' references to usb-nop-xceiv devices Input: twl4030-vibra - fix sibling-node lookup Input: twl4030-vibra - fix ERROR: Bad of_node_put() warning Input: twl6040-vibra - fix child-node lookup Input: twl6040-vibra - fix DT node memory management Input: 88pm860x-ts - fix child-node lookup * pipe: avoid round_pipe_size() nr_pages overflow on 32-bit * af_key: fix buffer overread in parse_exthdrs() * af_key: fix buffer overread in verify_address_len() ALSA: hda - Apply the existing quirk to iMac 14,1 * ALSA: pcm: Remove yet superfluous WARN_ON() * futex: Prevent overflow by strengthen input validation * scsi: sg: disable SET_FORCE_LOW_DMA * gcov: disable for COMPILE_TEST Linux 3.18.92 e1000e: Fix e1000_check_for_copper_link_ich8lan return value. uas: ignore UAS for Norelsys NS1068(X) chips * Bluetooth: Prevent stack info leak from the EFS element. * staging: android: ashmem: fix a race condition in ASHMEM_SET_SIZE ioctl usbip: remove kernel addresses from usb device and urb debug msgs USB: fix usbmon BUG trigger usb: misc: usb3503: make sure reset is low for at least 100us USB: serial: cp210x: add new device ID ELV ALC 8xxx USB: serial: cp210x: add IDs for LifeScan OneTouch Verio IQ Revert "can: kvaser_usb: free buf in error paths" target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref x86/microcode/intel: Extend BDW late-loading with a revision check * crypto: algapi - fix NULL dereference in crypto_remove_spawns() * net: stmmac: enable EEE in MII, GMII or RGMII only sh_eth: fix SH7757 GEther initialization sh_eth: fix TSU resource handling RDS: null pointer dereference in rds_atomic_free_op RDS: Heap OOB write in rds_message_alloc_sgs() 8021q: fix a memory leak for VLAN 0 device x86/acpi: Reduce code duplication in mp_override_legacy_irq() ALSA: aloop: Fix racy hw constraints adjustment ALSA: aloop: Fix inconsistent format due to incomplete rule ALSA: aloop: Release cable upon open error path ALSA: pcm: Allow aborting mutex lock at OSS read/write loops ALSA: pcm: Abort properly at pending signal in OSS read/write loops ALSA: pcm: Add missing error checks in OSS emulation plugin builder * ALSA: pcm: Remove incorrect snd_BUG_ON() usages x86/acpi: Handle SCI interrupts above legacy space gracefully kvm: vmx: Scrub hardware GPRs at VM-exit * perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race MIPS: Also verify sizeof `elf_fpreg_t' with PTRACE_SETREGSET MIPS: Disallow outsized PTRACE_SETREGSET NT_PRFPREG regset accesses MIPS: Fix an FCSR access API regression with NT_PRFPREG and MSA MIPS: Consistently handle buffer counter with PTRACE_SETREGSET MIPS: Guard against any partial write attempt with PTRACE_SETREGSET MIPS: Factor out NT_PRFPREG regset access helpers IB/srpt: Disable RDMA access by the initiator can: gs_usb: fix return value of the "set_bittiming" callback Input: elantech - add new icbody type 15 * kernel/signal.c: remove the no longer needed SIGNAL_UNKILLABLE check in complete_signal() * kernel/signal.c: protect the SIGNAL_UNKILLABLE tasks from !sig_kernel_only() signals * kernel/signal.c: protect the traced SIGNAL_UNKILLABLE tasks from SIGKILL fscache: Fix the default for fscache_maybe_release_page() crypto: n2 - cure use after free kernel/acct.c: fix the acct->needcheck check in check_free_space() Linux 3.18.91 * n_tty: fix EXTPROC vs ICANON interaction with TIOCINQ (aka FIONREAD) * usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201 * usb: add RESET_RESUME for ELSA MicroLink 56K * usb: Add device quirk for Logitech HD Pro Webcam C925e USB: serial: option: add support for Telit ME910 PID 0x1101 * net: ipv4: fix for a race condition in raw_sendmsg sctp: Replace use of sockets_allocated with specified macro. net: mvmdio: disable/unprepare clocks in EPROBE_DEFER case tg3: Fix rx hang on MTU change with 5717/5719 * tcp md5sig: Use skb's saddr when replying to an incoming segment net: qmi_wwan: add Sierra EM7565 1199:9091 * netlink: Add netns check on taps * net: igmp: Use correct source address on IGMPv3 reports * ipv6: mcast: better catch silly mtu values * ipv4: igmp: guard against silly MTU values * kbuild: add '-fno-stack-check' to kernel build options ASoC: twl4030: fix child-node lookup * ring-buffer: Mask out the info bits when returning buffer page length * tracing: Fix crash when it fails to alloc ring buffer * tracing: Fix possible double free on failure of allocating trace buffer * tracing: Remove extra zeroing out of the ring buffer page net: mvneta: clear interface link status on port disable powerpc/perf: Dereference BHRB entries safely KVM: X86: Fix load RFLAGS w/o the fixed bit parisc: Hide Diva-built-in serial aux and graphics card * PCI / PM: Force devices to D0 in pci_pm_thaw_noirq() * ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU * ALSA: rawmidi: Avoid racy info ioctl via ctl device mfd: twl6040: Fix child-node lookup mfd: twl4030-audio: Fix sibling-node lookup crypto: mcryptd - protect the per-CPU queue with a lock ACPI: APEI / ERST: Fix missing error handling in erst_reader() Linux 3.18.90 fm10k: ensure we process SM mbx when processing VF mbx scsi: lpfc: PLOGI failures during NPIV testing scsi: lpfc: Fix secure firmware updates PCI/AER: Report non-fatal errors only to the affected endpoint igb: check memory allocation failure PCI: Create SR-IOV virtfn/physfn links before attaching driver scsi: cxgb4i: fix Tx skb leak * PCI: Avoid bus reset if bridge itself is broken net: phy: at803x: Change error to EINVAL for invalid MAC crypto: crypto4xx - increase context and scatter ring buffer elements backlight: pwm_bl: Fix overflow condition cpuidle: powernv: Pass correct drv->cpumask for registration ARM: dma-mapping: disallow dma_get_sgtable() for non-kernel managed memory * xhci: plat: Register shutdown for xhci_plat isdn: kcapi: avoid uninitialized data ARM: dts: am335x-evmsk: adjust mmc2 param to allow suspend netfilter: nf_nat_snmp: Fix panic when snmp_trap_helper fails to register netfilter: nfnl_cthelper: fix a race when walk the nf_ct_helper_hash table irda: vlsi_ir: fix check for DMA mapping errors i40e: Do not enable NAPI on q_vectors that have no rings * net: Do not allow negative values for busy_read and busy_poll sysctl interfaces s390/qeth: no ETH header for outbound AF_IUCV * HID: xinmo: fix for out of range for THT 2P arcade controller. hwmon: (asus_atk0110) fix uninitialized data access ARM: dts: ti: fix PCI bus dtc warnings KVM: x86: correct async page present tracepoint scsi: lpfc: Fix PT2PT PRLI reject netfilter: nfnl_cthelper: Fix memory leak netfilter: nfnl_cthelper: fix runtime expectation policy updates usb: gadget: udc: remove pointer dereference after free usb: gadget: f_uvc: Sanity check wMaxPacketSize for SuperSpeed net: qmi_wwan: Add USB IDs for MDM6600 modem on Motorola Droid 4 * crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex * r8152: fix the list rx_done may be used without initialization * cpuidle: Validate cpu_dev in cpuidle_add_sysfs() ALSA: hda - add support for docking station for HP 820 G2 * arm64: Initialise high_memory global variable earlier Linux 3.18.89 usb: musb: da8xx: fix babble condition handling ath9k: fix tx99 potential info leak macvlan: Only deliver one copy of the frame to the macvlan interface udf: Avoid overflow when session starts at large offset scsi: bfa: integer overflow in debugfs * scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry raid5: Set R5_Expanded on parity devices as well as data. * pinctrl: adi2: Fix Kconfig build problem * tty fix oops when rmmod 8250 * PCI: Detach driver before procfs & sysfs teardown on device remove xfs: fix log block underflow during recovery cycle verification bcache: fix wrong cache_misses statistics bcache: explicitly destroy mutex while exiting GFS2: Take inode off order_write list when setting jdata flag * thermal/drivers/step_wise: Fix temperature regulation misbehavior * ppp: Destroy the mutex when cleanup clk: tegra: Fix cclk_lp divisor register * mm: Handle 0 flags in _calc_vm_trans() macro arm-ccn: perf: Prevent module unload while PMU is in use target/file: Do not return error for UNMAP if length is zero target:fix condition return in core_pr_dump_initiator_port() iscsi-target: fix memory leak in lio_target_tiqn_addtpg() target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd() powerpc/ipic: Fix status get and status clear powerpc/opal: Fix EBUSY bug in acquiring tokens powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo PCI/PME: Handle invalid data when reading Root Status video: fbdev: au1200fb: Return an error code if a memory allocation fails video: fbdev: au1200fb: Release some resources if a memory allocation fails video: udlfb: Fix read EDID timeout fbdev: controlfb: Add missing modes to fix out of bounds access target: Use system workqueue for ALUA transitions btrfs: add missing memset while reading compressed inline extents NFSv4.1 respect server's max size in CREATE_SESSION perf symbols: Fix symbols__fixup_end heuristic for corner cases afs: Fix afs_kill_pages() afs: Fix page leak in afs_write_begin() afs: Populate and use client modification time afs: Fix the maths in afs_fs_store_data() afs: Flush outstanding writes when an fd is closed afs: Adjust mode bits processing afs: Populate group ID from vnode status afs: Fix missing put_page() drm/radeon: reinstate oland workaround for sclk * sched/deadline: Use deadline instead of period when calculating overflow drm/radeon/si: add dpm quirk for Oland openrisc: fix issue handling 8 byte get_user calls * net: Resend IGMP memberships upon peer notification. * dmaengine: Fix array index out of bounds warning in __get_unmap_pool() net: wimax/i2400m: fix NULL-deref at probe Input: i8042 - add TUXEDO BU1406 (N24_25BU) to the nomux list NFSD: fix nfsd_reset_versions for NFSv4. NFSD: fix nfsd_minorversion(.., NFSD_AVAIL) net: bcmgenet: Power up the internal PHY before probing the MII net: bcmgenet: correct MIB access of UniMAC RUNT counters net: bcmgenet: correct the RBUF_OVFL_CNT and RBUF_ERR_CNT MIB values usb: phy: isp1301: Add OF device ID table mac80211: Fix addition of mesh configuration element * KEYS: Don't permit request_key() to construct a new keyring * Don't leak a key reference if request_key() tries to use a revoked keyring * ext4: fix crash when a directory's i_size is too small * xhci: Don't add a virt_dev to the devs array before it's fully allocated usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer * USB: core: prevent malicious bNumInterfaces overflow * USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID autofs: fix careless error in recent commit crypto: salsa20 - fix blkcipher_walk API usage * crypto: hmac - require that the underlying hash algorithm is unkeyed Linux 3.18.88 * usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping arm: KVM: Fix VTTBR_BADDR_MASK BUG_ON off-by-one * audit: ensure that 'audit=1' actually enables audit for PID 1 afs: Connect up the CB.ProbeUuid IB/mlx5: Assign send CQ and recv CQ of UMR QP IB/mlx4: Increase maximal message size under UD QP * xfrm: Copy policy family in clone_policy atm: horizon: Fix irq release error sctp: use the right sk after waking up from wait_buf sleep sctp: do not free asoc when it is already dead in sctp_sendmsg sparc64/mm: set fields in deferred pages sunrpc: Fix rpc_task_begin trace point NFS: Fix a typo in nfs_rename() dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0 * lib/genalloc.c: make the avail variable an atomic_long_t * route: update fnhe_expires for redirect when the fnhe exists * route: also update fnhe_genid when updating a route cache EDAC, i5000, i5400: Fix definition of NRECMEMB register EDAC, i5000, i5400: Fix use of MTR_DRAM_WIDTH macro axonram: Fix gendisk handling i2c: riic: fix restart condition crypto: s5p-sss - Fix completing crypto request in IRQ handler * ipv6: reorder icmpv6_init() and ip6_mr_init() bnx2x: fix possible overrun of VFPF multicast addresses array spi_ks8995: fix "BUG: key accdaa28 not in .data!" arm: KVM: Survive unknown traps from guests KVM: nVMX: reset nested_run_pending if the vCPU is going to be reset irqchip/crossbar: Fix incorrect type of register size scsi: lpfc: Fix crash during Hardware error recovery on SLI3 adapters * workqueue: trigger WARN if queue_delayed_work() is called with NULL @wq libata: drop WARN from protocol error in ata_sff_qc_issue() USB: gadgetfs: Fix a potential memory leak in 'dev_config()' usb: gadget: configs: plug memory leak selftest/powerpc: Fix false failures for skipped tests Revert "s390/kbuild: enable modversions for symbols exported from asm" * Revert "drm/armada: Fix compile fail" * net/packet: fix a race in packet_bind() and packet_notifier() * sit: update frag_off info rds: Fix NULL pointer dereference in __rds_rdma_map * arm64: fpsimd: Prevent registers leaking from dead tasks KVM: VMX: remove I/O port 0x80 bypass on Intel hosts * arm64: KVM: fix VTTBR_BADDR_MASK BUG_ON off-by-one media: dvb: i2c transfers over usb cannot be done from stack kdb: Fix handling of kallsyms_symbol_next() return value iommu/vt-d: Fix scatterlist offset handling * ALSA: usb-audio: Add check return value for usb_string() * ALSA: usb-audio: Fix out-of-bound error ALSA: seq: Remove spurious WARN_ON() at timer check * ALSA: pcm: prevent UAF in snd_pcm_info x86/PCI: Make broadcom_postcore_init() check acpi_disabled * X.509: reject invalid BIT STRING for subjectPublicKey * KEYS: add missing permission check for request_key() destination * ASN.1: check for error from ASN1_OP_END__ACT actions * efi: Move some sysfs files to be read-only by root isa: Prevent NULL dereference in isa_bus driver callbacks hv: kvp: Avoid reading past allocated blocks from KVP file virtio: release virtio index when fail to device_register can: usb_8dev: cancel urb on -EPIPE and -EPROTO can: esd_usb2: cancel urb on -EPIPE and -EPROTO can: ems_usb: cancel urb on -EPIPE and -EPROTO can: kvaser_usb: cancel urb on -EPIPE and -EPROTO can: kvaser_usb: ratelimit errors if incomplete messages are received can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() can: kvaser_usb: free buf in error paths Linux 3.18.87 usb: host: fix incorrect updating of offset * USB: usbfs: Filter flags passed in from user space * USB: devio: Prevent integer overflow in proc_do_submiturb() * USB: Increase usbfs transfer limit * usb: hub: Cycle HUB power when initialization fails serial: 8250_pci: Add Amazon PCI serial device ID * usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices ima: fix hash algorithm initialization net: fec: fix multicast filtering hardware setup * mm: avoid returning VM_FAULT_RETRY from ->page_mkwrite handlers tipc: fix cleanup at module unload net: sctp: fix array overrun read on sctp_timer_tbl NFSv4: Fix client recovery when server reboots multiple times net/appletalk: Fix kernel memory disclosure * vti6: fix device register to report IFLA_INFO_KIND ARM: OMAP1: DMA: Correct the number of logical channels perf test attr: Fix ignored test case result * sysrq : fix Show Regs call trace on ARM EDAC, sb_edac: Fix missing break in switch spi: sh-msiof: Fix DMA transfer size check serial: 8250_fintek: Fix rs485 disablement on invalid ioctl() bcache: recover data from backing when data is clean bcache: only permit to recovery read error when cache device is clean Linux 3.18.86 drm/i915: Prevent zero length "index" write drm/i915: Don't try indexed reads to alternate slave addresses NFS: revalidate "." etc correctly on "open". drm/panel: simple: Add missing panel_simple_unprepare() calls eeprom: at24: check at24_read/write arguments KVM: x86: inject exceptions produced by x86_decode_insn KVM: x86: Exit to user-mode on #UD intercept when emulator requires btrfs: clear space cache inode generation always * mm/madvise.c: fix madvise() infinite loop under special circumstances mm, thp: Do not make page table dirty unconditionally in touch_p[mu]d() * ipsec: Fix aborted xfrm policy dump crash * netlink: add a start callback for starting a netlink dump Linux 3.18.85 xen: xenbus driver must not accept invalid transaction ids s390/kbuild: enable modversions for symbols exported from asm ASoC: wm_adsp: Don't overrun firmware file buffer when reading region data btrfs: return the actual error value from from btrfs_uuid_tree_iterate netfilter: nf_tables: fix oob access netfilter: nft_queue: use raw_smp_processor_id() staging: iio: cdc: fix improper return value mac80211: Suppress NEW_PEER_CANDIDATE event if no room mac80211: Remove invalid flag operations in mesh TSF synchronization ALSA: hda - Apply ALC269_FIXUP_NO_SHUTUP on HDA_FIXUP_ACT_PROBE * drm/armada: Fix compile fail net: 3com: typhoon: typhoon_init_one: fix incorrect return values net: 3com: typhoon: typhoon_init_one: make return values more specific * PCI: Apply _HPX settings only to relevant devices RDS: RDMA: return appropriate error on rdma map failures e1000e: Separate signaling for link check/link up e1000e: Fix return value test e1000e: Fix error path in link detection iio: iio-trig-periodic-rtc: Free trigger resource correctly * USB: fix buffer overflows with parsing CDC headers mtd: nand: Fix writing mtdoops to nand flash. net/9p: Switch to wait_event_killable() * media: v4l2-ctrl: Fix flags field on Control events media: rc: check for integer overflow media: Don't do DMA on stack for firmware upload in the AS102 driver powerpc/signal: Properly handle return value from uprobe_deny_signal() parisc: Fix validity check of pointer size argument in new CAS implementation ixgbe: Fix skb list corruption on Power systems fm10k: Use smp_rmb rather than read_barrier_depends i40evf: Use smp_rmb rather than read_barrier_depends ixgbevf: Use smp_rmb rather than read_barrier_depends igbvf: Use smp_rmb rather than read_barrier_depends igb: Use smp_rmb rather than read_barrier_depends i40e: Use smp_rmb rather than read_barrier_depends * time: Always make sure wall_to_monotonic isn't positive NFC: fix device-allocation error return IB/srpt: Do not accept invalid initiator port names clk: ti: dra7-atl-clock: fix child-node lookups clk: ti: dra7-atl-clock: Fix of_node reference counting KVM: SVM: obey guest PAT KVM: nVMX: set IDTR and GDTR limits when loading L1 host state iscsi-target: Fix non-immediate TMR reference leak fs/9p: Compare qid.path in v9fs_test_inode * ALSA: timer: Remove kernel warning at compat ioctl error paths * ALSA: usb-audio: Add sanity checks in v2 clock parsers * ALSA: usb-audio: Fix potential out-of-bound access at parsing SU * ALSA: usb-audio: Add sanity checks to FE parser * ext4: fix interaction between i_size, fallocate, and delalloc after a crash nfsd: deal with revoked delegations appropriately nfs: Fix ugly referral attributes NFS: Fix typo in nomigration mount option isofs: fix timestamps beyond 2027 bcache: check ca->alloc_thread initialized before wake up it eCryptfs: use after free in ecryptfs_release_messaging() nilfs2: fix race condition that causes file system corruption autofs: don't fail mount for transient error MIPS: BCM47XX: Fix LED inversion for WRT54GSv1 MIPS: Fix an n32 core file generation regset support regression * dm: fix race between dm_get_from_kobject() and __dm_destroy() * dm bufio: fix integer overflow when limiting maximum cache size ALSA: hda: Add Raven PCI ID ARM: 8721/1: mm: dump: check hardware RO bit for LPAE x86/decoder: Add new TEST instruction pattern * lib/mpi: call cond_resched() from mpi_powm() loop * sched: Make resched_cpu() unconditional * ipv6: only call ip6_route_dev_notify() once for NETDEV_UNREGISTER s390/disassembler: increase show_code buffer size Linux 3.18.84 coda: fix 'kernel memory exposure attempt' in fsync ipmi: fix unsigned long underflow ocfs2: should wait dio before inode lock in ocfs2_setattr() ima: do not update security.ima if appraisal status is not INTEGRITY_PASS vlan: fix a use-after-free in vlan_device_event() * af_netlink: ensure that NLMSG_DONE never fails in dumps fealnx: Fix building error on MIPS sctp: do not peel off an assoc from one netns to another one * netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed * tcp: do not mangle skb->cb[] in tcp_make_synack() net/sctp: Always set scope_id in sctp_inet6_skb_msgname * ipv6/dccp: do not inherit ipv6_mc_list from parent Linux 3.18.83 USB: serial: garmin_gps: fix memory leak on probe errors USB: serial: garmin_gps: fix I/O after failed probe and remove USB: serial: garmin_gps: fix memory leak on failed URB submit USB: serial: qcserial: add pid/vid for Sierra Wireless EM7355 fw update * USB: Add delay-init quirk for Corsair K70 LUX keyboards * USB: usbfs: compute urb->actual_length for isochronous uapi: fix linux/rds.h userspace compilation errors uapi: fix linux/rds.h userspace compilation error Revert "uapi: fix linux/rds.h userspace compilation errors" * Revert "crypto: xts - Add ECB dependency" MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds MIPS: init: Ensure reserved memory regions are not added to bootmem MIPS: End asm function prologue macros with .insn ixgbe: handle close/suspend race with netif_device_detach/present ixgbe: fix AER error handling gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap backlight: adp5520: Fix error handling in adp5520_bl_probe() * backlight: lcd: Fix race condition during register ALSA: vx: Fix possible transfer overflow ALSA: vx: Don't try to update capture stream before running scsi: lpfc: Correct issue leading to oops during link reset scsi: lpfc: Correct host name in symbolic_name field scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort scsi: lpfc: Add missing memory barrier staging: rtl8188eu: fix incorrect ERROR tags from logs igb: Fix hw_dbg logging in igb_update_flash_i210 igb: close/suspend race in netif_device_detach igb: reset the PHY before reading the PHY ID drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache * ata: SATA_MV should depend on HAS_DMA * ata: SATA_HIGHBANK should depend on HAS_DMA * ata: ATA_BMDMA should depend on HAS_DMA ARM: dts: Fix omap3 off mode pull defines ARM: OMAP2+: Fix init for multiple quirks for the same SoC extcon: palmas: Check the parent instance to prevent the NULL iscsi-target: Fix iscsi_np reset hung task during parallel delete media: dib0700: fix invalid dvb_detach argument media: imon: Fix null-ptr-deref in imon_probe Linux 3.18.82 target/iscsi: Fix iSCSI task reassignment handling * security/keys: add CONFIG_KEYS_COMPAT to Kconfig ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err ipip: only increase err_count for some certain type icmp in ipip_err * ipv6: flowlabel: do not leave opt->tot_len with garbage sctp: reset owner sk for data chunks on out queues when migrating a sock * tun: allow positive return values on dev_get_valid_name() call net/unix: don't show information about sockets from other namespaces sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect * tun: call dev_get_valid_name() before register_netdevice() * l2tp: check ps->sock before running pppol2tp_session_ioctl() * tcp: fix tcp_mtu_probe() vs highest_sack * tun/tap: sanitize TUNSETSNDBUF input Revert "ARM: dts: imx53-qsb-common: fix FEC pinmux config" Input: ims-psu - check if CDC union descriptor is sane usb: usbtest: fix NULL pointer dereference mac80211: don't compare TKIP TX MIC key in reinstall prevention mac80211: use constant time comparison with keys mac80211: accept key reinstall without changing anything Revert "ceph: unlock dangling spinlock in try_flush_caps()" Linux 3.18.81 x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context can: c_can: don't indicate triple sampling support for D_CAN rbd: use GFP_NOIO for parent stat and data requests MIPS: AR7: Ensure that serial ports are properly set up MIPS: Fix CM region target definitions MIPS: microMIPS: Fix incorrect mask in insn_table_MM ALSA: seq: Avoid invalid lockdep class warning ALSA: seq: Fix OSS sysex delivery in OSS emulation ARM: 8720/1: ensure dump_instr() checks addr_limit * KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2] crypto: x86/sha1-mb - fix panic due to unaligned access KEYS: trusted: fix writing past end of buffer in trusted_read() KEYS: trusted: sanitize all key material IB/ipoib: Change list_del to list_del_init in the tx object Input: mpr121 - set missing event capability Input: mpr121 - handle multiple bits change of status register * IPsec: do not ignore crypto err in ah4 input * usb: hcd: initialize hcd->flags to 0 when rm hcd serial: sh-sci: Fix register offsets for the IRDA serial port * phy: increase size of MII_BUS_ID_SIZE and bus_id dt-bindings: Add vendor prefix for LEGO dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification iio: trigger: free trigger resource correctly ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6 drm: drm_minor_register(): Clean up debugfs on failure ARM: dts: imx53-qsb-common: fix FEC pinmux config xen/netback: set default upper limit of tx/rx queues to 8 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation Linux 3.18.80 staging: r8712u: Fix Sparse warning in rtl871x_xmit.c xen: don't print error message in case of missing Xenstore entry bt8xx: fix memory leak s390/dasd: check for device error pointer within state change interrupts staging: lustre: ptlrpc: skip lock if export failed staging: lustre: hsm: stack overrun in hai_dump_data_field platform/x86: intel_mid_thermal: Fix module autoload xen/manage: correct return value check on xenbus_scanf() cx231xx: Fix I2C on Internal Master 3 Bus i2c: riic: correctly finish transfers * ext4: do not use stripe_width if it is not set * ext4: fix stripe-unaligned allocations staging: rtl8712u: Fix endian settings for structs describing network packets mmc: s3cmci: include linux/interrupt.h for tasklet_struct x86/microcode/intel: Disable late loading on model 79 drm/msm: fix an integer overflow test drm/msm: Fix potential buffer overflow issue ocfs2: fstrim: Fix start offset of first cluster group during fstrim ARM: 8715/1: add a private asm/unaligned.h * arm64: ensure __dump_instr() checks addr_limit ASoC: adau17x1: Workaround for noise bug in ADC * KEYS: fix out-of-bounds read during ASN.1 parsing * KEYS: return full count in keyring_read() if buffer is too small cifs: check MaxPathNameComponentLength != 0 before using it ALSA: seq: Fix nested rwsem annotation for lockdep splat * ALSA: timer: Add missing mutex lock for compat ioctls * blk-mq: fix race between timeout and freeing request Linux 3.18.79 * ecryptfs: fix dereference of NULL user_key_payload can: kvaser_usb: Correct return value in printout * scsi: sg: Re-fix off by one in sg_fill_request_table() scsi: zfcp: fix erp_action use-before-initialize in REC action trace * assoc_array: Fix a buggy node-splitting case Input: gtco - fix potential out-of-bound access * fuse: fix READDIRPLUS skipping an entry * spi: uapi: spidev: add missing ioctl header * usb: xhci: Handle error condition in xhci_stop_device() ceph: unlock dangling spinlock in try_flush_caps() Linux 3.18.78 FS-Cache: fix dereference of NULL user_key_payload * af_packet: don't pass empty blocks for PACKET_V3 parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels parisc: Avoid trashing sr2 and sr3 in LWS code * cls_api.c: Fix dumping of non-existing actions' stats. * KEYS: don't let add_key() update an uninstantiated key lib/digsig: fix dereference of NULL user_key_payload * KEYS: encrypted: fix dereference of NULL user_key_payload bus: mbus: fix window size calculation for 4GB windows brcmsmac: make some local variables 'static const' to reduce stack size i2c: ismt: Separate I2C block read from SMBus block read ALSA: hda: Remove superfluous '-' added by printk conversion ALSA: seq: Enable 'use' locking in all configurations can: esd_usb2: Fix can_dlc value for received RTR, frames can: gs_usb: fix busy loop if no more TX context is available * usb: hub: Allow reset retry for USB2 devices on connect bounce * usb: quirks: add quirk for WORLDE MINI MIDI keyboard usb: cdc_acm: Add quirk for Elatec TWN3 USB: serial: metro-usb: add MS7820 device id * USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor() * USB: devio: Revert "USB: devio: Don't corrupt user memory" Linux 3.18.77 Revert "tty: goldfish: Fix a parameter of a call to free_irq" target/iscsi: Fix unsolicited data seq_end_offset calculation * uapi: fix linux/mroute6.h userspace compilation errors uapi: fix linux/rds.h userspace compilation errors scsi: scsi_dh_emc: return success in clariion_std_inquiry() ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock * crypto: xts - Add ECB dependency net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs Btrfs: send, fix failure to rename top level inode due to name collision iio: adc: xilinx: Fix error handling * netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value. irqchip/crossbar: Fix incorrect type of local variables watchdog: kempld: fix gcc-4.3 build locking/lockdep: Add nest_lock integrity test Revert "bsg-lib: don't free job in bsg_prepare_job" * net: Set sk_prot_creator when cloning sockets to the right proto * packet: in packet_do_bind, test fanout with bind_lock held * l2tp: fix race condition in l2tp_tunnel_delete * l2tp: Avoid schedule while atomic in exit_net * vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit isdn/i4l: fetch the ppp_write buffer in one shot * packet: hold bind lock when rebinding to fanout hook bpf/verifier: reject BPF_ALU64|BPF_END * sctp: potential read out of bounds in sctp_ulpevent_type_enabled() * ext4: avoid deadlock when expanding inode size drm/dp/mst: save vcpi with payloads x86/mm: Disable preemption during CR3 read+write Linux 3.18.76 Revert "usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write" ALSA: seq: Fix missing NULL check at remove_events ioctl USB: serial: console: fix use-after-free after failed setup USB: serial: qcserial: add Dell DW5818, DW5819 USB: serial: option: add support for TP-Link LTE module USB: serial: cp210x: add support for ELV TFD500 * fix unbalanced page refcounting in bio_map_user_iov * direct-io: Prevent NULL pointer access in submit_page_section * usb: gadget: composite: Fix use-after-free in usb_composite_overwrite_options ALSA: caiaq: Fix stray URB at probe error path ALSA: seq: Fix copy_from_user() call inside lock ALSA: seq: Fix use-after-free at creating a port * ALSA: usb-audio: Kill stray URB at exiting iommu/amd: Finish TLB flush in amd_iommu_unmap() usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet KVM: nVMX: fix guest CR4 loading when emulating L2 to L1 exit * crypto: shash - Fix zero-length shash ahash digest crash * HID: usbhid: fix out-of-bounds bug CIFS: Reconnect expired SMB sessions * ext4: in ext4_seek_{hole,data}, return -ENXIO for negative offsets Linux 3.18.75 * ext4: fix fencepost in s_first_meta_bg validation * ext4: validate s_first_meta_bg at mount time ext4: Don't clear SGID when inheriting ACLs * ext4: fix data corruption for mmap writes * fs/super.c: fix race between freeze_super() and thaw_super() * ext4: only call ext4_truncate when size <= isize drm/i915/bios: ignore HDMI on port A HID: i2c-hid: allocate hid buffers for real worst case * driver core: platform: Don't read past the end of "driver_override" buffer ALSA: usx2y: Suppress kernel warning at page allocation failures * lsm: fix smack_inode_removexattr and xattr_getsecurity memleak uwb: ensure that endpoint is interrupt uwb: properly check kthread_run return value iio: adc: mcp320x: Fix oops on module unload iio: ad7793: Fix the serial interface reset * iio: core: Return error for failed read_reg staging: iio: ad7192: Fix - use the dedicated reset function avoiding dma from stack. iio: ad_sigma_delta: Implement a dedicated reset function * xhci: fix finding correct bus_state structure for USB 3.1 hosts * USB: fix out-of-bounds in usb_set_configuration * usb: Increase quirk delay for USB devices USB: uas: fix bug in handling of alternate settings * USB: devio: Don't corrupt user memory USB: dummy-hcd: fix infinite-loop resubmission bug USB: dummy-hcd: fix connection failures (wrong speed) * usb: pci-quirks.c: Corrected timeout values used in handshake * ALSA: usb-audio: Check out-of-bounds access by corrupted buffer descriptor usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe * usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives USB: gadgetfs: fix copy_to_user while holding spinlock USB: gadgetfs: Fix crash caused by inadequate synchronization usb: gadget: inode.c: fix unbalanced spin_lock in ep0_write Linux 3.18.74 * mpi: Fix NULL ptr dereference in mpi_powm() [ver #3] crypto: algif_skcipher - Load TX SG list after waiting staging: nvec: remove duplicated const ttpci: address stringop overflow warning ALSA: au88x0: avoid theoretical uninitialized access IB/qib: fix false-postive maybe-uninitialized warning libata: transport: Remove circular dependency at free time xfs: remove kmem_zalloc_greedy md/raid10: submit bio directly to replacement disk rds: ib: add error handle parisc: perf: Fix potential NULL pointer dereference netfilter: nfnl_cthelper: fix incorrect helper->expect_class_max exynos-gsc: Do not swap cb/cr for semi planar formats * netfilter: invoke synchronize_rcu after set the _hook_ to NULL * mmc: sdio: fix alignment issue in struct sdio_func * usb: plusb: Add support for PL-27A1 team: fix memory leaks * net/packet: check length in getsockopt() called with PACKET_HDRLEN * net: core: Prevent from dereferencing null pointer when releasing SKB * audit: log 32-bit socketcalls * partitions/efi: Fix integer overflow in GPT size calculation USB: serial: mos7840: fix control-message error handling USB: serial: mos7720: fix control-message error handling IB/ipoib: Replace list_del of the neigh->list with list_del_init IB/ipoib: rtnl_unlock can not come after free_netdev IB/ipoib: Fix deadlock over vlan_mutex tty: goldfish: Fix a parameter of a call to free_irq ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes sh_eth: use correct name for ECMR_MPDE bit MIPS: Ensure bss section ends on a long-aligned address RDS: RDMA: Fix the composite message user notification drm: bridge: add DT bindings for TI ths8135 Linux 3.18.73 fix xen_swiotlb_dma_mmap prototype swiotlb-xen: implement xen_swiotlb_dma_mmap callback video: fbdev: aty: do not leak uninitialized padding in clk to userspace x86/fpu: Don't let userspace set bogus xcomp_bv btrfs: prevent to set invalid default subvolid * PCI: Fix race condition with driver_override kvm: nVMX: Don't allow L2 to access the hardware CR8 * arm64: Make sure SPsel is always set bsg-lib: don't free job in bsg_prepare_job * nl80211: check for the required netlink attributes presence * vfs: Return -ENXIO for negative SEEK_HOLE / SEEK_DATA offsets SMB3: Don't ignore O_SYNC/O_DSYNC and O_DIRECT flags SMB: Validate negotiate (to protect against downgrade) even if signing off powerpc/pseries: Fix parent_dn reference leak in add_dt_node() * KEYS: prevent KEYCTL_READ on negative key * KEYS: prevent creating a different user's keyrings * KEYS: fix writing past end of user-supplied buffer in keyring_read() crypto: talitos - fix sha224 scsi: scsi_transport_iscsi: fix the issue that iscsi_if_rx doesn't parse nlmsg properly * tracing: Erase irqsoff trace with empty write * tracing: Fix trace_pipe behavior for instance traces KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce() mac80211: flush hw_roc_start work before cancelling the ROC cifs: release auth_key.response for reconnect. cifs: release cifs root_cred after exit_cifs Linux 3.18.72 bcache: fix bch_hprint crash and improve output bcache: fix for gc and write-back race bcache: Correct return value for sysfs attach errors bcache: correct cache_dirty_target in __update_writeback_rate() bcache: Fix leak of bdev reference bcache: initialize dirty stripes in flash_dev_run() media: uvcvideo: Prevent heap overflow when accessing mapped controls * media: v4l2-compat-ioctl32: Fix timespec conversion PCI: shpchp: Enable bridge bus mastering if MSI is enabled ARC: Re-enable MMU upon Machine Check exception * tracing: Apply trace_clock changes to instance max buffer ftrace: Fix selftest goto location on error scsi: qla2xxx: Fix an integer overflow in sysfs code * scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE * scsi: sg: factor out sg_fill_request_table() * scsi: sg: off by one in sg_ioctl() * scsi: sg: use standard lists for sg_requests * scsi: sg: remove 'save_scat_len' scsi: zfcp: trace high part of "new" 64 bit SCSI LUN scsi: zfcp: trace HBA FSF response by default on dismiss or timedout late response scsi: zfcp: fix payload with full FCP_RSP IU in SCSI trace records scsi: zfcp: fix missing trace records for early returns in TMF eh handlers scsi: zfcp: add handling for FCP_RESID_OVER to the fcp ingress path scsi: zfcp: fix queuecommand for scsi_eh commands when DIX enabled skd: Submit requests to firmware before triggering the doorbell skd: Avoid that module unloading triggers a use-after-free md/bitmap: disable bitmap_resize for file-backed bitmaps. * block: Relax a check in blk_start_queue() powerpc: Fix DAR reporting when alignment handler faults * ext4: fix incorrect quotaoff if the quota feature is enabled crypto: AF_ALG - remove SGL terminator indicator when chaining Input: i8042 - add Gigabyte P57 to the keyboard reset table ip6_gre: fix endianness errors in ip6gre_err Revert "usb: musb: fix tx fifo flush handling again" f2fs: check hot_data for roll-forward recovery * ipv6: fix typo in fib6_net_exit() * ipv6: fix memory leak with multiple tables during netns destruction * tcp: initialize rcv_mss to TCP_MIN_MSS instead of 0 * Revert "net: phy: Correctly process PHY_HALTED in phy_stop_machine()" qlge: avoid memcpy buffer overflow * ipv6: accept 64k - 1 packet length in ip6_find_1stfragopt() Linux 3.18.71 xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present ARM: 8692/1: mm: abort uaccess retries upon fatal signal * Bluetooth: Properly check L2CAP config option output buffer length ALSA: msnd: Optimize / harden DSP and MIDI loops locktorture: Fix potential memory leak with rw lock test btrfs: resume qgroup rescan on rw remount * scsi: sg: recheck MMAP_IO request length with lock held * scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE * cs5536: add support for IDE controller variant * workqueue: Fix flag collision * cma: fix calculation of aligned offset dlm: avoid double-free on error path in dlm_device_{register,unregister} Input: trackpoint - assume 3 buttons when buttons detection fails * driver core: bus: Fix a potential double free staging/rts5208: fix incorrect shift to extract upper nybble * USB: core: Avoid race of async_completed() w/ usbdev_release() * usb:xhci:Fix regression when ATI chipsets detected * usb: Add device quirk for Logitech HD Pro Webcam C920-C USB: serial: option: add support for D-Link DWM-157 C1 * usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard Conflicts: drivers/input/input.c drivers/media/v4l2-core/v4l2-compat-ioctl32.c drivers/scsi/sg.c drivers/usb/dwc3/gadget.c drivers/usb/gadget/function/f_fs.c drivers/usb/host/xhci-hub.c net/ipv4/raw.c net/packet/af_packet.c sound/usb/card.c sound/usb/mixer.c Change-Id: I4ca2d8f23d99e69b73d055262327f4c71da20a7c Signed-off-by: Thierry Strudel <tstrudel@google.com>
| * ext4: correct documentation for grpid mount optionErnesto A. Fernández2018-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | commit 9f0372488cc9243018a812e8cfbf27de650b187b upstream. The grpid option is currently described as being the same as nogrpid. Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | Merge tag 'lsk-v3.18-16.04-android' into 'msm-3.18'Imran Khan2016-06-092-5/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSK Android 16.04 v3.18 * origin/tmp-a79bee5: (1037 commits) mm: vmalloc: don't remove inexistent guard hole in remove_vm_area() arm64: Don't relocate non-existent initrd mm/early_ioremap: add explicit #include of asm/early_ioremap.h compiler, atomics, kasan: Provide READ_ONCE_NOCHECK() locking: Remove atomicy checks from {READ,WRITE}_ONCE ARM64: kasan: print memory assignment UPSTREAM: arm64: Fix text patching logic when using fixmap Linux 3.18.31 crypto: algif_skcipher - Fix race condition in skcipher_check_key crypto: algif_skcipher - Remove custom release parent function crypto: algif_skcipher - Add nokey compatibility path crypto: algif_skcipher - Require setkey before accept(2) ALSA: hda - Fix regression of monitor_present flag in eld proc file arm64: errata: Add -mpc-relative-literal-loads to build flags mm/page_alloc: prevent merging between isolated and other pageblocks mm: use 'unsigned int' for page order mm: page_alloc: pass PFN to __free_pages_bootmem ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list ocfs2/dlm: fix race between convert and recovery Input: ati_remote2 - fix crashes on detecting device with invalid descriptor ideapad-laptop: Add ideapad Y700 (15) to the no_hw_rfkill DMI list staging: comedi: ni_mio_common: fix the ni_write[blw]() functions rapidio/rionet: fix deadlock on SMP fs/coredump: prevent fsuid=0 dumps into user-controlled directories tracing: Fix trace_printk() to print when not using bprintk() KVM: fix spin_lock_init order on x86 KVM: VMX: avoid guest hang on invalid invept instruction target: Fix target_release_cmd_kref shutdown comp leak bitops: Do not default to __clear_bit() for __clear_bit_unlock() ALSA: usb-audio: add Microsoft HD-5001 to quirks splice: handle zero nr_pages in splice_to_pipe() tracing: Fix crash from reading trace_pipe with sendfile USB: uas: Reduce can_queue to MAX_CMNDS USB: cdc-acm: more sanity checking USB: usb_driver_claim_interface: add sanity checking USB: iowarrior: fix oops with malicious USB descriptors x86/apic: Fix suspicious RCU usage in smp_trace_call_function_interrupt() Thermal: Ignore invalid trip points Input: synaptics - handle spurious release of trackstick buttons, again Input: ims-pcu - sanity check against missing interfaces mmc: sdhci: Fix override of timeout clk wrt max_busy_timeout x86/iopl: Fix iopl capability check on Xen PV ARM: dts: sunxi: Adjust touchscreen compatible for sun5i and later nfsd: fix deadlock secinfo+readdir compound ALSA: usb-audio: Fix NULL dereference in create_fixed_stream_quirk() mmc: mmc_spi: Add Card Detect comments and fix CD GPIO case ALSA: hda - Fix unconditional GPIO toggle via automute HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report() net: mvneta: enable change MAC address when interface is up md: multipath: don't hardcopy bio in .make_request path drm/radeon: rework fbdev handling on chips with no connectors radeon/fb: add wrapper functions around fb connector add/remove Input: powermate - fix oops with malicious USB descriptors s390/pci: enforce fmb page boundary rule s390/pci: extract software counters from fmb ALSA: intel8x0: Add clock quirk entry for AD1981B on IBM ThinkPad X41. ALSA: hda - Add new GPU codec ID 0x10de0083 to snd-hda ALSA: hda - Add new GPU codec ID 0x10de0082 to snd-hda ALSA: hda - Add new GPU codec ID 0x10de007d to snd-hda bus: imx-weim: Take the 'status' property value into account xtensa: clear all DBREAKC registers on start xtensa: fix preemption in {clear,copy}_user_highpage xtensa: ISS: don't hang if stdin EOF is reached ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO Bluetooth: btusb: Add a new AR3012 ID 13d3:3472 EDAC/sb_edac: Fix computation of channel address jbd2: fix FS corruption possibility in jbd2_journal_destroy() on umount path sg: fix dxferp in from_to case drm/radeon: Don't drop DP 2.7 Ghz link setup on some cards. drm/radeon: disable runtime pm on PX laptops without dGPU power control be2iscsi: set the boot_kset pointer to NULL in case of failure x86/PCI: Mark Broadwell-EP Home Agent & PCU as having non-compliant BARs bcache: fix cache_set_flush() NULL pointer dereference on OOM bcache: cleaned up error handling around register_cache() bcache: fix race of writeback thread starting before complete initialization sched/cputime: Fix steal_account_process_tick() to always return jiffies perf/x86/intel: Add definition for PT PMI bit x86: Add new MSRs and MSR bits used for Intel Skylake PMU support KVM: i8254: change PIT discard tick policy usb: hub: fix a typo in hub_port_init() leading to wrong logic of: alloc anywhere from memblock if range not specified mtip32xx: Handle FTL rebuild failure state during device initialization mtip32xx: fix incorrectly setting MTIP_DDF_SEC_LOCK_BIT mtip32xx: Handle safe removal during IO mtip32xx: fix crash on surprise removal of the drive mtip32xx: fix rmmod issue mtip32xx: Avoid issuing standby immediate cmd during FTL rebuild mtip32xx: Print exact time when an internal command is interrupted quota: Fix possible GPF due to uninitialised pointers xfs: fix two memory leaks in xfs_attr_list.c error paths nfsd4: fix bad bounds checking watchdog: rc32434_wdt: fix ioctl error handling [media] bttv: Width must be a multiple of 16 when capturing planar formats IB/srpt: Simplify srpt_handle_tsk_mgmt() mmc: sdhci: fix data timeout (part 2) mmc: sdhci: fix data timeout (part 1) Bluetooth: btusb: Add a new AR3012 ID 04ca:3014 crypto: ccp - memset request context to zero during import md/raid5: Compare apples to apples (or sectors to sectors) PCI: Disable IO/MEM decoding for devices with non-compliant BARs PCI: Add dev->has_secondary_link to track downstream PCIe links x86, irq: Keep balance of IOAPIC pin reference count mtd: onenand: fix deadlock in onenand_block_markbad aacraid: Fix memory leak in aac_fib_map_free Bluetooth: Add new AR3012 ID 0489:e095 Bluetooth: btusb: Add new AR3012 ID 13d3:3395 perf tools: Dont stop PMU parsing on alias parse error ext4: iterate over buffer heads correctly in move_extent_per_page() [media] saa7134: Fix bytesperline not being set correctly for planar formats [media] adv7511: TX_EDID_PRESENT is still 1 after a disconnect scripts/coccinelle: modernize & clk: rockchip: Add pclk_peri to critical clocks on RK3066/RK3188 clk: rockchip: add pclk_cpu to the list of rk3188 critical clocks fs: sdcardfs: build fix include/linux/poison.h: fix LIST_POISON{1,2} offset KEYS: Fix handling of stored error in a negatively instantiated user key KVM: x86: Reload pit counters for all channels when restoring state Revert "drm/radeon: call hpd_irq_event on resume" modules: fix longstanding /proc/kallsyms vs module insertion race. btrfs: async-thread: Fix a use-after-free error for trace security: let security modules use PTRACE_MODE_* with bitmasks kernel/resource.c: fix muxed resource handling in __request_region() [media] si2157: return -EINVAL if firmware blob is too big [media] si2157: Bounds check firmware btrfs: initialize the seq counter in struct btrfs_device Btrfs: fix transaction handle leak on failure to create hard link Btrfs: fix number of transaction units required to create symlink Btrfs: send, don't BUG_ON() when an empty symlink is found btrfs: statfs: report zero available if metadata are exhausted Btrfs: igrab inode in writepage Btrfs: add missing brelse when superblock checksum fails iw_cxgb3: Fix incorrectly returning error on success arm64: kill off the libgcc dependency lib/clz_tab.c: put in lib-y rather than obj-y compiler-gcc.h: neatening compiler-gcc: integrate the various compiler-gcc[345].h files lib/ucs2_string: Correct ucs2 -> utf8 conversion efi: Add pstore variables to the deletion whitelist efi: Make efivarfs entries immutable by default efi: Make our variable validation list include the guid efi: Do variable name validation tests in utf8 efi: Use ucs2_as_utf8 in efivarfs instead of open coding a bad version efi: efivar_create_sysfs_entry() should return negative error codes lib/ucs2_string: Add ucs2 -> utf8 helper functions ARM: 8457/1: psci-smp is built only for SMP drm/gma500: Use correct unref in the gem bo create function module: wrapper for symbol name. iio: pressure: mpl115: fix temperature offset sign iio: dac: mcp4725: set iio name property in sysfs iio: adis_buffer: Fix out-of-bounds memory access ptrace: use fsuid, fsgid, effective creds for fs access checks HID: multitouch: fix input mode switching on some Elan panels sched: Fix crash in sched_init_numa() ALSA: hda - Implement loopback control switch for Realtek and other codecs ALSA: usb-audio: Set correct type for some UAC2 mixer controls. HID: fix hid_ignore_special_drivers module parameter HID: core: do not scan reports if the group is already set usb: retry reset if a device times out ARM: dts: armada-375: use armada-370-sata for SATA tools/hv: Use include/uapi with __EXPORTED_HEADERS__ tools: hv: Makefile: Add hv_fcopy_daemon to Makefile staging: comedi: ni_tiocmd: change mistaken use of start_src for start_arg net: irda: Fix use-after-free in irtty_open() crypto: ccp - Don't assume export/import areas are aligned crypto: ccp - Limit the amount of information exported [media] pwc: Add USB id for Philips Spc880nc webcam [media] media: v4l2-compat-ioctl32: fix missing length copy in put_v4l2_buffer32 tty: Fix GPF in flush_to_ldisc(), part 2 crypto: ccp - Add hash state import and export support EDAC, amd64_edac: Shift wrapping issue in f1x_get_norm_dct_addr() fuse: break infinite loop in fuse_fill_write_pages() ovl: fix permission checking for setattr powerpc: Fix dedotify for binutils >= 2.26 arm64: account for sparsemem section alignment when choosing vmemmap offset arm64: vmemmap: use virtual projection of linear region drm/dp/mst: Reverse order of MST enable and clearing VC payload table. drm/dp/mst: move GUID storage from mgr, port to only mst branch irqchip/omap-intc: Add support for spurious irq handling irqchip: omap-intc: Improve IRQ handler MAINTAINERS: return arch/sh to maintained state, with new maintainers ALSA: hda - Fixup inverted internal mic for Lenovo E50-80 net: Fix skb_set_peeked use-after-free bug net: Clone skb before setting peeked flag BACKPORT: selinux: restrict kernel module loading android: base-cfg: enable CONFIG_QUOTA ANDROID: dm: rename dm-linear methods for dm-android-verity ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED ANDROID: dm verity fec: add sysfs attribute fec/corrected sdcardfs: remove unneeded __init and __exit sdcardfs: Remove unused code ANDROID: dm: Mounting root as linear device when verity disabled BACKPORT: nl80211: Stop scheduled scan if netlink client disappears sdcardfs: remove effectless config option trace: cpufreq: fix typo in min/max cpufreq inotify: Fix erroneous update of bit count CHROMIUM: usb: gadget: f_accessory: add .raw_request callback CHROMIUM: usb: gadget: audio_source: add .free_func callback ANDROID: usb: gadget: Add support for MTP OS desc CHROMIUM: usb: gadget: f_mtp: fix usb_ss_ep_comp_descriptor CHROMIUM: usb: gadget: f_mtp: Add SuperSpeed support sdcardfs: Add support for d_canonicalize vfs: add d_canonical_path for stacked filesystem support kasan: add functions to clear stack poison kasan: fix kmemleak false-positive in kasan_module_alloc() kasan: always taint kernel on report mm, slub, kasan: enable user tracking by default with KASAN=y kasan: use IS_ALIGNED in memory_is_poisoned_8() kasan: Fix a type conversion error lib: test_kasan: add some testcases kasan: update reference to kasan prototype repo kasan: move KASAN_SANITIZE in arch/x86/boot/Makefile kasan: various fixes in documentation kasan: update log messages kasan: accurately determine the type of the bad access kasan: update reported bug types for kernel memory accesses kasan: update reported bug types for not user nor kernel memory accesses mm/kasan: prevent deadlock in kasan reporting mm/kasan: don't use kasan shadow pointer in generic functions mm/kasan: MODULE_VADDR is not available on all archs mm/kasan: rename kasan_enabled() to kasan_report_enabled() arm64: KASAN depends on !(ARM64_16K_PAGES && ARM64_VA_BITS_48) arm64: kasan: fix issues reported by sparse arm64: add KASAN support sdcardfs: Bring up to date with Android M permissions: Changed type-casting in packagelist management Port of sdcardfs to 3.18 Included sdcardfs source code for kernel 3.0 BACKPORT: FROMLIST: mm: ASLR: use get_random_long() FROMLIST: drivers: char: random: add get_random_long() ANDROID: usb: u_ether: Add missing rx_work init Revert "mmc: core: Hold a wake lock accross delayed work + mmc rescan" Revert "mmc: Extend wakelock if bus is dead" ANDROID: dm-crypt: Remove WQ_NON_REENTRANT flag. ANDROID: recommended.cfg: Setup verity root A/B ANDROID: dm-android-verity: Rebase on top of 4.1 ANDROID: dm: Rebase on top of 4.1 ANDROID: dm: Add android verity target UPSTREAM: lib/string.c: introduce strreplace() CHROMIUM: dm: boot time specification of dm= ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue ANDROID: dm-verity: run in a WQ_HIGHPRI workqueue ANDROID: mmc: move to a SCHED_FIFO thread net: tcp: fix rtable leak in tcp_is_local[6] UPSTREAM: arm64: cpu hotplug: ensure we mask out CPU_TASKS_FROZEN in notifiers android: base-cfg: Add CONFIG_IP_MULTICAST kasan: fix last shadow judgement in memory_is_poisoned_16() mm/mempool.c: kasan: poison mempool elements mm/mempool: avoid KASAN marking mempool poison checks as use-after-free mm/mempool: allow NULL `pool' pointer in mempool_destroy() mm/mempool.c: kasan: poison mempool elements mm, mempool: poison elements backed by slab allocator mm, mempool: disallow mempools based on slab caches with constructors mm, mempool: do not allow atomic resizing x86/kasan, mm: Introduce generic kasan_populate_zero_shadow() x86/kasan: Define KASAN_SHADOW_OFFSET per architecture kasan: remove duplicate definition of the macro KASAN_FREE_PAGE kasan: show gcc version requirements in Kconfig and Documentation kasan: Makefile: shut up warnings if CONFIG_COMPILE_TEST=y kasan, module: move MODULE_ALIGN macro into <linux/moduleloader.h> kasan, module, vmalloc: rework shadow allocation for modules kasan: enable instrumentation of global variables module: fix types of device tables aliases kernel: add support for .init_array.* constructors mm: vmalloc: pass additional vm_flags to __vmalloc_node_range() mm: vmalloc: add flag preventing guard hole allocation kasan: enable stack instrumentation x86_64: kasan: add interceptors for memset/memmove/memcpy functions lib: add kasan test module kmemleak: disable kasan instrumentation for kmemleak fs: dcache: manually unpoison dname after allocation to shut up kasan's reports mm: slub: add kernel address sanitizer support for slub allocator mm: slub: introduce metadata_access_enable()/metadata_access_disable() mm: slub: share object_err function mm: slub: introduce virt_to_obj function mm: page_alloc: add kasan hooks on alloc and free paths x86_64: add KASan support kasan: disable memory hotplug kasan: add kernel address sanitizer infrastructure compiler: introduce __alias(symbol) shortcut MODULE_DEVICE_TABLE: fix some callsites arm64: Move some head.text functions to executable section arm64: introduce VA_START macro - the first kernel virtual address. arm64: support initrd outside kernel linear map mm: add utility for early copy from unmapped ram arm64: Change memcpy in kernel to use the copy template file arm64: move PGD_SIZE definition to pgalloc.h arm64: pgalloc: consistently use PGALLOC_GFP arm64: use ENDPIPROC() to annotate position independent assembler routines arm64: add macros for common adrp usages arm64: guard asm/assembler.h against multiple inclusions x86/iopl/64: Properly context-switch IOPL on Xen PV Linux 3.18.30 PM / OPP: Fix incorrect comments PM / OPP: Initialize regulator pointer to an error value PM / OPP: Initialize u_volt_min/max to a valid value PM / OPP: Fix NULL pointer dereference crash when disabling OPPs PM / OPP: Add dev_pm_opp_set_rate() regulator: core: Define regulator_set_voltage_triplet() PM / OPP: Manage device clk PM / OPP: Parse clock-latency and voltage-tolerance for v1 bindings PM / OPP: Introduce dev_pm_opp_get_max_transition_latency() PM / OPP: Introduce dev_pm_opp_get_max_volt_latency() PM / OPP: Disable OPPs that aren't supported by the regulator PM / OPP: get/put regulators from OPP core PM / OPP: build bug fix PM / OPP: Use snprintf() instead of sprintf() PM / OPP: Set cpu_dev->id in cpumask first PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties PM / OPP: Parse 'opp-<prop>-<name>' bindings PM / OPP: Parse 'opp-supported-hw' binding PM / OPP: Add missing doc comments PM / OPP: Rename OPP nodes as opp@<opp-hz> PM / OPP: Remove 'operating-points-names' binding PM / OPP: Add {opp-microvolt|opp-microamp}-<name> binding PM / OPP: Add "opp-supported-hw" binding PM / OPP: Add opp_rcu_lockdep_assert() to _find_device_opp() PM / OPP: Hold dev_opp_list_lock for writers PM / OPP: Protect updates to list_dev with mutex PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus() PM / OPP: Parse all power-supply related bindings together PM / OPP: Rename routines specific to old bindings with _v1 PM / OPP: Improve print messages with pr_fmt PM / OPP: passing NULL to PTR_ERR() PM / OPP: Move cpu specific code to opp/cpu.c PM / OPP: Move opp core to its own directory PM / OPP: Prefix exported opp routines with dev_pm_opp_ PM / OPP: Rename opp init/free table routines PM / OPP: Return suspend_opp only if it is enabled imx6q: free OPP table created during ->init() exynos5440: free OPP table created during ->init() cpufreq: arm_big_little: free OPP table created during ->init() PM / OPP: reuse of_parse_phandle() PM: Convert dev_pm_put_subsys_data() into a void function PM: Update function header for dev_pm_get_subsys_data() arm64: psci: move psci firmware calls out of line Revert "MIPS: Kconfig: Disable SMP/CPS for 64-bit" ld-version: Fix awk regex compile failure tracing: Fix check for cpu online when event is disabled Revert "drm/radeon/pm: adjust display configuration after powerstate" KVM: VMX: disable PEBS before a guest entry KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit ARM: dts: dra7: do not gate cpsw clock due to errata i877 ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7 target: Drop incorrect ABORT_TASK put for completed commands ovl: copy new uid/gid into overlayfs runtime inode ovl: fix getcwd() failure after unsuccessful rmdir mac80211: Fix Public Action frame RX in AP mode ASoC: wm_adsp: Fix enum ctl accesses in a wrong type ASoC: wm8994: Fix enum ctl accesses in a wrong type ASoC: wm8958: Fix enum ctl accesses in a wrong type can: gs_usb: fixed disconnect bug by removing erroneous use of kfree() mac80211: minstrel_ht: set default tx aggregation timeout to 0 iwlwifi: mvm: inc pending frames counter also when txing non-sta mac80211: fix use of uninitialised values in RX aggregation cfg80211/wext: fix message ordering wext: fix message delay/ordering Linux 3.18.29 arm64: kernel: pause/unpause function graph tracer in cpu_suspend() ipv6: drop frames with attached skb->sk in forwarding Correct backport for ip6_gre: release cached dst on tunnel removal KVM: x86: move steal time initialization to vcpu entry time tools: Add a "make all" rule HID: usbhid: fix recursive deadlock iwlwifi: pcie: support loading FW with extended mem range ubi: Fix out of bounds write in volume update code MIPS: traps: Fix SIGFPE information leak from `do_ov' and `do_trap_or_bp' block: bio: introduce helpers to get the 1st and last bvec ALSA: hda - Fix mic issues on Acer Aspire E1-472 PM / sleep / x86: Fix crash on graph trace through x86 suspend drm/radeon/pm: update current crtc info after setting the powerstate USB: qcserial: add Sierra Wireless EM74xx device ID USB: qcserial: add Sierra Wireless MC74xx/EM74xx drm/ast: Fix incorrect register check for DRAM width ALSA: seq: oss: Don't drain at closing a client ALSA: usb-audio: Add a quirk for Plantronics DA45 USB: serial: option: add support for Quectel UC20 USB: serial: option: add support for Telit LE922 PID 0x1045 USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder USB: qcserial: add Dell Wireless 5809e Gobi 4G HSPA+ (rev3) ALSA: hdsp: Fix wrong boolean ctl value accesses ALSA: hdspm: Fix zero-division ALSA: hdspm: Fix wrong boolean ctl value accesses arm/arm64: KVM: Fix ioctl error handling Fix cifs_uniqueid_to_ino_t() function for s390x CIFS: Fix SMB2+ interim response processing for read requests cifs: fix out-of-bounds access in lease parsing ALSA: timer: Fix ioctls for X32 ABI ALSA: timer: Fix broken compat timer user status ioctl ALSA: rawmidi: Fix ioctls X32 ABI ALSA: ctl: Fix ioctls for X32 ABI vfio: fix ioctl error handling do_last(): don't let a bogus return value from ->open() et.al. to confuse us hpfs: don't truncate the file when delete fails mm: thp: fix SMP race condition between THP page fault and MADV_DONTNEED libata: Align ata_device's id on a cacheline iommu/amd: Apply workaround for ATS write permission check iommu/amd: Fix boot warning when device 00:00.0 is not iommu covered ALSA: hda - Fix headset support and noise on HP EliteBook 755 G2 ALSA: hda - Fixup speaker pass-through control for nid 0x14 on ALC225 ALSA: hda/realtek - Support Dell headset mode for ALC225 ALSA: hda - Fixing background noise on Dell Inspiron 3162 Fix directory hardlinks from deleted directories jffs2: Fix page lock / f->sem deadlock Revert "jffs2: Fix lock acquisition order bug in jffs2_write_begin" KVM: x86: MMU: fix ubsan index-out-of-range warning ALSA: hda - Add mic mute hotkey quirk for Lenovo ThinkCentre AIO ALSA: hda - Fixing speaker noise on the two latest thinkpad models ALSA: hda - Fix headphone noise after Dell XPS 13 resume back from S3 ALSA: hda/realtek - Dell XPS one ALC3260 speaker no sound after resume back ALSA: hda/realtek - Support Dell headset mode for ALC298 ALSA: hda/realtek - Support Dell headset mode for ALC288 ALSA: hda - Enable docking station for an HP machine ALSA: hda - Enable mic mute hotkey and LEDs for an HP machine ALSA: hda/realtek - Supported HP mute Led for ALC286 ALSA: hda/realtek - Clean up mute/mic GPIO LED handling usb: chipidea: otg: change workqueue ci_otg as freezable libceph: don't bail early from try_read() when skipping a message tracing: Fix showing function event in available_events KVM: async_pf: do not warn on page allocation failures KVM: arm/arm64: vgic: Ensure bitmaps are long enough sunrpc/cache: fix off-by-one in qword_get() drm/radeon/pm: adjust display configuration after powerstate s390/compat: correct restore of high gprs on signal return can: ems_usb: Fix possible tx overflow hwmon: (ads1015) Handle negative conversion values correctly Adding Intel Lewisburg device IDs for SATA ahci: Order SATA device IDs for codename Lewisburg USB: option: add "4G LTE usb-modem U901" usb: cp210x support SEL C662 Vendor/Device USB: cp210x: add IDs for GE B650V3 and B850V3 boards USB: cp210x: add ID for ELV Marble Sound Board 1 USB: option: add support for SIM7100E NFSv4: Fix a dentry leak on alias use usb: dwc3: Fix assignment of EP transfer resources [media] adv7604: fix tx 5v detect regression xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted. xen/pciback: Don't allow MSI-X ops if PCI_COMMAND_MEMORY is not set. xen/pciback: Return error on XEN_PCI_OP_enable_msix when device has MSI or MSI-X enabled xen/pciback: Save xen_pci_op commands before processing it iwlwifi: mvm: don't allow sched scans without matches to be started libata: fix HDIO_GET_32BIT ioctl nfs: fix nfs_size_to_loff_t xen/scsiback: correct frontend counting x86/entry/compat: Add missing CLAC to entry_INT80_32 target: Fix race with SCF_SEND_DELAYED_TAS handling target: Fix remote-port TMR ABORT + se_cmd fabric stop target: Fix TAS handling for multi-session se_node_acls target: Fix LUN_RESET active I/O handling for ACK_KREF target: fix COMPARE_AND_WRITE non zero SGL offset data corruption target: Fix race for SCF_COMPARE_AND_WRITE_POST checking iscsi-target: Fix rx_login_comp hang after login failure Linux 3.18.28 fs-writeback: unplug before cond_resched in writeback_sb_inodes ext4: fix crashes in dioread_nolock mode ALSA: pcm: Fix rwsem deadlock for non-atomic PCM stream ALSA: pcm: More kerneldoc updates drm/qxl: use kmalloc_array to alloc reloc_info in qxl_process_single_command drm/radeon: use post-decrement in error handling ALSA: seq: Fix double port list deletion tracing: Fix freak link error caused by branch tracer tracepoints: Do not trace when cpu is offline dmaengine: dw: disable BLOCK IRQs for non-cyclic xfer ALSA: seq: Fix leak of pool buffer at concurrent writes ALSA: seq: Drop superfluous error/debug messages after malloc failures powerpc/powernv: Shorten EEH function names ALSA: usb-audio: avoid freeing umidi object twice EVM: Use crypto_memneq() for digest comparisons ext4: don't read blocks from disk after extents being swapped ext4: move_extent improve bh vanishing success factor ext4: fix potential integer overflow btrfs: properly set the termination value of ctx->pos in readdir ARM: 8519/1: ICST: try other dividends than 1 s390/dasd: fix refcount for PAV reassignment s390/dasd: prevent incorrect length error under z/VM after PAV changes cifs: fix erroneous return value drm/radeon: hold reference to fences in radeon_sa_bo_new ahci: Intel DNV device IDs SATA phy: twl4030-usb: Fix unbalanced pm_runtime_enable on module reload phy: twl4030-usb: Relase usb phy on unload phy: core: fix wrong err handle for phy_power_on phy: core: Fixup return value of phy_exit when !pm_runtime_enabled ALSA: timer: Fix race at concurrent reads ALSA: timer: Handle disconnection more safely ALSA: timer: Fix race between stop and interrupt ARM: 8517/1: ICST: avoid arithmetic overflow in icst_hz() ALSA: timer: Fix wrong instance passed to slave callbacks drm/i915/dsi: don't pass arbitrary data to sideband drm/i915/dsi: defend gpio table against out of bounds access ALSA: dummy: Implement timer backend switching more safely klist: fix starting point removed bug in klist iterators ALSA: hda - Fix speaker output from VAIO AiO machines pty: make sure super_block is still valid in final /dev/tty close pty: fix possible use after free of tty->driver_data tty: Add support for PCIe WCH382 2S multi-IO card tty: Add support for the WCH384 4S multi-IO card parport: Add support for the WCH382 2S/1P multi-IO card qla2xxx: Use pci_enable_msix_range() instead of pci_enable_msix() crypto: user - lock crypto_alg_list on alg dump ALSA: hda - Fix static checker warning in patch_hdmi.c SCSI: Add Marvell Console to VPD blacklist scsi_dh_rdac: always retry MODE SELECT on command lock violation Btrfs: fix hang on extent buffer lock caused by the inode_paths ioctl target: Fix LUN_RESET active TMR descriptor handling target: Remove first argument of target_{get,put}_sess_cmd() ASoC: dpcm: fix the BE state on hw_free cputime: Prevent 32bit overflow in time[val|spec]_to_cputime() MIPS: Fix buffer overflow in syscall_get_arguments() libata: fix sff host state machine locking while polling intel_scu_ipcutil: underflow in scu_reg_access() qla2xxx: terminate exchange when command is aborted by LIO qla2xxx: added sess generations to detect RSCN update races qla2xxx: Mark port lost when we receive an RSCN for it. qla2xxx: Abort stale cmds on qla_tgt_wq when plogi arrives qla2xxx: drop cmds/tmrs arrived while session is being deleted qla2xxx: delay plogi/prli ack until existing sessions are deleted qla2xxx: cleanup cmd in qla workqueue before processing TMR qla2xxx: kill sessions/log out initiator on RSCN and port down events libata: disable forced PORTS_IMPL for >= AHCI 1.3 PCI/AER: Flush workqueue on device remove to avoid use-after-free ASoC: rt5645: fix the shift bit of IN1 boost iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG qla2xxx: fix busy wait regression Linux 3.18.27 xfrm: dst_entries_init() per-net dst_ops xen-netfront: update num_queues to real created xen-netfront: respect user provided max_queues xen-netback: respect user provided max_queues team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid ppp, slip: Validate VJ compression slot parameters completely isdn_ppp: Add checks for allocation failure in isdn_ppp_open() ipv6: update skb->csum when CE mark is propagated net: bpf: reject invalid shifts phonet: properly unshare skbs in phonet_rcv() bonding: Prevent IPv6 link local address on enslaved devices tcp_yeah: don't set ssthresh below 2 ipv6: tcp: add rcu locking in tcp_v6_send_synack() net: sctp: prevent writes to cookie_hmac_alg from accessing invalid memory vxlan: fix test which detect duplicate vxlan iface net: possible use after free in dst_release net: sched: fix missing free per cpu on qstats net: filter: make JITs zero A for SKF_AD_ALU_XOR_X bridge: Only call /sbin/bridge-stp for the initial network namespace unix: properly account for FDs passed over unix sockets connector: bump skb->users before callback invocation sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close ipv6/addrlabel: fix ip6addrlbl_get() veth: don’t modify ip_summed; doing so treats packets with bad checksums as good. X.509: Don't strip leading 00's from key ID when constructing key description radix-tree: fix oops after radix_tree_iter_retry mm: replace vma_lock_anon_vma with anon_vma_lock_read/write ocfs2/dlm: clear refmap bit of recovery lock while doing local recovery cleanup dump_stack: avoid potential deadlocks drm/dp/mst: Calculate MST PBN with 31.32 fixed point drm: Add drm_fixp_from_fraction and drm_fixp2int_ceil drm: fix missing reference counting decrease ARM: nomadik: set up MCDATDIR2 [media] saa7134-alsa: Only frees registered sound cards ALSA: timer: Fix leftover link at closing ALSA: timer: Fix double unlink of active_list [media] tda1004x: only update the frontend properties if locked xhci: Fix list corruption in urb dequeue at host removal usb: xhci: apply XHCI_PME_STUCK_QUIRK to Intel Broxton-M platforms usb: xhci: set SSIC port unused only if xhci_suspend succeeds usb: xhci: add a quirk bit for ssic port unused usb: xhci: handle both SSIC ports in PME stuck quirk xhci: Move xhci_pme_quirk() behind #ifdef CONFIG_PM xhci: Workaround to get D3 working in Intel xHCI xhci: call BIOS workaround to enable runtime suspend on Intel Braswell radix-tree: fix race in gang lookup drivers/scsi/sg.c: mark VMA as VM_IO to prevent migration ALSA: seq: Fix lockdep warnings due to double mutex locks ALSA: rawmidi: Fix race at copying & updating the position ALSA: rawmidi: Make snd_rawmidi_transmit() race-free ALSA: hda - Add fixup for Mac Mini 7,1 model drm/radeon: mask out WC from BO on unsupported arches drm/radeon: Always disable RADEON_GEM_GTT_UC along with RADEON_GEM_GTT_WC drm: add helper to check for wc memory support ALSA: timer: Fix link corruption due to double start or stop ALSA: timer: Code cleanup ALSA: timer: Harden slave timer list handling ALSA: seq: Fix yet another races among ALSA timer accesses ALSA: pcm: Fix potential deadlock in OSS emulation ALSA: rawmidi: Remove kernel WARNING for NULL user-space buffer check ALSA: seq: Fix race at closing in virmidi driver crypto: algif_hash - wait for crypto_ahash_init() to complete ALSA: usb-audio: Add quirk for Microsoft LifeCam HD-6000 ALSA: usb-audio: Add native DSD support for PS Audio NuWave DAC ALSA: usb: Add native DSD support for Aune X1S drm/i915/dp: fall back to 18 bpp when sink capability is unknown crypto: shash - Fix has_key setting ARM: dts: at91: sama5d4: fix instance id of DBGU rfkill: fix rfkill_fop_read wait_event usage mac80211: Requeue work after scan complete for all VIF types. arm64: restore bogomips information in /proc/cpuinfo USB: fix invalid memory access in hub_activate() serial: 8250_pci: Add Intel Broadwell ports x86/mm/pat: Avoid truncation when converting cpa->numpages to address Staging: speakup: Fix getting port information drm/vmwgfx: respect 'nomodeset' ALSA: dummy: Disable switching timer backend via sysfs seccomp: always propagate NO_NEW_PRIVS on tsync irqchip/atmel-aic: Fix wrong bit operation for IRQ priority staging/speakup: Use tty_ldisc_ref() for paste kworker n_tty: Fix unsafe reference to "other" ldisc tty: Fix unsafe ldisc reference via ioctl(TIOCGETD) SCSI: fix crashes in sd and sr runtime PM powerpc/eeh: Fix PE location code arm64: mm: avoid calling apply_to_page_range on empty range ALSA: bebob: Use a signed return type for get_formation_index ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures USB: option: fix Cinterion AHxx enumeration USB: serial: ftdi_sio: add support for Yaesu SCU-18 cable ALSA: seq: Degrade the error message for too many opens ALSA: seq: Fix incorrect sanity check at snd_seq_oss_synth_cleanup() USB: serial: option: Adding support for Telit LE922 USB: serial: visor: fix crash on detecting device without write_urbs USB: visor: fix null-deref at probe USB: cp210x: add ID for IAI USB to RS485 adaptor usb: hub: do not clear BOS field during reset device cdc-acm:exclude Samsung phone 04e8:685d usb: cdc-acm: send zero packet for intel 7260 modem usb: cdc-acm: handle unlinked urb in acm read callback ideapad-laptop: Add Lenovo Yoga 700 to no_hw_rfkill dmi list ideapad-laptop: Add Lenovo Yoga 900 to no_hw_rfkill dmi list ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot() MIPS: Fix some missing CONFIG_CPU_MIPSR6 #ifdefs HID: hidpp: update input_configured callback usb: gadget: build audio_source function only if SND is enabled usb: gadget: function: fix unused func warning kbuild: Makefile.clean: make Kbuild and Makefile optional iscsi-target: Fix potential dead-lock during node acl delete ideapad-laptop: Add Lenovo ideapad Y700-17ISK to no_hw_rfkill dmi list IB/qib: Support creating qps with GFP_NOIO flag IB/qib: fix mcast detach when qp not attached crypto: crc32c - Fix crc32c soft dependency crypto: algif_hash - Fix race condition in hash_check_key crypto: af_alg - Forbid bind(2) when nokey child sockets are present crypto: algif_hash - Remove custom release parent function crypto: af_alg - Allow af_af_alg_release_parent to be called on nokey path crypto: algif_hash - Require setkey before accept(2) crypto: hash - Add crypto_ahash_has_setkey mac802154: fix typo IEEE802515 to IEEE802154 crypto: af_alg - Add nokey compatibility path crypto: af_alg - Fix socket double-free when accept fails crypto: af_alg - Disallow bind/setkey/... after accept(2) printk: do cond_resched() between lines while outputting to consoles kernel/panic.c: turn off locks debug before releasing console lock panic: release stale console lock to always get the logbuf printed out memcg: only free spare array when readers are done mm: soft-offline: check return value in second __get_any_page() call zram: try vmalloc() after kmalloc() zram/zcomp: use GFP_NOIO to allocate streams ocfs2/dlm: ignore cleaning the migration mle that is inuse scripts/bloat-o-meter: fix python3 syntax error dma-debug: switch check from _text to _stext m32r: fix m32104ut_defconfig build fail cifs_dbg() outputs an uninitialized buffer in cifs_readdir() cifs: fix race between call_async() and reconnect() cifs: Ratelimit kernel log messages cifs: convert printk(LEVEL...) to pr_<level> cifs: convert to print_hex_dump() instead of custom implementation sparc64: fix incorrect sign extension in sys_sparc64_personality mmc: core: Enable tuning according to the actual timing mmc: core: enable CMD19 tuning for DDR50 mode mmc: core: Simplify by adding mmc_execute_tuning() mmc: core: Fix error paths and messages in mmc_init_card mmc: mmci: fix an ages old detection error dmaengine: dw: fix cyclic transfer callbacks dmaengine: dw: fix cyclic transfer setup dmaengine: dw: Make error prints unique. Part #1 KVM: PPC: Fix ONE_REG AltiVec support parisc: Fix __ARCH_SI_PREAMBLE_SIZE virtio_balloon: fix race between migration and ballooning Input: elantech - mark protocols v2 and v3 as semi-mt xfs: handle dquot buffer readahead in log recovery correctly xfs: inode recovery readahead can race with inode buffer creation s390: fix normalization bug in exception table sorting drm/nouveau/kms: take mode_config mutex in connector hotplug path uml: flush stdout before forking uml: fix hostfs mknod() dm snapshot: fix hung bios when copy error occurs locks: fix unlock when fcntl_setlk races with a close locks: update comments that refer to inode->i_flock iwlwifi: update and fix 7265 series PCI IDs PCI: host: Mark PCIe/PCI (MSI) IRQ cascade handlers as IRQF_NO_THREAD PCI: imx6: Use tabs for indentation PCI: Fix minimum allocation address overwrite drm/dp/mst: fix in RAD element access gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat drm/dp/mst: fix in MSTB RAD initialization drm/dp/mst: process broadcast messages correctly udf: Check output buffer length when converting name to CS0 udf: Prevent buffer overrun with multi-byte characters Input: i8042 - add Fujitsu Lifebook U745 to the nomux list wlcore/wl12xx: spi: fix NULL pointer dereference (Oops) bcache: Change refill_dirty() to always scan entire disk if necessary bcache: prevent crash on changing writeback_running bcache: allows use of register in udev to avoid "device_busy" error. bcache: unregister reboot notifier if bcache fails to unregister device bcache: fix a leak in bch_cached_dev_run() bcache: clear BCACHE_DEV_UNLINK_DONE flag when attaching a backing device bcache: Add a cond_resched() call to gc bcache: fix a livelock when we cause a huge number of cache misses rtlwifi: rtl_pci: Fix kernel panic NFS: Fix attribute cache revalidation NFS: Remove the "NFS_CAP_CHANGE_ATTR" capability rtlwifi: rtl8192cu: Add missing parameter setup rtlwifi: rtl8192ce: Fix handling of module parameters rtlwifi: rtl8192se: Fix module parameter initialization rtlwifi: rtl8192de: Fix incorrect module parameter descriptions rtlwifi: rtl8188ee: Fix module parameter initialization posix-clock: Fix return code on the poll method's error path Thermal: do thermal zone update after a cooling device registered Thermal: handle thermal zone device properly during system sleep Thermal: initialize thermal zone device correctly nfs: Fix race in __update_open_stateid() udf: limit the maximum number of indirect extents in a row mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off() mmc: sdio: Fix invalid vdd in voltage switch power cycle drm/radeon: clean up fujitsu quirks drm/radeon: Fix off-by-one errors in radeon_vm_bo_set_addr android: recommended.cfg: enable taskstats Revert "usb: gadget: composite: Fix corruption when changing configuration" selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables drm/radeon: fence PT updates manually v2 futex: Drop refcount if requeue_pi() acquired the rtmutex dm thin: fix race condition when destroying thin pool workqueue EDAC: Robustify workqueues destruction ovl: check dentry positiveness in ovl_cleanup_whiteouts() wlcore/wl12xx: spi: fix oops on firmware load rtlwifi: fix memory leak for USB device Bluetooth: Add support of Toshiba Broadcom based devices ovl: root: copy attr KVM: PPC: Fix emulation of H_SET_DABR/X on POWER8 time: Avoid signed overflow in timekeeping_get_ns() drm/radeon: call hpd_irq_event on resume tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines [media] media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot mode [media] gspca: ov534/topro: prevent a division by 0 [media] vb2: fix a regression in poll() behavior for output,streams ovl: use a minimal buffer in ovl_copy_xattr ovl: allow zero size xattr Revert "net: wireless: Add CONFIG_WIFI_CONTROL_FUNC option" neigh: Better handling of transition to NUD_PROBE state net: diag: support v4mapped sockets in inet_diag_find_one_icsk() net: tcp: deal with listen sockets properly in tcp_abort. net: diag: Support destroying TCP sockets. net: diag: Support SOCK_DESTROY for inet sockets. net: diag: Add the ability to destroy a socket. net: diag: split inet_diag_dump_one_icsk into two ipv6: inet6_sk() should use sk_fullsock() net: add sk_fullsock() helper Linux 3.18.26 Revert "workqueue: make sure delayed work run in local cpu" KEYS: Fix keyring ref leak in join_session_keyring() KEYS: Fix race between read and revoke net: check both type and procotol for tcp sockets usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message usb: core : hub: Fix BOS 'NULL pointer' kernel panic usb: musb: USB_TI_CPPI41_DMA requires dmaengine support usb: gadget: pxa27x: fix suspend callback USB: whci-hcd: add check for dma mapping error USB: add quirk for devices with broken LPM USB: cp210x: Remove CP2110 ID from compatibility list USB: serial: Another Infineon flash loader USB ID USB: cdc_acm: Ignore Infineon Flash Loader utility rbd: don't leak parent_spec in rbd_dev_probe_parent() RDS: verify the underlying transport exists before creating a connection iwlwifi: bump firmware API for mvm devices to 12 iwlwifi: 7000: fix reported firmware name for 7265D ALSA: hda/hdmi - apply Skylake fix-ups to Broxton display codec ceph: fix message length computation ocfs2: fix umask ignored issue nfs: if we have no valid attrs, then don't declare the attribute cache valid nfs4: start callback_ident at idr 1 nfsd: serialize state seqid morphing operations firewire: ohci: fix JMicron JMB38x IT context discovery ext4, jbd2: ensure entering into panic after recording an error in superblock rbd: don't put snap_context twice in rbd_queue_workfn() Btrfs: fix race when listing an inode's xattrs Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow Btrfs: fix race leading to incorrect item deletion when dropping extents Btrfs: fix file corruption and data loss after cloning inline extents RDS: fix race condition when sending a message on unbound socket UPSTREAM: selinux: fix bug in conditional rules handling UPSTREAM: KEYS: Fix keyring ref leak in join_session_keyring() ion: fix page pool cache policy UPSTREAM: memcg: Only free spare array when readers are done unix: avoid use-after-free in ep_remove_wait_queue af_unix: Revert 'lock_interruptible' in stream receive code fou: clean up socket with kfree_rcu bluetooth: Validate socket address length in sco_sock_bind(). pptp: verify sockaddr_len in pptp_bind() and pptp_connect() skbuff: Fix offset error in skb_reorder_vlan_header vlan: Fix untag operations of stacked vlans with REORDER_HEADER off net: fix IP early demux races sh_eth: fix kernel oops in skb_put() net: add validation for the socket syscall protocol argument ipv6: sctp: clone options to avoid use after free net: qca_spi: fix transmit queue timeout handling sctp: also copy sk_tsflags when copying the socket sctp: update the netstamp_needed counter when copying sockets sctp: use the same clock as if sock source timestamps were on atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation gre6: allow to update all parameters via rtnl arm64: Add dtb files to archclean rule UPSTREAM: seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO Input: xpad - fix clash of presence handling with LED setting Input: xpad - query wireless controller state at init Input: xpad - move the input device creation to a new function Input: xpad - x360w: report dpad as buttons and axes Input: xpad - factor out URB submission in xpad_play_effect Input: xpad - remove needless bulk out URB used for LED setup Input: xpad - use ida() for finding the pad_nr Input: xpad - clarify LED enumeration Input: xpad - fix Razer Atrox Arcade Stick button mapping Input: xpad - add Covert Forces edition of the Xbox One controller Input: xpad - re-send LED command on present event Input: xpad - set the LEDs properly on XBox Wireless controllers Input: xpad - add rumble support for Xbox One controller Input: initialize device counter variables with -1 xt_qtaguid: fix a race condition in if_tag_stat_update FROMLIST: x86: mm: support ARCH_MMAP_RND_BITS. FROMLIST: arm64: mm: support ARCH_MMAP_RND_BITS. FROMLIST: arm: mm: support ARCH_MMAP_RND_BITS. FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR. Revert "mm: mmap: Add new /proc tunable for mmap_base ASLR." Revert "arm: mm: support ARCH_MMAP_RND_BITS." UPSTREAM: HID: hid-input: allow input_configured callback return errors Revert "HID: Add input_register callback." usb: gadget: rndis: use %z format specifier for size_t of: Fix build warnings UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset UPSTREAM: mm: more aggressive page stealing for UNMOVABLE allocations UPSTREAM: mm: always steal split buddies in fallback allocations UPSTREAM: mm: when stealing freepages, also take pages created by splitting buddy page ANDROID: rtc-palmas: correct for bcd year UPSTREAM: proc: actually make proc_fd_permission() thread-friendly ANDROID: android: base-cfg: enable CONFIG_DM_VERITY_FEC UPSTREAM: dm verity: add ignore_zero_blocks feature UPSTREAM: dm verity: add support for forward error correction UPSTREAM: dm verity: factor out verity_for_bv_block() UPSTREAM: dm verity: factor out structures and functions useful to separate object UPSTREAM: dm verity: move dm-verity.c to dm-verity-target.c UPSTREAM: dm verity: separate function for parsing opt args UPSTREAM: dm verity: clean up duplicate hashing code ANDROID: dm verity: port upstream changes to 3.18 BACKPORT: mm: /proc/pid/smaps:: show proportional swap share of the mapping of: handle both '/' and ':' in path strings of: unittest: Add option string test case with longer path of: unittest: Add options string testcase variants of: fix handling of '/' in options for of_find_node_by_path() of/unittest: Fix the wrong expected value in of_selftest_property_string of/unittest: remove the duplicate of_changeset_init of/overlay: Remove unused variable of/overlay: Directly include idr.h of: Drop superfluous dependance for OF_OVERLAY of: Add prompt for OF_OVERLAY config of/pci: Remove duplicate kfree in of_pci_get_host_bridge_resources() of/fdt: fix sparse warning of: EXPORT_SYMBOL_GPL of_property_read_u64_array of/unittest: Overlays with sub-devices tests of/unittest: Remove obsolete code of/platform: Handle of_populate drivers in notifier of/overlay: Do not generate duplicate nodes Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol drivers: of: Export of_reserved_mem_device_{init,release} of: Delete unnecessary check before calling "of_node_put()" of: Drop ->next pointer from struct device_node of: support passing console options with stdout-path of: add optional options parameter to of_find_node_by_path() of: Remove unneeded and incorrect MODULE_DEVICE_TABLE of: base, fix of_property_read_string_helper kernel-doc of: remove select of non-existant OF_DEVICE config symbol of/overlay: Add overlay unittests of/overlay: Introduce DT overlay support of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type of/reconfig: Always use the same structure for notifiers of/reconfig: Add debug output for OF_RECONFIG notifiers of/reconfig: Add empty stubs for the of_reconfig methods of/reconfig: Add of_reconfig_get_state_change() of notifier helper. of/resolver: Switch to new local fixups format. of: Refactor __of_node_alloc() into __of_node_dup() of: Use vargs in __of_node_alloc of: Properly set the OF_POPULATED_BUS flag on root node of/fdt: export fdt blob as /sys/firmware/fdt of: Change of_device_is_available() to return bool of.h: Keep extern declaration of of_* variables when !CONFIG_OF of/irq: Export of_irq_get() of/platform: Move platform devices under /sys/devices/platform of: check for size < 0 after rounding in early_init_dt_add_memory_arch of/fdt: Don't clear initial_boot_params if fdt_check_header() fails of/unittest: Remove test devices after adding them of: Fix padding in _OF_DECLARE macro definition of: Request and map make argument name constant of/unittest: Rename selftest.c to unittest.c of: Eliminate of_allnodes list of: introduce of_property_read_s32 Linux 3.18.25 ipv6: sctp: implement sctp_v6_destroy_sock() net/neighbour: fix crash at dumping device-agnostic proxy entries ipv6: add complete rcu protection around np->opt ipv6: distinguish frag queues by device for multicast and link-local packets broadcom: fix PHY_ID_BCM5481 entry in the id table net: ip6mr: fix static mfc/dev leaks on table destruction net: ipmr: fix static mfc/dev leaks on table destruction net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds tcp: initialize tp->copied_seq in case of cross SYN connection tcp: fix potential huge kmalloc() calls in TCP_REPAIR tcp: md5: fix lockdep annotation net: qmi_wwan: add XS Stick W100-2 from 4G Systems snmp: Remove duplicate OUTMCAST stat increment ip_tunnel: disable preemption when updating per-cpu tstats sctp: translate host order to network order when setting a hmacid packet: fix tpacket_snd max frame len packet: infer protocol from ethernet header if unset packet: only allow extra vlan len on ethernet devices packet: tpacket_snd(): fix signed/unsigned comparison packet: always probe for transport header packet: do skb_probe_transport_header when we actually have data tools/net: Use include/uapi with __EXPORTED_HEADERS__ Revert "net: Fix skb_set_peeked use-after-free bug" ipv6: addrconf: validate new MTU before applying it KVM: x86: Use new is_noncanonical_address in _linearize KVM: x86: work around infinite loop in microcode when #AC is delivered ARM: orion: Fix DSA platform device after mvmdio conversion RDS: verify the underlying transport exists before creating a connection packet: race condition in packet_bind ipv4: disable BH when changing ip local port range ipv6: clean up dev_snmp6 proc entry when we fail to initialize inet6_dev sfc: push partner queue for skb->xmit_more sit: fix sit0 percpu double allocations mmc: Extend wakelock if bus is dead Revert "mmc: mmcblk: Add support for deferred SD bus resume" Revert "mmc: block: Remove call to mmc_blk_set_blksize" ipv6: gre: support SIT encapsulation qmi_wwan: add Sierra Wireless MC74xx/EM74xx virtio-net: drop NETIF_F_FRAGLIST net: fix a race in dst_release() net: avoid NULL deref in inet_ctl_sock_destroy() qmi_wwan: fix entry for HP lt4112 LTE/HSPA+ Gobi 4G Module ipmr: fix possible race resulting from improper usage of IP_INC_STATS_BH() in preemptible context. stmmac: Correctly report PTP capabilities. net/mlx4: Copy/set only sizeof struct mlx4_eqe bytes RDS-TCP: Recover correctly from pskb_pull()/pksb_trim() failure in rds_tcp_data_recv ppp: fix pppoe_dev deletion condition in pppoe_release() macvtap: unbreak receiving of gro skb with frag list irda: precedence bug in irlmp_seq_hb_idx() audit: create private file name copies when auditing inodes audit: correctly record file names with different path name types mptfusion: prevent some memory corruption mfd: wm5110: Add register patch for rev E and above [media] gscpa_m5602: use msecs_to_jiffies for conversions [media] v4l: vsp1: Fix VI6_WPF_SZCLIP_SIZE_MASK macro [media] v4l: vsp1: Fix VI6_DPR_ROUTE_FP_MASK macro [media] v4l: vsp1: Fix VI6_DPR_ROUTE_FXA_MASK macro [media] usbvision: fix locking error Input: zhenhua - ensure we have BITREVERSE Input: omap4-keypad - fix memory leak Input: serio - fix blocking of parport Input: psmouse - add small delay for IBM trackpoint pass-through mode HID: quirks: add QUIRK_NOGET for an other TPV touchscreen HID: apple: Add support for the 2015 Macbook Pro usb: musb: fix cppi channel teardown for isoch transfer usb: musb: cppi41: improve rx channel abort routine USB: symbolserial: Correct transferred data size usb: chipidea: debug: add runtime pm for register access s390/3270: redraw screen on unsolicited device end iommu/amd: Handle integer overflow in dma_ops_area_alloc client MUST ignore EncryptionKeyLength if CAP_EXTENDED_SECURITY is set USB: usbtmc: add device quirk for Rigol DS6104 sched: Fix cpu_active_mask/cpu_online_mask race PCI: Add VPD function 0 quirk for Intel Ethernet devices PCI: Add dev_flags bit to access VPD through function 0 PCI: Add flag for devices that don't reset on D3hot->D0 transition KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring KEYS: Fix race between key destruction and finding a keyring by name ext4: fix loss of delalloc extent info in ext4_zero_range() ext4: allocate entire range in zero range vhost/scsi: potential memory corruption serial: 8250_pci: Add support for 12 port Exar boards serial: 8250_pci: Add support for 16 port Exar boards md/raid5: fix locking in handle_stripe_clean_event() IB/cm: Fix rb-tree duplicate free and use-after-free mvsas: Fix NULL pointer dereference in mvs_slot_task_free Revert "md: allow a partially recovered device to be hot-added to an array." md/raid10: submit_bio_wait() returns 0 on success md/raid1: submit_bio_wait() returns 0 on success crypto: api - Only abort operations on fatal signal module: Fix locking in symbol_put_addr() xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing) xhci: Add spurious wakeup quirk for LynxPoint-LP controllers xhci: handle no ping response error properly dm btree: fix leak of bufio-backed block in btree_split_beneath error path dm btree remove: fix a bug when rebalancing nodes after removal Revert "ARM64: unwind: Fix PC calculation" rbd: require stable pages if message data CRCs are enabled iio: mxs-lradc: Fix temperature offset drm/radeon: don't try to recreate sysfs entries on resume ... Conflicts: Makefile android/configs/android-recommended.cfg arch/Kconfig arch/arm/mm/mmap.c arch/arm64/Kconfig arch/arm64/include/asm/kasan.h arch/arm64/include/asm/pgalloc.h arch/arm64/kernel/setup.c arch/arm64/lib/memcpy.S arch/arm64/lib/memmove.S arch/arm64/lib/memset.S arch/arm64/mm/kasan_init.c arch/arm64/mm/mmap.c arch/mips/mm/mmap.c arch/powerpc/mm/mmap.c arch/x86/mm/kasan_init_64.c arch/x86/mm/mmap.c drivers/bluetooth/ath3k.c drivers/bluetooth/btusb.c drivers/firmware/efi/libstub/Makefile drivers/hid/hid-logitech-hidpp.c drivers/hid/hid-magicmouse.c drivers/hid/hid-ntrig.c drivers/hid/hid-rmi.c drivers/hid/hid-sony.c drivers/mmc/card/Kconfig drivers/mmc/card/block.c drivers/mmc/card/queue.c drivers/mmc/card/queue.h drivers/mmc/core/core.c drivers/mmc/core/core.h drivers/net/wireless/Kconfig drivers/of/Kconfig drivers/of/Makefile drivers/scsi/sd.c drivers/staging/android/ion/ion_system_heap.c drivers/usb/dwc3/gadget.c drivers/usb/gadget/Kconfig drivers/usb/gadget/function/f_fs.c drivers/usb/gadget/function/f_mtp.c drivers/usb/gadget/function/u_ether.c drivers/usb/serial/option.c drivers/usb/serial/qcserial.c include/linux/compiler-gcc.h include/linux/kasan.h include/linux/vmalloc.h kernel/module.c kernel/sysctl.c lib/Kconfig.kasan lib/radix-tree.c lib/test_kasan.c mm/kasan/Makefile mm/kasan/kasan.c mm/kasan/kasan.h mm/kasan/kasan_init.c mm/kasan/report.c mm/mempool.c mm/page_alloc.c mm/slub.c scripts/Makefile.lib scripts/module-common.lds sound/core/compress_offload.c USB and MMC related changes were ignored completely as suggested by respective teams. Changes related to DM-VERITY were skipped in this upmerge as they will be pulled in by corresponding team on need basis. Change-Id: I3e94c43cf595440299c91562e1226b1e4c77abeb Signed-off-by: Imran Khan <kimran@codeaurora.org>
| * | Merge branch 'linux-linaro-lsk-v3.18' into linux-linaro-lsk-v3.18-androidAlex Shi2016-04-211-0/+7
| |\| | | | | | | | | | | | | Conflicts: keep -fno-pic flag in arch/arm64/Makefile
| | * efi: Make efivarfs entries immutable by defaultPeter Jones2016-04-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ Upstream commit ed8b0de5a33d2a2557dce7f9429dca8cb5bc5879 ] "rm -rf" is bricking some peoples' laptops because of variables being used to store non-reinitializable firmware driver data that's required to POST the hardware. These are 100% bugs, and they need to be fixed, but in the mean time it shouldn't be easy to *accidentally* brick machines. We have to have delete working, and picking which variables do and don't work for deletion is quite intractable, so instead make everything immutable by default (except for a whitelist), and make tools that aren't quite so broad-spectrum unset the immutable flag. Signed-off-by: Peter Jones <pjones@redhat.com> Tested-by: Lee, Chun-Yi <jlee@suse.com> Acked-by: Matthew Garrett <mjg59@coreos.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
| * | BACKPORT: mm: /proc/pid/smaps:: show proportional swap share of the mappingMinchan Kim2015-12-161-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to know per-process workingset size for smart memory management on userland and we use swap(ex, zram) heavily to maximize memory efficiency so workingset includes swap as well as RSS. On such system, if there are lots of shared anonymous pages, it's really hard to figure out exactly how many each process consumes memory(ie, rss + wap) if the system has lots of shared anonymous memory(e.g, android). This patch introduces SwapPss field on /proc/<pid>/smaps so we can get more exact workingset size per process. Bongkyu tested it. Result is below. 1. 50M used swap SwapTotal: 461976 kB SwapFree: 411192 kB $ adb shell cat /proc/*/smaps | grep "SwapPss:" | awk '{sum += $2} END {print sum}'; 48236 $ adb shell cat /proc/*/smaps | grep "Swap:" | awk '{sum += $2} END {print sum}'; 141184 2. 240M used swap SwapTotal: 461976 kB SwapFree: 216808 kB $ adb shell cat /proc/*/smaps | grep "SwapPss:" | awk '{sum += $2} END {print sum}'; 230315 $ adb shell cat /proc/*/smaps | grep "Swap:" | awk '{sum += $2} END {print sum}'; 1387744 [akpm@linux-foundation.org: simplify kunmap_atomic() call] Signed-off-by: Minchan Kim <minchan@kernel.org> Reported-by: Bongkyu Kim <bongkyu.kim@lge.com> Tested-by: Bongkyu Kim <bongkyu.kim@lge.com> Cc: Hugh Dickins <hughd@google.com> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Jerome Marchand <jmarchan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Bug: 26190646 Change-Id: Idf92d682fdef432bdd66e530a7e7cdff8f375db1 Signed-off-by: Thierry Strudel <tstrudel@google.com>
* | | Merge tag 'lsk-v3.18-15.12-android' into 'msm-3.18'Kaushal Kumar2016-02-111-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSK Android 15.12 v3.18 * origin/tmp-3169cab: arm: enable ARCH_MMAP_RND_BITS only for MMU platforms Revert "mmc: block: Remove call to mmc_blk_set_blksize" UPSTREAM: zram: fix possible use after free in zcomp_create() UPSTREAM: zsmalloc: fix a null pointer dereference in destroy_handle_cache() UPSTREAM: zram: clear disk io accounting when reset zram device UPSTREAM: zram: fix error return code UPSTREAM: zsmalloc: remove extra cond_resched() in __zs_compact UPSTREAM: zsmalloc: fix fatal corruption due to wrong size class selection UPSTREAM: zsmalloc: remove unnecessary insertion/removal of zspage in compaction UPSTREAM: zsmalloc: micro-optimize zs_object_copy() UPSTREAM: zsmalloc: remove synchronize_rcu from zs_compact() UPSTREAM: zram: deprecate zram attrs sysfs nodes UPSTREAM: zram: export new 'mm_stat' sysfs attrs UPSTREAM: zram: export new 'io_stat' sysfs attrs UPSTREAM: zram: describe device attrs in documentation UPSTREAM: zram: remove `num_migrated' device attr UPSTREAM: mm/zsmalloc.c: fix comment for get_pages_per_zspage UPSTREAM: zsmalloc: zsmalloc documentation UPSTREAM: zsmalloc: add fullness into stat UPSTREAM: zsmalloc: record handle in page->private for huge object UPSTREAM: zram: support compaction UPSTREAM: zsmalloc: adjust ZS_ALMOST_FULL UPSTREAM: zsmalloc: support compaction UPSTREAM: zsmalloc: factor out obj_[malloc|free] UPSTREAM: zsmalloc: decouple handle and object UPSTREAM: zram: use proper type to update max_used_pages UPSTREAM: mm/zsmalloc: add statistics support UPSTREAM: mm/zpool: add name argument to create zpool UPSTREAM: zram: remove request_queue from struct zram UPSTREAM: zram: remove init_lock in zram_make_request UPSTREAM: zram: check bd_openers instead of bd_holders UPSTREAM: zram: rework reset and destroy path UPSTREAM: zram: fix umount-reset_store-mount race condition UPSTREAM: zram: free meta table in zram_meta_free UPSTREAM: zram: clean up zram_meta_alloc() UPSTREAM: mm/zsmalloc: adjust order of functions UPSTREAM: zram: use DEVICE_ATTR_[RW|RO|WO] to define zram sys device attribute UPSTREAM: mm/zsmalloc: allocate exactly size of struct zs_pool UPSTREAM: mm/zsmalloc: avoid duplicate assignment of prev_class UPSTREAM: mm/zram: correct ZRAM_ZERO flag bit position UPSTREAM: mm/zsmalloc: support allocating obj with size of ZS_MAX_ALLOC_SIZE UPSTREAM: zsmalloc: correct fragile [kmap|kunmap]_atomic use UPSTREAM: zsmalloc: fix zs_init cpu notifier error handling UPSTREAM: zram: implement rw_page operation of zram UPSTREAM: zram: change parameter from vaild_io_request() UPSTREAM: zram: remove bio parameter from zram_bvec_rw() UPSTREAM: zsmalloc: merge size_class to reduce fragmentation arm64: kernel: Add support for Privileged Access Never arm64: Generalise msr_s/mrs_s operations arm64: kernel: Add cpufeature 'enable' callback arm64: kernel: Add cpuid_feature_extract_field() for 4bit sign extension arm64: kernel: Add min_field_value and use '>=' for feature detection arm64: kernel: Add optional CONFIG_ parameter to ALTERNATIVE() arm64: alternative: Provide if/else/endif assembler macros arm64: alternative: Work around .inst assembler bugs arm64: alternative: Merge alternative-asm.h into alternative.h arm64: Add AArch32 instruction set condition code checks arm64: lib: use pair accessors for copy_*_user routines arm64/uaccess: fix sparse errors arm64: kernel: Move config_sctlr_el1 arm64: Emulate SETEND for AArch32 tasks arm64: kconfig: move emulation option under kernel features arm64: Consolidate hotplug notifier for instruction emulation arm64: fix return code check when changing emulation handler arm64: Trace emulation of AArch32 legacy instructions arm64: Emulate CP15 Barrier instructions arm64: Port SWP/SWPB emulation support from arm arm64: Add support for hooks to handle undefined instructions arm64: Add framework for legacy instruction emulation arm64: alternative: Introduce feature for GICv3 CPU interface arm64: Extract feature parsing code from cpu_errata.c arm64: alternatives: fix pr_fmt string for consistency arm64: Track system support for mixed endian EL0 arm64: Provide a namespace to NCAPS tracing/sched: Add trace events to track cpu hotplug. trace: cpufreq: Add tracing for min/max cpufreq sched: add sched blocked tracepoint which dumps out context of sleep. ANDROID: android: base-cfg: disable CONFIG_SYSVIPC ANDROID: exec_domains: Disable request_module() call for personalities UPSTREAM: pagemap: do not leak physical addresses to non-privileged userspace configs/vexpress64: add SATA_SIL24 and SKY2 configure for Juno PCIe ARM: imx6sx: add imx6sx iomux-gpr field define ARM: imx6: correct i.MX6 PCIe interrupt routing ARM: imx6: allow booting with old DT ARM: imx6: Warn when an old DT is detected ARM: imx6: Allow GPC interrupts affinity to be changed ARM: imx6: convert GPC to stacked domains ARM: imx6: gpc: Add PU power domain for GPU/VPU ARM i.MX6q: unmap memory mapped at imx6q_opp_check_speed_grading() ARM: imx: support arm power off in cpuidle for i.mx6sx ARM: imx6: fix bogus use of irq_get_irq_data ARM: imx: irq: fix buggy usage of irq_data irq field ARM: imx: add enet init for i.mx6sx ARM: dts: imx6: phyFLEX: Add CAN support ARM: dts: imx6: phyFLEX: Add PCIe ARM: dts: imx6: phyFLEX: Set correct interrupt for pmic ARM: dts: imx6: phyFLEX: Enable gpmi in module file ARM: dts: imx6: phyFLEX: set nodes in alphabetical order ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02 ARM: imx: Remove unneeded .map_io initialization ARM: dts: imx6qdl-sabresd: Fix the microphone route ARM: imx: refactor mxc_iomux_mode() ARM: imx: simplify clk_pllv3_prepare() ARM: imx: clean up machine mxc_arch_reset_init_dt reset init ARM: dts: imx6qdl-rex: Remove unneeded 'fsl,mode' property ARM: dts: imx6qdl-gw5x: Remove unneeded 'fsl,mode' property ARM: dts: imx6qdl-sabresd: Use IMX6QDL_CLK_CKO define PCI: Assign resources before drivers claim devices (pci_scan_root_bus()) PCI: Assign resources before drivers claim devices (pci_scan_bus()) wakeup: Add the guard condition for len in pm_get_active_wakeup_sources irqchip/gic-v3-its: Silence warning when its_lpi_alloc_chunks gets inlined irqchip/gic-v3-its: Add missing cache flushes arm64: defconfig: Enable PCI generic host bridge by default arm64: Juno: Add support for the PCIe host bridge on Juno R1 Documentation: of: Document the bindings used by Juno R1 PCIe host bridge Documentation: bindings: Add DT bindings for ARM Juno boards. arm64: Add DT support for Juno r1 board. arm64: Juno: Add GICv2m support in device tree. arm64: Juno: Add memory mapped timer node arm64: Juno: Split juno.dts into juno-base.dtsi and juno.dts. arm64: Juno: Fix the GIC node address label and the frequency of FAXI clock. arm64: dts: add interrupt-affinity property to pmu node for juno arm64: juno: Fix misleading name of UART reference clock arm64: Add L2 cache topology to ARM Ltd boards/models arm64: ARM: Fix the Generic Timers interrupt active level description arm64: Add Juno board device tree. arm64: Create link to include/dt-bindings to enable C preprocessor use. dts, arm64: Move dts files to vendor subdirs PCI/MSI: Drop domain field from msi_controller irqchip/GICv2m: Get rid of struct msi_controller irqchip/gicv3-its: Make the PCI/MSI code standalone irqchip/gicv3-its: Get rid of struct msi_controller irqchip/gicv3-its: Register irq domain with NEXUS token irqchip/gicv3-its: Split PCI/MSI code from the core ITS driver genirq: Add DOMAIN_BUS_NEXUS irqdomain property of/platform: Assign MSI domain to platform device PCI: exynos: Fix INTx enablement statement termination error PCI: Fail pci_ioremap_bar() on unassigned resources PCI: Show driver, BAR#, and resource on pci_ioremap_bar() failure PCI: Mark invalid BARs as unassigned PNP: Don't check for overlaps with unassigned PCI BARs of: Calculate device DMA masks based on DT dma-range size PCI: Update DMA configuration from DT of/pci: Add of_pci_dma_configure() to update DMA configuration PCI: Add helper functions pci_get[put]_host_bridge_device() of: Fix size when dma-range is not used MFD/OF: document MFD devices and handle simple-mfd of: Move of_dma_configure() to device.c to help re-use of: iommu: Add ptr to OF node arg to of_iommu_configure() of/platform: teardown DMA mappings on device destruction dma-mapping: fix debug print to display correct dma_pfn_offset dma-mapping: detect and configure IOMMU in of_dma_configure dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops iommu: add new iommu_ops callback for adding an OF device iommu: store DT-probed IOMMU data privately iommu: provide helper function to configure an IOMMU for an of master iommu: provide early initialisation hook for IOMMU drivers irqchip/gicv3-its: Fix mapping of LPIs to collections irqchip/gicv3-its: ITS table size should not be smaller than PSZ irqchip: gicv3-its: Use non-cacheable accesses when no shareability irqchip: gicv3-its: Fix PROP/PEND and BASE/CBASE confusion irqchip: gicv3-its: Fix device ID encoding irqchip: gicv3-its: Fix encoding of collection's target redistributor irqchip: gicv3-its: Support safe initialization irqchip: gicv3-its: Define macros for GITS_CTLR fields irqchip: gicv3-its: Add limitation to page order irqchip: gicv3-its: Use 64KB page as default granule irqchip: gicv3-its: Zero itt before handling to hardware irqchip: gic-v3: Fix out of bounds access to cpu_logical_map irqchip: gic: Fix unsafe locking reported by lockdep irqchip: gic: Allow interrupt level to be set for PPIs irqchip: gicv3-its: Fix unsafe locking reported by lockdep irqchip: gicv3-its: Iterate over PCI aliases to generate ITS configuration irqchip: gicv3-its: Allocate enough memory for the full range of DeviceID irqchip: gicv3-its: Fix ITS CPU init irqchip: gic: Remove warning by including linux/irqdomain.h irqchip: gic-v2m: Add DT bindings for GICv2m irqchip: gic-v2m: Add support for ARM GICv2m MSI(-X) doorbell irqchip: mtk-sysirq: dt-bindings: Add bindings for mediatek sysirq irqchip: mtk-sysirq: Add sysirq interrupt polarity support irqchip: gic: Support hierarchy irq domain. genirq: Generic chip: Add big endian I/O accessors ARM: orion: convert the irq_reg_{readl,writel} calls to the new API genirq: Generic chip: Allow irqchip drivers to override irq_reg_{readl,writel} genirq: Generic chip: Change irq_reg_{readl,writel} arguments CHROMIUM: android: Unconditionally remove callbacks in sync_fence_free() CHROMIUM: android: fix warning when releasing active sync point PCI/MSI: pci-xgene-msi: Get rid of struct msi_controller PCI: xgene: Add APM X-Gene v1 PCIe MSI/MSIX termination driver PCI: generic: Add arm64 support PCI: Build setup-irq.o for arm64 PCI: generic: Remove dependency on ARM-specific struct hw_pci PCI: generic: Convert to use generic config accessors PCI: Add generic config accessors PCI: generic: Convert to DT resource parsing API PCI: generic: Allocate config space windows after limiting bus number range pci: host: drop owner assignment from platform_drivers PCI/MSI: Let pci_msi_get_domain use struct device::msi_domain PCI/MSI: Allow msi_domain lookup using the host bridge node PCI/MSI: Add support for OF-provided msi_domain PCI: Add pci_device_to_OF_node() stub for !CONFIG_OF PCI/MSI: Add hooks to populate the msi_domain field PCI/MSI: Register irq domain with specific token device core: Introduce per-device MSI domain pointer genirq/irqdomain: Allow irq domain aliasing PCI: Use helper functions to access fields in struct msi_desc PCI: Add helper function msi_desc_to_pci_sysdata() genirq: Rename irq_data_get_msi() as irq_data_get_msi_desc() PCI/keystone: Use irq_data_get_msi_desc() to avoid redundant lookup of irq_data PCI/MSI: Disable MSI at enumeration even if kernel doesn't support MSI PCI/MSI: Export pci_msi_set_enable(), pci_msix_clear_and_set_ctrl() PCI/MSI: Rename msi_set_enable(), msix_clear_and_set_ctrl() genirq: Work around __irq_set_handler vs stacked domains ordering issues PCI/MSI: Rename mask/unmask_msi_irq treewide PCI/MSI: Kill redundant call of irq_set_msi_desc() for MSI-X interrupts PCI/MSI: Simplify PCI MSI code by initializing msi_desc.nvec_used earlier PCI/MSI: Remove unnecessary braces around single statements ARM/PCI: Remove unused pcibios_add_bus() and pcibios_remove_bus() PCI: xilinx: Save MSI controller in pci_sys_data PCI: mvebu: Save MSI controller in pci_sys_data PCI: rcar: Save MSI controller in pci_sys_data PCI: designware: Save MSI controller in pci_sys_data PCI: tegra: Save MSI controller in pci_sys_data ARM/PCI: Save MSI controller in pci_sys_data PCI/MSI: Add weak pcibios_msi_controller() mm: reorder can_do_mlock to fix audit denial staging: ion: debugfs to shrink pool usb: gadget: configfs: handle gadget reset request for android Enable adb with android-pipe in IA image PM / OPP: Fix typo modifcation -> modification PM / OPP: of_property_count_u32_elems() can return errors cpufreq-dt: add suspend frequency support PM / OPP: add dev_pm_opp_get_suspend_opp() helper cpufreq: dt: Tolerance applies on both sides of target voltage cpufreq: dt: Print error on failing to mark OPPs as shared cpufreq: dt: Check OPP count before marking them shared PM / OPP: Drop unlikely before IS_ERR(_OR_NULL) PM / OPP: Fix static checker warning (broken 64bit big endian systems) PM / OPP: Free resources and properly return error on failure cpufreq-dt: make scaling_boost_freqs sysfs attr available when boost is enabled cpufreq: dt: Add support for turbo/boost mode cpufreq: dt: Add support for operating-points-v2 bindings cpufreq: Allow drivers to enable boost support after registering driver Linux 3.18.24 tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c Revert "tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c" selinux: Android kernel compatibility with M userspace selinux: extended permissions for ioctls security: add ioctl specific auditing to lsm_audit selinux: remove unnecessary pointer reassignment Revert "security: lsm_audit: add ioctl specific auditing" Revert "SELinux: per-command whitelisting of ioctls" Revert "SELinux: use deletion-safe iterator to free list" Revert "SELinux: ss: Fix policy write for ioctl operations" Linux 3.18.23 x86: Init per-cpu shadow copy of CR4 on 32-bit CPUs too arm: mm: support ARCH_MMAP_RND_BITS. mm: mmap: Add new /proc tunable for mmap_base ASLR. 3w-9xxx: don't unmap bounce buffered commands fib_rules: Fix dump_rules() not to exit early Don't kill IPv4 sockets when killing IPv6 sockets was requested. PM / OPP: add dev_pm_opp_is_turbo() helper PM / OPP: Add helpers for initializing CPU OPPs PM / OPP: Add support for opp-suspend PM / OPP: Add OPP sharing information to OPP library PM / OPP: Add clock-latency-ns support PM / OPP: Add support to parse "operating-points-v2" bindings PM / OPP: Break _opp_add_dynamic() into smaller functions PM / OPP: Allocate dev_opp from _add_device_opp() PM / OPP: Create _remove_device_opp() for freeing dev_opp PM / OPP: Relocate few routines PM / OPP: Create a directory for opp bindings cpufreq: Update boost flag while initializing freq table from OPPs cpufreq: dt: allow driver to boot automatically PM / OPP / clk: Remove unnecessary OOM message cpufreq-dt: Drop unnecessary check before cpufreq_cooling_unregister() invocation PM / OPP: Assert RCU lock in exported functions PM / OPP: Update kernel documentation PM / OPP: Ensure consistent naming of static functions PM / OPP: export dev_pm_opp_get_notifier cpufreq-dt: defer probing if OPP table is not ready PM / OPP: take RCU lock in dev_pm_opp_get_opp_count PM / OPP: fix warning in of_free_opp_table() PM / OPP: add some lockdep annotations PM / OPP: do error handling at the bottom of dev_pm_opp_add_dynamic() PM / OPP: handle allocation of device_opp in a separate routine PM / OPP: reuse find_device_opp() instead of duplicating code PM / OPP: Staticize __dev_pm_opp_remove() PM / OPP: replace kfree with kfree_rcu while freeing 'struct device_opp' PM / OPP: remove double calls to find_device_opp() PM / OPP: set new_opp->dev_opp to a valid dev_opp cpufreq-dt: free OPP table created during ->init() PM / OPP replace kfree_rcu() with call_srcu() in opp_set_availability() PM / OPP Introduce APIs to remove OPPs PM / OPP rename 'head' as 'rcu_head' or 'srcu_head' based on its type PM / OPP mark OPPs as 'static' or 'dynamic' PM / OPP don't match for existing OPPs when list is empty cpufreq-dt: register cooling device from ->ready() callback cpufreq: Introduce ->ready() callback for cpufreq drivers cpufreq-dt: pass 'policy->related_cpus' to of_cpufreq_cooling_register() cpufreq: Fix formatting issues in 'struct cpufreq_driver' cpufreq: cpufreq-dt: Move newline to end of error message cpufreq: cpufreq-dt: Handle regulator_get_voltage() failure cpufreq: cpufreq-dt: Improve debug about matching OPP cpufreq: drop owner assignment from platform_drivers vfs: Test for and handle paths that are unreachable from their mnt_root md: flush ->event_work before stopping array. x86/nmi/64: Fix a paravirt stack-clobbering bug in the NMI code Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required" net: Fix skb_set_peeked use-after-free bug mm: check if section present during memory block registering hpfs: update ctime and mtime on directory modification drivercore: Fix unregistration path of platform devices ARM: OMAP2+: DRA7: clockdomain: change l4per2_7xx_clkdm to SW_WKUP of/address: Don't loop forever in of_find_matching_node_by_address(). auxdisplay: ks0108: fix refcount Doc: ABI: testing: configfs-usb-gadget-sourcesink Doc: ABI: testing: configfs-usb-gadget-loopback devres: fix devres_get() xtensa: fix kernel register spilling xtensa: fix threadptr reload on return to userspace KVM: MMU: fix validation of mmio page fault HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error crypto: ghash-clmulni: specify context size for ghash async algorithm serial: 8250: don't bind to SMSC IrCC IR port usb: host: ehci-sys: delete useless bus_to_hcd conversion usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytes USB: ftdi_sio: Added custom PID for CustomWare products USB: symbolserial: Use usb_get_serial_port_data PCI: Fix TI816X class code quirk clk: versatile: off by one in clk_sp810_timerclken_of_get() staging: comedi: adl_pci7x3x: fix digital output on PCI-7230 iio: adis16480: Fix scale factors iio: Add inverse unit conversion macros iio: industrialio-buffer: Fix iio_buffer_poll return value iio: event: Remove negative error code from iio_event_poll iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required s390/sclp: fix compile error drm/qxl: validate monitors config modes drm/amdgpu: Don't link train DisplayPort on HPD until we get the dpcd mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1) intel_pstate: Fix overflow in busy_scaled due to long delay tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c staging: speakup: fix speakup-r regression dm cache: fix NULL pointer when switching from cleaner policy clk: ti: fix dual-registration of uart4_ick nfs/filelayout: Fix NULL reference caused by double freeing of fh_array fix a braino in ovl_d_select_inode() overlayfs: Make f_path always point to the overlay and f_inode to the underlay VFS: Introduce inode-getting helpers for layered/unioned fs environments overlay: Call ovl_drop_write() earlier in ovl_dentry_open() genirq: Fix race in register_irq_proc() igb: do not re-init SR-IOV during probe net/xen-netfront: only napi_synchronize() if running m68k: Define asmlinkage_protect arm64: readahead: fault retry breaks mmap file read random detection arm64: ftrace: fix function_graph tracer panic dcache: Handle escaped paths in prepend_path UBI: return ENOSPC if no enough space available UBI: Validate data_size powerpc/MSI: Fix race condition in tearing down MSI interrupts tools lib traceevent: Fix string handling in heterogeneous arch environments batman-adv: Fix potentially broken skb network header access batman-adv: Make TT capability changes atomic batman-adv: Make NC capability changes atomic MIPS: dma-default: Fix 32-bit fall back to GFP_DMA cpufreq: dt: Tolerance applies on both sides of target voltage USB: Add reset-resume quirk for two Plantronics usb headphones. usb: Add device quirk for Logitech PTZ cameras usb: musb: cppi41: allow it to work again usb: Use the USB_SS_MULT() macro to get the burst multiplier. usb: chipidea: udc: using the correct stall implementation security: fix typo in security_task_prctl regmap: debugfs: Don't bother actually printing when calculating max length regmap: debugfs: Ensure we don't underflow when printing access masks PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS mtd: pxa3xx_nand: add a default chunk size docs: update HOWTO for 3.x -> 4.x versioning cifs: use server timestamp for ntlmv2 authentication dts: imx25: fix sd card gpio polarity specified in device tree dts: imx53: fix sd card gpio polarity specified in device tree dts: imx51: fix sd card gpio polarity specified in device tree batman-adv: Make DAT capability changes atomic batman-adv: protect tt_local_entry from concurrent delete events fbdev: select versatile helpers for the integrator ipvs: fix crash with sync protocol v0 and FTP ipvs: skb_orphan in case of forwarding ipvs: fix crash if scheduler is changed ipvs: do not use random local source address for tunnels sched/fair: Prevent throttling in early pick_next_task_fair() Initialize msg/shm IPC objects before doing ipc_addid() usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers xhci: init command timeout timer earlier to avoid deleting it uninitialized xhci: change xhci 1.0 only restrictions to support xhci 1.1 usb: xhci: exit early in xhci_setup_device() if we're halted or dying usb: xhci: Clear XHCI_STATE_DYING on start USB: whiteheat: fix potential null-deref at probe drm/amdgpu: Restore LCD backlight level on resume drm: Reject DRI1 hw lock ioctl functions for kms drivers drm/i915/bios: handle MIPI Sequence Block v3+ gracefully drm/qxl: recreate the primary surface when the bo is not primary drm/qxl: only report first monitor as connected if we have no state [SMB3] Do not fall back to SMBWriteX in set_file_size error cases disabling oplocks/leases via module parm enable_oplocks broken for SMB3 nfs: fix pg_test page count calculation netfilter: nf_log: don't zap all loggers on unregister netfilter: nf_log: Introduce nft_log_dereference() macro netfilter: nft_compat: skip family comparison in case of NFPROTO_UNSPEC netfilter: nf_log: wait for rcu grace after logger unregistration netfilter: ctnetlink: put back references to master ct and expect objects netfilter: nf_conntrack: Support expectations in different zones netfilter: nfnetlink: work around wrong endianess in res_id field dm raid: fix round up of default region size USB: option: add ZTE PIDs staging: ion: fix corruption of ion_import_dma_buf dm btree: add ref counting ops for the leaves of top level btrees svcrdma: Fix send_reply() scatter/gather set-up ath10k: fix dma_mapping_error() handling Btrfs: update fix for read corruption of compressed and shared extents Btrfs: fix read corruption of compressed and shared extents btrfs: skip waiting on ordered range for special files ASoC: dwc: correct irq clear method ASoC: fix broken pxa SoC support ASoC: pxa: pxa2xx-ac97: fix dma requestor lines ALSA: hda - Apply SPDIF pin ctl to MacBookPro 12,1 ALSA: hda: Add dock support for ThinkPad T550 ALSA: synth: Fix conflicting OSS device registration on AWE32 mm: hugetlbfs: skip shared VMAs when unmapping private pages to satisfy a fault ocfs2/dlm: fix deadlock when dispatch assert master spi: spi-pxa2xx: Check status register to determine if SSSR_TINT is disabled spi: xtensa-xtfpga: fix register endianness spi: Fix documentation of spi_alloc_master() s390/boot/decompression: disable floating point in decompressor s390/compat: correct uc_sigmask of the compat signal frame sched/core: Fix TASK_DEAD race in finish_task_switch() x86/xen: Support kexec/kdump in HVM guests by doing a soft reset x86/mm: Set NX on gap between __ex_table and rodata x86/process: Add proper bound checks in 64bit get_wchan() x86/asm/entry: Create and use a 'TOP_OF_KERNEL_STACK_PADDING' macro x86/kexec: Fix kexec crash in syscall kexec_file_load() x86/efi: Fix boot crash by mapping EFI memmap entries bottom-up at runtime, instead of top-down Use WARN_ON_ONCE for missing X86_FEATURE_NRIPS x86/paravirt: Replace the paravirt nop with a bona fide empty function x86/platform: Fix Geode LX timekeeping in the generic x86 build x86/apic: Serialize LVTT and TSC_DEADLINE writes dmaengine: dw: properly read DWC_PARAMS register ARM: dts: fix usb pin control for imx-rex dts ARM: dts: omap3-beagle: make i2c3, ddc and tfp410 gpio work again ARM: dts: omap5-uevm.dts: fix i2c5 pinctrl offsets windfarm: decrement client count when unregistering ARM: 8429/1: disable GCC SRA optimization ARM: fix Thumb2 signal handling when ARMv6 is enabled hwmon: (nct6775) Swap STEP_UP_TIME and STEP_DOWN_TIME registers for most chips sched: access local runqueue directly in single_task_running watchdog: sunxi: fix activation of system reset perf header: Fixup reading of HEADER_NRCPUS feature perf stat: Get correct cpu id for print_aggr perf report: Add support for srcfile sort key perf tools: Fix copying of /proc/kcore iser-target: remove command with state ISTATE_REMOVE scsi: fix scsi_error_handler vs. scsi_host_dev_release race target/iscsi: Fix np_ip bracket issue by removing np_ip time: Fix timekeeping_freqadjust()'s incorrect use of abs() instead of abs64() kvm: fix double free for fast mmio eventfd kvm: factor out core eventfd assign/deassign logic kvm: fix zero length mmio searching kvm: don't try to register to KVM_FAST_MMIO_BUS for non mmio eventfd arm: KVM: Fix incorrect device to IPA mapping hp-wmi: limit hotkey enable zram: fix possible use after free in zcomp_create() of_mdio: add new DT property 'managed' to specify the PHY management type net: dsa: bcm_sf2: Do not override speed settings tcp: add proper TS val into RST packets net: dsa: bcm_sf2: Fix 64-bits register writes net: eth: altera: fix napi poll_list corruption ext4: don't manipulate recovery flag when freezing no-journal fs cxl: Fix unbalanced pci_dev_get in cxl_probe igb: Fix oops caused by missing queue pairing rtlwifi: rtl8821ae: Fix an expression that is always false x86/nmi/64: Use DF to avoid userspace RSP confusing nested NMI detection x86/nmi/64: Reorder nested NMI checks x86/nmi/64: Improve nested NMI comments bna: fix interrupts storm caused by erroneous packets udp: fix dst races with multicast early demux packet: missing dev_put() in packet_do_bind() fib_rules: fix fib rule dumps across multiple skbs openvswitch: Zero flows on allocation. sctp: fix race on protocol/netns initialization netlink, mmap: transform mmap skb into full skb on taps net/ipv6: Correct PIM6 mrt_lock handling ipv6: fix exthdrs offload registration in out_rt path usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared ip6_gre: release cached dst on tunnel removal rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver if_link: Add an additional parameter to ifla_vf_info for RSS querying uid_cputime: Check for the range while removing range of UIDs. linaro-base.conf: remove CONFIG_NFS_V2 is not set usb: gadget: Remove circular dependency on Config android: drivers: workaround debugfs race in binder staging: ion: Add X86 dependency for ION_POOL_CACHE_POLICY staging: ion: fix corruption of ion_import_dma_buf Revert "staging: binder: Change binder mutex to rtmutex." UPSTREAM: arm64: add better page protections to arm64 UPSTREAM: arm64: use fixmap for text patching UPSTREAM: arm64: remove the unnecessary arm64_swiotlb_init() UPSTREAM: arm64/efi: remove idmap manipulations from UEFI code UPSTREAM: arm64/efi: add missing call to early_ioremap_reset() UPSTREAM: arm64/efi: remove free_boot_services() and friends UPSTREAM: arm64/efi: move SetVirtualAddressMap() to UEFI stub UPSTREAM: arm64/efi: set EFI_ALLOC_ALIGN to 64 KB UPSTREAM: efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE UPSTREAM: efi: split off remapping code from efi_config_init() UPSTREAM: arm64/mm: add create_pgd_mapping() to create private page tables UPSTREAM: arm64/mm: add explicit struct_mm argument to __create_mapping() UPSTREAM: efi: efi-stub: notify on DTB absence UPSTREAM: arm64: dmi: set DMI string as dump stack arch description UPSTREAM: arm64: dmi: Add SMBIOS/DMI support UPSTREAM: dmi: add support for SMBIOS 3.0 64-bit entry point UPSTREAM: efi: dmi: add support for SMBIOS 3.0 UEFI configuration table UPSTREAM: arm64/efi: drop redundant set_bit(EFI_CONFIG_TABLES) UPSTREAM: arm64/efi: invert UEFI memory region reservation logic UPSTREAM: arm64/efi: set PE/COFF file alignment to 512 bytes UPSTREAM: arm64/efi: set PE/COFF section alignment to 4 KB UPSTREAM: arm64/efi: efistub: jump to 'stext' directly, not through the header UPSTREAM: arm64: Move some head.text functions to executable section UPSTREAM: arm64: jump labels: NOP out NOP -> NOP replacement UPSTREAM: arm64: add support to dump the kernel page tables UPSTREAM: arm64: Add FIX_HOLE to permanent fixed addresses UPSTREAM: arm64: Factor out fixmap initialization from ioremap UPSTREAM: arm64: Move cpu_resume into the text section UPSTREAM: arm64: Switch to adrp for loading the stub vectors UPSTREAM: arm64: Treat handle_arch_irq as a function pointer hfs,hfsplus: cache pages correctly between bnode_create and bnode_free IB/mlx4: Use correct SL on AH query under RoCE IB/mlx4: Forbid using sysfs to change RoCE pkeys IB/uverbs: Fix race between ib_uverbs_open and remove_one IB/uverbs: reject invalid or unknown opcodes IB/qib: Change lkey table allocation to support more MRs hfs: fix B-tree corruption after insertion at position 0 md/raid10: always set reshape_safe when initializing reshape_position. mmc: core: fix race condition in mmc_wait_data_done fs: if a coredump already exists, unlink and recreate with O_EXCL vmscan: fix increasing nr_isolated incurred by putback unevictable pages parisc: Filter out spurious interrupts in PA-RISC irq handler parisc: Use double word condition in 64bit CAS operation NFS: nfs_set_pgio_error sometimes misses errors NFS: Fix a NULL pointer dereference of migration recovery ops for v4.2 client NFSv4: don't set SETATTR for O_RDONLY|O_EXCL Btrfs: check if previous transaction aborted to avoid fs corruption [media] v4l: omap3isp: Fix sub-device power management code [media] rc-core: fix remove uevent generation x86/mm: Initialize pmd_idx in page_table_range_init_count() Add radeon suspend/resume quirk for HP Compaq dc5750. CIFS: fix type confusion in copy offload ioctl powerpc/mm: Recompute hash value after a failed update powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437 ALSA: hda - Enable headphone jack detect on old Fujitsu laptops Input: evdev - do not report errors form flush() arm64: KVM: Disable virtual timer even if the guest is not using it arm64: errata: add module build workaround for erratum #843419 arm64: head.S: initialise mdcr_el2 in el2_setup arm64: compat: fix vfp save/restore across signal handlers in big-endian arm64: kconfig: Move LIST_POISON to a safe value mac80211: enable assoc check for mesh interfaces tg3: Fix temperature reporting unshare: Unsharing a thread does not require unsharing a vm blk-mq: fix buffer overflow when reading sysfs file of 'pending' Squashfs: Add LZ4 compression configuration option Squashfs: add LZ4 compression support lz4: fix system halt at boot kernel on x86_64 lib/lz4: Pull out constant tables LZ4 : fix the data abort issue arm64: pass return address to dma_common_contiguous_remap Initialize msg/shm IPC objects before doing ipc_addid() Linux 3.18.22 lowmemorykiller: trace kill events. selinux: do not check open perm on ftruncate call Revert "HACK: usb: gadget: Fix enumeration on boot" ipv6: sysctl to restrict candidate source addresses ipv6: Remove unused arguments for __ipv6_dev_get_saddr(). ipv6: Fix finding best source address in ipv6_dev_get_saddr(). ipv6: Do not iterate over all interfaces when finding source address on specific interface. net: ipv6: allow explicitly choosing optimistic addresses net: ipv6: Add a sysctl to make optimistic addresses useful candidates Revert "net: ipv6: Add a sysctl to make optimistic addresses useful candidates" Revert "net: ipv6: allow choosing optimistic addresses with use_optimistic" net: ping: Return EAFNOSUPPORT when appropriate. net: core: fix UID-based routing build android: configs: base: enable IPV6 Handle 'sk' being NULL in UID-based routing. net: call rcu_read_lock early in process_backlog lpfc: Fix scsi prep dma buf error. rds: fix an integer overflow test in rds_info_getsockopt() net/mlx4_core: Fix wrong index in propagating port change event to VFs netlink: don't hold mutex in rcu callback when releasing mmapd ring inet: frags: fix defragmented packet's IP header for af_packet bonding: correct the MAC address for "follow" fail_over_mac policy bonding: fix destruction of bond with devices different from arphrd_ether ipv6: lock socket in ip6_datagram_connect() isdn/gigaset: reset tty->receive_room when attaching ser_gigaset bridge: mdb: fix double add notification net: Fix skb csum races when peeking net: do not process device backlog during unregistration net: pktgen: fix race between pktgen_thread_worker() and kthread_stop() bridge: mdb: zero out the local br_ip variable before use net/tipc: initialize security state for new connection socket ip_tunnel: fix ipv4 pmtu check to honor inner ip header df net: graceful exit from netif_alloc_netdev_queues() ipv6: Make MLD packets to only be processed locally drm/radeon: fix hotplug race at startup mfd: lpc_ich: Assign subdevice ids automatically x86/ldt: Correct LDT access in single stepping logic x86/ldt: Make modify_ldt synchronous rcu: Move lockless_dereference() out of rcupdate.h x86/nmi/64: Switch stacks on userspace NMI entry x86/nmi/64: Remove asm code that saves CR2 x86/nmi: Enable nested do_nmi() handling for 64-bit kernels HID: usbhid: add Chicony/Pixart usb optical mouse that needs QUIRK_ALWAYS_POLL SCSI: Fix NULL pointer dereference in runtime PM UPSTREAM: ARM: 8425/1: kgdb: Don't try to stop the machine when setting breakpoints UPSTREAM: ARM: mm: allow text and rodata sections to be read-only BACKPORT: ARM: mm: allow non-text sections to be non-executable UPSTREAM: arm: kgdb: Handle read-only text / modules UPSTREAM: ARM: kexec: Make .text R/W in machine_kexec UPSTREAM: arm: use fixmap for text patching when text is RO UPSTREAM: arm: fixmap: implement __set_fixmap() UPSTREAM: ARM: expand fixmap region to 3MB UPSTREAM: arm: use generic fixmap.h of/platform: Move platform devices under /sys/devices/platform ALSA: usb: Add native DSD support for Gustard DAC-X20U net: PPPoPNS: Remove length argument from data_ready dm-verity: Add modes and emit uevent on corrupted blocks ARM64 readahead: fault retry breaks mmap file read random detection x86/xen: make CONFIG_XEN depend on CONFIG_X86_LOCAL_APIC arm64: KVM: Fix host crash when injecting a fault into a 32bit guest Add factory recertified Crucial M500s to blacklist cpuset: use trialcs->mems_allowed as a temp variable crypto: caam - fix memory corruption in ahash_final_ctx sd: Fix maximum I/O size for BLOCK_PC requests libiscsi: Fix host busy blocking during connection teardown MIPS: Fix seccomp syscall argument for MIPS64 regmap: regcache-rbtree: Clean new present bits on present bitmap resize mfd: arizona: Fix initialisation of the PM runtime libfc: Fix fc_fcp_cleanup_each_cmd() libfc: Fix fc_exch_recv_req() error path drm/vmwgfx: Fix execbuf locking issues drm/radeon: add new OLAND pci id EDAC, ppc4xx: Access mci->csrows array elements properly localmodconfig: Use Kbuild files too dm thin metadata: delete btrees when releasing metadata snapshot x86/xen: build "Xen PV" APIC driver for domU as well rtlwifi: rtl8723be: Add module parameter for MSI interrupts perf: Fix PERF_EVENT_IOC_PERIOD migration race perf: Fix fasync handling on inherited events xen-blkback: replace work_pending with work_busy in purge_persistent_gnt() xen-blkfront: don't add indirect pages to list when !feature_persistent mm/hwpoison: fix fail isolate hugetlbfs page w/ refcount held mm: hugetlb: introduce page_huge_active mm/hwpoison: fix page refcount of unknown non LRU page ipc/sem.c: update/correct memory barriers ipc,sem: fix use after free on IPC_RMID after a task using same semaphore set exits crypto: arm/sha256 - Add optimized SHA-256/224 net: sysctl_net_core: delete unused variable usb: gadget: configfs: fix unused variable warnings net: PPPoPNS: Remove length argument from data_ready usb: gadget: function: fix unused function warnings android: configs: base: enable Android gadget functions usb: gadget: audio_source function depends on SND_PCM tcp: Silence warning: <E2><80><98>in<E2><80><99> may be used uninitialized drivers/base: cpu: fix CPU_AUTOPROBE of/fdt: fix build warnings in early_init_dt_scan_chosen() thermal: power_allocator: allocate with kcalloc what you free with kfree thermal: power_allocator: do not use devm* interfaces thermal: cpu_cooling: Check memory allocation of power_table net: fix crash in tcp_nuke_addr() net: xt_qtaguid/xt_socket: fix refcount underflow and crash net: fix iterating over hashtable in tcp_nuke_addr() nf: IDLETIMER: fix lockdep warning ANDROID: usb: gadget: create F_midi device usb: gadget: midi: avoid redundant f_midi_set_alt() call usb: gadget: f_midi: fix error recovery path usb: gadget: f_midi: fix segfault when reading empty id usb: gadget: fix misspelling of current function in string usb: gadget: midi: f_midi_alloc() can be static usb: gadget: f_midi: add configfs support usb: gadget: f_midi: use usb_gstrings_attach usb: gadget: f_midi: remove compatibility layer usb: gadget: f_midi: convert to new function interface with backward compatibility usb: gadget: f_midi: check kstrdup() return value usb: gadget: f_midi: enable use of the index parameter usb: gadget: configfs: Fix interfaces array NULL-termination usb: gadget: Add device attribute to determine gadget state x86/xen: Initialize cr4 shadow for 64-bit PV(H) guests usb: phy: fix dual role sysfs build if kernel modules are supported ion: Handle the memory mapping correctly on x86 usb: phy: Dual role sysfs class definition Linux 3.18.21 ip_vti/ip6_vti: Preserve skb->mark after rcv_cb call xfrm: Override skb->mark with tunnel->parm.i_key in xfrm_input ip_vti/ip6_vti: Do not touch skb->mark on xmit libata: Do not blacklist M510DC libata: force disable trim for SuperSSpeed S238 libata: add ATA_HORKAGE_NOTRIM libata: Expose TRIM capability in sysfs libata: Do not blacklist Micron M500DC libata: Blacklist queued TRIM on all Samsung 800-series libata: Blacklist queued TRIM on Samsung SSD 850 Pro libata: Update Crucial/Micron blacklist libata: Whitelist SSDs that are known to properly return zeroes after TRIM Revert "libata: add ATA_HORKAGE_NOTRIM" hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead intel_idle: support additional Broadwell model kexec: allocate the kexec control page with KEXEC_CONTROL_MEMORY_GFP i2c: i801: Add DeviceIDs for SunrisePoint LP ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec ALSA: hda - add codec ID for Skylake display audio codec iio: accel: hid-sensor-accel-3d: Fix memory leak in probe() iio: gyro: hid-sensor-gyro-3d: Fix memory leak in probe() iio: light: hid-sensor-als.c: Fix memory leak in probe() thermal: rcar: fix ENR register value arm64/mm: Remove hack in mmap randomize layout Bluetooth: ath3k: Add a new ID 0cf3:e006 to ath3k list HID: do not bind to Microchip Pick16F1454 [media] si4713: HID blacklist Si4713 USB development board HID: tivo: enable all buttons on the TiVo Slide Pro remote hpsa: fix a couple pci id table mistakes cpufreq: pcc: Enable autoload of pcc-cpufreq for ACPI processors usb: renesas_usbhs: Don't disable the pipe if Control write status stage usb: renesas_usbhs: Fix fifo unclear in usbhsf_prepare_pop btrfs: cleanup orphans while looking up default subvolume btrfs: incorrect handling for fiemap_fill_next_extent return iio: adc: twl6030-gpadc: Fix modalias md/bitmap: return an error when bitmap superblock is corrupt. sg_start_req(): make sure that there's not too many elements in iovec iscsi-target: Fix iscsit_start_kthreads failure OOPs ima: extend "mask" policy matching support ima: add support for new "euid" policy condition iscsi-target: Fix iser explicit logout TX kthread leak iscsi-target: Fix use-after-free during TPG session shutdown avr32: handle NULL as a valid clock object vhost: actually track log eventfd file rds: rds_ib_device.refcount overflow x86/efi: Use all 64 bit of efi_memmap in setup_e820() xhci: do not report PLC when link is in internal resume state xhci: prevent bus_suspend if SS port resuming in phase 1 xhci: Calculate old endpoints correctly on device reset usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 ata: pmp: add quirk for Marvell 4140 SATA PMP blkcg: fix gendisk reference leak in blkg_conf_prep() Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen tile: use free_bootmem_late() for initrd md/raid1: fix test for 'was read error from last working device'. mmc: sdhci-esdhc: Make 8BIT bus work mac80211: clear subdir_stations when removing debugfs st: null pointer dereference panic caused by use after kref_put by st_open ALSA: hda - Fix MacBook Pro 5,2 quirk ALSA: usb-audio: add dB range mapping for some devices ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4 genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD s390/sclp: clear upper register halves in _sclp_print_early freeing unlinked file indefinitely delayed ACPI / init: Switch over platform to the ACPI mode later nfsd: do nfs4_check_fh in nfs4_check_file instead of nfs4_check_olstateid nfsd: refactor nfs4_preprocess_stateid_op kvm: x86: fix kvm_apic_has_events to check for NULL pointer signal: fix information leak in copy_siginfo_from_user32 signal: fix information leak in copy_siginfo_to_user signalfd: fix information leak in signalfd_copyinfo mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations mtd: nand: Fix NAND_USE_BOUNCE_BUFFER flag conflict USB: qcserial: Add support for Dell Wireless 5809e 4G Modem USB: qcserial/option: make AT URCs work for Sierra Wireless MC7305/MC7355 usb: gadget: f_uac2: fix calculation of uac2->p_interval md/raid1: extend spinlock to protect raid1_end_read_request against inconsistencies PCI: Restore PCI_MSIX_FLAGS_BIRMASK definition nfsd: Drop BUG_ON and ignore SECLABEL on absent filesystem ocfs2: fix BUG in ocfs2_downconvert_thread_do_work() ipc: modify message queue accounting to not take kernel data structures into account hwmon: (dell-smm) Blacklist Dell Studio XPS 8100 ALSA: fireworks/firewire-lib: add support for recent firmware quirk ALSA: hda - fix cs4210_spdif_automute() ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc ARM: dts: i.MX35: Fix can support. rbd: fix copyup completion race crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer crypto: qat - Fix invalid synchronization between register/unregister sym algs hwrng: core - correct error check of kthread_run call xen/gntdevt: Fix race condition in gntdev_release() xen/gntdev: convert priv->lock to a mutex arm64 Kconfig: Move LIST_POISON to a safe value ion : In carveout heap, change minimum allocation order from 12 to PAGE_SHIFT, After this change each bit in bitmap (genalloc - General purpose special memory pool) x86/xen: Probe target addresses in set_aliased_prot() before the hypercall ASoC: dapm: Lock during userspace access ASoC: pcm1681: Fix setting de-emphasis sampling rate selection ARM: dts: keystone: fix dt bindings to use post div register for mainpll clk: keystone: add support for post divider register for main pll sparc64: Fix userspace FPU register corruptions. Fix for in kernel emergency remount when loop mounts are used md: use kzalloc() when bitmap is disabled phy: twl4030-usb: make runtime pm more reliable. pstore: pmsg: return -ENOMEM on vmalloc failure usb: udc: core: add device_del() call to error pathway USB: sierra: add 1199:68AB device ID drivers/usb: Delete XHCI command timer if necessary xhci: fix off by one error in TRB DMA address boundary check ipr: Fix invalid array indexing for HRRQ ipr: Fix incorrect trace indexing ipr: Fix locking for unit attention handling drm/dp-mst: Remove debug WARN_ON drm/radeon/combios: add some validation of lvds values drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop fsnotify: fix oops in fsnotify_clear_marks_by_group_flags() MIPS: Make set_pte() SMP safe. MIPS: Flush RPS on kernel entry with EVA MIPS: show_stack: Fix stack trace with EVA MIPS: do_mcheck: Fix kernel code dump with EVA MIPS: Fix sched_getaffinity with MT FPAFF enabled MIPS: Malta: Don't reinitialise RTC wakeup_reason: use vsnprintf instead of snsprintf for vargs. The USB and Display related changes are skipped completely based on review by those teams. Certain memory, UBI and MMC related changes are not picked based on review by those teams. Certain missing parts of commit e7cf05db ("netfilter: xt_socket: add XT_SOCKET_RESTORESKMARK flag") are added back. Skip "android: add CONFIG_DEBUG_RODATA to recommended config". CONFIG_DEBUG_RODATA is only needed on perf so avoid mandating it for perf and debug. Conflicts: arch/arm/include/asm/cacheflush.h arch/arm/include/asm/fixmap.h arch/arm/kernel/kgdb.c arch/arm/kernel/vmlinux.lds.S arch/arm/mm/highmem.c arch/arm/mm/init.c arch/arm/mm/mmap.c arch/arm/mm/mmu.c arch/arm64/Kconfig.debug arch/arm64/include/asm/cacheflush.h arch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/efi.h arch/arm64/include/asm/mmu.h arch/arm64/kernel/efi.c arch/arm64/kernel/head.S arch/arm64/kernel/setup.c arch/arm64/kernel/vmlinux.lds.S arch/arm64/lib/copy_from_user.S arch/arm64/lib/copy_in_user.S arch/arm64/lib/copy_to_user.S arch/arm64/mm/Makefile arch/arm64/mm/dma-mapping.c arch/arm64/mm/dump.c arch/arm64/mm/mm.h arch/arm64/mm/mmap.c arch/arm64/mm/mmu.c drivers/base/firmware_class.c drivers/base/power/opp.c drivers/block/zram/zram_drv.c drivers/irqchip/Kconfig drivers/irqchip/Makefile drivers/irqchip/irq-gic-common.c drivers/irqchip/irq-gic-common.h drivers/irqchip/irq-gic-v3-its.c drivers/irqchip/irq-gic-v3.c drivers/irqchip/irq-gic.c drivers/mmc/card/block.c drivers/mmc/core/core.c drivers/of/platform.c drivers/pci/msi.c drivers/scsi/scsi_pm.c drivers/staging/android/ion/Kconfig drivers/staging/android/ion/ion.c drivers/staging/android/ion/ion_page_pool.c drivers/staging/android/ion/ion_priv.h drivers/staging/android/ion/ion_system_heap.c drivers/staging/android/lowmemorykiller.c drivers/staging/android/sync.c drivers/usb/gadget/Kconfig drivers/usb/gadget/configfs.c drivers/usb/gadget/function/f_midi.c include/linux/iommu.h include/linux/ipv6.h include/linux/irqchip/arm-gic-v3.h include/linux/msi.h include/trace/events/power.h include/trace/events/sched.h include/uapi/linux/ipv6.h kernel/irq/proc.c kernel/sysctl.c net/ipv4/tcp.c net/ipv6/addrconf.c net/netfilter/xt_socket.c Change-Id: I91e89f6ccae8d06b7b6712590015236b35c6939c Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
| * | Squashfs: Add LZ4 compression configuration optionPhillip Lougher2015-10-051-4/+4
| | | | | | | | | | | | | | | | | | Add the glue code, and also update the documentation. Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
* | | add documentation about reclaim knob on proc.txtMinchan Kim2015-09-071-0/+20
|/ / | | | | | | | | | | | | | | | | | | | | This patch adds stuff about new reclaim field in proc.txt Change-Id: I1718fad12ec078e204e7a59769ce70fad7708756 Acked-by: Rob Landley <rob@landley.net> Signed-off-by: Minchan Kim <minchan@kernel.org> Patch-mainline: linux-mm @ 9 May 2013 16:21:29 [vinmenon@codeaurora.org: trivial merge conflict fixes] Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
* | fs/proc/task_mmu.c: add user-space support for resetting mm->hiwater_rss ↵Petr Cermak2015-04-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (peak RSS) Peak resident size of a process can be reset back to the process's current rss value by writing "5" to /proc/pid/clear_refs. The driving use-case for this would be getting the peak RSS value, which can be retrieved from the VmHWM field in /proc/pid/status, per benchmark iteration or test scenario. Origin: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=695f055936938c674473ea071ca7359a863551e7 [akpm@linux-foundation.org: clarify behaviour in documentation] Signed-off-by: Petr Cermak <petrcermak@chromium.org> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Primiano Tucci <primiano@chromium.org> Cc: Petr Cermak <petrcermak@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Change-Id: I6bc63fcd5f5cdcc1c92aeec8b5abc8e3108d92b1
* | mm: add a field to store names for private anonymous memoryColin Cross2015-02-031-0/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Userspace processes often have multiple allocators that each do anonymous mmaps to get memory. When examining memory usage of individual processes or systems as a whole, it is useful to be able to break down the various heaps that were allocated by each layer and examine their size, RSS, and physical memory usage. This patch adds a user pointer to the shared union in vm_area_struct that points to a null terminated string inside the user process containing a name for the vma. vmas that point to the same address will be merged, but vmas that point to equivalent strings at different addresses will not be merged. Userspace can set the name for a region of memory by calling prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, start, len, (unsigned long)name); Setting the name to NULL clears it. The names of named anonymous vmas are shown in /proc/pid/maps as [anon:<name>] and in /proc/pid/smaps in a new "Name" field that is only present for named vmas. If the userspace pointer is no longer valid all or part of the name will be replaced with "<fault>". The idea to store a userspace pointer to reduce the complexity within mm (at the expense of the complexity of reading /proc/pid/mem) came from Dave Hansen. This results in no runtime overhead in the mm subsystem other than comparing the anon_name pointers when considering vma merging. The pointer is stored in a union with fieds that are only used on file-backed mappings, so it does not increase memory usage. Change-Id: Ie2ffc0967d4ffe7ee4c70781313c7b00cf7e3092 Signed-off-by: Colin Cross <ccross@android.com>
* ovl: rename filesystem type to "overlay"Miklos Szeredi2014-11-201-1/+1
| | | | | | | | | | | | | | | Some distributions carry an "old" format of overlayfs while mainline has a "new" format. The distros will possibly want to keep the old overlayfs alongside the new for compatibility reasons. To make it possible to differentiate the two versions change the name of the new one from "overlayfs" to "overlay". Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reported-by: Serge Hallyn <serge.hallyn@ubuntu.com> Cc: Andy Whitcroft <apw@canonical.com>
* overlay: overlay filesystem documentationNeil Brown2014-10-241-0/+198
| | | | | | Document the overlay filesystem. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
* vfs: add i_op->dentry_open()Miklos Szeredi2014-10-242-0/+9
| | | | | | | Add a new inode operation i_op->dentry_open(). This is for stacked filesystems that want to return a struct file from a different filesystem. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
* NTFS: Remove changelog from Documentation/filesystems/ntfs.txt.Anton Altaparmakov2014-10-161-268/+0
| | | | | | Changelog is in git history, no need to have a copy in the documentation. Signed-off-by: Anton Altaparmakov <anton@tuxera.com>
* autofs: the documentation I wanted to readNeilBrown2014-10-141-0/+520
| | | | | | | | | | | | | | | This documents autofs from the perspective of what the module actually supports rather than how automount is expected to use it. It is formatted using "markdown" and works best with Markdown.pl (markdown_py doesn't like some constructs). [rdunlap@infradead.org: copy editing] Signed-off-by: NeilBrown <neilb@suse.de> Cc: Randy Dunlap <rdunlap@infradead.org> Acked-by: Ian Kent <raven@themaw.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2014-10-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull vfs updates from Al Viro: "The big thing in this pile is Eric's unmount-on-rmdir series; we finally have everything we need for that. The final piece of prereqs is delayed mntput() - now filesystem shutdown always happens on shallow stack. Other than that, we have several new primitives for iov_iter (Matt Wilcox, culled from his XIP-related series) pushing the conversion to ->read_iter()/ ->write_iter() a bit more, a bunch of fs/dcache.c cleanups and fixes (including the external name refcounting, which gives consistent behaviour of d_move() wrt procfs symlinks for long and short names alike) and assorted cleanups and fixes all over the place. This is just the first pile; there's a lot of stuff from various people that ought to go in this window. Starting with unionmount/overlayfs mess... ;-/" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (60 commits) fs/file_table.c: Update alloc_file() comment vfs: Deduplicate code shared by xattr system calls operating on paths reiserfs: remove pointless forward declaration of struct nameidata don't need that forward declaration of struct nameidata in dcache.h anymore take dname_external() into fs/dcache.c let path_init() failures treated the same way as subsequent link_path_walk() fix misuses of f_count() in ppp and netlink ncpfs: use list_for_each_entry() for d_subdirs walk vfs: move getname() from callers to do_mount() gfs2_atomic_open(): skip lookups on hashed dentry [infiniband] remove pointless assignments gadgetfs: saner API for gadgetfs_create_file() f_fs: saner API for ffs_sb_create_file() jfs: don't hash direct inode [s390] remove pointless assignment of ->f_op in vmlogrdr ->open() ecryptfs: ->f_op is never NULL android: ->f_op is never NULL nouveau: __iomem misannotations missing annotation in fs/file.c fs: namespace: suppress 'may be used uninitialized' warnings ...
| * vfs: fix typo in s_op->alloc_inode() documentationKirill Smelkov2014-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The function which calls s_op->alloc_inode() is not inode_alloc(), but instead alloc_inode() which lives in fs/inode.c . The typo was there from the beginning from 5ea626aa (VFS: update documentation, 2005) - there was no standalone inode_alloc() for the whole kernel history. Cc: Pekka Enberg <penberg@kernel.org> Signed-off-by: Kirill Smelkov <kirr@nexedi.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linuxLinus Torvalds2014-10-112-8/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull file locking related changes from Jeff Layton: "This release is a little more busy for file locking changes than the last: - a set of patches from Kinglong Mee to fix the lockowner handling in knfsd - a pile of cleanups to the internal file lease API. This should get us a bit closer to allowing for setlease methods that can block. There are some dependencies between mine and Bruce's trees this cycle, and I based my tree on top of the requisite patches in Bruce's tree" * tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linux: (26 commits) locks: fix fcntl_setlease/getlease return when !CONFIG_FILE_LOCKING locks: flock_make_lock should return a struct file_lock (or PTR_ERR) locks: set fl_owner for leases to filp instead of current->files locks: give lm_break a return value locks: __break_lease cleanup in preparation of allowing direct removal of leases locks: remove i_have_this_lease check from __break_lease locks: move freeing of leases outside of i_lock locks: move i_lock acquisition into generic_*_lease handlers locks: define a lm_setup handler for leases locks: plumb a "priv" pointer into the setlease routines nfsd: don't keep a pointer to the lease in nfs4_file locks: clean up vfs_setlease kerneldoc comments locks: generic_delete_lease doesn't need a file_lock at all nfsd: fix potential lease memory leak in nfs4_setlease locks: close potential race in lease_get_mtime security: make security_file_set_fowner, f_setown and __f_setown void return locks: consolidate "nolease" routines locks: remove lock_may_read and lock_may_write lockd: rip out deferred lock handling from testlock codepath NFSD: Get reference of lockowner when coping file_lock ...
| * | locks: move freeing of leases outside of i_lockJeff Layton2014-10-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was only one place where we still could free a file_lock while holding the i_lock -- lease_modify. Add a new list_head argument to the lm_change operation, pass in a private list when calling it, and fix those callers to dispose of the list once the lock has been dropped. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
| * | locks: move i_lock acquisition into generic_*_lease handlersJeff Layton2014-10-072-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have a saner internal API for managing leases, we no longer need to mandate that the inode->i_lock be held over most of the lease code. Push it down into generic_add_lease and generic_delete_lease. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
| * | locks: plumb a "priv" pointer into the setlease routinesJeff Layton2014-10-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In later patches, we're going to add a new lock_manager_operation to finish setting up the lease while still holding the i_lock. To do this, we'll need to pass a little bit of info in the fcntl setlease case (primarily an fasync structure). Plumb the extra pointer into there in advance of that. We declare this pointer as a void ** to make it clear that this is private info, and that the caller isn't required to set this unless the lm_setup specifically requires it. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
* | | Merge tag 'f2fs-for-3.18' of ↵Linus Torvalds2014-10-081-3/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs Pull f2fs updates from Jaegeuk Kim: "This patch-set introduces a couple of new features such as large sector size, FITRIM, and atomic/volatile writes. Several patches enhance power-off recovery and checkpoint routines. The fsck.f2fs starts to support fixing corrupted partitions with recovery hints provided by this patch-set. Summary: - retain some recovery information for fsck.f2fs - enhance checkpoint speed - enhance flush command management - bug fix for lseek - tune in-place-update policies - enhance roll-forward speed - revisit all the roll-forward and fsync rules - support larget sector size - support FITRIM - support atomic and volatile writes And several clean-ups and bug fixes are included" * tag 'f2fs-for-3.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (42 commits) f2fs: support volatile operations for transient data f2fs: support atomic writes f2fs: remove unused return value f2fs: clean up f2fs_ioctl functions f2fs: potential shift wrapping buf in f2fs_trim_fs() f2fs: call f2fs_unlock_op after error was handled f2fs: check the use of macros on block counts and addresses f2fs: refactor flush_nat_entries to remove costly reorganizing ops f2fs: introduce FITRIM in f2fs_ioctl f2fs: introduce cp_control structure f2fs: use more free segments until SSR is activated f2fs: change the ipu_policy option to enable combinations f2fs: fix to search whole dirty segmap when get_victim f2fs: fix to clean previous mount option when remount_fs f2fs: skip punching hole in special condition f2fs: support large sector size f2fs: fix to truncate blocks past EOF in ->setattr f2fs: update i_size when __allocate_data_block f2fs: use MAX_BIO_BLOCKS(sbi) f2fs: remove redundant operation during roll-forward recovery ...
| * | | f2fs: change the ipu_policy option to enable combinationsJaegeuk Kim2014-09-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the ipu_policy setting to use any combination of orthogonal policies. Signed-off-by: Changman Lee <cm224.lee@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
| * | | f2fs: give an option to enable in-place-updates during fsync to usersJaegeuk Kim2014-09-161-1/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user wrote F2FS_IPU_FSYNC:4 in /sys/fs/f2fs/ipu_policy, f2fs_sync_file only starts to try in-place-updates. And, if the number of dirty pages is over /sys/fs/f2fs/min_fsync_blocks, it keeps out-of-order manner. Otherwise, it triggers in-place-updates. This may be used by storage showing very high random write performance. For example, it can be used when, Seq. writes (Data) + wait + Seq. writes (Node) is pretty much slower than, Rand. writes (Data) Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
* | | Documentation: update .gitignore filesPeter Foley2014-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add some missing files to .gitignore. Push Documentation/.gitignore down into subdirectories. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* | | Documentation: add makefiles for more targetsPeter Foley2014-09-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a bunch of previously unbuilt source files to the Documentation build machinery. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* | | Documentation: use subdir-y to avoid unnecessary built-in.o filesPeter Foley2014-09-261-3/+0
| |/ |/| | | | | | | | | | | | | | | | | | | Change the Documentation makefiles from obj-m to subdir-y to avoid generating unnecessary built-in.o files since nothing in Documentation/ is ever linked in to vmlinux. Signed-off-by: Peter Foley <pefoley2@pefoley.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
* | Documentation: NFS/RDMA: Document separate Kconfig symbolsPaul Bolle2014-09-071-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The NFS/RDMA Kconfig symbol was split into separate options for client and server in commit 2e8c12e1b765 ("xprtrdma: add separate Kconfig options for NFSoRDMA client and server support"). Update the documentation to reflect this split. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: "J. Bruce Fields" <bfields@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | Documentation: seq_file: Document seq_open_private(), seq_release_private()Rob Jones2014-09-071-0/+33
|/ | | | | | | | | | | | | Despite the fact that these functions have been around for years, they are little used (only 15 uses in 13 files at the preseht time) even though many other files use work-arounds to achieve the same result. By documenting them, hopefully they will become more widely used. Signed-off-by: Rob Jones <rob.jones@codethink.co.uk> Acked-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Merge tag 'locks-v3.17-2' of git://git.samba.org/jlayton/linuxLinus Torvalds2014-08-161-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull file locking bugfixes from Jeff Layton: "Most of these patches are to fix a long-standing regression that crept in when the BKL was removed from the file-locking code. The code was converted to use a conventional spinlock, but some fl_release_private ops can block and you can end up sleeping inside the lock. There's also a patch to make /proc/locks show delegations as 'DELEG'" * tag 'locks-v3.17-2' of git://git.samba.org/jlayton/linux: locks: update Locking documentation to clarify fl_release_private behavior locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock locks: defer freeing locks in locks_delete_lock until after i_lock has been dropped locks: don't reuse file_lock in __posix_lock_file locks: don't call locks_release_private from locks_copy_lock locks: show delegations as "DELEG" in /proc/locks
| * locks: update Locking documentation to clarify fl_release_private behaviorJeff Layton2014-08-141-1/+5
| | | | | | | | | | Acked-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Jeff Layton <jlayton@primarydata.com>
* | Merge branch 'for-linus' of ↵Linus Torvalds2014-08-112-16/+25
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull vfs updates from Al Viro: "Stuff in here: - acct.c fixes and general rework of mnt_pin mechanism. That allows to go for delayed-mntput stuff, which will permit mntput() on deep stack without worrying about stack overflows - fs shutdown will happen on shallow stack. IOW, we can do Eric's umount-on-rmdir series without introducing tons of stack overflows on new mntput() call chains it introduces. - Bruce's d_splice_alias() patches - more Miklos' rename() stuff. - a couple of regression fixes (stable fodder, in the end of branch) and a fix for API idiocy in iov_iter.c. There definitely will be another pile, maybe even two. I'd like to get Eric's series in this time, but even if we miss it, it'll go right in the beginning of for-next in the next cycle - the tricky part of prereqs is in this pile" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (40 commits) fix copy_tree() regression __generic_file_write_iter(): fix handling of sync error after DIO switch iov_iter_get_pages() to passing maximal number of pages fs: mark __d_obtain_alias static dcache: d_splice_alias should detect loops exportfs: update Exporting documentation dcache: d_find_alias needn't recheck IS_ROOT && DCACHE_DISCONNECTED dcache: remove unused d_find_alias parameter dcache: d_obtain_alias callers don't all want DISCONNECTED dcache: d_splice_alias should ignore DCACHE_DISCONNECTED dcache: d_splice_alias mustn't create directory aliases dcache: close d_move race in d_splice_alias dcache: move d_splice_alias namei: trivial fix to vfs_rename_dir comment VFS: allow ->d_manage() to declare -EISDIR in rcu_walk mode. cifs: support RENAME_NOREPLACE hostfs: support rename flags shmem: support RENAME_EXCHANGE shmem: support RENAME_NOREPLACE btrfs: add RENAME_NOREPLACE ...
| * exportfs: update Exporting documentationJ. Bruce Fields2014-08-071-15/+23
| | | | | | | | | | | | | | | | | | | | | | | | Minor documentation updates: - refer to d_obtain_alias rather than d_alloc_anon - explain when to use d_splice_alias and when d_materialise_unique. - cut some details of d_splice_alias/d_materialise_unique implementation. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * VFS: allow ->d_manage() to declare -EISDIR in rcu_walk mode.NeilBrown2014-08-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In REF-walk mode, ->d_manage can return -EISDIR to indicate that the dentry is not really a mount trap (or even a mount point) and that any mounts or any DCACHE_NEED_AUTOMOUNT flag should be ignored. RCU-walk mode doesn't currently support this, so if there is a dentry with DCACHE_NEED_AUTOMOUNT set but which shouldn't be a mount-trap, lookup_fast() will always drop in REF-walk mode. With this patch, an -EISDIR from ->d_manage will always cause mounts and automounts to be ignored, both in REF-walk and RCU-walk. Bug-fixed-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: Ian Kent <raven@themaw.net> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* | Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds2014-08-092-61/+37
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull CIFS updates from Steve French: "The most visible change in this set is the additional of multi-credit support for SMB2/SMB3 which dramatically improves the large file i/o performance for these dialects and significantly increases the maximum i/o size used on the wire for SMB2/SMB3. Also reconnection behavior after network failure is improved" * 'for-next' of git://git.samba.org/sfrench/cifs-2.6: (35 commits) Add worker function to set allocation size [CIFS] Fix incorrect hex vs. decimal in some debug print statements update CIFS TODO list Add Pavel to contributor list in cifs AUTHORS file Update cifs version CIFS: Fix STATUS_CANNOT_DELETE error mapping for SMB2 CIFS: Optimize readpages in a short read case on reconnects CIFS: Optimize cifs_user_read() in a short read case on reconnects CIFS: Improve indentation in cifs_user_read() CIFS: Fix possible buffer corruption in cifs_user_read() CIFS: Count got bytes in read_into_pages() CIFS: Use separate var for the number of bytes got in async read CIFS: Indicate reconnect with ECONNABORTED error code CIFS: Use multicredits for SMB 2.1/3 reads CIFS: Fix rsize usage for sync read CIFS: Fix rsize usage in user read CIFS: Separate page reading from user read CIFS: Fix rsize usage in readpages CIFS: Separate page search from readpages CIFS: Use multicredits for SMB 2.1/3 writes ...
| * | update CIFS TODO listSteve French2014-08-021-61/+36
| | | | | | | | | | | | Signed-off-by: Steve French <smfrench@gmail.com>
| * | Add Pavel to contributor list in cifs AUTHORS fileSteve French2014-08-021-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Steve French <smfrench@gmail.com> CC: Pavel Shilovsky <pshilovsky@samba.org>
* | | Merge branch 'timers-core-for-linus' of ↵Linus Torvalds2014-08-051-0/+19
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull timer and time updates from Thomas Gleixner: "A rather large update of timers, timekeeping & co - Core timekeeping code is year-2038 safe now for 32bit machines. Now we just need to fix all in kernel users and the gazillion of user space interfaces which rely on timespec/timeval :) - Better cache layout for the timekeeping internal data structures. - Proper nanosecond based interfaces for in kernel users. - Tree wide cleanup of code which wants nanoseconds but does hoops and loops to convert back and forth from timespecs. Some of it definitely belongs into the ugly code museum. - Consolidation of the timekeeping interface zoo. - A fast NMI safe accessor to clock monotonic for tracing. This is a long standing request to support correlated user/kernel space traces. With proper NTP frequency correction it's also suitable for correlation of traces accross separate machines. - Checkpoint/restart support for timerfd. - A few NOHZ[_FULL] improvements in the [hr]timer code. - Code move from kernel to kernel/time of all time* related code. - New clocksource/event drivers from the ARM universe. I'm really impressed that despite an architected timer in the newer chips SoC manufacturers insist on inventing new and differently broken SoC specific timers. [ Ed. "Impressed"? I don't think that word means what you think it means ] - Another round of code move from arch to drivers. Looks like most of the legacy mess in ARM regarding timers is sorted out except for a few obnoxious strongholds. - The usual updates and fixlets all over the place" * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (114 commits) timekeeping: Fixup typo in update_vsyscall_old definition clocksource: document some basic timekeeping concepts timekeeping: Use cached ntp_tick_length when accumulating error timekeeping: Rework frequency adjustments to work better w/ nohz timekeeping: Minor fixup for timespec64->timespec assignment ftrace: Provide trace clocks monotonic timekeeping: Provide fast and NMI safe access to CLOCK_MONOTONIC seqcount: Add raw_write_seqcount_latch() seqcount: Provide raw_read_seqcount() timekeeping: Use tk_read_base as argument for timekeeping_get_ns() timekeeping: Create struct tk_read_base and use it in struct timekeeper timekeeping: Restructure the timekeeper some more clocksource: Get rid of cycle_last clocksource: Move cycle_last validation to core code clocksource: Make delta calculation a function wireless: ath9k: Get rid of timespec conversions drm: vmwgfx: Use nsec based interfaces drm: i915: Use nsec based interfaces timekeeping: Provide ktime_get_raw() hangcheck-timer: Use ktime_get_ns() ...
| * | docs: Procfs -- Document timerfd outputCyrill Gorcunov2014-07-181-0/+19
| |/ | | | | | | | | | | | | | | | | | | | | Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Andrey Vagin <avagin@openvz.org> Cc: Pavel Emelyanov <xemul@parallels.com> Cc: Vladimir Davydov <vdavydov@parallels.com> Link: http://lkml.kernel.org/r/20140715215703.199905126@openvz.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
* | Merge tag 'for-f2fs-3.17' of ↵Linus Torvalds2014-08-041-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs Pull f2fs updates from Jaegeuk Kim: "This series includes patches to: - add nobarrier mount option - support tmpfile and rename2 - enhance the fdatasync behavior - fix the error path - fix the recovery routine - refactor a part of the checkpoint procedure - reduce some lock contentions" * tag 'for-f2fs-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (40 commits) f2fs: use for_each_set_bit to simplify the code f2fs: add f2fs_balance_fs for expand_inode_data f2fs: invalidate xattr node page when evict inode f2fs: avoid skipping recover_inline_xattr after recover_inline_data f2fs: add tracepoint for f2fs_direct_IO f2fs: reduce competition among node page writes f2fs: fix coding style f2fs: remove redundant lines in allocate_data_block f2fs: add tracepoint for f2fs_issue_flush f2fs: avoid retrying wrong recovery routine when error was occurred f2fs: test before set/clear bits f2fs: fix wrong condition for unlikely f2fs: enable in-place-update for fdatasync f2fs: skip unnecessary data writes during fsync f2fs: add info of appended or updated data writes f2fs: use radix_tree for ino management f2fs: add infra for ino management f2fs: punch the core function for inode management f2fs: add nobarrier mount option f2fs: fix to put root inode in error path of fill_super ...
| * | f2fs: add nobarrier mount optionJaegeuk Kim2014-07-291-0/+5
| |/ | | | | | | | | | | | | | | | | This patch adds a mount option, nobarrier, in f2fs. The assumption in here is that file system keeps the IO ordering, but doesn't care about cache flushes inside the storages. Reviewed-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
* / sched: Remove proliferation of wait_on_bit() action functionsNeilBrown2014-07-161-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current "wait_on_bit" interface requires an 'action' function to be provided which does the actual waiting. There are over 20 such functions, many of them identical. Most cases can be satisfied by one of just two functions, one which uses io_schedule() and one which just uses schedule(). So: Rename wait_on_bit and wait_on_bit_lock to wait_on_bit_action and wait_on_bit_lock_action to make it explicit that they need an action function. Introduce new wait_on_bit{,_lock} and wait_on_bit{,_lock}_io which are *not* given an action function but implicitly use a standard one. The decision to error-out if a signal is pending is now made based on the 'mode' argument rather than being encoded in the action function. All instances of the old wait_on_bit and wait_on_bit_lock which can use the new version have been changed accordingly and their action functions have been discarded. wait_on_bit{_lock} does not return any specific error code in the event of a signal so the caller must check for non-zero and interpolate their own error code as appropriate. The wait_on_bit() call in __fscache_wait_on_invalidate() was ambiguous as it specified TASK_UNINTERRUPTIBLE but used fscache_wait_bit_interruptible as an action function. David Howells confirms this should be uniformly "uninterruptible" The main remaining user of wait_on_bit{,_lock}_action is NFS which needs to use a freezer-aware schedule() call. A comment in fs/gfs2/glock.c notes that having multiple 'action' functions is useful as they display differently in the 'wchan' field of 'ps'. (and /proc/$PID/wchan). As the new bit_wait{,_io} functions are tagged "__sched", they will not show up at all, but something higher in the stack. So the distinction will still be visible, only with different function names (gds2_glock_wait versus gfs2_glock_dq_wait in the gfs2/glock.c case). Since first version of this patch (against 3.15) two new action functions appeared, on in NFS and one in CIFS. CIFS also now uses an action function that makes the same freezer aware schedule call as NFS. Signed-off-by: NeilBrown <neilb@suse.de> Acked-by: David Howells <dhowells@redhat.com> (fscache, keys) Acked-by: Steven Whitehouse <swhiteho@redhat.com> (gfs2) Acked-by: Peter Zijlstra <peterz@infradead.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Steve French <sfrench@samba.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/20140707051603.28027.72349.stgit@notabene.brown Signed-off-by: Ingo Molnar <mingo@kernel.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2014-06-122-6/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull vfs updates from Al Viro: "This the bunch that sat in -next + lock_parent() fix. This is the minimal set; there's more pending stuff. In particular, I really hope to get acct.c fixes merged this cycle - we need that to deal sanely with delayed-mntput stuff. In the next pile, hopefully - that series is fairly short and localized (kernel/acct.c, fs/super.c and fs/namespace.c). In this pile: more iov_iter work. Most of prereqs for ->splice_write with sane locking order are there and Kent's dio rewrite would also fit nicely on top of this pile" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (70 commits) lock_parent: don't step on stale ->d_parent of all-but-freed one kill generic_file_splice_write() ceph: switch to iter_file_splice_write() shmem: switch to iter_file_splice_write() nfs: switch to iter_splice_write_file() fs/splice.c: remove unneeded exports ocfs2: switch to iter_file_splice_write() ->splice_write() via ->write_iter() bio_vec-backed iov_iter optimize copy_page_{to,from}_iter() bury generic_file_aio_{read,write} lustre: get rid of messing with iovecs ceph: switch to ->write_iter() ceph_sync_direct_write: stop poking into iov_iter guts ceph_sync_read: stop poking into iov_iter guts new helper: copy_page_from_iter() fuse: switch to ->write_iter() btrfs: switch to ->write_iter() ocfs2: switch to ->write_iter() xfs: switch to ->write_iter() ...
| * Merge commit '9f12600fe425bc28f0ccba034a77783c09c15af4' into for-linusAl Viro2014-06-121-2/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | Backmerge of dcache.c changes from mainline. It's that, or complete rebase... Conflicts: fs/splice.c Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | new methods: ->read_iter() and ->write_iter()Al Viro2014-05-062-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beginning to introduce those. Just the callers for now, and it's clumsier than it'll eventually become; once we finish converting aio_read and aio_write instances, the things will get nicer. For now, these guys are in parallel to ->aio_read() and ->aio_write(); they take iocb and iov_iter, with everything in iov_iter already validated. File offset is passed in iocb->ki_pos, iov/nr_segs - in iov_iter. Main concerns in that series are stack footprint and ability to split the damn thing cleanly. [fix from Peter Ujfalusi <peter.ujfalusi@ti.com> folded] Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * | pass iov_iter to ->direct_IO()Al Viro2014-05-062-4/+2
| | | | | | | | | | | | | | | | | | unmodified, for now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>