|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 30/49] ARM: new VGIC: Add ENABLE registers handlers
On 27/02/18 13:54, Andre Przywara wrote: Hi, On 19/02/18 14:13, Julien Grall wrote:On 19/02/18 12:41, Andre Przywara wrote:Hi,Hi,On 16/02/18 16:57, Julien Grall wrote:On 09/02/18 14:39, Andre Przywara wrote: That's not an issue here. You can only enter in vgic_enable_irqs if the virtual interrupt was previously disabled. Because the physical interrupt is routed to the guest, it will also be disabled at that time. So is this the concern? Commit b0003bdd690 wasn't really enlightening in this respect. It was not really clear if it would be an issue when I wrote the patch. We trust the hardware domain so it is fine to let him configure the interrupt. For the guests, this will be taken from the DT (see gic_route_irq_to_guest). So this is likely to get configured correctly for the guest. What I was worry about is whether we need to sanitize the ICFGR when the interrupt is routed to another domain. But if you can clear that, then I guess it should be ok. However, I would prefer to do this in a separate patch and keep irq_type_set_by_domain around. This is to match the current vGIC and not changing too much Xen behavior. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |