From: Anton Blanchard <anton@samba.org>
To: akpm@osdl.org
Cc: paulus@samba.org, linas@austin.ibm.com, linux-kernel@vger.kernel.org
Subject: [PATCH] fix power3 boot
Date: Sun, 4 Jul 2004 20:04:07 +1000 [thread overview]
Message-ID: <20040704100407.GE4923@krispykreme> (raw)
Hi,
We were calling init_pci_config_tokens too late in eeh_init. POWER3
(which doesnt have EEH) would fall out of eeh_init before calling it.
Signed-off-by: Anton Blanchard <anton@samba.org>
diff -puN arch/ppc64/kernel/eeh.c~fix_power3 arch/ppc64/kernel/eeh.c
--- foobar2/arch/ppc64/kernel/eeh.c~fix_power3 2004-07-04 19:40:57.528231647 +1000
+++ foobar2-anton/arch/ppc64/kernel/eeh.c 2004-07-04 19:42:26.439823930 +1000
@@ -574,6 +574,8 @@ void __init eeh_init(void)
struct eeh_early_enable_info info;
char *eeh_force_off = strstr(saved_command_line, "eeh-force-off");
+ init_pci_config_tokens();
+
ibm_set_eeh_option = rtas_token("ibm,set-eeh-option");
ibm_set_slot_reset = rtas_token("ibm,set-slot-reset");
ibm_read_slot_reset_state = rtas_token("ibm,read-slot-reset-state");
@@ -588,7 +590,6 @@ void __init eeh_init(void)
}
/* Enable EEH for all adapters. Note that eeh requires buid's */
- init_pci_config_tokens();
for (phb = of_find_node_by_name(NULL, "pci"); phb;
phb = of_find_node_by_name(phb, "pci")) {
unsigned long buid;
_
next reply other threads:[~2004-07-04 10:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-04 10:04 Anton Blanchard [this message]
2004-07-04 10:12 ` Andrew Morton
2004-07-04 11:33 ` Anton Blanchard
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=20040704100407.GE4923@krispykreme \
--to=anton@samba.org \
--cc=akpm@osdl.org \
--cc=linas@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.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®