[PATCH v10 0/3] DMA: Freescale: Add support for 8-channel DMA engine

2013-09-18 Thread hongbo.zhang
From: Hongbo Zhang Hi DMA and DT maintainers, please have a look at these V10 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V9->V10 changes: - update binding description text, mainly about the reg property and also Elo3

[PATCH v10 1/3] DMA: Freescale: revise device tree binding document

2013-09-18 Thread hongbo.zhang
From: Hongbo Zhang This patch updates the discription of each type of DMA controller and its channels, it is preparation for adding another new DMA controller binding, it also fixes some defects of indent for text alignment at the same time. Signed-off-by: Hongbo Zhang Acked-by: Mark Rutland

[PATCH v10 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-09-18 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/Kconfig |9 + drivers/dma/fsldma.c |9 ++--- drivers/dma/fsldma.h |2

[PATCH 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH416 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 arch/arm/boot/dts/stih416.dtsi | 57 2 files changed, 92 insertions(+)

[PATCH 0/4] Add I2C support to ST SoCs

2013-09-18 Thread Maxime COQUELIN
The goal of this series is to add I2C support to ST SoCs. The DT definition is added for STiH415 and STiH416 SoCs on B2000 and B2020 boards. Signed-off-by: Maxime Coquelin Maxime Coquelin (4): i2c: busses: i2c-st: Add ST I2C controller ARM: STi: Supply I2C configuration to STiH416 SoC

[PATCH 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to B2000 and B2020 based on either STiH415 or STiH416 SoCs. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2000.dtsi |7 +++ arch/arm/boot/dts/stih41x-b2020.dtsi | 20 2 files changed,

[PATCH 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-09-18 Thread Maxime COQUELIN
This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and supports I2C Standard and Fast modes. Cc: Srinivas Kandagatla Signed-off-by:

[PATCH 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-09-18 Thread Maxime COQUELIN
This patch supplies I2C configuration to STiH415 SoC. Cc: Srinivas Kandagatla Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 arch/arm/boot/dts/stih415.dtsi | 57 2 files changed, 93 insertions(+)

[PATCH v6 3/3] dma: Add Freescale eDMA engine driver support

2013-09-18 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu --- changes in v6: holding lock in

Re: [PATCH] perf: Support for Openembedded/Yocto -dbg packages

2013-09-18 Thread Ricardo Ribalda Delgado
Hello again Ingo: Perhaps this is even more clear than v2: len = snprintf(file, size, "%s", symbol_conf.symfs); size -= len; file += len; len = snprintf(file, MIN(size,(last_slash - dso->long_name) + 2), "%s", dso->long_name); size -= len; file += len; len = snprintf(file, size, ".debug%s",

Re: [PATCH V3] Documentation/kvm: Update cpuid documentation for steal time and pv eoi

2013-09-18 Thread Gleb Natapov
On Wed, Sep 18, 2013 at 03:22:21PM +0530, Raghavendra K T wrote: > On 09/12/2013 01:58 PM, Michael S. Tsirkin wrote: > >On Thu, Sep 12, 2013 at 01:00:11PM +0530, Raghavendra K T wrote: > >>Thanks Michael S Tsirkin for rewriting the description and suggestions. > >> > >>Signed-off-by: Raghavendra K

Re: Commit breaks strace: ARM: entry: allow ARM-private syscalls to be restarted

2013-09-18 Thread Will Deacon
On Wed, Sep 18, 2013 at 10:17:48AM +0100, Will Deacon wrote: > On Tue, Sep 17, 2013 at 10:57:49PM +0100, Jason Gunthorpe wrote: > > This happens with the latest git head for strace, as well as the 4.7 > > release. > > > > Hopefully you can cook up a fix :) > > I'll take a look today, thanks.

[PULL] vhost: minor changes on top of 3.12-rc1

2013-09-18 Thread Michael S. Tsirkin
The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f: Linux 3.12-rc1 (2013-09-16 16:17:51 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to

[PATCH] audit: fix endless wait in audit_log_start()

2013-09-18 Thread Konstantin Khlebnikov
After commit 829199197a430dade2519d54f5545c4a094393b8 audit emiters will block forever if userspace daemon cannot handle backlog. After the timeout waiting loop turns into busy loop and runs until daemon dies or returns back to work. This is minimal patch for that bug. Signed-off-by: Konstantin

Re: [PATCH] perf: Support for Openembedded/Yocto -dbg packages

2013-09-18 Thread Ricardo Ribalda Delgado
Hello Ingo Incredible how many code style rules I can break in 20 lines of code :). I have just uploaded v2 Thanks for your comments. On Wed, Sep 18, 2013 at 11:24 AM, Ingo Molnar wrote: > > * Ricardo Ribalda Delgado wrote: > >> On OpenEmbedded the symbol files are located under a .debug

Re: [PATCH V3] Documentation/kvm: Update cpuid documentation for steal time and pv eoi

2013-09-18 Thread Raghavendra K T
On 09/12/2013 01:58 PM, Michael S. Tsirkin wrote: On Thu, Sep 12, 2013 at 01:00:11PM +0530, Raghavendra K T wrote: Thanks Michael S Tsirkin for rewriting the description and suggestions. Signed-off-by: Raghavendra K T Acked-by: Michael S. Tsirkin Gleb, Paolo, Does it look good for merge

Re: [PATCH v2 2/6] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-09-18 Thread Alexander Gordeev
On Wed, Sep 18, 2013 at 12:30:23AM +1000, Michael Ellerman wrote: > How about no? > > We have a small number of MSIs available, limited by hardware & > firmware, if we don't impose a quota then the first device that probes > will get most/all of the MSIs and other devices miss out. Out of

[PATCH v2] perf: Support for Openembedded/Yocto -dbg packages

2013-09-18 Thread Ricardo Ribalda Delgado
On OpenEmbedded the symbol files are located under a .debug folder on the same folder as the binary file. This patch adds support for such files. Without this patch on perf top you can see: no symbols found in /usr/lib/gstreamer-1.0/libtheoraenc.so.1.1.2, maybe install a debug package? 84.56%

Re: [PATCH] serial: samsung: add support for manual RTS setting

2013-09-18 Thread Tomasz Figa
On Tuesday 17 of September 2013 20:08:33 José Miguel Gonçalves wrote: > On 17-09-2013 16:21, Tomasz Figa wrote: > > I had the following scenario in mind: > > 1) enable CRTSCTS, > > 2) set RTS status using the IOCTL, > > 3) disable CRTSCTS, > > 4) do something, > > 5) enable CRTSCTS again. > > > >

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Jonathan Cameron
"Zubair Lutfullah :" wrote: >On Tue, Sep 17, 2013 at 09:27:27PM -0700, Dmitry Torokhov wrote: >> Hi Zubair, >> >> On Tue, Sep 17, 2013 at 09:44:07AM +0500, Zubair Lutfullah wrote: >> > + >> > + ret = devm_request_threaded_irq(indio_dev->dev.parent, >> > + irq, >> > +

[PATCH] thermal: st: Add support for STiH41x thermal sensors

2013-09-18 Thread Ajit Pal Singh
Adds support for thermal sensors on STiH41x series SOCs. Single trip point 'THERMAL_TRIP_CRITICAL' is supported. STIH416 MPE sensor supports interrupt reporting when a preset threshold temperature is crossed. For rest of the thermal sensors a polling delay of 1ms is set. CC: Stephen Gallimore

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-18 Thread Thomas Gleixner
On Wed, 18 Sep 2013, Uwe Kleine-König wrote: > > Now we can easily verify whether the whole equation fits into the > > 64bit boundary. Shifting the "clc" result back by evt->shift MUST > > result in "latch". If that's not the case, we have a clear indicator > But this is only the case if evt->mult

Re: [RFC PATCH] seqlock: add lockdep support

2013-09-18 Thread Lin Ming
On Wed, 2013-09-18 at 11:15 +0200, Peter Zijlstra wrote: > On Wed, Sep 18, 2013 at 02:57:13PM +0800, Lin Ming wrote: > > Hi, > > > > lockdep support for seqlock was discussed at: > > http://marc.info/?l=linux-kernel=137875860600648=2 > > > > This is very draft patch to add lockdep support for

[tip:perf/urgent] perf: Fix UAPI export of PERF_EVENT_IOC_ID

2013-09-18 Thread tip-bot for Vince Weaver
Commit-ID: a8e0108cac181a7b141dacaa99ea52efaf9b5f07 Gitweb: http://git.kernel.org/tip/a8e0108cac181a7b141dacaa99ea52efaf9b5f07 Author: Vince Weaver AuthorDate: Tue, 17 Sep 2013 14:53:41 -0400 Committer: Ingo Molnar CommitDate: Wed, 18 Sep 2013 11:29:07 +0200 perf: Fix UAPI export of

Re: [PATCH] perf: Support for Openembedded/Yocto -dbg packages

2013-09-18 Thread Ingo Molnar
* Ricardo Ribalda Delgado wrote: > On OpenEmbedded the symbol files are located under a .debug folder on > the same folder as the binary file. > > This patch adds support for such files. It would be nice to cite before/after perf report output, to see how this improved things and to see the

Re: Fix style in s3c-hsotg.c

2013-09-18 Thread Pavel Machek
On Tue 2013-09-17 20:45:39, Felipe Balbi wrote: > On Wed, Sep 18, 2013 at 12:04:27AM +0200, Pavel Machek wrote: > > On Tue 2013-09-17 10:42:30, Felipe Balbi wrote: > > > Hi, > > > > > > On Mon, Sep 02, 2013 at 03:58:32PM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > checkpatch.pl has

Re: [PATCH v2] input: don't call input_dev_release_keys() in resume

2013-09-18 Thread Oskar Andero
Hii Dmitry, On 14:09 Thu 25 Jul , Oskar Andero wrote: > From: Aleksej Makarov > > When waking up the platform by pressing a specific key, sending a > release on that key makes it impossible to react on the event in > user-space. This is fixed by moving the input_reset_device() call to >

Re: Commit breaks strace: ARM: entry: allow ARM-private syscalls to be restarted

2013-09-18 Thread Will Deacon
On Tue, Sep 17, 2013 at 10:57:49PM +0100, Jason Gunthorpe wrote: > Hi Will, Hi Jason, > I was just testing v3.12-rc1 (on kirkwood) and noticed that strace is > not working: Thanks for the report! > $ strace /bin/ls > mmap2(0xb6f79000, 9552, PROT_READ|PROT_WRITE, >

Re: [RFC PATCH] seqlock: add lockdep support

2013-09-18 Thread Peter Zijlstra
On Wed, Sep 18, 2013 at 02:57:13PM +0800, Lin Ming wrote: > Hi, > > lockdep support for seqlock was discussed at: > http://marc.info/?l=linux-kernel=137875860600648=2 > > This is very draft patch to add lockdep support for seqlock. > Actually, it doesn't work yet. I throw it out to get comments

[PATCH] [RFC] mm/shrinker: Add a shrinker flag to always shrink a bit

2013-09-18 Thread Daniel Vetter
The drm/i915 gpu driver loves to hang onto as much memory as it can - we cache pinned pages, dma mappings and obviously also gpu address space bindings of buffer objects. On top of that userspace has its own opportunistic cache which is managed by an madvise-like ioctl to tell the kernel which

Re: [tip:perf/core] perf: Fix broken union in ' struct perf_event_mmap_page'

2013-09-18 Thread Adrian Hunter
On 17/09/13 23:23, Vince Weaver wrote: > > This patch somehow breaks the perf-ABI. > > If I take a program that reads "mmap->cap_usr_rdpmc" and compile it > against the new header with this change (say from 3.12-rc1) > and then run it on an old kernel (say 3.11) then I get "0" for >

Re: [PATCH V4 02/15] asymmetric keys: implement EMSA_PKCS1-v1_5-ENCODE in rsa

2013-09-18 Thread joeyli
Hi Dmitry, First, thanks for your time to review my patches! 於 二,2013-09-17 於 16:51 -0500,Dmitry Kasatkin 提到: > Hello, > > > On Sat, Sep 14, 2013 at 7:56 PM, Lee, Chun-Yi wrote: > > Implement EMSA_PKCS1-v1_5-ENCODE [RFC3447 sec 9.2] in rsa.c. It's the > > first step of signature generation

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-18 Thread Javier Martinez Canillas
On Wed, Sep 18, 2013 at 10:20 AM, Pali Rohár wrote: > On Wednesday 18 September 2013 03:49:42 Felipe Balbi wrote: >> On Tue, Sep 17, 2013 at 09:28:42PM +0200, Pali Rohár wrote: >> > On Tuesday 17 September 2013 18:08:35 Felipe Balbi wrote: >> > > On Tue, Sep 17, 2013 at 06:05:15PM +0200, Pali

Re: [PATCH v2] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-18 Thread Baoquan He
On 09/18/13 at 03:09pm, Takao Indoh wrote: > This patch quiesces devices before disabling IOMMU on boot to stop > ongoing DMA. In intel_iommu_init(), check context entries and if there > is entry whose present bit is set then reset corresponding device. > > When IOMMU is already enabled on boot,

Re: [PATCH 3/4] Add physical count arch timer support for clocksource in ARMv7.

2013-09-18 Thread cinifr
HI all, I have modified uboot code to switch monitor mode and to set cntvoff for all smp cpus for allwinner a20 cpu. It works, kernel can run ok without using cntpct. I will commit the path for uboot after reviewing the code. Rong On 13 September 2013 21:40, Marc Zyngier wrote: > On

kexec: fast boot error in my hardware

2013-09-18 Thread Xishi Qiu
The kernel is 3.4.24, and we changed it somewhere for the hardware. When using kexec to fast boot a new kernel, Call Trace happens. kernel_kexec() kernel_restart_prepare() blocking_notifier_call_chain() Storage:~ # kexec -e [ 272.954064]

[REGRESSION][BISECTED] skge: add dma_mapping check

2013-09-18 Thread Igor Gnatenko
Since 136d8f377e1575463b47840bc5f1b22d94bf8f63 commit we have kernel panic on: 01:05.0 Ethernet controller [0200]: Marvell Technology Group Ltd. Screen: https://www.dropbox.com/s/mu3t3wxpxbn4ou5/IMAG0507.jpg RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1008323 01:05.0 Ethernet controller

Re: [tip:perf/core] perf: Fix broken union in ' struct perf_event_mmap_page'

2013-09-18 Thread Peter Zijlstra
On Tue, Sep 17, 2013 at 04:23:25PM -0400, Vince Weaver wrote: > > include/uapi/linux/perf_event.h | 8 +--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > diff --git a/include/uapi/linux/perf_event.h > > b/include/uapi/linux/perf_event.h > > index 00d8274..0041aed 100644 > >

Re: [PATCH] clockevents: Sanitize ticks to nsec conversion

2013-09-18 Thread Uwe Kleine-König
Hello Thomas, On Tue, Sep 17, 2013 at 11:15:20PM +0200, Thomas Gleixner wrote: > Marc Kleine-Budde pointed out, that commit 77cc982 "clocksource: use > clockevents_config_and_register() where possible" caused a regression > for some of the converted subarchs. > > The reason is, that the

Re: [PATCH 02/11] 9p: fix dentry leak in v9fs_vfs_atomic_open_dotl()

2013-09-18 Thread Miklos Szeredi
On Tue, Sep 17, 2013 at 11:23 PM, Al Viro wrote: > On Tue, Sep 17, 2013 at 05:36:49PM +0200, Miklos Szeredi wrote: >> On Tue, Sep 17, 2013 at 1:44 PM, Al Viro wrote: >> > On Tue, Sep 17, 2013 at 12:16:56PM +0200, Miklos Szeredi wrote: >> > >> >> Just one. This needs to be removed, since this

Re: dev->of_node overwrite can cause device loading with different driver

2013-09-18 Thread Lothar Waßmann
Hi, Markus Pargmann writes: > On Sat, Sep 14, 2013 at 01:28:09PM +0100, Russell King - ARM Linux wrote: > > On Sat, Sep 14, 2013 at 05:17:29AM -0700, Greg Kroah-Hartman wrote: > > > On Sat, Sep 14, 2013 at 09:16:53AM +0200, Markus Pargmann wrote: > > > > 3. We could fix up all drivers that change

Re: dev->of_node overwrite can cause device loading with different driver

2013-09-18 Thread Markus Pargmann
On Sat, Sep 14, 2013 at 12:20:56PM +0100, Russell King - ARM Linux wrote: > On Sat, Sep 14, 2013 at 09:16:53AM +0200, Markus Pargmann wrote: > > I think there are three options to solve this: > > > > 1. Break out of the driver list iteration loop as soon as a driver probe > >function fails.

[PATCH] perf: Support for Openembedded/Yocto -dbg packages

2013-09-18 Thread Ricardo Ribalda Delgado
On OpenEmbedded the symbol files are located under a .debug folder on the same folder as the binary file. This patch adds support for such files. Signed-off-by: Ricardo Ribalda Delgado --- tools/perf/util/dso.c| 16 tools/perf/util/dso.h| 1 + tools/perf/util/symbol.c

Re: [PATCH] smp: harmonize prototypes of smp functions

2013-09-18 Thread Javi Merino
On Tue, Sep 17, 2013 at 10:22:28PM +0100, Andrew Morton wrote: > On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino wrote: > > > Avoid unnecessary casts from int to bool in smp functions. Some > > functions in kernel/smp.c have a wait parameter that can be set to one > > if you want to wait for the

Re: [PATCH v2 2/2] RX-51: ARM errata 430973 workaround

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 01:24:17 Tony Lindgren wrote: > * Pali Rohár [130710 06:06]: > > --- a/arch/arm/mach-omap2/board-rx51.c > > +++ b/arch/arm/mach-omap2/board-rx51.c > > This file will be gone as soon as we're moving to device > tree based booting. So let's do this in more future

Re: dev->of_node overwrite can cause device loading with different driver

2013-09-18 Thread Markus Pargmann
On Sat, Sep 14, 2013 at 01:28:09PM +0100, Russell King - ARM Linux wrote: > On Sat, Sep 14, 2013 at 05:17:29AM -0700, Greg Kroah-Hartman wrote: > > On Sat, Sep 14, 2013 at 09:16:53AM +0200, Markus Pargmann wrote: > > > 3. We could fix up all drivers that change the of_node. But there are > > >

Re: "memory" binding issues

2013-09-18 Thread Benjamin Herrenschmidt
On Tue, 2013-09-17 at 21:57 -0500, Grant Likely wrote: > > - It provides no indication of what a given region is used for (or used > > by). In the example, "display_region" is a label (thus information that > > is lost) and unless it's referenced by another node there is no good way > > to know

Re: [PATCH 1/4] usb: musb: Call atomic_notifier_call_chain when status is changed

2013-09-18 Thread Pali Rohár
On Wednesday 18 September 2013 03:49:42 Felipe Balbi wrote: > On Tue, Sep 17, 2013 at 09:28:42PM +0200, Pali Rohár wrote: > > On Tuesday 17 September 2013 18:08:35 Felipe Balbi wrote: > > > On Tue, Sep 17, 2013 at 06:05:15PM +0200, Pali Rohár wrote: > > > > On Tuesday 17 September 2013 17:48:59

nfs mount fails on startup

2013-09-18 Thread DimanNe
Hello! After updating to Kubuntu 13.10 beta (kernel version is 3.11.0-7-generic) my nfs share stopped auto-mounting during boot. Here is my fstab: dimanne@Impedance:~$ cat /etc/fstab # # / was on /dev/sda1 during installation

Re: "memory" binding issues

2013-09-18 Thread Benjamin Herrenschmidt
On Tue, 2013-09-17 at 18:38 -0700, Grant Likely wrote: > On Tue, 17 Sep 2013 08:46:07 +1000, Benjamin Herrenschmidt > wrote: > > In anycase, just "/memory" will break on at least powerpc. > > Ummm, really? I meant the search for just '/memory' will break with the current path searching

Re: [PATCH] cpufreq: create per policy rwsem instead of per cpu cpu_policy_rwsem

2013-09-18 Thread Viresh Kumar
On 18 September 2013 12:39, Srivatsa S. Bhat wrote: > On 09/17/2013 09:20 PM, Viresh Kumar wrote: > The code looks good, but the patch doesn't apply properly, because of the code > change that went in in your patch "cpufreq: Clear policy->cpus bits in > __cpufreq_remove_dev_finish()". Hmm..

[PATCH] DMA: ste_dma40: use a power of 2 check

2013-09-18 Thread Guennadi Liakhovetski
dst_addr_width and src_addr_width should be a power of 2. Currently the driver checks, that they both lie between 1 and 8 and that they are eqal to 1 or even. This however leaves an invalid value of 6 uncaught. Use an explicit power of 2 check instead. Signed-off-by: Guennadi Liakhovetski ---

Re: [PATCH v3 3/6] uas: make work list per-device

2013-09-18 Thread Gerd Hoffmann
On Di, 2013-09-17 at 13:30 -0700, Christoph Hellwig wrote: > On Fri, Sep 13, 2013 at 01:27:12PM +0200, Gerd Hoffmann wrote: > > Simplifies locking, we'll protect the list with the device spin lock. > > Also plugs races which can happen when two devices operate on the > > global list. > > > >

Re: [PATCH] ARM: STi: remove unused Kconfig parameters

2013-09-18 Thread Srinivas KANDAGATLA
Hi Michael. On 18/09/13 04:23, Michael Opdenacker wrote: > This patch proposes to remove the 'SOC_STIH415' and 'SOC_STIH416' > parameters, which are used nowhere else in the source code > and Makefiles. > > Will they be needed in code that hasn't been submitted yet? Yes, we will be using it in

[PATCH] gcov: reuse kbasename helper

2013-09-18 Thread Andy Shevchenko
To get name of the file from a pathname let's use kbasename() helper. Signed-off-by: Andy Shevchenko --- kernel/gcov/fs.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/gcov/fs.c b/kernel/gcov/fs.c index 7a7d2ee..7eb891a 100644 --- a/kernel/gcov/fs.c +++

Re: [PATCH] modules: add support for soft module dependencies

2013-09-18 Thread Rusty Russell
Lucas De Marchi writes: > On Tue, Sep 17, 2013 at 11:10 PM, Rusty Russell wrote: >> Lucas De Marchi writes: >>> On Thu, Sep 12, 2013 at 9:07 PM, Rusty Russell >>> wrote: I'm happy to change this macro to create a modinfo line like "softdep:" >>> >>> how is that solving the issue

Re: [PATCH] cpufreq: create per policy rwsem instead of per cpu cpu_policy_rwsem

2013-09-18 Thread Srivatsa S. Bhat
On 09/17/2013 09:20 PM, Viresh Kumar wrote: > We have per-cpu cpu_policy_rwsem for cpufreq core, but we never use all of > them. > We always use rwsem of policy->cpu and so we can actually make this rwsem per > policy instead. > > This patch does this change. With this change other tricky

[RFC PATCH] seqlock: add lockdep support

2013-09-18 Thread Lin Ming
Hi, lockdep support for seqlock was discussed at: http://marc.info/?l=linux-kernel=137875860600648=2 This is very draft patch to add lockdep support for seqlock. Actually, it doesn't work yet. I throw it out to get comments and help. TODO: - fix seqlock usage in vdso code I got below with this

Re: [PATCH 2/2] iio: ti_am335x_adc: Add continuous sampling support

2013-09-18 Thread Zubair Lutfullah :
On Tue, Sep 17, 2013 at 09:27:27PM -0700, Dmitry Torokhov wrote: > Hi Zubair, > > On Tue, Sep 17, 2013 at 09:44:07AM +0500, Zubair Lutfullah wrote: > > + > > + ret = devm_request_threaded_irq(indio_dev->dev.parent, > > + irq, > > +

Re: [RFC PATCH 0/3] irq: Fix stack overflow due to softirq called on current stack

2013-09-18 Thread Paul Mackerras
Frederic, On Thu, Sep 05, 2013 at 05:33:21PM +0200, Frederic Weisbecker wrote: > > This series is a proposition to fix the crash reported here: > http://lkml.kernel.org/r/1378330796.4321.50.camel%40pasglop > And it has the upside to also consolidate a bit the arch do_softirq overriden >

Build regressions/improvements in v3.12-rc1

2013-09-18 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.12-rc1[1] compared to v3.11[2]. Summarized: - build errors: +33/-11 - build warnings: +136/-96 As I haven't mastered kup yet, there's no verbose summary at

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

Re: linux-next stats (Was: Linux 3.12-rc1)

2013-09-18 Thread Geert Uytterhoeven
On Wed, Sep 18, 2013 at 2:37 AM, Stephen Rothwell wrote: >> > So better than last time, but it would be still nice to figure out where >> > the last lot came from. I have the "git log --oneline --no-walk" list if >> > someone wants them. >> > >> > Some breakdown of that list: >> I'm totally

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

Re: [PATCH v2 0/3] Fix Win8 backlight issue

2013-09-18 Thread Igor Gnatenko
On Wed, 2013-09-18 at 09:03 +0800, Aaron Lu wrote: > On 09/17/2013 09:34 PM, Igor Gnatenko wrote: > > On Tue, 2013-09-17 at 17:23 +0800, Aaron Lu wrote: > >> v1 has the subject of "Rework ACPI video driver" and is posted here: > >> http://lkml.org/lkml/2013/9/9/74 > >> Since the objective is

Re: [PATCH 3/3] aarch64: kvm: introduce CONFIG_KVM_MAX_VCPUS

2013-09-18 Thread Gleb Natapov
On Tue, Sep 17, 2013 at 10:34:28PM +0100, Christoffer Dall wrote: > On Sat, Sep 14, 2013 at 02:10:56PM +0200, Andrew Jones wrote: > > Take CONFIG_KVM_MAX_VCPUS from arm32, but set the default to 8. > > > > Signed-off-by: Andrew Jones > > --- > > arch/arm64/include/asm/kvm_host.h | 7 ++- >

Re: "memory" binding issues

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 09:56:39 +0200, Tomasz Figa wrote: > On Monday 16 of September 2013 15:48:22 Olof Johansson wrote: > > On Mon, Sep 16, 2013 at 3:46 PM, Benjamin Herrenschmidt > > > On Mon, 2013-09-16 at 10:17 -0600, Stephen Warren wrote: > > >> On 09/15/2013 08:57 PM, Benjamin Herrenschmidt

Re: [PATCH 03/28] of: create unflatten_and_copy_device_tree

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:08:59 -0500, Rob Herring wrote: > From: Rob Herring > > Several architectures using DT support built-in dtb's in the init > section. These platforms need to copy the dtb from init since the > strings are referenced after unflattening. Every arch has their own > copying

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-18 Thread Grant Likely
On Thu, 12 Sep 2013 17:57:00 +0200, Alexander Holler wrote: > Am 12.09.2013 17:19, schrieb Stephen Warren: > > > > IRQs, DMA channels, and GPIOs are all different things. Their bindings > > are defined independently. While it's good to define new types of > > bindings consistently with other

Re: [PATCH 23/28] of: introduce common FDT machine related functions

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:19 -0500, Rob Herring wrote: > From: Rob Herring > > Introduce common of_flat_dt_match_machine and > of_flat_dt_get_machine_name functions to unify architectures' handling > of machine level model and compatible properties. > > Several architectures match the root

Re: [PATCH 20/28] arm64: set initrd_start/initrd_end for fdt scan

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 09:50:04 +0100, Catalin Marinas wrote: > On 17 Sep 2013, at 00:09, Rob Herring wrote: > > From: Rob Herring > > > > In order to unify the initrd scanning for DT across architectures, make > > arm64 use initrd_start and initrd_end instead of the physical addresses. > > > >

Re: [PATCH 21/28] of: remove early_init_dt_setup_initrd_arch

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:17 -0500, Rob Herring wrote: > From: Rob Herring > > All arches do essentially the same thing now for > early_init_dt_setup_initrd_arch, so it can now be removed. > > Signed-off-by: Rob Herring Acked-by: Grant Likely -- To unsubscribe from this list: send the line

Re: [PATCH 09/28] of: Introduce common early_init_dt_scan

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:05 -0500, Rob Herring wrote: > From: Rob Herring > > Most architectures scan the all the same items early in the FDT and none > are really architecture specific. Create a common early_init_dt_scan to > unify the early scan of root, memory, and chosen nodes in the

Re: [PATCH 01/28] c6x: use boot_command_line instead of private c6x_command_line

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:08:57 -0500, Rob Herring wrote: > From: Rob Herring > > Save some pointless copying of the kernel command line and just use > boot_command_line instead. > > Also remove default_command_line as it is not referenced anywhere, and > the DT code already handles the default

Re: [PATCH 19/28] arm: set initrd_start/initrd_end for fdt scan

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:15 -0500, Rob Herring wrote: > From: Rob Herring > > In order to unify the initrd scanning for DT across architectures, make > arm set initrd_start and initrd_end instead of the physical addresses. > This is aligned with all other architectures. > > Signed-off-by: Rob

Re: "memory" binding issues

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 12:57:54 +1000, Benjamin Herrenschmidt wrote: > [resent to the right list this time around] > > Hi folks ! > > So I don't have the bandwidth to follow closely what's going on, but I > just today noticed the crackpot that went into 3.11 as part of commit: > >

Re: "memory" binding issues

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 08:46:07 +1000, Benjamin Herrenschmidt wrote: > In anycase, just "/memory" will break on at least powerpc. Ummm, really? ~/hacking/linux$ git grep 'memory {' arch/powerpc/boot/dts/* | wc -l 159 ~/hacking/linux$ git grep 'memory@' arch/powerpc/boot/dts/* | wc -l 4 g. -- To

Re: [PATCH 18/28] of: create default early_init_dt_add_memory_arch

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:14 -0500, Rob Herring wrote: > From: Rob Herring > > Create a weak version of early_init_dt_add_memory_arch which uses > memblock or is an empty function when memblock is not enabled. This > will unify all architectures except ones with custom memory bank > structs.

[PATCH v2] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-18 Thread Takao Indoh
This patch quiesces devices before disabling IOMMU on boot to stop ongoing DMA. In intel_iommu_init(), check context entries and if there is entry whose present bit is set then reset corresponding device. When IOMMU is already enabled on boot, it is disabled and new DMAR table is created and then

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

[PATCH v2] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-18 Thread Takao Indoh
This patch quiesces devices before disabling IOMMU on boot to stop ongoing DMA. In intel_iommu_init(), check context entries and if there is entry whose present bit is set then reset corresponding device. When IOMMU is already enabled on boot, it is disabled and new DMAR table is created and then

Re: [PATCH 18/28] of: create default early_init_dt_add_memory_arch

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:14 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Create a weak version of early_init_dt_add_memory_arch which uses memblock or is an empty function when memblock is not enabled. This will unify all architectures except

Re: memory binding issues

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 08:46:07 +1000, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: In anycase, just /memory will break on at least powerpc. Ummm, really? ~/hacking/linux$ git grep 'memory {' arch/powerpc/boot/dts/* | wc -l 159 ~/hacking/linux$ git grep 'memory@' arch/powerpc/boot/dts/*

Re: [PATCH 19/28] arm: set initrd_start/initrd_end for fdt scan

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:15 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com In order to unify the initrd scanning for DT across architectures, make arm set initrd_start and initrd_end instead of the physical addresses. This is aligned with all other

Re: memory binding issues

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 12:57:54 +1000, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: [resent to the right list this time around] Hi folks ! So I don't have the bandwidth to follow closely what's going on, but I just today noticed the crackpot that went into 3.11 as part of commit:

Re: [PATCH 21/28] of: remove early_init_dt_setup_initrd_arch

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:17 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com All arches do essentially the same thing now for early_init_dt_setup_initrd_arch, so it can now be removed. Signed-off-by: Rob Herring rob.herr...@calxeda.com Acked-by:

Re: [PATCH 09/28] of: Introduce common early_init_dt_scan

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:05 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Most architectures scan the all the same items early in the FDT and none are really architecture specific. Create a common early_init_dt_scan to unify the early scan of

Re: [PATCH 01/28] c6x: use boot_command_line instead of private c6x_command_line

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:08:57 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Save some pointless copying of the kernel command line and just use boot_command_line instead. Also remove default_command_line as it is not referenced anywhere, and the

Re: [PATCH 20/28] arm64: set initrd_start/initrd_end for fdt scan

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 09:50:04 +0100, Catalin Marinas catalin.mari...@arm.com wrote: On 17 Sep 2013, at 00:09, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com In order to unify the initrd scanning for DT across architectures, make arm64 use initrd_start

Re: [PATCH] RFC: interrupt consistency check for OF GPIO IRQs

2013-09-18 Thread Grant Likely
On Thu, 12 Sep 2013 17:57:00 +0200, Alexander Holler hol...@ahsoftware.de wrote: Am 12.09.2013 17:19, schrieb Stephen Warren: IRQs, DMA channels, and GPIOs are all different things. Their bindings are defined independently. While it's good to define new types of bindings consistently

Re: [PATCH 23/28] of: introduce common FDT machine related functions

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:09:19 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Introduce common of_flat_dt_match_machine and of_flat_dt_get_machine_name functions to unify architectures' handling of machine level model and compatible properties.

Re: [PATCH 03/28] of: create unflatten_and_copy_device_tree

2013-09-18 Thread Grant Likely
On Mon, 16 Sep 2013 18:08:59 -0500, Rob Herring robherri...@gmail.com wrote: From: Rob Herring rob.herr...@calxeda.com Several architectures using DT support built-in dtb's in the init section. These platforms need to copy the dtb from init since the strings are referenced after

Re: memory binding issues

2013-09-18 Thread Grant Likely
On Tue, 17 Sep 2013 09:56:39 +0200, Tomasz Figa tomasz.f...@gmail.com wrote: On Monday 16 of September 2013 15:48:22 Olof Johansson wrote: On Mon, Sep 16, 2013 at 3:46 PM, Benjamin Herrenschmidt On Mon, 2013-09-16 at 10:17 -0600, Stephen Warren wrote: On 09/15/2013 08:57 PM, Benjamin

Re: [PATCH 3/3] aarch64: kvm: introduce CONFIG_KVM_MAX_VCPUS

2013-09-18 Thread Gleb Natapov
On Tue, Sep 17, 2013 at 10:34:28PM +0100, Christoffer Dall wrote: On Sat, Sep 14, 2013 at 02:10:56PM +0200, Andrew Jones wrote: Take CONFIG_KVM_MAX_VCPUS from arm32, but set the default to 8. Signed-off-by: Andrew Jones drjo...@redhat.com --- arch/arm64/include/asm/kvm_host.h | 7

Re: [PATCH v2 0/3] Fix Win8 backlight issue

2013-09-18 Thread Igor Gnatenko
On Wed, 2013-09-18 at 09:03 +0800, Aaron Lu wrote: On 09/17/2013 09:34 PM, Igor Gnatenko wrote: On Tue, 2013-09-17 at 17:23 +0800, Aaron Lu wrote: v1 has the subject of Rework ACPI video driver and is posted here: http://lkml.org/lkml/2013/9/9/74 Since the objective is really to fix Win8

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

Re: linux-next stats (Was: Linux 3.12-rc1)

2013-09-18 Thread Geert Uytterhoeven
On Wed, Sep 18, 2013 at 2:37 AM, Stephen Rothwell s...@canb.auug.org.au wrote: So better than last time, but it would be still nice to figure out where the last lot came from. I have the git log --oneline --no-walk list if someone wants them. Some breakdown of that list: I'm totally

donations.

2013-09-18 Thread Gillian Adrian Bayford
we will be donating £1.5 Million Pounds to you in our ongoing lucky draws donations. Please get back to us with your Name, Age, Tel, Country and i will send you more details how your funds will be sent to you.Please read the article - http://www.bbc.co.uk/news/uk-england-19254228

Build regressions/improvements in v3.12-rc1

2013-09-18 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.12-rc1[1] compared to v3.11[2]. Summarized: - build errors: +33/-11 - build warnings: +136/-96 As I haven't mastered kup yet, there's no verbose summary at

<    1   2   3   4   5   6   7   8   9   10   >