[PATCH] arm: proc-v7: pc phy addresses before disable MMU

Will Deacon will.deacon at arm.com
Fri Sep 30 05:38:19 EDT 2011


On Fri, Sep 30, 2011 at 10:34:06AM +0100, Per Förlin wrote:
> On 09/30/2011 10:34 AM, Will Deacon wrote:
> > I'm not sure why all of this is necessary. Take a look at my kexec patches
> > here:
> > 
> > http://www.linux-arm.org/git?p=linux-2.6-wd.git;a=shortlog;h=refs/heads/kexec-mmu-off
> > 
> > The interesting bit is __arm_machine_reset in kernel/process.c
> > 
> /* Switch to the identity mapping. */
> phys_reset = (phys_reset_t)virt_to_phys(cpu_reset);
> phys_reset(reset_args->reset_code_phys);
> Yes this is definitely how it should be done. My mind was stuck in the assembler code.

Easy mistake to make!

> If I get this right the bug I run into is already fixed by your kexec patches. I could simply use your patches?

Sure, I reworked them the other day so I'll post them to the list again
soon. There are still some open problems to solve but the reset code is
more-or-less there.

Will



More information about the linux-arm-kernel mailing list