Re: [PATCH 04/16] xen/cpu: prevent disable_nonboot_cpus crash on ARM64

2025-03-11 Thread Julien Grall
Hi Mykola, On 05/03/2025 09:11, Mykola Kvach wrote: If we call disable_nonboot_cpus on ARM64 with system_state set to SYS_STATE_suspend, the following assertion will be triggered: ``` (XEN) [ 25.582712] Disabling non-boot CPUs ... (XEN) [ 25.587032] Assertion '!in_irq() && (local_irq_is_ena

[PATCH 04/16] xen/cpu: prevent disable_nonboot_cpus crash on ARM64

2025-03-05 Thread Mykola Kvach
If we call disable_nonboot_cpus on ARM64 with system_state set to SYS_STATE_suspend, the following assertion will be triggered: ``` (XEN) [ 25.582712] Disabling non-boot CPUs ... (XEN) [ 25.587032] Assertion '!in_irq() && (local_irq_is_enabled() || num_online_cpus() <= 1)' failed at common/xm