summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/time.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-11-23 19:51:44 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-24 21:08:57 +1100
commit34bf08a2079fffc7206a1ae93086ab8167e0afb6 (patch)
tree4317b21407fa968de30134a48317748a86d45d69 /arch/powerpc/kernel/time.c
parent9581991a60817abe311c2581ae4554b28bfa32f1 (diff)
downloadlwn-34bf08a2079fffc7206a1ae93086ab8167e0afb6.tar.gz
lwn-34bf08a2079fffc7206a1ae93086ab8167e0afb6.zip
KVM: PPC: Book3S HV P9: Reduce mftb per guest entry/exit
mftb is serialising (dispatch next-to-complete) so it is heavy weight for a mfspr. Avoid reading it multiple times in the entry or exit paths. A small number of cycles delay to timers is tolerable. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211123095231.1036501-7-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/time.c')
0 files changed, 0 insertions, 0 deletions