[git pull] Please pull mpe/linux.git powerpc-4.1-1 tag

2015-04-16 Thread Michael Ellerman
Hi Linus, Please pull powerpc updates for 4.1: The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.1-1 for

Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

2015-04-16 Thread Jacek Anaszewski
Hi Vasant, On 04/16/2015 08:52 AM, Vasant Hegde wrote: On 04/15/2015 06:42 PM, Jacek Anaszewski wrote: On 04/15/2015 12:15 PM, Vasant Hegde wrote: On 04/15/2015 02:12 PM, Jacek Anaszewski wrote: Hi Vasant, Hi Jacek, .../... I mean, we have to retain the state of LED across system rebo

Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

2015-04-16 Thread Vasant Hegde
On 04/16/2015 02:21 PM, Jacek Anaszewski wrote: > Hi Vasant, > > On 04/16/2015 08:52 AM, Vasant Hegde wrote: >> On 04/15/2015 06:42 PM, Jacek Anaszewski wrote: >>> On 04/15/2015 12:15 PM, Vasant Hegde wrote: On 04/15/2015 02:12 PM, Jacek Anaszewski wrote: > Hi Vasant, >> >> Hi Jacek, >> >

[PATCH] kvm: powerpc: Fix ppc64_defconfig + PPC_POWERNV=n build error

2015-04-16 Thread Shreyas B. Prabhu
kvm_no_guest function calls power7_wakeup_loss to put the thread into the deepest supported idle state. power7_wakeup_loss is defined in arch/powerpc/kernel/idle_power7.S, which is compiled only when PPC_P7_NAP=y. And PPC_P7_NAP is selected when PPC_POWERNV=y. Hence in cases where PPC_POWERNV=n and

Re: [PATCH v2 2/2] leds/powernv: Add driver for PowerNV platform

2015-04-16 Thread Jacek Anaszewski
On 04/16/2015 12:26 PM, Vasant Hegde wrote: On 04/16/2015 02:21 PM, Jacek Anaszewski wrote: Hi Vasant, On 04/16/2015 08:52 AM, Vasant Hegde wrote: On 04/15/2015 06:42 PM, Jacek Anaszewski wrote: On 04/15/2015 12:15 PM, Vasant Hegde wrote: On 04/15/2015 02:12 PM, Jacek Anaszewski wrote: Hi V

[PATCH] powerpc/4xx: Fix return value check in hsta_msi_probe()

2015-04-16 Thread weiyj_lk
From: Wei Yongjun In case of error, the functions platform_get_resource() and kmalloc() returns NULL not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- arch/powerpc/sysdev/ppc4xx_hsta_msi.c | 4 ++-- 1 file changed, 2 in

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Bob Cochran
On 04/16/2015 12:44 AM, Bob Cochran wrote: On 04/09/2015 06:31 PM, Scott Wood wrote: On Thu, 2015-04-09 at 16:52 -0500, Pan Lijun-B44306 wrote: Hi Maintainers, We have a proposal for writing the defconfigs for freescale's powperpc platforms in a new way. Can you take a look and provide some fe

[PATCH 2/2] sound: ppc: keywest: drop using attach adapter

2015-04-16 Thread Wolfram Sang
As we now have deferred probing, we can use a custom mechanism and finally get rid of the legacy interface from the i2c core. Signed-off-by: Wolfram Sang --- sound/ppc/keywest.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/sound/ppc/keywest.c b/sou

[PATCH 1/2] macintosh: therm_windtunnel: drop using attach adapter

2015-04-16 Thread Wolfram Sang
As we now have deferred probing, we can use a custom mechanism and finally get rid of the legacy interface from the i2c core. Signed-off-by: Wolfram Sang --- drivers/macintosh/therm_windtunnel.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH 0/2] i2c: rework last users of 2.4 style attach_adapter

2015-04-16 Thread Wolfram Sang
The attach_adapter mechanism of the I2C framework is deprecated for years. There are two users left; drivers for old Macintosh computers. I got the idea of replacing this mechanism with a custom one with the help of deferred probing. Because I don't have the hardware, I modified the windtunnel driv

Re: [PATCH kernel v8 12/31] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-04-16 Thread Alexey Kardashevskiy
On 04/16/2015 03:55 PM, David Gibson wrote: On Fri, Apr 10, 2015 at 04:30:54PM +1000, Alexey Kardashevskiy wrote: Modern IBM POWERPC systems support multiple (currently two) TCE tables per IOMMU group (a.k.a. PE). This adds a iommu_table_group container for TCE tables. Right now just one table i

[v3] dt/bindings: fsl/guts: Added global-utilities compatibles

2015-04-16 Thread Igal . Liberman
From: Igal Liberman v3 - Addressed Scott's feedback: Added "fsl,-guts" v2 - Addressed Scott's feedback Signed-off-by: Igal Liberman --- .../devicetree/bindings/powerpc/fsl/guts.txt |5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/powe

[PATCH] powerpc/dts: Fix incorrect clock-names property

2015-04-16 Thread Igal . Liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- arch/powerpc/boot/dts/fsl/t2081si-post.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi b/arch/powerpc/boot/dts/fsl/t2081si-post.dtsi index 3dee307..1462431 100644 --

[v4] clk: qoriq: Add support for the FMan clock

2015-04-16 Thread Igal . Liberman
From: Igal Liberman This patch depends on the following patches: https://patchwork.ozlabs.org/patch/461151/ https://patchwork.ozlabs.org/patch/461155/ This patche is described by the following binding document update: https://patchwork.ozlabs.org/patch/461166/ v4: -

[PATCH] powerpc/dts: Move pll0/1-div4 index

2015-04-16 Thread Igal . Liberman
From: Igal Liberman This patch updates pll0/1-div4 index to '3'. Originally it was '2'. The following patch adds pll0/1-div3 option: https://patchwork.ozlabs.org/patch/461151/ After this patch, index '2' becomes pll0/1-div3. This patch based on top of the following: https://patc

Re: [PATCH kernel v8 21/31] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-04-16 Thread Alexey Kardashevskiy
On 04/16/2015 04:46 PM, David Gibson wrote: On Fri, Apr 10, 2015 at 04:31:03PM +1000, Alexey Kardashevskiy wrote: The iommu_free_table helper release memory it is using (the TCE table and @it_map) and release the iommu_table struct as well. We might not want the very last step as we store iommu_

RE: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Lijun Pan
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, April 09, 2015 5:31 PM > To: Pan Lijun-B44306 > Cc: linuxppc-...@ozlabs.org; Schmitt Richard-B43082 > Subject: Re: new way of writing defconfigs for freescale's powerpc platforms > > On Thu, 2015-04-09 at 16:52 -0500, Pan L

Re: 'perf upgrade' (was: Re: [PATCH v9 00/11] Add support for JSON event files.)

2015-04-16 Thread Sukadev Bhattiprolu
| | * Michael Ellerman wrote: | | > > We just merged a patch series that was first sent in 2013. Some | > > things take time to get right. | > | > The first attempt to get symbolic event name support into perf was | > sent in 2010, that's FIVE years ago [1]. | | kgdb took even longer, I thin

Re: [PATCH v2 1/5] perf: Add a flags parameter to pmu txn interfaces

2015-04-16 Thread Sukadev Bhattiprolu
Peter Zijlstra [pet...@infradead.org] wrote: | On Tue, Apr 07, 2015 at 05:34:55PM -0700, Sukadev Bhattiprolu wrote: | > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h | > index 2b62198..4dc3d70 100644 | > --- a/include/linux/perf_event.h | > +++ b/include/linux/perf_event.h |

Re: 'perf upgrade' (was: Re: [PATCH v9 00/11] Add support for JSON event files.)

2015-04-16 Thread Sukadev Bhattiprolu
Ingo Molnar [mi...@kernel.org] wrote: Meant to Cc Tom Huynh as they had a related patchset a few months ago. | | * Michael Ellerman wrote: | | > On Tue, 2015-04-14 at 10:55 +0200, Ingo Molnar wrote: | > > * Sukadev Bhattiprolu wrote: | > > | > > > This is another attempt to resurrect Andi Kl

Re: [PATCH v2 4/5] perf: Define PMU_TXN_READ interface

2015-04-16 Thread Sukadev Bhattiprolu
Peter Zijlstra [pet...@infradead.org] wrote: | On Tue, Apr 07, 2015 at 05:34:58PM -0700, Sukadev Bhattiprolu wrote: | > diff --git a/kernel/events/core.c b/kernel/events/core.c | > index 1ac99d1..a001582 100644 | > --- a/kernel/events/core.c | > +++ b/kernel/events/core.c | > @@ -3644,6 +3644,33 @@

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 00:44 -0400, Bob Cochran wrote: > As you probably know, Freescale makes use of the Yocto Project build > system for its SDK and submits patches to the SDK at a public > meta-fsl-ppc repo at http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/ > > I have seen some kernel

Re: [PATCH v10 0/3] Generic IOMMU pooled allocator

2015-04-16 Thread David Miller
From: Sowmini Varadhan Date: Thu, 9 Apr 2015 15:33:29 -0400 > Investigation of network performance on Sparc shows a high > degree of locking contention in the IOMMU allocator, and it > was noticed that the PowerPC code has a better locking model. > > This patch series tries to extract the gener

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Hi, Scott and others. On Apr 09 2015, Rogério Brito wrote: > On Apr 09 2015, Scott Wood wrote: > > On Thu, 2015-04-09 at 18:54 -0300, Rogério Brito wrote: > > > > > > mtdparts=myflash:4096k(allflash),3072k(firmimg),448k@3072k(bootcode),64k@3520k(status),512k@3584k(conf) > > > > What is "myfl

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > Hi, Scott and others. > > On Apr 09 2015, Rogério Brito wrote: > > On Apr 09 2015, Scott Wood wrote: > > > On Thu, 2015-04-09 at 18:54 -0300, Rogério Brito wrote: > > > > > > > > mtdparts=myflash:4096k(allflash),3072k(firmimg),448k@307

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Dear Scott. On Apr 16 2015, Scott Wood wrote: > On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > > Is there any "proper" way for me to discover what device name the kernel > > uses? I have tried the following command lines without success: > > > > 1 - > > mtdparts=myflash:4096k(allflash

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 21:01 -0300, Rogério Brito wrote: > Dear Scott. > > On Apr 16 2015, Scott Wood wrote: > > On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > > > Is there any "proper" way for me to discover what device name the kernel > > > uses? I have tried the following command line

Re: Old regression with MTD devices disappearing from a Kurobox HD/HG

2015-04-16 Thread Rogério Brito
Hi, Scott. On Apr 16 2015, Scott Wood wrote: > On Thu, 2015-04-16 at 21:01 -0300, Rogério Brito wrote: > > On Apr 16 2015, Scott Wood wrote: > > > On Thu, 2015-04-16 at 19:55 -0300, Rogério Brito wrote: > > > > Is there any "proper" way for me to discover what device name the kernel > > > > uses?

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Michael Ellerman
On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote: > Hi Maintainers, > > We have a proposal for writing the defconfigs for freescale's powperpc > platforms in a new way. > Can you take a look and provide some feedback? > > You know currently we have mpc85xx_defconfig, corenet32_defconfig, > bs

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Scott Wood
On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote: > On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote: > > Hi Maintainers, > > > > We have a proposal for writing the defconfigs for freescale's powperpc > > platforms in a new way. > > Can you take a look and provide some feedback? > > >

Re: [v3] dt/bindings: qoriq-clock: Add binding for FMan clock mux

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 01:11 -0500, Liberman Igal-B31950 wrote: > > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, April 15, 2015 8:36 PM > > To: Liberman Igal-B31950 > > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org >

Re: [PATCH] powerpc/dts: Move pll0/1-div4 index

2015-04-16 Thread Scott Wood
On Thu, 2015-04-16 at 15:08 +0300, Igal.Liberman wrote: > From: Igal Liberman > > This patch updates pll0/1-div4 index to '3'. > Originally it was '2'. > > The following patch adds pll0/1-div3 option: > https://patchwork.ozlabs.org/patch/461151/ > After this patch, index '2' becomes pll0/1

Re: new way of writing defconfigs for freescale's powerpc platforms

2015-04-16 Thread Michael Ellerman
On Thu, 2015-04-16 at 23:13 -0500, Scott Wood wrote: > On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote: > > On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote: > > > Hi Maintainers, > > > > > > We have a proposal for writing the defconfigs for freescale's powperpc > > > platforms in a n