[openib-general] Re: [PATCH 21 of 53] ipath - use phys_to_virt instead of bus_to_virt

Roland Dreier rdreier at cisco.com
Mon May 15 08:50:27 PDT 2006


 > I think Roland already has this patch.

 >  	 * This is a bit of a hack since we rely on dma_map_single()
 > -	 * being reversible by calling bus_to_virt().
 > +	 * being reversible by calling phys_to_virt().

Actually I NAK'ed this patch.  It compiles the same thing on x86_64
but makes the source code wrong -- dma_map_single() returns a bus
address, not a physical address.

 - R.



More information about the general mailing list