On Thu, Aug 14, 2025, at 15:00, Catalin Marinas wrote: > On Wed, Aug 13, 2025 at 06:29:37PM +0200, Arnd Bergmann wrote: >> On Wed, Aug 13, 2025, at 18:09, Catalin Marinas wrote: >> and virtual machines with CPU overcommit. > > Not sure it helps here. With vCPU overcommit, KVM enables WFE trapping > and the event stream no longer has any effect (it's not like it > interrupts the host). I would expect a similar overhead for the WFE trapping as for the bare-metal hardware case: When the WFE traps, the host has to reschedule all guests that are in WFE periodically, while WFET with event stream disabled means this can be driven by an accurate host timer. > That said, my worry is that either broken hardware or software rely on > the event stream unknowingly, e.g. someone using WFE in a busy loop. And > for hardware errata, we've had a few where the wakeup events don't > propagate between clusters, though these we can toggle on a case by case > basis. Don't we already support hardware without a functional architected timer even with? Those don't use the event stream today even when CONFIG_ARM_ARCH_TIMER_EVTSTREAM is enabled. Arnd