All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: fsl-mc: add explicit dependencies for compile-tested arches
@ 2017-07-31 13:42 ` laurentiu.tudor at nxp.com
  0 siblings, 0 replies; 2+ messages in thread
From: laurentiu.tudor @ 2017-07-31 13:42 UTC (permalink / raw)
  To: gregkh, stuyoder
  Cc: devel, linux-kernel, marc.zyngier, agraf, sfr, arnd,
	ioana.ciornei, ruxandra.radulescu, bharat.bhushan,
	catalin.horghidan, leoyang.li, roy.pledge, linux-arm-kernel,
	Laurentiu Tudor

From: Laurentiu Tudor <laurentiu.tudor@nxp.com>

The driver makes use of GENERIC_MSI_IRQ_DOMAIN which requires arch
support so, on architectures that don't have it, the kernel will fail
to build. Add explicit dependency on architectures that were
compile-tested, thus fixing compilation for the ones that don't
implement GENERIC_MSI_IRQ_DOMAIN.

Fixes: 03274850279c ("staging: fsl-mc: allow the driver compile multi-arch")

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
---
 - This should take care of the compilation issue that Stephen Rothwell
   reported here: https://lkml.org/lkml/2017/7/31/200
 - Note that ppc will compile after merge with the powerpc tree because
   this patch is required: https://patchwork.ozlabs.org/patch/789474/

 drivers/staging/fsl-mc/bus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig
index 1af8d1d..504c987 100644
--- a/drivers/staging/fsl-mc/bus/Kconfig
+++ b/drivers/staging/fsl-mc/bus/Kconfig
@@ -8,7 +8,7 @@
 
 config FSL_MC_BUS
 	bool "QorIQ DPAA2 fsl-mc bus driver"
-	depends on OF && (ARCH_LAYERSCAPE || COMPILE_TEST)
+	depends on OF && (ARCH_LAYERSCAPE || (COMPILE_TEST && (ARM || ARM64 || X86 || PPC)))
 	select GENERIC_MSI_IRQ_DOMAIN
 	help
 	  Driver to enable the bus infrastructure for the QorIQ DPAA2
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] staging: fsl-mc: add explicit dependencies for compile-tested arches
@ 2017-07-31 13:42 ` laurentiu.tudor at nxp.com
  0 siblings, 0 replies; 2+ messages in thread
From: laurentiu.tudor at nxp.com @ 2017-07-31 13:42 UTC (permalink / raw)
  To: linux-arm-kernel

From: Laurentiu Tudor <laurentiu.tudor@nxp.com>

The driver makes use of GENERIC_MSI_IRQ_DOMAIN which requires arch
support so, on architectures that don't have it, the kernel will fail
to build. Add explicit dependency on architectures that were
compile-tested, thus fixing compilation for the ones that don't
implement GENERIC_MSI_IRQ_DOMAIN.

Fixes: 03274850279c ("staging: fsl-mc: allow the driver compile multi-arch")

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
---
 - This should take care of the compilation issue that Stephen Rothwell
   reported here: https://lkml.org/lkml/2017/7/31/200
 - Note that ppc will compile after merge with the powerpc tree because
   this patch is required: https://patchwork.ozlabs.org/patch/789474/

 drivers/staging/fsl-mc/bus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fsl-mc/bus/Kconfig b/drivers/staging/fsl-mc/bus/Kconfig
index 1af8d1d..504c987 100644
--- a/drivers/staging/fsl-mc/bus/Kconfig
+++ b/drivers/staging/fsl-mc/bus/Kconfig
@@ -8,7 +8,7 @@
 
 config FSL_MC_BUS
 	bool "QorIQ DPAA2 fsl-mc bus driver"
-	depends on OF && (ARCH_LAYERSCAPE || COMPILE_TEST)
+	depends on OF && (ARCH_LAYERSCAPE || (COMPILE_TEST && (ARM || ARM64 || X86 || PPC)))
 	select GENERIC_MSI_IRQ_DOMAIN
 	help
 	  Driver to enable the bus infrastructure for the QorIQ DPAA2
-- 
2.9.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-31 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-31 13:42 [PATCH] staging: fsl-mc: add explicit dependencies for compile-tested arches laurentiu.tudor
2017-07-31 13:42 ` laurentiu.tudor at nxp.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.