* next-20160607 build: 2 failures 9 warnings (next-20160607) [not found] <E1bABXS-0001YX-Cz@optimist> @ 2016-06-07 10:58 ` Mark Brown 2016-06-07 11:32 ` [PATCH] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) Marek Szyprowski 2016-06-07 13:22 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Sylwester Nawrocki 0 siblings, 2 replies; 4+ messages in thread From: Mark Brown @ 2016-06-07 10:58 UTC (permalink / raw) To: linux-arm-kernel On Tue, Jun 07, 2016 at 08:35:02AM +0100, Build bot for Mark Brown wrote: Today's -next fails to build an arm64 allmodconfig due to: > arm64-allmodconfig > ../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which relies on a header which is only available on 32 bit ARM. I suspect the driver should be using linux/dma-iommu.h instead. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160607/eae13f6d/attachment.sig> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) 2016-06-07 10:58 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Mark Brown @ 2016-06-07 11:32 ` Marek Szyprowski 2016-06-07 13:22 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Sylwester Nawrocki 1 sibling, 0 replies; 4+ messages in thread From: Marek Szyprowski @ 2016-06-07 11:32 UTC (permalink / raw) To: linux-arm-kernel This patch fixes build break caused by lack of dma-iommu API on ARM64 (this API is specific to ARM 32bit architecture). Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h b/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h index 5d1d1c2..6962132 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h @@ -14,7 +14,7 @@ #define S5P_MFC_IOMMU_DMA_BASE 0x20000000lu #define S5P_MFC_IOMMU_DMA_SIZE SZ_256M -#ifdef CONFIG_EXYNOS_IOMMU +#if defined(CONFIG_EXYNOS_IOMMU) && defined(CONFIG_ARM_DMA_USE_IOMMU) #include <asm/dma-iommu.h> -- 1.9.2 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* next-20160607 build: 2 failures 9 warnings (next-20160607) 2016-06-07 10:58 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Mark Brown 2016-06-07 11:32 ` [PATCH] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) Marek Szyprowski @ 2016-06-07 13:22 ` Sylwester Nawrocki 2016-06-07 13:33 ` Mauro Carvalho Chehab 1 sibling, 1 reply; 4+ messages in thread From: Sylwester Nawrocki @ 2016-06-07 13:22 UTC (permalink / raw) To: linux-arm-kernel On 06/07/2016 12:58 PM, Mark Brown wrote: > On Tue, Jun 07, 2016 at 08:35:02AM +0100, Build bot for Mark Brown wrote: > > Today's -next fails to build an arm64 allmodconfig due to: > >> arm64-allmodconfig >> ../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory > > introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which > relies on a header which is only available on 32 bit ARM. I suspect the > driver should be using linux/dma-iommu.h instead. Since the mfc topic branch got already pulled to the samsung-soc tree, as discussed in other thread [1], there is a build break in -next. There is a patch to fix this issue and to include it in next, as we agreed on irc, could you please pull this branch into your "for-next" tree: git://linuxtv.org/snawrocki/samsung.git for-v4.8/media/exynos-mfc and then apply that patch [2] ? "media: s5p-mfc: fix compilation issue on archs other than ARM (32bit)" -- Thanks, Sylwester [1] https://patchwork.linuxtv.org/patch/34495 [2] https://patchwork.linuxtv.org/patch/34515 ^ permalink raw reply [flat|nested] 4+ messages in thread
* next-20160607 build: 2 failures 9 warnings (next-20160607) 2016-06-07 13:22 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Sylwester Nawrocki @ 2016-06-07 13:33 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 4+ messages in thread From: Mauro Carvalho Chehab @ 2016-06-07 13:33 UTC (permalink / raw) To: linux-arm-kernel Em Tue, 07 Jun 2016 15:22:58 +0200 Sylwester Nawrocki <s.nawrocki@samsung.com> escreveu: > On 06/07/2016 12:58 PM, Mark Brown wrote: > > On Tue, Jun 07, 2016 at 08:35:02AM +0100, Build bot for Mark Brown wrote: > > > > Today's -next fails to build an arm64 allmodconfig due to: > > > >> arm64-allmodconfig > >> ../drivers/media/platform/s5p-mfc/s5p_mfc_iommu.h:19:27: fatal error: asm/dma-iommu.h: No such file or directory > > > > introduced by 04f776734c4e (media: s5p-mfc: add iommu support) which > > relies on a header which is only available on 32 bit ARM. I suspect the > > driver should be using linux/dma-iommu.h instead. > > Since the mfc topic branch got already pulled to the samsung-soc tree, > as discussed in other thread [1], there is a build break in -next. > There is a patch to fix this issue and to include it in next, as we > agreed on irc, could you please pull this branch into your "for-next" > tree: > > git://linuxtv.org/snawrocki/samsung.git for-v4.8/media/exynos-mfc > > and then apply that patch [2] ? > "media: s5p-mfc: fix compilation issue on archs other than ARM (32bit)" Sure. Applied, thanks! Mauro ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-07 13:33 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <E1bABXS-0001YX-Cz@optimist> 2016-06-07 10:58 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Mark Brown 2016-06-07 11:32 ` [PATCH] media: s5p-mfc: fix compilation issue on archs other than ARM (32bit) Marek Szyprowski 2016-06-07 13:22 ` next-20160607 build: 2 failures 9 warnings (next-20160607) Sylwester Nawrocki 2016-06-07 13:33 ` Mauro Carvalho Chehab
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).