]> 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)
commitb512080ea270d813775fbd902dd699c09c1808d7
tree258aca5a53cfc5c80d4613df3a7193f331d3e6f1
parent9ffa0c95773db720f278fe6d10bbebb38bf769bc
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