Re: [PATCH 1/3] powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board

2013-06-01 Thread Kevin Hao
On Sat, Jun 01, 2013 at 09:47:16PM +1000, Benjamin Herrenschmidt wrote: > On Sat, 2013-06-01 at 18:59 +0800, Kevin Hao wrote: > > > The effect of this change is that the isa_io_base will be 0 and the IO > > resource are equal to the virtual address of the IO space. But the IO > > functions such as

Re: [PATCH] powerpc/pseries: Kill all prefetch streams on context switch

2013-06-01 Thread Michael Ellerman
On Thu, May 30, 2013 at 03:34:27PM +1000, Michael Neuling wrote: > On context switch, we should have no prefetch streams leak from one > userspace process to another. This frees up prefetch resources for the > next process. > > Based on patch from Milton Miller. > > Signed-off-by: Michael Neulin

Re: [PATCH] powerpc/pci: Improve device hotplug initialization

2013-06-01 Thread Guenter Roeck
On Fri, May 31, 2013 at 03:44:07PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2013-05-30 at 22:14 -0700, Guenter Roeck wrote: > > On Wed, May 29, 2013 at 05:30:41PM +0800, Chen Yuanquan-B41889 wrote: > > > On 05/29/2013 01:35 AM, Guenter Roeck wrote: > > > >bios_add_device(). Drop explicit call

[PATCH v2] powerpc/mpc85xx: match with the pci bus address used by u-boot for all p1_p2_rdb_pc boards

2013-06-01 Thread Kevin Hao
All these boards use the same configuration file p1_p2_rdb_pc.h in u-boot. So they have the same pci bus address set by the u-boot. But in some of these boards the bus address set in dtb don't match the one used by u-boot. And this will trigger a kernel bug in 32bit kernel and cause the pci device

Re: [PATCH 1/3] powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board

2013-06-01 Thread Benjamin Herrenschmidt
On Sat, 2013-06-01 at 18:59 +0800, Kevin Hao wrote: > The effect of this change is that the isa_io_base will be 0 and the IO > resource are equal to the virtual address of the IO space. But the IO > functions such as outx/inx should work as well. This is why I ask the > above question. What do you

Re: [PATCH] powerpc/mm: Always invalidate tlb on hpte invalidate and update

2013-06-01 Thread Benjamin Herrenschmidt
On Sat, 2013-06-01 at 21:19 +1000, Michael Ellerman wrote: > On Fri, May 31, 2013 at 04:33:24PM +0530, Aneesh Kumar K.V wrote: > > From: "Aneesh Kumar K.V" > > > > If a hash bucket gets full, we "evict" a more/less random entry from it. > > When we do that we don't invalidate the TLB (hpte_remove

Re: [PATCH] powerpc/mm: Always invalidate tlb on hpte invalidate and update

2013-06-01 Thread Michael Ellerman
On Fri, May 31, 2013 at 04:33:24PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > If a hash bucket gets full, we "evict" a more/less random entry from it. > When we do that we don't invalidate the TLB (hpte_remove) because we assume > the old translation is still technically "valid

Re: [PATCH 1/3] powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board

2013-06-01 Thread Kevin Hao
On Fri, May 31, 2013 at 06:27:21PM -0500, Scott Wood wrote: > On 05/31/2013 01:43:49 AM, Kevin Hao wrote: > >On Thu, May 30, 2013 at 01:54:59PM -0500, Scott Wood wrote: > >> On 05/30/2013 05:20:34 AM, Kevin Hao wrote: > >> >On Tue, May 28, 2013 at 05:52:09PM -0500, Scott Wood wrote: > >> >> On 05/2

Re: [PATCH 1/3] powerpc/mpc85xx: remove the unneeded pci init functions for corenet ds board

2013-06-01 Thread Kevin Hao
On Fri, May 31, 2013 at 08:11:20PM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2013-05-31 at 14:41 +0800, Kevin Hao wrote: > > Hi Ben, > > > > Could you shed some light on this issue? Do we really has the restriction > > that we have to pick one bus controller as primary even there is no > > IS

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Marc Kleine-Budde
On 06/01/2013 10:59 AM, Arnd Bergmann wrote: > On Friday 17 May 2013 10:59:17 Marc Kleine-Budde wrote: >> This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from >> arch/{arm,powerpc} >> and allowing compilation unconditionally on all arm and powerpc platforms. >> >> This brings a bigger compi

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Arnd Bergmann
On Friday 17 May 2013 10:59:17 Marc Kleine-Budde wrote: > This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from arch/{arm,powerpc} > and allowing compilation unconditionally on all arm and powerpc platforms. > > This brings a bigger compile time coverage and removes the following > dependen

Re: [PATCH v2] can: flexcan: remove HAVE_CAN_FLEXCAN Kconfig symbol

2013-06-01 Thread Marc Kleine-Budde
On 06/01/2013 01:40 AM, Benjamin Herrenschmidt wrote: > On Mon, 2013-05-20 at 18:06 +0200, Marc Kleine-Budde wrote: >> On 05/17/2013 11:09 AM, Shawn Guo wrote: >>> On Fri, May 17, 2013 at 10:59:17AM +0200, Marc Kleine-Budde wrote: This patch removes the Kconfig symbol HAVE_CAN_FLEXCAN from >>