From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753160AbbJMPdi (ORCPT ); Tue, 13 Oct 2015 11:33:38 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:34042 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843AbbJMPdg (ORCPT ); Tue, 13 Oct 2015 11:33:36 -0400 Message-ID: <561D2447.4050004@linaro.org> Date: Tue, 13 Oct 2015 23:33:27 +0800 From: Hanjun Guo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Marc Zyngier , Thomas Gleixner , Jiang Liu , Jason Cooper , "Rafael J. Wysocki" CC: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Tomasz Nowicki , Suravee Suthikulpanit , Graeme Gregory , Jake Oshins Subject: Re: [PATCH v2 00/17] Divorcing irqdomain and device_node References: <1444737105-31573-1-git-send-email-marc.zyngier@arm.com> <561D0BFB.4040000@linaro.org> In-Reply-To: <561D0BFB.4040000@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/13/2015 09:49 PM, Hanjun Guo wrote: > On 10/13/2015 07:51 PM, Marc Zyngier wrote: >> [This patch series used to be called "Making the generic ACPI GSI >> layer irqdomain aware", but as I've radically changed my approach to >> this problem, I've decided to reset the counters...] >> >> The irqdomain code is not entierely ACPI friendly, as it has some >> built-in knowledge of the device-tree. Nothing too harmful, but enough >> to scare the ARM ACPI developpers which end up with their own version >> of the square wheel. And some of the ramifications actually run deeper >> than initially expected. >> >> This series adapts the irqdomain code to use 'struct fwnode_handle' >> instead of 'struct device_node' as the identifier for a domain >> (compatibility interfaces are of course added). It also introduces a >> generic IRQ specifier that firmware interfaces (DT or ACPI) can >> directly use to configure interrupts, and allow the ACPI GSI code to >> be plugged into this. >> >> As examples, we convert the ARM GIC ACPI support to use irqdomains as >> originally intended, and rework the MSI code to also move away from >> using device nodes when using irqdomains. >> >> Overall, this gives us a way to use irqdomains on both DT and ACPI >> enabled platforms, having very little changes made to the actual >> drivers (other than the probing infrastructure). Because we keep the >> flow of information between the various layers identical between ACPI >> and DT, we immediately benefit from the existing infrastructure. >> >> This has been test-booted on Juno, is based on 4.3-rc5 + tip/irq/core >> (in order to avoid potential conflicts), and available at: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git >> irq/irq-domain-fwnode-v2 >> >> * From v1: >> - Dropped irq_domain_get_of_node() from the first patch (merged into >> 4.3-rc5) >> - Fixed a few missing accessors in the first patch >> - Added EXPORT_SYMBOL_GPL for irq_find_matching_fwnode >> - Added some documentation update >> - Added Acks from Rafael >> - Rebased on top of 4.3-rc5 + tip/irq/core >> >> Marc Zyngier (17): >> irqdomain: Use irq_domain_get_of_node() instead of direct field access >> irqdomain: Convert irqdomain->of_node to fwnode >> irqdomain: Allow irq domain lookup by fwnode >> irqdomain: Introduce a firmware-specific IRQ specifier structure >> irqchip: Convert all alloc/xlate users from of_node to fwnode >> irqdomain: Introduce irq_create_fwspec_mapping >> irqdomain: Introduce irq_domain_create_{linear,tree} >> irqdomain: Add a fwnode_handle allocator >> acpi/gsi: Always perform an irq domain lookup >> acpi/gsi: Add acpi_set_irq_model to initialize the GSI layer >> irqchip/gic: Get rid of gic_init_bases() >> irqchip/gic: Switch ACPI support to stacked domains >> irqchip/gic: Kill the xlate method >> acpi/gsi: Cleanup acpi_register_gsi >> irqdomain: Introduce irq_domain_create_hierarchy >> irqdomain/msi: Use fwnode instead of of_node >> irqdomain: Documentation updates > > For this patch series, > > Reviewed-by: Hanjun Guo > > For patch 1 to patch14, Oops, I mean patch 01/17 to patch 14/17, > > Tested-by: Hanjun Guo Thanks Hanjun