[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [RFC PATCH v2 13/22] xen/arm: its: Add virtual ITS command support
- To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, Vijay Kilari <vijay.kilari@xxxxxxxxx>
- From: Julien Grall <julien.grall@xxxxxxxxxx>
- Date: Thu, 30 Apr 2015 15:29:24 +0100
- Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>, Prasun Kapoor <Prasun.Kapoor@xxxxxxxxxxxxxxxxxx>, Vijaya Kumar K <vijaya.kumar@xxxxxxxxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>, Julien Grall <julien.grall@xxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, manish.jaggi@xxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 30 Apr 2015 14:31:28 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|