[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] [patch] memory management initialisation cleanup
At Fri, 30 Jul 2004 15:29:46 +1000,
John Williams wrote:
>
> Hi folks,
>
> Attached is a trial patch that cleans up the so-called bootmem-debacle,
> and other memory initialisations that go on before the kernel boots.
>
> Basically I've just lifted the mechanism used in arm/armnommu kernels.
> They take a clean approach to the whole thing.
yup, it is clean, but it has some unneeded code for mmu-less cpu, ie
most of free_memmap(), {O,V}_PFN_{UP,DOWN}. but the patch looks good
for the start.
IMHO, we need to provide __pa() __va() family macro for seemless
integration for arch independent code. but we should keep
arch/microblaze/* as clean as we can.
or, we can keep arch/microblaze/mm/* code in sync with arm so that we
can play with other fun stuff ;p
any plan in your mind, John?
[...]
> This patch reverts the link scripts (mbvanilla.ld and suzaku.ld) to page
> align the __init_end, as discussed in my previous email. Yashi (and
> anyone else who's interested), can you please give this a try and let me
> know if it works for you?
it worked on SUZAKU without discon mem. I haven't tested with discon
mem setup, yet. we need to modify a few line to tell the kernel how
many banks we have on each platform.
Great job, John!
best,
--
yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/