Thread (36 messages) 36 messages, 6 authors, 2015-11-03
STALE3883d

[PATCH 08/16] arm64/kexec: Add core kexec support

From: geoff@infradead.org (Geoff Levand)
Date: 2015-10-20 17:19:25
Also in: kexec

Hi,

On Tue, 2015-10-20 at 14:26 +0530, Pratyush Anand wrote:
On 19/10/2015:11:38:53 PM, Geoff Levand wrote:
quoted
+static void soft_restart(unsigned long addr)
+{
+> > 	> > setup_mm_for_reboot();
+> > 	> > cpu_soft_restart(virt_to_phys(cpu_reset), addr,
+> > 	> > 	> > is_hyp_mode_available());
So now we do not flush cache for any memory region. Shouldn't we still flush
at least kernel and purgatory segments. 
Relevant pages of the kexec list are flushed in the code following the comment
'Invalidate dest page to PoC' of the arm64_relocate_new_kernel routine:

 The dcache is turned off
 The page is invalidated to PoC
 The new page is written

-Geoff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help