Does it make sense to flush ap_list of offlined vcpu?

From: Heyi Guo
Date: Thu May 09 2019 - 11:27:31 EST

Hi folks,

When guest OS calls PSCI CPU_OFF, the corresponding VCPU will be put in sleep state. But if there is still IRQ remaining in this VCPU's ap_list, this will block all the following triggers of this IRQ even to other VCPUs. Does it make sense to flush the ap_list of the VCPU when it is requested to be offlined? Or did I miss something?