[RFC] arm: Defer lookup of machine_type and vet of atags to setup.c
Tony Lindgren
tony at atomide.com
Mon Feb 7 10:55:32 EST 2011
* Grant Likely <grant.likely at secretlab.ca> [110112 09:48]:
> On Wed, Jan 12, 2011 at 10:25 AM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
> > On Wed, Jan 12, 2011 at 10:16:44AM -0700, Grant Likely wrote:
> >> On Wed, Jan 12, 2011 at 9:53 AM, Nicolas Pitre <nico at fluxnic.net> wrote:
> >> > On Wed, 12 Jan 2011, Grant Likely wrote:
> >> >
> >> >> Actually it looks like the real problem is that the mmu has been
> >> >> turned on, but the virtual mappings for devices have not yet been
> >> >> established, and so the debug macros aren't using a valid address.
> >> >
> >> > A temporary virtual mapping should be there -- look for addruart in
> >> > head.S.
> >>
> >> Hi Russell and Nicolas,
> >>
> >> Oops, yes all the early debug stuff works fine. Stupid human trick on
> >> my end, but I've sorted it out now. Thanks for the help. I'll have
> >> patches to post later today.
> >
> > I just hacked this up, and on Versatile (real hardware) it produces
> > the below for an invalid r1 value - and of course works for a proper r1
> > value.
>
> Heh, that look pretty close to identical to what I was just about to send.
>
> Acked-by: Grant Likely <grant.likely at secretlab.ca>
Tested-by: Tony Lindgren <tony at atomide.com>
More information about the linux-arm-kernel
mailing list