Linux Serial subsystem development
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Adam Belay <ambx1@neo.rr.com>
Cc: rmk+serial@arm.linux.org.uk, linux-serial@vger.kernel.org,
	shaohua.li@intel.com
Subject: Re: [PATCH] SERIAL: discover PNP ports before PCI, etc
Date: Thu, 10 Feb 2005 10:49:22 -0700	[thread overview]
Message-ID: <1108057762.29578.29.camel@eeyore> (raw)
In-Reply-To: <20050210173725.GA380@neo.rr.com>

On Thu, 2005-02-10 at 12:37 -0500, Adam Belay wrote:
> > Wouldn't it be a bug if PNP described a resource that can be
> > discovered by standard PCI discovery?
> 
> Maybe.  It's usually one of these:
> 
> pnp: 00:09: ioport range 0x4d0-0x4d1 has been reserved
> pnp: 00:09: ioport range 0xcf8-0xcff could not be reserved
> pnp: 00:0b: ioport range 0x800-0x87f has been reserved
> 
> The "could not be reserved" was touched by pci.  From memory, I think
> it's the pci configuration range.

Right.  0xcf8-0xcff is reserved in pci_direct_init(), which is
part of the arch PCI core, not part of a driver.  So I don't
think the 8250 PCI/PNP order should make a difference for this
particular range (the arch PCI init happens long before either
8250 PCI or PNP claim).

> > I think we should move PNP before PCI and fix whatever resource
> > problems crop up.
> 
> We could always add this change to -mm and see what effect it has.  Let me
> know if you still think this makes sense.

Yeah, I think that's Russell's plan, which I think is the right one.


  parent reply	other threads:[~2005-02-10 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-09 20:12 [PATCH] SERIAL: discover PNP ports before PCI, etc Bjorn Helgaas
2005-02-10  2:16 ` Adam Belay
2005-02-10 16:43   ` Bjorn Helgaas
     [not found]     ` <20050210173725.GA380@neo.rr.com>
2005-02-10 17:49       ` Bjorn Helgaas [this message]
2005-02-10 18:39         ` Russell King

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=1108057762.29578.29.camel@eeyore \
    --to=bjorn.helgaas@hp.com \
    --cc=ambx1@neo.rr.com \
    --cc=linux-serial@vger.kernel.org \
    --cc=rmk+serial@arm.linux.org.uk \
    --cc=shaohua.li@intel.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