[RFC][KVM][PATCH 1/1] kvm:ppc:booke-64: soft-disable interrupts

Scott Wood scottwood at freescale.com
Fri May 10 08:13:03 EST 2013


On 05/09/2013 05:07:00 PM, Benjamin Herrenschmidt wrote:
> On Thu, 2013-05-09 at 16:27 -0500, Scott Wood wrote:
> > On 05/09/2013 07:37:42 AM, Benjamin Herrenschmidt wrote:
> > > On Thu, 2013-05-09 at 17:44 +0800, tiejun.chen wrote:
> > > >
> > > > Actually in the case GS=1 even if EE=0, EXT/DEC/DBELL still  
> occur
> > > as I
> > > > recall.
> > >
> > > Only if directed to the hypervisor.
> >
> > This is always the case with KVM, right?  At least on booke...
> 
> Hrm, on A2 we could choose iirc. Well not DEC but EXT at least, I  
> don't
> remember about DBELL.

As for as the hardware goes we can choose on e500mc as well -- we just  
don't support it in KVM, because we can't distinguish between guest and  
host interrupts without routing the latter to critical, which is way  
too much of a pain for Linux (we did it in our standalone hypervisor,  
though).

-Scott


More information about the Linuxppc-dev mailing list