[PATCH 3.10 52/62] dm mirror: do not degrade the mirror on discard error

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit f2ed51ac64611d717d1917820a01930174c2f236 upstream. It may be possible that a device claims discard support but it rejects discards with -EOPNOTSUPP. It happens when usi

[PATCH 3.10 48/62] nilfs2: fix potential memory overrun on inode

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 957ed60b53b519064a54988c4e31e0087e47d091 upstream. Each inode of nilfs2 stores a root node of a b-tree, and it turned out to have a memory overrun issue: Each b-tree no

[PATCH 3.10 49/62] fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Minh Duc Tran commit f76a610a8b4b6280eaedf48f3af9d5d74e418b66 upstream. In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141 Assert is seen with AMD cpu whenever calling pci

[PATCH 3.10 46/62] sg: fix read() error reporting

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 3b524a683af8991b4eab4182b947c65f0ce1421b upstream. Fix SCSI generic read() incorrectly returning success after detecting an error. Signed-off-by: Tony Battersby Acked-b

[PATCH 3.10 61/62] ACPI / video: Load the module even if ACPI is disabled

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 6e17cb12881ba8d5e456b89f072dc6b70048af36 upstream. i915.ko depends upon the acpi/video.ko module and so refuses to load if ACPI is disabled at runtime if for example the BI

[PATCH 3.10 40/62] debugfs: leave freeing a symlink body until inode eviction

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0db59e59299f0b67450c5db21f7f316c8fb04e84 upstream. As it is, we have debugfs_remove() racing with symlink traversals. Supply ->evict_inode() and do freeing there - inode will re

[PATCH 3.10 45/62] ALSA: hda - Add pin configs for ASUS mobo with IDT 92HD73XX codec

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6426460e5d87810e042962281fe3c1e8fc256162 upstream. BIOS doesn't seem to set up pins for 5.1 and the SPDIF out, so we need to give explicitly here. Reported-and-tested-by:

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-03-16 Thread Mario Limonciello
On 03/14/2015 02:17 PM, Benjamin Tissoires wrote: [top posting, sorry] Jason made some interesting progress today: with the patch in https://lkml.org/lkml/2015/3/12/149, the sound card is not switched in the I2S mode and works while the touchpad keeps using I2C. It looks like suspend/resume is

[PATCH 3.10 53/62] dm io: reject unsupported DISCARD requests with EOPNOTSUPP

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit 37527b869207ad4c208b1e13967d69b8bba1fbf9 upstream. I created a dm-raid1 device backed by a device that supports DISCARD and another device that does NOT support DISCAR

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-16 Thread Alistair Grant
On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman wrote: > On 15.03.2015 21:18, Alistair Grant wrote: >> On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant >> wrote: >>> On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant >>> wrote: On Thu, Mar 12, 2015 at 11:15 AM, Lu Baolu wrote: > Whe

[PATCH 3.10 54/62] dm: fix a race condition in dm_get_md

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2bec1f4a8832e74ebbe859f176d8a9cb20dd97f4 upstream. The function dm_get_md finds a device mapper device with a given dev_t, increases the reference count and returns the

[PATCH 1/1] pty, n_tty: continue processing input until the tty_buffer chain is flushed

2015-03-16 Thread Andy Whitcroft
In commit 52bce7f8d4fc ("pty, n_tty: Simplify input processing on final close") the tty_flush_to_ldisc() data flush was moved from the n_tty_input() path to the pty_close() path because the new locking ensured that the data had already been copied: However, this only guarantees that it will see _s

[PATCH 3.10 47/62] IB/qib: Do not write EEPROM

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mitko Haralanov commit 18c0b82a3e4501511b08d0e8676fb08ac08734a3 upstream. This changeset removes all the code that allows the driver to write to the EEPROM and update the recorded error counte

[PATCH 3.10 51/62] staging: comedi: comedi_compat32.c: fix COMEDI_CMD copy back

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 42b8ce6f55facfa101462e694d33fc6bca471138 upstream. `do_cmd_ioctl()` in "comedi_fops.c" handles the `COMEDI_CMD` ioctl. This returns `-EAGAIN` if it has copied a modified `str

[PATCH 3.10 44/62] ALSA: pcm: Dont leave PREPARED state after draining

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 70372a7566b5e552dbe48abdac08c275081d8558 upstream. When a PCM draining is performed to an empty stream that has been already in PREPARED state, the current code just ignore

[PATCH 3.10 36/62] USB: serial: fix infinite wait_until_sent timeout

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit f528bf4f57e43d1af4b2a5c97f09e43e0338c105 upstream. Make sure to handle an infinite timeout (0). Note that wait_until_sent is currently never called with a 0-timeout argume

[PATCH 3.10 56/62] staging: comedi: cb_pcidas64: fix incorrect AI range code handling

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit be8e89087ec2d2c8a1ad1e3db64bf4efdfc3c298 upstream. The hardware range code values and list of valid ranges for the AI subdevice is incorrect for several supported boards. Th

[PATCH 3.10 19/62] mm/compaction: fix wrong order check in compact_finished()

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Joonsoo Kim commit 372549c2a3778fd3df445819811c944ad54609ca upstream. What we want to check here is whether there is highorder freepage in buddy list of other migratetype in order to steal it

[PATCH 3.10 15/62] team: dont traverse port list using rcu in team_set_mac_address

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko [ Upstream commit 9215f437b85da339a7dfe3db6e288637406f88b2 ] Currently the list is traversed using rcu variant. That is not correct since dev_set_mac_address can be called which eve

Re: [PATCHv2 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread James Hogan
Hi Alex, On 16/03/15 13:13, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity. > > Signed-off-by: Alex Dowad > --- > > James Hogan, > > Thanks for reviewing this patch. The comment has bee

[PATCH] kvmtool: Adjust to new upstream virtio constants

2015-03-16 Thread Ingo Molnar
tools/kvm won't build on newer kernels, due to the rename in: 1862ee22ce2e ("virtio-mmio: Update the device to OASIS spec version") adjust the code to the new names. Signed-off-by: Ingo Molnar --- diff --git a/tools/kvm/virtio/mmio.c b/tools/kvm/virtio/mmio.c index 5174455c6c90..1587d5c8b73a 1

[PATCH 3.10 42/62] sunrpc: fix braino in ->poll()

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 1711fd9addf214823b993468567cab1f8254fc51 upstream. POLL_OUT isn't what callers of ->poll() are expecting to see; it's actually __SI_POLL | 2 and it's a siginfo code, not a poll

Re: [PATCH v3 4/9] x86, pci, acpi: Move arch-agnostic MMCONFIG (aka ECAM) and ACPI code out of arch/x86/ directory

2015-03-16 Thread Tomasz Nowicki
On 13.03.2015 17:35, Mark Salter wrote: On Tue, 2015-03-10 at 12:35 +0100, Tomasz Nowicki wrote: ECAM standard and MCFG table are architecture independent and it makes sense to share common code across all architectures. Both are going to corresponding files - ecam.c and mcfg.c While we are her

[PATCH 3.10 57/62] HID: input: fix confusion on conflicting mappings

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 6ce901eb61aa30ba8565c62049ee80c90728ef14 upstream. On an PC-101/103/104 keyboard (American layout) the 'Enter' key and its neighbours look like this: +---+ +-

[PATCH 3.10 35/62] net: irda: fix wait_until_sent poll timeout

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 2c3fbe3cf28fbd7001545a92a83b4f8acfd9fa36 upstream. In case an infinite timeout (0) is requested, the irda wait_until_sent implementation would use a zero poll timeout rathe

Re: [PATCHv2 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread Alex Dowad
On 16/03/15 16:31, James Hogan wrote: Hi Alex, On 16/03/15 13:13, Alex Dowad wrote: The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity. Signed-off-by: Alex Dowad --- James Hogan, Thanks for reviewing this pa

[PATCH 3.10 18/62] mm/nommu.c: fix arithmetic overflow in __vm_enough_memory()

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Roman Gushchin commit 8138a67a5557ffea3a21dfd6f037842d4e748513 upstream. I noticed that "allowed" can easily overflow by falling below 0, because (total_vm / 32) can be larger than "allowed".

[PATCH 3.10 39/62] autofs4 copy_dev_ioctl(): keep the value of ->size wed used for allocation

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0a280962dc6e117e0e4baa668453f753579265d9 upstream. X-Coverup: just ask spender Signed-off-by: Al Viro Signed-off-by: Greg Kroah-Hartman --- fs/autofs4/dev-ioctl.c |8 +++

[PATCH 3.10 33/62] xhci: Allocate correct amount of scratchpad buffers

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 6596a926b0b6c80b730a1dd2fa91908e0a539c37 upstream. Include the high order bit fields for Max scratchpad buffers when calculating how many scratchpad buffers are needed. I

[PATCH 3.10 37/62] TTY: fix tty_wait_until_sent on 64-bit machines

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 79fbf4a550ed6a22e1ae1516113e6c7fa5d56a53 upstream. Fix overflow bug in tty_wait_until_sent on 64-bit machines, where an infinite timeout (0) would be passed to the underlyi

[PATCH 3.10 32/62] usb: ftdi_sio: Add jtag quirk support for Cyber Cortex AV boards

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Max Mansfield commit c7d373c3f0da2b2b78c4b1ce5ae41485b3ef848c upstream. This patch integrates Cyber Cortex AV boards with the existing ftdi_jtag_quirk in order to use serial port 0 with JTAG w

Re: [PATCH RFC 0/2] x86/fpu: avoid "xstate_fault" in xsave_user/xrestore_user

2015-03-16 Thread Borislav Petkov
On Sun, Mar 15, 2015 at 05:49:48PM +0100, Oleg Nesterov wrote: > Hello. > > Another a bit off-topic change, but I'd like to finish the discussion > with Quentin. > > And almost cosmetic. But I added the RFC tag to make it clear that this > needs a review from someone who understands gcc-asm bette

[PATCHv3 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity. Signed-off-by: Alex Dowad --- Fixed problem with whitespace, sending again. AD arch/metag/kernel/process.c | 8 ++-- 1 file changed, 6 insertions(+), 2 del

[PATCH 3.10 09/62] net: reject creation of netdev names with colons

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Thode [ Upstream commit a4176a9391868bfa87705bcd2e3b49e9b9dd2996 ] colons are used as a separator in netdev device lookup in dev_ioctl.c Specific functions are SIOCGIFTXQLEN SIOCETHTO

[PATCH 3.10 21/62] target: Check for LBA + sectors wrap-around in sbc_parse_cdb

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit aa179935edea9a64dec4b757090c8106a3907ffa upstream. This patch adds a check to sbc_parse_cdb() in order to detect when an LBA + sector vs. end-of-device calculation wr

[PATCH 3.10 25/62] btrfs: fix lost return value due to variable shadowing

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 1932b7be973b554ffe20a5bba6ffaed6fa995cdc upstream. A block-local variable stores error code but btrfs_get_blocks_direct may not return it in the end as there's a ret define

[PATCH 3.10 28/62] KVM: emulate: fix CMPXCHG8B on 32-bit hosts

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 4ff6f8e61eb7f96d3ca535c6d240f863ccd6fb7d upstream. This has been broken for a long time: it broke first in 2.6.35, then was almost fixed in 2.6.36 but this one-liner slipp

[PATCH v2 2/5] PCI: st: Add Device Tree bindings for sti pcie

2015-03-16 Thread Gabriel FERNANDEZ
sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier Signed-off-by: Gabriel Fernandez --- Documentation/devicetree/bindings/pci/st-pcie.txt | 54 +++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/

[PATCH 3.10 30/62] USB: serial: cp210x: Adding Seletek device ids

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Michiel vd Garde commit 675af70856d7cc026be8b6ea7a8b9db10b8b38a1 upstream. These device ID's are not associated with the cp210x module currently, but should be. This patch allows the devices t

[PATCH 3.10 23/62] x86/asm/entry/64: Remove a bogus ret_from_fork optimization

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 956421fbb74c3a6261903f3836c0740187cf038b upstream. 'ret_from_fork' checks TIF_IA32 to determine whether 'pt_regs' and the related state make sense for 'ret_from_sys_call

[PATCH 3.10 24/62] iio: imu: adis16400: Fix sign extension

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Rasmus Villemoes commit 19e353f2b344ad86cea6ebbc0002e5f903480a90 upstream. The intention is obviously to sign-extend a 12 bit quantity. But because of C's promotion rules, the assignment is eq

Re: [PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-03-16 Thread Benjamin Tissoires
On Mon, Mar 16, 2015 at 10:29 AM, Mario Limonciello wrote: > > On 03/14/2015 02:17 PM, Benjamin Tissoires wrote: >> >> [top posting, sorry] >> >> Jason made some interesting progress today: >> with the patch in https://lkml.org/lkml/2015/3/12/149, the sound card >> is not switched in the I2S mode

[PATCH 3.10 27/62] Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref.

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas commit dd9ef135e3542ffc621c4eb7f0091870ec7a1504 upstream. Improper arithmetics when calculting the address of the extended ref could lead to an out of bounds memory read and

[PATCH v2 3/5] PCI: st: Provide support for the sti PCIe controller

2015-03-16 Thread Gabriel FERNANDEZ
sti pcie is built around a Synopsis Designware PCIe IP. Signed-off-by: Fabrice Gasnier Signed-off-by: Gabriel Fernandez --- drivers/pci/host/Kconfig | 9 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pci-st.c | 617 ++ 3 files changed, 627

[PATCH 3.10 22/62] PM / QoS: remove duplicate call to pm_qos_update_target

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Michael Scott In 3.10.y backport patch 1dba303727f52ea062580b0a9b3f0c3b462769cf, the logic to call pm_qos_update_target was moved to __pm_qos_update_request. However, the original code was left

[PATCH 3.10 20/62] mm/memory.c: actually remap enough memory

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 upstream. For whatever reason, generic_access_phys() only remaps one page, but actually allows to access arbitrary size. It's

Re: [PATCH 4/4] x86/fpu: don't abuse drop_init_fpu() in flush_thread()

2015-03-16 Thread Oleg Nesterov
On 03/16, Borislav Petkov wrote: > > -static inline void drop_init_fpu(struct task_struct *tsk) > +/* > + * Reset the FPU state in the eager case and drop it in the lazy case (later > use > + * will reinit it). > + */ > +static inline void fpu_reset_state(struct task_struct *tsk) ACK! Perhaps yo

[PATCH 3.10 06/62] ipv4: ip_check_defrag should not assume that skb_network_offset is zero

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Drozdov [ Upstream commit 3e32e733d1bbb3f227259dc782ef01d5706bdae0 ] ip_check_defrag() may be used by af_packet to defragment outgoing packets. skb_network_offset() of af_packet's ou

[PATCH 3.10 12/62] macvtap: make sure neighbour code can push ethernet header

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2f1d8b9e8afa5a833d96afcd23abcb8cdf8d83ab ] Brian reported crashes using IPv6 traffic with macvtap/veth combo. I tracked the crashes in neigh_hh_output() -> mem

[PATCH v2 1/5] ARM: STi: Kconfig update for PCIe support

2015-03-16 Thread Gabriel FERNANDEZ
Update Kconfig: - MIGHT_HAVE_PCI - PCI_DOMAINS Signed-off-by: Fabrice Gasnier --- arch/arm/mach-sti/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-sti/Kconfig b/arch/arm/mach-sti/Kconfig index 3b1ac46..7f9b432 100644 --- a/arch/arm/mach-sti/Kconfig +++ b/arch/arm/mac

[PATCH 3.10 01/62] rtnetlink: ifla_vf_policy: fix misuses of NLA_BINARY

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit 364d5716a7adb91b731a35765d369602d68d2881 ] ifla_vf_policy[] is wrong in advertising its individual member types as NLA_BINARY since .type = NLA_BINARY in comb

[PATCH v2 0/5] PCI: st: provide support for dw pcie

2015-03-16 Thread Gabriel FERNANDEZ
Changes in v2: - comestic corrections in device tree binding - add pci-st.c into MAINTAINERS - remove st_pcie_ops structure to avoid another level of indirection - remove nasty busy-loop - remove useless test using virt_to_phys() - move disable io support into dw-pcie driver I don't change t

[tip:tools/kvm] kvmtool: Adjust to new upstream virtio constants

2015-03-16 Thread tip-bot for Ingo Molnar
Commit-ID: 2643c58e4518973f91e076b493c26dfd8642f14b Gitweb: http://git.kernel.org/tip/2643c58e4518973f91e076b493c26dfd8642f14b Author: Ingo Molnar AuthorDate: Mon, 16 Mar 2015 15:26:20 +0100 Committer: Ingo Molnar CommitDate: Mon, 16 Mar 2015 15:27:59 +0100 kvmtool: Adjust to new upstr

[PATCH 3.10 00/62] 3.10.72-stable review

2015-03-16 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.72 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 18 14:09:11 UTC 2015. Anything receiv

[PATCH 3.10 05/62] ipv4: ip_check_defrag should correctly check return value of skb_copy_bits

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Drozdov [ Upstream commit fba04a9e0c869498889b6445fd06cbe7da9bb834 ] skb_copy_bits() returns zero on success and negative value on error, so it is needed to invert the condition in i

[PATCH 3.10 31/62] USB: usbfs: dont leak kernel data in siginfo

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit f0c2b68198589249afd2b1f2c4e8de8c03e19c16 upstream. When a signal is delivered, the information in the siginfo structure is copied to userspace. Good security practice dicata

[PATCH 3.10 07/62] net: phy: Fix verification of EEE support in phy_init_eee

2015-03-16 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck [ Upstream commit 54da5a8be3c1e924c35480eb44c6e9b275f6444e ] phy_init_eee uses phy_find_setting(phydev->speed, phydev->duplex) to find a valid entry in the settings array for the

[PATCH v2 5/5] MAINTAINERS: Add pci-st.c to ARCH/STI architecture

2015-03-16 Thread Gabriel FERNANDEZ
This patch adds the pci-st.c pci driver found on STMicroelectronics SoC's into the STI arch section of the maintainers file. Signed-off-by: Gabriel Fernandez --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a0dadde..83ed2c3 100644 --- a/MAINTAIN

[PATCH v2 4/5] PCI: designware: Add disable IO support

2015-03-16 Thread Gabriel FERNANDEZ
ST sti SoCs PCIe IPs are built around DesignWare IP Core. But in these SoCs PCIe IP doesn't support IO. This patch adds the possibility to disable it through a DT property, by creating an empty IO window and by removing PCI_COMMAND_IO from the setup register. Signed-off-by: Fabrice Gasnier Signe

[PATCH 3.14 96/96] clk-gate: fix bit # check in clk_register_gate()

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 2e9dcdae4068460c45a308dd891be5248260251c upstream. In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15, however the

Re: [Xen-devel] [PATCH v4] xen-scsiback: define a pr_fmt macro with xen-pvscsi

2015-03-16 Thread David Vrabel
On 10/03/15 20:49, Tao Chen wrote: > Add the {xen-pvscsi: } prefix in pr_fmt and remove DPRINTK, then > replace all DPRINTK with pr_debug. > > Also fixed up some comments just as eliminate redundant whitespace > and format the code. > > These will make the code easier to read. Applied to devel/f

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Steven Rostedt
On Mon, 16 Mar 2015 15:19:39 +0100 Peter Zijlstra wrote: > > I suppose this is an unprivileged syscall; so what do we do about: > > for (;;) > sys_membar(EXPEDITED); > > Which would spray the entire system with IPIs at break neck speed. Perhaps it should be rate limited. H

[PATCH 3.14 71/96] IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Or Gerlitz commit e9a7faf11af94957e5107b40af46c2e329541510 upstream. The MLX4_PROT_IB_IPV4 protocol should only be used with RoCEv2 and such. Removing this wrong usage allows to run multicast

[PATCH 3.14 73/96] IB/core: When marshaling ucma path from user-space, clear unused fields

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Nelkenbaum commit c2be9dc0e0fa59cc43c2c7084fc42b430809a0fe upstream. When marshaling a user path to the kernel struct ib_sa_path, we need to zero smac and dmac and set the vlan id to the

[PATCH 3.14 72/96] IB/core: Fix deadlock on uverbs modify_qp error flow

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Moshe Lazer commit 0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b upstream. The deadlock occurs in __uverbs_modify_qp: we take a lock (idr_read_qp) and in case of failure in ib_resolve_eth_l2_attrs

Re: [PATCH v2 0/7] New Lenovos 2015 touchpads: party time!

2015-03-16 Thread Benjamin Tissoires
On Mon, Mar 9, 2015 at 3:36 PM, Benjamin Tissoires wrote: > On Mon, Mar 9, 2015 at 4:24 AM, Hans de Goede wrote: >> Hi, >> >> >> On 09-03-15 07:46, Dmitry Torokhov wrote: >>> >>> On Wed, Feb 25, 2015 at 03:58:20PM +0100, Hans de Goede wrote: Hi, On 25-02-15 15:36, Benjamin Tis

Re: [PATCH v2 1/1] usb: xhci: apply XHCI_AVOID_BEI quirk to all Intel xHCI controllers

2015-03-16 Thread Mathias Nyman
On 16.03.2015 16:31, Alistair Grant wrote: > On Mon, Mar 16, 2015 at 1:55 PM, Mathias Nyman > wrote: >> On 15.03.2015 21:18, Alistair Grant wrote: >>> On Sun, Mar 15, 2015 at 3:54 PM, Alistair Grant >>> wrote: On Thu, Mar 12, 2015 at 8:14 PM, Alistair Grant wrote: > On Thu, Mar 1

[PATCH 3.14 68/96] ALSA: hda - Disable runtime PM for Panther Point again

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit de5d0ad506cb10ab143e2ffb9def7607e3671f83 upstream. This is essentially a partial revert of the commit [b1920c21102a: 'ALSA: hda - Enable runtime PM on Panther Point']. The

Re: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement

2015-03-16 Thread Morten Rasmussen
On Fri, Mar 13, 2015 at 10:47:16PM +, Sai Gurrappadi wrote: > On 02/04/2015 10:31 AM, Morten Rasmussen wrote: > > +static int energy_aware_wake_cpu(struct task_struct *p) > > +{ > > + struct sched_domain *sd; > > + struct sched_group *sg, *sg_target; > > + int target_max_cap = SCHED_CAPAC

Re: Trusted kernel patchset

2015-03-16 Thread One Thousand Gnomes
On Fri, 13 Mar 2015 11:38:16 -1000 Matthew Garrett wrote: > 4) Used the word "measured" > > Nothing is being measured. Nothing is being trusted either. It's simple ensuring you probably have the same holes as before. Also the boot loader should be measuring the kernel before it runs it, thats

Re: [Xen-devel] [PATCH V2 2/3] xen: scsiback: add LUN of restored domain

2015-03-16 Thread David Vrabel
On 17/02/15 07:02, Juergen Gross wrote: > When a xen domain is being restored the LUN state of a pvscsi device > is "Connected" and not "Initialising" as in case of attaching a new > pvscsi LUN. > > This must be taken into account when adding a new pvscsi device for > a domain as otherwise the pvs

Re: [PATCH v2] HID: uclogic: make input_mapping independent of usb

2015-03-16 Thread Jiri Kosina
On Sun, 15 Mar 2015, Benjamin Tissoires wrote: > No need to retrieve the USB handle in input_mapping() when we already > do that in probe. It also allows to use the quirk without having to > add the product ID matching. > > Signed-off-by: Benjamin Tissoires > --- > > changes in v2: > - renamed

[PATCH 3.14 69/96] sg: fix read() error reporting

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 3b524a683af8991b4eab4182b947c65f0ce1421b upstream. Fix SCSI generic read() incorrectly returning success after detecting an error. Signed-off-by: Tony Battersby Acked-b

[PATCH 3.14 90/96] efi: Small leak on error in runtime map code

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 86d68a58d00db3770735b5919ef2c6b12d7f06f3 upstream. The "> 0" here should ">= 0" so we free map_entries[0]. Fixes: 926172d46038 ('efi: Export EFI runtime memory mapping to

Re: [Xen-devel] [PATCH 2/2] xen-pciback: also support disabling of bus-mastering and memory-write-invalidate

2015-03-16 Thread David Vrabel
On 11/03/15 13:52, Jan Beulich wrote: > It's not clear to me why only the enabling operation got handled so > far. Applied to devel/for-linus-4.1, thanks. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH] MIPS: bcm63xx: move bcm63xx_gpio_init() to bcm63xx_register_devices().

2015-03-16 Thread Maxime Bizon
On Thu, 2015-03-12 at 17:00 +0100, Nicolas Schichan wrote: > When called from prom init code, bcm63xx_gpio_init() will fail as it > will call gpiochip_add() which relies on a working kmalloc() to alloc > the gpio_desc array and kmalloc is not useable yet at prom init time. > > Move bcm63xx_gpio_

Re: [GIT PULL] nohz: Enable full dynticks on guest mode

2015-03-16 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, > > Please pull the nohz/guest branch that can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > nohz/guest > > This is 4.1 material. > > HEAD: 126a6a542446f1a49b9f3c69237c87df3eb4e6e1 > > --- > Some measu

[PATCH 3.14 75/96] fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Minh Duc Tran commit f76a610a8b4b6280eaedf48f3af9d5d74e418b66 upstream. In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141 Assert is seen with AMD cpu whenever calling pci

[PATCH 3.14 87/96] HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gerecke commit 33e5df0e0e32027866e9fb00451952998fc957f2 upstream. It appears that the Cintiq Companion Hybrid does not send an ABS_MISC event to userspace when any of its ExpressKeys are

Re: [PATCH v2] HID: wacom: ask for a in-prox report when it was missed

2015-03-16 Thread Jiri Kosina
On Thu, 5 Mar 2015, Benjamin Tissoires wrote: > If noone listens to the input device when a tool comes in proximity, > the tablet does not send the in-prox event when a client becomes available. > That means that no events will be sent until the tool is taken out of > proximity. > > In this situa

[PATCH 3.14 88/96] drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 3d2d98ee1af0cf6eebfbd6bff4c17d3601ac1284 upstream. Just in case it hasn't been calculated for the mode. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --

Re: [PATCHv3 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-16 Thread James Hogan
On 16/03/15 14:38, Alex Dowad wrote: > The 'arg' argument to copy_thread() is only ever used when forking a new > kernel thread. Hence, rename it to 'kthread_arg' for clarity. > > Signed-off-by: Alex Dowad > --- > > Fixed problem with whitespace, sending again. AD > > arch/metag/kernel/process

[PATCH 3.14 67/96] ALSA: hda - Add pin configs for ASUS mobo with IDT 92HD73XX codec

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6426460e5d87810e042962281fe3c1e8fc256162 upstream. BIOS doesn't seem to set up pins for 5.1 and the SPDIF out, so we need to give explicitly here. Reported-and-tested-by:

[PATCH 3.14 78/96] clk: sunxi: Support factor clocks with N factor starting not from 0

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Chen-Yu Tsai commit 9a5e6c7eb5ccbb5f0d3a1dffce135f0a727f40e1 upstream. The PLLs on newer Allwinner SoC's, such as the A31 and A23, have a N multiplier factor that starts from 1, not 0. This p

[PATCH 3.14 91/96] ACPI / video: Load the module even if ACPI is disabled

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 6e17cb12881ba8d5e456b89f072dc6b70048af36 upstream. i915.ko depends upon the acpi/video.ko module and so refuses to load if ACPI is disabled at runtime if for example the BI

[PATCH 3.14 86/96] HID: fixup the conflicting keyboard mappings quirk

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Kosina commit 8e7b341037db1835ee6eea64663013cbfcf33575 upstream. The ignore check that got added in 6ce901eb61 ("HID: input: fix confusion on conflicting mappings") needs to properly chec

Re: [PATCH] mm: rcu-protected get_mm_exe_file()

2015-03-16 Thread Davidlohr Bueso
On Mon, 2015-03-16 at 15:07 +0100, Oleg Nesterov wrote: > 3. and we can remove down_write(mmap_sem) from prctl paths. > > Actually we can do this even without xchg() above, but we might > want to kill MMF_EXE_FILE_CHANGED and test_and_set_bit() check. Yeah I was waiting fo

Re: [Xen-devel] [PATCH V2 3/3] xen: support suspend/resume in pvscsi frontend

2015-03-16 Thread David Vrabel
On 17/02/15 07:02, Juergen Gross wrote: > Up to now the pvscsi frontend hasn't supported domain suspend and > resume. When a domain with an assigned pvscsi device was suspended > and resumed again, it was not able to use the device any more: trying > to do so resulted in hanging processes. > > Sup

[PATCH 3.14 82/96] dm: fix a race condition in dm_get_md

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2bec1f4a8832e74ebbe859f176d8a9cb20dd97f4 upstream. The function dm_get_md finds a device mapper device with a given dev_t, increases the reference count and returns the

Re: [PATCH v4 5/5] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-03-16 Thread Alan Stern
On Mon, 16 Mar 2015, Ruslan Bilovol wrote: > >> + if (ret) { > >> + struct usb_gadget_driver *tmp; > >> + > >> + list_for_each_entry(tmp, &gadget_driver_pending_list, > >> pending) > >> + if (tmp == driver) { > >> + list_

Re: [PATCH] tick/broadcast-hrtimer : Fix suspicious RCU usage in idle loop

2015-03-16 Thread Peter Zijlstra
On Thu, Mar 05, 2015 at 10:06:30AM +0530, Preeti U Murthy wrote: > > On 03/02/2015 08:23 PM, Peter Zijlstra wrote: > > On Thu, Feb 26, 2015 at 08:52:02AM +0530, Preeti U Murthy wrote: > >> The hrtimer mode of broadcast queues hrtimers in the idle entry > >> path so as to wakeup cpus in deep idle s

[PATCH 3.14 77/96] sunxi: clk: Set sun6i-pll1 n_start = 1

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad upstream. For all pll-s on sun6i n == 0 means use a multiplier of 1, rather then 0 as it means on sun4i / sun5i / sun7i. n_start =

Re: [RFC PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-03-16 Thread Charles Keepax
On Thu, Mar 12, 2015 at 10:17:11AM +0800, Songjun Wu wrote: > Enable WM8731 to support common clock framework. > > Signed-off-by: Songjun Wu > --- Looks ok to me: Acked-by: Charles Keepax Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH 3.14 79/96] staging: comedi: comedi_compat32.c: fix COMEDI_CMD copy back

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 42b8ce6f55facfa101462e694d33fc6bca471138 upstream. `do_cmd_ioctl()` in "comedi_fops.c" handles the `COMEDI_CMD` ioctl. This returns `-EAGAIN` if it has copied a modified `str

[PATCH 3.14 74/96] nilfs2: fix potential memory overrun on inode

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 957ed60b53b519064a54988c4e31e0087e47d091 upstream. Each inode of nilfs2 stores a root node of a b-tree, and it turned out to have a memory overrun issue: Each b-tree no

[PATCH 3.14 83/96] dm snapshot: fix a possible invalid memory access on unload

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 22aa66a3ee5b61e0f4a0bfeabcaa567861109ec3 upstream. When the snapshot target is unloaded, snapshot_dtr() waits until pending_exceptions_count drops to zero. Then, it des

Re: [PATCH] ARM: dts: Update lid and power pin-functions for exynos5250-spring

2015-03-16 Thread Andreas Färber
Kukjin, Am 19.02.2015 um 12:49 schrieb Javier Martinez Canillas: > Hello Andreas, > > On 02/18/2015 05:17 PM, Andreas Färber wrote: >> Configure the pins in external interrupt mode, as done for Snow in >> e5e5c6d14e39 ("ARM: dts: Add power and lid GPIO keys pinctrl for >> exynos5250-snow"). >> >>

[PATCH 3.14 95/96] ath6kl: fix struct hif_scatter_req list handling

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Kalle Valo commit 31b9cc9a873dcab161999622314f98a75d838975 upstream. Jason noticed that with Yocto GCC 4.8.1 ath6kl crashes with this iperf command: iperf -c $TARGET_IP -i 5 -t 50 -w 1M The

[PATCH 3.14 30/96] target: Check for LBA + sectors wrap-around in sbc_parse_cdb

2015-03-16 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit aa179935edea9a64dec4b757090c8106a3907ffa upstream. This patch adds a check to sbc_parse_cdb() in order to detect when an LBA + sector vs. end-of-device calculation wr

Re: [PATCH] ARM: dts: Update exynos5250-spring with mmc node changes

2015-03-16 Thread Andreas Färber
Am 19.02.2015 um 12:46 schrieb Javier Martinez Canillas: > Hello Andreas, > > On 02/18/2015 05:10 PM, Andreas Färber wrote: >> Resolve a merge conflict with mmc refactoring aaa25a5a33cb ("ARM: dts: >> unuse the slot-node and deprecate the supports-highspeed for dw-mmc in >> exynos") by dropping th

<    2   3   4   5   6   7   8   9   10   11   >