From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support Date: Thu, 30 Apr 2015 15:29:24 +0100 Message-ID: <55423C44.6070702@citrix.com> References: <1426775889-29442-1-git-send-email-vijay.kilari@gmail.com> <1427973539.4037.52.camel@citrix.com> <551D4888.1020309@gmail.com> <553F6271.4010308@citrix.com> <553FB23F.7090200@citrix.com> <5540C6D5.9020400@citrix.com> <5540DE16.4090900@citrix.com> <55411D1F.4090308@citrix.com> <5541FF51.6060907@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini , Vijay Kilari Cc: Ian Campbell , Prasun Kapoor , Vijaya Kumar K , Julien Grall , Tim Deegan , "xen-devel@lists.xen.org" , Julien Grall , Stefano Stabellini , manish.jaggi@caviumnetworks.com List-Id: xen-devel@lists.xenproject.org Hi, On 30/04/15 14:47, Stefano Stabellini wrote: >>>> >>>> If the devid is not within this range, the ITS won't recognize the value and >>>> won't be able to send the interrupt. >>>> >>>> So this is clearly not the right value. >>> >>> Sure, in that case the maximum value allowed by GITS_TYPER.Devbits. >>> Vijay, what is the value of GITS_TYPER.Devbits on your platform? >> >> It is 21 bits > > I would imagine that 21 bits would be plenty to find an unused devid. > > Alternatively we could use an inexistent function of a real device, such > as 00:00.1 (function 1 of the host bridge). As discussed IRL, this idea sounds good to me. Although I would be happy with any other way which ensure the devid is free. Regards, -- Julien Grall