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

2013-09-18 Thread Rob Herring
On Tue, Sep 17, 2013 at 10:33 PM, Grant Likely wrote: > 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

Re: problem booting linux with qemu-system-arm -M spitz

2013-09-18 Thread Waldemar Brodkorb
Hi, Andrea Adami wrote, > On Wed, Sep 18, 2013 at 12:27 PM, Waldemar Brodkorb wrote: > > Hi Kernel hackers, > > > > I am trying to run Linux on Qemu/arm emulator with machine type > > spitz. In the past this worked fine. > > Now with Linux version 3.9.11 it does not boot anymore. > > (blank

Re: Dependency bug in the uvcvideo Kconfig

2013-09-18 Thread Randy Dunlap
[adding linux-media mailing list] On 09/18/13 06:18, Jeff P. Zacher wrote: > Not subscribed, please CC'me in replies: > > There seems to be a dependency bug in the Kconfig for the uvcvideo kernel > module. If uvcvideo is built in and usb support is built as a module, the > kernel build will

[PATCH 12/12] clk: tegra: introduce common gen4 super clock

2013-09-18 Thread Peter De Schrijver
Introduce a common function which super clock initialization for Tegra114 and beyond. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Makefile |1 + drivers/clk/tegra/clk-tegra-super-gen4.c | 220 ++ drivers/clk/tegra/clk-tegra114.c

Re: doing lots of disk writes causes oom killer to kill processes

2013-09-18 Thread Michal Suchanek
On 17 September 2013 23:13, Jan Kara wrote: > Hello, > > On Tue 17-09-13 15:31:31, Michal Suchanek wrote: >> On 5 September 2013 12:12, Michal Suchanek wrote: >> > On 26 August 2013 15:51, Michal Suchanek wrote: >> >> On 12 March 2013 03:15, Hillf Danton wrote: >> On 11 March 2013 13:15,

[PATCH 11/12] clk: tegra: introduce common tegra_osc_clk_init

2013-09-18 Thread Peter De Schrijver
Introduce a common tegra_osc_clk_init function which handles OSC and pll ref probing and clock registration. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Makefile|1 + drivers/clk/tegra/clk-tegra-osc.c | 81 +

[PATCH 10/12] clk: tegra: move fixed clocks to common file

2013-09-18 Thread Peter De Schrijver
Introduce a new file for fixed clocks common between several Tegra SoCs and move Tegra114 to this new infrastructure. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Makefile |1 + drivers/clk/tegra/clk-tegra-fixed.c | 62 +++

[PATCH 09/12] clk: tegra: move PMC clocks to common file

2013-09-18 Thread Peter De Schrijver
Introduce a new file for PMC clocks common between several Tegra SoCs and move Tegra114 to this new infrastructure. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Makefile|1 + drivers/clk/tegra/clk-tegra-pmc.c | 131 +

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 4:22 PM, Pavel Machek wrote: > Hi! > >> >> >> > So will you do that? Or it is needed to resend this one line >> >> >> > hunk again in new email again? >> >> >> >> >> >> new patch, new email >> >> > >> >> > Guys, WHY ARE YOU SO STUPID AND ARROGANT? >> >> > >> >> > Sorry

Re: [PATCH 00/16] [RFC PATCH] Signed kexec support

2013-09-18 Thread Andrea Adami
Hello, as one of the developers of kexecboot, a kexec-based linux-as-bootloader, I'm following with interest this thread. FWIW since the beginning we are compiling kexec-tools statically against klibc for size constraints. We have 2.02 and 2.0.4 almost finished (some issue with purgatory in this

[PATCH 07/12] clk: tegra: move audio clk to common file

2013-09-18 Thread Peter De Schrijver
Move audio clocks and PLLA initialization to a common file so it can be used by multiple Tegra SoCs. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/Makefile |1 + drivers/clk/tegra/clk-tegra-audio.c | 260 +++

[PATCH 06/12] clk: tegra: add common infra for DT clocks

2013-09-18 Thread Peter De Schrijver
Introduce a common infrastructure for registering DT IDs for tegra clocks and sharing clock initialization between SoCs. Move Tegra114 to this new infrastructure. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra114.c | 204 ++

[PATCH 05/12] clk: tegra: add header for common tegra clock IDs

2013-09-18 Thread Peter De Schrijver
Many clocks are common between several Tegra SoCs. Define an enum to list them so we can move them to separate files which can be shared between SoCs. Each SoC specific file will provide an array with the common clocks which are present on the SoC and their DT binding ID. Signed-off-by: Peter De

[PATCH 04/12] clk: tegra: move some PLLC and PLLXC init to clk-pll.c

2013-09-18 Thread Peter De Schrijver
vco min clipping, dynamic ramp setup and IDDQ init can be done in the respective pll clk_register functions if the parent is already registered. This is done for other some PLLs already. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 95

Re: [PATCH 00/12] Introduce common infra for tegra clocks

2013-09-18 Thread Peter De Schrijver
On Wed, Sep 18, 2013 at 04:40:52PM +0200, Peter De Schrijver wrote: > This patchset introduces common infrastructure for clocks which exist in > several Tegra SoCs. We also move Tegra114 to this new infrastructure. > Tegra20 and Tegra30 will be moved later in separate patchsets. > > Peter De

[PATCH 03/12] clk: tegra: Add TEGRA_PERIPH_NO_DIV flag

2013-09-18 Thread Peter De Schrijver
This flag indicates the peripheral clock does not have a divider. It will simply the initialization tables and avoids some very similar code. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph.c |8 +--- drivers/clk/tegra/clk.h|1 + 2 files changed, 6

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Kees Cook
On Wed, Sep 18, 2013 at 6:14 AM, Tetsuo Handa wrote: > Kees Cook wrote: >> > Consider, e.g. introducing __vsnprint(), with vsnprintf(s, n, fmt, ...) >> > expanding to __vsnprintf(1, s, n, fmt, ...) if fmt is a string literal >> > and __vsnprintf(0, s, n, fmt, ...) otherwise. Now, >> > int

[PATCH 02/12] clk: tegra: periph_clk_enb_refcnt as common infra

2013-09-18 Thread Peter De Schrijver
This patch makes periph_clk_enb_refcnt a global array, dynamically allocated at boottime. It simplifies the macros somewhat and allows clocks common to several Tegra SoCs to be defined in a separate files. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph.c |1 +

[PATCH 01/12] clk: tegra: simplify periph clock data

2013-09-18 Thread Peter De Schrijver
This patch determines the register bank for clock enable/disable and reset based on the clock ID instead of hardcoding it in the tables describing the clocks. This results in less data to be maintained in the tables, making the code easier to understand. The full benefit of the change will be

Re: [PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Dmitry Torokhov
Hi Andrey, On Wed, Sep 18, 2013 at 04:35:56PM +0400, Andrey Moiseev wrote: > When 8042 internal data buffer is full, the driver > erroneously decides that the controller is not present. > > I've already sent this 2 weeks ago, but that message received no comments. > Sorry about the delay. How

[PATCH 00/12] Introduce common infra for tegra clocks

2013-09-18 Thread Peter De Schrijver
This patchset introduces common infrastructure for clocks which exist in several Tegra SoCs. We also move Tegra114 to this new infrastructure. Tegra20 and Tegra30 will be moved later in separate patchsets. Peter De Schrijver (12): clk: tegra: simplify periph clock data clk: tegra:

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Michal Hocko
On Wed 18-09-13 16:33:06, azurIt wrote: > > CC: "Johannes Weiner" , "Andrew Morton" > > , "David Rientjes" , > > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > > , linux...@kvack.org, > > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > > linux-kernel@vger.kernel.org > >On

Re: [block:for-next 5/6] drivers/block/skd_main.c:441:3: error: implicit declaration of function 'readq'

2013-09-18 Thread Jens Axboe
On Wed, Sep 18 2013, Akhil Bhansali wrote: > Hi Jens, > > Please accept this patch that takes care of warnings related to i386 > compilation. > 1. Implicit function declaration of readq and writeq. > 2. Format related warnings for VPRINTK. You should get rid of the VPRINTK() as well, we do have

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

2013-09-18 Thread Pavel Machek
Hi! > > gave feedback. If the sender doesn't want to take his feedback into > > account and prefer to send pretty insulting emails instead that is his > > choice but I would say that is this not the greatest approach to get > > your code merged (to say the least). > > Clearly not. But Pali found

Re: [RFC] Full syscall argument decode in "perf trace"

2013-09-18 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 18, 2013 at 01:35:13PM +0200, Denys Vlasenko escreveu: > On 09/17/2013 09:06 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Sep 17, 2013 at 05:10:55PM +0200, Denys Vlasenko escreveu: > >> I'm trying to figure out how to extend "perf trace". > > > >> Currently, it shows syscall names

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread azurIt
> CC: "Johannes Weiner" , "Andrew Morton" > , "David Rientjes" , > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > , linux...@kvack.org, > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org >On Wed 18-09-13 16:03:04, azurIt wrote: >[..] >> I was

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Kees Cook
On Wed, Sep 18, 2013 at 6:14 AM, Tetsuo Handa wrote: > Kees Cook wrote: >> > Consider, e.g. introducing __vsnprint(), with vsnprintf(s, n, fmt, ...) >> > expanding to __vsnprintf(1, s, n, fmt, ...) if fmt is a string literal >> > and __vsnprintf(0, s, n, fmt, ...) otherwise. Now, >> > int

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Dan Carpenter
On Wed, Sep 18, 2013 at 05:11:04PM +0300, Dan Carpenter wrote: > asmlinkage __printf(1, 2) __cold > int printk(const char *fmt, ...); > +#define printk(fmt, ...) do { \ > + compiletime_assert(__builtin_constant_p(fmt), \ > +

Re: [PATCH v2 04/10] irqdomain: Return errors from irq_create_of_mapping()

2013-09-18 Thread Ralf Baechle
On Wed, Sep 18, 2013 at 03:24:46PM +0200, Thierry Reding wrote: For the MIPS bits: Acked-by: Ralf Baechle Ralf -- 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

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread Michal Hocko
On Wed 18-09-13 16:03:04, azurIt wrote: [..] > I was finally able to get stack of problematic process :) I saved it > two times from the same process, as Michal suggested (i wasn't able to > take more). Here it is: > > First (doesn't look very helpfull): > [] 0x No it is not. >

Re: [PATCH v2 07/10] of/irq: Propagate errors in of_irq_to_resource_table()

2013-09-18 Thread Ralf Baechle
On Wed, Sep 18, 2013 at 03:24:49PM +0200, Thierry Reding wrote: For the MIPS bits: Acked-by: Ralf Baechle Ralf -- 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

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

2013-09-18 Thread Tejun Heo
Hello, On Wed, Sep 18, 2013 at 11:48:00AM +0200, Alexander Gordeev wrote: > 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

Re: [PATCH] usb: dwc3: core: clarify usb-phy array binding

2013-09-18 Thread Felipe Balbi
Hi, On Wed, Aug 28, 2013 at 05:01:51PM +0100, Mark Rutland wrote: > > > So it's not physically possible for someone to just wire up a single phy > > > to the device, either USB2-only or USB3? > > > > of course it is :-) In fact, TI has done it. But it causes a whole bunch > > of other problems

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

2013-09-18 Thread Pavel Machek
Hi! > >> >> > So will you do that? Or it is needed to resend this one line > >> >> > hunk again in new email again? > >> >> > >> >> new patch, new email > >> > > >> > Guys, WHY ARE YOU SO STUPID AND ARROGANT? > >> > > >> > Sorry but, need to copy full isolated patch/hunk from one mail to > >> >

Re: [PATCH 0/4] perf tools: New comm infrastructure

2013-09-18 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 17, 2013 at 02:54:22PM +0900, Namhyung Kim escreveu: > Hi Ingo, > > On Sat, 14 Sep 2013 08:11:49 +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > >> My patches and Namhyung's should improve the comm situation a lot but we > >> can't do much miracle. The only way would be

Re: [PATCHv2 06/16] hwmon: tmp102: expose to thermal fw via DT nodes

2013-09-18 Thread Eduardo Valentin
On 18-09-2013 07:06, Guenter Roeck wrote: > On Tue, Sep 17, 2013 at 06:34:05PM -0400, Eduardo Valentin wrote: >> This patch adds to tmp102 temperature sensor the possibility >> to expose itself as thermal zone device, registered on the >> thermal framework. >> >> The thermal zone is built only if

Re: KSZ8051 breakage

2013-09-18 Thread Marek Vasut
Dear Alexandre Pereira da Silva, > Hi, > > The commit > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/driv > ers/net/phy/micrel.c?id=b818d1a7f72575eef17e00dc4085512c9cc8897dbreaks > KSZ8051MNL phy > > Micrel gone wrong here. The PHY ID of KSZ8051 is the same as KSZ8031,

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

2013-09-18 Thread Vince Weaver
On Wed, 18 Sep 2013, Peter Zijlstra wrote: > > This patch somehow breaks the perf-ABI. > > Difficult call that.. OK, let me rephrase. This change broke existing working code. Can you point to any code that is fixed by the commit? If not, I think the rule is you revert the changeset. Or you

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

2013-09-18 Thread Dmitry Torokhov
On Wed, Sep 18, 2013 at 10:39:42AM +0100, Jonathan Cameron wrote: > > > "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 =

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-09-18 Thread Javier Martinez Canillas
On Wed, Sep 18, 2013 at 1:50 AM, Tony Lindgren wrote: > * Aaro Koskinen [130907 16:10]: >> Hi, >> >> On Fri, Sep 06, 2013 at 10:34:05PM +0200, Pali Rohár wrote: >> > > --- /dev/null >> > > +++ b/arch/arm/mach-omap2/board-rx51-camera.c >> [...] >> > Ping, can you review this patch v2? >> >> I

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Dan Carpenter
Sure. There are a lot of non-const strings though. diff --git a/include/linux/printk.h b/include/linux/printk.h index e6131a78..317587b 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -122,6 +122,11 @@ asmlinkage int printk_emit(int facility, int level, asmlinkage

Re: Fix style in s3c-hsotg.c

2013-09-18 Thread Felipe Balbi
Hi, On Wed, Sep 18, 2013 at 11:20:27AM +0200, Pavel Machek wrote: > 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

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

2013-09-18 Thread Vince Weaver
On Wed, 18 Sep 2013, Adrian Hunter wrote: > 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

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

2013-09-18 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 18, 2013 at 03:29:03PM +0200, Ingo Molnar escreveu: > * Arnaldo Carvalho de Melo wrote: > > Em Wed, Sep 18, 2013 at 12:18:01PM +0200, Peter Zijlstra escreveu: > > > len += snprintf(str + len, size - len, ...); > > > len += snprintf(str + len, size - len, ...); > > And avoid snprintf

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-09-18 Thread Thomas Gleixner
On Tue, 17 Sep 2013, Thomas Gleixner wrote: > On Tue, 17 Sep 2013, Geert Uytterhoeven wrote: > > > On Tue, Sep 17, 2013 at 8:53 PM, Thomas Gleixner wrote: > > > --- linux-2.6.orig/arch/m68k/include/asm/hardirq.h > > > +++ linux-2.6/arch/m68k/include/asm/hardirq.h > > > @@ -5,17 +5,6 @@ > > >

Re: [PATCH] modpost: Fix secondary errors seen if a single module build fails

2013-09-18 Thread Guenter Roeck
On Tue, Sep 17, 2013 at 02:34:58PM +0200, Michal Marek wrote: > Dne 15.9.2013 06:39, Guenter Roeck napsal(a): > > Commit ea4054a23 (modpost: handle huge numbers of modules) added > > support for building a large number of modules. > > > > Unfortunately, the commit changed the semantics of the

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-18 Thread azurIt
> CC: "Johannes Weiner" , "Andrew Morton" > , "David Rientjes" , > "KAMEZAWA Hiroyuki" , "KOSAKI Motohiro" > , linux...@kvack.org, > cgro...@vger.kernel.org, x...@kernel.org, linux-a...@vger.kernel.org, > linux-kernel@vger.kernel.org >On Tue 17-09-13 13:15:35, azurIt wrote: >[...] >> Is

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

2013-09-18 Thread Ricardo Ribalda Delgado
Hello Ingo Arnaldo and Peter I have just posted v3, Thanks for your comments! On Wed, Sep 18, 2013 at 3:29 PM, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > >> Em Wed, Sep 18, 2013 at 12:18:01PM +0200, Peter Zijlstra escreveu: >> > On Wed, Sep 18, 2013 at 12:02:12PM +0200,

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

2013-09-18 Thread Jonathan Cameron
On 18/09/13 12:23, Zubair Lutfullah wrote: Previously the driver had only one-shot reading functionality. This patch adds continuous sampling support to the driver. Continuous sampling starts when buffer is enabled. HW IRQ wakes worker thread that pushes samples to userspace. Sampling stops

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 3:30 PM, Pavel Machek wrote: > Hi! > >> >> > So will you do that? Or it is needed to resend this one line >> >> > hunk again in new email again? >> >> >> >> new patch, new email >> > >> > Guys, WHY ARE YOU SO STUPID AND ARROGANT? >> > >> > Sorry but, need to copy full

[PATCHv3] 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: [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-09-18 Thread Al Viro
On Tue, Aug 27, 2013 at 07:48:43AM +0400, Andrew Savchenko wrote: > > Additional (but probably useless) information on this bug may be found > > here: https://forums.gentoo.org/viewtopic-p-7371120.html Something's very fishy there: [quote] Digging into suspend-utils code shows that the following

Re: [RFC PATCH 1/4] DRIVERS: IRQCHIP: Add crossbar irqchip driver

2013-09-18 Thread Sricharan R
Hi Thomas, On Tuesday 17 September 2013 05:56 PM, Linus Walleij wrote: > On Fri, Sep 13, 2013 at 4:24 PM, Thomas Gleixner wrote: > >> So why can't you make use of irq domains and have the whole routing >> business implemented sanely? >> >> What's needed is in gic_init_bases(): >> irq >>

Re: [PATCH v2] MIPS: ath79: Avoid using unitialized 'reg' variable

2013-09-18 Thread Ralf Baechle
On Wed, Sep 18, 2013 at 03:45:33PM +0200, Ralf Baechle wrote: > So here's a small test case to demonstrate the issue: > > /* > * Definition of BUG taken from asm-generic/bug.h for the CONFIG_BUG=n case > */ > #define BUG() do {} while(0) > > int foo(int arg) > { > int res; > >

Re: problem booting linux with qemu-system-arm -M spitz

2013-09-18 Thread Andrea Adami
On Wed, Sep 18, 2013 at 12:27 PM, Waldemar Brodkorb wrote: > Hi Kernel hackers, > > I am trying to run Linux on Qemu/arm emulator with machine type > spitz. In the past this worked fine. > Now with Linux version 3.9.11 it does not boot anymore. > (blank screen, no kernel messages) > > I used git

Re: [PATCH V4 13/15] Hibernate: introduced SNAPSHOT_SIG_HASH config for select hash algorithm

2013-09-18 Thread Pavel Machek
On Sun 2013-09-15 08:56:59, Lee, Chun-Yi wrote: > This patch introduced SNAPSHOT_SIG_HASH config for user to select which > hash algorithm will be used during signature generation of snapshot. This series is big enough already... and who is going to test it? There's no need to make hash

Re: [PATCH v2] MIPS: ath79: Avoid using unitialized 'reg' variable

2013-09-18 Thread Ralf Baechle
On Tue, Sep 03, 2013 at 03:03:39PM +0100, Markos Chandras wrote: > >Was this triggered by CONFIG_BUG=n? > > > > Ralf > > > > Hi Ralf, > > Yes it was triggered by CONFIG_BUG=n So here's a small test case to demonstrate the issue: /* * Definition of BUG taken from asm-generic/bug.h for the

Re: [RFC] Full syscall argument decode in "perf trace"

2013-09-18 Thread Ingo Molnar
* David Ahern wrote: > On 9/18/13 5:35 AM, Denys Vlasenko wrote: > >Therefore my question should be restated as: > > > >Would perf developers accept the "syscall pausing" feature, > >or it won't be accepted? > > I have been using perf-trace a lot lately specifically because it is >

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

2013-09-18 Thread Mark Salter
On Mon, 2013-09-16 at 18:08 -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 v2] 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. > > Without this patch on perf top you can see: > > no symbols found in

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

2013-09-18 Thread Richard Guy Briggs
On Wed, Sep 18, 2013 at 01:48:17PM +0400, Konstantin Khlebnikov wrote: > 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

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

2013-09-18 Thread Pavel Machek
Hi! > >> > So will you do that? Or it is needed to resend this one line > >> > hunk again in new email again? > >> > >> new patch, new email > > > > Guys, WHY ARE YOU SO STUPID AND ARROGANT? > > > > Sorry but, need to copy full isolated patch/hunk from one mail to > > another is hassling. So what

[PATCH v2 00/10] of/irq: Defer interrupt reference resolution

2013-09-18 Thread Thierry Reding
Hi, This small series allows interrupt references from the device tree to be resolved at driver probe time, rather than at device creation time. The current implementation resolves such references while devices are added during the call to of_platform_populate(), which happens very early in the

[PATCH v2 03/10] irqdomain: Introduce __irq_create_mapping()

2013-09-18 Thread Thierry Reding
This is a version of irq_create_mapping() that propagates the precise error code instead of returning 0 for all errors. It will be used in subsequent patches to allow further propagation of error codes. To avoid code duplication, implement irq_create_mapping() as a wrapper around the new

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

2013-09-18 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 18, 2013 at 12:18:01PM +0200, Peter Zijlstra escreveu: > > On Wed, Sep 18, 2013 at 12:02:12PM +0200, Ricardo Ribalda Delgado wrote: > > > Perhaps this is even more clear than v2: > > > > len = snprintf(file, size, "%s", symbol_conf.symfs); > > >

[PATCH v2 01/10] of/irq: Rework of_irq_count()

2013-09-18 Thread Thierry Reding
The of_irq_to_resource() helper that is used to implement of_irq_count() tries to resolve interrupts and in fact creates a mapping for resolved interrupts. That's pretty heavy lifting for something that claims to just return the number of interrupts requested by a given device node. Instead, use

[PATCH v2 05/10] of/irq: Introduce __irq_of_parse_and_map()

2013-09-18 Thread Thierry Reding
This is a version of irq_of_parse_and_map() that propagates the precise error code instead of returning 0 for all errors. It will be used in subsequent patches to allow further propagation of error codes. To avoid code duplication, implement irq_of_parse_and_map() as a static inline wrapper

[PATCH v2 07/10] of/irq: Propagate errors in of_irq_to_resource_table()

2013-09-18 Thread Thierry Reding
Now that all helpers return precise error codes, this function can propagate these errors to the caller properly. Signed-off-by: Thierry Reding --- Changes in v2: - return 0 on success or a negative error code on failure - convert callers to new calling convention arch/mips/lantiq/irq.c

Dependency bug in the uvcvideo Kconfig

2013-09-18 Thread Jeff P. Zacher
Not subscribed, please CC'me in replies: There seems to be a dependency bug in the Kconfig for the uvcvideo kernel module. If uvcvideo is built in and usb support is built as a module, the kernel build will fail with the obviously missing dependanies. Error logs: * ERROR: Failed to compile

[PATCH v2 08/10] of/platform: Resolve interrupt references at probe time

2013-09-18 Thread Thierry Reding
Interrupt references are currently resolved very early (when a device is created). This has the disadvantage that it will fail in cases where the interrupt parent hasn't been probed and no IRQ domain for it has been registered yet. To work around that various drivers use explicit initcall ordering

[PATCH v2 06/10] of/irq: Return errors from of_irq_to_resource()

2013-09-18 Thread Thierry Reding
Update of_irq_to_resource() to return 0 on success and a negative error code on failure. This allows the precise nature of the failure to be determined in the caller and errors to be propagated appropriately. While at it, make the index parameter unsigned. Accessing negative indices is invalid,

[PATCH v2 10/10] gpio: tegra: Use module_platform_driver()

2013-09-18 Thread Thierry Reding
With the driver core now resolving interrupt references at probe time, it is no longer necessary to force explicit probe ordering using initcalls. Signed-off-by: Thierry Reding --- Note that there are potentially many more drivers that can be switched to the generic module_*_driver() interfaces

[PATCH v2 09/10] of/i2c: Resolve interrupt references at probe time

2013-09-18 Thread Thierry Reding
Instead of resolving interrupt references at device creation time, delay resolution until probe time. At device creation time, there is nothing that can be done if an interrupt parent isn't ready yet, and the device will end up with an invalid interrupt number (0). If the interrupt reference is

[PATCH v2 04/10] irqdomain: Return errors from irq_create_of_mapping()

2013-09-18 Thread Thierry Reding
Instead of returning 0 for all errors, allow the precise error code to be propagated. This will be used in subsequent patches to allow further propagation of error codes. The interrupt number corresponding to the new mapping is returned in an output parameter so that the return value is reserved

Re: [RFC][PATCH] rtc: rtc-pl031: Set wakeup flag prior to registering rtcdev

2013-09-18 Thread John Stultz
On Wed, Sep 18, 2013 at 6:30 AM, Linus Walleij wrote: > > On Tue, Sep 17, 2013 at 8:29 PM, John Stultz wrote: > > > In some recent testing, I noticed the CLOCK_REALTIME_ALARM clockid > > wasn't functioning on my vexpress qemu environment. Looking into it > > I noticed the pl031 rtc driver

[PATCH v2 02/10] of/irq: Use irq_of_parse_and_map()

2013-09-18 Thread Thierry Reding
Replace some instances of of_irq_map_one()/irq_create_of_mapping() and of_irq_to_resource() by the simpler equivalent irq_of_parse_and_map(). Signed-off-by: Thierry Reding --- arch/arm/mach-u300/timer.c | 9 - arch/powerpc/platforms/cell/celleb_scc_pciex.c | 8

Re: trinity finds ftrace/perf bug. Film at 11.

2013-09-18 Thread Dave Jones
On Wed, Sep 18, 2013 at 01:34:11PM +0200, Peter Zijlstra wrote: > On Mon, Sep 16, 2013 at 12:44:21PM -0400, Dave Jones wrote: > > > > may be some other option.. Try > > http://www.codemonkey.org.uk/junk/haswell-config > > > > > What kind of hardware are you running this on? > > > >

Re: [PATCH V4 00/17] ARM EFI stub common code

2013-09-18 Thread Matt Fleming
On Mon, 16 Sep, at 09:11:16PM, Roy Franz wrote: > This patch is the common/x86 portion of the ARM EFI stub > patchset broken out. These changes support the addition > of EFI stub support for the ARM and ARM64 architectures. > The common code that is now shared in efi-stub-helper.c > is based on

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

2013-09-18 Thread Srinivas KANDAGATLA
On 18/09/13 13:46, Maxime COQUELIN wrote: > On 09/18/2013 02:03 PM, Lee Jones wrote: >>> >> This patch supplies I2C configuration to STiH416 SoC. >>> >> >>> >> Cc: Srinivas Kandagatla >>> >> Signed-off-by: Maxime Coquelin >>> >> --- >>> >> arch/arm/boot/dts/stih416-pinctrl.dtsi | 35

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

2013-09-18 Thread Gabriel FERNANDEZ
On 18/09/2013 12:01, Maxime COQUELIN wrote: > 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

Re: [PATCH v2] ADP1653 board code for Nokia RX-51

2013-09-18 Thread Pavel Machek
On Sun 2013-09-08 02:02:52, Aaro Koskinen wrote: > Hi, > > On Fri, Sep 06, 2013 at 10:34:05PM +0200, Pali Rohár wrote: > > > --- /dev/null > > > +++ b/arch/arm/mach-omap2/board-rx51-camera.c > [...] > > Ping, can you review this patch v2? > > I don't think Tony will accept any new board stuff

Re: [PATCH 0/2] vsprintf: ignore %n again

2013-09-18 Thread Tetsuo Handa
Kees Cook wrote: > > Consider, e.g. introducing __vsnprint(), with vsnprintf(s, n, fmt, ...) > > expanding to __vsnprintf(1, s, n, fmt, ...) if fmt is a string literal > > and __vsnprintf(0, s, n, fmt, ...) otherwise. Now, > > int __sprintf(int safe, char *buf, const char *fmt, ...) > > { > >

Re: [PATCH] uio: Simplify uio error path by using devres functions

2013-09-18 Thread Pavel Machek
On Thu 2013-09-12 07:39:59, Michal Simek wrote: > Using devres functions simplify driver error path. > - Use devm_kzalloc > - Use devm_request_irq > > Signed-off-by: Michal Simek Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures)

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

2013-09-18 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 18, 2013 at 12:18:01PM +0200, Peter Zijlstra escreveu: > On Wed, Sep 18, 2013 at 12:02:12PM +0200, Ricardo Ribalda Delgado wrote: > > Perhaps this is even more clear than v2: > > len = snprintf(file, size, "%s", symbol_conf.symfs); > > size -= len; > > file += len; > > len =

[PATCH REPOST] ARM: tegra: use dt-binding header for key code

2013-09-18 Thread Laxman Dewangan
In place of hardcoding the key code in DTS file and comment the key code as side notes, use the key code macro defines in the dt-bindings/input/input.h directly. Signed-off-by: Laxman Dewangan --- Reposting this patch as it was sent earlier when merge window was closed.

Re: [Suspend-devel] [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-09-18 Thread Pavel Machek
On Thu 2013-09-12 12:32:17, Andrew Savchenko wrote: > Hello, > > On Thu, 05 Sep 2013 14:23:25 +0200 Rafael J. Wysocki wrote: > > On Thursday, September 05, 2013 02:08:11 PM Pavel Machek wrote: > > > Hi! > > > > > > Rafael, Al: apparently we have a regression caused by > > >

Re: [PATCH RFC 1/2] PM / Hibernate: use name_to_dev_t to parse resume

2013-09-18 Thread Pavel Machek
On Tue 2013-09-17 13:50:21, Sebastian Capella wrote: > Quoting Sebastian Capella (2013-08-30 11:42:30) > > Quoting Pavel Machek (2013-08-30 04:35:33) > > > On Mon 2013-08-26 10:40:50, Sebastian Capella wrote: > > > > Quoting Pavel Machek (2013-08-25 08:38:11) > > > > > Is the allocation actually

[PATCH] i2c: mv64xxx: Fix some build warnings

2013-09-18 Thread Thierry Reding
Some functions and variables are only used if the configuration selects HAVE_CLK. Protect them with a corresponding #ifdef CONFIG_HAVE_CLK block to avoid compiler warnings. Signed-off-by: Thierry Reding --- drivers/i2c/busses/i2c-mv64xxx.c | 12 +++- 1 file changed, 7 insertions(+), 5

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

2013-09-18 Thread Jason Cooper
Stephen, On Tue, Sep 17, 2013 at 03:50:57PM +1000, Stephen Rothwell wrote: > There are also 358 commits in next-20130701 that didn't make it into > v3.11-rc1. > > Top ten first word of commit summary: > > 56 arm > > Top ten authors: > > 13 Sebastian Hesselbarth > > Top ten

[PATCH] i2c: mv64xxx: Do not use writel_relaxed()

2013-09-18 Thread Thierry Reding
The driver is used on PowerPC which don't provide writel_relaxed(). This breaks the c2k and prpmc2800 default configurations. To fix the build, turn the calls to writel_relaxed() into writel(). The impacts for ARM should be minimal. Signed-off-by: Thierry Reding ---

[PATCH] net: tsi108: Prevent compiler warning

2013-09-18 Thread Thierry Reding
The dump_eth_one() function is only used if DEBUG is enabled, so protect it by a corresponding #ifdef DEBUG block. Signed-off-by: Thierry Reding --- drivers/net/ethernet/tundra/tsi108_eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/tundra/tsi108_eth.c

[PATCH] radeon: Conditionally compile PM code

2013-09-18 Thread Thierry Reding
The power management code is only used on X86 and PowerMac. To prevent the compiler from warning about unused code, only build when PM and one of X86 or PowerMac is selected. Signed-off-by: Thierry Reding --- drivers/video/aty/radeon_pm.c | 7 ++- 1 file changed, 6 insertions(+), 1

Re: [GIT PULL] Keyrings patches

2013-09-18 Thread Mimi Zohar
On Wed, 2013-09-18 at 12:53 +0100, David Howells wrote: > Stephen Rothwell wrote: > > > Is there some reason that those fixups cannot be done in a merge commit? > > i.e. are they more than simple text updates? Hi Stephen, the issue is that the patches were created against a newer kernel (eg.

Re: [RFC] Full syscall argument decode in "perf trace"

2013-09-18 Thread David Ahern
On 9/18/13 5:35 AM, Denys Vlasenko wrote: Therefore my question should be restated as: Would perf developers accept the "syscall pausing" feature, or it won't be accepted? I have been using perf-trace a lot lately specifically because it is effectively a 'passive' observer of the task (e.g.,

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

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:03 PM, Lee Jones wrote: >> 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 >>

[PATCH 1/2] ARM: tegra: enable PALMAS_PINCTRL config

2013-09-18 Thread Laxman Dewangan
PALMAS PMIC is used on Dalmore platform. Enable the pincontrol driver for Palmas to configure pins of Palmas on desired state. Signed-off-by: Laxman Dewangan --- Reposting as the patch sent earlier was miss the merge date. arch/arm/configs/tegra_defconfig |1 + 1 files changed, 1

[PATCH V2 2/2] ARM: tegra: add palmas pincontrol to Dalmore device tree

2013-09-18 Thread Laxman Dewangan
Add Palmas pincontrol to Dalmore device tree and make following configuration as default: - Disable DVFS1 and DVFS2. - Set GPIO6 to gpio mode. Signed-off-by: Laxman Dewangan --- changes from V1: - Renames the node name to pinmux as suggested on patch V1. - Not sure that this will create the

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

2013-09-18 Thread Maxime COQUELIN
On 09/18/2013 02:00 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> This patch supplies I2C configuration to STiH415 SoC. >> >> Cc: Srinivas Kandagatla >> Signed-off-by: Maxime Coquelin >> --- >> arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 >>

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

2013-09-18 Thread Maxime COQUELIN
Hi Lee, On 09/18/2013 01:40 PM, Lee Jones wrote: > On Wed, 18 Sep 2013, Maxime COQUELIN wrote: > >> This patch supplies I2C configuration to B2000 and B2020 >> based on either STiH415 or STiH416 SoCs. >> >> Cc: Srinivas Kandagatla >> Signed-off-by: Maxime Coquelin >> --- >>

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

2013-09-18 Thread Igor Gnatenko
On Wed, 2013-09-18 at 20:31 +0800, Aaron Lu wrote: > On 09/18/2013 02:30 PM, Igor Gnatenko wrote: > > On Wed, 2013-09-18 at 09:03 +0800, Aaron Lu wrote: > >> On 09/17/2013 09:34 PM, Igor Gnatenko wrote: > >>> > >>> Aaron, how about fix indicator on ThinkPads ? > >> > >> Can you please describe the

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