]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: 8758/1: decompressor: restore r1 and r2 just before jumping to the kernel
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 4 Apr 2018 07:46:58 +0000 (08:46 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sat, 19 May 2018 10:35:56 +0000 (11:35 +0100)
commitf2ae9de019e4e2807d812ec4fe1df7c34788a0a0
treeae15ff60082dd9499cc35eb513184956b0453285
parente07e3c33b9c0b5751ade624f44325c9bf2487ea6
ARM: 8758/1: decompressor: restore r1 and r2 just before jumping to the kernel

The hypervisor setup before __enter_kernel destroys the value
sotred in r1. The value needs to be restored just before the jump.

Fixes: 6b52f7bdb888 ("ARM: hyp-stub: Use r1 for the soft-restart address")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/boot/compressed/head.S