[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1385736706-3147-1-git-send-email-akinobu.mita@gmail.com>
Date: Fri, 29 Nov 2013 23:51:44 +0900
From: Akinobu Mita <akinobu.mita@...il.com>
To: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org
Cc: Akinobu Mita <akinobu.mita@...il.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
Andi Kleen <andi@...stfloor.org>,
David Woodhouse <dwmw2@...radead.org>,
iommu@...ts.linux-foundation.org
Subject: [PATCH 0/2] extend support for CMA CMA on x86
This patch set extends support for the DMA Contiguous Memory Allocator
on x86. Currently it is only supported on pci-nommu. So this aims at
enabling it on swiotlb and intel-iommu, too.
Regardless of which dma mapping implementation is actually used in the
system, I would like to allocate big contiguous memory with
dma_alloc_coherent() and tell the base address to the device that
requires it. This is why I need this change.
Akinobu Mita (2):
x86: enable DMA CMA with swiotlb
intel-iommu: integrate DMA CMA
arch/x86/Kconfig | 2 +-
arch/x86/include/asm/swiotlb.h | 7 +++++++
arch/x86/kernel/amd_gart_64.c | 2 +-
arch/x86/kernel/pci-swiotlb.c | 9 ++++++---
arch/x86/pci/sta2x11-fixup.c | 6 ++----
drivers/iommu/intel-iommu.c | 32 ++++++++++++++++++++++++--------
include/linux/swiotlb.h | 2 ++
lib/swiotlb.c | 2 +-
8 files changed, 44 insertions(+), 18 deletions(-)
Cc: Marek Szyprowski <m.szyprowski@...sung.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: x86@...nel.org
Cc: Andi Kleen <andi@...stfloor.org>
Cc: David Woodhouse <dwmw2@...radead.org>
Cc: iommu@...ts.linux-foundation.org
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists