]> xenbits.xensource.com Git - xen.git/commitdiff
x86/acpi: process softirqs while printing CPU ACPI data
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 14 Feb 2018 10:35:42 +0000 (11:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Feb 2018 10:35:42 +0000 (11:35 +0100)
Or else the watchdog triggers on boxes with a huge number of CPUs

Reported-by: Simon Crowe <simon.crowe@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
master commit: a5579ee79ef8546dd47abe34d73dc9a69a14bbda
master date: 2018-01-24 18:02:14 +0100

xen/arch/x86/acpi/cpu_idle.c

index a21aeeda2d3403550ccfdd8c68393cd1a98bb5ad..a381c682bcceb77dbf88ca36db085f66a68a196d 100644 (file)
@@ -331,7 +331,10 @@ static void dump_cx(unsigned char key)
     printk("'%c' pressed -> printing ACPI Cx structures\n", key);
     for_each_online_cpu ( cpu )
         if (processor_powers[cpu])
+        {
             print_acpi_power(cpu, processor_powers[cpu]);
+            process_pending_softirqs();
+        }
 }
 
 static int __init cpu_idle_key_init(void)