Re: [PATCH] cpufreq: move policy kobj to policy-cpu at resume

2014-07-11 Thread Viresh Kumar
On 10 July 2014 16:45, Srivatsa S. Bhat sriva...@mit.edu wrote: Looks good to me. But I think it would be better to move the invocation of kobject_move() to update_policy_cpu() itself, so that update_policy_cpu() will do all the work involved in updating the policy-cpu, as its name suggests.

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-11 Thread h...@infradead.org
On Wed, Jul 09, 2014 at 10:27:24PM +, James Bottomley wrote: If we fix it at source, why would there be any need to filter? That's the reason the no_write_same flag was introduced. If we can find and fix the bug, it can go back into the stable trees as a bug fix, hence nothing should

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Hugh Dickins
On Thu, 10 Jul 2014, Hugh Dickins wrote: On Thu, 10 Jul 2014, Sasha Levin wrote: On 07/10/2014 01:55 PM, Hugh Dickins wrote: And finally, (not) holding the i_mmap_mutex: I don't understand what prompts you to show this particular task. I imagine the dump shows lots of other tasks which

[PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
Signed-off-by: Søren Holm s...@sgh.dk Cc: stable@vger.kernel.org --- drivers/usb/serial/sierra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/serial/sierra.c b/drivers/usb/serial/sierra.c index 6f7f01e..c55548a 100644 --- a/drivers/usb/serial/sierra.c +++

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Peter Zijlstra
On Thu, Jul 10, 2014 at 03:02:29PM -0400, Sasha Levin wrote: What if we move lockdep's acquisition point to after it actually got the lock? NAK, you want to do deadlock detection _before_ you're stuck in a deadlock. We'd miss deadlocks, but we don't care about them right now. Anyways, doesn't

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Vlastimil Babka
On 07/11/2014 10:25 AM, Peter Zijlstra wrote: On Thu, Jul 10, 2014 at 03:02:29PM -0400, Sasha Levin wrote: What if we move lockdep's acquisition point to after it actually got the lock? NAK, you want to do deadlock detection _before_ you're stuck in a deadlock. We'd miss deadlocks, but we

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 10:33:15AM +0200, Vlastimil Babka wrote: Quoting Hugh from previous mail in this thread: [ 363.600969] INFO: task trinity-c327:9203 blocked for more than 120 seconds. [ 363.605359] Not tainted 3.16.0-rc4-next-20140708-sasha-00022-g94c7290-dirty #772

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
oh... I just noticed that qcserial.c also handles this exact same USB-id. Will that pose a problem or is this the way things should be? Fredag den 11. juli 2014 09:53:53 skrev Søren Holm: Signed-off-by: Søren Holm s...@sgh.dk Cc: stable@vger.kernel.org --- drivers/usb/serial/sierra.c | 1 +

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Bjørn Mork
Søren Holm s...@sgh.dk writes: oh... I just noticed that qcserial.c also handles this exact same USB-id. Will that pose a problem or is this the way things should be? The device should be handled by only one of the drivers. If it is going to be handled by sierra driver then we should

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Vlastimil Babka
On 07/11/2014 10:38 AM, Peter Zijlstra wrote: On Fri, Jul 11, 2014 at 10:33:15AM +0200, Vlastimil Babka wrote: Quoting Hugh from previous mail in this thread: [ 363.600969] INFO: task trinity-c327:9203 blocked for more than 120 seconds. [ 363.605359] Not tainted

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
Fredag den 11. juli 2014 10:47:50 skrev Bjørn Mork: The device should be handled by only one of the drivers. If it is going to be handled by sierra driver then we should remove the entry from the qcserial driver. My memory is on vacation... Was it so that the qcserial driver fails on

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
qcserial from master on top of v3.14 works. I applied this patch on 3.14.5 $ git diff v3.14..ba2c0922f74a57d794c10646c3a70ee5a5e14668 -- drivers/usb/serial/qcserial.c In total that sums up to these commits : 0ce5fb5 usb: qcserial: add additional Sierra Wireless QMI devices ff1fcd5 usb:

Re: [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Philipp Hahn
Hello Wei Liu, On 10.07.2014 14:41, Wei Liu wrote: On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: @Wei Liu: You said that the patch is only a quick hack to detect, if my analysis is correct and a proper fix would be needed. For us the attached patch works, as the problem does

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Bjørn Mork
Søren Holm s...@sgh.dk writes: Fredag den 11. juli 2014 10:47:50 skrev Bjørn Mork: The device should be handled by only one of the drivers. If it is going to be handled by sierra driver then we should remove the entry from the qcserial driver. My memory is on vacation... Was it so that

Re: [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Wei Liu
On Fri, Jul 11, 2014 at 11:41:22AM +0200, Philipp Hahn wrote: Hello Wei Liu, On 10.07.2014 14:41, Wei Liu wrote: On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: @Wei Liu: You said that the patch is only a quick hack to detect, if my analysis is correct and a proper fix

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Bjørn Mork
Søren Holm s...@sgh.dk writes: qcserial from master on top of v3.14 works. Thanks for verifying. You did ensure that you can actually talk to the serial ports? I applied this patch on 3.14.5 $ git diff v3.14..ba2c0922f74a57d794c10646c3a70ee5a5e14668 -- drivers/usb/serial/qcserial.c

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
Fredag den 11. juli 2014 11:57:30 skrev Bjørn Mork: Søren Holm s...@sgh.dk writes: qcserial from master on top of v3.14 works. Thanks for verifying. You did ensure that you can actually talk to the serial ports? I beleive so. wvdial where able to connect. Actually, commit 51b9a752fa1c

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Bjørn Mork
Søren Holm s...@sgh.dk writes: Fredag den 11. juli 2014 11:57:30 skrev Bjørn Mork: Søren Holm s...@sgh.dk writes: qcserial from master on top of v3.14 works. Thanks for verifying. You did ensure that you can actually talk to the serial ports? I beleive so. wvdial where able to connect.

Re: [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Wei Liu
On Fri, Jul 11, 2014 at 11:41:22AM +0200, Philipp Hahn wrote: Hello Wei Liu, On 10.07.2014 14:41, Wei Liu wrote: On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: @Wei Liu: You said that the patch is only a quick hack to detect, if my analysis is correct and a proper fix

Re: [Xen-devel] [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Philipp Hahn
Hello Wei Liu, On 11.07.2014 12:32, Wei Liu wrote: On Fri, Jul 11, 2014 at 11:41:22AM +0200, Philipp Hahn wrote: On 10.07.2014 14:41, Wei Liu wrote: On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: @Wei Liu: You said that the patch is only a quick hack to detect, if my analysis

Re: [Xen-devel] [PATCH] Kernel OOPS in xen_netbk_rx_action / xenvif_gop_skb

2014-07-11 Thread Wei Liu
On Fri, Jul 11, 2014 at 01:02:18PM +0200, Philipp Hahn wrote: Hello Wei Liu, On 11.07.2014 12:32, Wei Liu wrote: On Fri, Jul 11, 2014 at 11:41:22AM +0200, Philipp Hahn wrote: On 10.07.2014 14:41, Wei Liu wrote: On Wed, Jul 02, 2014 at 09:45:44AM +0200, Philipp Hahn wrote: @Wei Liu: You

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
First I notice that I don't even have qcserial on the target ... doh lsusb gives this - so problably getting qcserial on the target will problably solve it. Bus 001 Device 003: ID 1199:68c0 Sierra Wireless, Inc. Device Descriptor: bLength18 bDescriptorType 1

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
Oh dear it's friday # modinfo qcserial | grep 1199p68 alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in03* alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in02* alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in00* alias: usb:v1199p68A9d*dc*dsc*dp*ic*isc*ip*in* alias:

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Bjørn Mork
Søren Holm s...@sgh.dk writes: Oh dear it's friday # modinfo qcserial | grep 1199p68 alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in03* alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in02* alias: usb:v1199p68A2d*dc*dsc*dp*ic*isc*ip*in00* alias:

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Sasha Levin
On 07/11/2014 04:25 AM, Peter Zijlstra wrote: On Thu, Jul 10, 2014 at 03:02:29PM -0400, Sasha Levin wrote: What if we move lockdep's acquisition point to after it actually got the lock? NAK, you want to do deadlock detection _before_ you're stuck in a deadlock. I didn't suggest to do it in

Re: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-11 Thread Martin K. Petersen
hch == hch@infradead org h...@infradead.org writes: (Back from vacation: Bear with me while I'm catching up on two weeks of linux-scsi stuff...) hch I think the problem is a differnet one. If we have the logical hch provisioning EVPD it configures what method to use, but if we don't hch have

Re: [RFC PATCH] hwrng: sysfs entry rng_seed_kernel, was: Re: [PATCH v2 1/2] hwrng: fetch randomness only after device init

2014-07-11 Thread Amit Shah
On (Wed) 09 Jul 2014 [12:07:25], Jason Cooper wrote: Amit, Kees, (snip) I'm cooling to the idea of the init function for virtio-rng, and it might be best just to admit that there's no way to seed the entropy pool from the virtio-rng at probe time. After all, once userspace is up, the

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Hugh Dickins
On Fri, 11 Jul 2014, Sasha Levin wrote: There's no easy way to see whether a given task is actually holding a lock or is just blocking on it without going through all those tasks one by one and looking at their trace. I agree with you that The call trace is very clear on it that its not,

Re: [RFC PATCH] hwrng: sysfs entry rng_seed_kernel, was: Re: [PATCH v2 1/2] hwrng: fetch randomness only after device init

2014-07-11 Thread Jason Cooper
On Fri, Jul 11, 2014 at 06:56:26PM +0530, Amit Shah wrote: On (Wed) 09 Jul 2014 [12:07:25], Jason Cooper wrote: Amit, Kees, (snip) I'm cooling to the idea of the init function for virtio-rng, and it might be best just to admit that there's no way to seed the entropy pool from the

Fwd: Re: GRO issue with kernel 3.4.94 (icmp fragmentation needed)

2014-07-11 Thread Thomas Jarosch
Hi Greg, this is probably the correct place to send it. Sorry! My brain needs a break after debugging this all day... :) -- Forwarded Message -- Subject: Fwd: Re: GRO issue with kernel 3.4.94 (icmp fragmentation needed) Date: Friday, 11. July 2014, 17:12:55 From: Thomas

Re: + shmem-fix-faulting-into-a-hole-while-its-punched-take-2.patch added to -mm tree

2014-07-11 Thread Peter Zijlstra
On Fri, Jul 11, 2014 at 07:55:50AM -0700, Hugh Dickins wrote: On Fri, 11 Jul 2014, Sasha Levin wrote: There's no easy way to see whether a given task is actually holding a lock or is just blocking on it without going through all those tasks one by one and looking at their trace.

Re: [PATCH] sierra: Added USB id for Sierra Wirelss MC7304.

2014-07-11 Thread Søren Holm
Ok, then maybe it's not 3.14.5 It's a little bit unclean since the kernel is from this repo : git://git.yoctoproject.org/linux-yocto-3.14.git commit 144595ef6215a0febfb8ee7d0c9e4eb2eaf93d61 Fact is that master supports the MC73xx, and I seem to be running a kernel that does not. Does it make

Re: Fw: [Bug 79891] New: Router causes TCP retransmits for windows hosts after ip_forward: fix inverted local_df test

2014-07-11 Thread Ben Hutchings
On Thu, 2014-07-10 at 10:11 -0700, Cong Wang wrote: On Thu, Jul 10, 2014 at 6:44 AM, Stephen Hemminger step...@networkplumber.org wrote: After upgrading a router to Linux 3.2.60 most windows machines behind it started experiencing connection stalls. Downgrade to 3.2.59 resolved the

Re: Fw: [Bug 79891] New: Router causes TCP retransmits for windows hosts after ip_forward: fix inverted local_df test

2014-07-11 Thread Cong Wang
On Fri, Jul 11, 2014 at 11:11 AM, Ben Hutchings b...@decadent.org.uk wrote: On Thu, 2014-07-10 at 10:11 -0700, Cong Wang wrote: On Thu, Jul 10, 2014 at 6:44 AM, Stephen Hemminger step...@networkplumber.org wrote: After upgrading a router to Linux 3.2.60 most windows machines behind it

Re: Fw: [Bug 79891] New: Router causes TCP retransmits for windows hosts after ip_forward: fix inverted local_df test

2014-07-11 Thread Ben Hutchings
On Fri, 2014-07-11 at 11:38 -0700, Cong Wang wrote: On Fri, Jul 11, 2014 at 11:11 AM, Ben Hutchings b...@decadent.org.uk wrote: On Thu, 2014-07-10 at 10:11 -0700, Cong Wang wrote: On Thu, Jul 10, 2014 at 6:44 AM, Stephen Hemminger step...@networkplumber.org wrote: After upgrading a

Re: [Bug 79891] New: Router causes TCP retransmits for windows hosts after ip_forward: fix inverted local_df test

2014-07-11 Thread David Miller
From: Ben Hutchings b...@decadent.org.uk Date: Fri, 11 Jul 2014 20:01:12 +0100 On Fri, 2014-07-11 at 11:38 -0700, Cong Wang wrote: On Fri, Jul 11, 2014 at 11:11 AM, Ben Hutchings b...@decadent.org.uk wrote: On Thu, 2014-07-10 at 10:11 -0700, Cong Wang wrote: On Thu, Jul 10, 2014 at 6:44 AM,

Re: FAILED: patch [PATCH] i40e: fix passing wrong error code to i40e_open() failed to apply to 3.15-stable tree

2014-07-11 Thread Jean Sacren
From: gre...@linuxfoundation.org Date: Mon, 07 Jul 2014 13:49:38 -0700 The patch below does not apply to the 3.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to

RE: [PATCH 7/8] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-11 Thread KY Srinivasan
-Original Message- From: Christoph Hellwig [mailto:h...@infradead.org] Sent: Thursday, July 10, 2014 3:19 AM To: KY Srinivasan Cc: linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com; jasow...@redhat.com; a...@canonical.com;

+ coredump-fix-the-setting-of-pf_dumpcore.patch added to -mm tree

2014-07-11 Thread akpm
The patch titled Subject: coredump: fix the setting of PF_DUMPCORE has been added to the -mm tree. Its filename is coredump-fix-the-setting-of-pf_dumpcore.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/coredump-fix-the-setting-of-pf_dumpcore.patch

Re: [Bug 79891] New: Router causes TCP retransmits for windows hosts after ip_forward: fix inverted local_df test

2014-07-11 Thread Florian Westphal
David Miller da...@davemloft.net wrote: From: Ben Hutchings b...@decadent.org.uk Date: Fri, 11 Jul 2014 20:01:12 +0100 On Fri, 2014-07-11 at 11:38 -0700, Cong Wang wrote: [..] http://marc.info/?l=linux-netdevm=139949081418806w=2 This commit should have been reverted for older

+ mm-page-writebackc-fix-divide-by-zero-in-bdi_dirty_limits.patch added to -mm tree

2014-07-11 Thread akpm
The patch titled Subject: mm/page-writeback.c: fix divide by zero in bdi_dirty_limits() has been added to the -mm tree. Its filename is mm-page-writebackc-fix-divide-by-zero-in-bdi_dirty_limits.patch This patch should soon appear at

patch platform_get_irq: Revert to platform_get_resource if of_irq_get fails added to driver-core tree

2014-07-11 Thread gregkh
This is a note to let you know that I've just added the patch titled platform_get_irq: Revert to platform_get_resource if of_irq_get fails to my driver-core git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git in the driver-core-linus

patch USB: serial: ftdi_sio: Add Infineon Triboard added to usb tree

2014-07-11 Thread gregkh
This is a note to let you know that I've just added the patch titled USB: serial: ftdi_sio: Add Infineon Triboard to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of

patch phy: core: Fix error path in phy_create() added to usb tree

2014-07-11 Thread gregkh
This is a note to let you know that I've just added the patch titled phy: core: Fix error path in phy_create() to my usb git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git in the usb-linus branch. The patch will show up in the next release of

Re: [PATCHES] Networking

2014-07-11 Thread Rui Xiang
On 2014/6/18 13:20, David Miller wrote: Please queue up the following networking bug fixes for v3.2, v3.4, v3.10, v3.14, and v3.15, respectively. Thanks! Hi, David I found the 3.10_box contained the fixes for CVE-2014-0181, but 3.4_box didn't. Did you miss those, or you would queue

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-11 Thread KY Srinivasan
-Original Message- From: h...@infradead.org [mailto:h...@infradead.org] Sent: Thursday, July 10, 2014 11:32 PM To: James Bottomley Cc: KY Srinivasan; linux-ker...@vger.kernel.org; m...@mkp.net; h...@infradead.org; de...@linuxdriverproject.org; a...@canonical.com;

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-11 Thread KY Srinivasan
-Original Message- From: Martin K. Petersen [mailto:martin.peter...@oracle.com] Sent: Friday, July 11, 2014 5:54 AM To: h...@infradead.org Cc: James Bottomley; KY Srinivasan; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; a...@canonical.com; stable@vger.kernel.org;