]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: kexec: fix kexec for Keystone 2
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 Aug 2016 21:06:10 +0000 (14:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Aug 2016 23:35:29 +0000 (19:35 -0400)
commit0719392a61a9dbc2c850bc7bd1a17efba953fcf5
tree2917d9b55f4232296b1587891a51ffda5f33baa5
parent51d5d12b8f3df2b770974ce4aa6196c6b7d485eb
ARM: kexec: fix kexec for Keystone 2

Provide kexec with the boot view of memory by overriding the normal
kexec translation functions added in a previous patch.  We also need to
fix a call to memblock in machine_kexec_prepare() so that we provide it
with a running-view physical address rather than a boot- view physical
address.

Link: http://lkml.kernel.org/r/E1b8koa-0004Hl-Ey@rmk-PC.armlinux.org.uk
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Keerthy <j-keerthy@ti.com>
Cc: Pratyush Anand <panand@redhat.com>
Cc: Vitaly Andrianov <vitalya@ti.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/include/asm/kexec.h
arch/arm/kernel/machine_kexec.c