Skip to contentSkip to conversation

irqchip/xilinx: add explicit dependency on OF_ADDRESS

PATCH Applied Jamie Iles 3 participants 3 messages Jun 30, 2022 – Jul 1, 2022 irqchip drivers

lore
Share & tools
lore

Jamie Iles

author
#0 lore raw

PATCH 1/1 irqchip/xilinx: add explicit dependency on OF_ADDRESS

Commit b84dc7f0e364 ("irqchip/xilinx: Remove microblaze+zynq dependency") relaxed the dependencies on the Xilinx interrupt controller to be OF only, but some OF architectures (s390 for example) do not support OF_ADDRESS and so a build of the driver will result in undefined references to of_iomap/iounmap and friends.

---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +1 -1
index 1f23a6be7d88..bbb11cb8b0f7 100644
@@ -298,7 +298,7 @@ config XTENSA_MX
 
 config XILINX_INTC
 	bool "Xilinx Interrupt Controller IP"
-	depends on OF
+	depends on OF_ADDRESS
 	select IRQ_DOMAIN
 	help
 	  Support for the Xilinx Interrupt Controller IP core.
Signature · 1 line
2.34.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Jamie Iles

Commit b84dc7f0e364 ("irqchip/xilinx: Remove microblaze+zynq dependency") relaxed the dependencies on the Xilinx interrupt controller to be OF only, but some OF architectures (s390 for example) do not support OF_ADDRESS and so a build of the driver will result in undefined references to of_iomap/iounmap and friends.

Can you please add here fixed tag?

Quoted 11 lines
---
  drivers/irqchip/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +0 -0
index 1f23a6be7d88..bbb11cb8b0f7 100644

drivers/irqchip/Kconfig config XTENSA_MX · line 304

Quoted 8 lines
drivers/irqchip/Kconfig +1 -1
@@ -298,7 +298,7 @@ config XTENSA_MX
 
  config XILINX_INTC
  	bool "Xilinx Interrupt Controller IP"
-	depends on OF
+	depends on OF_ADDRESS
  	select IRQ_DOMAIN
  	help
  	  Support for the Xilinx Interrupt Controller IP core.

When above added feel free to add my

Thanks,
Michal

merge bot Applied
#2 lore raw

[irqchip: irq/irqchip-fixes] irqchip/xilinx: Add explicit dependency on OF_ADDRESS

In reply to Jamie Iles
The following commit has been merged into the irq/irqchip-fixes branch of irqchip:

The following commit has been merged into the irq/irqchip-fixes branch of irqchip:

Commit-ID:     fd31000d58f41588fa10128278efdab8474f5ce8
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/fd31000d58f41588fa10128278efdab8474f5ce8
Author:        Jamie Iles <[email protected]>
AuthorDate:    Thu, 30 Jun 2022 12:10:08 +01:00
Committer:     Marc Zyngier <[email protected]>
CommitterDate: Fri, 01 Jul 2022 14:25:46 +01:00

irqchip/xilinx: Add explicit dependency on OF_ADDRESS

Commit b84dc7f0e364 ("irqchip/xilinx: Remove microblaze+zynq dependency") relaxed the dependencies on the Xilinx interrupt controller to be OF only, but some OF architectures (s390 for example) do not support OF_ADDRESS and so a build of the driver will result in undefined references to of_iomap/iounmap and friends.

Fixes b84dc7f0e364 ("irqchip/xilinx: Remove microblaze+zynq dependency")
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/Kconfig +1 -1
index 1f23a6b..bbb11cb 100644
@@ -298,7 +298,7 @@ config XTENSA_MX
 
 config XILINX_INTC
 	bool "Xilinx Interrupt Controller IP"
-	depends on OF
+	depends on OF_ADDRESS
 	select IRQ_DOMAIN
 	help
 	  Support for the Xilinx Interrupt Controller IP core.