https://github.com/torvalds/linux
Revision f2ae9de019e4e2807d812ec4fe1df7c34788a0a0 authored by Łukasz Stelmach on 04 April 2018, 07:46:58 UTC, committed by Russell King on 19 May 2018, 10:35:56 UTC
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>
1 parent e07e3c3
History
Tip revision: f2ae9de019e4e2807d812ec4fe1df7c34788a0a0 authored by Łukasz Stelmach on 04 April 2018, 07:46:58 UTC
ARM: 8758/1: decompressor: restore r1 and r2 just before jumping to the kernel
Tip revision: f2ae9de
File Mode Size
Kconfig -rw-r--r-- 59.9 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.6 KB
do_mounts.h -rw-r--r-- 1.1 KB
do_mounts_initrd.c -rw-r--r-- 3.5 KB
do_mounts_md.c -rw-r--r-- 8.2 KB
do_mounts_rd.c -rw-r--r-- 8.4 KB
init_task.c -rw-r--r-- 5.1 KB
initramfs.c -rw-r--r-- 14.1 KB
main.c -rw-r--r-- 28.2 KB
noinitramfs.c -rw-r--r-- 1.5 KB
version.c -rw-r--r-- 1.2 KB

back to top