Re: [RFC PATCH] sparc32: make srmmu helpers leon compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 20, 2012 at 05:24:01PM -0400, David Miller wrote:
> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
> Date: Sun, 20 May 2012 23:18:39 +0200
> 
> > Updated RFC patch below.
> 
> Looks good.
> 
> Two small things.
> 
> First, you might want to make the LEON case the default,
> because then it'll get tested more extensively.
Good point - will do.
 
> Second, have you audited to make sure that none of this
> code runs before the patchup code does?
Yes - but a lot of other places that require patching will run
long time before (wof.S, wuf.S etc). At least I assume so.

My plan is to introduce a sparc_start_kernel() function
in setup_32.c which is called from head_32.S.

There I will do the initial stuff like patching and prom_init.
And then call the real start_kernel().

The final patchset will establish this before introducing
any users so I do not change when I patch in the middle
of the patch-set.

The current patch was to make sure I was on the right track,
hence the RFC.

	Sam
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux