Re: [PATCH] macintosh: therm_pm72: delete deprecated driver

2014-11-06 Thread Wolfram Sang
On Thu, Nov 06, 2014 at 01:19:36PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2014-11-06 at 02:45 +0100, Wolfram Sang wrote: > > The new driver is around for more than 2 years now, so the old one can > > go. Getting rid of it helps the removal of the legacy .attach_adapter > > callback of the I

Re: [PATCH] macintosh: therm_pm72: delete deprecated driver

2014-11-06 Thread Benjamin Herrenschmidt
On Thu, 2014-11-06 at 10:25 +0100, Wolfram Sang wrote: > On Thu, Nov 06, 2014 at 01:19:36PM +1100, Benjamin Herrenschmidt wrote: > > On Thu, 2014-11-06 at 02:45 +0100, Wolfram Sang wrote: > > > The new driver is around for more than 2 years now, so the old one can > > > go. Getting rid of it helps

Re: [PATCH] macintosh: therm_pm72: delete deprecated driver

2014-11-06 Thread Wolfram Sang
On Thu, Nov 06, 2014 at 08:50:04PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2014-11-06 at 10:25 +0100, Wolfram Sang wrote: > > On Thu, Nov 06, 2014 at 01:19:36PM +1100, Benjamin Herrenschmidt wrote: > > > On Thu, 2014-11-06 at 02:45 +0100, Wolfram Sang wrote: > > > > The new driver is around

[PATCH] powerpc/iommu: Rename iommu_[un]map_sg functions

2014-11-06 Thread Joerg Roedel
Hi, here is a patch that fixes a compile failure on powerpc with the recent iommu tree. If this patch is okay with you guys I'd like to carry it in the iommu tree too. Thanks, Joerg From ff39a0301d01ad24f7097718b4ec8215eb0c1141 Mon Sep 17 00:00:00 2001 From: Joerg Roedel Date: Wed, 5 N

Re: [PATCH] hwrng: pseries - port to new read API and fix stack corruption

2014-11-06 Thread Herbert Xu
On Fri, Oct 31, 2014 at 07:50:11AM +0100, Greg Kurz wrote: > The add_early_randomness() function in drivers/char/hw_random/core.c passes > a 16-byte buffer to pseries_rng_data_read(). Unfortunately, plpar_hcall() > returns four 64-bit values and trashes 16 bytes on the stack. > > This bug has been

Re: [PATCH 1/3] powerpc/dts: Factorize the clock control node

2014-11-06 Thread Emil Medve
Hello Scott, On 10/30/2014 06:21 PM, Scott Wood wrote: >>> I don't think the mux stuff belongs here, given that clockgen2.dtsi >>> doesn't have it, and I saw at least one clockgen1 user needing to >>> supplement this with more muxes. >> >> The intent was to put here devices/nodes that are common

[PATCH v2 1/3] powerpc/dts: Factorize the clock control node

2014-11-06 Thread Emil Medve
Signed-off-by: Emil Medve Change-Id: I25ce24a25862b4ca460164159867abefe00ccdd1 --- v2: Whitespace fixes arch/powerpc/boot/dts/b4860emu.dts | 4 +- arch/powerpc/boot/dts/fsl/b4420si-post.dtsi| 28 + arch/powerpc/boot/dts/fsl/b4860si-post.dtsi| 28 + arch/powe

[PATCH v2 3/3] powerpc/dts: Add node(s) for the platform PLL

2014-11-06 Thread Emil Medve
Signed-off-by: Emil Medve Change-Id: If76cd705a01813abe53396c1486bc13c4289ee92 --- arch/powerpc/boot/dts/fsl/qoriq-clockgen1.dtsi | 7 +++ arch/powerpc/boot/dts/fsl/qoriq-clockgen2.dtsi | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/qoriq-clockgen1.dtsi

[PATCH v2 2/3] dt/bindings: qoriq-clock: Add binding for the platform PLL

2014-11-06 Thread Emil Medve
Signed-off-by: Emil Medve Change-Id: I7950afa9650d15ec7ce2cca89bb2a1e38586d4a5 --- v2: Whitespace fixes Documentation/devicetree/bindings/clock/qoriq-clock.txt | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qoriq-clock

[PATCH v5 08/48] kernel: Move pm_power_off to common code

2014-11-06 Thread Guenter Roeck
pm_power_off is defined for all architectures. Move it to common code. Have all architectures call do_kernel_power_off instead of pm_power_off. Some architectures point pm_power_off to machine_power_off. For those, call do_kernel_power_off from machine_power_off instead. Acked-by: David Vrabel A

[PATCH v5 41/48] powerpc: Register with kernel power-off handler

2014-11-06 Thread Guenter Roeck
Register with kernel power-off handler instead of setting pm_power_off directly. If there is an indication that there can be more than one power-off handler, use register_power_off_handler, otherwise use register_power_off_handler_simple to register the power-off handler. If the power-off handler

Re: [PATCH 0/2] Add IPMI support for powernv powerpc machines

2014-11-06 Thread Corey Minyard
On 11/05/2014 09:38 PM, Jeremy Kerr wrote: > This series adds IPMI driver and arch glue for OPAL-firmware-based > powernv machines. The first change exposes the firmware's IPMI API, and > the second adds an actual driver. > > IPMI folks: the IPMI driver could do with a little review, as it's not a

Re: [PATCH v3 1/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan

2014-11-06 Thread Scott Wood
On Wed, 2014-11-05 at 09:18 -0600, Emil Medve wrote: > +Devices connected to a BMan instance via Direct Connect Portals (DCP) must > link > +to the respective BMan instance > + > +- fsl,bman > + Usage: Required > + Value type: > + Description:List of phandle and DCP i

Re: [PATCH] i2c-qoriq: modified compatibility for correct prescaler

2014-11-06 Thread Scott Wood
On Wed, 2014-10-29 at 09:59 +0100, Valentin Longchamp wrote: > On 10/29/2014 12:08 AM, Scott Wood wrote: > > On Fri, 2014-10-17 at 11:27 +0200, Valentin Longchamp wrote: > >> With "fsl-i2c" compatibility the i2c frequency is not set > >> correctly, because it sets no prescaler. According to the AN2

[PATCH] powerpc/fsl: Update fman dt binding with clock name and qbman link

2014-11-06 Thread Scott Wood
The clock name "fmanclk" was given in the example, but not specified in the binding itself. Made clock-names mandatory as otherwise there's not much point having it. Added a reference to the fsl,qman and fsl,bman properties proposed in http://patchwork.ozlabs.org/patch/407034/ and http://patchwor

Re: [v4,17/21] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-11-06 Thread Scott Wood
On Fri, Sep 19, 2014 at 10:36:09AM +0200, LEROY Christophe wrote: > No need to re-set this bit at each TLB miss. Let's set it in the PTE. > > Signed-off-by: Christophe Leroy > --- > Changes in v2: > - None > > Changes in v3: > - Removed PPC405 related macro from PPC8xx specific code > - PTE_NONE

Re: powerpc/8xx: Remove Kconfig symbol FADS

2014-11-06 Thread Scott Wood
On Wed, Sep 24, 2014 at 10:06:19AM +0200, Paul Bolle wrote: > Commit 39eb56da2b53 ("pcmcia: Remove m8xx_pcmcia driver") removed the > only driver that used CONFIG_FADS. Setting the Kconfig symbol FADS is > pointless since that commit. Remove it. > > Signed-off-by: Paul Bolle > --- > Done on top o

Re: [PATCH v2 0/3] fix a kernel panic on fsl corenet board when CONFIG_CLK_PPC_CORENET is enabled

2014-11-06 Thread Scott Wood
On Sun, 2014-10-19 at 14:11 +0800, Kevin Hao wrote: > Hi, > > I have done a boot test on p2014rdb and t4240qds boards. I don't have an > access > to mpc512x board, so only build test for that. > > v2: > - Revert the commit da788acb2838 first. > - Invoke of_clk_init() from a common place. > >

Re: [PATCH v3 1/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan

2014-11-06 Thread Emil Medve
Hello Scott, On 11/06/2014 03:49 PM, Scott Wood wrote: > On Wed, 2014-11-05 at 09:18 -0600, Emil Medve wrote: >> +Devices connected to a BMan instance via Direct Connect Portals (DCP) must >> link >> +to the respective BMan instance >> + >> +- fsl,bman >> +Usage: Required >> +Va

Re: [PATCH v3 1/4] dt/bindings: Introduce the FSL QorIQ DPAA BMan

2014-11-06 Thread Scott Wood
On Fri, 2014-11-07 at 01:31 -0600, Emil Medve wrote: > Hello Scott, > > > On 11/06/2014 03:49 PM, Scott Wood wrote: > > On Wed, 2014-11-05 at 09:18 -0600, Emil Medve wrote: > >> +Devices connected to a BMan instance via Direct Connect Portals (DCP) > >> must link > >> +to the respective BMan ins