* [PATCH] iommu/exynos: Fix arm64 allmodconfig build
@ 2014-12-15 13:00 Mark Brown
2014-12-15 13:10 ` Krzysztof Kozłowski
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-12-15 13:00 UTC (permalink / raw)
To: Joerg Roedel, Will Deacon, Catalin Marinas
Cc: linux-samsung-soc, iommu, linux-arm-kernel, Mark Brown
The Exynos IOMMU driver uses the ARM specific dmac_flush_range() and
outer_flush_range() functions. This breaks the build on arm64 allmodconfig
in -next since support has been merged for some Exynos ARMv8 SoCs. Add a
dependency on ARM to keep things building until either the driver has the
ARM dependencies removed or the ARMv8 architecture code implements these
ARM specific APIs.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/iommu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 01e8bfae569b..325188eef1c1 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -187,7 +187,7 @@ config TEGRA_IOMMU_SMMU
config EXYNOS_IOMMU
bool "Exynos IOMMU Support"
- depends on ARCH_EXYNOS
+ depends on ARCH_EXYNOS && ARM
select IOMMU_API
select ARM_DMA_USE_IOMMU
help
--
2.1.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] iommu/exynos: Fix arm64 allmodconfig build
2014-12-15 13:00 [PATCH] iommu/exynos: Fix arm64 allmodconfig build Mark Brown
@ 2014-12-15 13:10 ` Krzysztof Kozłowski
2014-12-15 15:35 ` Mark Brown
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozłowski @ 2014-12-15 13:10 UTC (permalink / raw)
To: Mark Brown, Joerg Roedel, Will Deacon, Catalin Marinas
Cc: linux-samsung-soc, iommu, linux-arm-kernel
On 15.12.2014 14:00, Mark Brown wrote:
> The Exynos IOMMU driver uses the ARM specific dmac_flush_range() and
> outer_flush_range() functions. This breaks the build on arm64 allmodconfig
> in -next since support has been merged for some Exynos ARMv8 SoCs. Add a
> dependency on ARM to keep things building until either the driver has the
> ARM dependencies removed or the ARMv8 architecture code implements these
> ARM specific APIs.
Hi Mark,
Few days ago I posted similar patch:
https://lkml.org/lkml/2014/12/5/268
but no one have picked it up.
Anyway the fix of yours seems fine to me.
Best regards,
Krzysztof
>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> drivers/iommu/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 01e8bfae569b..325188eef1c1 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -187,7 +187,7 @@ config TEGRA_IOMMU_SMMU
>
> config EXYNOS_IOMMU
> bool "Exynos IOMMU Support"
> - depends on ARCH_EXYNOS
> + depends on ARCH_EXYNOS && ARM
> select IOMMU_API
> select ARM_DMA_USE_IOMMU
> help
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] iommu/exynos: Fix arm64 allmodconfig build
2014-12-15 13:10 ` Krzysztof Kozłowski
@ 2014-12-15 15:35 ` Mark Brown
[not found] ` <20141215153529.GC11764-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-12-15 15:35 UTC (permalink / raw)
To: Krzysztof Kozłowski
Cc: Joerg Roedel, Will Deacon, Catalin Marinas, linux-samsung-soc,
iommu, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
On Mon, Dec 15, 2014 at 02:10:37PM +0100, Krzysztof Kozłowski wrote:
> Hi Mark,
> Few days ago I posted similar patch:
> https://lkml.org/lkml/2014/12/5/268
> but no one have picked it up.
> Anyway the fix of yours seems fine to me.
I don't mind either way, it just seemed to be easier to report the bug
with a patch. If Jeorg is busy perhaps it can go via the arm64 tree,
the issue is triggered by the addition of the platform there?
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] iommu/exynos: Fix arm64 allmodconfig build
[not found] ` <20141215153529.GC11764-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-12-15 15:38 ` Will Deacon
2014-12-15 15:56 ` Mark Brown
0 siblings, 1 reply; 7+ messages in thread
From: Will Deacon @ 2014-12-15 15:38 UTC (permalink / raw)
To: Mark Brown
Cc: Krzysztof Kozłowski,
linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Catalin Marinas,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
On Mon, Dec 15, 2014 at 03:35:29PM +0000, Mark Brown wrote:
> On Mon, Dec 15, 2014 at 02:10:37PM +0100, Krzysztof Kozłowski wrote:
> > Few days ago I posted similar patch:
> > https://lkml.org/lkml/2014/12/5/268
> > but no one have picked it up.
>
> > Anyway the fix of yours seems fine to me.
>
> I don't mind either way, it just seemed to be easier to report the bug
> with a patch. If Jeorg is busy perhaps it can go via the arm64 tree,
> the issue is triggered by the addition of the platform there?
Can I pass the buck to arm-soc, as they're handling arm64 platform code?
It seems sensible to merge the fix via the same tree that introduced the
breakage.
Will
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] iommu/exynos: Fix arm64 allmodconfig build
@ 2014-12-15 15:54 Mark Brown
2014-12-16 20:40 ` Arnd Bergmann
0 siblings, 1 reply; 7+ messages in thread
From: Mark Brown @ 2014-12-15 15:54 UTC (permalink / raw)
To: Will Deacon, Krzysztof Kozłowski, Joerg Roedel,
Arnd Bergmann, Olof Johansson
Cc: linux-samsung-soc, iommu, linux-arm-kernel, Mark Brown
The Exynos IOMMU driver uses the ARM specific dmac_flush_range() and
outer_flush_range() functions. This breaks the build on arm64 allmodconfig
in -next since support has been merged for some Exynos ARMv8 SoCs. Add a
dependency on ARM to keep things building until either the driver has the
ARM dependencies removed or the ARMv8 architecture code implements these
ARM specific APIs.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Resending to the arm-soc people since the addition of the Exynos
platform for ARMv8 went via them, Krzysztof also sent a fix for this
earlier but it there's been no response.
drivers/iommu/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 01e8bfae569b..325188eef1c1 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -187,7 +187,7 @@ config TEGRA_IOMMU_SMMU
config EXYNOS_IOMMU
bool "Exynos IOMMU Support"
- depends on ARCH_EXYNOS
+ depends on ARCH_EXYNOS && ARM
select IOMMU_API
select ARM_DMA_USE_IOMMU
help
--
2.1.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] iommu/exynos: Fix arm64 allmodconfig build
2014-12-15 15:38 ` Will Deacon
@ 2014-12-15 15:56 ` Mark Brown
0 siblings, 0 replies; 7+ messages in thread
From: Mark Brown @ 2014-12-15 15:56 UTC (permalink / raw)
To: Will Deacon
Cc: Krzysztof Kozłowski, Joerg Roedel, Catalin Marinas,
linux-samsung-soc@vger.kernel.org,
iommu@lists.linux-foundation.org,
linux-arm-kernel@lists.infradead.org
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
On Mon, Dec 15, 2014 at 03:38:04PM +0000, Will Deacon wrote:
> On Mon, Dec 15, 2014 at 03:35:29PM +0000, Mark Brown wrote:
> > I don't mind either way, it just seemed to be easier to report the bug
> > with a patch. If Jeorg is busy perhaps it can go via the arm64 tree,
> > the issue is triggered by the addition of the platform there?
> Can I pass the buck to arm-soc, as they're handling arm64 platform code?
> It seems sensible to merge the fix via the same tree that introduced the
> breakage.
Sure, just resending to them...
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] iommu/exynos: Fix arm64 allmodconfig build
2014-12-15 15:54 Mark Brown
@ 2014-12-16 20:40 ` Arnd Bergmann
0 siblings, 0 replies; 7+ messages in thread
From: Arnd Bergmann @ 2014-12-16 20:40 UTC (permalink / raw)
To: linux-arm-kernel
Cc: Mark Brown, Will Deacon, Krzysztof Kozłowski, Joerg Roedel,
Olof Johansson, iommu, linux-samsung-soc
On Monday 15 December 2014 15:54:42 Mark Brown wrote:
> The Exynos IOMMU driver uses the ARM specific dmac_flush_range() and
> outer_flush_range() functions. This breaks the build on arm64 allmodconfig
> in -next since support has been merged for some Exynos ARMv8 SoCs. Add a
> dependency on ARM to keep things building until either the driver has the
> ARM dependencies removed or the ARMv8 architecture code implements these
> ARM specific APIs.
>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>
> Resending to the arm-soc people since the addition of the Exynos
> platform for ARMv8 went via them, Krzysztof also sent a fix for this
> earlier but it there's been no response.
>
Applied to fixes branch, thansk!
Arnd
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-12-16 20:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-15 13:00 [PATCH] iommu/exynos: Fix arm64 allmodconfig build Mark Brown
2014-12-15 13:10 ` Krzysztof Kozłowski
2014-12-15 15:35 ` Mark Brown
[not found] ` <20141215153529.GC11764-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-12-15 15:38 ` Will Deacon
2014-12-15 15:56 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2014-12-15 15:54 Mark Brown
2014-12-16 20:40 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox