mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] irqchip/gic: Add dependency for ARM_GIC
@ 2019-06-27 14:11 Jiangfeng Xiao
  2019-06-27 14:20 ` Marc Zyngier
  0 siblings, 1 reply; 4+ messages in thread
From: Jiangfeng Xiao @ 2019-06-27 14:11 UTC (permalink / raw)
  To: tglx, jason, marc.zyngier, linus.walleij, xiaojiangfeng; +Cc: linux-kernel

Not every arch has ARM_GIC, it is strange
to see ARM_GIC_MAX_NR in the .config file
of the x86 and IA-64 architecture. so fix
build by adding necessary dependency.

Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 659c5e0..e338b471 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -19,6 +19,7 @@ config ARM_GIC_PM
 
 config ARM_GIC_MAX_NR
 	int
+	depends on ARM_GIC
 	default 2 if ARCH_REALVIEW
 	default 1
 
-- 
1.8.5.6


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

* Re: [PATCH] irqchip/gic: Add dependency for ARM_GIC
  2019-06-27 14:11 [PATCH] irqchip/gic: Add dependency for ARM_GIC Jiangfeng Xiao
@ 2019-06-27 14:20 ` Marc Zyngier
  2019-06-27 14:30   ` Jiangfeng Xiao
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Zyngier @ 2019-06-27 14:20 UTC (permalink / raw)
  To: Jiangfeng Xiao, tglx, jason, linus.walleij; +Cc: linux-kernel

On 27/06/2019 15:11, Jiangfeng Xiao wrote:
> Not every arch has ARM_GIC, it is strange
> to see ARM_GIC_MAX_NR in the .config file
> of the x86 and IA-64 architecture. so fix
> build by adding necessary dependency.
> 
> Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
> ---
>  drivers/irqchip/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
> index 659c5e0..e338b471 100644
> --- a/drivers/irqchip/Kconfig
> +++ b/drivers/irqchip/Kconfig
> @@ -19,6 +19,7 @@ config ARM_GIC_PM
>  
>  config ARM_GIC_MAX_NR
>  	int
> +	depends on ARM_GIC
>  	default 2 if ARCH_REALVIEW
>  	default 1
>  
> 

Isn't that the patch[1] that has already been in -next for the past 10 
days or so?

Thanks,

	M.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=702655234dd1d07e76f9bff9575e438c969fc32c
-- 
Jazz is not dead. It just smells funny...

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

* Re: [PATCH] irqchip/gic: Add dependency for ARM_GIC
  2019-06-27 14:20 ` Marc Zyngier
@ 2019-06-27 14:30   ` Jiangfeng Xiao
  2019-06-27 14:42     ` Marc Zyngier
  0 siblings, 1 reply; 4+ messages in thread
From: Jiangfeng Xiao @ 2019-06-27 14:30 UTC (permalink / raw)
  To: Marc Zyngier, tglx, jason, linus.walleij; +Cc: linux-kernel



On 2019/6/27 22:20, Marc Zyngier wrote:
> On 27/06/2019 15:11, Jiangfeng Xiao wrote:
>> Not every arch has ARM_GIC, it is strange
>> to see ARM_GIC_MAX_NR in the .config file
>> of the x86 and IA-64 architecture. so fix
>> build by adding necessary dependency.
>>
>> Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
>> ---
>>  drivers/irqchip/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
>> index 659c5e0..e338b471 100644
>> --- a/drivers/irqchip/Kconfig
>> +++ b/drivers/irqchip/Kconfig
>> @@ -19,6 +19,7 @@ config ARM_GIC_PM
>>  
>>  config ARM_GIC_MAX_NR
>>  	int
>> +	depends on ARM_GIC
>>  	default 2 if ARCH_REALVIEW
>>  	default 1
>>  
>>
> 
> Isn't that the patch[1] that has already been in -next for the past 10 
> days or so?
> 
> Thanks,
> 
> 	M.
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=702655234dd1d07e76f9bff9575e438c969fc32c
> 

I am very sorry. I thought that this patch was not reviewed,
so I pushed it again. I asked my colleagues how to get information
about whether the patch is included.

Will not make this low-level mistake again.

Thanks.


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

* Re: [PATCH] irqchip/gic: Add dependency for ARM_GIC
  2019-06-27 14:30   ` Jiangfeng Xiao
@ 2019-06-27 14:42     ` Marc Zyngier
  0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2019-06-27 14:42 UTC (permalink / raw)
  To: Jiangfeng Xiao, tglx, jason, linus.walleij; +Cc: linux-kernel

On 27/06/2019 15:30, Jiangfeng Xiao wrote:
> 
> 
> On 2019/6/27 22:20, Marc Zyngier wrote:
>> On 27/06/2019 15:11, Jiangfeng Xiao wrote:
>>> Not every arch has ARM_GIC, it is strange
>>> to see ARM_GIC_MAX_NR in the .config file
>>> of the x86 and IA-64 architecture. so fix
>>> build by adding necessary dependency.
>>>
>>> Signed-off-by: Jiangfeng Xiao <xiaojiangfeng@huawei.com>
>>> ---
>>>  drivers/irqchip/Kconfig | 1 +
>>>  1 file changed, 1 insertion(+)
>>>
>>> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
>>> index 659c5e0..e338b471 100644
>>> --- a/drivers/irqchip/Kconfig
>>> +++ b/drivers/irqchip/Kconfig
>>> @@ -19,6 +19,7 @@ config ARM_GIC_PM
>>>  
>>>  config ARM_GIC_MAX_NR
>>>  	int
>>> +	depends on ARM_GIC
>>>  	default 2 if ARCH_REALVIEW
>>>  	default 1
>>>  
>>>
>>
>> Isn't that the patch[1] that has already been in -next for the past 10 
>> days or so?
>>
>> Thanks,
>>
>> 	M.
>>
>> [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=702655234dd1d07e76f9bff9575e438c969fc32c
>>
> 
> I am very sorry. I thought that this patch was not reviewed,
> so I pushed it again. I asked my colleagues how to get information
> about whether the patch is included.
> 
> Will not make this low-level mistake again.

No worries. I should have replied to the initial patch to indicate that
I had queued it, but it appear I didn't! No harm done anyway.

Thanks,

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

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

end of thread, other threads:[~2019-06-27 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-27 14:11 [PATCH] irqchip/gic: Add dependency for ARM_GIC Jiangfeng Xiao
2019-06-27 14:20 ` Marc Zyngier
2019-06-27 14:30   ` Jiangfeng Xiao
2019-06-27 14:42     ` 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®