[openfabrics-ewg] [PATCH] ehca backport openib_dma_addr_t_ofed_1.1_to_2_6_9.patch
Michael S. Tsirkin
mst at mellanox.co.il
Mon Sep 18 12:44:29 PDT 2006
Quoting r. Hoang-Nam Nguyen <hnguyen at de.ibm.com>:
> Subject: [PATCH] ehca backport openib_dma_addr_t_ofed_1.1_to_2_6_9.patch
>
> Hi,
> this patch below is required to run ipoib, mad etc on ehca device driver,
> kernel 2.6.9, ppc64.
Please note 2.6.9 from kernel.org is not supported by OFED -
these backports are actually for RHEL4 U2.
> The main changes are replacing dma_addr_t by dma64_addr_t
> and dma_map/unmap_single() by dma64_map/unmap_single().
> I did commit it into contrib/ibm/gen2/backport/2.6.9.
> Thanks!
> Nam Nguyen
This does not make sense to me.
Can we just do
#define dma_map dma64_map
And what will this do on non-ppc arches?
I don't think we can add such intrusive patches at this late stage.
--
MST
More information about the ewg
mailing list