[PATCH] nfsd: prevent NULL ptr derefs on fault injection

2012-11-27 Thread Sasha Levin
A recent patch series has moved hashtable initialization to when the net struct is initialized. When injecting faults, we tried accessing the hashtables even if the struct wasn't really initialized (nfsd wasn't in use) - this caused a NULL ptr deref. A simple test would be: echo 1

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Paul E. McKenney paul...@linux.vnet.ibm.com: It is OK to call rcu_irq_exit() without a matching rcu_irq_enter() -only- if you have also called rcu_idle_exit() since the last rcu_idle_enter(). There will be a similar rule for rcu_user_exit(). More generally, it is OK to call

Re: [PATCH 4/5] perf, amd: Enable northbridge performance counters on AMD family 15h

2012-11-27 Thread Jacob Shin
On Tue, Nov 27, 2012 at 01:10:51PM +0100, Robert Richter wrote: One minor comment: On 26.11.12 16:48:30, Jacob Shin wrote: __init int amd_pmu_init(void) { /* Performance-monitoring supported from K7 and later: */ @@ -666,6 +749,10 @@ __init int amd_pmu_init(void)

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an exception. Ok. There seem to be a bug in kvm_async_pf_task_wait(). Using idle_cpu(cpu) to find out if the current task is the

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an exception. Ok. There seem to be a bug in kvm_async_pf_task_wait(). Using idle_cpu(cpu) to find out if the current task is the

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Li Zhong zh...@linux.vnet.ibm.com: I noticed some warnings complaining about dynticks_nesting value, like [ 267.545032] [ cut here ] [ 267.545032] WARNING: at kernel/rcutree.c:382 rcu_eqs_enter+0xab/0xc0() [ 267.545032] Hardware name: Bochs [

Re: linux-next: Tree for Nov 27 (file notify)

2012-11-27 Thread Randy Dunlap
On 11/26/2012 10:25 PM, Stephen Rothwell wrote: Hi all, Changes since 20121126: when CONFIG_PROC_FS is not enabled (also seen in mmotm): fs/notify/fanotify/fanotify_user.c:436:17: error: 'fanotify_show_fdinfo' undeclared here (not in a function) fs/notify/inotify/inotify_user.c:333:17:

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-27 Thread Mark Brown
On Tue, Nov 27, 2012 at 04:37:32PM +0100, Laurent Pinchart wrote: One possibly crazy idea I had was to replace backlight devices as we know them with LED devices (a LED driver IC shouldn't be supported by different APIs depending on whether the LEDs it drives are used as a backlight or

[patch,v3,repost 03/10] scsi: make scsi_alloc_sdev numa-aware

2012-11-27 Thread Jeff Moyer
Use the numa node id set in the Scsi_Host to allocate the sdev structure on the device-local numa node. Reviewed-by: Bart Van Assche bvanass...@acm.org Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/scsi_scan.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[patch,v3,repost 07/10] megaraid_sas: use scsi_host_alloc_node

2012-11-27 Thread Jeff Moyer
Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/megaraid/megaraid_sas_base.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index d2c5366..707a6cd 100644 ---

[patch,v3,repost 06/10] ata: use scsi_host_alloc_node

2012-11-27 Thread Jeff Moyer
Acked-by: Jeff Garzik jgar...@redhat.com Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/ata/libata-scsi.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index e3bda07..9d5dd09 100644 ---

[patch,v3,repost 10/10] cciss: use blk_init_queue_node

2012-11-27 Thread Jeff Moyer
Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/block/cciss.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index b0f553b..5fe5546 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c @@ -1930,7 +1930,8

[patch,v3,repost 01/10] scsi: add scsi_host_alloc_node

2012-11-27 Thread Jeff Moyer
Allow an LLD to specify on which numa node to allocate scsi data structures. Thanks to Bart Van Assche for the suggestion. Reviewed-by: Bart Van Assche bvanass...@acm.org Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/hosts.c | 13 +++-- include/scsi/scsi_host.h |

[patch,v3,repost 09/10] lpfc: use scsi_host_alloc_node

2012-11-27 Thread Jeff Moyer
Acked-By: James Smart james.sm...@emulex.com Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/lpfc/lpfc_init.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 7dc4218..65956d3 100644

[patch,v3,repost 08/10] mpt2sas: use scsi_host_alloc_node

2012-11-27 Thread Jeff Moyer
Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/mpt2sas/mpt2sas_scsih.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index af4e6c4..a4d6b36 100644 ---

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Paul E. McKenney paul...@linux.vnet.ibm.com: On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an exception. Ok. There seem to be a bug in kvm_async_pf_task_wait().

[patch,v3,repost 02/10] scsi: make __scsi_alloc_queue numa-aware

2012-11-27 Thread Jeff Moyer
Pass the numa node id set in the Scsi_Host on to blk_init_queue_node in order to keep all allocations local to the numa node the device is closest to. Reviewed-by: Bart Van Assche bvanass...@acm.org Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/scsi_lib.c |3 ++- 1 files

[patch,v3,repost 05/10] sd: use alloc_disk_node

2012-11-27 Thread Jeff Moyer
Reviewed-by: Bart Van Assche bvanass...@acm.org Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/sd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 12f6fdf..a5dae6b 100644 --- a/drivers/scsi/sd.c +++

[patch,v3,repost 00/10] make I/O path allocations more numa-friendly

2012-11-27 Thread Jeff Moyer
Hi, This patch set makes memory allocations for data structures used in the I/O path more numa friendly by allocating them from the same numa node as the storage device. I've only converted a handful of drivers at this point. My testing is limited by the hardware I have on hand. Using these

[patch,v3,repost 04/10] scsi: allocate scsi_cmnd-s from the device's local numa node

2012-11-27 Thread Jeff Moyer
Reviewed-by: Bart Van Assche bvanass...@acm.org Signed-off-by: Jeff Moyer jmo...@redhat.com --- drivers/scsi/scsi.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 2936b44..1750702 100644 ---

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-11-27 Thread Stephen Hemminger
On Tue, 27 Nov 2012 14:45:13 +0800 Jason Wang jasow...@redhat.com wrote: On 11/27/2012 01:37 AM, Stephen Hemminger wrote: On Mon, 26 Nov 2012 15:56:52 +0800 Jason Wang jasow...@redhat.com wrote: Some deivces do not free the old tx skbs immediately after it has been sent (usually in tx

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Gleb Natapov g...@redhat.com: On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an exception. Ok. There seem to be a bug in kvm_async_pf_task_wait(). Using

Re: [PATCH 9/9] TTY: call tty_port_destroy in the rest of drivers

2012-11-27 Thread Peter Hurley
On Thu, 2012-11-15 at 09:49 +0100, Jiri Slaby wrote: After commit TTY: move tty buffers to tty_port, the tty buffers are not freed in some drivers. This is because tty_port_destructor is not called whenever a tty_port is freed. This was an assumption I counted with but was unfortunately

Re: [PATCH 2/2 v5] loop: Limit the number of requests in the bio list

2012-11-27 Thread Jeff Moyer
Lukas Czerner lczer...@redhat.com writes: Currently there is not limitation of number of requests in the loop bio list. This can lead into some nasty situations when the caller spawns tons of bio requests taking huge amount of memory. This is even more obvious with discard where

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Paul E. McKenney
On Tue, Nov 27, 2012 at 05:48:18PM +0100, Frederic Weisbecker wrote: 2012/11/27 Paul E. McKenney paul...@linux.vnet.ibm.com: On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 05:51:12PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: On Tue, Nov 27, 2012 at 04:56:30PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: For KVM_PV_REASON_PAGE_NOT_PRESENT it behaves like an exception.

Re: [PATCH] nfsd: prevent NULL ptr derefs on fault injection

2012-11-27 Thread J. Bruce Fields
On Tue, Nov 27, 2012 at 11:31:11AM -0500, Sasha Levin wrote: A recent patch series has moved hashtable initialization to when the net struct is initialized. When injecting faults, we tried accessing the hashtables even if the struct wasn't really initialized (nfsd wasn't in use) - this

Re: [PATCH 9/9] TTY: call tty_port_destroy in the rest of drivers

2012-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 11:52:09AM -0500, Peter Hurley wrote: On Thu, 2012-11-15 at 09:49 +0100, Jiri Slaby wrote: After commit TTY: move tty buffers to tty_port, the tty buffers are not freed in some drivers. This is because tty_port_destructor is not called whenever a tty_port is freed.

Re: Alignment Issue with Direct IO to NVMe Drive

2012-11-27 Thread Matthew Wilcox
On Tue, Nov 27, 2012 at 01:09:46PM +0100, Jens Axboe wrote: On 2012-11-27 01:35, Laine Walker-Avina wrote: Hi all, We are experiencing an issue with doing direct IO to a NVMe device I'm helping to develop. Every so often, the physical address given by sg_dma_address() is aligned to

Re: [PATCH] nfsd: prevent NULL ptr derefs on fault injection

2012-11-27 Thread Bryan Schumaker
On 11/27/2012 12:01 PM, J. Bruce Fields wrote: On Tue, Nov 27, 2012 at 11:31:11AM -0500, Sasha Levin wrote: A recent patch series has moved hashtable initialization to when the net struct is initialized. When injecting faults, we tried accessing the hashtables even if the struct wasn't

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread David Woodhouse
Krzysztof, you've fixed a bunch of races... but I think there's one still left. An ATM driver will often have code like this, which gets called from arbitrary contexts: if (vcc-pop) vcc-pop(vcc, skb); Now, what happens if pppoatm_send(vcc, NULL) happens after the address

Re: [RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-27 Thread Stephen Warren
On 11/26/2012 11:33 PM, Terje Bergström wrote: On 27.11.2012 01:39, Stephen Warren wrote: Clock names shouldn't be passed in platform data; instead, clk_get() should be passed the device object and device-relative (i.e. not global) clock name. I expect if the driver is fixed to make this

Re: [PATCH v3] drivers: staging: remove last usage of NIPQUAD and NIP6 in gdm72xx

2012-11-27 Thread Greg KH
On Tue, Nov 27, 2012 at 10:37:46AM +0800, Shan Wei wrote: From: Shan Wei davids...@tencent.com commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT, and NIP6 also is out of date. Because DEBUG_SDU is not defined in gdm_wimax.h, no error message when compiling this

Re: [PATCH] tty: don't dead while flushing workqueue

2012-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 10:53:57AM +0100, Sebastian Andrzej Siewior wrote: On Wed, Nov 21, 2012 at 02:04:26PM +, Alan Cox wrote: I don't see any problems in my testcase. This looks fine to me as by the time we call tty_ldisc_release we have already set TTY_CLOSING on both sides.

Re: [PATCH v4] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-27 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2012 at 10:14:33AM +0400, Ilya Zykov wrote: Sorry. More correct. In what way? Should I wait for the 6th version? :) thanks, greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 9/9] TTY: call tty_port_destroy in the rest of drivers

2012-11-27 Thread Peter Hurley
On Tue, 2012-11-27 at 09:04 -0800, Greg Kroah-Hartman wrote: On Tue, Nov 27, 2012 at 11:52:09AM -0500, Peter Hurley wrote: On Thu, 2012-11-15 at 09:49 +0100, Jiri Slaby wrote: After commit TTY: move tty buffers to tty_port, the tty buffers are not freed in some drivers. This is because

[PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory leak confusing labels

2012-11-27 Thread Vitalii Demianets
Memory leak was caused by jumping to the wrong exit label. So, it is good time to improve misleading label names too. Signed-off-by: Vitalii Demianets vi...@nppfactor.kiev.ua --- drivers/uio/uio_pdrv_genirq.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff

Re: [PATCH] Smack: prevent revoke-subject from failing when unseen label is written to it

2012-11-27 Thread Casey Schaufler
On 11/27/2012 7:28 AM, Rafal Krypa wrote: Special file /smack/revoke-subject will silently accept labels that are not present on the subject label list. Nothing has to be done for such labels, as there are no rules for them to revoke. Targeted for git://git.gitorious.org/smack-next/kernel.git

Re: [PATCH] Smack: add missing support for transmute bit in smack_str_from_perm()

2012-11-27 Thread Casey Schaufler
On 11/27/2012 7:29 AM, Rafal Krypa wrote: This fixes audit logs for granting or denial of permissions to show information about transmute bit. Targeted for git://git.gitorious.org/smack-next/kernel.git I will queue this for 3.9 as I've just submitted the 3.8 Smack changes. Signed-off-by:

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Gleb Natapov g...@redhat.com: diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 4180a87..636800d 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -113,7 +113,7 @@ void kvm_async_pf_task_wait(u32 token) int cpu, idle; cpu =

RE: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-27 Thread Fujinaka, Todd
Forgive me if I'm being too repetitious as I think some of this has been mentioned in the past. We (and by we I mean the Ethernet part and driver) can only change the advertised availability of a larger MaxPayloadSize. The size is negotiated by both sides of the link when the link is

[patch] [SCSI] csiostor: remove unneeded memset()

2012-11-27 Thread Dan Carpenter
No need to memset() this when we just copy over it on the next line. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/csiostor/csio_lnode.c b/drivers/scsi/csiostor/csio_lnode.c index 551959e..8b54976 100644 --- a/drivers/scsi/csiostor/csio_lnode.c +++

Re: [PATCH] nfsd: prevent NULL ptr derefs on fault injection

2012-11-27 Thread Bryan Schumaker
On 11/27/2012 12:06 PM, Bryan Schumaker wrote: On 11/27/2012 12:01 PM, J. Bruce Fields wrote: On Tue, Nov 27, 2012 at 11:31:11AM -0500, Sasha Levin wrote: A recent patch series has moved hashtable initialization to when the net struct is initialized. When injecting faults, we tried accessing

[PATCH] mfd: arizona: Register haptics devices

2012-11-27 Thread Mark Brown
Both WM5102 and WM5110 support haptics, register the device. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index 5e4e9c5..8572dfd 100644

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread Krzysztof Mazur
On Tue, Nov 27, 2012 at 05:16:32PM +, David Woodhouse wrote: Krzysztof, you've fixed a bunch of races... but I think there's one still left. An ATM driver will often have code like this, which gets called from arbitrary contexts: if (vcc-pop) vcc-pop(vcc, skb);

[PATCH 0/3] Smack: add support for modification of existing rules, restructure rules list showing in smackfs

2012-11-27 Thread Rafal Krypa
The following three patches are intended to introduce in-place modification of Smack rules. Until now Smack supported only overwriting of existing rules. To change permitted access for a given subject and object, user had to read list of rules to get current accesses, modify it and write modified

[PATCH 1/3] Smack: use RCU functions and read locking in smackfs seq list operations

2012-11-27 Thread Rafal Krypa
Targeted for git://git.gitorious.org/smack-next/kernel.git Signed-off-by: Rafal Krypa r.kr...@samsung.com --- security/smack/smackfs.c | 50 +++--- 1 file changed, 20 insertions(+), 30 deletions(-) diff --git a/security/smack/smackfs.c

[PATCH 2/3] Smack: remove global master list of rules

2012-11-27 Thread Rafal Krypa
The global rule list was optimized and changed into two-level list some time ago. But the master list remained, serving as data source for reading /smack/load and /smack/load2. It contained all the same information as the new two-level list, duplicating all global rules. This patch removes the

[PATCH 3/3] Smack: add support for modification of existing rules

2012-11-27 Thread Rafal Krypa
Rule modifications are enabled via /smack/change-rule. Format is as follows: Subject Object rwaxt rwaxt First two strings are subject and object labels up to 255 characters. Third string contains permissions to enable. Fourth string contains permissions to disable. All unmentioned permissions

Re: Alignment Issue with Direct IO to NVMe Drive

2012-11-27 Thread Laine Walker-Avina
On Tue, Nov 27, 2012 at 4:09 AM, Jens Axboe ax...@kernel.dk wrote: On 2012-11-27 01:35, Laine Walker-Avina wrote: Hi all, We are experiencing an issue with doing direct IO to a NVMe device I'm helping to develop. Every so often, the physical address given by sg_dma_address() is aligned to

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 06:30:32PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 4180a87..636800d 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -113,7 +113,7 @@ void

Re: Alignment Issue with Direct IO to NVMe Drive

2012-11-27 Thread Laine Walker-Avina
On Tue, Nov 27, 2012 at 9:05 AM, Matthew Wilcox wi...@linux.intel.com wrote: Laine, when this occurs, what is the alignment of 'offset' in the sg entry you're looking at? If userspace is passing in an unaligned address, I don't think there's anything we do to try to align it. I thought this

Re: [PATCH] Don't mark shared helper functions as inline

2012-11-27 Thread Russ Dill
On Mon, Nov 26, 2012 at 11:57 AM, Mike Turquette mturque...@ti.com wrote: Quoting Russ Dill (2012-11-26 11:20:09) The helper functions that access the opaque struct clk should not be marked inline since they are contained in clk.c, but expected to be used by other compilation units. This

[PATCH RESEND] tty: don't dead lock while flushing workqueue

2012-11-27 Thread Sebastian Andrzej Siewior
Since commit 89c8d91e31f2 (tty: localise the lock) I see a dead lock in one of my dummy_hcd + g_nokia test cases. The first run one was usually okay, the second often resulted in a splat by lockdep and the third was usually a dead lock. Lockdep complained about tty-hangup_work and tty-legacy_mutex

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread David Woodhouse
On Tue, 2012-11-27 at 18:39 +0100, Krzysztof Mazur wrote: Yes, I missed that one - it's even worse, I introduced that bug in [PATCH 1/7] atm: detach protocol before closing vcc. Before that patch that scenario shouldn't happen because vcc was closed before calling pppoatm_send(vcc, NULL) -

RE: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-27 Thread Ben Hutchings
On Tue, 2012-11-27 at 17:32 +, Fujinaka, Todd wrote: Forgive me if I'm being too repetitious as I think some of this has been mentioned in the past. We (and by we I mean the Ethernet part and driver) can only change the advertised availability of a larger MaxPayloadSize. The size is

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Frederic Weisbecker
2012/11/27 Gleb Natapov g...@redhat.com: On Tue, Nov 27, 2012 at 06:30:32PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 4180a87..636800d 100644 --- a/arch/x86/kernel/kvm.c +++

Re: [PATCH 2/6 v5] clk, highbank: Prevent glitches in non-bypass reset mode

2012-11-27 Thread Mike Turquette
On Tue, Nov 27, 2012 at 7:04 AM, Mark Langsdorf mark.langsd...@calxeda.com wrote: The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to prevent glitches. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com

Re: [PATCH 01/24] MAINTAINERS: remove drivers/platform/msm/

2012-11-27 Thread Bryan Huntsman
On 11/26/2012 11:10 AM, David Brown wrote: On Fri, Nov 23, 2012 at 10:26:25PM -0200, Cesar Eduardo Barros wrote: Added by commit 8a5700c (add drivers/platform/msm to MSM subsystem) in 2011, but I could not find any trace of that directory being ever added to the repository. Cc: Kenneth

Re: [PATCH] mtd cs553x_nand: Initialise ecc.strength before nand_scan()

2012-11-27 Thread Mike Dunn
On 11/21/2012 08:08 PM, Brian Norris wrote: On Wed, Nov 21, 2012 at 3:42 PM, Nathan Williams nat...@traverse.com.au wrote: Loading cs553x_nand with Hynix H27U1G8F2BTR NAND flash causes this bug: kernel BUG at drivers/mtd/nand/nand_base.c:3345! ... Initialising ecc.strength before the call

RE: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-27 Thread Fujinaka, Todd
Thanks for the clarification. I was just going by the PCIe spec, which says the lowest value of both ends is used, and I figured SOMETHING had to be looking at that and doing some sort of negotiation. I'm no BIOS guy, so I'm not sure what's actually going on, whether something walks the PCIe

Re: [PATCH 0/3] Smack: add support for modification of existing rules, restructure rules list showing in smackfs

2012-11-27 Thread Casey Schaufler
On 11/27/2012 9:40 AM, Rafal Krypa wrote: The following three patches are intended to introduce in-place modification of Smack rules. Until now Smack supported only overwriting of existing rules. To change permitted access for a given subject and object, user had to read list of rules to get

BUG_ON(inode-i_blocks);

2012-11-27 Thread Dave Jones
Hugh, We had a user report hitting the BUG_ON at the end of shmem_evict_inode. I see in 3.7 you changed this to a WARN instead. Does the trace below match the one you described chasing in commit 0f3c42f522dc1ad7e27affc0a4aa8c790bce0a66 ? Full report at

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread Krzysztof Mazur
On Tue, Nov 27, 2012 at 06:02:29PM +, David Woodhouse wrote: On Tue, 2012-11-27 at 18:39 +0100, Krzysztof Mazur wrote: Yes, I missed that one - it's even worse, I introduced that bug in [PATCH 1/7] atm: detach protocol before closing vcc. Before that patch that scenario shouldn't

memory allocation: smap large Size, but unused

2012-11-27 Thread Bernd Schubert
Hello, I'm just investigating why a user space program has a rather large VmSize, but small VmRSS size. Looking into /proc/$pid/smaps I notice several areas with an size of about 64MB, but otherwise that area is unused. So far I did not find a way how to reproduce that with malloc() calls.

Re: linux-next: Tree for Nov 27 (media/v4l2-core/videobuf2-dma-contig.c)

2012-11-27 Thread Randy Dunlap
On 11/26/2012 10:25 PM, Stephen Rothwell wrote: Hi all, Changes since 20121126: on i386: drivers/media/v4l2-core/videobuf2-dma-contig.c:743:16: error: 'vb2_dc_get_dmabuf' undeclared here (not in a function) Full randconfig file is attached. -- ~Randy # # Automatically generated

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-27 Thread Vasilis Liaskovitis
On Mon, Nov 26, 2012 at 05:19:01PM -0700, Toshi Kani wrote: Consider the following sequence of operations for a hotplugged memory device: 1. echo PNP0C80:XX /sys/bus/acpi/drivers/acpi_memhotplug/unbind 2. echo 1 /sys/bus/pci/devices/PNP0C80:XX/eject If we don't offline/remove

Re: [PATCH v2 1/1] staging: fwserial: Add TTY-over-Firewire serial driver

2012-11-27 Thread Peter Hurley
On Wed, 2012-11-14 at 02:25 +0100, Stefan Richter wrote: On Nov 13 Peter Hurley wrote: On Tue, 2012-11-13 at 00:33 +0100, Stefan Richter wrote: On Nov 02 Peter Hurley wrote: +2. MAX_ASYNC_PAYLOAD needs to be publicly exposed by core/ohci + - otherwise how will this driver know the

Re: [RFC PATCH v3 1/3] acpi: Introduce prepare_remove operation in acpi_device_ops

2012-11-27 Thread Vasilis Liaskovitis
Hi Toshi, On Mon, Nov 26, 2012 at 05:10:21PM -0700, Toshi Kani wrote: On Fri, 2012-11-23 at 18:50 +0100, Vasilis Liaskovitis wrote: This function should be registered for devices that need to execute some non-acpi related action in order to be safely removed. If this function returns zero,

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread Krzysztof Mazur
On Tue, Nov 27, 2012 at 06:02:29PM +, David Woodhouse wrote: I'm not running with that patch. This bug exists for br2684 even before it, and I think also for pppoatm. Did you use your atm: br2684: Fix excessive queue bloat patch? With that patch for pppoatm the

Re: Why is cpuset_cpus_allowed_fallback() necessary?

2012-11-27 Thread Oleg Nesterov
Hi Tejun, On 11/26, Tejun Heo wrote: I'm wondering why cpuset_cpus_allowed_fallback() is necessary. This is called from, e.g., try_to_wake_up()-select_task_rq() when none of the cpus in -cpus_allowed is useable. The cpuset callback invokes do_set_cpus_allowed() w/ the cpuset's

Re: [PATCH -next] staging/fwserial: Fix build breakage when !CONFIG_BUG

2012-11-27 Thread Randy Dunlap
On 11/26/2012 11:11 PM, Peter Hurley wrote: Use WARN() as intended. Signed-off-by: Peter Hurley pe...@hurleysoftware.com Reported-by: Randy Dunlap rdun...@infradead.org Acked-by: Randy Dunlap rdun...@infradead.org Thanks. --- drivers/staging/fwserial/dma_fifo.c | 5 + 1 file

Re: [PATCH v4] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-27 Thread Ilya Zykov
On 27.11.2012 21:24, Greg Kroah-Hartman wrote: On Tue, Nov 27, 2012 at 10:14:33AM +0400, Ilya Zykov wrote: Sorry. More correct. In what way? Should I wait for the 6th version? :) thanks, greg k-h No, if only you will accept: [PATCH]tty: Incorrect use tty_ldisc_flush() in TTY

[PATCH] regulator: core: Say what unsupportable voltage constraints are

2012-11-27 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/regulator/core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 3db1e01..b701352 100644 --- a/drivers/regulator/core.c +++

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-27 Thread chas williams - CONTRACTOR
On Tue, 27 Nov 2012 18:02:29 + David Woodhouse dw...@infradead.org wrote: In solos-pci at least, the ops-close() function doesn't flush all pending skbs for this vcc before returning. So can be a tasklet somewhere which has loaded the address of the vcc-pop function from one of them, and

Re: [PATCH 0/6 v5] cpufreq: add support for Calxeda ECX-1000 (highbank)

2012-11-27 Thread Rafael J. Wysocki
On Tuesday, November 27, 2012 09:04:28 AM Mark Langsdorf wrote: This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The driver is based on the cpufreq-cpu0 driver. Because of the unique way that highbank uses the EnergyCore Management Engine to manage voltages,

Re: [PATCH v2 3/3] PM: Introduce Intel PowerClamp Driver

2012-11-27 Thread Jacob Pan
On Mon, 26 Nov 2012 15:27:25 -0800 Joe Perches j...@perches.com wrote: On Mon, 2012-11-26 at 06:37 -0800, Jacob Pan wrote: Intel PowerClamp driver performs synchronized idle injection across all online CPUs. The goal is to maintain a given package level C-state ratio. trivial notes:

Re: [PATCH] cpuidle: menu: use nr_running instead of cpuload for calculating perf mult

2012-11-27 Thread Vladimir Davydov
Hello again Playing with cpu cgroups, I've found that performance of various workloads running inside cgroups can be significantly improved by increasing sched load resolution and that this improvement has already been committed to the kernel (c8b281161dfa4bb5d5be63fb036ce19347b88c63).

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-27 Thread Rafael J. Wysocki
On Wednesday, November 14, 2012 05:56:30 PM Julius Werner wrote: Many cpuidle drivers measure their time spent in an idle state by reading the wallclock time before and after idling and calculating the difference. This leads to erroneous results when the wallclock time gets updated by another

Od Dr Andrew Abbott (Business predlog vljudno odgovoriti)

2012-11-27 Thread Dr Andrew Abbott
Od: Dr Andrew Abbott Zasebno mobilnega telefona: +447035950904 Zdravo prijatelj, Jaz sem Dr Andrew Abbott vodja računovodstvo / revizija za Credit Suisse Bank One Cabot Square, London EC14 4QJ, Anglija. Sem stik z vami v zvezi s poslovnim predlogom, da bo še ogromno koristi za obe strani in

Re: [PATCH v4] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-27 Thread Alan Cox
No, if only you will accept: [PATCH]tty: Incorrect use tty_ldisc_flush() in TTY drivers. It can be done another way, simple revert: 'tty: fix IRQ45: nobody cared' commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 NAK that revert - that swaps a minor glitch you've discovered that does want

Re: [Patch v4 00/12] memory-hotplug: hot-remove physical memory

2012-11-27 Thread Andrew Morton
On Tue, 27 Nov 2012 18:00:10 +0800 Wen Congyang we...@cn.fujitsu.com wrote: The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 The last version of this patchset: https://lkml.org/lkml/2012/11/1/93 As we're now at -rc7 I'd prefer to take

Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-27 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 07:12:40PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: On Tue, Nov 27, 2012 at 06:30:32PM +0100, Frederic Weisbecker wrote: 2012/11/27 Gleb Natapov g...@redhat.com: diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index

Re: [Patch v4 00/12] memory-hotplug: hot-remove physical memory

2012-11-27 Thread Rafael J. Wysocki
On Tuesday, November 27, 2012 11:27:41 AM Andrew Morton wrote: On Tue, 27 Nov 2012 18:00:10 +0800 Wen Congyang we...@cn.fujitsu.com wrote: The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 The last version of this patchset:

[PATCH 5/5] device_cgroup: propagate local changes down the hierarchy

2012-11-27 Thread Aristeu Rozanski
This patch makes all changes propagate down in hierarchy respecting when possible local configurations. Behavior changes will clean up exceptions in all the children except when the parent changes the behavior from allow to deny and the child's behavior was already deny, in which case the local

[PATCH 2/5] device_cgroup: prepare exception list handling functions for two lists

2012-11-27 Thread Aristeu Rozanski
In the following patches, device_cgroup structure will have two sets of behavior and exceptions list (actual one, another with the local settings) so rework the functions to use exception list, not a device_cgroup. Cc: Tejun Heo t...@kernel.org Cc: Serge Hallyn serge.hal...@canonical.com

Re: [PATCH v2] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-27 Thread Mark Brown
On Fri, Nov 23, 2012 at 10:12:13AM +0100, Lothar Waßmann wrote: Due to a broken make rule, sound/soc/fsl/imx-pcm-dma.c or sound/soc/fsl/imx-pcm-fiq.c (whatever is selected via Kconfig) will not be compiled into imx-pcm.o when building as module, i.e.: CONFIG_SND_SOC_IMX_PCM=m

Re: [PATCH v2] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-27 Thread Mark Brown
On Fri, Nov 23, 2012 at 10:12:13AM +0100, Lothar Waßmann wrote: Due to a broken make rule, sound/soc/fsl/imx-pcm-dma.c or sound/soc/fsl/imx-pcm-fiq.c (whatever is selected via Kconfig) will not be compiled into imx-pcm.o when building as module, i.e.: CONFIG_SND_SOC_IMX_PCM=m

Re: [PATCH 01/11] HID: hid-input factorize hid_input allocation

2012-11-27 Thread Henrik Rydberg
Hi Benjamin, On Fri, Nov 23, 2012 at 04:31:24PM +0100, Benjamin Tissoires wrote: This just refactors the allocation of hid_input. I think breaks out the allocation would be a more appropriate description. No semantic changes. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@gmail.com

Re: [PATCH 01/11] HID: hid-input factorize hid_input allocation

2012-11-27 Thread Jiri Kosina
On Fri, 23 Nov 2012, Benjamin Tissoires wrote: This just refactors the allocation of hid_input. No semantic changes. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@gmail.com Fine by me, thanks. --- drivers/hid/hid-input.c | 61 +++--

Re: [PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-27 Thread Johannes Weiner
On Tue, Nov 27, 2012 at 09:05:30AM +0900, Kamezawa Hiroyuki wrote: (2012/11/26 22:18), Michal Hocko wrote: [CCing also Johannes - the thread started here: https://lkml.org/lkml/2012/11/21/497] On Mon 26-11-12 01:38:55, azurIt wrote: This is hackish but it should help you in this case.

Re: [PATCH 4/6 v5] arm highbank: add support for pl320 IPC

2012-11-27 Thread Mark Langsdorf
On 11/27/2012 10:12 AM, Thomas Petazzoni wrote: Dear Mark Langsdorf, On Tue, 27 Nov 2012 09:04:32 -0600, Mark Langsdorf wrote: +int ipc_transmit(u32 *data); ipc_transmit() looks to me like a way to generic name to be exposed to the entire kernel. Good point. Changed to

[PATCH] ARM: EXYNOS: Avoid early use of of_machine_is_compatible()

2012-11-27 Thread Doug Anderson
The recent commit ARM: EXYNOS: add support for EXYNOS5440 SoC broke support for exynos5250 because of_machine_is_compatible() was used too early in the boot process. It also probably meant that the exynos5440 failed to use the proper iotable. Switch to use of_flat_dt_is_compatible() in both of

Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-27 Thread Rabin Vincent
2012/11/27 Viresh Kumar viresh.ku...@linaro.org: On 27 November 2012 14:10, Lee Jones lee.jo...@linaro.org wrote: I haven't seen this in any of SPEAr boards i have worked on. Maybe Rabin would have, that's why he added that part of code :) @Rabin/Linus: Do you remember why have you added this

Re: [PATCH 21/21] TTY: move tty buffers to tty_port

2012-11-27 Thread Peter Hurley
On Sat, 2012-11-03 at 20:53 -0400, Sasha Levin wrote: On 11/03/2012 07:06 PM, Sasha Levin wrote: On 11/03/2012 11:55 AM, Jiri Slaby wrote: On 11/03/2012 03:03 AM, Sasha Levin wrote: On 11/02/2012 12:18 PM, Jiri Slaby wrote: On 11/02/2012 05:07 PM, Sasha Levin wrote: On Fri, Nov 2, 2012

[PATCH 2/6 v6] clk, highbank: Prevent glitches in non-bypass reset mode

2012-11-27 Thread Mark Langsdorf
The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to prevent glitches. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Acked-by: Mike Turquette

[PATCH 3/6 v6] cpufreq: tolerate inexact values when collecting stats

2012-11-27 Thread Mark Langsdorf
This patch is withdrawn due to a need for severe rework. Changes from v4 Withdrawn. Changes from v3, v2 None. Changes from v1 Implemented a simple round-up algorithm instead of the over/under method that could cause errors on Intel processors with boost mode. -- To

[PATCH 0/6 v6] cpufreq: add support for Calxeda ECX-1000 (highbank)

2012-11-27 Thread Mark Langsdorf
This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The driver is based on the cpufreq-cpu0 driver. Because of the unique way that highbank uses the EnergyCore Management Engine to manage voltages, it was not possible to use the cpufreq-cpu0 driver. --Mark Langsdorf

[PATCH 1/6 v6] arm: use devicetree to get smp_twd clock

2012-11-27 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v4, v5 None. Changes from v3 No longer setting *clk to NULL in twd_get_clock(). Changes from v2 Turned the

[PATCH 6/6 v6] cpufreq, highbank: add support for highbank cpufreq

2012-11-27 Thread Mark Langsdorf
Highbank processors depend on the external ECME to perform voltage management based on a requested frequency. Communication between the A9 cores and the ECME happens over the pl320 IPC channel. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Cc: devicetree-disc...@lists.ozlabs.org ---

<    5   6   7   8   9   10   11   12   13   >