* VME - PowerPC: Resource sizes
2004-06-09 20:01 VME driver patch for PowerPC Heater, Daniel (GE Infrastructure)
@ 2004-06-10 7:32 ` Oliver Korpilla
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Korpilla @ 2004-06-10 7:32 UTC (permalink / raw)
To: Heater, Daniel (GE Infrastructure); +Cc: linuxppc-embedded
Heater, Daniel (GE Infrastructure) wrote:
>>I don't know about x86 bus organization, but maybe it limits
>>the address
>>range for available addresses too strongly (on a single bus,
>>where the
>>Universe is on). Comparing how much window space you can map with the
>>old version and the new one on x86 could prove useful.
>>
>>
>
>Your dead on right. I cannot allocate as much space. In fact,
>on a VMIVME-7750 I'm only able to allocate 768KB now vs. the
>~2MB I could access before.
>
>
Since we only request the current bus the Universe is on, there could be
a fix:
We could iterate the PCI bus tree to the top (there is some parent bus
field, IIRC), and then start complete iteration until a suitable
resource is found. This may produce larger resource regions with
reasonable effort.
Are you sure you mean 768 _KB_ and 2 _MB_, not 768 _MB_ and 2 _GB_? My
SLSI window is already 64 MB big, and with the PCI layout on my MVME2100
it is imaginable that I could map 84000000 - BEFFFFFF = 944MB (from end
of SLSI window to start of the Universe I/O memory)?
With kind regards,
Oliver Korpilla
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: VME - PowerPC: Resource sizes
@ 2004-06-10 13:03 Heater, Daniel (GE Infrastructure)
2004-06-10 15:11 ` Oliver Korpilla
0 siblings, 1 reply; 3+ messages in thread
From: Heater, Daniel (GE Infrastructure) @ 2004-06-10 13:03 UTC (permalink / raw)
To: okorpil; +Cc: linuxppc-embedded
> We could iterate the PCI bus tree to the top (there is some
> parent bus
> field, IIRC), and then start complete iteration until a suitable
> resource is found. This may produce larger resource regions with
> reasonable effort.
On the x86 boards we've dealt with we've gotten away with opening
VMEbus windows in PCI space not allocated by the Universe's parent
bridge because the parent bridges have always been set up for
subtractive decoding. So if no one else claimed the cycle, it got
passed down through the bridge to the Universe anyway.
> Are you sure you mean 768 _KB_ and 2 _MB_, not 768 _MB_ and 2
> _GB_? My SLSI window is already 64 MB big.
My bad. It's actually 768KB and 2GB are correct. The SLSI window
does fail to allocate with the patch.
daniel.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: VME - PowerPC: Resource sizes
2004-06-10 13:03 VME - PowerPC: Resource sizes Heater, Daniel (GE Infrastructure)
@ 2004-06-10 15:11 ` Oliver Korpilla
0 siblings, 0 replies; 3+ messages in thread
From: Oliver Korpilla @ 2004-06-10 15:11 UTC (permalink / raw)
To: Heater, Daniel (GE Infrastructure); +Cc: linuxppc-embedded
Heater, Daniel (GE Infrastructure) wrote:
>>We could iterate the PCI bus tree to the top (there is some
>>parent bus
>>field, IIRC), and then start complete iteration until a suitable
>>resource is found. This may produce larger resource regions with
>>reasonable effort.
>>
>>
>
>On the x86 boards we've dealt with we've gotten away with opening
>VMEbus windows in PCI space not allocated by the Universe's parent
>bridge because the parent bridges have always been set up for
>subtractive decoding. So if no one else claimed the cycle, it got
>passed down through the bridge to the Universe anyway.
>
>
>>Are you sure you mean 768 _KB_ and 2 _MB_, not 768 _MB_ and 2
>>_GB_? My SLSI window is already 64 MB big.
>>
>>
>
>My bad. It's actually 768KB and 2GB are correct. The SLSI window
>does fail to allocate with the patch.
>
>
That's not very good. I'm getting an Intel board (I guess VMIVME7700) In
the near future, so I could test several options. If my code does
prevent you from getting resonable window sizes, we could either walk
the tree, or conditionalize the code that way, that for the x86 resource
are again requested from iomem_resource directly.
But I guess that walking the tree should have a net result very similar
to your original code.
With kind regards,
Oliver Korpilla
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-10 15:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 13:03 VME - PowerPC: Resource sizes Heater, Daniel (GE Infrastructure)
2004-06-10 15:11 ` Oliver Korpilla
-- strict thread matches above, loose matches on Subject: below --
2004-06-09 20:01 VME driver patch for PowerPC Heater, Daniel (GE Infrastructure)
2004-06-10 7:32 ` VME - PowerPC: Resource sizes Oliver Korpilla
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).