On Thu, 8 Sep 2022 23:25:41 +1000, Nicholas Piggin wrote:
On guest entry, vcpu->cpu and vcpu->arch.thread_cpu are set after
disabling host irqs. On guest exit there is a window whre tick time
accounting briefly enables irqs before these fields are cleared.
Move them up to ensure they are cleared before host irqs are run.
This is possibly not a problem, but is more symmetric and makes the
fields less surprising.
[...]
Patch 5 applied to powerpc/next.
[5/5] KVM: PPC: Book3S HV: Implement scheduling wait interval counters in the VPA
https://git.kernel.org/powerpc/c/e4335f53198fa0c0aefb2a38bb5518e94253412c
cheers