Re: sleeping while atomic in dwc3_gadget_start

2013-06-26 Thread Felipe Balbi
On Wed, Jun 26, 2013 at 02:52:56PM -0700, Stephen Boyd wrote: > Hi, > > I'm getting the folllowing BUG message on bootup with 3.10-rc5 > > BUG: sleeping function called from invalid context at mm/slub.c:926 > in_atomic(): 1, irqs_disabled(): 128, pid: 1, name: swapper/0 > CPU: 0 PID: 1 Comm: swap

Re: [PATCH v2 15/45] rcu: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-26 Thread Srivatsa S. Bhat
On 06/27/2013 03:04 AM, Tejun Heo wrote: > Hey, > > On Wed, Jun 26, 2013 at 11:58:48PM +0530, Srivatsa S. Bhat wrote: >> Yes, we were discussing hot-unplug latency for use-cases such as >> suspend/resume. We didn't want to make those operations slower in the >> process of removing stop_machine() f

[PATCH] spi: s3c64xx: add missing check for polling mode

2013-06-26 Thread Girish K S
After the patch "spi/s3c64xx: Fix non-dmaengine usage" with commit id 563b444e33810f3120838620c990480304e24e63 submitted by Mark Brown, the spi device detection in polling mode breaks. This revealed the missing check for polling during dma prepare. This patch adds the missing check. Signed-off-by:

Re: [PATCH 9/9] radeon: use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM)

2013-06-26 Thread Yijing Wang
On 2013/6/27 14:34, Tomi Valkeinen wrote: > On 27/06/13 04:51, Yijing Wang wrote: >> On 2013/6/26 21:15, Tomi Valkeinen wrote: > >>> I couldn't find the rest of this series, and I'm not familiar with PCI. >>> So: is this patch and "aty128fb: use pdev->pm_cap instead of >>> pci_find_capability(..,P

Re: [PATCH] x86/mce: Update MCE severity condition check

2013-06-26 Thread Chen Gong
On Wed, Jun 26, 2013 at 11:10:52PM +0200, Borislav Petkov wrote: > Date: Wed, 26 Jun 2013 23:10:52 +0200 > From: Borislav Petkov > To: "Luck, Tony" > Cc: "linux-kernel@vger.kernel.org" , Chen > Gong , "Naveen N. Rao" > > Subject: Re: [PATCH] x86/mce: Update MCE severity condition check > User-

Re: [PATCH] m68knommu: Mark config_BSP() __init

2013-06-26 Thread Geert Uytterhoeven
On Thu, Jun 27, 2013 at 1:08 AM, Greg Ungerer wrote: > On 26/06/13 05:40, Geert Uytterhoeven wrote: >> >> Some instances of config_BSP() lack an __init annotation. >> >> Signed-off-by: Geert Uytterhoeven > > > Acked-by: Greg Ungerer > > Looks good. Are you going to push it via your tree, or do y

Re: [PATCH 3/8] vfio: add external user support

2013-06-26 Thread Stephen Rothwell
Hi Alexy, On Thu, 27 Jun 2013 15:02:31 +1000 Alexey Kardashevskiy wrote: > > index c488da5..54192b2 100644 > --- a/drivers/vfio/vfio.c > +++ b/drivers/vfio/vfio.c > @@ -1370,6 +1370,59 @@ static const struct file_operations vfio_device_fops = > { > }; > > /** > + * External user API, exporte

Re: [PATCH 1/2] media: davinci: vpif: capture: add V4L2-async support

2013-06-26 Thread Hans Verkuil
On Thu June 27 2013 08:13:40 Prabhakar Lad wrote: > Hi Hans, > > Thanks for the review. > > On Thu, Jun 27, 2013 at 11:27 AM, Hans Verkuil wrote: > > On Tue June 25 2013 17:17:34 Prabhakar Lad wrote: > >> From: "Lad, Prabhakar" > >> > >> Add support for asynchronous subdevice probing, using the

[RFC Patch net-next 3/5] inetpeer: use generic union inet_addr

2013-06-26 Thread Cong Wang
Signed-off-by: Cong Wang --- include/net/inetpeer.h | 29 +-- net/ipv4/inetpeer.c| 35 +++--- net/ipv4/tcp_metrics.c | 92 3 files changed, 68 insertions(+), 88 deletions(-) diff --git a/include/net/inetpeer.h b/i

[PATCH] arch: cris: mm: add a code block for variable declaration

2013-06-26 Thread Chen Gang
Need a code block for variable declaration, or can not pass compiling by old C compiler. The new C compiler will report the warning (with allmodconfig): arch/cris/mm/fault.c: In function ‘do_page_fault’: arch/cris/mm/fault.c:228:3: warning: ISO C90 forbids mixed declarations and code [-Wdecl

[RFC Patch net-next 4/5] sunrpc: use generic union inet_addr

2013-06-26 Thread Cong Wang
Signed-off-by: Cong Wang --- include/linux/sunrpc/addr.h | 119 +++ include/net/inet_addr.h | 56 2 files changed, 64 insertions(+), 111 deletions(-) diff --git a/include/linux/sunrpc/addr.h b/include/linux/sunrpc/addr.h index 0

[RFC Patch net-next 5/5] nfs,cifs: abstract generic inet_addr_equal_strict()

2013-06-26 Thread Cong Wang
Signed-off-by: Cong Wang --- fs/cifs/connect.c | 38 - fs/dlm/lowcomms.c | 24 ++- fs/nfs/client.c| 94 ++- fs/nfs/nfs4filelayoutdev.c | 37 ++--- fs/nfs/super.c | 31 +-

[RFC Patch net-next 1/5] net: introduce generic union inet_addr

2013-06-26 Thread Cong Wang
Cc: Daniel Borkmann Signed-off-by: Cong Wang --- Documentation/printk-formats.txt |9 + drivers/net/netconsole.c | 22 ++--- include/linux/netpoll.h |9 +- include/net/inet_addr.h | 62 ++ lib/vsprintf.c

[RFC Patch net-next 2/5] net: introduce generic inet_pton()

2013-06-26 Thread Cong Wang
Signed-off-by: Cong Wang --- include/net/inet_addr.h | 20 net/core/netpoll.c | 24 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/include/net/inet_addr.h b/include/net/inet_addr.h index 66a16fe..1379287 100644 --- a/include

Re: [PATCH] Optimize wait_sb_inodes()

2013-06-26 Thread Dave Chinner
On Thu, Jun 27, 2013 at 02:18:17PM +0900, OGAWA Hirofumi wrote: > Dave Chinner writes: > > >> Optimizing wait_sb_inodes() might help lock contention, but it doesn't > >> help unnecessary wait/check. > > > > You have your own wait code, that doesn't make what the VFS does > > unnecesary. Quite fra

Re: [RFC 0/2] Delay initializing of large sections of memory

2013-06-26 Thread Yinghai Lu
On Tue, Jun 25, 2013 at 11:58 AM, Mike Travis wrote: > experimenting as soon as I can. Our 32TB system is being > brought back to 16TB (we found a number of problems as we > get closer and closer to the 64TB limit), but that's still > a significant size. Hi, Mike, Can you post e820 memory map o

Re: regression caused by commit 8357b48549e17b3e4e402c7f977b65708922e60f

2013-06-26 Thread Stephen Rothwell
Hi, On Thu, 27 Jun 2013 09:14:19 +0300 Felipe Balbi wrote: > > after commit 8357b48549e17b3e4e402c7f977b65708922e60f, > omap2plus_defconfig doesn't 'hold' the answer to USB Gadget Drivers > anymore. Everytime I run oldconfig, it asks me again and again what USB > Gadget Drivers should be (M/y/?).

Re: [PATCH] usb: dwc3: core: continue probe even if usb3 phy is not available

2013-06-26 Thread Felipe Balbi
Hi, On Thu, Jun 27, 2013 at 08:14:16AM +0200, Michael Grzeschik wrote: > > > right, but in DT you will define both instances and each instance will > > > have a seaparate snps,maximum_speed attribute :-) > > > > > > I'm now considering if we should make maximum_speed a generic attribute, > > > Kis

Re: [PATCH 9/9] radeon: use pdev->pm_cap instead of pci_find_capability(..,PCI_CAP_ID_PM)

2013-06-26 Thread Tomi Valkeinen
On 27/06/13 04:51, Yijing Wang wrote: > On 2013/6/26 21:15, Tomi Valkeinen wrote: >> I couldn't find the rest of this series, and I'm not familiar with PCI. >> So: is this patch and "aty128fb: use pdev->pm_cap instead of >> pci_find_capability(..,PCI_CAP_ID_PM)" safe to apply for fbdev-3.11 >> wit

Re: [PATCH 1/4] Documentation: arm: [U]EFI runtime services

2013-06-26 Thread James Bottomley
On Thu, 2013-06-27 at 07:23 +0100, Grant Likely wrote: > On Thu, Jun 27, 2013 at 2:32 AM, Matthew Garrett wrote: > > On Wed, Jun 26, 2013 at 07:38:19AM -0700, James Bottomley wrote: > >> The fixed virtual address scheme currently being looked at for x86_64 to > >> make SetVirtualAddressMap() kexec

Re: [PATCH v2 3/3] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework

2013-06-26 Thread Lukasz Majewski
On Thu, 27 Jun 2013 09:32:56 +0530, Viresh Kumar wrote: > On 26 June 2013 19:28, Lukasz Majewski wrote: > > On Wed, 26 Jun 2013 16:35:32 +0530, Viresh Kumar wrote: > >> This patch is still few generations back :) > > > > But this is v2 version of boost patches. > > My mistake > > > Please a

Re: [PATCH 3/3] watchdog: dw_wdt: add a devicetree binding

2013-06-26 Thread Sachin Kamat
On 26 June 2013 23:35, Heiko Stübner wrote: > The dw_wdt does not use any platform-specific data, so no new properties > need to be introduced. The dw-apb-wdt naming follows other designware > components in the kernel and is also written like this in documentation > describing the component. > > S

Re: [v3.10-rc2] iwlwifi regression

2013-06-26 Thread Sedat Dilek
On Wed, Jun 26, 2013 at 6:37 PM, Sedat Dilek wrote: > On Wed, Jun 26, 2013 at 6:16 PM, Jörg Otte wrote: >> 2013/5/25 Jörg Otte : >>> If iwlwifi/iwldvm are built into the kernel (no loadable modules) >>> following error is written to console and syslog since v3.10-rc: >>> >>> iwlwifi :08:00.0:

[GIT PULL] SCSI fixes for 3.10-rc7

2013-06-26 Thread James Bottomley
This is a set of seven bug fixes. Several fcoe fixes for locking problems, initiator issues and a VLAN API change, all of which could eventually lead to data corruption, one fix for a qla2xxx locking problem which could lead to multiple completions of the same request (and subsequent data corrupt

Re: [PATCH 1/4] Documentation: arm: [U]EFI runtime services

2013-06-26 Thread Grant Likely
On Thu, Jun 27, 2013 at 2:32 AM, Matthew Garrett wrote: > On Wed, Jun 26, 2013 at 07:38:19AM -0700, James Bottomley wrote: >> The fixed virtual address scheme currently being looked at for x86_64 to >> make SetVirtualAddressMap() kexec invariant doesn't work on 32 bit >> because the address space

Re: [PATCH] proc: Document that /proc//task//children really is per-thread

2013-06-26 Thread Cyrill Gorcunov
On Wed, Jun 26, 2013 at 02:05:01PM -0700, Andy Lutomirski wrote: > I was surprised to discover that a process can have a parent that isn't > a thread group leader. (The usual ppid interfaces hide this, but the > children list exposes it.) > > Signed-off-by: Andy Lutomirski Looks good to me, tha

regression caused by commit 8357b48549e17b3e4e402c7f977b65708922e60f

2013-06-26 Thread Felipe Balbi
ce7ada497f9bf2143f20c73e96c20 Author: Stephen Rothwell Date: Wed Jun 26 17:57:47 2013 +1000 Add linux-next specific files for 20130626 Signed-off-by: Stephen Rothwell $ git revert 8357b48549e17b3e4e402c7f977b65708922e60f $ make -j18 O=/home/build/arm ARCH=arm CONF

Re: [PATCH 1/2] media: davinci: vpif: capture: add V4L2-async support

2013-06-26 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Thu, Jun 27, 2013 at 11:27 AM, Hans Verkuil wrote: > On Tue June 25 2013 17:17:34 Prabhakar Lad wrote: >> From: "Lad, Prabhakar" >> >> Add support for asynchronous subdevice probing, using the v4l2-async API. >> The legacy synchronous mode is still supported t

Re: [PATCH] usb: dwc3: core: continue probe even if usb3 phy is not available

2013-06-26 Thread Michael Grzeschik
On Wed, Jun 26, 2013 at 03:46:45PM +0300, Alexander Shishkin wrote: > Felipe Balbi writes: > > > On Wed, Jun 26, 2013 at 05:37:19PM +0530, George Cherian wrote: > >> On 6/26/2013 3:46 PM, Felipe Balbi wrote: > >> >Hi, > >> > > >> >On Wed, Jun 26, 2013 at 02:59:14PM +0530, George Cherian wrote: >

Re: fcoe pull request for 3.9-rc

2013-06-26 Thread James Bottomley
On Tue, 2013-06-25 at 20:55 +, Love, Robert W wrote: > The following changes since commit 1e876e3b1a9df25bb04682b0d48aaa7e8ae1fc82: > >Merge branch 'for-linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2013-06-25 > 09:08:07 -1000) > > are available in the git reposi

[PATCH TRIVIAL] sched: Fix typo in struct sched_avg member description

2013-06-26 Thread Kamalesh Babulal
Remove extra 'for' from the description about member of struct sched_avg. Signed-off-by: Kamalesh Babulal --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 178a8d9..a9a0ae5 100644 --- a/include/linux/

Re: [PATCH 2/8] clocksource: sun4i: Add clocksource and sched clock drivers

2013-06-26 Thread Baruch Siach
Hi Maxime, On Wed, Jun 26, 2013 at 11:16:55PM +0200, Maxime Ripard wrote: > The A10 and the A13 has a 64 bits free running counter that we can use > as a clocksource and a sched clock, that were both not used yet on these > platforms. > > Signed-off-by: Maxime Ripard > --- > drivers/clocksource

Re: [PATCH 1/2] media: davinci: vpif: capture: add V4L2-async support

2013-06-26 Thread Hans Verkuil
On Tue June 25 2013 17:17:34 Prabhakar Lad wrote: > From: "Lad, Prabhakar" > > Add support for asynchronous subdevice probing, using the v4l2-async API. > The legacy synchronous mode is still supported too, which allows to > gradually update drivers and platforms. > > Signed-off-by: Prabhakar La

[PATCH TRIVIAL] sched/fair: Fix typo describing flags in enqueue_entity

2013-06-26 Thread Kamalesh Babulal
Fix spelling of 'calling' in description of se flags in enqueue_entity(). Signed-off-by: Kamalesh Babulal --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index c0ac2c3..04517bb 100644 --- a/kernel/sched/fair.c

Re: [PATCH] Optimize wait_sb_inodes()

2013-06-26 Thread Daniel Phillips
Hi Dave, On Wed, Jun 26, 2013 at 9:47 PM, Dave Chinner wrote: > You have your own wait code, that doesn't make what the VFS does > unnecesary. Quite frankly, I don't trust individual filesystems to > get it right - there's a long history of filesystem specific data > sync problems (including in X

Re: [PATCH v2 00/14] perf, persistent: Kernel updates for perf tool integration

2013-06-26 Thread Namhyung Kim
Hi Robert, On Wed, 26 Jun 2013 14:44:24 +0200, Robert Richter wrote: > On 26.06.13 13:45:38, Ingo Molnar wrote: >> [ How about to additional logic: attr.persistent=1 && attr.config==0 means >> a new persistent event is created straight away - no ioctl is needed to >> detach it explicitly. ]

Re: cgroup: status-quo and userland efforts

2013-06-26 Thread Mike Galbraith
On Wed, 2013-06-26 at 14:20 -0700, Tejun Heo wrote: > Hello, Tim. > > On Mon, Jun 24, 2013 at 09:07:47PM -0700, Tim Hockin wrote: > > I really want to understand why this is SO IMPORTANT that you have to > > break userspace compatibility? I mean, isn't Linux supposed to be the > > OS with the st

Re: [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-26 Thread Namjae Jeon
2013/6/27, Jaegeuk Kim : > Hi, > > 2013-06-26 (수), 14:10 +0900, Namjae Jeon: >> 2013/6/25, Jaegeuk Kim : >> >> > - any priority scheme for cleaning? >> >> Could you plz tell me a little more detail ? >> > >> > I meant, as well as the GC times, user also gives a kind of status >> > like: >> > LONG_I

Re: kernel panic in skb_copy_bits

2013-06-26 Thread Eric Dumazet
On Thu, 2013-06-27 at 10:58 +0800, Joe Jin wrote: > Hi, > > When we do fail over test with iscsi + multipath by reset the switches > on OVM(2.6.39) we hit the panic: > > BUG: unable to handle kernel paging request at 88006d9e8d48 > IP: [] memcpy+0xb/0x120 > PGD 1798067 PUD 1fd2067 PMD 213f067

Re: perf tools: Introduce new -P/--parent-deep report option

2013-06-26 Thread Namhyung Kim
Hi Arnaldo, On Wed, 26 Jun 2013 11:58:53 -0300, Arnaldo Carvalho de Melo wrote: > Hi Jiri, > > About the patch below, can't this be solved by using a regex > instead of a simple substring search instead of adding a new command > line option? ??? IIUC he reused parent_regex for this. And I

Re: [PATCH 06/19] perf ftrace: Add support for --pid option

2013-06-26 Thread Namhyung Kim
On Wed, 26 Jun 2013 11:12:19 -0600, David Ahern wrote: > On 6/26/13 1:14 AM, Namhyung Kim wrote: >> @@ -196,6 +222,8 @@ int cmd_ftrace(int argc, const char **argv, const char >> *prefix __maybe_unused) >> const struct option ftrace_options[] = { >> OPT_STRING('t', "tracer", &ftrace.trace

Re: [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-06-26 Thread Jaegeuk Kim
Hi, 2013-06-26 (수), 14:10 +0900, Namjae Jeon: > 2013/6/25, Jaegeuk Kim : > >> > - any priority scheme for cleaning? > >> Could you plz tell me a little more detail ? > > > > I meant, as well as the GC times, user also gives a kind of status like: > > LONG_IDLE, SHORT_IDLE, something like that. > >

Re: [PATCH] Optimize wait_sb_inodes()

2013-06-26 Thread OGAWA Hirofumi
Dave Chinner writes: >> Optimizing wait_sb_inodes() might help lock contention, but it doesn't >> help unnecessary wait/check. > > You have your own wait code, that doesn't make what the VFS does > unnecesary. Quite frankly, I don't trust individual filesystems to > get it right - there's a long

Re:

2013-06-26 Thread tingwei liu
Hi, dears I have found many RetransSegs of tcp by /proc/net/snmp, but I can't capture these packet on local system by tcpdump. What could be the reason? Droped by qdisc level or device driver? How to confirm that? I also find patch "[PATCH] tcp: reflect SYN queue_mapping into SY

[PATCH 1/8] KVM: PPC: reserve a capability number for multitce support

2013-06-26 Thread Alexey Kardashevskiy
Signed-off-by: Alexey Kardashevskiy --- include/uapi/linux/kvm.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index d88c8ee..970b1f5 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -666,6 +666,7 @@ struct kvm_pp

[PATCH 3/8] vfio: add external user support

2013-06-26 Thread Alexey Kardashevskiy
VFIO is designed to be used via ioctls on file descriptors returned by VFIO. However in some situations support for an external user is required. The first user is KVM on PPC64 (SPAPR TCE protocol) which is going to use the existing VFIO groups for exclusive access in real/virtual mode in the host

Re: [PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-26 Thread Namhyung Kim
Hi David, On Wed, 26 Jun 2013 11:10:34 -0600, David Ahern wrote: > On 6/26/13 1:14 AM, Namhyung Kim wrote: >> +const char * const ftrace_usage[] = { >> +"perf ftrace [] []", >> +"perf ftrace [] -- []", >> +NULL >> +}; >> +const struct option ftrace_

[PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-06-26 Thread Alexey Kardashevskiy
This adds special support for huge pages (16MB). The reference counting cannot be easily done for such pages in real mode (when MMU is off) so we added a list of huge pages. It is populated in virtual mode and get_page is called just once per a huge page. Real mode handlers check if the requested

[PATCH 5/8] powerpc: Prepare to support kernel handling of IOMMU map/unmap

2013-06-26 Thread Alexey Kardashevskiy
The current VFIO-on-POWER implementation supports only user mode driven mapping, i.e. QEMU is sending requests to map/unmap pages. However this approach is really slow, so we want to move that to KVM. Since H_PUT_TCE can be extremely performance sensitive (especially with network adapters where eac

[PATCH 7/8] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-26 Thread Alexey Kardashevskiy
This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests without passing them to QEMU, which saves time on switching to QEMU and back. Both real and virtual modes are supported. First the kernel tries to handle a TCE request in the real mode, if failed it passes

[PATCH 4/8] hashtable: add hash_for_each_possible_rcu_notrace()

2013-06-26 Thread Alexey Kardashevskiy
This adds hash_for_each_possible_rcu_notrace() which is basically a notrace clone of hash_for_each_possible_rcu() which cannot be used in real mode due to its tracing/debugging capability. Signed-off-by: Alexey Kardashevskiy --- include/linux/hashtable.h | 15 +++ 1 file changed, 1

[PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-06-26 Thread Alexey Kardashevskiy
Signed-off-by: Alexey Kardashevskiy --- include/uapi/linux/kvm.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 970b1f5..0865c01 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -667,6 +667,7 @@ struct kvm_

[PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-26 Thread Alexey Kardashevskiy
This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as IBMVIO devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call which saves time on transition to/from real mode. This adds a t

[PATCH 0/8 v4] KVM: PPC: IOMMU in-kernel handling

2013-06-26 Thread Alexey Kardashevskiy
The changes are: 1. rebased on v3.10-rc7 2. removed spinlocks from real mode 3. added security checks between KVM and VFIO MOre details in the individual patch comments. Alexey Kardashevskiy (8): KVM: PPC: reserve a capability number for multitce support KVM: PPC: reserve a capability and io

Re: [PATCH] perf report: Add option to collapse undesired parts of call graph

2013-06-26 Thread Namhyung Kim
On Wed, 26 Jun 2013 18:25:01 -0400, Greg Price wrote: > Hi Namhyung, > > Thanks for the detailed review! > > > On Wed, Jun 26, 2013 at 10:28:56AM +0900, Namhyung Kim wrote: >> On Sat, 22 Jun 2013 23:17:20 -0400, Greg Price wrote: >> > For example, in an application with an expensive function >> > i

Re: [PATCH 13/13] cpufreq: make sure frequency transitions are serialized

2013-06-26 Thread Viresh Kumar
On 27 June 2013 03:27, Rafael J. Wysocki wrote: > Well, now, seeing that the locking around this seems to be kind of haphazard, > I'm wondering what prevents two different threads from doing CPUFREQ_PRECHANGE > concurrently in such a way that thread A will check transition_ongoing > and thread B w

[PATCH v3] powerpc: Rework iommu_table locks

2013-06-26 Thread Alexey Kardashevskiy
The locks in arch/powerpc/kernel/iommu.c were initally added to protect iommu_table::it_map so the patch just makes things consistent. Specifically, it does: 1. add missing locks for it_map access during iommu_take_ownership/ iommu_release_ownership execution where the entire it_map is marked bus

Re: [PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-26 Thread Sourav Poddar
Hi Kamlakant, On Wednesday 26 June 2013 08:52 PM, Kamlakant Patel wrote: On Wed, Jun 26, 2013 at 01:11:10PM +0530, Sourav Poddar wrote: From: Mona Anonuevo This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices also.

[PATCH] arch: m32r: include: asm: add "dma-mapping-common.h"

2013-06-26 Thread Chen Gang
Need add generic "dma-mapping-common.h", or compiling may fail. The related error (with allmodconfig): CC [M] net/irda/irlan/irlan_eth.o drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: drivers/media/v4l2-core/videobuf2-dma-contig.c:202:2: error: implicit decla

Re: [PATCH] Optimize wait_sb_inodes()

2013-06-26 Thread Dave Chinner
On Thu, Jun 27, 2013 at 09:14:07AM +0900, OGAWA Hirofumi wrote: > Dave Chinner writes: > > >> On another view, wait_sb_inodes() would (arguably) be necessary for > >> legacy FSes. But, for example, if data=journal on ext*, wait_sb_inodes() > >> would be more than useless, because ext* can be done

Re: [PATCH 3/6 v5] powerpc: export debug registers save function for KVM

2013-06-26 Thread Stephen Rothwell
Hi, On Wed, 26 Jun 2013 11:12:23 +0530 Bharat Bhushan wrote: > > diff --git a/arch/powerpc/include/asm/switch_to.h > b/arch/powerpc/include/asm/switch_to.h > index 200d763..50b357f 100644 > --- a/arch/powerpc/include/asm/switch_to.h > +++ b/arch/powerpc/include/asm/switch_to.h > @@ -30,6 +30,10

Re: [PATCH v3] staging: usbip: replace pr_warning() with dev_warn().

2013-06-26 Thread Joe Perches
On Thu, 2013-06-27 at 10:05 +0530, navin patidar wrote: > dev_warn() is preferred over pr_warning(). [] > diff --git a/drivers/staging/usbip/usbip_event.c > b/drivers/staging/usbip/usbip_event.c [] > @@ -85,7 +87,20 @@ int usbip_start_eh(struct usbip_device *ud) > > ud->eh = kthread_run(eve

Re: [PATCH] arch: m32r: include: asm: add ioread*_rep() and iowrite*_rep()

2013-06-26 Thread Chen Gang
Hello Maintainers: If the related 4 patches for io.h pass your checking, it seems OK to merge them into one patch, the diff like below: diff begin-- diff --git a/arch/m32r/include/asm/io.h b/arch/m32r/include/asm/io.h index 4010f1f..550

[PATCH] arch: m32r: include: asm: add ioread*_rep() and iowrite*_rep()

2013-06-26 Thread Chen Gang
add generic ioread*_rep() and iowrite*_rep(), or compiling failed. The related error (with allmodconfig): CC [M] drivers/mtd/nand/nand_base.o drivers/mtd/nand/nand_base.c: In function ‘nand_write_buf’: drivers/mtd/nand/nand_base.c:216:2: error: implicit declaration of function ‘iowrite8

RE: [PATCH 3/4] regulators: Add TPS659038 documentation under Palmas

2013-06-26 Thread J, KEERTHY
Hello Grant, > -Original Message- > From: J, KEERTHY > Sent: Thursday, June 20, 2013 4:36 PM > To: linux-o...@vger.kernel.org; grant.lik...@secretlab.ca > Cc: broo...@kernel.org; J, KEERTHY; ldewan...@nvidia.com; > sa...@linux.intel.com; swar...@nvidia.com; linux- > ker...@vger.kernel.org;

[PATCH v3] staging: usbip: replace pr_warning() with dev_warn().

2013-06-26 Thread navin patidar
dev_warn() is preferred over pr_warning(). container_of() is used to get usb_driver pointer from usbip_device container (stub_device or vhci_device), to get device structure required for dev_warn(). Signed-off-by: navin patidar --- drivers/staging/usbip/usbip_event.c | 17 - 1

RE: [PATCH 1/4] MFD: Add TPS659038 documentation under Palmas

2013-06-26 Thread J, KEERTHY
Hi Grant, > -Original Message- > From: J, KEERTHY > Sent: Monday, June 24, 2013 6:26 PM > To: grant.lik...@secretlab.ca > Cc: broo...@kernel.org; ldewan...@nvidia.com; sa...@linux.intel.com; > swar...@nvidia.com; linux-kernel@vger.kernel.org; linux- > d...@vger.kernel.org; devicetree-disc

RE: [PATCH 4/4] regulator: Palmas: Add TPS659038 support

2013-06-26 Thread J, KEERTHY
Hi Samuel, > -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of J, KEERTHY > Sent: Tuesday, June 25, 2013 3:51 PM > To: sa...@linux.intel.com > Cc: broo...@kernel.org; ldewan...@nvidia.com; > grant.lik...@secretlab.ca; swa

[PATCH] perf tools: Fixup for removing -f option in perf record

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim The commit bf3da4014a0c ("perf record: Remove -f/--force option") got rid of -f option from perf record. But this option was used internally by various sub-commands so they wouldn't work anymore. Also update the example document not to use -f option. Cc: Jiri Olsa Signed-off

linux-next: manual merge of the wireless-next tree with the net-next tree

2013-06-26 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in net/wireless/nl80211.c between merge commits from the net-next tree and commit 86e8cf98de3e ("nl80211: use small state buffer for wiphy_dump") from the wireless-next tree. I think I fixed it up (see below, please check)

[PATCH 2/2] f2fs: fix to recover i_size from roll-forward

2013-06-26 Thread Jaegeuk Kim
If user requests many data writes and fsync together, the last updated i_size should be stored to the inode block consistently. But, previous write_end just marks the inode as dirty and doesn't update its metadata into its inode block. After that, fsync just writes the inode block with newly updat

[PATCH 1/2] f2fs: remove reusing any prefree segments

2013-06-26 Thread Jaegeuk Kim
This patch removes check_prefree_segments initially designed to enhance the performance by narrowing the range of LBA usage across the whole block device. When allocating a new segment, previous f2fs tries to find proper prefree segments, and then, if finds a segment, it reuses the segment for fur

[PATCH] include/asm-generic/pci.h: include generic "pci-dma-compat.h"

2013-06-26 Thread Chen Gang
If an architecture need "generic pci.h", it also need generic "pci-dma- compat.h", so recommend to include it in asm-generic directly. And now, for arm64 and m32r, may cause compiling error about it. The related error (with allmodconfig): drivers/media/usb/b2c2/flexcop-usb.c: In function ‘fle

Re: [PATCH v2 3/3] cpufreq:exynos:Extend Exynos cpufreq driver to support boost framework

2013-06-26 Thread Viresh Kumar
On 26 June 2013 19:28, Lukasz Majewski wrote: > On Wed, 26 Jun 2013 16:35:32 +0530, Viresh Kumar wrote: >> This patch is still few generations back :) > > But this is v2 version of boost patches. My mistake > Please also review: > [PATCH v4 4/7] > [PATCH v4 5/7] > [PATCH v4 6/7] > [PATCH v4

Re: [Xen-devel] [PATCH] xen: reuse the same pirq allocated when driver load first time

2013-06-26 Thread Zhenzhong Duan
On 2013-06-27 02:08, Stefano Stabellini wrote: On Wed, 26 Jun 2013, Zhenzhong Duan wrote: On 2013-06-26 01:51, Stefano Stabellini wrote: On Tue, 25 Jun 2013, DuanZhenzhong wrote: Stefano Stabellini wrote: Trimming some of the people in CC On Mon, 24 Jun 2013, Zhenzhong Duan wrote: On

Re: [RFC][PATCH RT 1/6] rt,rcu: Have rcu_read_lock_sched() use locks for PREEMPT_RT

2013-06-26 Thread Mike Galbraith
On Wed, 2013-06-26 at 15:28 -0400, Steven Rostedt wrote: > @@ -2491,6 +2491,31 @@ static inline int rcu_blocking_is_gp(voi > return ret; > } > > +#ifdef CONFIG_PREEMPT_RT_FULL > +DEFINE_LOCAL_IRQ_LOCK(rcu_sched_lock); > +/* > + * Real-time allows for synchronize sched to sleep but not mig

linux-next: manual merge of the net-next tree with the net tree

2013-06-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/freescale/fec_main.c between commits 32bc9b46d840 ("fec: Add support to restart autonegotiate") and d13919301d9a ("net: fec: Fix build for MCF5272") from the net tree and commit 38ae92dc215e ("ec: Add supp

Re: [PATCH 15/15] perf, tools: Add perf stat --transaction v3

2013-06-26 Thread Andi Kleen
> OK. I'm still confused by that one sorry. In the patch you do: > > + else if (perf_evsel__cmp(counter, nth_evsel(T_CYCLES_IN_TX_CP))) > + update_stats(&runtime_cycles_in_txcp_stats[0], count[0]); > > But then I don't see where you use runtime_cycles_in_txcp_stats ? You're r

Re: [PATCH] arch: arm64: include: asm: add pci.h to pass compiling

2013-06-26 Thread Chen Gang
On 06/27/2013 10:05 AM, Chen Gang wrote: > On 06/27/2013 08:30 AM, Chen Gang wrote: >> On 06/26/2013 10:07 PM, Catalin Marinas wrote: >>> On Wed, Jun 26, 2013 at 04:26:41AM +0100, Chen Gang wrote: > Need add pci.h for compiling, the related error (with allmodconfig): > > drivers/media

[PATCH v2 2/2] DMA: EDMA: Add comments for A-sync case calculations

2013-06-26 Thread Joel Fernandes
A-sync case in EDMA driver is tricky and not so obvious. Document the reasons for the calculations and the scenarious they are used. Signed-off-by: Joel Fernandes --- drivers/dma/edma.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/dma/edma.c b/drivers/dma

[PATCH v2 1/2] ARM: configs: Enable TI_EDMA in omap2plus_defconfig

2013-06-26 Thread Joel Fernandes
Build EDMA in by default to avoid fewer people stepping on their toes with broken DMA on drivers needing EDMA. Signed-off-by: Joel Fernandes --- arch/arm/configs/omap2plus_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/om

[PATCH v2 0/2] DMA: EDMA: Config and comments

2013-06-26 Thread Joel Fernandes
Minor patches remaining after EDMA series was posted. First patch adds the TI_EDMA option which people can forget to add and can result in failure without any informative errors of why DMA is not working. There was a discussion on avoiding Kconfig and putting this in the defconfig instead. Second

Re: cgroup: status-quo and userland efforts

2013-06-26 Thread Tim Hockin
On Wed, Jun 26, 2013 at 6:04 PM, Tejun Heo wrote: > Hello, > > On Wed, Jun 26, 2013 at 05:06:02PM -0700, Tim Hockin wrote: >> The first assertion, as I understood, was that (eventually) cgroupfs >> will not allow split hierarchies - that unified hierarchy would be the >> only mode. Is that not th

Re: [PATCH V3 0/5] Drivers: scsi: storvsc

2013-06-26 Thread James Bottomley
On Wed, 2013-06-26 at 12:58 +, KY Srinivasan wrote: > > > -Original Message- > > From: KY Srinivasan > > Sent: Monday, June 17, 2013 9:32 AM > > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > > de...@linuxdriverproject.org; oher...@suse.com; jbottom...@parallels.com; >

Re: [PATCH] RFC: mmc: dw_mmc: Always go to STATE_DATA_BUSY from STATE_DATA_ERROR

2013-06-26 Thread Jaehoon Chung
Hi Seungwon, I didn't get the same result..In my case, it's working fine. But as Bing's result, i will check more and share the result. Best Regards, Jaehoon Chung On 06/26/2013 10:53 AM, Seungwon Jeon wrote: > Hi Jaehoon, > Do you have the same result? > Could you share the result? > > Thanks,

Re: [RFC] Transparent on-demand memory setup initialization embedded in the (GFP) buddy allocator

2013-06-26 Thread Daniel J Blueman
On Wednesday, June 26, 2013 9:30:02 PM UTC+8, Andrew Morton wrote: > > On Wed, 26 Jun 2013 11:22:48 +0200 Ingo Molnar wrote: > > > except that on 32 TB > > systems we don't spend ~2 hours initializing 8,589,934,592 page heads. > > That's about a million a second which is crazy slow - even my pre

[PATCH v2] ARM: dts: add AM33XX MMC support

2013-06-26 Thread Joel Fernandes
From: Matt Porter Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk. Also added is the DMA binding definitions based on the generic DMA request binding. The HWMOD data removal was breaking MMC so some new properties like reg, interrupt etc were added. Changes to DTS: Interru

[PATCH] arch: m32r: include: asm: add ioread*be() and iowrite*be()

2013-06-26 Thread Chen Gang
Add generic ioread*be() and iowrite*be(), or compiling fails. The related error (with allmodconfig): drivers/ipack/ipack.c: In function ‘ipack_device_read_id’: drivers/ipack/ipack.c:376:3: error: implicit declaration of function ‘ioread16be’ [-Werror=implicit-function-declaration] Signed-of

Re: [PATCH 3/5] Drivers: scsi: storvsc: Implement multi-channel support

2013-06-26 Thread James Bottomley
On Tue, 2013-06-04 at 12:05 -0700, K. Y. Srinivasan wrote: > Implement multi-channel support for the storage devices. This doesn't compile: CC [M] drivers/scsi/storvsc_drv.o drivers/scsi/storvsc_drv.c: In function ‘handle_sc_creation’: drivers/scsi/storvsc_drv.c:763:35: error: ‘struct vmbus_ch

Re: [PATCH 15/15] perf, tools: Add perf stat --transaction v3

2013-06-26 Thread Michael Ellerman
On Wed, Jun 19, 2013 at 04:46:21PM +0200, Andi Kleen wrote: > > This hard coded list isn't going to work for us on powerpc. > > > > We don't have HLE, so we won't ever have an event for el-start. > > > > I don't quite grok what the cycles-ct is about, checkpointed cycles? > > The counter is chec

[PATCH v2] vmpressure: implement strict mode

2013-06-26 Thread Luiz Capitulino
Currently, an eventfd is notified for the level it's registered for _plus_ higher levels. This is a problem if an application wants to implement different actions for different levels. For example, an application might want to release 10% of its cache on level low, 50% on medium and 100% on critic

linux-next: manual merge of the pm tree with the pci tree

2013-06-26 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in MAINTAINERS between commit 15fd830dd310 ("MAINTAINERS: Add ACPI folks for ACPI-related things under drivers/pci") from the pci tree and commit 994b942fb4eb ("ACPI: Update MAINTAINERS file to include Documentation/acpi") from the

Re: frequent softlockups with 3.10rc6.

2013-06-26 Thread Steven Rostedt
On Wed, 2013-06-26 at 16:00 -0400, Dave Jones wrote: > On Wed, Jun 26, 2013 at 03:52:15PM -0400, Steven Rostedt wrote: > Yeah, that's what I meant by "this patch". > To reduce ambiguity, I mean the one below.. There wasn't another patch > that I missed right ? > On other patch, but I've found is

[PATCH] arch: m32r: include: asm: use 'readb' instead of 'read'

2013-06-26 Thread Chen Gang
Need use 'readb' instead of 'read', it is a typo issue which found by compiler. The related error (with allmodconfig): drivers/i2c/busses/i2c-ocores.c: In function ‘oc_getreg_8’: drivers/i2c/busses/i2c-ocores.c:96:2: error: implicit declaration of function ‘read’ [-Werror=implicit-function-d

kernel panic in skb_copy_bits

2013-06-26 Thread Joe Jin
Hi, When we do fail over test with iscsi + multipath by reset the switches on OVM(2.6.39) we hit the panic: BUG: unable to handle kernel paging request at 88006d9e8d48 IP: [] memcpy+0xb/0x120 PGD 1798067 PUD 1fd2067 PMD 213f067 PTE 0 Oops: [#1] SMP CPU 7 Modules linked in: dm_nfs tun n

[PATCH v2] arch: s390: kernel: scan all present cpu forcely.

2013-06-26 Thread Chen Gang
The architectures which may support 'hotpluggable', can scan all cpus during subsys_initcall(). the upper caller will skip the return value. It also can initialize hotpluggable flag of all cpus in time, no matter whether any cpus fail or not. Signed-off-by: Chen Gang --- arch/s390/kernel/smp.c

Re: [PATCH] ARC: [TB10x] Updates for irqchip driver

2013-06-26 Thread Vineet Gupta
On 06/26/2013 07:31 PM, Christian Ruppert wrote: > Device tree and Kconfig updates for irqchip driver. > > Signed-off-by: Christian Ruppert Applied to ARC for-next Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

[PATCH] arch: m32r: include: asm: add generic ioremap_wc() definition

2013-06-26 Thread Chen Gang
Add generic ioremap_wc() definition, or compiling failed. The related error (with allmodconfig): drivers/gpu/drm/drm_bufs.c: In function ‘drm_addmap_core’: drivers/gpu/drm/drm_bufs.c:219:5: error: implicit declaration of function ‘ioremap_wc’ [-Werror=implicit-function-declaration] drivers

Re: frequent softlockups with 3.10rc6.

2013-06-26 Thread Tejun Heo
Hello, On Wed, Jun 26, 2013 at 06:06:45PM -0700, Eric W. Biederman wrote: > Just based on the last trace and your observation that it seems to be > vfs/block layer related I am going to mildly suggest that Jens and Tejun > might have a clue. Tejun made a transformation of the threads used for > w

Re: [PATCH] TTY: memory leakage in tty_buffer_find()

2013-06-26 Thread channing
On Wed, 2013-06-26 at 08:43 -0400, Peter Hurley wrote: > On 06/26/2013 04:51 AM, channing wrote: > > > > In tty_buffer_find(), it scans all tty buffers in > > free buffer queue, if it finds matched one, > > tty->buf.free will point to matched one's next buffer, > > so tty buffers that ahead of matc

  1   2   3   4   5   6   7   8   9   >