From: Roger Pau Monné Date: Fri, 17 May 2024 13:56:05 +0000 (+0200) Subject: x86/msi: prevent watchdog triggering when dumping MSI state X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=594b22ca5be681ec1b42c34f321cc2600d582210;p=people%2Faperard%2Fxen-unstable.git x86/msi: prevent watchdog triggering when dumping MSI state Use the same check that's used in dump_irqs(). Signed-off-by: Roger Pau Monné Release-acked-by: Oleksii Kurochko Acked-by: Andrew Cooper --- diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c index 19830528b6..0c97fbb3fc 100644 --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -1451,6 +1452,9 @@ static void cf_check dump_msi(unsigned char key) unsigned long flags; const char *type = "???"; + if ( !(irq & 0x1f) ) + process_pending_softirqs(); + if ( !irq_desc_initialized(desc) ) continue;