Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752315AbcK2Lcs (ORCPT ); Tue, 29 Nov 2016 06:32:48 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:36302 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933610AbcK2Lc1 (ORCPT ); Tue, 29 Nov 2016 06:32:27 -0500 Subject: Re: [PATCH V7 0/3] irqchip: qcom: Add IRQ combiner driver To: Agustin Vega-Frias , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rjw@rjwysocki.net, lenb@kernel.org, tglx@linutronix.de, jason@lakedaemon.net, marc.zyngier@arm.com References: <1479074375-2629-1-git-send-email-agustinv@codeaurora.org> Cc: timur@codeaurora.org, cov@codeaurora.org, agross@codeaurora.org, harba@codeaurora.org, jcm@redhat.com, msalter@redhat.com, mlangsdo@redhat.com, ahs3@redhat.com, astone@redhat.com, graeme.gregory@linaro.org, guohanjun@huawei.com, charles.garcia-tobin@arm.com From: Hanjun Guo Message-ID: <4126fa80-c8da-764f-9ea3-ec9966a19ea9@linaro.org> Date: Tue, 29 Nov 2016 19:31:44 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1479074375-2629-1-git-send-email-agustinv@codeaurora.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 Content-Length: 1456 Lines: 38 Hi Agustin, On 2016/11/14 5:59, Agustin Vega-Frias wrote: > Add support for IRQ combiners in the Top-level Control and Status > Registers (TCSR) hardware block in Qualcomm Technologies chips. > > The first patch fixes IRQ probe deferral by allowing platform_device > IRQ resources to be re-initialized if the ACPI core failed to find > the IRQ domain during ACPI bus scan. > > The second patch adds support for ResourceSource/IRQ domain mapping > when using Extended IRQ Resources with a specific ResourceSource. > These changes are conditional on the ACPI_GENERIC_GSI config. > > The third patch takes advantage of the new capabilities to implement > the driver for the IRQ combiners. > > Tested on top of v4.9-rc4. > > Changes V6 -> V7: > * Consolidate changes for ResourceSource/IRQ domain mapping to the same > source file implementing the generic GSI support, making it conditional > on CONFIG_ACPI_GENERIC_GSI. > * Eliminate some code duplication by implementing acpi_register_gsi in > terms of the new acpi_register_irq API. I had a test on Hisilicon D03 which needs patch 1 and 2 in this patch set to enable the mbigen irqchip, and it works pretty good. Patch 1/3 can remove the device dependency for the irqchip and platform devices, and I removed my patch (ACPI: irq: introduce interrupt producer) then add your patch 2/3, devices such as SAS and native network works fine on my D03. I will comment on the patches later. Thanks Hanjun