[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v6 15/22] arm/acpi: Permit access all Xen unused SPIs for Dom0




On 2016/3/24 23:37, Julien Grall wrote:
> Hi Shannon,
> 
> On 24/03/16 15:01, Shannon Zhao wrote:
>> On 2016年03月23日 02:18, Julien Grall wrote:
>>>
>>>> +     * Dom0 configures the interrupt, set the interrupt type and
>>>> route it to
>>>> +     * Dom0.
>>>> +     */
>>>> +    for( i = NR_LOCAL_IRQS; i < vgic_num_irqs(d); i++ )
>>>> +    {
>>>> +        desc = irq_to_desc(i);
>>>> +        if( desc->action != NULL)
>>>
>>> Well some of the SPIs used by Xen may not be registered yet. For
>>> instance the SMMU driver doesn't register any SPIs until it's necessary
>>> (i.e a device is assigned to a domain).
>> But when SMMU requests some SPI, it will delete the route and
>> reconfigure the SPI, right?
> 
> No, the SMMU driver will fail to request the interrupt if it's already
> in use.
Hmm, re-think about this, since we don't support SMMU with ACPI now, we
could exclude those interrupts later. I'll add a TODO comment here.

Thanks.
-- 
Shannon


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.