mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS
@ 2022-06-30 11:10 Jamie Iles
  2022-06-30 12:33 ` Michal Simek
  2022-07-01 13:29 ` [irqchip: irq/irqchip-fixes] irqchip/xilinx: Add " irqchip-bot for Jamie Iles
  0 siblings, 2 replies; 4+ messages in thread
From: Jamie Iles @ 2022-06-30 11:10 UTC (permalink / raw)
  To: maz; +Cc: michal.simek, linux-kernel, Jamie Iles, kernel test robot

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.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 1f23a6be7d88..bbb11cb8b0f7 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -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.
-- 
2.34.1


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

* Re: [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS
  2022-06-30 11:10 [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS Jamie Iles
@ 2022-06-30 12:33 ` Michal Simek
  2022-07-01 13:29 ` [irqchip: irq/irqchip-fixes] irqchip/xilinx: Add " irqchip-bot for Jamie Iles
  1 sibling, 0 replies; 4+ messages in thread
From: Michal Simek @ 2022-06-30 12:33 UTC (permalink / raw)
  To: Jamie Iles, maz; +Cc: linux-kernel, kernel test robot



On 6/30/22 13:10, Jamie Iles wrote:
> 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?

> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Jamie Iles <jamie@jamieiles.com>
> ---
>   drivers/irqchip/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index 1f23a6be7d88..bbb11cb8b0f7 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -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
Acked-by: Michal Simek <michal.simek@amd.com>

Thanks,
Michal

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

* [irqchip: irq/irqchip-fixes] irqchip/xilinx: Add explicit dependency on OF_ADDRESS
  2022-06-30 11:10 [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS Jamie Iles
  2022-06-30 12:33 ` Michal Simek
@ 2022-07-01 13:29 ` irqchip-bot for Jamie Iles
  1 sibling, 0 replies; 4+ messages in thread
From: irqchip-bot for Jamie Iles @ 2022-07-01 13:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: kernel test robot, Jamie Iles, Michal Simek, Marc Zyngier, tglx

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 <jamie@jamieiles.com>
AuthorDate:    Thu, 30 Jun 2022 12:10:08 +01:00
Committer:     Marc Zyngier <maz@kernel.org>
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")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220630111008.3838307-1-jamie@jamieiles.com
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 1f23a6b..bbb11cb 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -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.

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

* Re: [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS
@ 2022-06-30 13:26 Marc Zyngier
  0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2022-06-30 13:26 UTC (permalink / raw)
  To: Michal Simek; +Cc: Jamie Iles, linux-kernel, kernel test robot

On 2022-06-30 13:33, Michal Simek wrote:
> On 6/30/22 13:10, Jamie Iles wrote:
>> 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?
> 
>> Reported-by: kernel test robot <lkp@intel.com>
>> Signed-off-by: Jamie Iles <jamie@jamieiles.com>
>> ---
>>   drivers/irqchip/Kconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
>> index 1f23a6be7d88..bbb11cb8b0f7 100644
>> --- a/drivers/irqchip/Kconfig
>> +++ b/drivers/irqchip/Kconfig
>> @@ -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
> Acked-by: Michal Simek <michal.simek@amd.com>

No need to respin, I'll add the tag myself.

         M.
-- 
Jazz is not dead. It just smells funny...

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

end of thread, other threads:[~2022-07-01 13:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 11:10 [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS Jamie Iles
2022-06-30 12:33 ` Michal Simek
2022-07-01 13:29 ` [irqchip: irq/irqchip-fixes] irqchip/xilinx: Add " irqchip-bot for Jamie Iles
2022-06-30 13:26 [PATCH] irqchip/xilinx: add " Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®