Received: by 10.223.176.5 with SMTP id f5csp94700wra; Tue, 6 Feb 2018 17:59:14 -0800 (PST) X-Google-Smtp-Source: AH8x2278hwzY7Q8gQGA1qVvTrPEpAQhD2omve6VHEZDm82fL7gRj0dD7ZdwadqA899VvdQOvKaT9 X-Received: by 2002:a17:902:834c:: with SMTP id z12-v6mr4091032pln.293.1517968754422; Tue, 06 Feb 2018 17:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517968754; cv=none; d=google.com; s=arc-20160816; b=BPxDF9EZx62SsbvvRi8EFlN955lJ+pb1H395Eq97tLPrKHJvGNAgisB6n1Ut92mshc tQD+qPun3fdMOqdNNW4+dzo0gIQCYibyyYLuWJeNSydfMu9WbhB6XzVcEpI4kLgwQ93p LqWLbmzk3E1o8S2BSdJv7ZTSNC2VzNvGphhJlPdN0Aw+0fKjqhdxYUwiuwW+IRIfSXof NhWymmXEp4N2pmgBgMChgRHM05SL3YYwva8o9/yvUD6yNCide1BLqzHS3BvqxLo9oNbN Zs5wjqzjmEz87LtUt02Kq1mS7NkVIZb1nkWN675BmRmJWl0pBSZYIGHtaIzS+9EXGg9W kzqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=BobgVVQgR9hwqroGawBwvhAnchkSOfCXsiu/hMxXteQ=; b=DTUcR/MNZZEePIbEfiyiV6tSIuG10mUTMJXr3LonDQo6vo+xZgi2EwYfINjmmaamkJ UCBAgj72yHk2elYUY+t4zVur5xg/qoakChEih5xdf/mkP4QEDEwk1Conh+/0uFaH6LoR F3juLgW/og5tgnrIg21quthP/4HzE3hIXj1FlfbiymeXTqGi+C/sfhR6jrvj/KZC00Fm wn0sTynmUiP8QpiMF5VqXWB+12oL0vitLHucnTX7+P4TotSfSol+8MU2QWTUXUJ+flk0 q6j/OwIupnVMgXBJd07/86qVVP+sZvTuyC6GMBaE0e5j8BP1+j8K7BjGw9Zs8U/Ibk7k UzWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4-v6si271677plr.184.2018.02.06.17.58.59; Tue, 06 Feb 2018 17:59:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbeBGB6P (ORCPT + 99 others); Tue, 6 Feb 2018 20:58:15 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:5003 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751558AbeBGB6O (ORCPT ); Tue, 6 Feb 2018 20:58:14 -0500 X-UUID: 2643ce14cd3c4b27bcc519ec5eef8b5e-20180207 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 136557192; Wed, 07 Feb 2018 09:58:10 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 7 Feb 2018 09:58:08 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 7 Feb 2018 09:58:08 +0800 Message-ID: <1517968688.31641.12.camel@mtkswgap22> Subject: Re: [PATCH 1/2] of_pci_irq: add a check to fallback to standard device tree parsing From: Ryder Lee To: Arnd Bergmann , Benjamin Herrenschmidt CC: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Lorenzo Pieralisi , Arnd Bergmann , , "linux-kernel@vger.kernel.org" , Rob Herring , , Bjorn Helgaas , Frank Rowand , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Date: Wed, 7 Feb 2018 09:58:08 +0800 In-Reply-To: <1517956309.2312.172.camel@kernel.crashing.org> References: <31c765c53e85e41bfc001d110d69e46c9967f4e7.1516961656.git.ryder.lee@mediatek.com> <1517563970.24622.9.camel@mtkswgap22> <1517866584.2312.140.camel@kernel.crashing.org> <1517884738.16010.27.camel@mtkswgap22> <1517889903.2312.151.camel@kernel.crashing.org> <1517891471.20869.6.camel@mtkswgap22> <1517892624.2312.167.camel@kernel.crashing.org> <1517895732.23319.21.camel@mtkswgap22> <1517956309.2312.172.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Arnd On Wed, 2018-02-07 at 09:31 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2018-02-06 at 13:42 +0800, Ryder Lee wrote: > > Thanks for explanation. > > > > So I guess the better way to achieve my aim - one IRQ per slot that is > > connected to all INTx and get propagated through the bridges (and for > > those root ports own interrupts (PME ..)} is to add interrupt-map > > properties in both parent and root port nodes. > > > > Something like this: https://patchwork.kernel.org/patch/9970923// ,right? > > Yup. > > Cheers, > Ben. > Do you have any thoughts on the original approach? If you are okay with it, I will resend the DT patch. Thanks.