Re: [PATCH V3 2/3] clocksource: mmp: support CLOCKSOURCE OF DECLARE

2013-07-09 Thread Haojian Zhuang
On Wed, Jul 10, 2013 at 5:16 AM, Arnd Bergmann wrote: > On Tuesday 09 July 2013, Thomas Petazzoni wrote: >> Dear Neil Zhang, >> >> On Tue, 9 Jul 2013 14:42:45 +0800, Neil Zhang wrote: >> > support CLOCKSOURCE OF DECLARE for mmp timer. >> > >> > Signed-off-by: Neil Zhang >> > --- >> >

Re: [uclinux-dist-devel] [GIT PULL] Blackfin updates for 3.11

2013-07-09 Thread Stephen Rothwell
Hi Steven, On Tue, 9 Jul 2013 17:15:30 +0800 Steven Miao wrote: > > I've signed up for an kernel.org account and moved the blackfin tree to > kernel.org for convenience as some developers' suggestion. Pls update the url > to: >

[PATCH v2 net 1/2] tuntap: correctly linearize skb when zerocopy is used

2013-07-09 Thread Jason Wang
Userspace may produce vectors greater than MAX_SKB_FRAGS. When we try to linearize parts of the skb to let the rest of iov to be fit in the frags, we need count copylen into linear when calling tun_alloc_skb() instead of partly counting it into data_len. Since this breaks zerocopy_sg_from_iovec()

[PATCH v2 net 2/2] macvtap: correctly linearize skb when zerocopy is used

2013-07-09 Thread Jason Wang
Userspace may produce vectors greater than MAX_SKB_FRAGS. When we try to linearize parts of the skb to let the rest of iov to be fit in the frags, we need count copylen into linear when calling macvtap_alloc_skb() instead of partly counting it into data_len. Since this breaks

Re: [Cocci] [PATCH] invoke arguments the right way in coccinelle script

2013-07-09 Thread Nicolas Palix
Hi Cristian, You need Coccinelle version 1.0.0-rc11 or above. I think the minimal required version is about one year old. For more information see Documentation/coccinelle.txt which have been updated. If you prefer to stick to your current version, the commits to revert are the following ones

linux-next: Tree for Jul 10

2013-07-09 Thread Stephen Rothwell
Hi all, Changes since 20130709: New trees: metag-fixes, drm-intel-fixes The ceph tree gained conflicts against Linus' tree. The slab tree gained a build failure so I used the version from next-20130709. The ftrace tree gained a conflict against Linus' tree. The akpm tree lost lots of patches

Re: [v3][PATCH 7/8] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-07-09 Thread tiejun.chen
On 07/10/2013 01:20 PM, Bhushan Bharat-R65777 wrote: -Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun Chen Sent: Tuesday, July 09, 2013 1:33 PM To: b...@kernel.crashing.org Cc:

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-09 Thread George Cherian
On 7/10/2013 10:53 AM, Felipe Balbi wrote: On Wed, Jul 10, 2013 at 10:26:25AM +0530, George Cherian wrote: On 7/9/2013 5:05 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 09 July 2013 11:10 AM, George Cherian wrote: On 7/9/2013 1:14 AM, Sebastian Andrzej Siewior wrote: On 07/08/2013 12:43

Re: [v3][PATCH 1/8] powerpc/book3e: rename interrupt_end_book3e with __end_interrupts

2013-07-09 Thread tiejun.chen
On 07/10/2013 01:17 PM, Bhushan Bharat-R65777 wrote: -Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun Chen Sent: Tuesday, July 09, 2013 1:33 PM To: b...@kernel.crashing.org Cc:

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Viresh Kumar
On 10 July 2013 09:42, Michael Wang wrote: > I'm not sure what is supposed after notify CPUFREQ_GOV_STOP event, if it > is in order to stop queued work and prevent follow work happen again, > then it failed to, and we need some method to stop queue work again when > CPUFREQ_GOV_STOP notified,

[GIT PULL] arch/arc updates #2 for 3.11-rc1

2013-07-09 Thread Vineet Gupta
Hi Linus, Please pull. Thx, -Vineet --> The following changes since commit 7d132055814ef17a6c7b69f342244c410a5e000f: Linux 3.10-rc6 (2013-06-15 11:51:07 -1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/

Re: [PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-09 Thread Felipe Balbi
On Tue, Jul 09, 2013 at 05:34:15PM -0700, Julius Werner wrote: > This patch adds support for a new 'samsung,hsic-reset-gpio' in the > device tree, which will be interpreted as an active-low reset pin during > PHY initialization when it exists. Useful for intergrated HSIC devices > like an SMSC

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-09 Thread Felipe Balbi
On Wed, Jul 10, 2013 at 10:26:25AM +0530, George Cherian wrote: > On 7/9/2013 5:05 PM, Kishon Vijay Abraham I wrote: > >Hi, > > > >On Tuesday 09 July 2013 11:10 AM, George Cherian wrote: > >>On 7/9/2013 1:14 AM, Sebastian Andrzej Siewior wrote: > >>>On 07/08/2013 12:43 PM, George Cherian wrote: >

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread Eliezer Tamir
On 10/07/2013 07:41, David Miller wrote: > From: Eliezer Tamir > Date: Wed, 10 Jul 2013 06:29:16 +0300 > >> If the following names changes are acceptable I will try to send out >> a patch today. >> 2. ndo_ll_poll -> ndo_busy_poll >> >> - not technically accurate since the ndo callback does not

RE: [v3][PATCH 7/8] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-07-09 Thread Bhushan Bharat-R65777
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun > Chen > Sent: Tuesday, July 09, 2013 1:33 PM > To: b...@kernel.crashing.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org >

RE: [v3][PATCH 1/8] powerpc/book3e: rename interrupt_end_book3e with __end_interrupts

2013-07-09 Thread Bhushan Bharat-R65777
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun > Chen > Sent: Tuesday, July 09, 2013 1:33 PM > To: b...@kernel.crashing.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org >

Re: [PATCH net 2/2] macvtap: correctly linearize skb when zerocopy is used

2013-07-09 Thread Jason Wang
On 07/09/2013 06:35 PM, Michael S. Tsirkin wrote: > On Tue, Jul 09, 2013 at 06:10:51PM +0800, Jason Wang wrote: >> Userspace may produce vectors greater than MAX_SKB_FRAGS. When we try to >> linearize parts of the skb to let the rest of iov to be fit in >> the frags, we need count copylen into

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

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 03:02 AM, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: >> 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

Re: [PATCH 0/5] Add phy support for AM335X platform using Generic PHy framework

2013-07-09 Thread George Cherian
On 7/9/2013 5:05 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 09 July 2013 11:10 AM, George Cherian wrote: On 7/9/2013 1:14 AM, Sebastian Andrzej Siewior wrote: On 07/08/2013 12:43 PM, George Cherian wrote: This patch series adds phy support for AM335X platform. This patch series is

Re: [PATCH RFC] fsio: filesystem io accounting cgroup

2013-07-09 Thread Sha Zhengju
Hi, On Mon, Jul 8, 2013 at 5:59 PM, Konstantin Khlebnikov wrote: > This is proof of concept, just basic functionality for IO controller. > This cgroup will control filesystem usage on vfs layer, it's main goal is > bandwidth control. It's supposed to be much more lightweight than memcg/blkio. >

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread David Miller
From: Eliezer Tamir Date: Wed, 10 Jul 2013 06:29:16 +0300 > If the following names changes are acceptable I will try to send out > a patch today. > > 1. include/net/ll_poll.h -> include/net/busy_poll.h Agreed. > 2. ndo_ll_poll -> ndo_busy_poll > > - not technically accurate since the ndo

Re: [PATCH 2/2] virtio_net: fix race in RX VQ processing

2013-07-09 Thread Asias He
On Tue, Jul 09, 2013 at 11:28:34AM +0800, Jason Wang wrote: > On 07/08/2013 05:04 PM, Michael S. Tsirkin wrote: > > virtio net called virtqueue_enable_cq on RX path after napi_complete, so > > with NAPI_STATE_SCHED clear - outside the implicit napi lock. > > This violates the requirement to

Re: [PATCH 1/2] virtio: support unlocked queue poll

2013-07-09 Thread Asias He
On Mon, Jul 08, 2013 at 12:04:36PM +0300, Michael S. Tsirkin wrote: > This adds a way to check ring empty state after enable_cb outside any > locks. Will be used by virtio_net. > > Note: there's room for more optimization: caller is likely to have a > memory barrier already, which means we might

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-09 Thread David Miller
From: Rusty Russell Date: Tue, 09 Jul 2013 17:38:51 +0930 > If you convince DaveM, I won't object :) Simplifications are great, but not when the merge window opens up. Sorry, this isn't appropriate now. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [off topic] [research] Interviews for contributors over 50 for Oregon State University research

2013-07-09 Thread Jen D
I apologize, I sent out the incorrect recruitment email. Here is the correct one: Hello, Researchers at Oregon State University are striving to conduct research to learn more about the free/open source software community landscape as it relates to older adults. We’re looking for older adults

Re: [GIT] Networking

2013-07-09 Thread David Miller
From: Linus Torvalds Date: Tue, 9 Jul 2013 19:50:41 -0700 > Now, I'm all for making descriptive merge commit messages, including > improving on the summary line. So by all means write those nice merge > messages with explanations. I think something like > > dc3d807d6fd9 Merge "openvswitch:

[PATCH] pps-gpio: add pinctrl suppport

2013-07-09 Thread Matt Ranostay
Add pincontrol support to pps-gpio driver for selecting the repective GPIO muxing if applicable. Signed-off-by: Matt Ranostay --- drivers/pps/clients/pps-gpio.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/pps/clients/pps-gpio.c b/drivers/pps/clients/pps-gpio.c index

Re: /sys/module/pcie_aspm/parameters/policy not writable?

2013-07-09 Thread Robert Hancock
On 07/09/2013 03:49 AM, Pavel Machek wrote: On Mon 2013-07-08 21:13:21, Greg KH wrote: On Tue, Jul 09, 2013 at 03:26:11AM +0200, Pavel Machek wrote: Hi! My thinkpad has rather high ping latencies... and perhaps it is due to PCIE ASPM. Why would that be the problem? The odds that the PCIE

Suspend-to-disk issue with identifying swap partition

2013-07-09 Thread Robert Hancock
I recently ran into a problem with suspend to disk on Fedora 19, which I reported here: https://bugzilla.redhat.com/show_bug.cgi?id=981841 In this case swap and /home are encrypted volumes. Essentially (from what I understand, correct me if I'm wrong) what happens is that when dracut boots

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Michael Wang
On 07/09/2013 09:07 PM, Srivatsa S. Bhat wrote: [snip] > > But this still doesn't immediately explain how we can end up trying to > queue work items on offline CPUs (since policy->cpus is supposed to always > contain online cpus only, and this does look correct in the code as well, > at a first

[PATCH 4/4] platform: Convert apple-gmux driver to dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/platform/x86/apple-gmux to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/platform/x86/apple-gmux.c | 18 ++ 1 file changed, 14 insertions(+), 4

[PATCH 0/4] pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops if specified

2013-07-09 Thread Shuah Khan
pnp_bus_suspend() and pnp_bus_resume() invoke legacy pm_ops from pnp_driver. Changed pnp_bus_suspend() and pnp_bus_resume() to check if pnp driver has dev_pm_ops and call. If dev_pm_ops don't exist, then call use legacy pm_ops. Without this change, pnp_driver dev_pm_ops will not get called. In

[PATCH 3/4] tpm: Convert tpm_tis driver to use dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/char/tpm/tpm_tis.c to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/char/tpm/tpm_tis.c | 60 ++-- 1 file changed, 24

[PATCH 1/4] pnp: Change pnp bus pm_ops to invoke pnp driver dev_pm_ops if specified

2013-07-09 Thread Shuah Khan
pnp_bus_suspend() and pnp_bus_resume() invoke legacy pm_ops from pnp_driver. Changed pnp_bus_suspend() and pnp_bus_resume() to check if pnp driver has dev_pm_ops and call. If dev_pm_ops don't exist, then call use legacy pm_ops. Without this change, pnp_driver dev_pm_ops will not get called.

[PATCH 2/4] rtc: convert rtc-cmos to dev_pm_ops from legacy pm_ops

2013-07-09 Thread Shuah Khan
Convert drivers/rtc/rtc-cmos to use dev_pm_ops instead of legacy pm_ops. This patch depends on pnp driver bus ops change to invoke pnp_driver dev_pm_ops. Signed-off-by: Shuah Khan --- drivers/rtc/rtc-cmos.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff

Re: [RESEND][PATCH] mtd: refactor call to request_module

2013-07-09 Thread Rusty Russell
Kees Cook writes: > This reduces the size of the stack frame when calling request_module(). > Performing the sprintf before the call is not needed. > > Signed-off-by: Kees Cook Acked-by: Rusty Russell Thanks, Rusty. > --- > drivers/mtd/chips/gen_probe.c |4 +--- > 1 file changed, 1

[PULL] modules-next

2013-07-09 Thread Rusty Russell
The following changes since commit 06df44ee41442d83be061c5fd1b1de4f5fc6fbbf: modpost.c: Add .text.unlikely to TEXT_SECTIONS (2013-05-20 12:08:45 +0930) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/modules-next-for-linus for you

Re: [PATCH 1/2] virtio: support unlocked queue poll

2013-07-09 Thread Rusty Russell
"Michael S. Tsirkin" writes: > This adds a way to check ring empty state after enable_cb outside any > locks. Will be used by virtio_net. > > Note: there's room for more optimization: caller is likely to have a > memory barrier already, which means we might be able to get rid of a > barrier here.

[PULL] virtio-next

2013-07-09 Thread Rusty Russell
The following changes since commit b3087e48ce20be784fae1dbabc2e42e2ad0f21bc: virtio: remove virtqueue_add_buf(). (2013-05-20 12:16:01 +0930) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/virtio-next-for-linus for you to fetch

Re: early microcode on amd is broken when no initramfs provided

2013-07-09 Thread Borislav Petkov
On Tue, Jul 09, 2013 at 10:53:31PM -0500, Jacob Shin wrote: > I won't have access to a box for a while, Boris or Suravee, could you > please try and reproduce it and get the stack trace when you get the > chance? > > So sorry, No worries, Jacob, I'm on it. Take your time. :) -- Regards/Gruss,

Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter

2013-07-09 Thread H. Peter Anvin
On 07/09/2013 03:34 PM, Sander Eikelenboom wrote: > > Grub does this in it's update script to prevent adding a xen + kernel > combination that has no chance of booting when dom0 support has not been > configured in the kernel. > That doesn't seem to be a unreasonable thought. > Except it does

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Andrew Morton
On Wed, 10 Jul 2013 11:37:26 +0800 Li Zefan wrote: > On 2013/7/10 10:18, zhangwei(Jovi) wrote: > > When I'm using ktap script to tracing all event tracepoints by relay > > transport, without this patch, the system will hang in few seconds. > > > > I found the original patch discussion in 2007.

Re: linux-next: manual merge of the ceph tree with Linus' tree

2013-07-09 Thread Sage Weil
On Wed, 10 Jul 2013, Stephen Rothwell wrote: > Hi Sage, > > Today's linux-next merge of the ceph tree got conflicts in > drivers/block/rbd.c and net/ceph/osd_client.c because the ceph tree was > rebased before being sent to Linus and it looks like one patch > was dropped and several more added. >

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Wed, Jul 10, 2013 at 01:53:15AM +0100, David Woodhouse wrote: > On Tue, 2013-07-09 at 17:18 -0700, Guenter Roeck wrote: > > > > I meant warning as in pr_warn or dev_warn, not WARNING as in traceback. > > Keep in mind that a casual user doesn't expect to see a traceback and will > > tend > >

linux-next: manual merge of the ftrace tree with Linus' tree

2013-07-09 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in kernel/panic.c between commit dcb6b45254e2 ("panic: add cpu/pid to warn_slowpath_common in WARNING printk()s") from the tree and commit de7edd31457b ("tracing: Disable tracing on warning") from the ftrace tree. I fixed it

Re: [PATCH V2] relay: fix timer madness

2013-07-09 Thread Li Zefan
On 2013/7/10 10:18, zhangwei(Jovi) wrote: > When I'm using ktap script to tracing all event tracepoints by relay > transport, without this patch, the system will hang in few seconds. > > I found the original patch discussion in 2007. > http://marc.info/?l=linux-kernel=118544794717162=2 > (In that

Re: [PATCH RFC] fsio: filesystem io accounting cgroup

2013-07-09 Thread Tejun Heo
Hello, On Tue, Jul 09, 2013 at 11:09:55PM -0400, Vivek Goyal wrote: > Stacking drivers are pretty important ones and we expect throttling > to work with them. By throttling bio, a single hook worked both for > request based drivers and bio based drivers. Oh yeah, sure, we have them working now,

Re: [PATCH 5/8] powerpc: add real mode support for dma operations on powernv

2013-07-09 Thread Benjamin Herrenschmidt
On Tue, 2013-07-09 at 18:02 +0200, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: > > The existing TCE machine calls (tce_build and tce_free) only support > > virtual mode as they call __raw_writeq for TCE invalidation what > > fails in real mode. > > > > This

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Michael Wang
On 07/09/2013 09:07 PM, Srivatsa S. Bhat wrote: [snip] >> > > Yeah, exactly! > > So I had proposed doing an asynchronous cancel-work or doing the > synchronous cancel-work in the CPU_POST_DEAD phase, where the > cpu_hotplug.lock is not held. See this thread: > >

Re: [PATCH net-next] net: rename low latency sockets functions to busy poll

2013-07-09 Thread Eliezer Tamir
On 10/07/2013 02:06, David Miller wrote: > From: Jonathan Corbet > Date: Tue, 9 Jul 2013 16:25:14 -0600 > >> On Mon, 08 Jul 2013 16:20:34 +0300 >> Eliezer Tamir wrote: >> >>> Rename POLL_LL to POLL_BUSY_LOOP. >> >> So pardon me if I speak out of turn, but it occurs to me to >> wonder...should

Re: [PATCH 5/8] powerpc: add real mode support for dma operations on powernv

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 02:02 AM, Alexander Graf wrote: > On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: >> The existing TCE machine calls (tce_build and tce_free) only support >> virtual mode as they call __raw_writeq for TCE invalidation what >> fails in real mode. >> >> This introduces tce_build_rm

Re: [Xen-devel] [PATCH] xen: remove unused Kconfig parameter

2013-07-09 Thread Borislav Petkov
On Wed, Jul 10, 2013 at 12:34:58AM +0200, Sander Eikelenboom wrote: > Grub does this in it's update script to prevent adding a xen + kernel > combination that has no chance of booting when dom0 support has not > been configured in the kernel. That doesn't seem to be a unreasonable > thought.

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-09 Thread Michael Ellerman
On Tue, Jul 09, 2013 at 10:14:34AM +0200, Peter Zijlstra wrote: > On Mon, Jul 08, 2013 at 10:24:34PM -0400, Vince Weaver wrote: > > > > So something like they have on ARM? > > > > vince@pandaboard:/sys/bus/event_source/devices$ ls -l > > lrwxrwxrwx 1 root root 0 Jul 8 21:57 ARMv7 Cortex-A9 ->

nfsd changes for 3.11

2013-07-09 Thread J. Bruce Fields
Please pull nfsd changes for 3.11 from the for-3.11 branch at git://linux-nfs.org/~bfields/linux.git for-3.11 Changes this time include: - 4.1 enabled on the server by default: the last 4.1-specific issues I know of are fixed, so we're not going to find the rest of

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang F T
On 07/10/2013 10:35 AM, Chen Gang wrote: > On 07/10/2013 10:17 AM, Chen Gang F T wrote: >> On 07/09/2013 04:07 PM, Rusty Russell wrote: >>> Chen Gang writes: When sysfs_create_file() fails, recommend to print the related failure information. And it is useless to still 'KOBJ_ADD' to user

Re: [PATCH 2/2] PCI,pciehp: avoid add a device already exist during pciehp_resume

2013-07-09 Thread Yijing Wang
Hi Bjorn, Thanks for your review and comments! >> We can use PCIe Device Serial Number to identify the device if >> device support DSN. > > I think I like the idea of this, especially because the Microsoft PCI > Hardware Compliance Test apparently requires DSN for hot-pluggable > PCIe devices

linux-next: build failure after merge of the slab tree

2013-07-09 Thread Stephen Rothwell
RACE' undeclared (first use in this function) if (!(flags & SLAB_NOLEAKTRACE)) ^ Probably caused by commit 590a63973e36 ("mm/sl[aou]b: Move kmalloc definitions to slab.h"). I have used the slab tree from next-20130709 for today. And, yes, I am a little annoyed b

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-09 Thread Huang Shijie
于 2013年07月09日 20:03, Rob Herring 写道: > the same and that is the assumption. Matching is not just based on > compatible properties and your patch does not handle the other cases. Could you show a example of "the other cases"? After this patch, [1] the matching will first check the @match->type

Re: [GIT] Networking

2013-07-09 Thread Linus Torvalds
On Tue, Jul 9, 2013 at 2:53 PM, David Miller wrote: > > This is a re-do of the net-next pull request for the current merge > window. The only difference from the one I made the other day is that > this has Eliezer's interface renames and the timeout handling changes > made based upon your

Re: [v3.10 regression] deadlock on cpu hotplug

2013-07-09 Thread Michael Wang
On 07/09/2013 07:51 PM, Bartlomiej Zolnierkiewicz wrote: [snip] > > It doesn't help and unfortunately it just can't help as it only > addresses lockdep functionality while the issue is not a lockdep > problem but a genuine locking problem. CPU hot-unplug invokes > _cpu_down() which calls

Re: [PATCH v2 2/2] perf tools: Make Power7 events available for perf

2013-07-09 Thread Michael Ellerman
On Tue, Jul 09, 2013 at 11:20:50AM -0400, Vince Weaver wrote: > On Tue, 9 Jul 2013, Michael Ellerman wrote: > > > On Mon, Jul 08, 2013 at 10:24:34PM -0400, Vince Weaver wrote: > > > why is it a hack to use cpuid? > > > > Because you're assuming that the PMU the kernel has exposed is for the > >

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang
On 07/10/2013 10:17 AM, Chen Gang F T wrote: > On 07/09/2013 04:07 PM, Rusty Russell wrote: >> Chen Gang writes: >>> When sysfs_create_file() fails, recommend to print the related failure >>> information. And it is useless to still 'KOBJ_ADD' to user space. >>> >>> Signed-off-by: Chen Gang >> >>

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-07-09 Thread Dave Chinner
On Mon, Jul 08, 2013 at 02:53:52PM +0200, Michal Hocko wrote: > On Thu 04-07-13 18:36:43, Michal Hocko wrote: > > On Wed 03-07-13 21:24:03, Dave Chinner wrote: > > > On Tue, Jul 02, 2013 at 02:44:27PM +0200, Michal Hocko wrote: > > > > On Tue 02-07-13 22:19:47, Dave Chinner wrote: > > > > [...] >

[PATCH V2] relay: fix timer madness

2013-07-09 Thread zhangwei(Jovi)
When I'm using ktap script to tracing all event tracepoints by relay transport, without this patch, the system will hang in few seconds. I found the original patch discussion in 2007. http://marc.info/?l=linux-kernel=118544794717162=2 (In that mail thread, the patch didn't fix that problem, but

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Chen Gang F T
On 07/09/2013 04:07 PM, Rusty Russell wrote: > Chen Gang writes: >> When sysfs_create_file() fails, recommend to print the related failure >> information. And it is useless to still 'KOBJ_ADD' to user space. >> >> Signed-off-by: Chen Gang > > sysfs_create_file() should not fail during boot,

Re: [PATCH 2/4] extcon: palmas: enable ID_GND and ID_FLOAT detection always

2013-07-09 Thread Chanwoo Choi
Hi Laxman, On 07/09/2013 10:04 PM, Laxman Dewangan wrote: > When integrating driver with Tegra platform, it is found that > the ID pins get detected only once after booting system and > further removal and re-insert does not detect the ID pin. > > Fixing this issue with enabling interrupt on

Re: virtio indirect with lots of descriptors

2013-07-09 Thread Rusty Russell
Dave Airlie writes: > Hi Rusty, > > playing with my virtio gpu, I started hitting the qemu > error_report("Too many read descriptors in indirect table"); > > Now I'm not sure but this doesn't seem to be a virtio limit that the > guest catches from what I can see, since my host dies quite quickly,

Re: [PATCH v3 1/2] sched: smart wake-affine foundation

2013-07-09 Thread Michael Wang
On 07/10/2013 09:52 AM, Sam Ben wrote: > On 07/08/2013 10:36 AM, Michael Wang wrote: >> Hi, Sam >> >> On 07/07/2013 09:31 AM, Sam Ben wrote: >>> On 07/04/2013 12:55 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring

Re: [RFC][PATCH 1/9] sched: Introduce power scheduler

2013-07-09 Thread Arjan van de Ven
On 7/9/2013 8:55 AM, Morten Rasmussen wrote: + mod_delayed_work_on(schedule_cpu(), system_wq, , + msecs_to_jiffies(INTERVAL)); so thinking about this more, this really really should not be a work queue. a work queue will cause a large number of context

[RESEND] The initmpfs patches.

2013-07-09 Thread Rob Landley
Attached, so you don't have to fish them out of: http://lkml.indiana.edu/hypermail/linux/kernel/1306.3/04204.html Do they look worth applying, or should I wash it through linux-next for a bit? (Which I'm not sure how to do if I don't host a git tree on a server, or I'd have done it

[PATCH v3] btusb: fix wrong use of PTR_ERR()

2013-07-09 Thread Adam Lee
PTR_ERR() returns a signed long type value which is limited by IS_ERR(), it must be a negative number whose range is [-MAX_ERRNO, 0). The bug here returns negative numbers as error codes, then check it by "if (ret < 0)", but -PTR_ERR() is actually positive. The wrong use here leads to failure as

Re: [REGRESSION] x86 vmalloc issue from recent 3.10.0+ commit

2013-07-09 Thread Dave Jones
On Tue, Jul 09, 2013 at 09:51:32PM -0400, Michael L. Semon wrote: > kernel: [ 2580.395592] vmap allocation for size 20480 failed: use > vmalloc= to increase size. > kernel: [ 2580.395761] vmalloc: allocation failure: 16384 bytes I was seeing a lot of these recently too. (Though I also saw

[PATCH] kexec: return error of machine_kexec() fails

2013-07-09 Thread Simon Horman
From: Stephen Warren Prior to commit 3ab8352 "kexec jump", if machine_kexec() returned, sys_reboot() would return -EINVAL. This patch restores this behaviour for the non-KEXEC_JUMP case, where machine_kexec() is not expected to return. This situation can occur on ARM, where kexec requires

Re: [GIT] Networking

2013-07-09 Thread Rob Landley
On 07/09/2013 12:32:56 PM, Linus Torvalds wrote: On Mon, Jul 8, 2013 at 7:29 PM, Rob Landley wrote: > > Um, does that mean I should have cc'd you on the initmpfs patch series > back before the merge window opened? So I personally don't tend to care about that kind of patch-series - it

Re: [PATCH v3 1/2] sched: smart wake-affine foundation

2013-07-09 Thread Sam Ben
On 07/08/2013 10:36 AM, Michael Wang wrote: Hi, Sam On 07/07/2013 09:31 AM, Sam Ben wrote: On 07/04/2013 12:55 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring benefit if waker's cpu cached hot data for wakee, or the extreme

[REGRESSION] x86 vmalloc issue from recent 3.10.0+ commit

2013-07-09 Thread Michael L. Semon
Hi! I'm doing volunteer testing of xfstests and was sent here to ask about this issue. I apologize in advance if the problem has already been solved... I've been testing XFS from various git kernels on 32-bit Pentium 4 and Pentium III PCs. There was an issue with xfstests test xfs/167,

Re: [PATCH] kernel/params.c: print failure information instead of 'KOBJ_ADD' to user space, when sysfs_create_file() fails.

2013-07-09 Thread Rusty Russell
Chen Gang writes: > When sysfs_create_file() fails, recommend to print the related failure > information. And it is useless to still 'KOBJ_ADD' to user space. > > Signed-off-by: Chen Gang sysfs_create_file() should not fail during boot, should it? Cheers, Rusty. > --- > kernel/params.c |

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-09 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Tue, Jul 09, 2013 at 11:46:23AM +0930, Rusty Russell wrote: >> "Michael S. Tsirkin" writes: >> > For small packets we can simplify xmit processing >> > by linearizing buffers with the header: >> > most packets seem to have enough head room >> > we can use for

Re: 3.9-rc6 ext4: free_rb_tree_fname oops

2013-07-09 Thread Zheng Liu
Hi Daniel, On Mon, Jun 24, 2013 at 02:34:00PM +0800, Daniel J Blueman wrote: > On 16 April 2013 15:37, Daniel J Blueman wrote: > > When using e4defrag on a ext4 filesystem created a month ago, I ran > > into this fatal page fault [1] > > while running e4defrag on 3.9-rc6 (Ubuntu mainline). > >

virtio indirect with lots of descriptors

2013-07-09 Thread Dave Airlie
Hi Rusty, playing with my virtio gpu, I started hitting the qemu error_report("Too many read descriptors in indirect table"); Now I'm not sure but this doesn't seem to be a virtio limit that the guest catches from what I can see, since my host dies quite quickly, when I'm doing transfers in/out

[Information] gcc '-O2' may skip some of uninitialized variables warnings (exist almost 10 years).

2013-07-09 Thread Chen Gang
Hell All: gcc '-O2' may skip some of uninitialized variables warnings which may be real bugs. This is gcc issue which keep existence almost 10 years, and now it seems can not be fixed in recent years. Please reference: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501, for kernel special case,

Re: [PATCH] ocfs2/refcounttree: add the missing NULL check of the return value of find_or_create_page()

2013-07-09 Thread Gu Zheng
On 07/10/2013 06:11 AM, Joel Becker wrote: > On Mon, Jul 08, 2013 at 03:52:53PM +0800, Gu Zheng wrote: >> Add the missing NULL check of the return value of find_or_create_page() in >> function ocfs2_duplicate_clusters_by_page(). >> >> Signed-off-by: Gu Zheng >> --- >> fs/ocfs2/refcounttree.c |

linux-next: manual merge of the ceph tree with Linus' tree

2013-07-09 Thread Stephen Rothwell
Hi Sage, Today's linux-next merge of the ceph tree got conflicts in drivers/block/rbd.c and net/ceph/osd_client.c because the ceph tree was rebased before being sent to Linus and it looks like one patch was dropped and several more added. I just used the upstream version of the cpeh tree for

Re: [RFC PATCH 0/5] Support multiple pages allocation

2013-07-09 Thread Zhang Yanfei
于 2013/7/10 8:31, Joonsoo Kim 写道: > On Thu, Jul 04, 2013 at 12:00:44PM +0200, Michal Hocko wrote: >> On Thu 04-07-13 13:24:50, Joonsoo Kim wrote: >>> On Thu, Jul 04, 2013 at 12:01:43AM +0800, Zhang Yanfei wrote: On 07/03/2013 11:51 PM, Zhang Yanfei wrote: > On 07/03/2013 11:28 PM, Michal

Re: [PATCH REPOST] kexec: return error of machine_kexec() fails

2013-07-09 Thread Zhang Yanfei
于 2013/7/10 0:16, Stephen Warren 写道: > From: Stephen Warren > > Prior to commit 3ab8352 "kexec jump", if machine_kexec() returned, > sys_reboot() would return -EINVAL. This patch restores this behaviour > for the non-KEXEC_JUMP case, where machine_kexec() is not expected to > return. > > This

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread David Woodhouse
On Tue, 2013-07-09 at 17:18 -0700, Guenter Roeck wrote: > > I meant warning as in pr_warn or dev_warn, not WARNING as in traceback. > Keep in mind that a casual user doesn't expect to see a traceback and will > tend > to get alarmed. Several bugs have been filed against this "issue" in various >

[PATCH] usb: phy: samsung-usb2: Toggle HSIC GPIO from device tree

2013-07-09 Thread Julius Werner
This patch adds support for a new 'samsung,hsic-reset-gpio' in the device tree, which will be interpreted as an active-low reset pin during PHY initialization when it exists. Useful for intergrated HSIC devices like an SMSC 3503 hub. It is necessary to add this directly to the PHY initialization

Re: [RFC PATCH 0/5] Support multiple pages allocation

2013-07-09 Thread Joonsoo Kim
On Thu, Jul 04, 2013 at 12:00:44PM +0200, Michal Hocko wrote: > On Thu 04-07-13 13:24:50, Joonsoo Kim wrote: > > On Thu, Jul 04, 2013 at 12:01:43AM +0800, Zhang Yanfei wrote: > > > On 07/03/2013 11:51 PM, Zhang Yanfei wrote: > > > > On 07/03/2013 11:28 PM, Michal Hocko wrote: > > > >> On Wed

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 05:05:11PM -0700, Chris Wright wrote: > * Guenter Roeck (li...@roeck-us.net) wrote: > > On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > > > * Guenter Roeck (li...@roeck-us.net) wrote: > > > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > >

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

2013-07-09 Thread Namhyung Kim
Hi David, 2013-07-09 오후 11:21, David Ahern 쓴 글: On 7/9/13 1:41 AM, Namhyung Kim wrote: Hi Arnaldo, You may want to merge this patch too. :) He did. See 77d03596 and the note: [ combined patch removing the -f usage in various sub-commands, such as 'perf sched', etc, by Namhyung Kim ]

Re: linux-next: reminder

2013-07-09 Thread Stephen Rothwell
Hi all, On Tue, 2 Jul 2013 17:09:57 +1000 Stephen Rothwell wrote: > > We are in the merge window, so please do not add anything to your > linux-next included branches that is not destined for v3.11 until after > v3.11-rc1 is released. No, really :-( i.e. maintainers should be saying "No" to

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Chris Wright
* Guenter Roeck (li...@roeck-us.net) wrote: > On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > > * Guenter Roeck (li...@roeck-us.net) wrote: > > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > > > [+cc Joerg, David, iommu list] > > > > > > > > On Tue, Jul 9,

Re: [PATCH] ACPI / scan: Always call acpi_bus_scan() for bus check notifications

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 01:32:42 PM Toshi Kani wrote: > On Mon, 2013-07-08 at 02:10 +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > An ACPI_NOTIFY_BUS_CHECK notification means that we should scan the > > entire namespace starting from the given handle even if the device > >

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Chris Wright
* Guenter Roeck (li...@roeck-us.net) wrote: > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > [+cc Joerg, David, iommu list] > > > > On Tue, Jul 9, 2013 at 2:24 PM, Guenter Roeck wrote: > > > I started seeing this problem after updating the BIOS trying fix another > > >

Re: [RFC][PATCH 6/8] ACPI / hotplug / PCI: Drop acpiphp_handle_to_bridge()

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:37:26 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:20:31AM +0200, Rafael J. Wysocki wrote: > > @@ -953,37 +937,49 @@ static void acpiphp_sanitize_bus(struct > > * ACPI event handlers > > */ > > > > -static acpi_status > > -check_sub_bridges(acpi_handle

[Update][RFC][PATCH 4/8] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:23:53 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:18:12AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > When either a new hotplug brigde or a new hotplug function is added > ^^ >

Re: WARNING: at drivers/iommu/dmar.c:484 warn_invalid_dmar with Intel Motherboard

2013-07-09 Thread Guenter Roeck
On Tue, Jul 09, 2013 at 04:22:52PM -0700, Chris Wright wrote: > * Guenter Roeck (li...@roeck-us.net) wrote: > > On Tue, Jul 09, 2013 at 03:05:39PM -0600, Bjorn Helgaas wrote: > > > [+cc Joerg, David, iommu list] > > > > > > On Tue, Jul 9, 2013 at 2:24 PM, Guenter Roeck wrote: > > > > I started

Re: [RFC] mm: Honor min_free_kbytes set by user

2013-07-09 Thread Jiri Kosina
On Thu, 4 Jul 2013, Michal Hocko wrote: > On Thu 04-07-13 18:16:41, Michal Hocko wrote: > > On Thu 04-07-13 09:10:39, Joe Perches wrote: > > > On Thu, 2013-07-04 at 18:07 +0200, Michal Hocko wrote: > > > > A warning is printed when the new value is ignored. > > > > > > [] > > > > > > > +

Re: [RFC][PATCH 5/8] ACPI / hotplug / PCI: Unified notify handler for hotplug events

2013-07-09 Thread Rafael J. Wysocki
On Tuesday, July 09, 2013 12:30:45 PM Mika Westerberg wrote: > On Tue, Jul 09, 2013 at 02:19:04AM +0200, Rafael J. Wysocki wrote: > > Index: linux-pm/drivers/pci/hotplug/acpiphp.h > > === > > ---

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

2013-07-09 Thread Alexey Kardashevskiy
On 07/10/2013 01:35 AM, Alexander Graf wrote: > On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: >> 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 >>

  1   2   3   4   5   6   7   8   9   10   >