From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vijay Kilari Subject: Re: [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support Date: Tue, 5 May 2015 17:30:02 +0530 Message-ID: References: <1426775889-29442-1-git-send-email-vijay.kilari@gmail.com> <55411D1F.4090308@citrix.com> <5541FF51.6060907@citrix.com> <55423C44.6070702@citrix.com> <55476E72.2010003@citrix.com> <554777CE.6060705@citrix.com> <55477A0F.50003@citrix.com> <5547A5BB.2030802@citrix.com> <5548ADC5.9080000@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5548ADC5.9080000@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Ian Campbell , Stefano Stabellini , Prasun Kapoor , Vijaya Kumar K , Julien Grall , Tim Deegan , "xen-devel@lists.xen.org" , Stefano Stabellini , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org On Tue, May 5, 2015 at 5:17 PM, Julien Grall wrote: > On 05/05/15 12:06, Vijay Kilari wrote: >> One MSI per domain is always consumed because each domain during >> ITS initialization creates Virtual ITS and sends basic initialization >> commands (MAPC) > > AFAICT, MAPC won't be translated to a physical command. So not interrupt > completion is necessary. > > Couldn't we defer the interrupt completion allocation until a PCI device > is passthrough or a command requiring physical command is sent? yes, but MAPC is generally followed by SYNC command and INVALL command is also received during guest driver init. On option that I can think of is that avoid posting to physical queue/completion interrupt allocation, untill first MAPD command arrives for that domain. Regards Vijay