From: Steven Newbury <steve@snewbury.org.uk>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Yinghai Lu <yinghai@kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: pci-3.14 resource alloc
Date: Tue, 18 Feb 2014 17:31:14 +0000 [thread overview]
Message-ID: <1392744674.15829.31.camel@artifact> (raw)
In-Reply-To: <CAErSpo4CLB7G5DHpdr69t+wZjywuOXKXsvS6W3eTMJgU5Xpycg@mail.gmail.com>
On Tue, 2014-02-18 at 07:37 -0700, Bjorn Helgaas wrote:
> On Tue, Feb 18, 2014 at 6:59 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> > On Tue, Feb 18, 2014 at 3:08 AM, Steven Newbury <steve@snewbury.org.uk> wrote:
>
> >> No, the only unusual option is I use pci=nocrs since the bios is
> >> completely ignorant of support for 64bit BARs.
> >
> > Hi Steven, this is a tangent, but can you collect the complete dmesg
> > log with "pci=nocrs" and let me know what happens when you *don't* use
> > "pci=nocrs" (a complete dmesg log there would be useful too, but I
> > don't know if you can boot without it)? I think Linux *should* be
> > able to handle 64bit BARs even if the BIOS doesn't.
> >
> > Please post these as a separate thread so we don't muddle this
> > conversation with Yinghai.
>
> Oh, never mind. I think I remember now. I think the problem is not
> so much that the BIOS doesn't handle 64bit *BARs*, but that your BIOS
> doesn't report 64bit host bridge *apertures*, and you want to use
> space above 4G for a graphics card or something.
>
Yes, exactly. I should have stated it better. I need to push the
on-board i965 up above 4G to make room for a radeon which is accessed
through a 32 bit only bridge. The BIOS doesn't provide any
functionality like this. The intel devs seemed a little surprised that
the i965 actually worked stably in this configuration given known
errata, but I've actually had no problems with this side of things.
> That's not really anything we can fix in PCI because PCI doesn't
> discover those apertures. Host bridge drivers like the generic ACPI
> pci_root.c or the native amd_bus.c discover them. If those drivers
> don't discover them, PCI can't just make them up.
32 bit only bridges must be getting pretty rare by now, and I presume
any new hardware out there with a dockable PCI bus would provide 64 bit
resource allocation for host bridge apertures when booting to a 64 bit
OS? Maybe not?
>
> It might be nice if we had cleaner kernel options to say "assume a
> host bridge window here" and "put this device here," so you didn't
> have to use the big hammer of "pci=nocrs". It's sort of a pain to
> figure out how to attach info like that to the correct device (there
> might be several host bridges, so how do you specify which one you
> care about?), but maybe it could be done.
>
That would be much better, even if it's only some way to say "ignore crs
for *this* host bridge (and parents)", or "for host bridges to which
*this* device is attached".
next prev parent reply other threads:[~2014-02-18 17:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1390773698.3450.12.camel@artifact>
[not found] ` <CAE9FiQVD=oVHM5WJgSJ5cNpXZ1NYy9E_pcGWfjKnmD9OZoHHsw@mail.gmail.com>
[not found] ` <1391643656.1067.1.camel@artifact>
2014-02-14 0:50 ` pci-3.14 resource alloc Yinghai Lu
[not found] ` <z9zi9m.n0zpxd.1hgeaud-qmf@mail.snewbury.org.uk>
[not found] ` <i9nn22.n0zs79.1hgeaud-qmf@mail.snewbury.org.uk>
[not found] ` <1392392764.3520.11.camel@devel-n900>
2014-02-14 19:11 ` Yinghai Lu
2014-02-18 10:08 ` Steven Newbury
2014-02-18 13:59 ` Bjorn Helgaas
2014-02-18 14:37 ` Bjorn Helgaas
2014-02-18 17:31 ` Steven Newbury [this message]
2014-02-18 18:52 ` Yinghai Lu
2014-02-18 22:29 ` Rafael J. Wysocki
2014-02-19 9:11 ` Steven Newbury
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=1392744674.15829.31.camel@artifact \
--to=steve@snewbury.org.uk \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=yinghai@kernel.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;
as well as URLs for NNTP newsgroup(s).