]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV P9: Add helpers for OS SPR handling
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:39 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:14 +0000 (22:12 +1000)
commitaee15245f760363730a6d3b54afd34d4088b3dc8
tree258aca5a53cfc5c80d4613df3a7193f331d3e6f1
parent0fab40dc4687cc1a4166d26c08d2807cee86b363
KVM: PPC: Book3S HV P9: Add helpers for OS SPR handling

This is a first step to wrapping supervisor and user SPR saving and
loading up into helpers, which will then be called independently in
bare metal and nested HV cases in order to optimise SPR access.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-20-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c