From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjfB7-0000WM-9R for qemu-devel@nongnu.org; Thu, 21 Nov 2013 20:05:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjfB2-0001c4-NE for qemu-devel@nongnu.org; Thu, 21 Nov 2013 20:05:01 -0500 Received: from [222.73.24.84] (port=45324 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjfB2-0001by-94 for qemu-devel@nongnu.org; Thu, 21 Nov 2013 20:04:56 -0500 Message-ID: <528EAD44.3020504@cn.fujitsu.com> Date: Fri, 22 Nov 2013 09:03:00 +0800 From: Li Guang MIME-Version: 1.0 References: <1385001528-12003-1-git-send-email-imammedo@redhat.com> <1385001528-12003-17-git-send-email-imammedo@redhat.com> <20131121071418.GB19703@redhat.com> <20131121081222.GG24886@G08FNSTD100614.fnst.cn.fujitsu.com> <528DC1E5.8090408@cn.fujitsu.com> <20131121082909.GB20073@redhat.com> <528DC51B.3000302@cn.fujitsu.com> <20131121141918.69848186@nial.usersys.redhat.com> In-Reply-To: <20131121141918.69848186@nial.usersys.redhat.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Subject: Re: [Qemu-devel] [PATCH 16/27] acpi: ich9: allow guest to clear SCI rised by GPE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: peter.maydell@linaro.org, aliguori@amazon.com, stefanb@linux.vnet.ibm.com, qemu-devel@nongnu.org, Hu Tao , "Michael S. Tsirkin" , mjt@tls.msk.ru, mdroth@linux.vnet.ibm.com, armbru@redhat.com, vasilis.liaskovitis@profitbricks.com, quintela@redhat.com, kraxel@redhat.com, stefanha@redhat.com, pbonzini@redhat.com, marcel.a@redhat.com, lcapitulino@redhat.com, chegu_vinod@hp.com, afaerber@suse.de Igor Mammedov wrote: > On Thu, 21 Nov 2013 16:32:27 +0800 > Li Guang wrote: > > >> Michael S. Tsirkin wrote: >> >>> On Thu, Nov 21, 2013 at 04:18:45PM +0800, Li Guang wrote: >>> >>> >>>> Hu Tao wrote: >>>> >>>> >>>>> On Thu, Nov 21, 2013 at 09:14:18AM +0200, Michael S. Tsirkin wrote: >>>>> >>>>> >>>>>> On Thu, Nov 21, 2013 at 03:38:37AM +0100, Igor Mammedov wrote: >>>>>> >>>>>> >>>>>>> it fixes IRQ storm since guest isn't able to lower SCI IRQ >>>>>>> after it has been handled when it clears GPE event. >>>>>>> >>>>>>> Signed-off-by: Igor Mammedov >>>>>>> >>>>>>> >>>>>> The storm is only on memory hotplug right? >>>>>> >>>>>> >>>>> IIRC, it happens on cpu hotplug, too. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> :-), that made remember EC implementation, >>>> with EC, SCI will be safer, I think. >>>> >>>> >>> Hmm you are saying let's use EC for memory hotplug? >>> >>> >>> >>> >> It can be a bridge between guest and QEMU, >> with it, we may don't have to bother ASL writing >> and south-bridge hardware related work(or very >> little) if we implement EC correctly. >> >> > Wouldn't it require guest driver though? > Beauty of ASL/GPE it's that it supported by Windows and Linux > out of box. > > it did require guest driver, but as a ACPI standard device, the driver is natively implemented by ACPI compatible OS.