[PATCH v2 0/8] Initial implementation of kdump for ARM

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jul 5 06:18:52 EDT 2010


On Mon, Jul 05, 2010 at 12:01:06PM +0200, Per Fransson wrote:
> In machine_kexec an identity mapping is set up for the user space part  
> of the virtual address space, through a call to setup_mm_for_reboot(). I  
> believe this mapping is only necessary because the MMU is kept on and if  
> the kexec is done to facilitate the collection of a dump it would be  
> nice if a large part of the page table for the crashing context has not  
> been corrupted. Don't you agree?

No.  The identity mapping is there so that we can safely disable the MMU
and jump to the intended address.

There is an implementation defined delay between writing the control
register and the point in the instruction stream that the effect of that
write is seen.

The missing MMU disable for AMRv6 and ARMv7 is an oversight which needs
to be resolved.



More information about the linux-arm-kernel mailing list