]> xenbits.xensource.com Git - people/dariof/xen.git/commitdiff
x86/acpi: process softirqs while printing CPU ACPI data
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 24 Jan 2018 17:02:14 +0000 (18:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Jan 2018 17:02:14 +0000 (18:02 +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>
xen/arch/x86/acpi/cpu_idle.c

index cb1c5da36c9883ab719bb01533f7335eb6c1e56f..bad2785e3746476992280b560400c7fc4635ac2a 100644 (file)
@@ -352,7 +352,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)