From: David Updegraff <dave@cray•com>
To: linuxppc-embedded@ozlabs•org
Subject: OF tree flattening.
Date: Wed, 15 Mar 2006 09:10:42 -0600 [thread overview]
Message-ID: <dv9apk$5r8$1@sea.gmane.org> (raw)
Hi.
When OF device tree is flattened, the resultant struct has pointers into
the 'initial_boot_params' area.
I think that area needs 'reserving', since the text of various
properties are contained therein.
One could perhaps argue that the BootRom should do that, in the provided
OF-tree reserve maps... but if we're gonna keep pointers into the area,
seems we should protect it. Adding a
--------
lmb_reserve(__pa(initial_boot_params), initial_boot_params->totalsize);
------------
to early_init_devtree() worked for me.
There is of course then the problem alluded to in
kdump_move_device_tree(), that then this old DT should be un-reserved..
I don't have a suggestion for that problem; hope some of you do?
thnx.
-dbu.
reply other threads:[~2006-03-15 15:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dv9apk$5r8$1@sea.gmane.org' \
--to=dave@cray$(echo .)com \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox