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

2015-04-03 Thread Rogério Brito
Hi. I just revived a Kurobox HG to use as a NAS (I also have a simpler Kurobox HD here, not being used at this moment) and I am having problems that didn't happen before. I will describe the first problem here and further problems in later e-mails. During the 2.6.27 to 2.6.29 era (I may be mista

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Yinghai Lu
On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: > [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, > linux-mips, Ben, linuxppc-dev, x86] > > On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: >> On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote:

Re: [PATCH v8 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock

2015-04-03 Thread Sowmini Varadhan
On (04/04/15 08:06), Benjamin Herrenschmidt wrote: > > No, I meant "n < pool->hint", ie, the start of the newly allocated > block. ah, got it. I'll do my drill with patchset and get back, probably by Monday. --Sowmini ___ Linuxppc-dev mailing list Linu

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Paul Bolle
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote: > The idea was that boards in the Kconfig file would select these symbols > in order to enable support for the 8306. I mainly wanted to get this > patch into mainline in order to make kernel maintenance for a couple of > custom in-house de

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 11:07 +0300, Purcareata Bogdan wrote: > On 03.04.2015 02:11, Scott Wood wrote: > > On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote: > >> On 27.02.2015 03:05, Scott Wood wrote: > >>> On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej Siewior wrote: > On 02/26/

Re: [PATCH v8 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock

2015-04-03 Thread Benjamin Herrenschmidt
On Fri, 2015-04-03 at 14:28 -0400, Sowmini Varadhan wrote: > > Just want to confirm: > > > > + again: > > > + if (pass == 0 && handle && *handle && > > > + (*handle >= pool->start) && (*handle < pool->end)) > > > + start = *handle; > > > + else > > > + start = pool->hint; > >

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-03 Thread Bjorn Helgaas
[+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, linux-mips, Ben, linuxppc-dev, x86] On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: > On Tue, Mar 31, 2015 at 07:57:47PM -0700, Yinghai Lu wrote: > > David Ahern found commit d63e2e1f3df9 ("sparc/PCI: Clip b

Re: [PATCH 2/3] sparc/PCI: Add mem64 resource parsing for root bus

2015-04-03 Thread Bjorn Helgaas
[+cc Ben, linuxppc-dev, Grant, Rob, devicetree] On Tue, Mar 31, 2015 at 07:57:48PM -0700, Yinghai Lu wrote: > Found "no compatible bridge window" warning in boot log from T5-8. > > pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no > compatible bridge window > > That re

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Scott Wood
On Fri, 2015-04-03 at 14:45 +0200, Filip Brozović wrote: > On 4/3/2015 2:01 PM, Paul Bolle wrote: > > On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: > >> --- a/arch/powerpc/platforms/83xx/Kconfig > >> +++ b/arch/powerpc/platforms/83xx/Kconfig > > > >> +# used for gpio > >> +config PPC_MPC

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-04-03 Thread Nishanth Aravamudan
On 03.04.2015 [20:24:45 +0200], Michal Hocko wrote: > On Fri 03-04-15 10:43:57, Nishanth Aravamudan wrote: > > On 31.03.2015 [11:48:29 +0200], Michal Hocko wrote: > [...] > > > I would expect kswapd would be looping endlessly because the zone > > > wouldn't be balanced obviously. But I would be wro

Re: [PATCH v8 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock

2015-04-03 Thread Sowmini Varadhan
Just want to confirm: > > + again: > > + if (pass == 0 && handle && *handle && > > + (*handle >= pool->start) && (*handle < pool->end)) > > + start = *handle; > > + else > > + start = pool->hint; > > Now this means "handle" might be < pool->hint, in that case you a

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-04-03 Thread Michal Hocko
On Fri 03-04-15 10:43:57, Nishanth Aravamudan wrote: > On 31.03.2015 [11:48:29 +0200], Michal Hocko wrote: [...] > > I would expect kswapd would be looping endlessly because the zone > > wouldn't be balanced obviously. But I would be wrong... because > > pgdat_balanced is doing this: > >

Re: [PATCH RFC 10/10] dpaa_eth: add trace points

2015-04-03 Thread Joe Perches
On Fri, 2015-04-03 at 17:29 +, Madalin-Cristian Bucur wrote: > > -Original Message- > > From: Joe Perches [mailto:j...@perches.com] > > > > On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > > > Add trace points on the hot processing path. > > > > more trivia: > > > > > diff --

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-04-03 Thread Nishanth Aravamudan
On 03.04.2015 [09:57:35 +0200], Vlastimil Babka wrote: > On 03/31/2015 11:48 AM, Michal Hocko wrote: > >On Fri 27-03-15 15:23:50, Nishanth Aravamudan wrote: > >>On 27.03.2015 [13:17:59 -0700], Dave Hansen wrote: > >>>On 03/27/2015 12:28 PM, Nishanth Aravamudan wrote: > @@ -2585,7 +2585,7 @@ sta

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-04-03 Thread Nishanth Aravamudan
On 31.03.2015 [11:48:29 +0200], Michal Hocko wrote: > On Fri 27-03-15 15:23:50, Nishanth Aravamudan wrote: > > On 27.03.2015 [13:17:59 -0700], Dave Hansen wrote: > > > On 03/27/2015 12:28 PM, Nishanth Aravamudan wrote: > > > > @@ -2585,7 +2585,7 @@ static bool pfmemalloc_watermark_ok(pg_data_t > >

RE: [PATCH RFC 10/10] dpaa_eth: add trace points

2015-04-03 Thread Madalin-Cristian Bucur
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > > On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > > Add trace points on the hot processing path. > > more trivia: > > > diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h > b/drivers/net/ethernet

Re: [PATCH RFC 10/10] dpaa_eth: add trace points

2015-04-03 Thread Joe Perches
On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > Add trace points on the hot processing path. more trivia: > diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h > b/drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h [] > +#define fd_format_name(format) { qm_fd_##fo

Re: [PATCH 4/4] hwmon: (ibmpowernv) pretty print labels

2015-04-03 Thread Guenter Roeck
On 04/01/2015 03:15 AM, Cédric Le Goater wrote: The new OPAL device tree adds a few properties which can be used to add extra information on the sensor label. Signed-off-by: Cédric Le Goater --- drivers/hwmon/ibmpowernv.c | 22 ++ 1 file changed, 22 insertions(+) diff

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Filip Brozović
On 4/3/2015 2:01 PM, Paul Bolle wrote: On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: --- a/arch/powerpc/platforms/83xx/Kconfig +++ b/arch/powerpc/platforms/83xx/Kconfig +# used for gpio +config PPC_MPC830x + bool + select ARCH_WANT_OPTIONAL_GPIOLIB + +config PPC_MPC8306

Re: [PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Paul Bolle
On Fri, 2015-04-03 at 12:44 +0200, Filip Brozovic wrote: > --- a/arch/powerpc/platforms/83xx/Kconfig > +++ b/arch/powerpc/platforms/83xx/Kconfig > +# used for gpio > +config PPC_MPC830x > + bool > + select ARCH_WANT_OPTIONAL_GPIOLIB > + > +config PPC_MPC8306 > + bool To me these two

[PATCH v2] powerpc/83xx: add support for mpc8306

2015-04-03 Thread Filip Brozovic
Add chip specific initialization for the MPC8306. Signed-off-by: Filip Brozovic --- Changes from v1: - Fix multiplatform support for setting QE SNUMs arch/powerpc/platforms/83xx/Kconfig | 8 arch/powerpc/platforms/83xx/mpc83xx.h | 4 arch/powerpc/platforms/83xx/usb.c | 14 +

[PATCH 4/4] powerpc/fsl-booke: Add T1023 RDB board support

2015-04-03 Thread Shengzhou Liu
T1023RDB is a Freescale Reference Design Board that hosts T1023 SoC. T1023RDB board Overview --- - T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz - CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation - Memory

[PATCH 3/4] powerpc/fsl-booke: Add T1024 RDB board support

2015-04-03 Thread Shengzhou Liu
T1024RDB is a Freescale Reference Design Board that hosts the T1024 SoC. T1024RDB board Overview --- - Processor: T1024 SoC integrating two 64-bit e5500 cores up to 1.4GHz - DDR: 64-bit 4GB DDR3L UDIMM with ECC and interleaving support - Ethernet: two 10M/100M/1Gbps RGMII ports

[PATCH 2/4] powerpc/fsl-booke: Add T1024 QDS board support

2015-04-03 Thread Shengzhou Liu
Add support for Freescale T1024/T1023 QorIQ Development System Board. T1024QDS is a high-performance computing evaluation, development and test platform for T1024 QorIQ Power Architecture processor. T1024QDS board Overview --- - T1024 SoC integrating two 64-bit e5500 cores up

[PATCH 1/4] powerpc/fsl-booke: Add device tree support for T1024/T1023 SoC

2015-04-03 Thread Shengzhou Liu
The T1024 SoC includes the following function and features: - Two 64-bit Power architecture e5500 cores, up to 1.4GHz - private 256KB L2 cache each core and shared 256KB CoreNet platform cache (CPC) - 32-/64-bit DDR3L/DDR4 SDRAM memory controller with ECC and interleaving support - Data Path Accel

[PATCH v9 19/30] powerpc/pci: Use pci_scan_host_bridge() for simplicity

2015-04-03 Thread Yijing Wang
Now we could use pci_scan_host_bridge() to scan pci buses, provide powerpc specific pci_host_bridge_ops. Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/kernel/pci-common.c | 62 +++-- 1 files changed, 38

RE: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-04-03 Thread Madalin-Cristian Bucur
> -Original Message- > From: Paul Bolle [mailto:pebo...@tiscali.nl] > > Just a few nits. > > This series is posted as an RFC, so this might not be what you're > expecting right now. But as these messages got tangled up in my mail > filter anyhow, I thought I might as well bother you with

Re: [PATCH RFC 06/10] dpaa_eth: add ethtool functionality

2015-04-03 Thread Madalin-Cristian Bucur
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > > Add support for basic ethtool operations. > > > diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c > b/drivers/net/ethernet/freescale/dpaa/dpaa_etht

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-04-03 Thread Vlastimil Babka
On 03/31/2015 11:48 AM, Michal Hocko wrote: On Fri 27-03-15 15:23:50, Nishanth Aravamudan wrote: On 27.03.2015 [13:17:59 -0700], Dave Hansen wrote: On 03/27/2015 12:28 PM, Nishanth Aravamudan wrote: @@ -2585,7 +2585,7 @@ static bool pfmemalloc_watermark_ok(pg_data_t *pgdat) for (i =

PCIE Switch Bringup Problem

2015-04-03 Thread Ashish Khetan
Hi, I am using MPC8640D based powerpc board. I am trying to bringup PCIe switch(PES64H16AG2) using linux BSP(Linux-3.14). After Power on reset its unable detect to detect any link on PCIe BUS. While on another bus PCIe link is detected which is not another PCIe device. Any debugging points/link

Re: [PATCH 0/2] Add a MTD driver for OpenPower PNOR flash

2015-04-03 Thread Michael Ellerman
On Wed, 2015-04-01 at 14:05 +0800, Jeremy Kerr wrote: > Hi all, > > This series implements a simple mtd device to allow access to the PNOR > flash on OpenPower machines. The flash is accessed through firmware > calls. > > Patch 1/2 adds the Linux interface to these calls. Patch 2/2 adds a mtd > d

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-04-03 Thread Purcareata Bogdan
On 03.04.2015 02:11, Scott Wood wrote: On Fri, 2015-03-27 at 19:07 +0200, Purcareata Bogdan wrote: On 27.02.2015 03:05, Scott Wood wrote: On Thu, 2015-02-26 at 14:31 +0100, Sebastian Andrzej Siewior wrote: On 02/26/2015 02:02 PM, Paolo Bonzini wrote: On 24/02/2015 00:27, Scott Wood wrote:

Re: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-04-03 Thread Madalin-Cristian Bucur
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: > > This introduces the Freescale Data Path Acceleration Architecture > > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > > BMan, PAMU and FMan dr

[PATCH] QorIQ/TMU: add thermal management support based on TMU

2015-04-03 Thread Jia Hongtao
It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. Signed-off-by: Jia Hongtao --- drivers/thermal/Kconfig | 11 ++ drivers/thermal/Makefile| 1 + drivers/thermal/qoriq_the