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

Re: [Xen-devel] xen/evtchn and forced threaded irq

Hi Roger,

On Thu, 21 Feb 2019, 08:08 Roger Pau Monné, <roger.pau@xxxxxxxxxx> wrote:
FWIW, you can also mask the interrupt while waiting for the thread to
execute the interrupt handler. Ie:

Thank you for providing steps, however where would the masking be done? By the irqchip or a custom solution?

1. Interrupt injected
2. Execute guest event channel callback
3. Scan for pending interrupts
4. Mask interrupt
5. Clear pending field
6. Queue threaded handler
7. Go to 3 until all interrupts are drained
8. Execute interrupt handler in thread
9. Unmask interrupt

That should prevent you from stacking interrupts?

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.