[PATCH v3] KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Nov 2 21:12:06 AEDT 2021
On Thu, 28 Oct 2021 00:21:50 +1000, Nicholas Piggin wrote:
> From: Laurent Vivier <lvivier at redhat.com>
>
> Commit 112665286d08 ("KVM: PPC: Book3S HV: Context tracking exit guest
> context before enabling irqs") moved guest_exit() into the interrupt
> protected area to avoid wrong context warning (or worse). The problem is
> that tick-based time accounting has not yet been updated at this point
> (because it depends on the timer interrupt firing), so the guest time
> gets incorrectly accounted to system time.
>
> [...]
Applied to powerpc/next.
[1/1] KVM: PPC: Tick accounting should defer vtime accounting 'til after IRQ handling
https://git.kernel.org/powerpc/c/235cee162459d96153d63651ce7ff51752528c96
cheers
More information about the Linuxppc-dev
mailing list