Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Michael Ellerman
On Thu, 2014-08-28 at 09:27 -0500, Rob Herring wrote: > On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman wrote: > > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", > > the kernel stopped supporting old flat device tree formats. The minimum > > supported version is now 0x10.

Re: [PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-28 Thread Viresh Kumar
On 28 August 2014 19:36, Shilpasri G Bhat wrote: > This patch ensures the cpus to kexec/reboot at nominal frequency. > Nominal frequency is the highest cpu frequency on PowerPC at > which the cores can run without getting throttled. > > If the host kernel had set the cpus to a low pstate and then

Re: Linux 3.16: all my drivers on SPI bus report WARNING: at drivers/base/dd.c:286

2014-08-28 Thread Stijn Devriendt
On Thu, Aug 28, 2014 at 5:53 PM, leroy christophe wrote: > I've been able to identify the origin of the issue. It happens since the > below commit. > Do you know what should be done to fix that ? > > Christophe > Actually, more things are wrong with what the driver is doing. If inside spi_add_de

[PATCH] drivers: char: hw_random: printk replacement

2014-08-28 Thread Sudip Mukherjee
as pr_* macros are more preffered over printk, so printk replaced with corresponding pr_* macros Signed-off-by: Sudip Mukherjee --- The replacement was done by a bash script to avoid copy paste error. The script is as follows : OLD="printk(KERN_ERR \?" OLD1="printk(KERN_NOTICE \?" OLD2="print

Re: Linux 3.16: all my drivers on SPI bus report WARNING: at drivers/base/dd.c:286

2014-08-28 Thread Stijn Devriendt
On Thu, Aug 28, 2014 at 5:53 PM, leroy christophe wrote: > > I've been able to identify the origin of the issue. It happens since the > below commit. > Do you know what should be done to fix that ? > > Christophe > > Actually, more things are wrong with what the driver is doing. If inside spi_ad

Re: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-28 Thread Scott Wood
On Thu, 2014-08-28 at 05:05 -0500, Lu Jingchang-B35083 wrote: > >-Original Message- > >From: Wood Scott-B07421 > >Sent: Thursday, August 28, 2014 7:34 AM > >To: Lu Jingchang-B35083 > >Cc: mturque...@linaro.org; linuxppc-dev@lists.ozlabs.org; linux- > >ker...@vger.kernel.org; linux-arm-ker..

Re: Linux 3.16: all my drivers on SPI bus report WARNING: at drivers/base/dd.c:286

2014-08-28 Thread leroy christophe
I've been able to identify the origin of the issue. It happens since the below commit. Do you know what should be done to fix that ? Christophe From 7a40054361162d2f78f332aa868fed137beb7901 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 30 Mar 2014 16:42:57 +0800 Subject: spi: fsl-spi: Fi

Re: [PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Rob Herring
On Thu, Aug 28, 2014 at 3:40 AM, Michael Ellerman wrote: > In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", > the kernel stopped supporting old flat device tree formats. The minimum > supported version is now 0x10. Ugg. Is that something which needs to be supported? Supportin

[PATCH v2] cpufreq: powernv: Set the cpus to nominal frequency during reboot/kexec

2014-08-28 Thread Shilpasri G Bhat
This patch ensures the cpus to kexec/reboot at nominal frequency. Nominal frequency is the highest cpu frequency on PowerPC at which the cores can run without getting throttled. If the host kernel had set the cpus to a low pstate and then it kexecs/reboots to a cpufreq disabled kernel it would cau

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-28 Thread Jingchang Lu
>-Original Message- >From: Wood Scott-B07421 >Sent: Thursday, August 28, 2014 7:34 AM >To: Lu Jingchang-B35083 >Cc: mturque...@linaro.org; linuxppc-dev@lists.ozlabs.org; linux- >ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org >Subject: Re: [RESEND] clk: ppc-corenet: Add Freesca

[PATCH] powerpc: Check flat device tree version at boot

2014-08-28 Thread Michael Ellerman
In commit e6a6928c3ea1 "of/fdt: Convert FDT functions to use libfdt", the kernel stopped supporting old flat device tree formats. The minimum supported version is now 0x10. There was a checking function added, early_init_dt_verify(), but it's not called on powerpc. The result is, if you boot with