Re: [PATCH v8 1/3] of/pci: Unify pci_process_bridge_OF_ranges from Microblaze and PowerPC

2013-05-04 Thread Benjamin Herrenschmidt
On Mon, 2013-04-22 at 11:41 +0100, Andrew Murray wrote: > The pci_process_bridge_OF_ranges function, used to parse the "ranges" > property of a PCI host device, is found in both Microblaze and PowerPC > architectures. These implementations are nearly identical. This patch > moves this common code t

[PATCH v3 3/4] powerpc/cputable: advertise ISEL support on appropriate embedded processors

2013-05-04 Thread Nishanth Aravamudan
Signed-off-by: Nishanth Aravamudan --- Changes since v2: - Added e5500 per Segher. I've not added POWER7 yet, as I'm waiting to confirm with others on that. I will send it as a follow-up patch if needed. diff --git a/arch/powerpc/kernel/cputable.c b/arch/powerpc/kernel/cputable.c index a792157

[PATCH] powerpc/pnv: Fix "compatible" property for P8 PHB

2013-05-04 Thread Benjamin Herrenschmidt
The property should be "ibm,power8-pciex", not "ibm,p8-pciex". The latter was changed in FW because it was inconsistent with the rest of the nodes. Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c index

[PATCH] powerpc/pci: Don't add bogus empty resources to PHBs

2013-05-04 Thread Benjamin Herrenschmidt
When converting to use the new pci_add_resource_offset() we didn't properly account for empty resources (0 flags) and add those bogons to the PHBs. The result is some annoying messages in the log. Signed-off-by: Benjamin Herrenschmidt --- BTW. Anybody knows if we really need those ppc32 workarou

Re: [PATCH] arch/powerpc: advertise ISA2.07, HTM, DSCR, EBB and ISEL bits in HWCAP2

2013-05-04 Thread Segher Boessenkool
According to the GCC sources, ISEL is enabled by default for the 8540, 8548, e500mc, e500mc64, e6500 processors. And e5500. POWER7 is said to support it as well. Segher ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozla

Re: [PATCH -V7 02/10] powerpc/THP: Implement transparent hugepages for ppc64

2013-05-04 Thread Benjamin Herrenschmidt
On Sun, 2013-05-05 at 00:44 +0530, Aneesh Kumar K.V wrote: > > We may want to retain some of these because of the assert we want to add > for locking. PTE related functions expect ptl to be locked. PMD related > functions expect mm->page_table_lock to be locked. In this case have a single inline

Re: [PATCH -V7 02/10] powerpc/THP: Implement transparent hugepages for ppc64

2013-05-04 Thread Aneesh Kumar K.V
David Gibson writes: > On Mon, Apr 29, 2013 at 01:21:43AM +0530, Aneesh Kumar K.V wrote: >> From: "Aneesh Kumar K.V" >> >> We now have pmd entries covering 16MB range and the PMD table double its >> original size. >> We use the second half of the PMD table to deposit the pgtable (PTE page). >>

RE: [PATCH] kvm/ppc/booke64: Hard disable interrupts when entering the guest

2013-05-04 Thread Caraman Mihai Claudiu-B02008
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, May 04, 2013 2:45 AM > To: Alexander Graf > Cc: kvm-...@vger.kernel.org; k...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Wood Scott-B07421; Caraman Mihai Claudiu-B02008 > Subject: [PATCH] kvm/ppc/booke64: Hard disable