Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752325AbbLRK01 (ORCPT ); Fri, 18 Dec 2015 05:26:27 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:19656 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751563AbbLRK0Y (ORCPT ); Fri, 18 Dec 2015 05:26:24 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Fri, 18 Dec 2015 02:11:42 -0800 Subject: Re: [RFC PATCH V2 6/8] irqchip/gic: Assign irqchip dynamically To: Marc Zyngier , Thomas Gleixner , Jason Cooper , Jiang Liu , Stephen Warren , Thierry Reding References: <1450349309-8107-1-git-send-email-jonathanh@nvidia.com> <1450349309-8107-7-git-send-email-jonathanh@nvidia.com> <567295B5.8050900@arm.com> CC: Kevin Hilman , Geert Uytterhoeven , Grygorii Strashko , Lars-Peter Clausen , Linus Walleij , Soren Brinkmann , , From: Jon Hunter Message-ID: <5673DF4A.7050203@nvidia.com> Date: Fri, 18 Dec 2015 10:26:18 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <567295B5.8050900@arm.com> X-Originating-IP: [10.21.132.159] X-ClientProxiedBy: UKMAIL101.nvidia.com (10.26.138.13) To UKMAIL101.nvidia.com (10.26.138.13) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1360 Lines: 36 On 17/12/15 11:00, Marc Zyngier wrote: > Hi Jon, > > On 17/12/15 10:48, Jon Hunter wrote: >> Dynamically assign the irqchip structure for each GIC controller >> instance. This is necessary in order to populate the "dev" member >> of the irqchip structure for GIC instances that require runtime >> power management support. This also allows us to populate a unique >> name for each GIC controller. >> >> This is based upon a patch by Linus Walleij . >> >> Signed-off-by: Jon Hunter > > This is going to clash horribly with the version I've pulled into my tree: > > https://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/gic-4.5&id=58b8964990dc6b59198b25337624b8518cb1dd87 > > so you may want to have a look at this. I don't think it will affect the > work you are doing in a major may though. Ok, great. I was wondering if this change has been queued somewhere. It is not too different from mine, however, AFAICT you could get rid of the gic_eoimode1_chip structure, as I have done, as it is mostly the same as gic_chip. Cheers Jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/