[PATCH 1/2] powerpc/book3e-64: hv exceptions aren't MASKABLE

Scott Wood scottwood at freescale.com
Sat May 21 05:39:47 EST 2011


On Fri, 20 May 2011 14:36:09 -0500
Kumar Gala <galak at kernel.crashing.org> wrote:

> 
> On May 20, 2011, at 2:00 PM, Scott Wood wrote:
> 
> > In general we will not have EE soft-disabled or be napping when
> > these exceptions happen, but still it is not correct.
> > 
> > The guest doorbell exceptions can only be triggered with MSR[GS]=1,
> > and thus for host kernel nesting purposes are base-level exceptions.
> > 
> > Note that ehpriv and hypercall are triggerable from normal userspace.
> > I tested that the process gets properly signalled in this case.
> > 
> > Signed-off-by: Scott Wood <scottwood at freescale.com>
> > ---
> > arch/powerpc/include/asm/reg_booke.h |    2 +
> > arch/powerpc/kernel/exceptions-64e.S |   67 ++++++++++++++++++++++++++--------
> > 2 files changed, 53 insertions(+), 16 deletions(-)
> 
> Can you look at a similar patch for 32-bit fsl-booke so we handle HV exceptions if they happen to get generated, maybe something already exists for KVM.

Yes.

-Scott



More information about the Linuxppc-dev mailing list