All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Xen INTX/GSI event channel delivery fixes
@ 2021-01-06 15:39 David Woodhouse
  2021-01-06 15:39 ` [PATCH v3 1/5] xen: Fix event channel callback via INTX/GSI David Woodhouse
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: David Woodhouse @ 2021-01-06 15:39 UTC (permalink / raw)
  To: x86
  Cc: Stefano Stabellini, Boris Ostrovsky, Juergen Gross, Paul Durrant,
	jgrall, karahmed, xen-devel

Fix various breakages with INTX/GSI event channel interrupt delivery,
and add a command line option to test it so that it hopefully doesn't
get so broken again.

Karim attempted to rip this out in 2017 but put it back because it's still
necessary with older versions of Xen. This fixes it properly, and makes it
easier to test. cf. https://lkml.org/lkml/2017/4/10/266

v2:
 • Add no_vector_callback to Documentation/admin-guide/kernel-parameters.txt
 • Further fixes to conditional smp_ops initialisation in xen_hvm_smp_init()

v3:
 • Rename test option to xen_no_vector_callback

David Woodhouse (5):
      xen: Fix event channel callback via INTX/GSI
      xen: Set platform PCI device INTX affinity to CPU0
      x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
      x86/xen: Don't register Xen IPIs when they aren't going to be used
      x86/xen: Fix xen_hvm_smp_init() when vector callback not available

 Documentation/admin-guide/kernel-parameters.txt |  4 ++
 arch/arm/xen/enlighten.c                        |  2 +-
 arch/x86/xen/enlighten_hvm.c                    | 15 ++++--
 arch/x86/xen/smp_hvm.c                          | 27 ++++++----
 drivers/xen/events/events_base.c                | 10 ----
 drivers/xen/platform-pci.c                      |  8 ++-
 drivers/xen/xenbus/xenbus.h                     |  1 +
 drivers/xen/xenbus/xenbus_comms.c               |  8 ---
 drivers/xen/xenbus/xenbus_probe.c               | 68 ++++++++++++++++++++-----
 include/xen/xenbus.h                            |  2 +-
 10 files changed, 97 insertions(+), 48 deletions(-)




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

end of thread, other threads:[~2021-01-13 12:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-06 15:39 [PATCH v3 0/5] Xen INTX/GSI event channel delivery fixes David Woodhouse
2021-01-06 15:39 ` [PATCH v3 1/5] xen: Fix event channel callback via INTX/GSI David Woodhouse
2021-01-13 11:20   ` Jürgen Groß
2021-01-13 12:21     ` David Woodhouse
2021-01-06 15:39 ` [PATCH v3 2/5] xen: Set platform PCI device INTX affinity to CPU0 David Woodhouse
2021-01-06 15:39 ` [PATCH v3 3/5] x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery David Woodhouse
2021-01-06 15:51   ` boris.ostrovsky
2021-01-06 15:39 ` [PATCH v3 4/5] x86/xen: Don't register Xen IPIs when they aren't going to be used David Woodhouse
2021-01-06 15:39 ` [PATCH v3 5/5] x86/xen: Fix xen_hvm_smp_init() when vector callback not available David Woodhouse

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.