]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteda85ba6941fea372dc431062600fb58285d91c1
tree486d111e972d6af7f28a2510a3f1eac2d5d05d90
parentaf01b1ea2a5dc86300b4612f8bb5e19469cb2356
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: db4e28aadb40 ("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