All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] vpci/msi: fix updating already bound MSI interrupts
@ 2018-05-08  9:23 Roger Pau Monne
  2018-05-08  9:25 ` [PATCH 1/2] vpci/msi: split code to bind pirq Roger Pau Monne
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Roger Pau Monne @ 2018-05-08  9:23 UTC (permalink / raw)
  To: xen-devel; +Cc: Roger Pau Monne

Hello,

There's a bug in current vpci code for MSI emulation when updating an
already bound interrupt. The code will disable and enable the interrupt
in order to update the binding, which calls unmap_domain_pirq that
disables the global MSI enable flag in the control register.

In order to fix this incorrect behavior introduce a new update helper
that should be used to update the bindings of an already enabled group
of MSI interrupts.

Thanks, Roger.

Roger Pau Monne (2):
  vpci/msi: split code to bind pirq
  vpci/msi: fix update of bound MSI interrupts

 xen/arch/x86/hvm/vmsi.c | 96 +++++++++++++++++++++++++++++------------
 xen/drivers/vpci/msi.c  |  3 +-
 xen/include/xen/vpci.h  |  2 +
 3 files changed, 71 insertions(+), 30 deletions(-)

-- 
2.17.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-05-14 15:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-08  9:23 [PATCH 0/2] vpci/msi: fix updating already bound MSI interrupts Roger Pau Monne
2018-05-08  9:25 ` [PATCH 1/2] vpci/msi: split code to bind pirq Roger Pau Monne
2018-05-14 12:24   ` Jan Beulich
2018-05-14 14:15     ` Roger Pau Monné
2018-05-14 14:56       ` Jan Beulich
2018-05-14 15:00         ` Roger Pau Monné
2018-05-14 15:07           ` Jan Beulich
2018-05-08  9:25 ` [PATCH 2/2] vpci/msi: fix update of bound MSI interrupts Roger Pau Monne
2018-05-14 12:29   ` Jan Beulich
2018-05-14 14:27     ` Roger Pau Monné
2018-05-14 14:59       ` Jan Beulich
2018-05-08  9:30 ` [PATCH 0/2] vpci/msi: fix updating already " Juergen Gross
2018-05-08  9:40   ` Roger Pau Monné

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.