From: "Dave Airlie" <airlied@gmail.com>
To: "Linus Torvalds" <torvalds@osdl.org>
Cc: "Andrew Morton" <akpm@osdl.org>,
"Matthew Reppert" <arashi@sacredchao.net>,
linux-kernel@vger.kernel.org, "Dave Airlie" <airlied@linux.ie>,
"Antonino A. Daplas" <adaplas@pol.net>,
"Benjamin Herrenschmidt" <benh@kernel.crashing.org>
Subject: Re: PCI ROM resource allocation issue with 2.6.17-rc2
Date: Wed, 26 Apr 2006 13:28:26 +1000 [thread overview]
Message-ID: <21d7e9970604252028k2cb302fdr78cfc894b4678b02@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0604240949330.3701@g5.osdl.org>
> I don't see quite why it would do it (yes, ROM's are prefetchable, but the
> old location was _valid_, and I don't see why we didn't re-use it), but it
> _really_ shouldn't matter.
>
> I would expect some silly interaction with X, as usual. It would be nice
> to see the whole dmesg, especially with the debugging messages - I suspect
> the remapping of the ROM happens only when X starts up, and that your
> dmesg is from just the kernel boot from before that?
>
> But it might be that I just missed it (or that we don't have good debug
> output for that case).
Just on my own system I'm seeing something of an issue while debugging
the dual-head issue,
my secondary head is being assigned non-prefetchable resources outside
the bridge,
PCI: Transparent bridge - 0000:00:1e.0
PCI: Bridge: 0000:00:1e.0
IO window: b000-bfff
MEM window: ff900000-ff9fffff
PREFETCH window: e8000000-efffffff
is the bridge,
02:02.0 VGA compatible controller: ATI Technologies Inc Radeon RV100
QY [Radeon 7000/VE] (prog-if 00 [VGA])
Subsystem: C.P. Technology Co. Ltd: Unknown device 2049
Flags: stepping, medium devsel, IRQ 255
Memory at e8000000 (32-bit, prefetchable) [disabled] [size=128M]
I/O ports at b000 [disabled] [size=256]
Memory at ffff0000 (32-bit, non-prefetchable) [disabled] [size=64K]
Expansion ROM at ff900000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
is the device,
when I modprobe radeon which does pci_enable_device, the bars are enabled...
However when X starts it tries to reassign the memory at 0xffff0000
down into the bridge memory... at 0xfff90000, should the kernel do
this? or does it actually matter if the memory is behind the bridge as
its transparent... maybe I can at least patch X to check for
transparent bridges...
Dave.
next prev parent reply other threads:[~2006-04-26 3:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-24 4:02 Matthew Reppert
2006-04-24 5:21 ` Andrew Morton
2006-04-24 5:54 ` Dave Airlie
2006-04-24 17:07 ` Linus Torvalds
2006-04-24 17:16 ` Arjan van de Ven
2006-04-24 17:28 ` Linus Torvalds
2006-04-26 1:23 ` Dave Airlie
2006-04-26 2:10 ` Jon Smirl
2006-04-24 17:01 ` Linus Torvalds
2006-04-26 3:28 ` Dave Airlie [this message]
2006-04-26 3:40 ` Debian Kernel with Squash and UnionFS installed Joshua Perrymon
2006-04-26 5:05 ` PCI ROM resource allocation issue with 2.6.17-rc2 Linus Torvalds
2006-04-26 5:56 ` Dave Airlie
2006-04-24 5:28 ` Matthew Reppert
2006-04-24 19:24 ` Jon Smirl
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=21d7e9970604252028k2cb302fdr78cfc894b4678b02@mail.gmail.com \
--to=airlied@gmail.com \
--cc=adaplas@pol.net \
--cc=airlied@linux.ie \
--cc=akpm@osdl.org \
--cc=arashi@sacredchao.net \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®