|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 06/21] xen/arm: Allow virq != irq
Hi Ian, On 09/09/14 06:29, Ian Campbell wrote: Mostly spelling/grammar nits, a couple of questions but mostly looks good. On Thu, 2014-07-31 at 16:00 +0100, Julien Grall wrote:Actually Xen is assuming that the virtual IRQ will always be equal the IRQ."be equal to" or better "always be the same as".Modify, route_guest_irq to take the virtual IRQ in parameter and let XenSpurious comma.assigned a different IRQ number. Also store the vIRQ in the desc action to"assign".retrieve easily the IRQ target when we need to inject the interrupt."easily retrieve" (or "be able to easily retrieve")As DOM0 will get most the device, the vIRQ is equal to the IRQ."most of the devices". I suppose the sentence should end with "in that case" or something? Yes. I will fix all the grammar nits in the next version.
This was a safe guard in case of developer were misusing the function. Actually every callers of this function are checking that the IRQ is assigned to a guest before calling irq_get_domain. I will mention it in the commit log.
I haven't thought about this possibility. This is the only caller, so I will pass irq_guest. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |