xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Xen INTX/GSI event channel delivery fixes
@ 2021-01-13 13:26 David Woodhouse
  2021-01-13 13:26 ` [PATCH v4 1/5] xen: Fix event channel callback via INTX/GSI David Woodhouse
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: David Woodhouse @ 2021-01-13 13:26 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

v4:
 • Fix unconditional references to xen_have_vector_callback in Arm build

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               | 81 ++++++++++++++++++++-----
 include/xen/xenbus.h                            |  2 +-
 10 files changed, 110 insertions(+), 48 deletions(-)





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

end of thread, other threads:[~2021-01-27  8:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 13:26 [PATCH v4 0/5] Xen INTX/GSI event channel delivery fixes David Woodhouse
2021-01-13 13:26 ` [PATCH v4 1/5] xen: Fix event channel callback via INTX/GSI David Woodhouse
2021-01-13 13:26 ` [PATCH v4 2/5] xen: Set platform PCI device INTX affinity to CPU0 David Woodhouse
2021-01-13 13:26 ` [PATCH v4 3/5] x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery David Woodhouse
2021-01-13 13:26 ` [PATCH v4 4/5] x86/xen: Don't register Xen IPIs when they aren't going to be used David Woodhouse
2021-01-13 13:26 ` [PATCH v4 5/5] x86/xen: Fix xen_hvm_smp_init() when vector callback not available David Woodhouse
2021-01-13 15:13 ` [PATCH v4 0/5] Xen INTX/GSI event channel delivery fixes Jürgen Groß
2021-01-26 17:01   ` [PATCH] xen: Fix XenStore initialisation for XS_LOCAL David Woodhouse
2021-01-26 21:36     ` Boris Ostrovsky
2021-01-27  6:57       ` Jürgen Groß
2021-01-27  8:09     ` Jürgen Groß

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).