mbox series

[for-4.14,v2,0/2] x86/passthrough: fixes for PVH dom0 edge triggered interrupts

Message ID 20200610142923.9074-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86/passthrough: fixes for PVH dom0 edge triggered interrupts | expand

Message

Roger Pau Monné June 10, 2020, 2:29 p.m. UTC
Hello,

Small series with two bugfixes to correctly handle edge triggered
interrupts on PVH dom0.

for-4.14 reasoning: fixes are isolated to PVH dom0 specific passthrough
code (IDENTITY_GSI kind of bindings), and hence shouldn't affect
passthrough to HVM domUs. Without these fixes the RTC timer won't work
correctly on a PVH dom0 because it's edge triggered (GSI 8).

Roger Pau Monne (2):
  x86/passthrough: do not assert edge triggered GSIs for PVH dom0
  x86/passthrough: introduce a flag for GSIs not requiring an EOI or
    unmask

 xen/arch/x86/hvm/irq.c        | 13 ++++++++-----
 xen/drivers/passthrough/io.c  | 24 +++++++++++++++---------
 xen/include/asm-x86/hvm/irq.h |  2 ++
 3 files changed, 25 insertions(+), 14 deletions(-)