From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754544AbcDNIrx (ORCPT ); Thu, 14 Apr 2016 04:47:53 -0400 Received: from foss.arm.com ([217.140.101.70]:40461 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754371AbcDNIrv (ORCPT ); Thu, 14 Apr 2016 04:47:51 -0400 Subject: Re: [PATCH v2] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP To: Maxime Ripard References: <1460563167-18517-1-git-send-email-suzuki.poulose@arm.com> <20160413200735.GC4005@lukather> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arm@kernel.org, robh@kernel.org, Andre Przywara , Russell King , Chen-Yu Tsai , Catalin Marinas , Will Deacon , Thomas Gleixner , Jason Cooper , Marc Zyngier From: Suzuki K Poulose Message-ID: <570F5932.2020809@arm.com> Date: Thu, 14 Apr 2016 09:47:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20160413200735.GC4005@lukather> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/04/16 21:07, Maxime Ripard wrote: > Hi, > > On Wed, Apr 13, 2016 at 04:59:27PM +0100, Suzuki K Poulose wrote: >> The sunxi-nmi and sun4i irq chips are selected by ARCH_SUNXI on both arm >> and arm64 (recently added). However on arm64, we don't explicitly select >> GENERIC_IRQ_CHIP which is required by the sunxi-nmi irq chip driver and >> causes build breaks on 4.6-rc1 : >> diff --git a/drivers/irqchip/Makefile b/drivers/irqchip/Makefile >> index b03cfcb..c9626f4 100644 >> --- a/drivers/irqchip/Makefile >> +++ b/drivers/irqchip/Makefile >> @@ -19,8 +19,8 @@ obj-$(CONFIG_CLPS711X_IRQCHIP) += irq-clps711x.o >> obj-$(CONFIG_OR1K_PIC) += irq-or1k-pic.o >> obj-$(CONFIG_ORION_IRQCHIP) += irq-orion.o >> obj-$(CONFIG_OMAP_IRQCHIP) += irq-omap-intc.o >> -obj-$(CONFIG_ARCH_SUNXI) += irq-sun4i.o >> -obj-$(CONFIG_ARCH_SUNXI) += irq-sunxi-nmi.o >> +obj-$(CONFIG_SUNXI_IRQCHIP) += irq-sun4i.o >> +obj-$(CONFIG_SUNXI_IRQCHIP) += irq-sunxi-nmi.o > > Those are two different drivers, that should be selected by different > SoCs (MACH_SUN4I and MACH_SUN5I for the former, SUN6I, SUN7I and SUN8I > for the latter) OK. I had thought about that, but wasn't sure who needs what. So went with what existed already. I can respin it. Cheers Suzuki