Re: IRQ thread timeouts and affinity
From: Jon Hunter
Date: Fri Oct 10 2025 - 10:39:21 EST
On 10/10/2025 15:18, Marc Zyngier wrote:
...
CPU hotplug is the main area of concern, and I'm pretty sure it breaks
this distribution mechanism (or the other way around). Another thing
is that if firmware isn't aware that 1:N interrupts can (or should)
wake-up a CPU from sleep, bad things will happen. Given that nobody
uses 1:N, you can bet that any bit of privileged SW (TF-A,
hypervisors) is likely to be buggy (I've already spotted bugs in KVM
around this).
Thierry, do we ever hotplug CPUs on this device? If not, I am wondering
if something like this, for now, could only be enabled for devices that
don't hotplug CPUs. Maybe tied to the kernel config (ie.
CONFIG_HOTPLUG_CPU)? Just a thought ...
Jon
--
nvpublic