arm64/kexec: Add core kexec support
authorGeoff Levand <geoff@infradead.org>
Thu, 23 Jun 2016 17:54:48 +0000 (17:54 +0000)
committerAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 19 Jun 2017 06:09:00 +0000 (15:09 +0900)
commit32885538ffbf0dbd0562f23854770cfec175412b
tree8c5ebe53f687a51a3a858755dbbf28a51fc3df75
parent46165e514b13be831a7e033056328dd483a65963
arm64/kexec: Add core kexec support

Add three new files, kexec.h, machine_kexec.c and relocate_kernel.S to the
arm64 architecture that add support for the kexec re-boot mechanism
(CONFIG_KEXEC) on arm64 platforms.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Reviewed-by: James Morse <james.morse@arm.com>
[catalin.marinas@arm.com: removed dead code following James Morse's comments]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Conflicts:
arch/arm64/Kconfig
arch/arm64/kernel/Makefile
Makefile was wrongly modified when merging:
commit 762f201f0a44 ("arm64: kernel: implement ACPI parking protocol")
arch/arm64/Kconfig
arch/arm64/include/asm/kexec.h [new file with mode: 0644]
arch/arm64/kernel/Makefile
arch/arm64/kernel/machine_kexec.c [new file with mode: 0644]
arch/arm64/kernel/relocate_kernel.S [new file with mode: 0644]
include/uapi/linux/kexec.h