Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: range of resource of PCI memory for PowerPC



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 14, 2008, at 1:33 PM, KIYOHARA Takashi wrote:

I know, bebox and prep (and ibmnws?) has resource problem of PCI memory.
We extent memory region at start 0x00000000.  However
xf86PciBusAccWindowsFromOS() add to resource-list at 0x80000000.

That's the Xserver trying to play operating system and configure PCI devices. This list is largely bogus anyway - just set your entries to something big enough to cover any PCI memory or IO address legal on your hardware. The start at 0x80000000 is more or less macppc-specific - all host bridges Apple ever used in PowerPC boxes have a rimilar address space layout - the lower 2GB for RAM and the upper 2GB for PCI space, firmware and various hardware registers. They even did that on the G5 ( with more RAM above 4GB ). Many IBM and Motorola hostbridges use a very similar layout ( in fact Apple used Motorola's MPC106 and IBM's CPC9x5 host bridges in some Macs, either can be found in prep or ofppc machines as well )

Shall we define PCI_MAGIC_MEM_RANGE_{START,END} in param.h, just like
PCI_MAGIC_IO_RANGE?

I don't see a need for that as long as you can mmap(some_pci_bus_address) via ttyE0 you should be fine.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSUVhLcpnzkX8Yg2nAQIuyAf8Cc1Qi/Rq51KidPHuGiXUdAN8UeejgZLh
zJqnLWaGoYThxfIUZSook5EXT50v8Cs1wgdKEZz1MKN4/VCW6cKlrbl5hOBH3np0
Lb2872cCBpH07RuoMn8+6vHztB6WvfPY1RVa/ADlIzq2POAaDn5uvmC8nNs727ZR
m/qfgl1qAueTDNTFN2VpWsSBCeG1To1GogePnANtN5ZAwYEXs31RxbGYcTwO4VZB
5CcQwYsGrHsfwfLgFzJuieU0M02NS+gCnoMrdjbvrFs0TK/Q+QAqcMCaHmOMgoky
WnvFFusxLgxqupBrIB6FJlqdiOV1JYOvYEvQb8HgDfK3KwPYfbln4A==
=0UVp
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index