Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751726AbdHRJRe (ORCPT ); Fri, 18 Aug 2017 05:17:34 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:60136 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbdHRJRc (ORCPT ); Fri, 18 Aug 2017 05:17:32 -0400 Subject: Re: [PATCH v8 5/7] irqdomain: Add irq_domain_{push,pop}_irq() functions. To: David Daney , Linus Walleij , Alexandre Courbot , Mark Rutland , Thomas Gleixner , linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <1503017616-3252-1-git-send-email-david.daney@cavium.com> <1503017616-3252-6-git-send-email-david.daney@cavium.com> From: Marc Zyngier Organization: ARM Ltd Message-ID: <725e8645-2936-0695-2a40-96035570f27f@arm.com> Date: Fri, 18 Aug 2017 10:17:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1503017616-3252-6-git-send-email-david.daney@cavium.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 782 Lines: 18 On 18/08/17 01:53, David Daney wrote: > For an already existing irqdomain hierarchy, as might be obtained via > a call to pci_enable_msix_range(), a PCI driver wishing to add an > additional irqdomain to the hierarchy needs to be able to insert the > irqdomain to that already initialized hierarchy. Calling > irq_domain_create_hierarchy() allows the new irqdomain to be created, > but no existing code allows for initializing the associated irq_data. > > Add a couple of helper functions (irq_domain_push_irq() and > irq_domain_pop_irq()) to initialize the irq_data for the new > irqdomain added to an existing hierarchy. > > Signed-off-by: David Daney Reviewed-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...