summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/lpar.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-09-02 18:53:13 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-04 22:39:59 +1000
commita8933c8d55c37f4d5eb617b4bdb72b8888b88681 (patch)
tree68767e46155e503ec7ae4a12c9e15999df5fc294 /arch/powerpc/platforms/pseries/lpar.c
parent501fe299826ead2cfa2046b5c244e36de254ec6a (diff)
powerpc/pseries: Add wait interval counter definitions to struct lppaca
The hypervisor exposes accumulated partition scheduling interval times in the VPA (lppaca). These can be used to implement a simple stolen time in the guest without complex and costly dtl scanning. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com> Link: https://lore.kernel.org/r/20220902085316.2071519-2-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
0 files changed, 0 insertions, 0 deletions