From: Jan Beulich Date: Mon, 22 Jul 2019 10:03:46 +0000 (+0200) Subject: AMD/IOMMU: process softirqs while dumping IRTs X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1875 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=df2030c34cc9161dd9e35c0e8c55057e101ac81a;p=xen.git AMD/IOMMU: process softirqs while dumping IRTs When there are sufficiently many devices listed in the ACPI tables (no matter if they actually exist), output may take way longer than the watchdog would like. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper Acked-by: Brian Woods --- diff --git a/xen/drivers/passthrough/amd/iommu_intr.c b/xen/drivers/passthrough/amd/iommu_intr.c index 925651ec2d..edc3cae431 100644 --- a/xen/drivers/passthrough/amd/iommu_intr.c +++ b/xen/drivers/passthrough/amd/iommu_intr.c @@ -22,6 +22,7 @@ #include #include #include +#include #define INTREMAP_TABLE_ORDER 1 #define INTREMAP_LENGTH 0xB @@ -698,6 +699,8 @@ static int dump_intremap_mapping(u16 seg, struct ivrs_mappings *ivrs_mapping) dump_intremap_table(ivrs_mapping->intremap_table); spin_unlock_irqrestore(&(ivrs_mapping->intremap_lock), flags); + process_pending_softirqs(); + return 0; }