Re: [PATCH] [RFC] powerpc: Add VDSO version of time

2013-04-05 Thread Michael Ellerman
On Tue, Mar 19, 2013 at 04:55:31PM -0300, Adhemerval Zanella wrote: Hi all, This patch implement the time syscall as vDSO. I have a glibc patch to use it as IFUNC (as latest gettimeofday patch). Below the perf numbers: Baseline PPC32: 380 nsec Baseline PPC64: 352 nsec vdso PPC32:

[PATCH 2/4][v2] powerpc/fsl-booke: Add initial B4860QDS and B4420QDS board device tree

2013-04-05 Thread Shaveta Leekha
B4860QDS and B4420QDS share same QDS board * common board features have been added in b4qds.dts * various board differences are in respective files of B4860 and B4420 Signed-off-by: Shaveta Leekha shav...@freescale.com Signed-off-by: Minghuan Lian minghuan.l...@freescale.com Signed-off-by: Andy

[PATCH 1/4][v2] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-05 Thread Shaveta Leekha
B4860 and B4420 are similar that share some commonalities * common features have been added in b4si-pre.dtsi and b4si-post.dtsi * differences are added in respective silicon files of B4860 and B4420 There are several things missing from the device trees of B4860 and B4420: * DPAA related nodes

[PATCH 4/4][v2] powerpc/85xx: Update corenet64_smp_defconfig for B4_QDS

2013-04-05 Thread Shaveta Leekha
Signed-off-by: Shaveta Leekha shav...@freescale.com --- arch/powerpc/configs/corenet64_smp_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig b/arch/powerpc/configs/corenet64_smp_defconfig index 1c6eb66..6c8b020 100644

[PATCH 3/4][v2] powerpc/fsl-booke: Add B4_QDS board support

2013-04-05 Thread Shaveta Leekha
- Add support for B4 board in board file b4_qds.c, It is common for B4860, B4420 and B4220QDS as they share same QDS board - Add B4QDS support in Kconfig and Makefile B4860QDS is a high-performance computing evaluation, development and test platform supporting the B4860 QorIQ Power Architecture

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-05 Thread Viresh Kumar
On 4 April 2013 18:24, Viresh Kumar viresh.ku...@linaro.org wrote: This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org Cc: Olof Johansson o...@lixom.net Cc:

Re: [PATCH 3/3] powerpc: Set default VGA device

2013-04-05 Thread Michael Ellerman
Hi Brian, On Thu, Apr 04, 2013 at 04:58:17PM -0500, Brian King wrote: Add a PCI quirk for VGA devices on Power to set the default VGA device. Ensures a default VGA is always set if a graphics adapter is present, even if firmware did not initialize it. If more than one graphics adapter is

Re: [PATCH 1/3] pci: Export pci_dev_type

2013-04-05 Thread Michael Ellerman
Hi Bjorn, Should we take this series via the powerpc tree, assuming you're OK with this patch? cheers On Thu, Apr 04, 2013 at 04:58:13PM -0500, Brian King wrote: Export pci_dev_type so that arch specific PCI probing code can initialize a new PCI device struct. Signed-off-by: Brian King

Re: [PATCH] powerpc: Add HWCAP2 aux entry

2013-04-05 Thread Michael Ellerman
Hi guys, Added some folks to CC, blame scripts/get_maintainer.pl. Comment below .. On Tue, Apr 02, 2013 at 02:22:05PM -0700, Nishanth Aravamudan wrote: From: Michael Neuling michael.neul...@au1.ibm.com We are currently out of free bits in AT_HWCAP. With POWER8, we have several hardware

RE: [PATCH] bookehv: Handle debug exception on guest exit

2013-04-05 Thread Bhushan Bharat-R65777
Hi Kumar/Benh, After further looking into the code I think that if we correct the vector range below in DebugDebug handler then we do not need the change I provided in this patch. Here is the snapshot for 32 bit (head_booke.h, same will be true for 64 bit): #define DEBUG_DEBUG_EXCEPTION

[PATCH] powerpc/fsl-booke: Fix cpu unit address to match reg on

2013-04-05 Thread Kumar Gala
Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-pre.dtsi index

Re: [PATCH 1/4][v2] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-05 Thread Kumar Gala
On Apr 5, 2013, at 1:33 AM, Shaveta Leekha wrote: B4860 and B4420 are similar that share some commonalities * common features have been added in b4si-pre.dtsi and b4si-post.dtsi * differences are added in respective silicon files of B4860 and B4420 There are several things missing from

Re: [PATCH 3/3] powerpc: Set default VGA device

2013-04-05 Thread Brian King
On 04/05/2013 01:52 AM, Michael Ellerman wrote: Hi Brian, On Thu, Apr 04, 2013 at 04:58:17PM -0500, Brian King wrote: Add a PCI quirk for VGA devices on Power to set the default VGA device. Ensures a default VGA is always set if a graphics adapter is present, even if firmware did not

RE: [PATCH 1/4][v2] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420

2013-04-05 Thread Leekha Shaveta-B20052
-Original Message- From: Kumar Gala [mailto:ga...@kernel.crashing.org] Sent: Friday, April 05, 2013 7:53 PM To: Leekha Shaveta-B20052 Cc: linuxppc-dev@lists.ozlabs.org list Subject: Re: [PATCH 1/4][v2] powerpc/fsl-booke: Add initial silicon device tree files for B4860 and B4420 On

Re: [PATCH v2 2/11] Add PRRN Event Handler

2013-04-05 Thread Nathan Fontenot
On 04/03/2013 10:34 PM, Paul Mackerras wrote: On Mon, Mar 25, 2013 at 01:52:32PM -0500, Nathan Fontenot wrote: From: Jesse Larrew jlar...@linux.vnet.ibm.com A PRRN event is signaled via the RTAS event-scan mechanism, which returns a Hot Plug Event message fixed part indicating Platform

Re: [RFC][PATCH 2/2] powerpc/fsl-pci Make PCIe hotplug work with Freescale

2013-04-05 Thread Kumar Gala
On Apr 3, 2013, at 2:09 AM, Rojhalat Ibrahim wrote: Hi Kumar, what about this patch? Any reasons not to apply? Rojhalat Was on vacation, getting back to it now. Do send a proper patch w/commit message signed-off-by. - k On Monday 18 March 2013 10:22:40 Rojhalat Ibrahim wrote:

Re: [PATCH v2 6/11] Update CPU Maps

2013-04-05 Thread Nathan Fontenot
On 04/03/2013 11:42 PM, Paul Mackerras wrote: On Mon, Mar 25, 2013 at 01:57:08PM -0500, Nathan Fontenot wrote: From: Jesse Larrew jlar...@linux.vnet.ibm.com Platform events such as partition migration or the new PRRN firmware feature can cause the NUMA characteristics of a CPU to change, and

Re: [PATCH v2 7/11] Use stop machine to update cpu maps

2013-04-05 Thread Nathan Fontenot
On 04/03/2013 11:46 PM, Paul Mackerras wrote: On Mon, Mar 25, 2013 at 01:58:04PM -0500, Nathan Fontenot wrote: From: Jesse Larrew jlar...@linux.vnet.ibm.com The new PRRN firmware feature allows CPU and memory resources to be transparently reassigned across NUMA boundaries. When this happens,

Re: [PATCH] [RFC] powerpc: Add VDSO version of time

2013-04-05 Thread Adhemerval Zanella
On 04/05/2013 03:21 AM, Michael Ellerman wrote: On Tue, Mar 19, 2013 at 04:55:31PM -0300, Adhemerval Zanella wrote: Hi all, This patch implement the time syscall as vDSO. I have a glibc patch to use it as IFUNC (as latest gettimeofday patch). Below the perf numbers: Baseline PPC32: 380

Re: [PATCH 2/3] powerpc: Enable boot_vga sysfs attribute for graphics adapters on Power

2013-04-05 Thread Bjorn Helgaas
On Thu, Apr 4, 2013 at 3:58 PM, Brian King brk...@linux.vnet.ibm.com wrote: Initialize dev-dev.type such that the PCI group attributes for boot_vga and SR-IOV can be displayed if appropriate. This fixes an issue seen on Power preventing X from auto initializing a graphics adapter when using

Re: [PATCH 3/3] powerpc: Set default VGA device

2013-04-05 Thread Bjorn Helgaas
On Thu, Apr 4, 2013 at 3:58 PM, Brian King brk...@linux.vnet.ibm.com wrote: Add a PCI quirk for VGA devices on Power to set the default VGA device. Ensures a default VGA is always set if a graphics adapter is present, even if firmware did not initialize it. If more than one graphics adapter

[PATCH] powerpc: pSeries_lpar_hpte_remove fails from Adjunct partition being performed before the ANDCOND test

2013-04-05 Thread Michael Wolf
Some versions pHyp will perform the adjunct partition test before the ANDCOND test. The result of this is that H_RESOURCE can be returned and cause the BUG_ON condition to occur. The HPTE is not removed. So add a check for H_RESOURCE, it is ok if this HPTE is not removed as