DMA mapping on sparc64 (was Re: [openib-general] [ANNOUNCE] tvflash: userspace-only Mellanox HCA flash tool)

Roland Dreier roland at topspin.com
Tue Sep 14 15:56:07 PDT 2004


    Tom> high_memory - PAGE_OFFSET = 0x000000007fecc000

    Tom> scatter_list.addr = 0x00000000c3b7a360 through 00000000c3f96d80

Yup, that's the problem.

As a quick hack you can change the .size in ib_mad_register_memory to
(1ULL << 32).  There's some similar code in ipoib_transport_dev_init()
that needs the same treatment too.  That should make things work.

The correct fix is to add a new operation to return an L_Key that
covers any DMA address.  I'll post some patches to do that soon (I
hope this week).

 - R.



More information about the general mailing list