From: Kalle Pokki <kalle.pokki@iki•fi>
To: Alex BASTOS <alebas@televes•com>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: pq2_find_bridges hangs system
Date: Fri, 02 Dec 2005 16:09:33 +0200 [thread overview]
Message-ID: <4390559D.3010605@iki.fi> (raw)
In-Reply-To: <0IQV004GGIH0UG@mailstore1.hut-mail>
Alex BASTOS wrote:
>The Tranfer Error makes not many sense for me, as _TEA is pulled-up.
>Maybe the oops after that is caused by the bad call return point?
>
>
I remember using this to prevent machine check exceptions during the PCI
scan. This is in the beginning of the pciauto_bus_scan() function.
--- trunk/linux/arch/ppc/syslib/pci_auto.c (revision 127)
+++ trunk/linux/arch/ppc/syslib/pci_auto.c (revision 128)
@@ -382,6 +382,10 @@
unsigned short vid;
unsigned char header_type;
+
+ /* must ignore machine checks during scan */
+ *(volatile unsigned short *) 0xf0010888 &= ~0x0800;
+
/*
* Fetch our I/O and memory space upper boundaries used
* to allocated base addresses on this hose.
next prev parent reply other threads:[~2005-12-02 14:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-02 10:51 pq2_find_bridges hangs system Alex BASTOS
2005-12-02 10:30 ` Vitaly Bordug
2005-12-02 13:56 ` Alex BASTOS
2005-12-02 14:49 ` Alex BASTOS
2005-12-02 14:55 ` Vitaly Bordug
2005-12-03 17:36 ` Alex BASTOS
2005-12-13 8:24 ` Alex BASTOS
[not found] ` <0IQV004GGIH0UG@mailstore1.hut-mail>
2005-12-02 14:09 ` Kalle Pokki [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-12-14 10:21 Alex BASTOS
2005-12-14 11:29 ` Vitaly Bordug
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=4390559D.3010605@iki.fi \
--to=kalle.pokki@iki$(echo .)fi \
--cc=alebas@televes$(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