Re: [PATCH 15/17] KVM: PPC: Support irq routing and irqfd for in-kernel MPIC

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

 



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-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux