Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-23 Thread H. Peter Anvin
On 10/23/2012 08:42 AM, Kees Cook wrote: Hm, yeah, userspace mangling of a module plus signing would fail. Seems like mangling and signing aren't compatible. Doing it in kernel-space (as now written for finit_module) solves that, but it means that now compression isn't possible if you need both

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-23 Thread JoonSoo Kim
2012/10/23 Glauber Costa : > On 10/23/2012 12:07 PM, Glauber Costa wrote: >> On 10/23/2012 04:48 AM, JoonSoo Kim wrote: >>> Hello, Glauber. >>> >>> 2012/10/23 Glauber Costa : On 10/22/2012 06:45 PM, Christoph Lameter wrote: > On Mon, 22 Oct 2012, Glauber Costa wrote: > >> + * kmem_

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-23 Thread Kees Cook
On Mon, Oct 22, 2012 at 9:08 PM, Lucas De Marchi wrote: > On Tue, Oct 23, 2012 at 1:40 AM, Kees Cook wrote: >> On Mon, Oct 22, 2012 at 7:37 PM, Lucas De Marchi >> wrote: >>> On Mon, Oct 22, 2012 at 5:39 AM, Rusty Russell >>> wrote: "Michael Kerrisk (man-pages)" writes: >> FIX: add fl

Re: [PATCH] check the kzalloc return value

2012-10-23 Thread Borislav Petkov
On Mon, Oct 22, 2012 at 07:56:04PM +0400, Denis Kirjanov wrote: > Needs a commit message. > Signed-off-by: Denis Kirjanov > --- > drivers/edac/edac_mc_sysfs.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/edac/edac_mc_sysfs.c b/drivers/edac/edac_mc_sysf

Re: [Patch v4 7/7] Onkey: DA9055 Onkey driver

2012-10-23 Thread Dmitry Torokhov
On Tue, Oct 23, 2012 at 03:29:52PM +0530, Ashish Jangam wrote: > Does this patch looks good? Yes, I just need to pull mainline to get the DA9055 bits (will happen at 3.7-rc3) and I will apply it. Thanks. > On Fri, 2012-10-12 at 15:02 +0530, Ashish Jangam wrote: > > This is the ONKEY driver of th

Re: [PATCH] edac: fix buffer overrun if no suitable bandwidth found

2012-10-23 Thread Borislav Petkov
On Mon, Oct 22, 2012 at 07:30:58PM +0400, Denis Kirjanov wrote: > fix buffer overrun if no suitable bandwidth found > > Signed-off-by: Denis Kirjanov Applied with modifications and stable dropped. Thanks. -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM:

Re: [PATCH 2/7] freezer: add missing mb's to freezer_count() and freezer_should_skip()

2012-10-23 Thread Oleg Nesterov
Hi Tejun, On 10/22, Tejun Heo wrote: > > On Mon, Oct 22, 2012 at 07:44:04PM +0200, Oleg Nesterov wrote: > > > We probably have another similar race. If ptrace_stop()->may_ptrace_stop() > > returns false, the task does > > > > __set_current_state(TASK_RUNNING); > > // no mb in between > >

Re: [PATCH v2 2/4] gpio: add viperboard gpio driver

2012-10-23 Thread Lars Poeschel
On Tuesday 16 October 2012 at 19:11:10, Linus Walleij wrote: > On Tue, Oct 16, 2012 at 3:38 PM, Lars Poeschel wrote: > > I had a look at regmap. This is interesting. But there is no regmap_bus > > implementation for usb. Are you pointing me in this direction ? ;-) > > I was more thinking about wh

Re: [RFC PATCH v2 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-10-23 Thread Ming Lei
On Tue, Oct 23, 2012 at 10:46 PM, Alan Stern wrote: > On Tue, 23 Oct 2012, Ming Lei wrote: > >> On Mon, Oct 22, 2012 at 10:33 PM, Alan Stern >> wrote: >> > >> > Tail recursion should be implemented as a loop, not as an explicit >> > recursion. That is, the function should be: >> > >> > void pm_

Re: [GIT PULL] x86 fix

2012-10-23 Thread Borislav Petkov
On Tue, Oct 23, 2012 at 08:00:54AM -0700, H. Peter Anvin wrote: > I thought I had already pushed this fix with a proper description... Yes, this one is already upstream. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-10-23 Thread Michael S. Tsirkin
On Wed, Sep 12, 2012 at 12:44:47PM +0200, Sasha Levin wrote: > On 09/12/2012 08:13 AM, Rusty Russell wrote: > > The real question is now whether we'd want a separate indirect cache for > > the 3 case (so num above should be a bitmap?), or reuse the same one, or > > not use it at all? > > > > Bench

Re: [PATCH 1/2] brw_mutex: big read-write mutex

2012-10-23 Thread Oleg Nesterov
Hi Mikulas, On 10/22, Mikulas Patocka wrote: > > On Fri, 19 Oct 2012, Oleg Nesterov wrote: > > > On 10/19, Mikulas Patocka wrote: > > > > > > synchronize_rcu() is way slower than msleep(1) - > > > > This depends, I guess. but this doesn't mmatter, > > > > > so I don't see a reason > > > why should

Re: [PATCH v2 1/4] ARM: dts: omap5: Update GPIO with address space and interrupts

2012-10-23 Thread Benoit Cousson
On 10/23/2012 04:49 PM, Jon Hunter wrote: > Hi Seb, > > On 10/23/2012 03:37 AM, Sebastien Guiriec wrote: >> Add base address and interrupt line inside Device Tree data for >> OMAP5 >> >> Signed-off-by: Sebastien Guiriec >> --- >> arch/arm/boot/dts/omap5.dtsi | 16 >> 1 file ch

Re: [PATCH -stable] amd_iommu: attach device fails on the last pci device

2012-10-23 Thread Shuah Khan
On Fri, 2012-10-12 at 12:35 -0700, Jonathan Nieder wrote: > Shuah Khan wrote: > > On Fri, 2012-10-12 at 11:38 -0700, Jonathan Nieder wrote: > > >> To save Willy time: am I correct in guessing the upstream commit you > >> are referring to is 98fc5a693bbdda498a556654c70d1e31a186c988 > >> (x86/amd-io

Re: [PATCHv4 0/8] perf, tool: Allow to use hw events in PMU syntax

2012-10-23 Thread Peter Zijlstra
On Wed, 2012-10-10 at 14:53 +0200, Jiri Olsa wrote: > arch/x86/kernel/cpu/perf_event.c | 121 > + > arch/x86/kernel/cpu/perf_event.h | 2 ++ > arch/x86/kernel/cpu/perf_event_amd.c | 9 +++

Re: [GIT PULL] x86 fix

2012-10-23 Thread H. Peter Anvin
I thought I had already pushed this fix with a proper description... Ingo Molnar wrote: >Linus, > >Please pull the latest x86-urgent-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git >x86-urgent-for-linus > >HEAD: 235d220e1b55c1f8683fd4f59c3e8e39ba6ca915 Merge

Re: [PATCH 1/6] xen/pvh: Support ParaVirtualized Hardware extensions.

2012-10-23 Thread Konrad Rzeszutek Wilk
> diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h > index b66d04c..8beebdb 100644 > --- a/include/xen/interface/memory.h > +++ b/include/xen/interface/memory.h > @@ -169,7 +169,13 @@ struct xen_add_to_physmap { > /* Source mapping space. */ > #define XENMAPSPACE_s

Re: ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined

2012-10-23 Thread Will Deacon
On Tue, Oct 23, 2012 at 03:48:21PM +0100, Kukjin Kim wrote: > Hi all, > > Now, v3.7-rc2 happens following build error with s3c2410_defconfig... > > ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined! > make[2]: *** [__modpost] Error 1 > make[1]: *** [modules] Error 2 > make[1]: *** Waiting f

Re: ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined

2012-10-23 Thread Marc Zyngier
On 23/10/12 15:48, Kukjin Kim wrote: > Hi all, > > Now, v3.7-rc2 happens following build error with s3c2410_defconfig... > > ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined! > make[2]: *** [__modpost] Error 1 > make[1]: *** [modules] Error 2 > make[1]: *** Waiting for unfinished jobs

Re: [tracing] WARNING: at kernel/lockdep.c:3545 check_flags()

2012-10-23 Thread Steven Rostedt
On Thu, 2012-10-18 at 19:41 +0800, Fengguang Wu wrote: > Hi Steven, Hi Wu, I was out of town and I don't read my redhat email address while traveling. > > This warning occur from time to time in my tests: > > [ 593.080133] Testing tracer function: > [ 593.149895] [ cut here ]---

Re: [PATCH v2 2/4] zynq: move static peripheral mappings

2012-10-23 Thread Arnd Bergmann
On Monday 22 October 2012, Josh Cartwright wrote: > Shifting them up into the vmalloc region prevents the following warning, > when booting a zynq qemu target with more than 512mb of RAM: > > BUG: mapping for 0xe000 at 0xe000 out of vmalloc space > > In addition, it allows for reuse of

Re: [PATCH v2 1/4] ARM: dts: omap5: Update GPIO with address space and interrupts

2012-10-23 Thread Jon Hunter
Hi Seb, On 10/23/2012 03:37 AM, Sebastien Guiriec wrote: > Add base address and interrupt line inside Device Tree data for > OMAP5 > > Signed-off-by: Sebastien Guiriec > --- > arch/arm/boot/dts/omap5.dtsi | 16 > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm/boo

ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined

2012-10-23 Thread Kukjin Kim
Hi all, Now, v3.7-rc2 happens following build error with s3c2410_defconfig... ERROR: "read_current_timer" [fs/ext4/ext4.ko] undefined! make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 make[1]: *** Waiting for unfinished jobs Any idea on this? Thanks. K-Gene -- To unsubscri

Re: [RFC PATCH v2 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-10-23 Thread Alan Stern
On Tue, 23 Oct 2012, Ming Lei wrote: > On Mon, Oct 22, 2012 at 10:33 PM, Alan Stern > wrote: > > > > Tail recursion should be implemented as a loop, not as an explicit > > recursion. That is, the function should be: > > > > void pm_runtime_set_memalloc_noio(struct device *dev, bool enable) > >

[GIT PULL] tile updates for 3.7-rc2

2012-10-23 Thread Chris Metcalf
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git stable This fixes one issue with compiler flags that can cause modules not to load, and cleans up some warnings with ELF_R_xxx defines. Chris Metcalf (2): arch/tile: avoid generating .eh_frame

[PATCH v2]usb: "ehci-w90x900" Fix a typo and add some whitespace.

2012-10-23 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes a typo in usb: ehci-w90x900.c as well as adding whitespace to the comment. NOTE: this is a resend due to a typo creating a new typo as well as revision to the original. drivers/usb/host/ehci-w90x900.c |

Re: [PATCH v2 0/4] zynq subarch cleanups

2012-10-23 Thread Arnd Bergmann
On Monday 22 October 2012, Josh Cartwright wrote: > Hey all- > > Things have been relatively quiet on the Zynq front lately. This > patchset does a bit of cleanup of the Zynq subarchitecture. It was the > necessary set of things I had to do to get a zynq target booting with > the upstream qemu m

Re: [PATCH 1/3 v2] firmware: Convert firmware path setup from an array to a list

2012-10-23 Thread Ming Lei
On Tue, Oct 23, 2012 at 9:44 PM, Dimitris Papastamos wrote: > > I don't currently have a use-case for this, so not sure how useful > it is to list the default fw paths. OK, got it, thanks for your effort. Greg, so could we just hold on until it is useful? Thanks, -- Ming Lei -- To unsubscribe

Re: [PATCH] [RESEND 2] Take over futex of dead task only if FUTEX_WAITERS is not set

2012-10-23 Thread Darren Hart
Hi Siddesh, Thanks for the patch and your work to isolate it in the glibc bug 14076. On 10/21/2012 08:20 PM, Siddhesh Poyarekar wrote: > In futex_lock_pi_atomic, we consider that if the value in the futex > variable is 0 with additional flags, then it is safe for takeover > since the owner of the

Re: Linux Kernel

2012-10-23 Thread Justin P. Mattock
On 10/23/2012 04:32 AM, Dwiastika Peppy wrote: Hai Justin. My name is Peppy I wanna ask you about installing Linux Kernel 2.6.27 I'm a newbie in Linux user I got problem when installed Linux Kernel and this is the problem : *scripts/unifdef.c:209: error: conflicting types for ‘getline’ /usr/inclu

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-23 Thread Christoph Lameter
On Tue, 23 Oct 2012, Glauber Costa wrote: > I don't know what exactly do you have in mind, but since the cache > layouts are very different, this is quite hard to do without incurring > without function calls anyway. True. Sigh. -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: Heads-up: 3.6.2 / 3.6.3 NFS server panic: 3.6.2+ regression?

2012-10-23 Thread J. Bruce Fields
On Tue, Oct 23, 2012 at 03:07:59PM +0100, Nix wrote: > On 23 Oct 2012, J. Bruce Fields uttered the following: > > > On Mon, Oct 22, 2012 at 05:17:04PM +0100, Nix wrote: > >> I just had a panic/oops on upgrading from 3.6.1 to 3.6.3, after weeks of > >> smooth operation on 3.6.1: one of the NFS chan

Re: [PATCH] UAPI: Fix tools/vm/page-types.c

2012-10-23 Thread Daniel Hazelton
On 10/23/12 09:20, David Howells wrote: Fix tools/vm/page-types.c to use the UAPI variant of linux/kernel-page-flags.h lest the following error appear: In file included from page-types.c:38:0: ../../include/linux/kernel-page-flags.h:4:42: fatal error: uapi/linux/kernel-pa

RE: 3.7 RC1

2012-10-23 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Tuesday, October 23, 2012 1:47 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.

Re: [PATCH 1/6] xen/pvh: Support ParaVirtualized Hardware extensions.

2012-10-23 Thread Konrad Rzeszutek Wilk
> +/* > + * Unmaps the page appearing at a particular GPFN from the specified guest's > + * pseudophysical address space. > + * arg == addr of xen_remove_from_physmap_t. > + */ > +#define XENMEM_remove_from_physmap 15 > +struct xen_remove_from_physmap { > +/* Which domain to change the map

Re: [PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-23 Thread Borislav Petkov
On Tue, Oct 23, 2012 at 07:30:21PM +0800, Tang Chen wrote: > First of all, I do think I was answering your question. As I said > before, if an online cpu == dying here, there must be something wrong. > Am I right here ? Please read the code. We're skipping the cpu == dying case. -- Regards/Gruss

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-23 Thread Glauber Costa
On 10/23/2012 06:12 PM, Christoph Lameter wrote: > On Tue, 23 Oct 2012, Glauber Costa wrote: > >> I do agree, but since freeing is ultimately dependent on the allocator >> layout, I don't see a clean way of doing this without dropping tears of >> sorrow around. The calls in slub/slab/slob would ha

Re: [PATCH 1/2]staging: "ehci-w90x900" Fix typos.

2012-10-23 Thread Alan Stern
On Mon, 22 Oct 2012, Justin P. Mattock wrote: > From: "Justin P. Mattock" > > Signed-off-by: Justin P. Mattock > > --- > > The below patch fixes a typo in staging: "ehci-w90x900" What does ehci-w90x900 have to do with staging? > drivers/usb/host/ehci-w90x900.c |2 +- > 1 file changed,

Re: [PATCH 1/2] perf header: Fix numa topology printing

2012-10-23 Thread Andrew Jones
On Tue, Oct 23, 2012 at 10:44:49PM +0900, Namhyung Kim wrote: > Andrew reported that the commit 7e94cfcc9d20 ("perf header: Use pre- > processed session env when printing") regresses the header output. > It was because of a missed string pointer calculation in the loop. > > Reported-by: Andrew Jon

[PATCH 00/26] pstore, mmc: add mmc as backend for pstore

2012-10-23 Thread Irina Tirdea
These patches enable using the mmc card to store panic information. They include changes for pstore and mmc: - add block device backend for pstore - add logic in mmc for writing in panic mode Thanks, Irina Cc: Adrian Hunter Adrian Hunter (26): pstore: allow for big files pstore: add flag

Re: [PATCH 2/2] slab: move kmem_cache_free to common code

2012-10-23 Thread Christoph Lameter
On Tue, 23 Oct 2012, Glauber Costa wrote: > I do agree, but since freeing is ultimately dependent on the allocator > layout, I don't see a clean way of doing this without dropping tears of > sorrow around. The calls in slub/slab/slob would have to be somehow > inlined. Hum... maybe it is possible

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Andi Kleen
... NIH snipped ... > If you do this inside perf, you have access to more infrastructure > code, e.g., dwarf. > For instance, I am interested in getting a value profiling mode. That > means sampling > the values of function arguments. That needs some dwarf support and the PEBS > machine state. W

RE: [PATCH V3] gpio: samsung: use pr_* instead of printk

2012-10-23 Thread Kukjin Kim
Linus Walleij wrote: > > On Mon, Oct 22, 2012 at 3:02 AM, Jingoo Han wrote: > > On Friday, October 19, 2012 7:09 PM Linus Walleij wrote > >> > >> On Wed, Oct 17, 2012 at 3:52 AM, Jingoo Han wrote: > >> > >> > This patch uses pr_* instead of printk. Also, gpio_dbg > >> > is replaced with pr_debug

Re: [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines

2012-10-23 Thread Chris Metcalf
On 10/21/2012 11:16 PM, Rusty Russell wrote: > Chris Metcalf writes: > >> These are now provided in , so clean up warning >> by not re-defining them in module.c. >> >> Signed-off-by: Chris Metcalf > This change was in linux-next for quite a while, BTW, so there would > have been over a month of w

Re: [PATCH -next] printk: fix broken 'console' kernel parameter

2012-10-23 Thread Fengguang Wu
On Tue, Oct 23, 2012 at 09:41:18PM +0800, Ming Lei wrote: > If CONFIG_A11Y_BRAILLE_CONSOLE is not enabled, _braille_console_setup() > should return NULL to parse the parameter further in console_setup(). > > This patch fixes the broken 'console' kernel parameter, which makes the > Pandaboard not b

Re: Heads-up: 3.6.2 / 3.6.3 NFS server panic: 3.6.2+ regression?

2012-10-23 Thread Nix
On 23 Oct 2012, J. Bruce Fields uttered the following: > On Mon, Oct 22, 2012 at 05:17:04PM +0100, Nix wrote: >> I just had a panic/oops on upgrading from 3.6.1 to 3.6.3, after weeks of >> smooth operation on 3.6.1: one of the NFS changes that went into one of >> the two latest stable kernels appe

Re: [PATCH 16/34] perf, x86: Support weight samples for PEBS

2012-10-23 Thread Andi Kleen
> This looks like it will interfere with Stephane's LL patches -- which > should be out any day now ;-) To be honest I'm tired of waiting for them. They have been vapourware for far too long. I would have rebased on his, but since he never posts (and I do) I think it's reasonable now to require

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Stephane Eranian
On Tue, Oct 23, 2012 at 3:45 PM, Andi Kleen wrote: >> I believe we can use a similar approach to PERF_SAMPLE_REGS to expose >> the PEBS machine state. We need to add PERF_SAMPLE_IREGS and then >> return interrupt machine registers with regular sampling and the PEBS machine >> registers in precise

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Andi Kleen
On Tue, Oct 23, 2012 at 03:50:50PM +0200, Peter Zijlstra wrote: > PERF_SAMPLE_RAW has a u32 size header and starts the data after that. > This means you PERF_SAMPLE_RAW output ends up on a u32 aligned end > address -- assuming the data is a u64 multiple, this is not good. > > > It appears to work

[PATCH 14/26] mmc: panic write: bypass bus ref locking

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 4fd7061..3daec19 100644 --- a/drivers/mmc/core/core.c +++ b/drivers

[PATCH 17/26] mmc: sdhci: panic write: call tasklets inline

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 827e34f..ff72e98 100644 --

[PATCH 16/26] mmc: sdhci: panic write: no sleeping

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 1ed78f0..827e34f 100644 --- a/dr

Re: [PATCH 1/4] cgroup: fix invalid rcu dereference

2012-10-23 Thread Jiri Slaby
On 10/23/2012 03:17 PM, Aristeu Rozanski wrote: > On Tue, Oct 23, 2012 at 02:50:48PM +0200, Jiri Slaby wrote: >> No, I'm *not* the author of the patch... Or at least I don't remember >> :P. Where did you take it from? > > <1347615612-11450-1-git-send-email-jsl...@suse.cz> > Date: Fri, 14 Sep 2012

[PATCH 04/26] blkoops: add a block device oops / panic logger

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter blkoops is a pstore back end to write panic / oops logs to a block device. It is initially intended for use with eMMC as an alternative to using a crash kernel. Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- Documentation/blockdev/00-INDEX|2 + Docume

[PATCH 03/26] pstore: add flush

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Let the back end know when writing has finished by adding a flush method. Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- fs/pstore/platform.c |3 +++ include/linux/pstore.h |1 + 2 files changed, 4 insertions(+) diff --git a/fs/pstore/platform.c b/

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Peter Zijlstra
On Tue, 2012-10-23 at 15:30 +0200, Andi Kleen wrote: > > Also, there's an alignment issue there, the raw.data is 32bit offset, > > the record is u64 aligned, leaving the output stream offset, wrecking > > things. > > Can you explain more? Not sure I understand. PERF_SAMPLE_RAW has a u32 size head

Re: [Pv-drivers] 3.7-rc2 regression : file copied to CIFS-mounted directory corrupted

2012-10-23 Thread Eric Dumazet
On Tue, 2012-10-23 at 03:02 -0700, Shreyas Bhatewara wrote: Please dont top post on netdev or lkml > Well, actually the driver does split large frags into frags of > VMXNET3_MAX_TX_BUF_SIZE bytes each. > > vmxnet3_drv.c > 711 while (len) { > 712 u32 buf_size; > 713 >

Re: [PATCH -next] printk: fix broken 'console' kernel parameter

2012-10-23 Thread Joe Perches
On Tue, 2012-10-23 at 21:41 +0800, Ming Lei wrote: > If CONFIG_A11Y_BRAILLE_CONSOLE is not enabled, _braille_console_setup() > should return NULL to parse the parameter further in console_setup(). > > This patch fixes the broken 'console' kernel parameter, which makes the > Pandaboard not boot wit

[PATCH 08/26] mmc: panic write: bypass request completion

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index dbe5332..6b2377a 100644 --- a/drivers/mmc/core/core.c ++

Re: [PATCH] perf report: fix broken perf report -n on 32-bit systems

2012-10-23 Thread Namhyung Kim
Hi Stephane, 2012-10-22 (월), 23:00 +0200, Stephane Eranian: > On 32-bit systems, using perf report -n would yield garbage > for the Samples column. This is because the hpp code was > assuming the hist_entry.stat.nr_events was u64 when in > reality it was u32. > > This patch fixes the problem by d

[PATCH 09/26] mmc: panic write: suppress host not claimed warnings

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c | 13 +++-- drivers/mmc/core/mmc.c |4 ++-- drivers/mmc/core/sd.c |4 ++-- drivers/mmc/core/sdio.c |4 ++-- drivers/mmc/core/sdio_irq.c |4 ++--

Re: [PATCH] UAPI: Fix tools/vm/page-types.c

2012-10-23 Thread Fengguang Wu
On Tue, Oct 23, 2012 at 02:20:07PM +0100, David Howells wrote: > Fix tools/vm/page-types.c to use the UAPI variant of linux/kernel-page-flags.h > lest the following error appear: > > In file included from page-types.c:38:0: > ../../include/linux/kernel-page-flags.h:4:42: fatal error: >

[PATCH 06/26] mmc: block: add panic write support

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/card/Kconfig | 11 ++ drivers/mmc/card/block.c | 257 +- include/linux/mmc/host.h | 92 + 3 files changed, 359 insertions(+), 1 deletion

[PATCH 20/26] mmc: sdhci: panic write: no tuning

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index fcedcec..e096526 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mm

[PATCH 21/26] mmc: sdhci: panic write: poll interrupts

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index e096526..d85e9d5 100644 --- a/drivers/mmc

[PATCH 1/2] perf header: Fix numa topology printing

2012-10-23 Thread Namhyung Kim
Andrew reported that the commit 7e94cfcc9d20 ("perf header: Use pre- processed session env when printing") regresses the header output. It was because of a missed string pointer calculation in the loop. Reported-by: Andrew Jones Signed-off-by: Namhyung Kim --- tools/perf/util/header.c |2 ++

[PATCH 2/2] perf tools: Fix strbuf_addf() when the buffer needs to grow

2012-10-23 Thread Namhyung Kim
This was found during chasing down the header output regression. The strbuf_addf() was checking buffer length with a result of vscnprintf() which cannot be greater than that of strbuf_avail(). Since numa topology and pmu mapping info in header were converted to use strbuf, it sometimes caused unin

[PATCH] UAPI: Fix tools/vm/page-types.c

2012-10-23 Thread David Howells
Fix tools/vm/page-types.c to use the UAPI variant of linux/kernel-page-flags.h lest the following error appear: In file included from page-types.c:38:0: ../../include/linux/kernel-page-flags.h:4:42: fatal error: uapi/linux/kernel-page-flags.h: No such file or directory Rep

[PATCH 23/26] mmc: sdhci: panic write: resume suspended host

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index ab3f5ce..496adc8 100644 --- a/drivers/mmc/ho

[PATCH 24/26] mmc: sdhci: panic write: abort request in progress

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 496adc8..9a24417 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/m

[PATCH 22/26] mmc: sdhci: panic write: no dma mapping

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 158 - include/linux/mmc/sdhci.h |8 +++ 2 files changed, 164 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/dri

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Andi Kleen
> I believe we can use a similar approach to PERF_SAMPLE_REGS to expose > the PEBS machine state. We need to add PERF_SAMPLE_IREGS and then > return interrupt machine registers with regular sampling and the PEBS machine > registers in precise mode. A while back I wrote a patch to do just this. Once

Re: [PATCH 1/3 v2] firmware: Convert firmware path setup from an array to a list

2012-10-23 Thread Dimitris Papastamos
On Tue, Oct 23, 2012 at 09:37:24PM +0800, Ming Lei wrote: > On Tue, Oct 23, 2012 at 9:29 PM, Dimitris Papastamos > wrote: > > > > > Hi sorry for being unclear, I mentioned in the old thread that > > I've not had time to fix this properly (or think about a proper > > fix), Greg requested a rebase

[PATCH 18/26] mmc: sdhci: panic write: no timeout timer

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index ff72e98..3653494 100644 --- a/drivers/mmc/host/sdhci.

[PATCH 15/26] mmc: sdhci: panic write: bypass spin lock

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c | 119 ++ drivers/mmc/host/sdhci.h | 24 ++ 2 files changed, 101 insertions(+), 42 deletions(-) diff --git a/drivers/mmc/host/sdhci.

[PATCH 13/26] mmc: panic write: trap non panic tasks

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c | 10 +- drivers/mmc/core/host.c |2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index d3caa7e..4fd7061

[PATCH 26/26] mmc: sdhci-pci: add panic write support

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci-pci.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 4bb74b0..bee9a45 100644 --- a/drivers/mmc/host/sdhci-pci.c

[PATCH 19/26] mmc: sdhci: panic write: no runtime pm

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/host/sdhci.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 3653494..fcedcec 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/

[PATCH 10/26] mmc: panic write: do not msleep

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c |6 +++--- drivers/mmc/core/core.h |6 -- drivers/mmc/core/mmc_ops.c | 10 +- drivers/mmc/core/sd_ops.c |2 +- drivers/mmc/core/sdio_ops.c |2 +- 5

[PATCH 12/26] mmc: panic write: bypass regulators

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index f7552af..d3caa7e 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/cor

[PATCH 11/26] mmc: panic write: bypass clock gating

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c |5 + drivers/mmc/core/host.c |9 + 2 files changed, 14 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 204a9bd..f7552af 100644 --- a

[PATCH 07/26] mmc: panic write: bypass host claiming

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/mmc/core/core.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 06c42cf..dbe5332 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/m

[PATCH 05/26] block: add panic write

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Add a small interface to allow block devices to attempt to write during an oops or panic. Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/block/Kconfig |3 ++ include/linux/blkdev.h | 77 include/

[PATCH 02/26] pstore: add flags

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter Let the back end tweak pstore behaviour. Flags added are: PSTORE_NO_HEADINGS Omit pstore heading lines from dumped data PSTORE_MAX_KMSG_BYTES Default kmsg_bytes to ULONG_MAX Signed-off-by: Adrian Hunter Signed-off-by: Irin

[PATCH 01/26] pstore: allow for big files

2012-10-23 Thread Irina Tirdea
From: Adrian Hunter pstore reads all files into memory at mount time. To allow for back ends that will store arbitrarily large files, enhance pstore also to be able to read from the back end as needed. Signed-off-by: Adrian Hunter Signed-off-by: Irina Tirdea --- drivers/acpi/apei/erst.c | 1

Re: [PATCH] mm: readahead: remove redundant ra_pages in file_ra_state

2012-10-23 Thread YingHang Zhu
Sorry for the annoying, I forgot ccs in the previous mail. Thanks, Ying Zhu Hi Chen, On Tue, Oct 23, 2012 at 9:21 PM, Ni zhan Chen wrote: > On 10/23/2012 08:46 PM, Ying Zhu wrote: >> >> Hi, >>Recently we ran into the bug that an opened file's ra_pages does not >> synchronize with it'

[PATCH -next] printk: fix broken 'console' kernel parameter

2012-10-23 Thread Ming Lei
If CONFIG_A11Y_BRAILLE_CONSOLE is not enabled, _braille_console_setup() should return NULL to parse the parameter further in console_setup(). This patch fixes the broken 'console' kernel parameter, which makes the Pandaboard not boot with 'console=ttyO2'. Cc: Andrew Morton Cc: Samuel Thibault C

Re: [PATCH RFC] mm/swap: automatic tuning for swapin readahead

2012-10-23 Thread Rik van Riel
On 10/23/2012 01:51 AM, Shaohua Li wrote: I have no strong point against the global state method. But I'd agree making the heuristic simple is preferred currently. I'm happy about the patch if the '+1' is removed. Without the +1, how will you figure out when to re-enable readahead? -- All rig

Re: [PATCH] perf: Build install-man target when installing

2012-10-23 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 23, 2012 at 01:13:01AM +0200, Borislav Petkov escreveu: > On Mon, Oct 22, 2012 at 07:03:39AM -0700, Arnaldo Carvalho de Melo wrote: > > Em Mon, Oct 22, 2012 at 12:07:19PM +0200, Borislav Petkov escreveu: > > > On Mon, Oct 22, 2012 at 04:25:24PM +0900, Namhyung Kim wrote: > > > > It will

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v6

2012-10-23 Thread Andi Kleen
I thought further about this and I think the whole issue is a non issue anyways: MAP_UNINITIALIZED is NOMMU only and HUGETLBFS is MMU only. My flags only make sense with HUGETLBFS. So they can never coexist anyways. So there is no reason to not overlap. So I think the original patch is ok and do

Re: [PATCH 1/3 v2] firmware: Convert firmware path setup from an array to a list

2012-10-23 Thread Ming Lei
On Tue, Oct 23, 2012 at 9:29 PM, Dimitris Papastamos wrote: > > Hi sorry for being unclear, I mentioned in the old thread that > I've not had time to fix this properly (or think about a proper > fix), Greg requested a rebase on top of linux-next, however, at > least for firmware path listing. > >

Re: [PATCH 2/2] mmc: sdhci: Defer probe if regulator_get fails

2012-10-23 Thread Russell King - ARM Linux
On Tue, Oct 23, 2012 at 03:21:58PM +0200, Philip Rakity wrote: > On 23 Oct 2012, at 09:19, Pavan Kunapuli wrote: > > - /* If vqmmc regulator and no 1.8V signalling, then there's no UHS */ > > + /* > > +* If vqmmc regulator and no 1.8V signalling, then there's no UHS. > > +* vqmmc regul

Re: [PATCH 06/34] perf, kvm: Support the intx/intx_cp modifiers in KVM arch perfmon emulation v2

2012-10-23 Thread Andi Kleen
On Tue, Oct 23, 2012 at 03:35:27PM +0200, Andi Kleen wrote: > > So I forgot how all this worked, but will the KVM emulation not pass > > this straight down to the hardware? > > Pass down to perf. > > > > > Don't we have a problem where we're emulating arch perfmon v1 on AMD > > hardware? On AMD

Re: [PATCH 06/34] perf, kvm: Support the intx/intx_cp modifiers in KVM arch perfmon emulation v2

2012-10-23 Thread Andi Kleen
> So I forgot how all this worked, but will the KVM emulation not pass > this straight down to the hardware? Pass down to perf. > > Don't we have a problem where we're emulating arch perfmon v1 on AMD > hardware? On AMD hardware those bits do have meaning. Ah they do? I wasn't aware. I can add

Re: [PATCH 04/34] perf, x86: Support the TSX intx/intx_cp qualifiers

2012-10-23 Thread Andi Kleen
On Tue, Oct 23, 2012 at 02:09:19PM +0200, Peter Zijlstra wrote: > On Thu, 2012-10-18 at 16:19 -0700, Andi Kleen wrote: > > @@ -826,7 +827,8 @@ static inline bool intel_pmu_needs_lbr_smpl(struct > > perf_event *event) > > return true; > > > > /* implicit branch sampling to

Re: [PATCH 03/34] perf, x86: Basic Haswell PEBS support v2

2012-10-23 Thread Andi Kleen
> Do things like the 0xd0 event really need all the UEVENT things spelled > out? There were some missing unit masks, so I spelled it out. > And 0x22d0 (LOCK_STORES) still appears missing going by the pattern > in there. Will double check. > Also, it looks like the 0xc5 things want to be UEVENT

Re: [PATCH 05/34] perf, x86: Report PEBS event in a raw format

2012-10-23 Thread Andi Kleen
> Also, there's an alignment issue there, the raw.data is 32bit offset, > the record is u64 aligned, leaving the output stream offset, wrecking > things. Can you explain more? Not sure I understand. It appears to work at least. > > And as with any ABI extension, it should come with useful users

Re: [PATCH 1/3 v2] firmware: Convert firmware path setup from an array to a list

2012-10-23 Thread Dimitris Papastamos
On Tue, Oct 23, 2012 at 09:08:50PM +0800, Ming Lei wrote: > On Tue, Oct 23, 2012 at 8:52 PM, Dimitris Papastamos > wrote: > > In preparation to support dynamic listing/updating of firmware > > paths via procfs, this patch converts the firmware path configuration > > from an array to a list. > > I

Re: [PATCH v2] epoll: Support for disabling items, and a self-test app.

2012-10-23 Thread Michael Kerrisk (man-pages)
Hello Paton, PLEASE use a properly quoting mail client! It's very hard now for third parties to see what I wrote versus your replies. On Tue, Oct 23, 2012 at 1:06 AM, Paton J. Lewis wrote: > > On 10/16/12 8:12 AM, Michael Kerrisk (man-pages) wrote: > > [CC += linux-api@] > > Thank you; is this s

[PATCH v2] media: davinci: vpbe: fix build warning

2012-10-23 Thread Prabhakar Lad
From: Lad, Prabhakar Warnings were generated because of the following commit changed data type for address pointer 195bbca ARM: 7500/1: io: avoid writeback addressing modes for __raw_ accessors add __iomem annotation to fix following warnings drivers/media/platform/davinci/vpbe_osd.c: In funct

<    3   4   5   6   7   8   9   10   11   >