KVM: PPC: Book3S HV: Implement scheduling wait interval counters in the VPA
authorNicholas Piggin <npiggin@gmail.com>
Thu, 8 Sep 2022 13:25:45 +0000 (23:25 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Sep 2022 08:35:38 +0000 (18:35 +1000)
commite4335f53198fa0c0aefb2a38bb5518e94253412c
treecf01bb08beb8977c6100088470b1a93818f95ea1
parent9511b5a033e99070ae1f54cd3c0aa3d10eae7c26
KVM: PPC: Book3S HV: Implement scheduling wait interval counters in the VPA

PAPR specifies accumulated virtual processor wait intervals that relate
to partition scheduling interval times. Implement these counters in the
same way as they are repoted by dtl.

Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
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-5-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c