]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Change dec_expires to be relative to guest timebase
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:00 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:08:59 +0000 (21:08 +1100)
commitc623e59e86495ed1c27d38da154eb07c35f203c4
tree8a40c495102958ac41fe35883b68b1f13501b321
parent8852907e59d02915f4bcef9185a0cc634d2132cf
KVM: PPC: Book3S HV: Change dec_expires to be relative to guest timebase

Change dec_expires to be relative to the guest timebase, and allow
it to be moved into low level P9 guest entry functions, to improve
SPR access scheduling.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-23-npiggin@gmail.com
arch/powerpc/include/asm/kvm_book3s.h
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_nested.c
arch/powerpc/kvm/book3s_hv_p9_entry.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S