Re: [PATCH]NEXT:staging "winbond" Fix typos.

2012-09-10 Thread Pavel Machek
On Mon 2012-09-03 08:06:02, Justin P. Mattock wrote: > From: "Justin P. Mattock" > > Signed-off-by: Justin P. Mattock ACK. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list:

Re: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource

2012-09-10 Thread Haojian Zhuang
On Wed, Aug 8, 2012 at 11:20 PM, Haojian Zhuang wrote: > On Wed, Aug 8, 2012 at 3:46 AM, Arnd Bergmann wrote: >> On Tuesday 07 August 2012, Mark Brown wrote: >>> The removal of mach/io.h from most ARM platforms also set the range of >>> valid IO ports to be empty for most platforms when previousl

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-10 Thread Matt Sealey
Wouldn't it be better if the root filesystem was marked as non-removable in the device tree - or in the case of a truly removable card, just marked in the MMC subsystem - and the MMC subsystem skipped the "it could be removed" for suspend/resume operations? Whether you can or you cannot remove an

Re: [PATCH] samples/seccomp: fix 31 bit build on s390

2012-09-10 Thread Kees Cook
On Sat, Sep 8, 2012 at 1:31 AM, Heiko Carstens wrote: > On s390 the flag to force 31 builds is -m31 instead of -m32 unlike > on all (?) other architectures. > > Fixes this compile error: > > HOSTCC samples/seccomp/bpf-direct.o > cc1: error: unrecognized command line option "-m32" > make[2]: ***

[GIT PULL] fuse fixes for 3.6

2012-09-10 Thread Miklos Szeredi
Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This contains bugfixes for FUSE and CUSE and a compile warning fix. Thanks, Miklos --- Daniel Mack (1): fuse: mark variables uninitialized Miklos Szeredi (3): cuse: fix fuse_conn_ki

Re: [ 12/95] xhci: Switch PPT ports to EHCI on shutdown.

2012-09-10 Thread Ben Hutchings
On Mon, 2012-09-10 at 14:09 +0300, Denis Turischev wrote: > Hi Ben, > > As reported by Robert Hancock there is a typo in if statement below. > Do you want I resubmit it? Or should we wait for Sarah Sharp review? [...] > > --- a/drivers/usb/host/xhci.c > > +++ b/drivers/usb/host/xhci.c > > @@ -648,

[RFCv3] virtio_console: Add support for virtio remoteproc serial

2012-09-10 Thread sjur . brandeland
From: Sjur Brændeland Add a virtio remoteproc serial driver: VIRTIO_ID_RPROC_SERIAL (0xB) for communicating with a remote processor in an asymmetric multi-processing configuration. The virtio remoteproc serial driver reuses the existing virtio_console implementation, and adds support for DMA all

Re: [PATCH v2 0/3] MIPS: JZ4740: Move PWM driver to PWM framework

2012-09-10 Thread Lars-Peter Clausen
On 09/10/2012 02:05 PM, Thierry Reding wrote: > Hi, > I think v2 looks, good. Will give it some testing later. > This small series fixes a build error due to a circular header > dependency, exports the timer API so it can be used outside of > the arch/mips/jz4740 tree and finally moves and conve

Re: linux-next: manual merge of the clk tree with the arm-soc tree

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 8:14 AM, Stephen Rothwell wrote: > Today's linux-next merge of the clk tree got a conflict in > arch/arm/mach-ux500/clock.c between commit 79964bcd792f ("ARM: ux500: > Correct Ux500 family names usage") from the arm-soc tree and commit > ebc96db7632f ("ARM: ux500: Switch t

Re: [PATCH 2/2] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-10 Thread Vivek Goyal
On Sun, Sep 09, 2012 at 05:28:10PM -0700, Kent Overstreet wrote: [..] > > > +retry: > > > p = mempool_alloc(bs->bio_pool, gfp_mask); > > > front_pad = bs->front_pad; > > > inline_vecs = BIO_INLINE_VECS; > > > } > > > > Wouldn't the following be better? > > > >

Re: [ 84/95] virtio_blk: fix config handler race

2012-09-10 Thread Ben Hutchings
On Mon, 2012-09-10 at 11:56 +0930, Rusty Russell wrote: > Ben Hutchings writes: > > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: "Michael S. Tsirkin" > > > > commit 4678d6f970c2f7c0cbfefc0cc666432d153b321b upstream. > > >

Re: [RFC] DMA mapping error check analysis

2012-09-10 Thread Shuah Khan
> > > > http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis > > > File Name # of calls Status > > drivers/firewire/core-iso.c 1Unmap Broken > > drivers/firewire/ohci.c 1Unmap Broken > > In ohci.c, ar_context_release() take

Re: [PATCH 1/2] nohz: clean up select_nohz_load_balancer()

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 15:10 +0800, Alex Shi wrote: > There is no load_balancer to be selected now. It just set state of > nohz tick stopping. > > So rename the function, pass the 'cpu' from parameter and then > remove the useless calling from tick_nohz_restart_sched_tick(). Please check who wrote

Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-09-10 Thread Myklebust, Trond
On Mon, 2012-09-10 at 12:43 +0400, Stanislav Kinsbursky wrote: > 08.09.2012 18:33, Myklebust, Trond пишет: > > On Sat, 2012-09-08 at 08:59 +0300, Stanislav Kinsbursky wrote: > >> 08.09.2012 01:32, Myklebust, Trond пишет: > >>> On Mon, 2012-08-13 at 08:10 -0400, Jeff Layton wrote: > On Mon, 13

[GIT PULL] KVM updates for 3.6-rc5

2012-09-10 Thread Avi Kivity
Linus, please pull from the repo and branch at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/kvm-3.6-2 to receive a trio of KVM fixes: incorrect lookup of guest cpuid, an uninitialized variable fix, and error path cleanup fix. Shortlog/diffstat follow. --

Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-09-10 Thread Stanislav Kinsbursky
10.09.2012 19:27, Myklebust, Trond пишет: On Mon, 2012-09-10 at 12:43 +0400, Stanislav Kinsbursky wrote: 08.09.2012 18:33, Myklebust, Trond пишет: On Sat, 2012-09-08 at 08:59 +0300, Stanislav Kinsbursky wrote: 08.09.2012 01:32, Myklebust, Trond пишет: On Mon, 2012-08-13 at 08:10 -0400, Jeff L

Re: [PATCH] perf, ibs: Check syscall attribute flags

2012-09-10 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 10, 2012 at 03:07:00PM +0200, Robert Richter escreveu: > On 07.09.12 11:20:19, David Ahern wrote: > > I see now... intel returns ENOTSUP if exclude_guest is not set, amd > > returns EINVAL if it is set. > > For the AMD case the fallback_missing_features code kicks in for > > perf-top

Re: [Devel] [PATCH v4 0/9] IPC: checkpoint/restore in userspace enhancements

2012-09-10 Thread Stanislav Kinsbursky
Hi, Andrew. Looks like there are no objections against this patch set. Will you take it? -- Best regards, Stanislav Kinsbursky -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kerne

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > This patch adds a pinctrl driver core for Marvell SoCs plus DT > binding documentation. This core driver will be used by SoC family > specific drivers, i.e. Armada XP, Armada 370, Dove, Kirkwood, aso. > > Signed-off-by: Sebastian Hes

[PATCH] [RFC]power: battery: Generic battery driver using IIO

2012-09-10 Thread anish kumar
From: anish kumar This is the cleaned up code after the valuable inputs from the Jonathan, Lars and Anton. I have tried to accomodate all the concerns however please let me know incase something is missed out. Signed-off-by: anish kumar --- drivers/power/generic-adc-battery.c | 431 +++

Re: [PATCH v3 2/9] pinctrl: mvebu: dove pinctrl driver

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > This patch adds a SoC specific pinctrl driver for Marvell Dove SoCs > plus DT binding documentation. This driver will use the mvebu pinctrl > driver core. > > Signed-off-by: Sebastian Hesselbarth > --- > v2: > - restructured pinctrl

Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-09-10 Thread Myklebust, Trond
On Mon, 2012-09-10 at 19:37 +0400, Stanislav Kinsbursky wrote: > Hi, Trond. > So, if I understand you right, we can create rpc client (or increase usage > counter) on NSMPROC_MON call and destroy (or decrease usage counter) on > NSMPROC_UNMON call. > Will this solution works? The rpc client(s) w

Re: [PATCH v3 3/9] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > This patch adds a SoC specific pinctrl driver for Marvell Kirkwood SoCs > plus DT binding documentation. This driver will use the mvebu pinctrl > driver core. > > Signed-off-by: Sebastian Hesselbarth > --- > v2: > - restructured pin

Re: [PATCH v3 4/9] pinctrl: mvebu: add pinctrl driver for Armada 370

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > From: Thomas Petazzoni > > This pinctrl driver is not a full-blown pinctrl driver from scratch: > it relies on the common pinctrl-mvebu driver, which is used for all > Marvell EBU SoCs. > > Signed-off-by: Thomas Petazzoni > --- > v

Re: [PATCH] dlm: check the maximum size of a request from user

2012-09-10 Thread David Teigland
On Sun, Sep 09, 2012 at 04:16:58PM +0200, Sasha Levin wrote: > device_write only checks whether the request size is big enough, but it > doesn't > check if the size is too big. > > At that point, it also tries to allocate as much memory as the user has > requested > even if it's too much. This c

Re: [PATCH v3 5/9] pinctrl: mvebu: add pinctrl driver for Armada XP

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > From: Thomas Petazzoni > > This pinctrl driver is not a full-blown pinctrl driver from scratch: > it relies on the common pinctrl-mvebu driver, which is used for all > Marvell EBU SoCs. > > Signed-off-by: Thomas Petazzoni > --- > v

Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Linus Walleij
On Mon, Sep 10, 2012 at 1:39 AM, Sebastian Hesselbarth wrote: > This patch set adds a core pinctrl driver for Marvell MVEBU SoCs and > SoC specific stubs for Armada 370, Armada XP, Dove, and Kirkwood. > The SoC specific stubs use the pinctrl-mvebu core driver that handles > pinctrl API and regist

[PATCH v2] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-10 Thread Christophe Leroy
This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding precautions linked to ERRATA Item 4: Item 4: MDIO Interface and Repeated Polling Problem: Repeated polling of odd-numbered registers via the MDIO interface randomly returns the contents of the previous even regi

Re: [PATCH v3 17/31] arm64: System calls handling

2012-09-10 Thread Catalin Marinas
On Mon, Sep 10, 2012 at 03:24:21PM +0100, Arnd Bergmann wrote: > On Monday 10 September 2012, Catalin Marinas wrote: > > > > On Mon, Sep 10, 2012 at 02:51:52PM +0100, Arnd Bergmann wrote: > > > On Monday 10 September 2012, Catalin Marinas wrote: > > > > Yes, I've seen these but since Al's patches

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

2012-09-10 Thread Paolo Bonzini
Il 06/09/2012 07:02, Michael S. Tsirkin ha scritto: >> > It might be worth just unconditionally having a cache for the 2 >> > descriptor case. This is what I get with qemu tap, though for some >> > reason the device features don't have guest or host CSUM, so my setup is >> > probably screwed: > Ye

Re: [PATCH v2] SUNRPC: check current nsproxy before set of node name on client creation

2012-09-10 Thread Stanislav Kinsbursky
10.09.2012 19:41, Myklebust, Trond пишет: On Mon, 2012-09-10 at 19:37 +0400, Stanislav Kinsbursky wrote: Hi, Trond. So, if I understand you right, we can create rpc client (or increase usage counter) on NSMPROC_MON call and destroy (or decrease usage counter) on NSMPROC_UNMON call. Will this sol

Re: [PATCH v3 0/9] pinctrl: mvebu: pinctrl driver

2012-09-10 Thread Sebastian Hesselbarth
On 09/10/2012 05:45 PM, Linus Walleij wrote: This all looks good now, will this be pushed through some ARM SoC tree along with Marvell changes or do you want me to take it all through the pinctrl tree? Linus, thanks for review and ACKs. Jason Cooper will take it through Marvell tree. Sebastia

Re: [PATCH 1/3] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-09-10 Thread Felipe Balbi
Hi, On Thu, Sep 06, 2012 at 12:56:07PM -0700, Tony Lindgren wrote: > * Felipe Balbi [120906 10:23]: > > Hi, > > > > On Thu, Sep 06, 2012 at 08:13:03PM +0300, Felipe Balbi wrote: > > > Hi, > > > > > > On Thu, Sep 06, 2012 at 09:04:58PM +0530, Vaibhav Hiremath wrote: > > > > > > > > > > > > On

[PATCH -next] staging: fix ccg build when NET is not enabled

2012-09-10 Thread Randy Dunlap
OR: "skb_put" [drivers/staging/ccg/g_ccg.ko] undefined! ERROR: "eth_mac_addr" [drivers/staging/ccg/g_ccg.ko] undefined! ERROR: "dev_get_stats" [drivers/staging/ccg/g_ccg.ko] undefined! ERROR: "alloc_etherdev_mqs" [drivers/staging/ccg/g_ccg.ko] undefined! Signed-off-by: Ra

Re: [RFC][PATCH] Improving directed yield scalability for PLE handler

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 08:16 -0500, Andrew Theurer wrote: > > > @@ -4856,8 +4859,6 @@ again: > > > if (curr->sched_class != p->sched_class) > > > goto out; > > > > > > - if (task_running(p_rq, p) || p->state) > > > - goto out; > > > > Is it possible that by this time th

[PATCH]NEXT:staging "wlags49_h2" Fix ypos.

2012-09-10 Thread Justin P. Mattock
From: "Justin P. Mattock" Signed-off-by: Justin P. Mattock --- The below patch fixes typos while reading through staging "wlags49_h2". drivers/staging/wlags49_h2/README.ubuntu | 10 +- drivers/staging/wlags49_h2/TODO | 10 +- drivers/staging/wlags49_h2/hcf.c

[GIT PULL] SCSI fixes for 3.6-rc5

2012-09-10 Thread James Bottomley
Just a note to everyone: I had actually prepared this fix set before I left for KS + Plumbers, so it's been incubating much longer than it should have. I'll be picking up my three week backlog this week, so more fixes will then be forthcoming This set consist of three minor and one fairly major

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

2012-09-10 Thread Michael S. Tsirkin
On Mon, Sep 10, 2012 at 10:47:15AM -0500, Thomas Lendacky wrote: > On Friday, September 07, 2012 09:19:04 AM Rusty Russell wrote: > > > "Michael S. Tsirkin" writes: > > > > On Thu, Sep 06, 2012 at 05:27:23PM +0930, Rusty Russell wrote: > > > >> "Michael S. Tsirkin" writes: > > > >> > Yes with

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-10 Thread Catalin Marinas
On Mon, Sep 10, 2012 at 04:21:02PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 13:51 Mon 10 Sep , Catalin Marinas wrote: > > On Mon, Sep 10, 2012 at 06:53:39AM +0100, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > > > On 19:29 Sun 09 Sep , Nicolas Pitre wrote: > > > > On Sun, 9 Sep

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

2012-09-10 Thread Thomas Lendacky
On Friday, September 07, 2012 09:19:04 AM Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On Thu, Sep 06, 2012 at 05:27:23PM +0930, Rusty Russell wrote: > >> "Michael S. Tsirkin" writes: > >> > Yes without checksum net core always linearizes packets, so yes it is > >> > screwed. > >> > Fo

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-10 Thread Catalin Marinas
On Sun, Sep 09, 2012 at 06:20:46PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:26 Fri 07 Sep , Catalin Marinas wrote: > > +The device tree blob (dtb) must be no bigger than 2 megabytes in size > > +and placed at a 2-megabyte boundary within the first 512 megabytes from > > +the star

[PATCH -next] net: fix net/core/sock.c build error

2012-09-10 Thread Randy Dunlap
linux-next-20120910.orig/net/core/sock.c +++ linux-next-20120910/net/core/sock.c @@ -1525,9 +1525,11 @@ void sock_edemux(struct sk_buff *skb) { struct sock *sk = skb->sk; +#ifdef CONFIG_INET if (sk->sk_state == TCP_TIME_WAIT) inet_twsk_put(inet_twsk(sk));

Re: [PATCH] btrfs: fix disk-io.c/btrfs_read_dev_super with BTRFS_SUPER_MIRROR_MAX to control the loops

2012-09-10 Thread Josef Bacik
On Mon, Sep 10, 2012 at 12:38:35AM -0600, Wang Sheng-Hui wrote: > To check the duplicated super blocks, use BTRFS_SUPER_MIRROR_MAX > as the loops limit. > > Signed-off-by: Wang Sheng-Hui > --- > fs/btrfs/disk-io.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/fs

Re: [PATCH 1/3] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-09-10 Thread Benoit Cousson
Hi Felipe, On 09/10/2012 05:58 PM, Felipe Balbi wrote: > Hi, > > On Thu, Sep 06, 2012 at 12:56:07PM -0700, Tony Lindgren wrote: >> * Felipe Balbi [120906 10:23]: >>> Hi, >>> >>> On Thu, Sep 06, 2012 at 08:13:03PM +0300, Felipe Balbi wrote: Hi, On Thu, Sep 06, 2012 at 09:04:58PM +0

[PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Matt Porter
On AM33xx, the datasheet and TRM refer to four GPIO instances that are 0-based, GPIO0-3. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index

[PATCH 2/3 v2] mm: Reorg code to allow i_mmap_mutex acquisition to be done by caller of page_referenced & try_to_unmap

2012-09-10 Thread Tim Chen
We reorganize the page_referenced and try_to_unmap code to determine explicitly if mapping->i_mmap_mutex needs to be acquired. This allows us to acquire the mutex for multiple pages in batch. We can call __page_referenced or __try_to_unmap with the mutex already acquired so the mutex doesn't have

[PATCH 3/3 v2] mm: Batch page_check_references in shrink_page_list sharing the same i_mmap_mutex

2012-09-10 Thread Tim Chen
In shrink_page_list, call to page_referenced_file and try_to_unmap will cause the acquisition/release of mapping->i_mmap_mutex for each page in the page list. However, it is very likely that successive pages in the list share the same mapping and we can reduce the frequency of i_mmap_mutex acquis

[PATCH 0/3 v2] mm: Batch page reclamation under shink_page_list

2012-09-10 Thread Tim Chen
This is the second version of the patch series. Thanks to Matthew Wilcox for many valuable suggestions on improving the patches. To do page reclamation in shrink_page_list function, there are two locks taken on a page by page basis. One is the tree lock protecting the radix tree of the page mapp

[PATCH 1/3 v2] mm: Batch unmapping of file mapped pages in shrink_page_list

2012-09-10 Thread Tim Chen
We gather the pages that need to be unmapped in shrink_page_list. We batch the unmap to reduce the frequency of acquisition of the tree lock protecting the mapping's radix tree. This is possible as successive pages likely share the same mapping in __remove_mapping_batch routine. This avoids exce

Re: [PATCH] vfs: correct comment for fs/fs-writeback.c/move_expired_inodes

2012-09-10 Thread Jan Kara
On Sat 08-09-12 23:49:00, Wang Sheng-Hui wrote: > The function scans @delaying_queue and stops at the first inode > whose dirtied_when is after *work->older_than_this. So the expired > ones being moved are those before *work->older_than_this. Correct > the comment here. Fengguang Wu would be a mo

Re: [PATCH v3 02/31] arm64: Kernel booting and initialisation

2012-09-10 Thread Nicolas Pitre
On Mon, 10 Sep 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 13:51 Mon 10 Sep , Catalin Marinas wrote: > > On Mon, Sep 10, 2012 at 06:53:39AM +0100, Jean-Christophe PLAGNIOL-VILLARD > > wrote: > > > On 19:29 Sun 09 Sep , Nicolas Pitre wrote: > > > > On Sun, 9 Sep 2012, Jean-Christoph

Re: Tracking down suspend/resume ext3/mmc issues on imx233

2012-09-10 Thread Theodore Ts'o
On Mon, Sep 10, 2012 at 10:11:48AM -0500, Matt Sealey wrote: > Wouldn't it be better if the root filesystem was marked as > non-removable in the device tree - or in the case of a truly removable > card, just marked in the MMC subsystem - and the MMC subsystem skipped > the "it could be removed" for

Re: [RFC PATCH 1/3] perf: Add cpumask for uncore pmu

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 15:53 +0800, Yan, Zheng wrote: > Hi, > > This patchset add a cpumask file to the uncore pmu sysfs directory. > If user doesn't explicitly specify CPU list, perf-stat only collects > uncore events on CPUs listed in the cpumask file. > > As Stephane suggested, make perf-stat r

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Benoit Cousson
+ Tony Hi Matt, 30 minutes too late for my pull request :-( There are a couple of am33xx patches under discussion, so I'll take them and send a for_3.7/dts-part2 pull request if this is not too late for Tony. On 09/10/2012 06:20 PM, Matt Porter wrote: > On AM33xx, the datasheet and TRM refer to

[PATCH 0/3] perf: precise mode and exclude_guest

2012-09-10 Thread David Ahern
Hopefully thi wraps up the precise mode-exclude_guest dependency. I'm sure someone will let me know if I screwed up the attribution in the second patch. David Ahern (3): perf tool: precise mode requires exclude_guest perf: require exclude_guest to use PEBS - kernel side enforcement perf tool

[PATCH 1/3] perf tool: precise mode requires exclude_guest

2012-09-10 Thread David Ahern
PEBS cannot be used with guest mode. See: https://lkml.org/lkml/2012/7/9/264 If user adds :p modifier set exclude_guest as well. Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Robert Richter Cc: Gleb Natapov Cc: Avi Kivity --- tools/perf/util/parse-events.c |3 +++

[PATCH 2/3] perf: require exclude_guest to use PEBS - kernel side enforcement

2012-09-10 Thread David Ahern
From: Peter Zijlstra See https://lkml.org/lkml/2012/7/9/298 Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Robert Richter Cc: Gleb Natapov Cc: Avi Kivity --- arch/x86/kernel/cpu/perf_event.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kernel/cp

[PATCH 3/3] perf tool: give user better message if precise is not supported

2012-09-10 Thread David Ahern
Platforms (e.g., VM's) without support for precise mode get a confusing error message. e.g., $ perf record -e cycles:p -a -- sleep 1 Error: sys_perf_event_open() syscall returned with 95 (Operation not supported). /bin/dmesg may provide additional information. No hardware sampling interrup

Re: [PATCH 07/17] Documentation: Define the MSP Driver Device Tree bindings

2012-09-10 Thread Lee Jones
Ola poke. On Fri, Aug 24, 2012 at 03:01:43PM +0100, Lee Jones wrote: > Here we add the required documentation for the new Device Tree > bindings pertaining to the MSP CPU-side DAI Driver. > > CC: alsa-de...@alsa-project.org > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/sound/ux500-

Re: [PATCH v3 08/31] arm64: CPU support

2012-09-10 Thread Catalin Marinas
On Fri, Sep 07, 2012 at 08:24:38PM +0100, Arnd Bergmann wrote: > On Friday 07 September 2012, Catalin Marinas wrote: > > +#include > > + > > +extern unsigned long __cpu_setup(void); > > + > > +struct cpu_info __initdata cpu_table[] = { > > + { > > + .cpu_id_val = 0x000f, > > +

Re: [PATCH 06/17] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings

2012-09-10 Thread Lee Jones
Ola poke. On Fri, Aug 24, 2012 at 03:01:42PM +0100, Lee Jones wrote: > Here we add the required documentation for the new Device Tree > bindings pertaining to the MOP500 Audio Machine driver. > > CC: alsa-de...@alsa-project.org > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/sound/ux

Re: [PATCH 05/17] ASoC: Ux500: Minor coding layout changes

2012-09-10 Thread Lee Jones
Ola poke. On Fri, Aug 24, 2012 at 03:01:41PM +0100, Lee Jones wrote: > Includes removal of duplicate debug print affirming entry into > the probe function, an unnecessary line break of a coding line > <80 chars and a white space change (unintentional tab). > > Signed-off-by: Lee Jones > --- > s

Re: [PATCH 06/22] ASoC: Ux500: Enable ux500 MSP driver for Device Tree

2012-09-10 Thread Lee Jones
Ola poke. On Tue, Aug 14, 2012 at 10:55:59AM +0200, Linus Walleij wrote: > On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones wrote: > > > Register both parts of the MSP driver from Device Tree so that they > > are probed when Device Tree is enabled. Also, as there is platform > > data involved, we ensur

Re: [PATCH 05/22] ASoC: Ux500: Enable MOP500 driver for Device Tree

2012-09-10 Thread Lee Jones
Ola poke. On Tue, Aug 14, 2012 at 10:52:23AM +0200, Linus Walleij wrote: > On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones wrote: > > > Here we ensure that the MOP500 audio driver will be probed during a > > Device Tree boot. We also parse the sound node to link together the > > codec, dma and the CPU

Re: [PATCH 01/17] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-09-10 Thread Lee Jones
Ola poke. On Fri, Aug 24, 2012 at 03:01:37PM +0100, Lee Jones wrote: > In the initial submission of the MSP driver msp1 and msp3's associated > pinctrl mechanism was passed back to platform code using a plat_init() > call-back routine, but it has no place in platform code. The MSP driver > should

Re: [PATCH 1/3] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-09-10 Thread Felipe Balbi
Hi, On Mon, Sep 10, 2012 at 06:17:03PM +0200, Benoit Cousson wrote: > > On 9/6/2012 8:25 PM, Kishon Vijay Abraham I wrote: > >> The mailbox register for usb otg in omap is present in control module. > >> On detection of any events VBUS or ID, this register should be written > >> to

Re: [PATCH v3 09/31] arm64: Cache maintenance routines

2012-09-10 Thread Catalin Marinas
On Fri, Sep 07, 2012 at 08:28:09PM +0100, Arnd Bergmann wrote: > On Friday 07 September 2012, Catalin Marinas wrote: > > + > > +/* > > + * dmac_inv_range(start,end) > > all of these appear to be unused now. Can you remove them? They aren't currently used but I expect some partners to make use of

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-10 Thread Al Viro
On Mon, Sep 10, 2012 at 11:40:11PM +1000, Greg Ungerer wrote: > Hi Al, > > On 09/08/2012 04:20 AM, Al Viro wrote: > > To architecture maintainers: please, review the current > >situation in git.kernel.org/pub/scm/linux/kernel/git/viro/signal #execve2 > >and consider sending the corresponding p

[PATCH 0/4] perf tools: Back [vdso] DSO with real data

2012-09-10 Thread Jiri Olsa
hi, this patchset adds data behind the [vdso] map as a special DSO. This is helpful for dwarf unwind, because now we can unwind samples taken from [vdso] map. Example output is given in patch 4/4. Patch 1/1 fixies separate issue. Attached patches: 1/4 perf tools: Do backtrace post unwind only i

[PATCH 1/4] perf tools: Do backtrace post unwind only if we regs and stack were captured

2012-09-10 Thread Jiri Olsa
Bail out without error if we want to do backtrace post unwind, back were not able to capture user registers or user stack during the record phase, which is possible and valid case. Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Frederic Weisbecker Signe

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Matt Porter
On Mon, Sep 10, 2012 at 06:34:20PM +0200, Benoit Cousson wrote: > + Tony > > Hi Matt, > > 30 minutes too late for my pull request :-( > > There are a couple of am33xx patches under discussion, so I'll take them > and send a for_3.7/dts-part2 pull request if this is not too late for Tony. Yeah,

[PATCH 4/4] perf tools: Back [vdso] DSO with real data

2012-09-10 Thread Jiri Olsa
Storing data for VDSO shared object, because we need it for the post unwind processing. The VDSO shared object is same for all process on a running system, so it makes no difference when we store it inside the tracer - perf. When [vdso] map memory is hit, we retrieve [vdso] DSO image and store it

[PATCH 3/4] perf dso: Make dsos__find function globally available

2012-09-10 Thread Jiri Olsa
Changing dsos__find function from static to be globally available. Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Frederic Weisbecker Signed-off-by: Jiri Olsa --- tools/perf/util/symbol.c | 2 +- tools/perf/util/symbol.h | 1 + 2 files changed, 2 inse

Re: linux-next: manual merge of the clk tree with the arm-soc tree

2012-09-10 Thread Mike Turquette
Quoting Linus Walleij (2012-09-10 08:24:49) > On Mon, Sep 10, 2012 at 8:14 AM, Stephen Rothwell > wrote: > > > Today's linux-next merge of the clk tree got a conflict in > > arch/arm/mach-ux500/clock.c between commit 79964bcd792f ("ARM: ux500: > > Correct Ux500 family names usage") from the arm-

[PATCH 2/4] perf tools: Add memdup function

2012-09-10 Thread Jiri Olsa
Adding memdup function to duplicate region of memory. void *memdup(const void *src, size_t len) Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Frederic Weisbecker Signed-off-by: Jiri Olsa --- tools/perf/util/include/linux/string.h | 2 ++ tools/pe

Re: [PATCH 4/4] perf tools: Back [vdso] DSO with real data

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 18:50 +0200, Jiri Olsa wrote: > + maps = fopen("/proc/self/maps", "r"); > + if (!maps) { > + pr_err("vdso: cannot open maps\n"); > + return -1; > + } > + > + while (!found && fgets(line, sizeof(line), maps)) { > +

Re: [PATCH 0/3] perf: precise mode and exclude_guest

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 10:40 -0600, David Ahern wrote: > Hopefully thi wraps up the precise mode-exclude_guest dependency. > I'm sure someone will let me know if I screwed up the attribution > in the second patch. I'll wait with applying until we have the IBS stuff sorted, other than that, thanks

Re: [PATCH 4/7] ptrace: Partly fix set_task_blockstep()->update_debugctlmsr() logic

2012-09-10 Thread Sebastian Andrzej Siewior
* Oleg Nesterov | 2012-09-03 17:26:09 [+0200]: >Afaics the usage of update_debugctlmsr() and TIF_BLOCKSTEP in >step.c was always very wrong. > >1. update_debugctlmsr() was simply unneeded. The child sleeps > TASK_TRACED, __switch_to_xtra(next_p => child) should notice > TIF_BLOCKSTEP and set/c

Re: [PATCH 0/7] uprobes: single-step fixes

2012-09-10 Thread Sebastian Andrzej Siewior
On 09/03/2012 05:25 PM, Oleg Nesterov wrote: Hello. Hi Oleg, Sebastian, I changed your patches a bit: please let me know if you disagree. Thank you very much. I'm fine with those. Just tested, looks good so far. Oleg. Sebastian -- To unsubscribe from this list: send the line "uns

Re: [RFC][PATCH] Improving directed yield scalability for PLE handler

2012-09-10 Thread Srikar Dronamraju
* Peter Zijlstra [2012-09-10 18:03:55]: > On Mon, 2012-09-10 at 08:16 -0500, Andrew Theurer wrote: > > > > @@ -4856,8 +4859,6 @@ again: > > > > if (curr->sched_class != p->sched_class) > > > > goto out; > > > > > > > > - if (task_running(p_rq, p) || p->state) > > > > -

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Benoit Cousson
On 09/10/2012 06:52 PM, Matt Porter wrote: > On Mon, Sep 10, 2012 at 06:34:20PM +0200, Benoit Cousson wrote: >> + Tony >> >> Hi Matt, >> >> 30 minutes too late for my pull request :-( >> >> There are a couple of am33xx patches under discussion, so I'll take them >> and send a for_3.7/dts-part2 pull

Re: [PATCH 0/3] perf: precise mode and exclude_guest

2012-09-10 Thread David Ahern
On 9/10/12 10:57 AM, Peter Zijlstra wrote: On Mon, 2012-09-10 at 10:40 -0600, David Ahern wrote: Hopefully thi wraps up the precise mode-exclude_guest dependency. I'm sure someone will let me know if I screwed up the attribution in the second patch. I'll wait with applying until we have the I

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-10 Thread Tony Lindgren
* Benoit Cousson [120910 09:35]: > + Tony > > Hi Matt, > > 30 minutes too late for my pull request :-( > > There are a couple of am33xx patches under discussion, so I'll take them > and send a for_3.7/dts-part2 pull request if this is not too late for Tony. Yes please do, it' hard to say when

Re: BUG: soft lockup - CPU#1 stuck for 1024s!

2012-09-10 Thread John Stultz
On 09/09/2012 12:59 AM, Fengguang Wu wrote: Hi John, The below lockup warning pops up very occasionally in kvm guest kernels and it's bisected down to commit 2a8c0883c3cfffcc148ea606e2a4e7453cd75e73 Author: John Stultz Date: Fri Jul 13 01:21:56 2012 -0400

[PATCH wq/for-3.6-fixes 1/2] workqueue: restore POOL_MANAGING_WORKERS

2012-09-10 Thread Tejun Heo
>From 552a37e9360a293cd20e7f8ff1fb326a244c5f1e Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Mon, 10 Sep 2012 10:03:33 -0700 This patch restores POOL_MANAGING_WORKERS which was replaced by pool->manager_mutex by 6037315269 "workqueue: use mutex for global_cwq manager exclusion". There's a s

Re: [PATCH 2/2] pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux

2012-09-10 Thread Tony Lindgren
* Peter Ujfalusi [120910 04:55]: > On 09/07/2012 07:55 PM, Tony Lindgren wrote: > > > > I'd like to have something that specifies the controller type so > > we don't need to mix two types of controllers and test for > > non-existing properties when parsing the pins. > > > > How about we require

[PATCH wq/for-3.6-fixes 2/2] workqueue: fix possible idle worker depletion across CPU hotplug

2012-09-10 Thread Tejun Heo
>From ee378aa49b594da9bda6a2c768cc5b2ad585f911 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Mon, 10 Sep 2012 10:03:44 -0700 To simplify both normal and CPU hotplug paths, worker management is prevented while CPU hoplug is in progress. This is achieved by CPU hotplug holding the same exclus

Re: [RFC][PATCH] Improving directed yield scalability for PLE handler

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 22:26 +0530, Srikar Dronamraju wrote: > > +static bool __yield_to_candidate(struct task_struct *curr, struct > > task_struct *p) > > +{ > > + if (!curr->sched_class->yield_to_task) > > + return false; > > + > > + if (curr->sched_class != p->sched_class) >

Re: [PATCH 0/3] perf: precise mode and exclude_guest

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 11:01 -0600, David Ahern wrote: > On 9/10/12 10:57 AM, Peter Zijlstra wrote: > > On Mon, 2012-09-10 at 10:40 -0600, David Ahern wrote: > >> Hopefully thi wraps up the precise mode-exclude_guest dependency. > >> I'm sure someone will let me know if I screwed up the attribution

Re: [PATCH 2/2] ARM: OMAP: hwmod: revise deassert sequence

2012-09-10 Thread Omar Ramirez Luna
Hi Benoit, On 6 September 2012 10:12, Benoit Cousson wrote: > The sequence is good, I'm just a little bit concern about the > duplication of code compared to _enable sequence. > > That being said, this is the consequence of removing the hardreset > sequence outside of the main _enable/_shutdown s

Re: CONFIG_NO_HZ + CONFIG_CPU_IDLE freeze the system (Was Re: [PATCH] acpi : remove power from acpi_processor_cx structure)

2012-09-10 Thread John Stultz
On 09/07/2012 02:35 PM, Daniel Lezcano wrote: On 09/07/2012 07:22 PM, John Stultz wrote: On 09/07/2012 07:20 AM, Daniel Lezcano wrote: On 09/06/2012 11:18 PM, Rafael J. Wysocki wrote: On Thursday, September 06, 2012, Daniel Lezcano wrote: On 09/06/2012 10:04 PM, Rafael J. Wysocki wrote: On T

Re: [RFC] DMA mapping error check analysis

2012-09-10 Thread Stefan Richter
On Sep 10 Shuah Khan wrote: > > > > > > > http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis > > > > > File Name # of calls Status > > > drivers/firewire/core-iso.c 1Unmap Broken > > > drivers/firewire/ohci.c 1Unmap Broken >

Re: Linux 3.6-rc5

2012-09-10 Thread Romain Francoise
Herbert Xu writes: > Thanks! I think this patch should fix the problem. Can someone > please confirm this? Works for me as well, thanks! > crypto: authenc - Fix crash with zero-length assoc data > > The authenc code doesn't deal with zero-length associated data > correctly and ends up construc

Re: [PATCH 2/2] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-10 Thread Tejun Heo
Hello, Kent. On Sun, Sep 09, 2012 at 05:28:10PM -0700, Kent Overstreet wrote: > > > + while ((bio = bio_list_pop(current->bio_list))) > > > + bio_list_add(bio->bi_pool == bs ? &punt : &nopunt, bio); > > > + > > > + *current->bio_list = nopunt; > > > > Why this is necessary needs explanati

Re: [PATCH 1/3] perf tool: precise mode requires exclude_guest

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 10:40 -0600, David Ahern wrote: > PEBS cannot be used with guest mode. See: >https://lkml.org/lkml/2012/7/9/264 Expanding and not relying on external stuff is so much better. So in particular you want something like: "Intel PEBS in VT-x context uses the DS address as a

Re: [PATCH 2/3] perf: require exclude_guest to use PEBS - kernel side enforcement

2012-09-10 Thread Peter Zijlstra
On Mon, 2012-09-10 at 10:40 -0600, David Ahern wrote: > From: Peter Zijlstra > > See https://lkml.org/lkml/2012/7/9/298 Expanding that a little would be so much better.. take some of the reply to 1/3 on why we have to enforce a strict exclude_guest. -- To unsubscribe from this list: send the li

Re: [PATCH 4/7] ptrace: Partly fix set_task_blockstep()->update_debugctlmsr() logic

2012-09-10 Thread Oleg Nesterov
Sebastian, I am replying to my message because I removed your email by mistake. Fortunately I can see it on marc.info... > ptrace and uprobe are calling this function from process context. As > long as you have here get_cpu() instead of local_irq_disable() you should > be safe here. local_irq_dis

Re: [PATCH v2] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-10 Thread Richard Cochran
On Mon, Sep 10, 2012 at 05:45:49PM +0200, Christophe Leroy wrote: > This patch adds proper handling of the buggy revision A2 of LXT973 phy, adding > precautions linked to ERRATA Item 4: I have a few nit picking remarks, below... > Item 4: MDIO Interface and Repeated Polling > Problem: Repeated p

Re: [ 34/95] USB: option: add ZTE K5006-Z

2012-09-10 Thread Thomas Schäfer
Am Montag, 10. September 2012 um 00:42:24 schrieb Ben Hutchings: > 3.2-stable review patch. If anyone has any objections, please let me know. referring to http://www.spinics.net/lists/linux-usb/msg70131.html it should not be done with ff ff ff Thomas > > -- > > From

Re: [PATCH v3 09/31] arm64: Cache maintenance routines

2012-09-10 Thread Nicolas Pitre
On Mon, 10 Sep 2012, Catalin Marinas wrote: > On Fri, Sep 07, 2012 at 08:28:09PM +0100, Arnd Bergmann wrote: > > On Friday 07 September 2012, Catalin Marinas wrote: > > > + > > > +/* > > > + * dmac_inv_range(start,end) > > > > all of these appear to be unused now. Can you remove them? > >

<    1   2   3   4   5   6   7   8   >