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

2013-04-05 Thread Michael Wolf
pSeries_lpar_hpte_remove is looking for an HPTE to remove and not a specific HPTE to remove. So it is ok to just move on to the next slot and try again. Signed-off-by: Michael Wolf --- diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index c9a29da..724fa0b 100644 --- a/arch

[PATCH] Adjunct partition test

2013-04-04 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. So add a check for H_RESOURCE as well. Signed-off-by: Michael Wolf --- diff --git a/arch/powerpc/platforms/pseries

[PATCH v2] powerpc/ptrace: remove BUG_ON when full register set not available

2011-03-16 Thread Michael Wolf
In some cases during a threaded core dump not all the threads will have a full register set. This will cause problems when the sigkill is sent to the thread. To solve this problem a poison value (0xdeadbeef) will be placed in the buffer in place of the actual register values. This will affect

Re: [PATCH] powerpc/ptrace: remove BUG_ON when full register set not available

2011-03-02 Thread Michael Wolf
On Wed, 2011-03-02 at 14:08 +1100, Benjamin Herrenschmidt wrote: > > --- ptracev2.orig/include/linux/regset.h2011-02-20 12:15:57.0 > > -0600 > > +++ ptracev2/include/linux/regset.h 2011-02-28 13:33:36.685302349 -0600 > > @@ -240,6 +240,34 @@ static inline int user_regset_copyout(un > >

[PATCH] powerpc/ptrace: remove BUG_ON when full register set not available

2011-03-01 Thread Michael Wolf
In some cases during a threaded core dump not all the threads will have a full register set. This will cause problems when the sigkill is sent to the thread. To solve this problem a poison value (0xdeadbeef) will be placed in the buffer in place of the actual register values. This will affect

powerpc/ptrace: Fix bug in signal handling

2011-02-22 Thread Michael Wolf
In some cases during a threaded core dump not all the threads will have a full register set. This will cause problems when the sigkill is sent to the thread Signed-off-by: Mike Wolf --- --- ptrace-signal.orig/arch/powerpc/kernel/ptrace.c 2011-02-20 12:15:57.0 -0600 +++

[PATCH] powerpc: fix cpu name in show-cpuinfo

2009-12-16 Thread Michael Wolf
When looking at /proc/cpuinfo the cpuname will be 'unknown" if the pvr mask is 0. This is the case for the kernel running on new or unknown hardware. However the cpuname is always specified so use the name regardless of the pvr mask. Signed-off-by: Mike Wolf --- --- mainline.orig/arch/powerpc/k