Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363266

[PATCH 2/2] irqchip/mbigen:Change the config option of mbigen driver to non-configurable

From MaJun <majun258@huawei.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] irqchip/mbigen:Change the config option of mbigen driver to non-configurable
Date 2016-03-23 10:10 +0100
Message-ID <rfMXF-1bN-21@gated-at.bofh.it> (permalink)
References <rfMXF-1bN-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Ma Jun <majun258@huawei.com>

This config is selected by CONFIG_ARCH_HISI, So we change
this config to non-configurable.

I also adjust the mbigen config position try to sort the configs
in alphabetical order.

Signed-off-by: Ma Jun <majun258@huawei.com>
---
 drivers/irqchip/Kconfig |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 7e8c441..3e12479 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -32,14 +32,6 @@ config ARM_GIC_V3_ITS
 	bool
 	select PCI_MSI_IRQ_DOMAIN
 
-config HISILICON_IRQ_MBIGEN
-	bool "Support mbigen interrupt controller"
-	default n
-	depends on ARM_GIC_V3 && ARM_GIC_V3_ITS && GENERIC_MSI_IRQ_DOMAIN
-	help
-	 Enable the mbigen interrupt controller used on
-	 Hisilicon platform.
-
 config ARM_NVIC
 	bool
 	select IRQ_DOMAIN
@@ -114,6 +106,12 @@ config DW_APB_ICTL
 	select GENERIC_IRQ_CHIP
 	select IRQ_DOMAIN
 
+config HISILICON_IRQ_MBIGEN
+	bool
+	select ARM_GIC_V3
+	select ARM_GIC_V3_ITS
+	select GENERIC_MSI_IRQ_DOMAIN
+
 config IMGPDC_IRQ
 	bool
 	select GENERIC_IRQ_CHIP
-- 
1.7.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Change the the config option of mbigen driver. MaJun <majun258@huawei.com> - 2016-03-23 10:10 +0100
  [PATCH 2/2] irqchip/mbigen:Change the config option of mbigen driver to non-configurable MaJun <majun258@huawei.com> - 2016-03-23 10:10 +0100
    [tip:irq/urgent] irqchip/mbigen: Make CONFIG_HISILICON_IRQ_MBIGEN a  hidden option tip-bot for MaJun <tipbot@zytor.com> - 2016-03-23 12:10 +0100
  [PATCH 1/2]ARM64: Enable mbigen interrupt controller on Hisilicon platform MaJun <majun258@huawei.com> - 2016-03-23 10:10 +0100
    [tip:irq/urgent] ARM64: Kconfig: Select mbigen interrupt controller  on Hisilicon platform tip-bot for MaJun <tipbot@zytor.com> - 2016-03-23 12:10 +0100
  Re: [PATCH 0/2] Change the the config option of mbigen driver. Arnd Bergmann <arnd@arndb.de> - 2016-03-23 13:20 +0100

csiph-web