From: Helge Deller <deller@gmx.de>
To: Matthew Wilcox <willy@debian.org>
Cc: Matthew Wilcox <willy@ldl.fc.hp.com>, parisc-linux@parisc-linux.org
Subject: Re: [parisc-linux] Turn off CONFIG_PCI
Date: Sun, 19 Aug 2001 00:59:41 +0200 [thread overview]
Message-ID: <20010818230140.3B894482A@dsl2.external.hp.com> (raw)
In-Reply-To: <20010818233700.A14486@parcelfarce.linux.theplanet.co.uk>
On Sunday 19 August 2001 00:37, Matthew Wilcox wrote:
> On Sat, Aug 18, 2001 at 09:37:06PM +0200, Helge Deller wrote:
> > I tested your patch sucessfully on my c3k and my 715/64.
> > I've only added a small security check to setup.c to prevent PA2.x
> > machines from booting without CONFIG_PCI and to print a small
> > panic-message at bootup instead of just HPMC'ing.
> >
> > +#ifndef CONFIG_PCI
> > + /* security check: PA2.x processor machines won't detect their main
> > + * PCI-based devices (screen, serial, SCSI, ...), so it's better to
> > + * stop them from booting right here. If we would continue we would
> > + * only get a HPMC without any other information. */
> > + if (boot_cpu_data.cpu_type >= pcxu) { /* >=PA8000 (PCX-U) CPU ? */
> > + /* switch back to PDC console for panic */
> > + pdc_console_restart();
> > + panic("This system will not boot without PCI-support in the kernel
> > !\n"); + }
> > +#endif
>
> I don't believe this is appropriate. Cxxx / Jxxx machines use Lasi for
> their serial port, so it's theoretically possible to boot one without
> CONFIG_PCI. If the user wants to turn it off, let them. It's not like
> any other architecture does anything like this.
Sure, Cxxx and Jxxx may have LASI, but if I'm correct they all have a 32bit PA7XXX
CPU and thus won't be catched by this check.
Machines with a PA8XXX CPU don't have any LASI/GSC devices and would _always_
HPMC without PCI support. So I still think it is better to panic() with a nice message
instead of just let the user guess why the machine suddenly HPMC'ed with this kernel
and start asking on the parisc-linux list.
Helge
next prev parent reply other threads:[~2001-08-18 23:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-17 7:11 [parisc-linux] Turn off CONFIG_PCI Matthew Wilcox
2001-08-18 19:37 ` Helge Deller
2001-08-18 22:37 ` Matthew Wilcox
2001-08-18 22:59 ` Helge Deller [this message]
2001-08-21 7:18 ` Grant Grundler
[not found] ` <E15YF67-0000tK-00@master.debian.org>
2001-08-18 23:04 ` Matthew Wilcox
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=20010818230140.3B894482A@dsl2.external.hp.com \
--to=deller@gmx.de \
--cc=parisc-linux@parisc-linux.org \
--cc=willy@debian.org \
--cc=willy@ldl.fc.hp.com \
/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