On 04/18/2013 07:15:46 PM, Alexander Graf wrote:
On 18.04.2013, at 23:39, Scott Wood wrote:
> Do we really want any default routes? There's no platform notion
of GSI
> here, so how is userspace to know how the kernel set it up (or what
GSIs
> are free to be used for new routes) -- other than the "read the
code"
> answer I got when I asked about x86? :-P
The "default routes" really are just "expose all pins 1:1 as GSI". I
think it makes sense to have a simple default for user space that
doesn't want to mess with irq routing.
What GSIs are free for new routes doesn't matter. Routes are always
completely rewritten as a while from user space. So when user space
goes in and wants to change only a single line it has to lay out the
full map itself anyway.
It looks like you already write the routes in your QEMU patches, so I'd
like to avoid adding MPIC default routes in KVM to keep things simple.
It's legacy baggage from day one. With default routes, what happens if
we later support instantiating multiple interrupt controllers?
-Scott
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html