linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	<linuxppc-dev@lists.linuxppc.org>
Subject: Re: bk 2.4.1pre2 Lombard PCI allocation fails.
Date: Mon, 15 Jan 2001 18:55:38 +0100	[thread overview]
Message-ID: <19341210112722.9983@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.LNX.4.05.10101151830580.31039-100000@callisto.of.borg>


>Fixed by the kernel, and reassigned to 0x10000000.
>
>> BootX uses the MacOS PCI mappings which are bogus for the Rage LT Pro.
>> Though I'm certain Geert's old PCI resource allocation patch worked fine
>> in spite of this. There was some message about resource conflict but that
>> was fixed by the kernel.
>>
>> What's the PCI resourced for the card after the kernel has finished
>> booting?
>
>I expect it to be 0x10000000.
>
>BTW, this also means we can start using the secondary aperture as well in
>2.4.0. Gives us an additional 4 kB of frame buffer on little-endian boxes.

Well, unfortunately, 0x10000000 is bogus on most cases. (I didn't check
with Grackle, but for example on UniNorth based machines, this address is
not routed to PCI).

Our PCI code still have no knowledge of which physical ranges can
actually be allocated for each bus. That should be implemented via proper
root bus resources, but I've not yet been able to find a good solution
for that (mostly because we would need more resources than the current
pci_bus structure provides in some cases where the bridge can decode
several discontiguous regions). Maybe We could fake this, my knowledge of
the linux resource mecanism is not perfect.

Matt Porter is coming with a better solution based on some platform
callbacks that would take care of such things are re-assigning a given
device. Those callbacks could then take care of doing proper allocation
depending on the host bridge setup. (See our discussion about the enable
device hook)

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2001-01-15 17:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-15  8:15 bk 2.4.1pre2 Lombard PCI allocation fails Iain Sandoe
2001-01-15 16:13 ` Michael Schmitz
2001-01-15 17:32   ` Geert Uytterhoeven
2001-01-15 17:55     ` Benjamin Herrenschmidt [this message]
2001-01-15 19:24     ` Michael Schmitz
  -- strict thread matches above, loose matches on Subject: below --
2001-01-15 18:50 Iain Sandoe

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=19341210112722.9983@mailhost.mipsys.com \
    --to=benh@kernel.crashing.org \
    --cc=geert@linux-m68k.org \
    --cc=linuxppc-dev@lists.linuxppc.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).