mbox series

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

Message ID 20200610115103.7592-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, 11:51 a.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  | 14 +++++++++++++-
 xen/include/asm-x86/hvm/irq.h |  2 ++
 3 files changed, 23 insertions(+), 6 deletions(-)