[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 pSeries_lpar_hpte_remo

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 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 present, ensure the

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 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 KMS. > > Signed-off-by:

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

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 >> >> The new PRRN firmware feature allows CPU and memory resources to be >> transparently reassigned across NUMA boundaries. When this happens, the >> kernel must

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 >> >> Platform events such as partition migration or the new PRRN firmware >> feature can cause the NUMA characteristics of a CPU to change, and these >> changes w

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 Ibrahi

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 >> >> A PRRN event is signaled via the RTAS event-scan mechanism, which >> returns a Hot Plug Event message "fixed part" indicating "Platform >> Resource Reassignm

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 Apr

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

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 f

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

2013-04-05 Thread Kumar Gala
Signed-off-by: Kumar Gala --- 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 9b39a43..a93c55a 100644 --- a/arch

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

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 > > We are currently out of free bits in AT_HWCAP. With POWER8, we have > several hardware features that we need to a