[xen stable-4.10] x86/acpi: process softirqs while printing CPU ACPI data

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen stable-4.10] x86/acpi: process softirqs while printing CPU ACPI data

patchbot
commit a69cfdf0c1845cf13a3677c82f6e29bd17ca37b2
Author:     Roger Pau Monné <[hidden email]>
AuthorDate: Thu Feb 8 11:44:49 2018 +0100
Commit:     Jan Beulich <[hidden email]>
CommitDate: Thu Feb 8 11:44:49 2018 +0100

    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 <[hidden email]>
    Signed-off-by: Roger Pau Monné <[hidden email]>
    Acked-by: Andrew Cooper <[hidden email]>
    Acked-by: Jan Beulich <[hidden email]>
    master commit: a5579ee79ef8546dd47abe34d73dc9a69a14bbda
    master date: 2018-01-24 18:02:14 +0100
---
 xen/arch/x86/acpi/cpu_idle.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c
index 884ee32..b605a87 100644
--- a/xen/arch/x86/acpi/cpu_idle.c
+++ b/xen/arch/x86/acpi/cpu_idle.c
@@ -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)
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.10


_______________________________________________
Xen-changelog mailing list
[hidden email]
https://lists.xenproject.org/xen-changelog