From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757607Ab0CLKnk (ORCPT ); Fri, 12 Mar 2010 05:43:40 -0500 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:4517 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757270Ab0CLKnj (ORCPT ); Fri, 12 Mar 2010 05:43:39 -0500 X-IronPort-AV: E=Sophos;i="4.49,625,1262563200"; d="scan'208";a="9912191" Date: Fri, 12 Mar 2010 10:47:51 +0000 From: Stefano Stabellini X-X-Sender: sstabellini@kaball-desktop To: Sheng Yang CC: Stefano Stabellini , Ian Campbell , Jeremy Fitzhardinge , Jeremy Fitzhardinge , xen-devel , "linux-kernel@vger.kernel.org" , Ian Pratt , Keir Fraser , Ingo Molnar , Konrad Rzeszutek Wilk Subject: Re: [Xen-devel] [PATCH 7/7] xen: Enable event channel of PV extension of HVM In-Reply-To: <201003120923.22666.sheng@linux.intel.com> Message-ID: References: <1268032732-8025-1-git-send-email-sheng@linux.intel.com> <201003110934.51408.sheng@linux.intel.com> <201003120923.22666.sheng@linux.intel.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 12 Mar 2010, Sheng Yang wrote: > On Thursday 11 March 2010 19:43:00 Stefano Stabellini wrote: > > On Thu, 11 Mar 2010, Sheng Yang wrote: > > > On Wednesday 10 March 2010 23:29:30 Stefano Stabellini wrote: > > > > On Wed, 10 Mar 2010, Sheng Yang wrote: > > > > > I think we can leave the controversial thing later. At least, we want > > > > > a framework for PV extension of HVM. We can work together to > > > > > determine what is the better way for evtchn, as well as porting > > > > > pirqs. (And the later MSI work may also depends on it) > > > > > > > > Most of my patch series can be upstreamed right now, the only thing > > > > that needs some extra work is the pirq remapping. > > > > So yes, we can upstream the rest and that would also make PV on HVM > > > > work on linux upstream ASAP. > > > > I think that is a worthy goal by itself, therefore I am going to send > > > > another reduced patch series, ready to be upstreamed, without pirq > > > > remappings, with support for PV on HVM. > > > > > > I think my first 6 patches can be used without modification. And I've > > > already spent lots of efforts on them with Jeremy. > > > > > > We can work on evtchn and platform pci later. > > > > Agreed on evtchn but platform pci should be present even in the basic > > version. > > Please read the series "basic PV on HVM support" I posted yesterday > > because I believe has already everything needed to be accepted upstream > > right now; at the same time it introduces the pv clocksource and the > > vector based callback mechanism that is going to be needed for the > > interrupt remapping we are going to work on later on. > > > IIRC, I think your platform PCI driver also depends on evtchn to inject > interrupt? > The original platform PCI driver used to register an interrupt based callback mechanism but in the last patch series I sent I removed it in favor of the new vector based callback you are familiar with. However I am currently working on providing the former GSI based method as a fallback, otherwise PV on HVM won't work on xen < 4.