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

Re: [Xen-devel] [PATCH for-4.5 7/8] xen/irq: Handle multiple action per IRQ



On 03/18/2014 03:10 PM, Ian Campbell wrote:
> On Tue, 2014-03-18 at 15:08 +0000, Julien Grall wrote:
>> On 03/18/2014 03:02 PM, Ian Campbell wrote:
>>>> int num_irqs = dt_number_of_irq(smmu->node);
>>>
>>> assert(num_irqs == 2) here and the rest gets a lot simpler. The maximum
>>> is a property of the hardware I think, so the driver is allowed to make
>>> such assumptions.
>>
>> I know it would be easier ... but you can't assume that num_irqs == 2 :).
>>
>> The number is not determined.
> 
> Are you saying that the SMMU-400 has an arbitrary number of interrupts?

Yes.

-- 
Julien Grall

_______________________________________________
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®.