[Android-virt] Concerning IRQ handlers

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

 



2012/3/29 Alexander Golec <thejfasi at gmail.com>:
> My question is: qemu is raising an IRQ with n equal to 42. Does that mean
> that the kernel sees IRQ 42 go up? Because it if does, then that's the wrong
> irq. Or is it the handler method that actually picks which number IRQ will
> go up?

At the moment (since we haven't implemented in-kernel VGIC support) QEMU
emulates the GIC itself, so the device will raise IRQ 42 (or whatever),
and then the emulated GIC will look at priorities and interrupt masks
and so on and will either (a) do nothing or (b) raise either the IRQ
or FIQ line to a particular CPU. So (when using KVM) the kernel will
only see IRQ/FIQ, not the numbered interrupt into the GIC.

-- PMM


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux