Re: [PATCH 07/16] cgroup: fix warning when building without any subsys

2012-10-06 Thread Arnd Bergmann
On Saturday 06 October 2012, Tejun Heo wrote: On Fri, Oct 05, 2012 at 04:55:21PM +0200, Arnd Bergmann wrote: In a configuration where the base cgroup support is enabled but every single cgroup subsys is turned off, CGROUP_BUILTIN_SUBSYS_COUNT is zero, which causes the sanity check code in

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-06 Thread Rusty Russell
Paolo Bonzini pbonz...@redhat.com writes: Il 04/10/2012 14:51, Rusty Russell ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 04/10/2012 02:11, Rusty Russell ha scritto: There's a reason I haven't done this. I really, really dislike my implemention isn't broken feature bits. We

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-06 Thread Arnd Bergmann
On Friday 05 October 2012, Julian Anastasov wrote: Hello, On Fri, 5 Oct 2012, Arnd Bergmann wrote: The ip_vs_set_timeout function sets timeouts for TCP and UDP, which can be enabled independently at compile time. The debug message always prints both timeouts that are passed

Re: [PATCH 1/4] uprobes: Kill set_swbp()-is_swbp_at_addr()

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-23 22:19:45]: A separate patch for better documentation. set_swbp()-is_swbp_at_addr() is not needed for correctness, it is harmless to do the unnecessary __replace_page(old_page, new_page) when these 2 pages are identical. And it can not be

Re: [PATCH 2/4] uprobes: Introduce copy_opcode(), kill read_opcode()

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-23 22:19:48]: No functional changes, preparations. 1. Extract the kmap-and-memcpy code from read_opcode() into the new trivial helper, copy_opcode(). The next patch will add another user. 2. read_opcode() becomes really trivial, fold it into

Re: [PATCH v3 0/2] ARM: pci: Prepare for Tegra PCIe controller driver

2012-10-06 Thread Thierry Reding
On Thu, Sep 20, 2012 at 09:43:43AM +0200, Thierry Reding wrote: Hi Russell, These are two patches I've been carrying in a larger series that converts the Tegra PCIe controller driver to a proper platform driver. Since the complete series didn't get much feedback, I've begun to post smaller

Re: [PATCH 4/4] uprobes: Simplify is_swbp_at_addr(), remove stale comments

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-23 22:19:53]: After the previous change is_swbp_at_addr() is always called with current-mm. Remove this check and move it close to its single caller. Also, remove the obsolete comment about is_swbp_at_addr() and uprobe_state.count. Signed-off-by:

Re: [PATCH 3/4] uprobes: Kill set_orig_insn()-is_swbp_at_addr()

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-23 22:19:50]: Unlike set_swbp(), set_orig_insn()-is_swbp_at_addr() makes sense, although it can't prevent all confusions. But the usage of is_swbp_at_addr() is equally confusing, and it adds the extra get_user_pages() we can avoid. This patch

Re: [PATCH 01/16] f2fs: add document

2012-10-06 Thread Stefan Hajnoczi
This adds a document describing the mount options, proc entries, usage, and design of Flash-Friendly File System, namely F2FS. Signed-off-by: Jaegeuk Kim jaegeuk.kim at samsung.com --- Documentation/filesystems/00-INDEX |2 + Documentation/filesystems/f2fs.txt | 314

Re: [PATCH 1/7] uprobes/x86: Only rep+nop can be emulated correctly

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:41:58]: __skip_sstep() correctly detects the nontrivial nop insns, but since it doesn't update regs-ip we can not really skip 0x0f 0x1f | 0x0f 0x19 | 0x87 0xc0, the probed application is killed by SIGILL'ed handle_swbp(). Remove these

Re: [PATCH v6 0/3] Add modules to support realtek PCIE card reader

2012-10-06 Thread wwang
于 2012年09月29日 23:29, Borislav Petkov 写道: On Sat, Sep 29, 2012 at 09:41:17AM -0400, Chris Ball wrote: On Sat, Sep 29 2012, Borislav Petkov wrote: So, I think that this driver has seen a bunch of testing and reviewing and we might start considering upstreaming it. There are a bunch of laptops

Re: [PATCH 2/7] uprobes: Don't return success if alloc_uprobe() fails

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:01]: If alloc_uprobe() fails uprobe_register() should return ENOMEM, not 0. Signed-off-by: Oleg Nesterov o...@redhat.com --- Acked-by: Srikar Dronamraju sri...@linux.vnet.ibm.com -- To unsubscribe from this list: send the line unsubscribe

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 01:58:45AM +0200, Willy Tarreau wrote: On Sat, Oct 06, 2012 at 09:48:57AM +1000, Dave Airlie wrote: Any reason you don't have KMS, you'll keep hitting these non-kms bugs since it has no users anymore really. Granted they'll get fixed, but I suspect its a losing

Re: virtio build breakage.

2012-10-06 Thread Rusty Russell
Dave Jones da...@redhat.com writes: After linking, I see this.. ERROR: virtqueue_kick [net/9p/9pnet_virtio.ko] undefined! ERROR: virtqueue_get_buf [net/9p/9pnet_virtio.ko] undefined! Cool! Someone else spotted this recently, and the fix is in my recent pull request to Linus: commit

Re: sched: per-entity load-tracking

2012-10-06 Thread Ingo Molnar
* Paul Turner p...@google.com wrote: Peter: The rebase to tip/master made interdiff angry enough that it wasn't producing the right relative diffs for your stack. Sorry :( Find below the diff between the two series, using 'quilt snapshot' and 'quilt diff --snapshot'. One quick stylistic

Re: 3.5 regression on i915

2012-10-06 Thread Dave Airlie
On Sat, Oct 6, 2012 at 3:27 AM, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 01:58:45AM +0200, Willy Tarreau wrote: On Sat, Oct 06, 2012 at 09:48:57AM +1000, Dave Airlie wrote: Any reason you don't have KMS, you'll keep hitting these non-kms bugs since it has no users anymore

[PATCH 0/3] x86: pre mapping page table to make xen happy.

2012-10-06 Thread Yinghai Lu
on top of tip/x86/mm2 also remove early_ioremap in page table accessing. Yinghai Lu (3): x86: get early page table from BRK x86, mm: Don't clear page table if next range is ram x86, mm: Remove early_memremap workaround for page table accessing arch/x86/include/asm/init.h|4 ++

[PATCH 1/3] x86: get early page table from BRK

2012-10-06 Thread Yinghai Lu
set pgt_buf early from BRK, and use it to map page table at first. also use the left at first, then use new extend one. -v2: extra xen call back for that new range. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/include/asm/init.h|4 arch/x86/include/asm/pgtable.h |

[PATCH 2/3] x86, mm: Don't clear page table if next range is ram

2012-10-06 Thread Yinghai Lu
During adding code from BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But get panic after that. It turns out we clear the initial page table wrongly for next range that is separated by holes. And it only happens when we are trying to

[PATCH 3/3] x86, mm: Remove early_memremap workaround for page table accessing

2012-10-06 Thread Yinghai Lu
Not needed anymore after premaping page table buf and not clear initial page table wrongly. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init_64.c | 38 -- 1 files changed, 4 insertions(+), 34 deletions(-) diff --git a/arch/x86/mm/init_64.c

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 03:43:56AM -0400, Dave Airlie wrote: On Sat, Oct 6, 2012 at 3:27 AM, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 01:58:45AM +0200, Willy Tarreau wrote: On Sat, Oct 06, 2012 at 09:48:57AM +1000, Dave Airlie wrote: Any reason you don't have KMS, you'll

Re: 3.5 regression on i915

2012-10-06 Thread Chris Wilson
On Sat, 6 Oct 2012 01:42:18 +0200, Willy Tarreau w...@1wt.eu wrote: Chris, Daniel, since version 3.5, my Asus EeePC 1005HA bugs during startx. I didn't have the time to investigate until this evening. I could bisect the commits and found that the following one was merged in 3.5-rc1 and is

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-06 Thread Julian Anastasov
Hello, On Sat, 6 Oct 2012, Arnd Bergmann wrote: On Friday 05 October 2012, Julian Anastasov wrote: Hello, On Fri, 5 Oct 2012, Arnd Bergmann wrote: The ip_vs_set_timeout function sets timeouts for TCP and UDP, which can be enabled independently at compile time.

[PATCH 00/22 v2] drop vmtruncate

2012-10-06 Thread Marco Stornelli
Hi all, I send the vmtruncate cleaning patches. With theses patches we remove the now deprecated vmtruncate and -truncate() inode operations. The patches are now rebased against Linus tree and I add the cleaning of documentation. Please, consider this series for merge window of 3.7. Thanks.

[PATCH 01/22] ufs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/ufs/inode.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c index eb6d0b7..2b43ce9 100644 --- a/fs/ufs/inode.c +++ b/fs/ufs/inode.c @@ -536,8 +536,9 @@

[PATCH 02/22] sysv: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/sysv/file.c |5 +++-- fs/sysv/itree.c |7 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/sysv/file.c b/fs/sysv/file.c index 0a65939..9d4dc68 100644 --- a/fs/sysv/file.c +++

[PATCH 03/22] reiserfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com Reviewed-by: Jan Kara j...@suse.cz --- fs/reiserfs/file.c |3 +-- fs/reiserfs/inode.c| 15 +++ fs/reiserfs/reiserfs.h |1 + 3 files changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH 04/22] procfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/proc/base.c|3 ++- fs/proc/generic.c |3 ++- fs/proc/proc_sysctl.c |3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
Hi Chris, On Sat, Oct 06, 2012 at 09:04:34AM +0100, Chris Wilson wrote: The crash happens here in i915_gem_entervt_ioctl() : 3659 BUG_ON(!list_empty(dev_priv-mm.active_list)); 3660 BUG_ON(!list_empty(dev_priv-mm.flushing_list)); - 3661

[PATCH 05/22] omfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/omfs/file.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/omfs/file.c b/fs/omfs/file.c index 77e3cb2..c10ab90 100644 --- a/fs/omfs/file.c +++ b/fs/omfs/file.c @@ -316,8

[PATCH 06/22] ocfs2: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/ocfs2/file.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 5a4ee77..f0737d0 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -1229,11

Re: 3.5 regression on i915

2012-10-06 Thread Chris Wilson
On Sat, 6 Oct 2012 09:59:56 +0200, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 03:43:56AM -0400, Dave Airlie wrote: On Sat, Oct 6, 2012 at 3:27 AM, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 01:58:45AM +0200, Willy Tarreau wrote: On Sat, Oct 06, 2012 at

[PATCH 07/22] adfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/adfs/inode.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c index e9bad50..81de375 100644 --- a/fs/adfs/inode.c +++ b/fs/adfs/inode.c @@ -57,8 +57,9

[PATCH 08/22] affs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/affs/file.c |8 +--- fs/affs/inode.c |5 - 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fs/affs/file.c b/fs/affs/file.c index 2f4c935..34ebe09 100644 --- a/fs/affs/file.c +++

[PATCH 09/22] bfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/bfs/file.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/bfs/file.c b/fs/bfs/file.c index f20e8a7..4967258 100644 --- a/fs/bfs/file.c +++ b/fs/bfs/file.c @@ -171,8 +171,9 @@

[PATCH 10/22] hfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/hfs/inode.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index 0b35903..e0b2c23 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c @@

[PATCH 11/22] hpfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/hpfs/file.c |8 +--- fs/hpfs/inode.c |5 - 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fs/hpfs/file.c b/fs/hpfs/file.c index 89d2a58..895871a 100644 --- a/fs/hpfs/file.c +++

[PATCH 12/22] jfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/jfs/file.c |6 -- fs/jfs/inode.c | 13 + 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/fs/jfs/file.c b/fs/jfs/file.c index 9d3afd1..dd7442c 100644 --- a/fs/jfs/file.c +++

[PATCH 13/22] hfsplus: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/hfsplus/inode.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 2172aa5..2562462 100644 --- a/fs/hfsplus/inode.c +++

[PATCH 14/22] hostfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/hostfs/hostfs_kern.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index 6c9f3a9..4348e84 100644 --- a/fs/hostfs/hostfs_kern.c

[PATCH 15/22] logfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/logfs/readwrite.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c index e1a3b6b..9a59cba 100644 --- a/fs/logfs/readwrite.c +++

[PATCH 16/22] minix: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/minix/file.c |6 -- fs/minix/inode.c |7 +-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/fs/minix/file.c b/fs/minix/file.c index 4493ce6..adc6f54 100644 --- a/fs/minix/file.c

[PATCH 17/22] ncpfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/ncpfs/inode.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/ncpfs/inode.c b/fs/ncpfs/inode.c index d7e9fe7..b6881aa 100644 --- a/fs/ncpfs/inode.c +++ b/fs/ncpfs/inode.c @@ -976,9

[PATCH 18/22] nilfs2: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/nilfs2/file.c |1 - fs/nilfs2/inode.c| 18 +- fs/nilfs2/recovery.c |7 +-- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c

[PATCH 19/22] ntfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com Reviewed-by: Anton Altaparmakov an...@tuxera.com --- fs/ntfs/file.c |8 +--- fs/ntfs/inode.c | 11 +-- fs/ntfs/inode.h |4 3 files changed, 18 insertions(+), 5 deletions(-) diff --git

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 09:24:35AM +0100, Chris Wilson wrote: More likely X is segfaulting for another reason altogether. Can you please attach the stacktrace (with symbols!) and see if another bisection is required? Yes, here it is. _XSERVTransSocketOpenCOTSServer: Unable to open socket for

Re: 3.5 regression on i915

2012-10-06 Thread Chris Wilson
On Sat, 6 Oct 2012 10:20:16 +0200, Willy Tarreau w...@1wt.eu wrote: Hi Chris, On Sat, Oct 06, 2012 at 09:04:34AM +0100, Chris Wilson wrote: The crash happens here in i915_gem_entervt_ioctl() : 3659 BUG_ON(!list_empty(dev_priv-mm.active_list)); 3660

[PATCH 20/22] vfs: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/libfs.c |2 -- include/linux/fs.h |1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/libfs.c b/fs/libfs.c index 7cc37ca..c8fe267 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@

[PATCH 21/22] mm: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed vmtruncate. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- include/linux/mm.h |1 - mm/truncate.c | 23 --- 2 files changed, 0 insertions(+), 24 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 311be90..7eebde6 100644

[PATCH 22/22] documentation: drop vmtruncate

2012-10-06 Thread Marco Stornelli
Removed -truncate() from docs. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- Documentation/filesystems/Locking |6 -- Documentation/filesystems/porting |2 +- Documentation/filesystems/vfs.txt | 11 --- 3 files changed, 1 insertions(+), 18 deletions(-) diff

Re: [PATCH 3/7] uprobes: Do not delete uprobe if uprobe_unregister() fails

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:04]: delete_uprobe() must not be called if register_for_each_vma(false) fails to remove all breakpoints, __uprobe_unregister() is correct. The problem is that register_for_each_vma(false) always returns 0 and thus this logic does not work.

Re: [GIT PULL] Disintegrate UAPI for microblaze

2012-10-06 Thread Michal Simek
Hi David, On 10/04/2012 09:51 PM, David Howells wrote: Can you merge the following branch into the microblaze tree please. This is to complete part of the UAPI disintegration for which the preparatory patches were pulled recently. Note that there are some fixup patches which are at the base

Re: [PATCH] regmap: silence GCC warning

2012-10-06 Thread Mark Brown
On Fri, Oct 05, 2012 at 06:20:44PM -0400, valdis.kletni...@vt.edu wrote: On Wed, 03 Oct 2012 09:23:36 +0200, Paul Bolle said: That is another way to silence GCC here. That's probably a preferable approach - that way, if a bogus val_count gets passed in, the caller will be informed of the

Re: 3.5 regression on i915

2012-10-06 Thread Chris Wilson
On Sat, 6 Oct 2012 10:42:58 +0200, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 09:24:35AM +0100, Chris Wilson wrote: More likely X is segfaulting for another reason altogether. Can you please attach the stacktrace (with symbols!) and see if another bisection is required?

Re: [PATCH] sched: rewrite the wrong annotation for select_task_rq_fair()

2012-10-06 Thread Michael Wang
On 09/26/2012 11:43 AM, Michael Wang wrote: On 09/18/2012 04:16 PM, Michael Wang wrote: The annotation for select_task_rq_fair() is wrong since commit c88d5910, it's actually for a removed function. This patch rewrite the wrong annotation to make it correct. Could I get some comments on

Re: [PATCH v6 1/3] drivers/mfd: Add realtek pcie card reader driver

2012-10-06 Thread wwang
于 2012年10月01日 06:49, Samuel Ortiz 写道: Hi Wei, On Tue, Sep 11, 2012 at 12:54:22PM +0800, wei_w...@realsil.com.cn wrote: Although pretty big, the patch looks mostly good to me. I only have a few comments: diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index d1facef..4c07a34 100644

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-06 Thread Michael Wang
On 09/26/2012 11:41 AM, Michael Wang wrote: On 09/18/2012 11:13 AM, Michael Wang wrote: This patch try to fix the BUG: [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 [0.044017] no locks held by swapper/0/1. [0.044692] Pid: 1, comm: swapper/0 Not tainted

Re: [PATCH] sched: rewrite the wrong annotation for select_task_rq_fair()

2012-10-06 Thread Michael Wang
On 10/06/2012 05:04 PM, Michael Wang wrote: On 09/26/2012 11:43 AM, Michael Wang wrote: On 09/18/2012 04:16 PM, Michael Wang wrote: The annotation for select_task_rq_fair() is wrong since commit c88d5910, it's actually for a removed function. This patch rewrite the wrong annotation to make

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-10-06 Thread Michael Wang
On 10/06/2012 05:06 PM, Michael Wang wrote: On 09/26/2012 11:41 AM, Michael Wang wrote: On 09/18/2012 11:13 AM, Michael Wang wrote: This patch try to fix the BUG: [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 [0.044017] no locks held by swapper/0/1. [0.044692]

Re: 3.5 regression on i915

2012-10-06 Thread Willy Tarreau
On Sat, Oct 06, 2012 at 10:04:00AM +0100, Chris Wilson wrote: On Sat, 6 Oct 2012 10:42:58 +0200, Willy Tarreau w...@1wt.eu wrote: On Sat, Oct 06, 2012 at 09:24:35AM +0100, Chris Wilson wrote: More likely X is segfaulting for another reason altogether. Can you please attach the stacktrace

Re: [PATCH 4/7] uprobes: Fix handle_swbp() vs unregister() + register() race

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:11]: Strictly speaking this race was added by me in 56bb4cf6. However I think that this bug is just another indication that we should move copy_insn/uprobe_analyze_insn code from install_breakpoint() to uprobe_register(), there are a lot of

Re: [PATCH v5 4/4] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-10-06 Thread Jonathan Cameron
On 10/05/2012 08:34 AM, Patil, Rachna wrote: This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna rac...@ti.com

[PATCH] pidns: remove recursion from free_pid_ns (v2)

2012-10-06 Thread Andrew Vagin
Here is a stack trace of recursion: free_pid_ns(parent) put_pid_ns(parent) kref_put(ns-kref, free_pid_ns); free_pid_ns This patch turns recursion into loops. pidns can be nested many times, so in case of recursion a simple user space program can provoke a kernel panic due to exceed

Re: [PATCH 5/7] uprobes: Introduce uprobe_copy_insn()

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:17]: Preparation. Extract the copy_insn/arch_uprobe_analyze_insn code from install_breakpoint() into the new helper, uprobe_copy_insn(). And move uprobe-flags defines from uprobes.h to uprobes.c, nobody else can use them anyway.

Re: [PATCH 6/7] uprobes: Fix uprobe_copy_insn() race with itself

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:24]: install_breakpoint() is called under mm-mmap_sem, this protects set_swbp() but not uprobe_copy_insn(). Two or more different tasks can call install_breakpoint()-uprobe_copy_insn() at the same time, this leads to numerous problems if

Re: [PATCH 7/7] uprobes: Fix the racy uprobe-flags manipulation

2012-10-06 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-30 21:42:27]: Multiple threads can manipulate uprobe-flags, this is obviously unsafe. For example mmap can set UPROBE_COPY_INSN while register tries to set UPROBE_RUN_HANDLER, the latter can also race with can_skip_sstep() which clears

Re: [PATCH 08/16] ipvs: fix ip_vs_set_timeout debug messages

2012-10-06 Thread Arnd Bergmann
On Saturday 06 October 2012, Julian Anastasov wrote: On Sat, 6 Oct 2012, Arnd Bergmann wrote: Are there any CONFIG_IP_VS_PROTO_xxx options in this default config? It is a waste of memory if IPVS is compiled without any protocols. They all appear to be turned off: $ grep

Re: [remoteproc:for-next 7/12] ERROR: vring_del_virtqueue [drivers/remoteproc/remoteproc.ko] undefined!

2012-10-06 Thread Ohad Ben-Cohen
On Sat, Oct 6, 2012 at 10:07 AM, Fengguang Wu fengguang...@intel.com wrote: Hi Sjur, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git for-next head: d09f53a735bae43806a77754312a45d3f1198342 commit:

Re: [PATCH] regmap: silence GCC warning

2012-10-06 Thread Paul Bolle
On Sat, 2012-10-06 at 09:53 +0100, Mark Brown wrote: On Fri, Oct 05, 2012 at 06:20:44PM -0400, valdis.kletni...@vt.edu wrote: On Wed, 03 Oct 2012 09:23:36 +0200, Paul Bolle said: That is another way to silence GCC here. That's probably a preferable approach - that way, if a bogus

[PATCH 0/8] drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Hi all, I send again the patch series to remove from kernel the old lock/unlock super. Please consider this patch series for merge window of 3.7. The patches are against Linus tree. Thanks. Marco Stornelli (8): exofs: drop lock/unlock super ext3: drop lock/unlock super ext4: drop

[PATCH 1/8] exofs: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Acked-by: Artem Bityutskiy artem.bityuts...@linux.intel.com Acked-by: Boaz Harrosh bharr...@panasas.com Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/exofs/super.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git

[PATCH 2/8] ext3: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Signed-off-by: Marco Stornelli marco.storne...@gmail.com Reviewed-by: Jan Kara j...@suse.cz --- fs/ext3/super.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/fs/ext3/super.c b/fs/ext3/super.c index 17ae5c8..29e7971 100644 ---

[PATCH 4/8] fat: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Added a new private s_lock mutex. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/fat/dir.c |4 ++-- fs/fat/fat.h |5 +++-- fs/fat/inode.c |5 +++-- fs/fat/namei_msdos.c | 26 +-

[PATCH 5/8] hpfs: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Signed-off-by: Marco Stornelli marco.storne...@gmail.com Acked-by: Mikulas Patocka miku...@artax.karlin.mff.cuni.cz --- fs/hpfs/super.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index bc28bf0..a307622

[PATCH 6/8] sysv: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Added a new private s_lock mutex. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/sysv/balloc.c | 18 +- fs/sysv/ialloc.c | 14 +++--- fs/sysv/inode.c |4 ++-- fs/sysv/super.c |1 + fs/sysv/sysv.h |1 + 5

[PATCH 7/8] ufs: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed lock/unlock super. Added a new private s_lock mutex. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/ufs/balloc.c | 30 +++--- fs/ufs/ialloc.c | 16 fs/ufs/super.c | 21 +++-- fs/ufs/ufs.h|1 + 4

[PATCH 8/8] vfs: drop lock/unlock super

2012-10-06 Thread Marco Stornelli
Removed s_lock from super_block and removed lock/unlock super. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/super.c | 23 --- include/linux/fs.h |1 - 2 files changed, 0 insertions(+), 24 deletions(-) diff --git a/fs/super.c b/fs/super.c

Re: [PATCH 4/14] drivers/media/v4l2-core/videobuf2-core.c: fix error return code

2012-10-06 Thread Mauro Carvalho Chehab
Em Thu, 6 Sep 2012 17:23:57 +0200 Peter Senna Tschudin peter.se...@gmail.com escreveu: From: Peter Senna Tschudin peter.se...@gmail.com Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-10-06 Thread Wolfram Sang
Are you taking these soon? I've rebased on -next, but they're still in my local delta. Applied to -next now, will push out later today. -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions | http://www.pengutronix.de/ |

[REGRESSION] Kernel 3.6 drops network packets instead of forwarding

2012-10-06 Thread Chini, Georg (HP App Services)
Hello, I have a network issue with kernel 3.6. My machine is set up as router and with 3.6 it sometimes silently drops reply packets instead of forwarding. Example tcpdump on the router for ping www.heise.de from a machine in my network (NAT is done elsewhere): 12:37:54.746627 IP 192.168.255.150

Re: [net:master 1/9] pch_gbe_main.c:(.text+0x510370): undefined reference to `pch_ch_control_write'

2012-10-06 Thread Haicheng Li
The failure is due to the CONFIG_PPS is not set there, consequently CONFIG_PTP_1588_CLOCK can not be set as =y anyway. So David's patch of da1586461e53a4dd045738cce309ab488970f0ef [1/9] pch_gbe: Fix PTP dependencies is buggy. Furthermore, I think using selects to resolve such dependency issue

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-10-06 Thread Pavel Machek
Hi! On Fri 2012-10-05 10:37:00, Stanislaw Gruszka wrote: On Wed, Oct 03, 2012 at 11:07:13AM -0700, David Rientjes wrote: On Wed, 3 Oct 2012, Stanislaw Gruszka wrote: So, can this problem be solved like on below patch, or I should rather split firmware loading into chunks similar like

[PATCH] firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel)

2012-10-06 Thread Stefan Richter
Fix two bugs of the /dev/fw* character device concerning the FW_CDEV_IOC_GET_INFO ioctl with nonzero fw_cdev_get_info.bus_reset. (Practically all /dev/fw* clients issue this ioctl right after opening the device.) Both bugs are caused by sizeof(struct fw_cdev_event_bus_reset) being 36 without

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-06 Thread Joe Perches
On Fri, 2012-10-05 at 21:09 -0700, Christopher Heiny wrote: [] Just some trivial comments: diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c [] @@ -0,0 +1,1529 @@ [] +static ssize_t delay_write(struct file *filp, const char __user *buffer, +

[PATCH] pppoatm: don't send frames to destroyed vcc

2012-10-06 Thread Krzysztof Mazur
The pppoatm_send() uses vcc-send() directly and does not check if vcc is ready for send(). This causes Oops when send() is used after vcc_destroy_socket() at least with usbatm driver: Oops: [#1] PREEMPT Pid: 0, comm: swapper Not tainted 3.6.0-krzysiek-1-gb7cd93b-dirty #60 /AK32 EIP:

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-06 Thread Paolo Bonzini
Il 05/10/2012 07:43, Rusty Russell ha scritto: struct virtio_scsi_req_cmd { // Read-only u8 lun[8]; u64 id; u8 task_attr; u8 prio; u8 crn; char cdb[cdb_size]; char dataout[]; // Write-only part

Please add back the asm-generic tree to linux-next

2012-10-06 Thread Arnd Bergmann
Hi Stephen, I haven't used my asm-generic git tree for the last year, but now I have some patches in it again. I was (ab)using the arm-soc tree for now to get the few patches into linux-next, but the URL is still listed in the MAINTAINERS file and I should really be using that one, since it is

Re: [PATCH v4] trace,x86: add x86 irq vector tracepoints

2012-10-06 Thread Borislav Petkov
On Fri, Oct 05, 2012 at 10:57:41PM -0400, Steven Rostedt wrote: The problem I'm seeing is the constant oh, just a little bit more. My experience over the years is that there is always demand for just one more debug feature, each of which has negible cost, because they always use the

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-06 Thread devendra.aaru
On Sat, Oct 6, 2012 at 8:19 AM, Joe Perches j...@perches.com wrote: On Fri, 2012-10-05 at 21:09 -0700, Christopher Heiny wrote: [] Just some trivial comments: diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c [] @@ -0,0 +1,1529 @@ [] +static ssize_t

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-06 Thread devendra.aaru
On Sat, Oct 6, 2012 at 9:06 AM, devendra.aaru devendra.a...@gmail.com wrote: On Sat, Oct 6, 2012 at 8:19 AM, Joe Perches j...@perches.com wrote: On Fri, 2012-10-05 at 21:09 -0700, Christopher Heiny wrote: [] Just some trivial comments: diff --git a/drivers/input/rmi4/rmi_driver.c

Re: Updated: [PATCH] hardening: add PROT_FINAL prot flag to mmap/mprotect

2012-10-06 Thread PaX Team
On 4 Oct 2012 at 15:56, Ard Biesheuvel wrote: 2012/10/4 PaX Team pagee...@freemail.hu: The main difference here is that it is much easier to doctor a set of stack frames that issues a mprotect(+PROT_EXEC) on the whole address space than it is to re-issue the exact same mmap() call (with

Re: Linux 3.5-rc7

2012-10-06 Thread Uwaysi Bin Kareem
On Fri, 05 Oct 2012 23:29:23 +0200, valdis.kletni...@vt.edu wrote: On Sun, 30 Sep 2012 14:54:07 +0200, Uwaysi Bin Kareem said: Compiled 3.6-rc7, with a hz timer of 3956 for a natural psychovisual profile jitter level in OpenGL, and a shaved config for minimal jitter. I'll bite - how did you

[ebeam PATCH v2 1/2] hid: Blacklist eBeam devices

2012-10-06 Thread Yann Cantin
Signed-off-by: Yann Cantin yann.can...@laposte.net --- drivers/hid/hid-core.c |3 +++ drivers/hid/hid-ids.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index bd3971b..59ffaa2 100644 --- a/drivers/hid/hid-core.c +++

[ebeam PATCH v2 2/2] input: misc: New USB eBeam input driver

2012-10-06 Thread Yann Cantin
Signed-off-by: Yann Cantin yann.can...@laposte.net --- Documentation/ABI/testing/sysfs-driver-ebeam | 53 ++ drivers/input/misc/Kconfig | 22 + drivers/input/misc/Makefile |1 + drivers/input/misc/ebeam.c | 763

[ebeam PATCH v2 0/2] new eBeam input driver

2012-10-06 Thread Yann Cantin
Hi, New USB input driver for eBeam devices. Currently supported (tested) : - Luidia eBeam classic projection and edge projection models - Nec interactive solution NP01Wi1 NP01Wi2 accessories. Patch 1 to blacklist the devices for hid generic-usb. Patch 2 is the actual driver. Change from v1 :

Re: Minimal jitter = good desktop.

2012-10-06 Thread Uwaysi Bin Kareem
In the context of os-jitter, delay/latency is measured as jitter. Peace Be With You. On Sat, 06 Oct 2012 03:06:57 +0200, da...@lang.hm wrote: less jitter != less latency you could (in theory) eliminate jitter by delaying every keypress processed for exactly 1 second by having the code

Re: [net:master 1/9] pch_gbe_main.c:(.text+0x510370): undefined reference to `pch_ch_control_write'

2012-10-06 Thread David Miller
From: Haicheng Li haicheng...@linux.intel.com Date: Sat, 06 Oct 2012 20:07:08 +0800 The failure is due to the CONFIG_PPS is not set there, consequently CONFIG_PTP_1588_CLOCK can not be set as =y anyway. So David's patch of da1586461e53a4dd045738cce309ab488970f0ef [1/9] pch_gbe: Fix PTP

Re: [PATCH] pppoatm: don't send frames to destroyed vcc

2012-10-06 Thread David Woodhouse
On Sat, 2012-10-06 at 14:19 +0200, Krzysztof Mazur wrote: Now pppoatm_send(), like vcc_sendmsg(), checks for vcc flags that indicate that vcc is not ready. And what locking prevents the flag from being set immediately after we check it? -- David WoodhouseOpen

Re: [REGRESSION] Kernel 3.6 drops network packets instead of forwarding

2012-10-06 Thread Eric Dumazet
On Sat, 2012-10-06 at 11:52 +, Chini, Georg (HP App Services) wrote: Hello, I have a network issue with kernel 3.6. My machine is set up as router and with 3.6 it sometimes silently drops reply packets instead of forwarding. Example tcpdump on the router for ping www.heise.de from a

Re: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-06 Thread Vyacheslav Dubeyko
Hi Jaegeuk, From: 김재극 jaegeuk@samsung.com To: v...@zeniv.linux.org.uk, 'Theodore Ts'o' ty...@mit.edu, gre...@linuxfoundation.org, linux-kernel@vger.kernel.org, chur@samsung.com, cm224@samsung.com, jaegeuk@samsung.com, jooyoung.hw...@samsung.com Subject:

  1   2   3   4   5   6   >