[PATCH RESEND 4/6] Drivers: hv: balloon: Make the balloon driver not unloadable

2013-03-12 Thread K. Y. Srinivasan
The balloon driver is stateful. For instance, it needs to keep track of pages that have been ballooned out to properly post pressure reports. This state cannot be re-constructed if the driver were to be unloaded and subsequently loaded. Furthermore, as we support memory hot-add as part of this dri

[PATCH RESEND 6/6] Drivers: hv: vmbus: Handle channel rescind message correctly

2013-03-12 Thread K. Y. Srinivasan
Properly cleanup the channel state on receipt of the "offer rescind" message. Starting with ws2012, the host requires that the channel "relid" be properly cleaned up when the offer is rescinded. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/hv/channel_mgmt.c | 11

[PATCH RESEND 5/6] Drivers: hv: balloon: Implement hot-add functionality

2013-03-12 Thread K. Y. Srinivasan
Implement the memory hot-add functionality. With this, Linux guests can fully participate in the Dynamic Memory protocol implemented in the Windows hosts. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/hv/Kconfig |2 +- drivers/hv/hv_balloon.c | 393 +++

[PATCH RESEND 3/6] Drivers: hv: balloon: Execute hot-add code in a separate context

2013-03-12 Thread K. Y. Srinivasan
Execute the hot-add operation in a separate work context. This allows us to decouple the pressure reporting activity from the "hot-add" activity. Testing has shown that this makes the guest more responsive to hot add requests. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drive

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-12 Thread J. R. Okajima
Miklos Szeredi: > Please consider overlayfs for inclusion into 3.10. Thank you for CCing me. First, I'd suggest you to follow some recent activities in mainline kernel such as - MODULE_ALIAS_FS - file_inode() - d_weak_revalidate() which may not be necessary for overlayfs as long as it prohibit

[PATCH RESEND 1/6] Drivers: hv: balloon: Do not request completion notification

2013-03-12 Thread K. Y. Srinivasan
There is no need to request completion notification; get rid of it. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index 3787321..7fb72dd 100644 --- a/driv

[PATCH RESEND 0/6] Drivers: hv

2013-03-12 Thread K. Y. Srinivasan
This patch set enhances the balloon driver functionality to add support for memory "hot-add". Windows hosts use a combination of ballooning and hot-add to dynamically balance the available memory across competing virtual machines. With this, Linux guests can fully participate in the Windows Dynamic

Re: [PATCH 1/2] leds: add new LP5562 LED driver

2013-03-12 Thread Bryan Wu
On Mon, Feb 18, 2013 at 9:10 PM, Kim, Milo wrote: > LP5562 can drive up to 4 channels, RGB and White. > LEDs can be controlled directly via the led class control interface. > > LP55xx common driver > LP5562 is one of LP55xx family device, so LP55xx common code are used. > On the other hand, c

[PATCH v2] regmap: Expose total memory consumption in the rbtree debugfs entry

2013-03-12 Thread Dimitris Papastamos
Provide a feel of how much overhead the rbtree cache adds to the game. Signed-off-by: Dimitris Papastamos --- Print the size in bytes instead of kB. drivers/base/regmap/regcache-rbtree.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regcache-r

Re: [PATCH v1] ARM: keep __my_cpu_offset consistent with generic one

2013-03-12 Thread Tejun Heo
Hello, On Tue, Mar 12, 2013 at 07:44:55PM +0800, Ming Lei wrote: > On Tue, Mar 12, 2013 at 7:30 PM, Russell King - ARM Linux > wrote: > >> > >> Ingo and Peter, what is your opinion on the problem? > > > > Having discussed this with Ben Herrenschmidt, it seems that we do need > > to have a more co

Re: Status of union-mount?

2013-03-12 Thread David Howells
Sedat Dilek wrote: > what's the status of union-mount? It's being reengineered again to take account of VFS changes that went in in the last merge window. > Where does the development happen - in [1]? On a git tree on my PC - which is occasionally mirrored in [1] when I've got it working. Dav

Re: Status of union-mount?

2013-03-12 Thread Mark Knecht
On Tue, Mar 12, 2013 at 9:55 AM, Sedat Dilek wrote: > Hi, > > what's the status of union-mount? > Where does the development happen - in [1]? > > Regards, > - Sedat - > > [1] > http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=unionmount Sedat, Did you look here for inf

Re: e1000e + suspend, 3.9-rc2

2013-03-12 Thread Borislav Petkov
On Mon, Mar 11, 2013 at 09:25:37PM +0100, Borislav Petkov wrote: > Yeah, it is already upstream. And yeah, it did trigger with it. > > $ git describe > v3.9-rc2-112-g7c6baa304b84 > > But it somehow doesn't trigger with that same kernel anymore so I'll > consider it a glitch and watch it over the

Re: linux-next: unneeded merge in the security tree

2013-03-12 Thread Linus Torvalds
[ Added Junio and git to the recipients, and leaving a lot of stuff quoted due to that... ] On Mon, Mar 11, 2013 at 9:16 PM, Theodore Ts'o wrote: > On Tue, Mar 12, 2013 at 03:10:53PM +1100, James Morris wrote: >> On Tue, 12 Mar 2013, Stephen Rothwell wrote: >> > The top commit in the security tre

Re: [PATCHSET] writeback: convert writeback to unbound workqueue

2013-03-12 Thread Tejun Heo
Hey, Jens. On Tue, Mar 12, 2013 at 04:06:33PM +0100, Jens Axboe wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git > > review-writeback-conversion > > I like it, diffstat looks nice too :-) > > Have you done any performance testing, or just functional verification? Only functi

RE: [PATCH v3] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-03-12 Thread Haiyang Zhang
> -Original Message- > From: linux-fbdev-ow...@vger.kernel.org [mailto:linux-fbdev- > ow...@vger.kernel.org] On Behalf Of Haiyang Zhang > Sent: Friday, March 08, 2013 4:46 PM > To: florianschandi...@gmx.de; linux-fb...@vger.kernel.org > Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; ja

Re: [PATCH 03/10] ARM: smp_twd: Divorce smp_twd from local timer API

2013-03-12 Thread Tony Lindgren
* Stephen Boyd [130311 18:25]: > On 03/11/13 15:50, Tony Lindgren wrote: > > * Stephen Boyd [130311 15:22]: > >> Ok. qemu works for me before applying my patches. I've added this into > >> the series before this patch to fix the boot issue. > > OK thanks: > > > > > > Actually, it's worse. From r

Re: [PATCH 0/2] kthread: kill task_get_live_kthread()

2013-03-12 Thread Oleg Nesterov
Hi Thomas, On 03/11, Thomas Gleixner wrote: > > On Mon, 11 Mar 2013, Oleg Nesterov wrote: > > > > But the actual reason for this cleanup is that I do not understand > > why park/unpark abuse kthread.c. > > It's not abusing it :) Yes, yes, I didn't mean the code looks bad or something like this.

Re: [PATCHv3] perf: Fix vmalloc ring buffer free function

2013-03-12 Thread Jiri Olsa
On Tue, Mar 12, 2013 at 05:24:50PM +0100, Peter Zijlstra wrote: > Right you are.. > > How about something like the below; using that 0 << -1 is still 0. hum.. we are obviously not on the same page wrt 'confusing' ;-) looks ok, I'll test it jirka > > --- > kernel/events/ring_buffer.c | 8

Re: [Xen-devel] [PATCH] xen-pciback: notify hypervisor about devices intended to be assigned to guests

2013-03-12 Thread Jan Beulich
>>> On 12.03.13 at 16:06, "Jan Beulich" wrote: > For MSI-X capable devices the hypervisor wants to write protect the > MSI-X table and PBA, yet it can't assume that resources have been > assigned to their final values at device enumeration time. Thus have > pciback do that notification, as having

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-12 Thread Sedat Dilek
On Tue, Mar 12, 2013 at 4:41 PM, Miklos Szeredi wrote: > Al and Linus, > > Please consider overlayfs for inclusion into 3.10. > > It's included in Ubuntu and openSUSE, used by OpenWrt and various other > projects. I regularly get emails asking when it will be included in mainline. > > Git tree is

Re: [PATCH v5 00/44] ldisc patchset

2013-03-12 Thread Peter Hurley
On Mon, 2013-03-11 at 19:28 -0700, Michel Lespinasse wrote: > On Mon, Mar 11, 2013 at 1:44 PM, Peter Hurley > wrote: > > Greg, > > This patchset includes > > 'tty: Drop lock contention stat from ldsem trylocks' > > so no need to apply that on this series. Also, I noticed you > > kept the 'tty i

Re: [PATCH 00/24] ARM: OMAP2+: Adapt to ehci-omap changes for 3.10

2013-03-12 Thread Tony Lindgren
* Roger Quadros [130312 04:47]: > Hi Tony, > > These patches provide the SoC side code required to support > the changes in the OMAP USB Host drivers done in [1], [2] & [3]. ... > arch/arm/mach-omap2/board-3430sdp.c| 97 +++- > arch/arm/mach-omap2/board-3630sdp.c

Re: very strange dependencies on CONFIG_EXPERT=n in kernel 3.8

2013-03-12 Thread Josh Triplett
[Please don't top-post.] On Tue, Mar 12, 2013 at 03:52:24PM +0100, Konrad Vrba wrote: > On 3/11/13, Josh Triplett wrote: > > On Sun, Mar 10, 2013 at 04:14:27PM +0100, Konrad Vrba wrote: > >> I have noticed that CONFIG_EXPERT=n makes the following options in the > >> kernel required (unremovable):

Re: [PATCH 12/18] driver: scsi: remove cast for kmalloc/kzalloc return value

2013-03-12 Thread Joe Perches
On Tue, 2013-03-12 at 09:27 +, James Bottomley wrote: > On Tue, 2013-03-12 at 13:25 +0800, Zhang Yanfei wrote: > > remove cast for kmalloc/kzalloc return value. > > I've got to ask why? Just because void * can be assigned to any pointer > doesn't mean we should religiously eliminate all casts

Re: [PATCH] mmc: dw_mmc: setpower on MMC_POWER_{UP,OFF}

2013-03-12 Thread James Hogan
On 12/03/13 11:26, Jaehoon Chung wrote: > Looks good to me. > > Acked-by: Jaehoon Chung Thanks Jaehoon Cheers James > > Best Regards, > Jaehoon Chung > > On 03/12/2013 07:43 PM, James Hogan wrote: >> Call the setpower platform callback in response to set_ios with >> ios->power_mode == MMC_PO

Re: [PATCH 1/4] UAPI: Fix endianness conditionals in linux/aio_abi.h

2013-03-12 Thread Benjamin LaHaise
On Wed, Mar 06, 2013 at 08:47:33PM +, David Howells wrote: > In the UAPI header files, __BIG_ENDIAN and __LITTLE_ENDIAN must be compared > against __BYTE_ORDER in preprocessor conditionals where these are exposed to > userspace (that is they're not inside __KERNEL__ conditionals). > > However,

Re: [PATCHv3] perf: Fix vmalloc ring buffer free function

2013-03-12 Thread Peter Zijlstra
Right you are.. How about something like the below; using that 0 << -1 is still 0. --- kernel/events/ring_buffer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/events/ring_buffer.c b/kernel/events/ring_buffer.c index 23cb34f..e72ca70 100644 --- a/kernel/even

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:53:03AM +, Sekhar Nori wrote: > On 3/6/2013 9:45 PM, Matt Porter wrote: > > The binding definition is based on the generic DMA controller > > binding. > > > > Signed-off-by: Matt Porter > > Okay the bindings the documented after they are used leading to some > conf

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:45:46AM +, Sekhar Nori wrote: > > > On 3/6/2013 9:45 PM, Matt Porter wrote: > > Adds support for parsing the TI EDMA DT data into the > > required EDMA private API platform data. Enables runtime > > PM support to initialize the EDMA hwmod. Adds AM33XX EDMA > > cross

Re: [PATCH 2/2] PCI: fix system hang issue of Marvell SATA host controller

2013-03-12 Thread Bjorn Helgaas
On Tue, Mar 12, 2013 at 3:22 AM, Xiangliang Yu wrote: > Hi, Myron >> > Now, the situation is like this: >> > I captured the PCIE trace with analyzer and found that 1st BE is 0x >> > when >> > accessing IO port space. But 9125 spec has some limitation, and the BE >> > must >> > be >> > 0x0100,

[PATCH -v2] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Michal Hocko
On Tue 12-03-13 06:34:46, Greg Kroah-Hartman wrote: > On Tue, Mar 12, 2013 at 02:05:04PM +0100, Michal Hocko wrote: > > The fix is quite simple. We can pull the key inside bus_type structure > > because they are defined per device so the pointer will be unique as > > well. bus_register doesn't need

Re: Who is responsible for radeon driver bugs?

2013-03-12 Thread Alex Deucher
On Tue, Mar 12, 2013 at 12:06 PM, Borislav Petkov wrote: > Let's add some more people to CC. > > On Tue, Mar 12, 2013 at 05:02:49PM +0100, felix-linuxker...@fefe.de wrote: >> The radeon driver does not work on my laptop. >> I sent a bug report here a week ago, but got no responses. >> What is the

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Peter Korsgaard
> "Matt" == Matt Porter writes: Hi, Matt> +edma: edma@4900 { Matt> +reg = <0x4900 0x1>; Matt> +interrupt-parent = <&intc>; Matt> +interrupts = <12 13 14>; >> >> Probably interrupt-parent should be removed from the example as well to >> match am33xx

Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Greg Kroah-Hartman
On Tue, Mar 12, 2013 at 05:09:38PM +0100, Peter Zijlstra wrote: > On Tue, 2013-03-12 at 08:43 -0700, Greg Kroah-Hartman wrote: > > On Tue, Mar 12, 2013 at 04:28:25PM +0100, Peter Zijlstra wrote: > > > On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote: > > > > @@ -111,17 +111,17 @@ struct bus_ty

RE: [PATCH 5/6] Drivers: hv: balloon: Implement hot-add functionality

2013-03-12 Thread KY Srinivasan
> -Original Message- > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, March 12, 2013 12:07 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com > Subject

Re: [PATCH v2] iio: adc: exynos5_adc: fix compilation warnings

2013-03-12 Thread Doug Anderson
Naveen, On Wed, Mar 6, 2013 at 7:09 PM, Naveen Krishna Chatradhi wrote: > - unsigned intversion; > + unsigned intversion; Given that you've changed exynos_adc_get_version() to return an int, shouldn't this be an int too (not unsigned)? > -static inline unsig

Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Michal Hocko
On Tue 12-03-13 16:28:25, Peter Zijlstra wrote: > On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote: > > @@ -111,17 +111,17 @@ struct bus_type { > > struct iommu_ops *iommu_ops; > > > > struct subsys_private *p; > > + struct lock_class_key __key; > > }; > > Is struct b

Re: linux-next: build failure after merge of the final tree

2013-03-12 Thread Dmitry Torokhov
On Tue, Mar 12, 2013 at 10:57:19PM +1100, Stephen Rothwell wrote: > On Tue, 12 Mar 2013 10:31:09 +0100 Daniel Hellstrom > wrote: > > > > APBPS2 driver is missing linux/slab.h required on at least PowerPC. See > > patch below. How do you want me to proceed? > > That is up to Dmitry - either a fi

Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Peter Zijlstra
On Tue, 2013-03-12 at 08:43 -0700, Greg Kroah-Hartman wrote: > On Tue, Mar 12, 2013 at 04:28:25PM +0100, Peter Zijlstra wrote: > > On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote: > > > @@ -111,17 +111,17 @@ struct bus_type { > > > struct iommu_ops *iommu_ops; > > > > > > st

Re: [PATCH] regulator: palmas: Use of_property_read_bool to read "ti,warm-reset" DT property

2013-03-12 Thread Graeme Gregory
Thanks for catching that typo Acked-by: Graeme Gregory On 12/03/13 15:40, Axel Lin wrote: > It does not make sense to assign return value of of_property_read_u32() to > pdata->reg_init[idx]->warm_reset. Use of_property_read_bool() to read > "ti,warm-reset" DT property instead which will return c

Re: [PATCH v2] MIPS: Get rid of CONFIG_CPU_HAS_LLSC again

2013-03-12 Thread Ralf Baechle
On Tue, Mar 05, 2013 at 01:20:20PM +0100, Paul Bolle wrote: > Commit f7ade3c168e4f437c11f57be012992bbb0e3075c ("MIPS: Get rid of > CONFIG_CPU_HAS_LLSC") did what it promised to do. But since then that > macro and its Kconfig symbol popped up again. Get rid of those again. > > Signed-off-by: Paul

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Wed, Mar 06, 2013 at 08:24:06PM +, Peter Korsgaard wrote: > > "Matt" == Matt Porter writes: > > Matt> The binding definition is based on the generic DMA controller > Matt> binding. > > Matt> Signed-off-by: Matt Porter > Matt> --- > Matt> Documentation/devicetree/bindings/dma/ti

Re: [PATCH v2 12/12] USB: ehci-omap: Fix detection in HSIC mode

2013-03-12 Thread Alan Stern
On Tue, 12 Mar 2013, Roger Quadros wrote: > The HSIC devices need to be kept in reset while the EHCI controller > is being initialized and only brought out of reset after the > initialization is complete, else HSIC devices will not be detected. This is not a great description of what the patch do

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Thu, Mar 07, 2013 at 08:42:18AM +0200, Andy Shevchenko wrote: > On Wed, Mar 6, 2013 at 6:15 PM, Matt Porter wrote: > > Adds support for parsing the TI EDMA DT data into the > > required EDMA private API platform data. Enables runtime > > PM support to initialize the EDMA hwmod. Adds AM33XX EDMA

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Marc Kleine-Budde
On 03/12/2013 04:20 PM, Roger Quadros wrote: > On 03/12/2013 04:42 PM, Marc Kleine-Budde wrote: >> On 03/12/2013 03:28 PM, Roger Quadros wrote: >>> On 03/12/2013 04:17 PM, Marc Kleine-Budde wrote: On 03/12/2013 03:12 PM, Roger Quadros wrote: > On 03/12/2013 01:54 PM, Marc Kleine-Budde wrot

Re: [PATCH 5/6] Drivers: hv: balloon: Implement hot-add functionality

2013-03-12 Thread gre...@linuxfoundation.org
On Tue, Mar 12, 2013 at 02:54:23AM +, KY Srinivasan wrote: > > > > -Original Message- > > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > > Sent: Friday, March 08, 2013 5:16 PM > > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > > de...@linuxdriverproject.org; o..

Re: Who is responsible for radeon driver bugs?

2013-03-12 Thread Borislav Petkov
Let's add some more people to CC. On Tue, Mar 12, 2013 at 05:02:49PM +0100, felix-linuxker...@fefe.de wrote: > The radeon driver does not work on my laptop. > I sent a bug report here a week ago, but got no responses. > What is the right place to send bug reports for the radeon driver? > > The bu

Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section

2013-03-12 Thread Linus Torvalds
On Mon, Mar 11, 2013 at 7:22 AM, Masami Hiramatsu wrote: > Beacuse hash_64() is called from the get_kprobe() inside > int3 handler, kernel causes int3 recursion and crashes if > kprobes user puts a probe on it. > > Usually hash_64() is inlined into caller function, but in > some cases, it has inst

[PATCH] irqchip: Add support for ARMv7-M's NVIC

2013-03-12 Thread Uwe Kleine-König
From: Catalin Marinas This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. [ukleinek: drop locking, switch to fasteoi handler, add irqdomain and dt support, move to drivers/irq] Signed-off-by: Catalin Marinas Signed-off-by: Uwe Kleine-König --- drivers/irqchip/Kconfig|

Who is responsible for radeon driver bugs?

2013-03-12 Thread felix-linuxkernel
The radeon driver does not work on my laptop. I sent a bug report here a week ago, but got no responses. What is the right place to send bug reports for the radeon driver? The bug is that LVDS output does not work. This is, according to lspci, a 5000M series Madison Radeon. When I insmod the mod

Re: [PATCH] irqchip: Add support for ARMv7-M's NVIC

2013-03-12 Thread Russell King - ARM Linux
On Tue, Mar 12, 2013 at 04:54:33PM +0100, Uwe Kleine-König wrote: > +#include > +#include linux/io.h > + unsigned int irqs, i, irq_base; > + > + irq_base = irq_alloc_descs(-1, 16, irqs - 16, numa_node_id()); > + if (IS_ERR_VALUE(irq_base)) { Erm... irq_alloc_descs() returns a negat

Re: [PATCH] sctp: don't break the loop while meeting the active_path so as to find the matched transport

2013-03-12 Thread Vlad Yasevich
On 03/12/2013 11:44 AM, Neil Horman wrote: On Tue, Mar 12, 2013 at 08:11:34AM -0400, Vlad Yasevich wrote: On 03/11/2013 09:31 AM, Neil Horman wrote: On Mon, Mar 11, 2013 at 10:14:50AM +0800, Xufeng Zhang wrote: On 3/8/13, Neil Horman wrote: On Fri, Mar 08, 2013 at 03:39:37PM +0800, Xufeng Zh

Re: [PATCH 11/12] USB: ehci-omap: Try to get PHY even if not in PHY mode

2013-03-12 Thread Alan Stern
On Tue, 12 Mar 2013, Roger Quadros wrote: > Even when not in PHY mode, the USB device on the port (e.g. HUB) > might need resources like RESET which can be modelled as a PHY > device. So try to get the PHY device in any case. > > Signed-off-by: Roger Quadros > CC: Alan Stern Acked-by: Alan Ste

Re: Excessive ethernet interrupts on AM335x board

2013-03-12 Thread Mark Jackson
On 12/03/13 15:35, Mark Jackson wrote: > I'm just fighting an issue with ethernet on our custom AM335x board:- > > # uname -a > Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013 > armv7l GNU/Linux > > Every now and then, the whole unit slows to a crawl. The only indicati

Re: [for-next][PATCH 5/7] tracing: Fix polling on trace_pipe_raw

2013-03-12 Thread Mauro Carvalho Chehab
Hi Steven, Em Fri, 01 Mar 2013 21:48:38 -0500 Steven Rostedt escreveu: > From: Steven Rostedt > > The trace_pipe_raw never implemented polling and this was casing > issues for several utilities. This is now implemented. > > Blocked reads still are on the TODO list. I tested it and it works f

Re: [PATCH 1/2] cpufreq: cpufreq-cpu0: support for clock which are not in DT yet.

2013-03-12 Thread Nishanth Menon
On 10:17-20130312, J, KEERTHY wrote: > > OK. My intent is to remove omap-cpufreq.c. So, I guess I could do > > something like the following (not tested yet), but would that be the > > right approach? > > Similar attempt was done for am33xx_clks in this by Shawn: > &g

[PATCH 01/13] vfs-add-i_op-dentry_open

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi Add a new inode operation i_op->dentry_open(). This is for stacked filesystems that want to return a struct file from a different filesystem. Signed-off-by: Miklos Szeredi --- Documentation/filesystems/Locking |2 ++ Documentation/filesystems/vfs.txt |7 +++ f

Re: [PATCH] sctp: don't break the loop while meeting the active_path so as to find the matched transport

2013-03-12 Thread Neil Horman
On Tue, Mar 12, 2013 at 08:11:34AM -0400, Vlad Yasevich wrote: > On 03/11/2013 09:31 AM, Neil Horman wrote: > >On Mon, Mar 11, 2013 at 10:14:50AM +0800, Xufeng Zhang wrote: > >>On 3/8/13, Neil Horman wrote: > >>>On Fri, Mar 08, 2013 at 03:39:37PM +0800, Xufeng Zhang wrote: > sctp_assoc_lookup_

[PATCH 07/13] overlay-overlay-filesystem-documentation

2013-03-12 Thread Miklos Szeredi
From: Neil Brown Document the overlay filesystem. Signed-off-by: Miklos Szeredi --- Documentation/filesystems/overlayfs.txt | 199 +++ MAINTAINERS |7 ++ 2 files changed, 206 insertions(+) create mode 100644 Documentation/filesystem

[PATCH 10/13] overlayfs-create-new-inode-in-ovl_link

2013-03-12 Thread Miklos Szeredi
From: Robin Dong Imaging using ext4 as upperdir which has a file "hello" and lowdir is totally empty. 1. mount -t overlayfs overlayfs -o lowerdir=/lower,upperdir=/upper /overlay 2. cd /overlay 3. ln hello bye then the overlayfs code will call vfs_link to create a real ext4 dentry for "bye" and

[PATCH 08/13] fs-limit-filesystem-stacking-depth

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also may b

[PATCH 12/13] ovl-switch-to-inode_permission

2013-03-12 Thread Miklos Szeredi
From: Andy Whitcroft When checking permissions on an overlayfs inode we do not take into account either device cgroup restrictions nor security permissions. This allows a user to mount an overlayfs layer over a restricted device directory and by pass those permissions to open otherwise restricted

[PATCH 06/13] overlayfs-implement-show_options

2013-03-12 Thread Miklos Szeredi
From: Erez Zadok This is useful because of the stacking nature of overlayfs. Users like to find out (via /proc/mounts) which lower/upper directory were used at mount time. Signed-off-by: Erez Zadok Signed-off-by: Miklos Szeredi --- fs/overlayfs/super.c | 63

[PATCH 05/13] overlayfs-add-statfs-support

2013-03-12 Thread Miklos Szeredi
From: Andy Whitcroft Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were

[PATCH 02/13] vfs-export-do_splice_direct-to-modules

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi Export do_splice_direct() to modules. Needed by overlay filesystem. Signed-off-by: Miklos Szeredi --- fs/splice.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/splice.c b/fs/splice.c index 718bd00..0e8f44a 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1308,6

Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Greg Kroah-Hartman
On Tue, Mar 12, 2013 at 04:28:25PM +0100, Peter Zijlstra wrote: > On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote: > > @@ -111,17 +111,17 @@ struct bus_type { > > struct iommu_ops *iommu_ops; > > > > struct subsys_private *p; > > + struct lock_class_key __key; > > };

[PATCH 13/13] overlayfs-copy-up-i_uid-i_gid-from-the-underlying-inode

2013-03-12 Thread Miklos Szeredi
From: Andy Whitcroft YAMA et al rely on on i_uid/i_gid to be populated in order to perform their checks. While these really cannot be guarenteed as the underlying filesystem may not even have the concept, they are expected to be filled when possible. To quote Al Viro: "Ideally, yes, we'd w

[PATCH 11/13] vfs-export-inode_permission-to-modules

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi We need to be able to check inode permissions (but not filesystem implied permissions) for stackable filesystems. Expose this interface for overlayfs. Signed-off-by: Miklos Szeredi --- fs/internal.h |5 - fs/namei.c |1 + include/linux/fs.h |1

[PATCH 09/13] overlayfs-fix-possible-leak-in-ovl_new_inode

2013-03-12 Thread Miklos Szeredi
From: Robin Dong After allocating a new inode, if the mode of inode is incorrect, we should release it by iput(). Signed-off-by: Robin Dong Signed-off-by: Miklos Szeredi --- fs/overlayfs/inode.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c

[PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-12 Thread Miklos Szeredi
Al and Linus, Please consider overlayfs for inclusion into 3.10. It's included in Ubuntu and openSUSE, used by OpenWrt and various other projects. I regularly get emails asking when it will be included in mainline. Git tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.

[PATCH 03/13] vfs-introduce-clone_private_mount

2013-03-12 Thread Miklos Szeredi
From: Miklos Szeredi Overlayfs needs a private clone of the mount, so create a function for this and export to modules. Signed-off-by: Miklos Szeredi --- fs/namespace.c| 18 ++ include/linux/mount.h |3 +++ 2 files changed, 21 insertions(+) diff --git a/fs/namesp

Re: [PATCH 09/18] driver: isdn: hisax: remove cast for kmalloc/kzalloc return value

2013-03-12 Thread David Miller
From: Zhang Yanfei Date: Tue, 12 Mar 2013 13:15:49 +0800 > remove cast for kmalloc/kzalloc return value. > > Signed-off-by: Zhang Yanfei Applied. -- 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

Re: [PATCH 08/18] driver: isdn: capi: remove cast for kmalloc return value

2013-03-12 Thread David Miller
From: Zhang Yanfei Date: Tue, 12 Mar 2013 13:13:47 +0800 > remove cast for kmalloc return value. > > Signed-off-by: Zhang Yanfei Applied. -- 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 htt

[PATCH] regulator: palmas: Use of_property_read_bool to read "ti,warm-reset" DT property

2013-03-12 Thread Axel Lin
It does not make sense to assign return value of of_property_read_u32() to pdata->reg_init[idx]->warm_reset. Use of_property_read_bool() to read "ti,warm-reset" DT property instead which will return correct setting for pdata->reg_init[idx]->warm_reset. Signed-off-by: Axel Lin --- drivers/regulat

Re: [PATCHv3] perf: Fix vmalloc ring buffer free function

2013-03-12 Thread Jiri Olsa
On Tue, Mar 12, 2013 at 04:26:12PM +0100, Peter Zijlstra wrote: > On Tue, 2013-03-12 at 14:52 +0100, Jiri Olsa wrote: > > > @@ -373,7 +373,7 @@ struct ring_buffer *rb_alloc(int nr_pages, long > > > watermark, int cpu, int flags) > > > rb->user_page = all_buf; > > > rb->data_pages[0] =

Excessive ethernet interrupts on AM335x board

2013-03-12 Thread Mark Jackson
I'm just fighting an issue with ethernet on our custom AM335x board:- # uname -a Linux nanobone 3.9.0-rc2-00113-gd60f039 #139 Tue Mar 12 15:14:01 GMT 2013 armv7l GNU/Linux Every now and then, the whole unit slows to a crawl. The only indication of any problem is:- (a) the serial tty port beco

Re: [PATCH] ARM:net: an issue for k which is u32, never < 0

2013-03-12 Thread David Miller
From: Russell King - ARM Linux Date: Mon, 11 Mar 2013 16:47:41 + > On Sun, Mar 10, 2013 at 05:12:38PM -0400, David Miller wrote: >> From: Chen Gang >> Date: Sun, 10 Mar 2013 10:15:54 +0800 >> >> > >> > k is u32 which never < 0, need type cast, or cause issue. >> > >> > Signed-off-by: Ch

[PATCH 0/2] Fix eDP breakages on HP Z1 desktop

2013-03-12 Thread Takashi Iwai
Hi, this is a patch series to fix the breakages of eDP output on HP Z1 desktop machine with IvyBridge since 3.6 kernel. The first patch is identical as what I already sent yesterday, reverting a bogus check in the dp train loop. The second one is the patch I cooked today, for using the correct p

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Benoit Cousson
On 03/12/2013 03:43 PM, Nishanth Menon wrote: > On 15:28-20130312, Benoit Cousson wrote: >> On 03/12/2013 06:07 AM, Santosh Shilimkar wrote: >>> On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: >>>> commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a pl

[PATCH 2/2] drm/i915: Use the fixed pixel clock for eDP in intel_dp_set_m_n()

2013-03-12 Thread Takashi Iwai
The eDP output on HP Z1 is still broken when X is started even after fixing the infinite link-train loop. The regression was introduced in 3.6 kernel for cleaning up the mode clock handling code in intel_dp.c. In the past, the clock of the reference mode was modified in intel_dp_mode_fixup() in t

[PATCH 1/2] Revert "drm/i915: try to train DP even harder"

2013-03-12 Thread Takashi Iwai
This reverts commit 0d71068835e2610576d369d6d4cbf90e0f802a71. Not only that the commit introduces a bogus check (voltage_tries == 5 will never meet at the inserted code path), it may bring the driver into an endless DP-link-train loop (and actually it does on HP Z1 with eDP). We can add a better

Re: pipe_release oops.

2013-03-12 Thread Linus Torvalds
On Tue, Mar 12, 2013 at 6:06 AM, Al Viro wrote: > > While we are at it, I don't see any reason for having separate file_operations > for r/o, w/o and r/w cases; the only differences are in EBADF-returning > ->read() and ->write() (and ->f_mode checks in vfs_read() et.al. take care of > that) and m

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Roger Quadros
On 03/12/2013 04:42 PM, Marc Kleine-Budde wrote: > On 03/12/2013 03:28 PM, Roger Quadros wrote: >> On 03/12/2013 04:17 PM, Marc Kleine-Budde wrote: >>> On 03/12/2013 03:12 PM, Roger Quadros wrote: On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: > On 03/12/2013 12:24 PM, Roger Quadros wrot

Re: [PATCH] device: separate all subsys mutexes (was: Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved))

2013-03-12 Thread Peter Zijlstra
On Tue, 2013-03-12 at 14:05 +0100, Michal Hocko wrote: > @@ -111,17 +111,17 @@ struct bus_type { > struct iommu_ops *iommu_ops; > > struct subsys_private *p; > + struct lock_class_key __key; > }; Is struct bus_type constrained to static storage or can people go an allocate

Re: [PATCHv3] perf: Fix vmalloc ring buffer free function

2013-03-12 Thread Peter Zijlstra
On Tue, 2013-03-12 at 14:52 +0100, Jiri Olsa wrote: > > @@ -373,7 +373,7 @@ struct ring_buffer *rb_alloc(int nr_pages, long > > watermark, int cpu, int flags) > > rb->user_page = all_buf; > > rb->data_pages[0] = all_buf + PAGE_SIZE; > > rb->page_order = ilog2(nr_pages); > > -

Re: [PATCH 67/77] dlm: convert to idr_alloc()

2013-03-12 Thread David Teigland
On Mon, Mar 11, 2013 at 01:28:18PM -0700, Tejun Heo wrote: > Ah, right, in preloaded section, the allocation is expected to fail > before falling back to the preload buffer and I forgot to add > __GFP_NOWARN to the first try. Something like the following should > make it go away. Can you please t

RE: [PATCH 1/2] cpufreq: cpufreq-cpu0: support for clock which are not in DT yet.

2013-03-12 Thread J, KEERTHY
Guo; linux- > ker...@vger.kernel.org; linux...@vger.kernel.org; linux- > o...@vger.kernel.org > Subject: Re: [PATCH 1/2] cpufreq: cpufreq-cpu0: support for clock which > are not in DT yet. > > On 15:24-20130312, Benoit Cousson wrote: > > Hi Guys, > > > > On

[PATCH 1/1] module: fix symbol versioning with symbol prefixes

2013-03-12 Thread James Hogan
Fix symbol versioning on architectures with symbol prefixes. Although the build was free from warnings the actual modules still wouldn't load as the versions table contained unprefixed symbol names, which were being compared against the prefixed symbol names when checking the symbol versions.

Re: [PATCHSET] writeback: convert writeback to unbound workqueue

2013-03-12 Thread Jens Axboe
On Thu, Mar 07 2013, Tejun Heo wrote: > Hello, > > There's no reason for writeback to implement its own worker pool when > using workqueue is much simpler and more efficient. This patchset > replaces writeback's custom worker pool with unbound workqueue and > also exports it to userland using WQ_

[PATCH] xen-pciback: notify hypervisor about devices intended to be assigned to guests

2013-03-12 Thread Jan Beulich
For MSI-X capable devices the hypervisor wants to write protect the MSI-X table and PBA, yet it can't assume that resources have been assigned to their final values at device enumeration time. Thus have pciback do that notification, as having the device controlled by it is a prerequisite to assigni

Re: [PATCH 3/4] writeback: replace custom worker pool implementation with unbound workqueue

2013-03-12 Thread Jan Kara
On Thu 07-03-13 13:44:08, Tejun Heo wrote: > Writeback implements its own worker pool - each bdi can be associated > with a worker thread which is created and destroyed dynamically. The > worker thread for the default bdi is always present and serves as the > "forker" thread which forks off worker

Re: [PATCH] atomic: improve atomic_inc_unless_negative/atomic_dec_unless_positive

2013-03-12 Thread Frederic Weisbecker
2013/3/12 Paul E. McKenney : > On Tue, Mar 12, 2013 at 12:03:23PM +0800, Ming Lei wrote: >> On Tue, Mar 12, 2013 at 11:39 AM, Paul E. McKenney >> wrote: >> > >> > Atomic operations that return a value are required to act as full memory >> > barriers. This means that code relying on ordering provi

Re: very strange dependencies on CONFIG_EXPERT=n in kernel 3.8

2013-03-12 Thread Konrad Vrba
Thanks Josh, unfortunately, I cannot live with CONFIG_DEBUG_KERNEL. I need a minimalistic kernel, and every unnecessary KB is expensive. Besides, I have ideological objections to having unneeded features compiled in my kernel. Is there any way of editing it directly in the .config file manually? N

Re: [PATCH] atomic: improve atomic_inc_unless_negative/atomic_dec_unless_positive

2013-03-12 Thread Paul E. McKenney
On Tue, Mar 12, 2013 at 12:03:23PM +0800, Ming Lei wrote: > On Tue, Mar 12, 2013 at 11:39 AM, Paul E. McKenney > wrote: > > > > Atomic operations that return a value are required to act as full memory > > barriers. This means that code relying on ordering provided by these > > atomic operations m

Re: Regression with orderly_poweroff()

2013-03-12 Thread Linus Torvalds
On Mon, Mar 11, 2013 at 8:25 PM, Benjamin Herrenschmidt wrote: > > A couple of weeks ago, David sent an email that went unanswered about a > regression concerning orderly_poweroff(). I think the original patch > causing it should be reverted, here's the actual email with the > explanation: Hmm..

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-12 Thread Paul Taysom
Looks good to me. On Tue, Mar 5, 2013 at 3:30 PM, Paul Taysom wrote: > seconds_kernel_to_login: 8.17s > Passed all my other tests > > On Mon, Mar 4, 2013 at 2:15 PM, Mikulas Patocka wrote: >> >> >> On Mon, 4 Mar 2013, Paul Taysom wrote: >> >>> On Mon, Mar 4, 2013 at 9:42 AM, Alasdair G Kergon w

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Nishanth Menon
On 15:28-20130312, Benoit Cousson wrote: > On 03/12/2013 06:07 AM, Santosh Shilimkar wrote: > > On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: > >> commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) > >> now forces platform device to

Re: [PATCH 1/8] usb: phy: nop: Add some parameters to platform data

2013-03-12 Thread Marc Kleine-Budde
On 03/12/2013 03:28 PM, Roger Quadros wrote: > On 03/12/2013 04:17 PM, Marc Kleine-Budde wrote: >> On 03/12/2013 03:12 PM, Roger Quadros wrote: >>> On 03/12/2013 01:54 PM, Marc Kleine-Budde wrote: On 03/12/2013 12:24 PM, Roger Quadros wrote: > Add clk_rate parameter to platform data. If su

Re: [PATCH 1/2] cpufreq: cpufreq-cpu0: support for clock which are not in DT yet.

2013-03-12 Thread Nishanth Menon
On 15:24-20130312, Benoit Cousson wrote: > Hi Guys, > > On 03/12/2013 06:03 AM, Santosh Shilimkar wrote: > > On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: > >> On certain SoCs like variants of OMAP, the clock conversion to DT > >> is not complete. In

<    1   2   3   4   5   6   7   8   9   >