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?

Thanks,
-- 
Shannon

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

Reply via email to