From: Markus Dahms <mad@automagically.de>
To: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: sparclinux <sparclinux@vger.kernel.org>, linux-kernel@vger.kernel.org
Subject: Re: Odp: possible endless loop in PROM initialization
Date: Mon, 20 Aug 2007 12:34:17 +0200 [thread overview]
Message-ID: <20070820103417.GA4911@vimes.madsworld.lan> (raw)
In-Reply-To: <46c955d43d407@wp.pl>
Krzysztof Helt wrote,
> Could you give name of the function which contains this endless loop?
> When I looked into the tree.c file for the first time I thought
> it had a bug
> in handling the prom_nextprop, but later I concluded that this is ok.
> Maybe there is a bug there after all.
if I understood it correctly the following functions are called in this
order:
* prom_init() # arch/sparc/kernel/head.S
[...]
* create_node() # arch/sparc/kernel/prom.c
* build_prop_list() # arch/sparc/kernel/prom.c
* build_one_prop() # arch/sparc/kernel/prom.c
* prom_nextprop() # arch/sparc/prom/tree.c
* __prom_nextprop() # arch/sparc/prom/tree.c
* prom_nodeops->no_nextprop() # PROM
And this loops while getting the attributes/properties of the /aliases
node.
Greetings,
Markus
prev parent reply other threads:[~2007-08-20 10:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-20 7:59 Markus Dahms
2007-08-20 8:06 ` David Miller
2007-08-20 10:53 ` Markus Dahms
2007-08-20 11:43 ` Chris Newport
2007-08-20 13:19 ` Markus Dahms
2007-08-20 18:19 ` Krzysztof Helt
2007-08-20 8:50 ` Odp: " Krzysztof Helt
2007-08-20 10:34 ` Markus Dahms [this message]
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=20070820103417.GA4911@vimes.madsworld.lan \
--to=mad@automagically.de \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®