Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: Aisheng Dong <aisheng.dong@nxp.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Jason Cooper <jason@lakedaemon.net>,
	Andrey Smirnov <andrew.smirnov@gmail.com>,
	dl-linux-imx <linux-imx@nxp.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"shawnguo@kernel.org" <shawnguo@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"l.stach@pengutronix.de" <l.stach@pengutronix.de>
Subject: Re: [PATCH 1/1] irqchip: gpcv2: make config option visible
Date: Fri, 18 Jan 2019 10:09:31 +0000	[thread overview]
Message-ID: <77ecfcfa-16fe-a3e2-3d6b-90cdf999b316@arm.com> (raw)
In-Reply-To: <AM0PR04MB421158B2E042D623792A296E809C0@AM0PR04MB4211.eurprd04.prod.outlook.com>

On 18/01/2019 09:49, Aisheng Dong wrote:
>> From: Marc Zyngier [mailto:marc.zyngier@arm.com]
>> Sent: Friday, January 18, 2019 5:13 PM
>> On 18/01/2019 07:41, Aisheng Dong wrote:
>>> Make GPCv2 config option visible, then user can select it in defconfig
>>> for ARMv8 platforms.
>>>
>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>> Cc: Jason Cooper <jason@lakedaemon.net>
>>> Cc: Marc Zyngier <marc.zyngier@arm.com>
>>> Cc: Shawn Guo <shawnguo@kernel.org>
>>> Cc: Lucas Stach <l.stach@pengutronix.de>
>>> Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
>>> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
>>> ---
>>>  drivers/irqchip/Kconfig | 3 ++-
>>>  1 file changed, 2 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index
>>> 3d1e607..ed04d47 100644
>>> --- a/drivers/irqchip/Kconfig
>>> +++ b/drivers/irqchip/Kconfig
>>> @@ -289,7 +289,8 @@ config RENESAS_H8S_INTC
>>>  	select IRQ_DOMAIN
>>>
>>>  config IMX_GPCV2
>>> -	bool
>>> +	bool "i.MX GPCv2 IRQ chip"
>>> +	depends on ARCH_MXC || (COMPILE_TEST && OF)
>>>  	select IRQ_DOMAIN
>>>  	help
>>>  	  Enables the wakeup IRQs for IMX platforms with GPCv2 block
>>>
>>
>> How does it help exactly? It is pretty difficult for a user to know exactly what
>> they need. I'd rather see it selected by ARCH_MXC, which makes it
> 
> ARM64 SoC maintainers suggest not add more driver specific options except an
> Generic ARCH option.
> 
> As GPCv2 is also used in MX8MQ. So we may select it in armv8 defconfig.
> If this option is invisible, we can't select it.

And conversely, users have no idea of what letter soup they have to
select to make their HW work properly. Selecting the driver when the
platform is supposed to be supported is the right way to solve this problem.

Thanks,

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2019-01-18 10:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18  7:41 [PATCH 1/1] irqchip: gpcv2: make config option visible Aisheng Dong
2019-01-18  9:12 ` Marc Zyngier
2019-01-18  9:49   ` Aisheng Dong
2019-01-18 10:09     ` Marc Zyngier [this message]
2019-01-22 11:04       ` Aisheng Dong
2019-01-22 11:40         ` Marc Zyngier
2019-01-22 12:27           ` Aisheng Dong
2019-01-18  9:32 ` Uwe Kleine-König

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77ecfcfa-16fe-a3e2-3d6b-90cdf999b316@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=aisheng.dong@nxp.com \
    --cc=andrew.smirnov@gmail.com \
    --cc=jason@lakedaemon.net \
    --cc=l.stach@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shawnguo@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox