9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] IRQs again...
Date: Mon, 27 May 2002 12:55:00 -0600	[thread overview]
Message-ID: <Pine.LNX.4.33.0205271248520.16489-100000@snaresland.acl.lanl.gov> (raw)
In-Reply-To: <6c155793a8bde8d42d7c371d52d4476a@plan9.bell-labs.com>

On Mon, 27 May 2002, David Gordon Hogan wrote:

> I would like to suggest that since LinuxBios has "BIOS" in
> the name, that it should allocate IRQs to the various devices
> as part of system initialisation, as this appears to be one of
> the (de facto) jobs of the BIOS.  Every other BIOS does it.

No. Sorry. There are good reasons for this and it ain't going to happen.
We've been over this ground quite a bit over the last 2 years. The OS has
a way better idea of what it needs, and once you start pulling in nonsense
like SMP and APIC and IO-APIC it gets very very messy. The odds that the
BIOS can get things set up right for the OS become vanishingly small.

I'm still a little lost on how you plan to handle the hot plug thing. What
do you plan to do if the device is not there until after the OS boots? Or
goes away? do you reclaim the interrupt or not? Do you plan to callback to
the BIOS? We don't do callbacks either.

Of course Andrey might force me to change my mind.

> We've thought about what it would take to make Plan 9
> do this instead, and generally reached the conclusion
> that it would be a Bad Thing.

can you elaborate?

I just don't agree, and neither (it seems) do the other open source OSes
out there. But I've been wrong lots of times so if you have a solid reason
I'm all ears.

ron



  reply	other threads:[~2002-05-27 18:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-27 16:20 David Gordon Hogan
2002-05-27 18:55 ` Ronald G Minnich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-28  4:56 David Gordon Hogan
2002-05-28 14:17 ` Ronald G Minnich
2002-05-27 14:53 andrey mirtchovski
2002-05-27 14:22 andrey mirtchovski
2002-05-27  4:23 jmk
2002-05-27 18:41 ` Ronald G Minnich
2002-05-24 21:23 David Gordon Hogan
2002-05-25  2:26 ` Ronald G Minnich
2002-05-21 16:45 andrey mirtchovski

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=Pine.LNX.4.33.0205271248520.16489-100000@snaresland.acl.lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).