Skip to contentSkip to conversation

irqchip/gic: Add dependency for ARM_GIC

PATCH In review Jiangfeng Xiao 2 participants 4 messages Jun 27, 2019 irqchip drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqchip/gic: Add dependency for ARM_GIC

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.

---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/Kconfig +1 -0
index 659c5e0..e338b471 100644
@@ -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
 
Signature · 1 line
1.8.5.6
#1 lore raw
Quoted 16 lines · Jiangfeng Xiao

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.

---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/Kconfig +0 -0
index 659c5e0..e338b471 100644

drivers/irqchip/Kconfig config ARM_GIC_PM · line 25

Quoted 7 lines
drivers/irqchip/Kconfig +1 -0
@@ -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

Signature · 1 line
Jazz is not dead. It just smells funny...
#2 lore raw
Quoted 28 lines · Marc Zyngier
Quoted 16 lines · Jiangfeng Xiao

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.

---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/Kconfig +0 -0
index 659c5e0..e338b471 100644

drivers/irqchip/Kconfig config ARM_GIC_PM · line 25

Quoted 7 lines
drivers/irqchip/Kconfig +1 -0
@@ -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?

Quoted 6 lines

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.

#3 lore raw
Quoted 35 lines · Jiangfeng Xiao
Quoted 32 lines · Marc Zyngier
Quoted 16 lines · Jiangfeng Xiao

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.

---
 drivers/irqchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/irqchip/Kconfig +0 -0
index 659c5e0..e338b471 100644

drivers/irqchip/Kconfig config ARM_GIC_PM · line 25

Quoted 7 lines
drivers/irqchip/Kconfig +1 -0
@@ -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.
Quoted 8 lines
Quoted 2 lines

[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.
Signature · 1 line
Jazz is not dead. It just smells funny...