[openfabrics-ewg] [PATCH] ehca backport linux_ibmebus_to_2_6_9.patch
Michael S. Tsirkin
mst at mellanox.co.il
Mon Sep 18 12:38:25 PDT 2006
Quoting r. Hoang-Nam Nguyen <hnguyen at de.ibm.com>:
> Subject: [PATCH] ehca backport linux_ibmebus_to_2_6_9.patch
>
> Hi,
> below is ibmebus patch for kernel 2.6.9, ppc64/powerpc.
> I did commit it into svn contrib/ibm/gen2/backport/2.6.9.
> Since dma_addr_t is hardcoded as 32-bit number in 2.6.9 and ppc64, I need to introduce
> dma64_map/unmap_single() with result type of 64-bit, which is required by ehca.
> Thanks!
> Nam Nguyen
>
>
> Signed-off-by Hoang-Nam Nguyen <hnguyen at de.ibm.com>
> ---
>
>
> arch/ppc64/Kconfig | 7
> arch/ppc64/kernel/Makefile | 1
> arch/ppc64/kernel/dma.c | 49 +++
> arch/ppc64/kernel/ibmebus.c | 406 +++++++++++++++++++++++++++
> arch/ppc64/kernel/irq.c | 2
> drivers/infiniband/include/asm/dma-mapping.h | 13
> include/asm-ppc64/ibmebus.h | 120 +++++++
> 7 files changed, 598 insertions(+)
This won't work for OFED - it is built out-of-kernel,
we do not apply patches to kernel tree.
You need to add any functionality you are missing in kernel into
your module proper.
--
MST
More information about the ewg
mailing list