On Thu, Feb 15, 2018 at 10:03:01PM +0100, Christoffer Dall wrote: > There is no need to figure out inside the world-switch if we should > save/restore the debug registers or not, we might as well do that in the > higher level debug setup code, making it easier to optimize down the > line. > > Reviewed-by: Julien Thierry <julien.thierry@xxxxxxx> > Reviewed-by: Marc Zyngier <marc.zyngier@xxxxxxx> > Signed-off-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx> > --- > arch/arm64/kvm/debug.c | 5 +++++ > arch/arm64/kvm/hyp/debug-sr.c | 6 ------ > 2 files changed, 5 insertions(+), 6 deletions(-) > Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>