[PATCH] vmpressure: fix divide-by-0 in vmpressure_work_fn

2013-09-07 Thread Hugh Dickins
Hit divide-by-0 in vmpressure_work_fn(): checking vmpr-scanned before taking the lock is not enough, we must check scanned afterwards too. Signed-off-by: Hugh Dickins hu...@google.com Cc: sta...@vger.kernel.org --- mm/vmpressure.c |3 +++ 1 file changed, 3 insertions(+) ---

[PATCH] ia64: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from ia64 architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/ia64/kernel/irq_ia64.c | 4 arch/ia64/kernel/mca.c | 6 --

[PATCH-v2] frv: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from FRV architecture code. It's a NOOP since 2.6.35 and it will be removed one day. This second version of the patch removes unless structure member initializations (.flags = 0) Signed-off-by: Michael Opdenacker

Re: omap: panda rcu stall on 3.10.1

2013-09-07 Thread Christian Hoffmann
On 08/30/2013 10:10 AM, jean-philippe francois wrote: 2013/8/30 Christian Hoffmann chrmhoffm...@gmail.com: This also went to: linaro-ker...@lists.linaro.org Hi, current linaro kernel on 13.07 (3.10.1.0-1-linaro-omap) shows stack below. System is generally quite unstable. Light usage

[PATCH] x86: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from x86 architecture code. It's a NOOP since 2.6.35 and it will be removed one day. x86/xen support code will be addressed in a separate patch. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com ---

[PATCH] x86/xen: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from x86/xen code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/x86/xen/smp.c | 10 +- arch/x86/xen/spinlock.c | 2 +-

[PATCH] bcm63xx_enet: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from drivers/net/ethernet/broadcom/bcm63xx_enet.c It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 8

[PATCH] ARM: davinci: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from Davinci code ;) It's a NOOP since 2.6.35, and will be removed one day Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/arm/mach-davinci/board-da830-evm.c | 2 +-

Re: [git pull] Please pull powerpc.git next branch

2013-09-07 Thread Benjamin Herrenschmidt
On Fri, 2013-09-06 at 10:56 -0700, Linus Torvalds wrote: On Thu, Sep 5, 2013 at 7:24 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: * A bunch of endian fixes ! We don't have full LE support yet in that release but this contains a lot of fixes all over arch/powerpc to use the

[PATCH] ARM: OMAP: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from OMAP code It's a NOOP since 2.6.35, and will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/arm/mach-omap1/fpga.c | 3 +-- arch/arm/mach-omap1/pm.c | 1 -

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread David Herrmann
And this time also attached... On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote: On Fri, Sep 6, 2013 at 5:58 PM,

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread David Herrmann
Hi On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote: On Fri, Sep 6, 2013 at 5:58 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: The patch still had problems so I'd revert it and wii bits

[PATCH] mn10300: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from mn10300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/mn10300/kernel/cevt-mn10300.c | 2 +-

[PATCH] sparc: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from sparc architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/sparc/include/asm/floppy_64.h | 2 +- arch/sparc/kernel/ldc.c|

[PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-07 Thread Andrey Moiseev
When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. i8042_flush returns the number of flushed bytes, which is in 0 - I8042_BUFFER_SIZE range inclusive. Therefore, i8042_flush has no way to indicate an error. Moreover i8042_controller_check

[PATCH 00/19] pramfs

2013-09-07 Thread Marco Stornelli
Hi all, this is an attempt to include pramfs in mainline. At the moment pramfs has been included in LTSI kernel. Since last review the code is more or less the same but, with a really big thanks to Vladimir Davydov and Parallels, the development of fsck has been started and we have now the

[PATCH 01/19] pramfs: documentation

2013-09-07 Thread Marco Stornelli
Added pramfs documentation. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- Documentation/filesystems/pramfs.txt | 177 ++ Documentation/filesystems/xip.txt|2 + MAINTAINERS |9 ++ 3 files changed, 188

[PATCH 02/19] pramfs: add x86 set_memory_{rw|ro} flag

2013-09-07 Thread Marco Stornelli
Add a flag to x86 arch to know if a set_memory_{rw|ro} is supported. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- arch/Kconfig |3 +++ arch/x86/Kconfig |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread Benjamin Tissoires
On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Sep 06, 2013 at 06:00:29PM -0700, Linus Torvalds wrote: On Fri, Sep 6, 2013 at 5:58 PM, Dmitry Torokhov

[PATCH 03/19] pramfs: export xip_file_fault

2013-09-07 Thread Marco Stornelli
Export xip_file_fault to modules. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- include/linux/fs.h |2 ++ mm/filemap_xip.c |3 ++- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index 3b4cd82..1f61e07 100644 ---

[PATCH 04/19] pramfs: add include files

2013-09-07 Thread Marco Stornelli
Added include files. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/pram.h | 283 ++ include/linux/pram_fs.h | 48 +++ include/uapi/linux/Kbuild|1 + include/uapi/linux/magic.h |1 +

[PATCH 06/19] pramfs: inode operations

2013-09-07 Thread Marco Stornelli
Add inode operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/inode.c | 907 + 1 files changed, 907 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/inode.c diff --git a/fs/pramfs/inode.c

[PATCH 05/19] pramfs: super block operations

2013-09-07 Thread Marco Stornelli
Add super block operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/super.c | 994 + 1 files changed, 994 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/super.c diff --git a/fs/pramfs/super.c

[PATCH 07/19] pramfs: file operations

2013-09-07 Thread Marco Stornelli
Add file operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/file.c | 417 ++ 1 files changed, 417 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/file.c diff --git a/fs/pramfs/file.c

[PATCH 08/19] pramfs: file operations for dirs

2013-09-07 Thread Marco Stornelli
Add file operations for dirs. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/dir.c | 226 +++ 1 files changed, 226 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/dir.c diff --git a/fs/pramfs/dir.c

[PATCH 09/19] pramfs: inode operations for dirs

2013-09-07 Thread Marco Stornelli
Add inode operations for dirs. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/namei.c | 391 + 1 files changed, 391 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/namei.c diff --git a/fs/pramfs/namei.c

[PATCH 10/19] pramfs: block allocation

2013-09-07 Thread Marco Stornelli
Add block allocation operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/balloc.c | 160 1 files changed, 160 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/balloc.c diff --git a/fs/pramfs/balloc.c

[PATCH 11/19] pramfs: ioctl operations

2013-09-07 Thread Marco Stornelli
Add ioctl operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/ioctl.c | 127 + 1 files changed, 127 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/ioctl.c diff --git a/fs/pramfs/ioctl.c

[PATCH 13/19] pramfs: xip operations

2013-09-07 Thread Marco Stornelli
Add xip operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/xip.c | 119 +++ fs/pramfs/xip.h | 33 +++ 2 files changed, 152 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/xip.c create

[PATCH 12/19] pramfs: symlink operations

2013-09-07 Thread Marco Stornelli
Add symlink operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/symlink.c | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/symlink.c diff --git a/fs/pramfs/symlink.c

[PATCH 14/19] pramfs: extended attributes block description tree

2013-09-07 Thread Marco Stornelli
Add extended attributes block description tree. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/desctree.c | 181 ++ fs/pramfs/desctree.h | 44 2 files changed, 225 insertions(+), 0 deletions(-) create mode

[PATCH 15/19] pramfs: extended attributes

2013-09-07 Thread Marco Stornelli
Add extended attributes. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/xattr.c | 1118 fs/pramfs/xattr.h | 92 fs/pramfs/xattr_security.c | 80 fs/pramfs/xattr_trusted.c | 65 +++

[PATCH 17/19] pramfs: write protection

2013-09-07 Thread Marco Stornelli
Add write protection. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/wprotect.c | 39 ++ fs/pramfs/wprotect.h | 144 ++ 2 files changed, 183 insertions(+), 0 deletions(-) create mode 100644

[PATCH 16/19] pramfs: acl operations

2013-09-07 Thread Marco Stornelli
Add acl operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/acl.c | 415 +++ fs/pramfs/acl.h | 85 +++ 2 files changed, 500 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/acl.c create mode

[PATCH 18/19] pramfs: test module

2013-09-07 Thread Marco Stornelli
Add test module. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/pramfs/pramfs_test.c | 47 +++ 1 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 fs/pramfs/pramfs_test.c diff --git a/fs/pramfs/pramfs_test.c

[PATCH 19/19] pramfs: Kconfig and makefile

2013-09-07 Thread Marco Stornelli
Add Kconfig and makefile. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- fs/Kconfig |6 +++- fs/Makefile|1 + fs/pramfs/Kconfig | 72 fs/pramfs/Makefile | 14 ++ 4 files changed, 91

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread David Herrmann
Hi On Sat, Sep 7, 2013 at 10:24 AM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On Sat, Sep 7, 2013 at 9:31 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sat, Sep 7, 2013 at 5:22 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Fri, Sep 06, 2013 at 06:00:29PM

proc hidepid=2 and SGID programs

2013-09-07 Thread Christian Kujau
Hi, I was wondering why I cannot see processes that were started from SGID programs: $ grep ^proc /proc/mounts proc /proc proc rw,nosuid,nodev,noexec,relatime,hidepid=2 0 0 $ ls -n `which ssh-agent` -rwxr-sr-x 1 0 103 132748 Feb 8 2013 /usr/bin/ssh-agent $

Re: soft lockup in sysvipc code.

2013-09-07 Thread Manfred Spraul
Hi Dave, On 09/04/2013 11:50 PM, Dave Jones wrote: Haven't seen this before. Tree based on v3.11-3104-gf357a82 BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:25479] Modules linked in: sctp snd_seq_dummy fuse dlci rfcomm tun bnep hidp ipt_ULOG nfnetlink can_raw can_bcm

[PULL] UML updates for 3.12

2013-09-07 Thread Richard Weinberger
Linus, please pull form: git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git for-linus to receive UML updates for the 3.12 merge window. This pile contains mostly fixes and improvements for issues identified by Richard W. M. Jones while adding UML as backend to libguestfs. Thanks,

Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine

2013-09-07 Thread Yann E. MORIN
Paul, All, On 2013-09-06 10:30 -0700, Paul E. McKenney spake thusly: [--SNIP--] I also tried using Kconfig if: if SMP config NR_CPUS_REALLY int Fixed version of NR_CPUS default NR_CPUS endif if !SMP config NR_CPUS_REALLY int Fixed version of NR_CPUS default 1

Daily oops's with 3.11

2013-09-07 Thread Ian Jeffray
All, A previously stable solid system Core2 upgraded from 3.9.2 to 3.11 is now showing oops's more than every 24 hours. Would appreciate any advice on how to begin to help debug this as it appears to be deep in areas of the kernel I'm unfamiliar with (I generally just tickle drivers) TIA,

[PATCH] h8300: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/h8300/kernel/timer/itu.c | 2 +- arch/h8300/kernel/timer/timer16.c | 2

Re: [PATCH] h8300: remove deprecated IRQF_DISABLED

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 11:15 AM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker

[PATCH] microblaze: remove deprecated IRQF_DISABLED

2013-09-07 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from microblaze architecture code. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/microblaze/kernel/timer.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread David Herrmann
Hi On Sat, Sep 7, 2013 at 11:20 AM, Benjamin Tissoires benjamin.tissoi...@gmail.com wrote: On 07/09/13 10:57, David Herrmann wrote: Hi On Sat, Sep 7, 2013 at 10:24 AM, Benjamin Tissoires I'm not particularly in favor of adding semantic between ABS_MISC and ABS_MT_SLOT. We already did that

Re: Daily oops's with 3.11

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 11:08 AM, Ian Jeffray i...@jeffray.co.uk wrote: All, A previously stable solid system Core2 upgraded from 3.9.2 to 3.11 is now showing oops's more than every 24 hours. Would appreciate any advice on how to begin to help debug this as it appears to be deep in areas of

[PATCH] x86: Remove now-unused save_rest

2013-09-07 Thread Borislav Petkov
b3af11afe06a (x86: get rid of pt_regs argument of iopl(2)) dropped PTREGSCALL which was also the last user of save_rest. Drop that now-unused function too. Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/kernel/entry_64.S | 15 --- 1 file

Patch for quirking Asus tx300 and others incorrect edp bpp value

2013-09-07 Thread Jyrki Kuoppala
Patch against Linus' latest git, fixing bug 59841 reported at https://bugzilla.kernel.org/show_bug.cgi?id=59841 The Intel HD Graphics 4000 PCI display controller id 0x0166 appears to return an incorrect edp bpp value 16 instead of the correct 24. This patch adds a quirk for the controller.

Patch for i915 module load parameter to igore edp bpp value

2013-09-07 Thread Jyrki Kuoppala
Patch against Linus' latest git, fixing bug 59841 reported at https://bugzilla.kernel.org/show_bug.cgi?id=59841 for the cases where a quirk has not been added to the kernel for specific hardware. At least one Intel HD Graphics 4000 PCI display controller hardware with PCI id 0x0166 appears to

Re: [PATCH] simplefb: print some info about the registered fb

2013-09-07 Thread David Herrmann
Hi Tom On Fri, Sep 6, 2013 at 1:49 PM, Tom Gundersen t...@jklm.no wrote: This is similar to the output printed by efifb. Signed-off-by: Tom Gundersen t...@jklm.no Cc: Stephen Warren swar...@wwwdotorg.org Cc: David Herrmann dh.herrm...@gmail.com --- Hi, Sorry for the resend, got the ml

Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine

2013-09-07 Thread Geert Uytterhoeven
On Fri, Sep 6, 2013 at 8:50 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Sep 6, 2013 at 7:30 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Furthermore, it seems only hexagon, metag, mips, and x86 set NR_CPUS to 1 if !SMP. On other architectures, NR_CPUS is not defined

[PATCH v2] simplefb: print some info about the registered fb

2013-09-07 Thread Tom Gundersen
This is similar to the output printed by efifb. Signed-off-by: Tom Gundersen t...@jklm.no Acked-by: Stephen Warren swar...@wwwdotorg.org Cc: David Herrmann dh.herrm...@gmail.com --- v2: also print smem_len as requested by David drivers/video/simplefb.c | 8 1 file changed, 8

Problems with splice

2013-09-07 Thread Mayk Eskila
Hello list, I intend to upgrade my own disc and partition cloning program by using splice. When running splice-cp.c from current git on my average dualcore hardware with kernel 3.10 I found that copying 1G files with splice is about twice as fast as using plain vanilla cp. However I have

Re: [PATCH v4 5/5] clk: dt: binding for basic gate clock

2013-09-07 Thread Tomasz Figa
Hi Tony, On Wednesday 04 of September 2013 10:59:09 Tony Lindgren wrote: * Haojian Zhuang haojian.zhu...@linaro.org [130903 20:11]: We can see that it'll try to find static mapping. What's the static mapping? If we define iotable in machine driver, we have the static mapping, just like

Submit Your Research Work (REF#:0001)

2013-09-07 Thread Editor
September, 2013 RESEARCH ARTICLES PUBLICATION We are inviting you to submit your research articles to our journal publication service. Science Journal Publication is a broad-base open access journal publisher. We cover all areas of scientific researches, humanities, social sciences and

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-09-07 Thread Tomasz Figa
On Friday 06 of September 2013 13:01:15 Stephen Warren wrote: On 09/06/2013 12:53 AM, Tero Kristo wrote: On 09/05/2013 11:30 PM, Stephen Warren wrote: ... 1) At least for large SoCs (rather than e.g. a simple clock generator chip/crystal with 1 or 2 outputs), clock drivers need a

3-5% increased netperf throughput by sched: Micro-optimize the smart wake-affine logic

2013-09-07 Thread Fengguang Wu
Hi Peter, We are glad to report some measurable performance improvements by your commit commit 7d9ffa8961482232d964173cccba6e14d2d543b2 Author: Peter Zijlstra pet...@infradead.org Date: Thu Jul 4 12:56:46 2013 +0800 sched: Micro-optimize the smart wake-affine logic Smart

Re: [REGRESSION] v3.12-rc1: i915_driver_load oopses when sysfb enabled

2013-09-07 Thread David Herrmann
Hi On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote: Hi guys, With current git (v3.11-5058-g57d7309) I get the following oops: [5.434312] [ cut here ] [5.434318] WARNING: CPU: 2 PID: 199 at arch/x86/mm/ioremap.c:171

Re: [BUG kernel 3.11+] i915: pipe state doesn't match

2013-09-07 Thread Knut Petersen
On 07.09.2013 06:19, Hillf Danton wrote: If it works after reverting commit, 3eaba51cd399f5362a9fd9ebd5fb8b625b454271 drm/i915: Don't call encoder's get_config unless encoder is active Hmm, after reverting 3eaba51cd399f5362a9fd9ebd5fb8b625b454271 I still see: [ 2.259897]

netfilter: active obj WARN when cleaning up

2013-09-07 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest, running latest -next kernel, I've stumbled on the following: [ 418.311956] [ cut here ] [ 418.312449] WARNING: CPU: 6 PID: 4178 at lib/debugobjects.c:260 debug_print_object+0x8d/0xb0() [ 418.313243]

Re: [REGRESSION] v3.12-rc1: i915_driver_load oopses when sysfb enabled

2013-09-07 Thread Tom Gundersen
On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote: On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote: Hi guys, With current git (v3.11-5058-g57d7309) I get the following oops: [5.434312] [ cut here ] [5.434318] WARNING:

Re: [REGRESSION] v3.12-rc1: i915_driver_load oopses when sysfb enabled

2013-09-07 Thread David Herrmann
Hi On Sat, Sep 7, 2013 at 3:45 PM, Tom Gundersen t...@jklm.no wrote: On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote: On Fri, Sep 6, 2013 at 2:10 PM, Tom Gundersen t...@jklm.no wrote: Hi guys, With current git (v3.11-5058-g57d7309) I get the following oops: [

Re: [PATCH v2] simplefb: print some info about the registered fb

2013-09-07 Thread Geert Uytterhoeven
On Sat, Sep 7, 2013 at 1:43 PM, Tom Gundersen t...@jklm.no wrote: + dev_info(pdev-dev, framebuffer at 0x%lx, 0x%lx bytes, mapped to 0x%p\n, +info-fix.smem_start, (unsigned long) info-fix.smem_len, Please drop the cast, and use 0x%x. __u32 is unsigned int

[PATCH v3] simplefb: print some info about the registered fb

2013-09-07 Thread Tom Gundersen
This is similar to the output printed by efifb. Signed-off-by: Tom Gundersen t...@jklm.no Acked-by: Stephen Warren swar...@wwwdotorg.org Cc: David Herrmann dh.herrm...@gmail.com --- v2: also print smem_len, as requested by David v3: don't cast, as requested by Geert drivers/video/simplefb.c | 8

[PATCH 4/5] xen/spinlock: Don't setup xen spinlock IPI kicker if disabled.

2013-09-07 Thread Konrad Rzeszutek Wilk
There is no need to setup this IPI kicker if we are never going to use the paravirtualized ticketlock mechanism. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/spinlock.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git

[PATCH 5/5] Revert xen/spinlock: Disable IRQ spinlock (PV) allocation on PVHVM

2013-09-07 Thread Konrad Rzeszutek Wilk
This reverts commit 70dd4998cb85f0ecd6ac892cc7232abefa432efb. Now that the bugs have been resolved we can re-enable the PV ticketlock implementation under PVHVM Xen guests. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/spinlock.c | 20 1

[PATCH 1/5] xen/spinlock: Fix locking path engaging too soon under PVHVM.

2013-09-07 Thread Konrad Rzeszutek Wilk
The xen_lock_spinning has a check for the kicker interrupts and if it is not initialised it will spin normally (not enter the slowpath). But for PVHVM case we would initialise the kicker interrupt before the CPU came online. This meant that if the booting CPU used a spinlock and went in the

[PATCH] Bug-fixes to enable PV ticketlock to work under Xen PVHVM with Linux v3.12. (v1)

2013-09-07 Thread Konrad Rzeszutek Wilk
After a bit of false starts, lots of debugging, and tons of help from Stefano and David on how event mechanism is suppose to work I am happy to present a set of bug-fixes that make PV ticketlocks work under Xen PVHVM with Linux v3.12. v3.12 has now thanks to commit

[PATCH 3/5] xen/smp: Update pv_lock_ops functions before alternative code starts under PVHVM

2013-09-07 Thread Konrad Rzeszutek Wilk
Before this patch we would patch all of the pv_lock_ops sites using alternative assembler. Then later in the bootup cycle change the unlock_kick and lock_spinning to the Xen specific - without re patching. That meant that for the core of the kernel we would be running with the baremetal version

[PATCH 2/5] xen/spinlock: We don't need the old structure anymore

2013-09-07 Thread Konrad Rzeszutek Wilk
As we are piggybacking on the generic ticketlock structs and these old structures are not needed anymore. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/spinlock.c | 18 -- 1 files changed, 0 insertions(+), 18 deletions(-) diff --git

Re: [PATCH V2 1/2] perf tools: fix id pos in perf_evlist__open()

2013-09-07 Thread David Ahern
On 9/6/13 1:40 PM, Adrian Hunter wrote: Ensure the id_pos is correct when perf_evlist__open() is used. The commit log should reference 7556257 and breakage of 'kvm stat live'; helps identify patches when backporting. Other than that this patch fixes the problem. Tested-by and Acked-by

Re: [PATCH V2 2/2] perf kvm: fix sample_type manipulation

2013-09-07 Thread David Ahern
On 9/6/13 1:40 PM, Adrian Hunter wrote: Manipulating the sample_type of an evsel requires the use of: perf_evsel__set_sample_bit() and perf_evsel__reset_sample_bit() Signed-off-by: Adrian Hunter adrian.hun...@intel.com Tested-by and Acked-by David Ahern dsah...@gmail.com -- To

Re: [REGRESSION] v3.12-rc1: i915_driver_load oopses when sysfb enabled

2013-09-07 Thread David Herrmann
Hi Tom On Sat, Sep 7, 2013 at 3:52 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sat, Sep 7, 2013 at 3:45 PM, Tom Gundersen t...@jklm.no wrote: On Sat, Sep 7, 2013 at 2:40 PM, David Herrmann dh.herrm...@gmail.com wrote: It seems to be unrelated to the x86-sysfb changes. The WARN_ON

Re: race condition in crypto larval handling

2013-09-07 Thread Neil Horman
On Fri, Sep 06, 2013 at 04:20:50PM -0700, Kees Cook wrote: Hi, I've tracked down a race condition and ref counting problem in the crypto API internals. We've been seeing it under Chrome OS, but it seems it's not isolated to just us:

Re: [PATCH 12/19] pramfs: symlink operations

2013-09-07 Thread Al Viro
On Sat, Sep 07, 2013 at 10:29:15AM +0200, Marco Stornelli wrote: +static int pram_readlink(struct dentry *dentry, char __user *buffer, int buflen) +{ + struct inode *inode = dentry-d_inode; + struct super_block *sb = inode-i_sb; + u64 block; + char *blockp; + + block

Re: [PATCH 00/19] pramfs

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli marco.storne...@gmail.com wrote: Hi all, this is an attempt to include pramfs in mainline. At the moment pramfs has been included in LTSI kernel. Since last review the code is more or less the same but, with a really big thanks to Vladimir

Re: [PATCH 08/19] pramfs: file operations for dirs

2013-09-07 Thread Al Viro
On Sat, Sep 07, 2013 at 10:22:36AM +0200, Marco Stornelli wrote: +int pram_add_link(struct dentry *dentry, struct inode *inode) +{ + struct inode *dir = dentry-d_parent-d_inode; + struct pram_inode *pidir, *pi, *pitail = NULL; + u64 tail_ino, prev_ino; + + const char *name =

Re: [PATCH 09/19] pramfs: inode operations for dirs

2013-09-07 Thread Al Viro
On Sat, Sep 07, 2013 at 10:23:42AM +0200, Marco Stornelli wrote: +static int pram_rmdir(struct inode *dir, struct dentry *dentry) +{ + struct inode *inode = dentry-d_inode; + struct pram_inode *pi; + int err = -ENOTEMPTY; + + if (!inode) + return -ENOENT; + +

[PATCH v9 10/10] tracing: Make register/unregister_ftrace_command __init

2013-09-07 Thread Tom Zanussi
register/unregister_ftrace_command() are only ever called from __init functions, so can themselves be made __init. Also make register_snapshot_cmd() __init for the same reason. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com --- include/linux/ftrace.h | 4 ++-- kernel/trace/ftrace.c |

[PATCH v9 00/10] tracing: trace event triggers

2013-09-07 Thread Tom Zanussi
Hi, This is v9 of the trace event triggers patchset. This version addresses the comments and feedback from Steve Rostedt on v8. v9: - changed the comments in ftrace_syscall_enter/exit to reflect that the tracepoint handlers are inside rcu_read_lock_sched() rather than just

[PATCH v9 09/10] tracing: Add documentation for trace event triggers

2013-09-07 Thread Tom Zanussi
Provide a basic overview of trace event triggers and document the available trigger commands, along with a few simple examples. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com --- Documentation/trace/events.txt | 207 + 1 file changed, 207

[PATCH 01/10] tracing: Add support for SOFT_DISABLE to syscall events

2013-09-07 Thread Tom Zanussi
The original SOFT_DISABLE patches didn't add support for soft disable of syscall events; this adds it and paves the way for future patches allowing triggers to be added to syscall events, since triggers are built on top of SOFT_DISABLE. Add an array of ftrace_event_file pointers indexed by

[PATCH v9 06/10] tracing: Add 'enable_event' and 'disable_event' event trigger commands

2013-09-07 Thread Tom Zanussi
Add 'enable_event' and 'disable_event' event_command commands. enable_event and disable_event event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'enable_event' and 'disable_event' ftrace function commands, but instead of

[PATCH v9 04/10] tracing: Add 'snapshot' event trigger command

2013-09-07 Thread Tom Zanussi
Add 'snapshot' event_command. snapshot event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'snapshot' ftrace function command, but instead of writing to the set_ftrace_filter file, the snapshot event trigger is written to

[PATCH v9 07/10] tracing: Add and use generic set_trigger_filter() implementation

2013-09-07 Thread Tom Zanussi
Add a generic event_command.set_trigger_filter() op implementation and have the current set of trigger commands use it - this essentially gives them all support for filters. Syntactically, filters are supported by adding 'if filter' just after the command, in which case only events matching the

[PATCH v9 08/10] tracing: Update event filters for multibuffer

2013-09-07 Thread Tom Zanussi
The trace event filters are still tied to event calls rather than event files, which means you don't get what you'd expect when using filters in the multibuffer case: Before: # echo 'count 65536' /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/filter # cat

[PATCH v9 05/10] tracing: Add 'stacktrace' event trigger command

2013-09-07 Thread Tom Zanussi
Add 'stacktrace' event_command. stacktrace event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'stacktrace' ftrace function command, but instead of writing to the set_ftrace_filter file, the stacktrace event trigger is

[PATCH v9 02/10] tracing: Add basic event trigger framework

2013-09-07 Thread Tom Zanussi
Add a 'trigger' file for each trace event, enabling 'trace event triggers' to be set for trace events. 'trace event triggers' are patterned after the existing 'ftrace function triggers' implementation except that triggers are written to per-event 'trigger' files instead of to a single file such

[PATCH v9 03/10] tracing: Add 'traceon' and 'traceoff' event trigger commands

2013-09-07 Thread Tom Zanussi
Add 'traceon' and 'traceoff' event_command commands. traceon and traceoff event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'traceon' and 'traceoff' ftrace function commands, but instead of writing to the

[3.11-rc1] CONFIG_DEBUG_MUTEXES=y using gcc 3.x makes unbootable kernel.

2013-09-07 Thread Tetsuo Handa
Hello. I noticed that 3.11 and current linux.git do not boot (they hang before printing the Linux version 3.10.0-rc7-00026-g040a0a3 line) when built with CONFIG_DEBUG_MUTEXES=y using gcc (GCC) 3.3.5 (Debian 1:3.3.5-13). They boot OK when built with the same config using gcc (Ubuntu/Linaro

[PATCH] Btrfs: cleanup redundant code in __btrfs_close_devices()

2013-09-07 Thread Azat Khuzhin
Signed-off-by: Azat Khuzhin a3at.m...@gmail.com --- fs/btrfs/volumes.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 1d1b595..124228e 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -644,7 +644,7 @@ static int

Re: [PATCH 12/19] pramfs: symlink operations

2013-09-07 Thread Marco Stornelli
Il 07/09/2013 16:41, Al Viro ha scritto: On Sat, Sep 07, 2013 at 10:29:15AM +0200, Marco Stornelli wrote: +static int pram_readlink(struct dentry *dentry, char __user *buffer, int buflen) +{ + struct inode *inode = dentry-d_inode; + struct super_block *sb = inode-i_sb; + u64

Re: [PATCH 08/19] pramfs: file operations for dirs

2013-09-07 Thread Marco Stornelli
Il 07/09/2013 17:01, Al Viro ha scritto: On Sat, Sep 07, 2013 at 10:22:36AM +0200, Marco Stornelli wrote: +int pram_add_link(struct dentry *dentry, struct inode *inode) +{ + struct inode *dir = dentry-d_parent-d_inode; + struct pram_inode *pidir, *pi, *pitail = NULL; + u64

Re: [PATCH 09/19] pramfs: inode operations for dirs

2013-09-07 Thread Marco Stornelli
Il 07/09/2013 17:08, Al Viro ha scritto: On Sat, Sep 07, 2013 at 10:23:42AM +0200, Marco Stornelli wrote: +static int pram_rmdir(struct inode *dir, struct dentry *dentry) +{ + struct inode *inode = dentry-d_inode; + struct pram_inode *pi; + int err = -ENOTEMPTY; + + if

Re: [PATCH 00/19] pramfs

2013-09-07 Thread Marco Stornelli
Il 07/09/2013 16:58, richard -rw- weinberger ha scritto: On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli marco.storne...@gmail.com wrote: Hi all, this is an attempt to include pramfs in mainline. At the moment pramfs has been included in LTSI kernel. Since last review the code is more or less

[PATCH] cpufreq: Fix wrong time unit conversion

2013-09-07 Thread Frederic Weisbecker
The time spent by a CPU under a given frequency is stored in jiffies unit in the cpu var cpufreq_stats_table-time_in_state[i], i being the index of the frequency. This is what is displayed in the following file on the right column: cat

Re: [GIT] HID for 3.12 merge window

2013-09-07 Thread Linus Torvalds
On Sat, Sep 7, 2013 at 12:31 AM, David Herrmann dh.herrm...@gmail.com wrote: The bug only occurs for multi-touch devices (their ABS_* bits are 0x1f), that's why I didn't see it happening during my tests.. It definitely affects keyboards too. That's how I noticed it. That is with the logitech

Re: [Intel-gfx] [BUG kernel 3.11+] i915: pipe state doesn't match

2013-09-07 Thread Daniel Vetter
On Fri, Sep 6, 2013 at 11:58 PM, Knut Petersen knut_peter...@t-online.de wrote: Someone might be interested ... kernel 2e032852245b3dcfe5461d7353e34eb6da095ccf. [0.00] Linux version 3.11.0-main+ (k...@linux-ktth.site) (gcc version 4.7.2 20130108 [gcc-4_7-branch revision 195012] (SUSE

Re: race condition in crypto larval handling

2013-09-07 Thread Kees Cook
On Sat, Sep 7, 2013 at 7:39 AM, Neil Horman nhor...@tuxdriver.com wrote: On Fri, Sep 06, 2013 at 04:20:50PM -0700, Kees Cook wrote: Hi, I've tracked down a race condition and ref counting problem in the crypto API internals. We've been seeing it under Chrome OS, but it seems it's not

  1   2   3   4   5   6   >