linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* simple_alloc space tramples initrd
@ 2016-01-08 17:45 dwalker
  2016-01-11  3:09 ` Michael Ellerman
  0 siblings, 1 reply; 6+ messages in thread
From: dwalker @ 2016-01-08 17:45 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Paul Mackerras, Michael Ellerman, linuxppc-dev

Hi,

A powerpc machine I'm working on has this problem where the simple_alloc_init() area is trampling the
initrd. The two are placed fairly close together.

I have a fix for this proposed to add a section into arch/powerpc/boot/zImage.lds.S called "mallocarea"
to account for this space, but not all powerpc platforms use simple_alloc_init(). So for those platforms
it's a waste.

Another alternative is to alter the bootloader to place more space between the kernel image and initrd image.

I wanted to get some feedback on the right way to fix this. It seems like it could be a generic issue on powerpc,
or it's possibly already fixed someplace and I just haven't noticed.

Any feedback appreciated.

Daniel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-11 23:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08 17:45 simple_alloc space tramples initrd dwalker
2016-01-11  3:09 ` Michael Ellerman
2016-01-11 16:49   ` dwalker
2016-01-11 22:17     ` Michael Ellerman
2016-01-11 23:07       ` dwalker
2016-01-11 23:37         ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).