On Fri, 3 Mar 2023 at 17:21, Paolo Bonzini <pbonz...@redhat.com> wrote: > > Ensure ordering between clearing the COMPUTING flag and checking > IRQFACT, and between setting the IRQFACT flag and checking > COMPUTING. This ensures that no wakeups are lost. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Why is this device even messing around with multiple threads and atomics anyway ?? I'm quite tempted to suggest we should deprecate-and-drop this; it's not real hardware, it doesn't do anything useful, and it's not a good model to follow if you're implementing some other device. thanks -- PMM