Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, linux-mips@linux-mips.org
Subject: Re: [MIPS] SMTC: Fix crash on bootup with idebus= command line argument.
Date: Thu, 13 Sep 2007 14:49:43 +0100	[thread overview]
Message-ID: <20070913134943.GA11396@linux-mips.org> (raw)
In-Reply-To: <Pine.LNX.4.64N.0709121621200.24030@blysk.ds.pg.gda.pl>

On Wed, Sep 12, 2007 at 04:54:08PM +0100, Maciej W. Rozycki wrote:

>  I gather the problem is ide_probe_legacy() is called too early for PCI to 
> have been initialised.  With the old code ide_probe_legacy() called 
> pci_get_class(), which in turn triggered PCI initialisation, which enabled 
> interrupts prematurely and the failure scenario happened.  To rectify Ralf 
> resurrected yet older code that reserved the legacy ports unconditionally.  
> You have put the code that calls pci_get_class() back and introduced this 
> call to no_pci_devices() beforehand.  Please correct me if I have been 
> wrong anywhere here.

Pci_get_class doesn't trigger PCI initialization and I don't think it
should ...

  Ralf

      parent reply	other threads:[~2007-09-13 13:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S20024438AbXHGQ1m/20070807162742Z+2733@ftp.linux-mips.org>
2007-09-03 15:05 ` [MIPS] SMTC: Fix crash on bootup with idebus= command line argument Atsushi Nemoto
2007-09-03 15:50   ` Chris Dearman
2007-09-04 12:50     ` Ralf Baechle
2007-09-04 14:02       ` Atsushi Nemoto
2007-09-13 13:55         ` Ralf Baechle
2007-09-10 13:27 ` Maciej W. Rozycki
2007-09-10 15:18   ` Atsushi Nemoto
2007-09-11 13:40     ` Maciej W. Rozycki
2007-09-11 14:07       ` Atsushi Nemoto
2007-09-11 14:28         ` Maciej W. Rozycki
2007-09-12 15:18           ` Atsushi Nemoto
2007-09-12 15:54             ` Maciej W. Rozycki
2007-09-12 16:55               ` Atsushi Nemoto
2007-09-12 17:19                 ` Maciej W. Rozycki
2007-09-13 13:49               ` Ralf Baechle [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=20070913134943.GA11396@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.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