arm64: kexec: machine_kexec should call __flush_icache_range
authorDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 30 Jul 2018 15:29:21 +0000 (10:29 -0500)
committerWill Deacon <will.deacon@arm.com>
Mon, 30 Jul 2018 16:58:11 +0000 (17:58 +0100)
commit140aada48b5f1a8bed3ba4afb5fc59220651657f
tree3c73e8a8d6771a2b2908ff34873094f6115d3789
parentefd112353bf7c0f9d50f928b449ea9da0ee9554b
arm64: kexec: machine_kexec should call __flush_icache_range

machine_kexec flushes the reboot_code_buffer from the icache
after stopping the other cpus.

Commit 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache
for kernel mappings") added an IPI call to flush_icache_range, which
causes a hang here, so replace the call with __flush_icache_range

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/machine_kexec.c