xen/x86: prevent local APIC errors at shutdown
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 10 repliesIn review
- v25 patches 14 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/shutdown: offline APs with interrupts disabled on all CPUsxen/ | +20 | 2 replies | |
| 2/5 | x86/irq: drop fixup_irqs() parametersxen/ xen/ xen/ | +16 | 0 replies | |
| 3/5 | x86/smp: perform disabling on interrupts ahead of AP shutdownxen/ | +2 | 0 replies | |
| 4/5 | x86/pci: disable MSI(-X) on all devices at shutdownxen/ xen/ xen/ +3 more | +73 | 4 replies | |
| 5/5 | x86/iommu: disable interrupts at shutdownxen/ xen/ xen/ +5 more | +55 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Jan Beulich | Oleksii Kurochko |
|---|---|---|
| Series | Release-Acked-by | |
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-4.20 v3 0/5] xen/x86: prevent local APIC errors at shutdown
Hello,
The following series aims to prevent local APIC errors from stalling the shtudown process. On XenServer testing we have seen reports of AMD boxes sporadically getting stuck in a spam of:
APIC error on CPU0: 00(08), Receive accept error
Messages during shutdown, as a result of device interrupts targeting CPUs that are offline (and have the local APIC disabled).
First patch strictly solves the issue of shutdown getting stuck, further patches aim to quiesce interrupts from all devices (known by Xen) as an attempt to prevent a spurious "APIC error on CPU0: 00(00)" plus also make kexec more reliable.
Thanks, Roger.
Roger Pau Monne (5):
x86/shutdown: offline APs with interrupts disabled on all CPUs x86/irq: drop fixup_irqs() parameters
x86/smp: perform disabling on interrupts ahead of AP shutdown x86/pci: disable MSI(-X) on all devices at shutdown x86/iommu: disable interrupts at shutdown
xen/arch/x86/crash.c | 8 +++++ xen/arch/x86/include/asm/irq.h | 4 +-- xen/arch/x86/include/asm/msi.h | 1 + xen/arch/x86/irq.c | 30 +++++++--------- xen/arch/x86/msi.c | 18 ++++++++++ xen/arch/x86/smp.c | 33 ++++++++++++----- xen/arch/x86/smpboot.c | 2 +- xen/drivers/passthrough/amd/iommu.h | 1 + xen/drivers/passthrough/amd/iommu_init.c | 17 +++++++++ xen/drivers/passthrough/amd/pci_amd_iommu.c | 1 + xen/drivers/passthrough/iommu.c | 12 +++++++ xen/drivers/passthrough/pci.c | 39 +++++++++++++++++++++ xen/drivers/passthrough/vtd/iommu.c | 19 ++++++++++ xen/include/xen/iommu.h | 3 ++ xen/include/xen/pci.h | 7 ++++ 15 files changed, 166 insertions(+), 29 deletions(-)
Signature · 1 line
2.46.0