linux-mips
[Top] [All Lists]

[PATCH 0/2] SWIOTLB support for Netlogic XLP

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 0/2] SWIOTLB support for Netlogic XLP
From: "Jayachandran C" <jchandra@broadcom.com>
Date: Mon, 10 Jun 2013 12:58:07 +0530
Cc: "Jayachandran C" <jchandra@broadcom.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Two patches for using the SWIOTLB lib in Netlogic XLP code.

The first one adds support for SWIOTLB in generic MIPS operations.
Without this platforms cannot use generic MIPS dma ops when SWIOTLB
is enabled.  The second adds SWIOTLB based dma ops for Netlogic XLP,
which will be used by a few drivers which cannot do 64-bit DMA.

Comments welcome.

Regards,
JC.


Ganesan Ramalingam (1):
  MIPS: Netlogic: SWIOTLB dma ops for 32-bit DMA

Jayachandran C (1):
  MIPS: Support SWIOTLB in default dma operations

 arch/mips/include/asm/mach-generic/dma-coherence.h |   12 +++
 arch/mips/include/asm/netlogic/common.h            |    3 +
 arch/mips/mm/dma-default.c                         |    3 +
 arch/mips/netlogic/Kconfig                         |   11 ++
 arch/mips/netlogic/common/Makefile                 |    1 +
 arch/mips/netlogic/common/nlm-dma.c                |  107 ++++++++++++++++++++
 6 files changed, 137 insertions(+)
 create mode 100644 arch/mips/netlogic/common/nlm-dma.c

-- 
1.7.9.5



<Prev in Thread] Current Thread [Next in Thread>