OSDN Git Service

KVM: PPC: Book3S HV P9: Restore stolen time logging in dtl
authorNicholas Piggin <npiggin@gmail.com>
Thu, 8 Sep 2022 13:25:44 +0000 (23:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Sep 2022 15:07:19 +0000 (01:07 +1000)
commit1a5486b3c3517aa1f608a10003ade4da122cb175
tree486d111e972d6af7f28a2510a3f1eac2d5d05d90
parentb31bc24a49037aad7aa00d2b0354e9704d8134dc
KVM: PPC: Book3S HV P9: Restore stolen time logging in dtl

Stolen time logging in dtl was removed from the P9 path, so guests had
no stolen time accounting. Add it back in a simpler way that still
avoids locks and per-core accounting code.

Fixes: ecb6a7207f92 ("KVM: PPC: Book3S HV P9: Remove most of the vcore logic")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220908132545.4085849-4-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c