Skip to content
Commit c8ec5028 authored by Xulin Sun's avatar Xulin Sun Committed by Liwei Song
Browse files

arm: mach-axxia: kexec_reinit to set L3 CACHE shutdown

commit f0b14e02

 from
https://github.com/axxia/linux-yocto.git v5.10/standard/axxia-dev/base.

Shut down to flush L3 cache for KEXEC to avoid the hung issue for
capture kernel booting, since for ARM capture kernel just one CPU
allowed to boot, and no L3 cache coherency issue existed for SMP
situation, so just shut down the flush to L3 CACHE.

The function calling relationship like below:
kernel_kexec
	machine_kexec
	    kexec_reinit
		flush_l3

Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
[Quanyang: add a new function shutdown_l3 to shutdown the l3 cache
in the kexec routine.]
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
[revert 08cbcb97

 ("ARM: 9060/1: kexec: Remove unused kexec_reinit callback")
to make this patch work since there is no replacement for kexec_reinit()]
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent 0f660866
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment