[openib-general] Re: mstflint failing on sparc64

Roland Dreier roland.list at gmail.com
Thu Jan 6 15:26:13 PST 2005


> > Generally, do yo happend to know if mmapping /dev/mem
> > to userspace works on this architecture?

> I can't imagine that it would not.  I will see if I can dig info up.
> The one thing that is weird on sparc64 is that the pci bus is virtually
> (not physically) addressed.  I don't know if you take that into account.

Actually I would suspect that it doesn't.  If you look at drivers/char/mem.c,
you can see that there's nothing there to set up the IOMMU, so I don't
think access to PCI space will work -- a simple remap_pfn_range won't work
(sparc64 doesn't even define pgprot_noncached).

 - R.



More information about the general mailing list