Skip to content

Fix xen IRQ allocation failure caused by commit b81975eade8c

Jiang Liu linux-arm-kernel linux-pci linux-pm lkml xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 10 repliesIn review
  2. v31 patch 2 repliesSuperseded
  3. v2 posting 2/21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v2 posting 1/21 patch12 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen/pci: Fix xen IRQ allocation failure caused by commit b81975eade8carch/x86/kernel/acpi/boot.c arch/x86/pci/xen.c+13 -600 replies
1/2xen/pci: Fix xen IRQ allocation failure caused by commit b81975eade8carch/x86/kernel/acpi/boot.c arch/x86/pci/xen.c+13 -607 replies
2/2xen/pci: Simplify x86/pci/xen.c by killing gsi_override related codearch/x86/pci/xen.c+6 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [Bugfix v4 0/2] Fix xen IRQ allocation failure caused by commit b81975eade8c

With more knowledge of Xen interrupt manangement subsytem, I realized previous three versions to fix https://lkml.org/lkml/2014/12/19/178 are just plainly wrong. Those patches try to fix the issue by creating irqdomain for IOAPICs for PV domains, which effectively let native IOAPIC driver and Xen PV interrupt management subsystem to manage IOAPIC irqs concurrently, sounds unpredictable.

Sorry for those wrong fixes. The good news is that the new fix does make code simpler and easier to maintain.

I have tested the patchset on Intel platform with bare metal and Dom0 kernels.

Hi Sander,
Could you please help to test it again?

Regards!
Gerry

Jiang Liu (2):
xen/pci: Kill function xen_setup_acpi_sci()
xen/pci: Simplify x86/pci/xen.c by killing gsi_override related code

 arch/x86/kernel/acpi/boot.c |   26 ++++++++---------
 arch/x86/pci/xen.c          |   68 ++++---------------------------------------
 2 files changed, 19 insertions(+), 75 deletions(-)
Signature · 1 line
1.7.10.4