Re: [PATCH] KVM: PPC: Defer vtime accounting 'til after IRQ handling

2021-10-07 Thread Laurent Vivier
On 06/10/2021 12:42, Greg Kurz wrote: On Wed, 6 Oct 2021 09:37:45 +0200 Laurent Vivier wrote: Commit 61bd0f66ff92 has moved guest_enter() out of the interrupt protected area to be able to have updated tick counters, but commit 112665286d08 moved back to this area to avoid wrong context warnin

Re: [PATCH] KVM: PPC: Defer vtime accounting 'til after IRQ handling

2021-10-06 Thread Greg Kurz
On Wed, 6 Oct 2021 09:37:45 +0200 Laurent Vivier wrote: > Commit 61bd0f66ff92 has moved guest_enter() out of the interrupt > protected area to be able to have updated tick counters, but > commit 112665286d08 moved back to this area to avoid wrong > context warning (or worse). > > None of them a

[PATCH] KVM: PPC: Defer vtime accounting 'til after IRQ handling

2021-10-06 Thread Laurent Vivier
Commit 61bd0f66ff92 has moved guest_enter() out of the interrupt protected area to be able to have updated tick counters, but commit 112665286d08 moved back to this area to avoid wrong context warning (or worse). None of them are correct, to fix the problem port to POWER the x86 fix 160457140187 (