From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [RFC][KVM][PATCH 1/1] kvm:ppc:booke-64: soft-disable interrupts Date: Thu, 9 May 2013 17:13:03 -0500 Message-ID: <1368137583.654.15@snotra> References: <1368134856.654.11@snotra> <1368137220.3715.14.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="Flowed"; DelSp="Yes" Content-Transfer-Encoding: 7bit Cc: Wood Scott-B07421 , "kvm@vger.kernel.org" , Caraman Mihai Claudiu-B02008 , "agraf@suse.de" , "kvm-ppc@vger.kernel.org" , "tiejun.chen" , Bhushan Bharat-R65777 , "linuxppc-dev@lists.ozlabs.org" To: Benjamin Herrenschmidt Return-path: In-Reply-To: <1368137220.3715.14.camel@pasglop> (from benh@kernel.crashing.org on Thu May 9 17:07:00 2013) Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" List-Id: kvm.vger.kernel.org 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