x86/acpi: process softirqs while printing CPU ACPI data

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>
This commit is contained in:
Roger Pau Monné authored and Jan Beulich committed 2018-01-24 18:02:14 +01:00
1 parent 6db1f0e66e
commit a5579ee79e
1 file changed
+3
+3
View 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)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.