* [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
@ 2019-03-21 10:20 Clément Leger
2019-03-22 8:30 ` Clément Leger
0 siblings, 1 reply; 3+ messages in thread
From: Clément Leger @ 2019-03-21 10:20 UTC (permalink / raw)
To: linux-kernel
When DMA_REMAP is enabled, code in remap.c needs generic allocator.
It currently worked since few architectures uses it (arm64, csky) and
they both select GENERIC_ALLOCATOR.
Signed-off-by: Clement Leger <clement.leger@kalray.eu>
---
kernel/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index a06ba3013b3b..6a43c4ae77f9 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -58,6 +58,7 @@ config SWIOTLB
config DMA_REMAP
depends on MMU
bool
+ select GENERIC_ALLOCATOR
config DMA_DIRECT_REMAP
bool
--
2.15.0.276.g89ea799
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
2019-03-21 10:20 [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP Clément Leger
@ 2019-03-22 8:30 ` Clément Leger
2019-03-27 8:07 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Clément Leger @ 2019-03-22 8:30 UTC (permalink / raw)
To: linux-kernel, Christoph Hellwig, Marek Szyprowski; +Cc: iommu, Robin Murphy
----- Mail original -----
De: "Clément Leger" <cleger@kalray.eu>
À: "linux-kernel" <linux-kernel@vger.kernel.org>
Envoyé: Jeudi 21 Mars 2019 11:20:29
Objet: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
When DMA_REMAP is enabled, code in remap.c needs generic allocator.
It currently worked since few architectures uses it (arm64, csky) and
they both select GENERIC_ALLOCATOR.
Signed-off-by: Clement Leger <clement.leger@kalray.eu>
---
kernel/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index a06ba3013b3b..6a43c4ae77f9 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -58,6 +58,7 @@ config SWIOTLB
config DMA_REMAP
depends on MMU
bool
+ select GENERIC_ALLOCATOR
config DMA_DIRECT_REMAP
bool
--
2.15.0.276.g89ea799
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
2019-03-22 8:30 ` Clément Leger
@ 2019-03-27 8:07 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2019-03-27 8:07 UTC (permalink / raw)
To: Clément Leger
Cc: linux-kernel, Christoph Hellwig, Marek Szyprowski, iommu, Robin Murphy
Please resend the actual patch so that I can apply it.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-27 8:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 10:20 [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP Clément Leger
2019-03-22 8:30 ` Clément Leger
2019-03-27 8:07 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).