[openib-general] Re: mstflint failing on sparc64

Grant Grundler iod00d at hp.com
Fri Jan 7 09:17:38 PST 2005


On Fri, Jan 07, 2005 at 01:39:04PM +0200, Michael S. Tsirkin wrote:
> So PCI addresses are different from physical addresses,

Yes, they can be.
My point was the addreses mappings can be 1:1 in one
direction but not 1:1 in the other.
It's platform specific.

> and /dev/mem deals with physical addresses, right?
> If that's the case, changing mmapped access to pread/pwrite
> wont help either?

TBH, I don't really know. Frame buffer support in XF86 must
be dealing with this issue.

> So is there a way to get at the pci bus from userspace
> on that platform?

Only thing consistent is PCI config space - assuming the PCI
bus numbers don't change.
Look at pciutils to see how and what it supports.

hth,
grant



More information about the general mailing list