Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4725169imm; Mon, 11 Jun 2018 18:12:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIInBA3EaQ2oafZ6Xd0/18KTgG6E3qZibk4W1Es5aV+gS7BCMz/j3Iw26wbd+/vuvd2D3uD X-Received: by 2002:a17:902:5991:: with SMTP id p17-v6mr1539226pli.191.1528765968858; Mon, 11 Jun 2018 18:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528765968; cv=none; d=google.com; s=arc-20160816; b=J5mmXlhYHzt62di1VVz7SmcUz1mo5uHhEc03j7OSKp3H4Q5R0SClXGZX89UMK/5BmY x9fxwGdu9qdp1QH0hixH4DY7JAWfU/EUZxzSbTMreIQ8OjYXkI1yKN6qWI0rO0nXArmH DtSv9+8iJE+e77m9txGcQ4Kp0DeV5tb7KI7PsZwPxejI1NYZZ6rNNQRyk5zb3XQN0Ojf CpmGT1TrcegmgZHPdL+LvfDSLBwNXYzdZuamfvaxhIQ3gPM7Dn+ayWhUWeIZrSzXy/uP PiN05Nbby5nv/WUY7AdvM4NC/BX6ftY9DJbqXJlKtBlJe2kOrFskh4bPnW0GoBUvyq+g p/DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=KhcKphqSSxJuZIcrzu6V5Tj36vrgJpuM8g/Qzk85E7s=; b=GPllAZj0ijtBZYSrs7QI4aZiZh1YMkZN2BrJD91YG3tond37hYkHwQczkslDbpy8o4 6EWXm+Q9kfVlVsJKSm6JNkMZNONDf5quZMJtFHgv3F/EJGUnS/wqpZXuHPKuHARqu/Pz 0OtRqVcMZ8+WAQFL9E9nJeuA7RaV7IOqELMwQBH8/UcyuUeP/ZdetDmUyYkFURGRwJV/ C+5xoZFAxJ+pwLef09++bOzofa/QNYpY/eJzpHf6a+gpBtQylRoZqCznU+YD/w1i96Bs JOgbPPS7Nu8N79W71mXkwENliLd9Ll69RwEdz+BFgZWDqlZZczduBfIhvWKxlXABmp7G 7zVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=f8gRuVED; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k22-v6si30841413pll.416.2018.06.11.18.12.34; Mon, 11 Jun 2018 18:12:48 -0700 (PDT) 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; dkim=pass header.i=@broadcom.com header.s=google header.b=f8gRuVED; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934892AbeFLBDj (ORCPT + 99 others); Mon, 11 Jun 2018 21:03:39 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:45338 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934864AbeFLBDh (ORCPT ); Mon, 11 Jun 2018 21:03:37 -0400 Received: by mail-qt0-f196.google.com with SMTP id i18-v6so22213489qtp.12 for ; Mon, 11 Jun 2018 18:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KhcKphqSSxJuZIcrzu6V5Tj36vrgJpuM8g/Qzk85E7s=; b=f8gRuVED3rKNLAoBlhEWtsYxDwJvu3CSnr4N6VL0DtsEPi4xFKDuD3DNopdPhbiHGM ISW795M6tq58feIoHt7VTc6Q9L/mZIgknAI2uDpLSUBq0/Pr+m6IAGWeMymA+/0xA6pM CPBVxqf94b05p/8dGY9+MFhTdbSlPvtSq7gfo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KhcKphqSSxJuZIcrzu6V5Tj36vrgJpuM8g/Qzk85E7s=; b=I9t40N9fgn5oLK9y0GMuTs7YQWBsXHF0vgjIWv4y7DqQrLEy0I1HIKELQoJX0qaWae kOh0+2nk/Ao7qhNmj0CIcyr7uywOGG5xOborbNfasI8h/uK3eue0tZcxvSQqHrq9dF5P KU6lKe8+gg2vkdykMFD4DcwZ6oSphQaOxFtitGEuCacnK+S0nycR+3Jjt3N0YzFj19EA xYbSB/E8kXetqXzXYfo62rBFtjHjtF/+U2qoPjwsY4aOzAXa2tQb4qLI79EMCZlKjx2p UzifC618f/UQDXrxqJAa6w5aGEIavnnq1u018Y8WgFQ9GDD2Yyr0jWCAVxdfgvTaGc1n wPXw== X-Gm-Message-State: APt69E2K9/vz+TO5ZHGyrfdtJ7bpu6Xs5HyD26HUHrTeQNESkw7Suf9C 7irBfM4zmNl6/cfsCLDLmzMwhQ== X-Received: by 2002:aed:238d:: with SMTP id j13-v6mr1451965qtc.384.1528765416832; Mon, 11 Jun 2018 18:03:36 -0700 (PDT) Received: from [10.136.8.248] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id b38-v6sm4549448qta.96.2018.06.11.18.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Jun 2018 18:03:35 -0700 (PDT) Subject: Re: [PATCH 3/6] arm: dts: Change PCIe INTx mapping for Cygnus To: Florian Fainelli , Lorenzo Pieralisi , Bjorn Helgaas , Rob Herring , Mark Rutland Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1527631130-20045-1-git-send-email-ray.jui@broadcom.com> <1527631130-20045-4-git-send-email-ray.jui@broadcom.com> <522816f9-c33f-ee58-619e-84ee86dba418@broadcom.com> From: Ray Jui Message-ID: Date: Mon, 11 Jun 2018 18:03:33 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/11/2018 5:55 PM, Florian Fainelli wrote: > On June 11, 2018 5:27:20 PM PDT, Ray Jui wrote: >> >> >> On 6/11/2018 3:36 PM, Florian Fainelli wrote: >>> On 05/29/2018 02:58 PM, Ray Jui wrote: >>>> Change the PCIe INTx mapping to model the 4 INTx interrupts in the >>>> IRQ domain of the iProc PCIe controller itself >>>> >>>> Signed-off-by: Ray Jui >>>> --- >>>> arch/arm/boot/dts/bcm-cygnus.dtsi | 18 ++++++++++++++---- >>>> 1 file changed, 14 insertions(+), 4 deletions(-) >>>> >>>> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi >> b/arch/arm/boot/dts/bcm-cygnus.dtsi >>>> index 699fdf9..6de21ef 100644 >>>> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi >>>> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi >>>> @@ -254,9 +254,14 @@ >>>> compatible = "brcm,iproc-pcie"; >>>> reg = <0x18012000 0x1000>; >>>> >>>> + interrupt-controller; >>>> #interrupt-cells = <1>; >>>> - interrupt-map-mask = <0 0 0 0>; >>>> - interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>; >>>> + interrupt-map-mask = <0 0 0 7>; >>>> + interrupt-map = <0 0 0 1 &pcie0 1>, >>>> + <0 0 0 2 &pcie0 2>, >>>> + <0 0 0 3 &pcie0 3>, >>>> + <0 0 0 4 &pcie0 4>; >>>> + interrupts = ; >>> >>> You would want to fix those IRQ_TYPE_NONE values as well because >> since >>> commit 83a86fbb5b56b5eed8a476cc3fe214077d7c4f49 ("irqchip/gic: Loudly >>> complain about the use of IRQ_TYPE_NONE") this is going to create >> some >>> nice warnings on boot. >>> >>> I am about to send fixes for NSP and HR2 since that's what I have >> access >>> to at the moment, but it would be good if you could send updates to >> the >>> Cygnus and NS2 DTS files? >>> >>> Thanks >>> >> >> Okay. Thanks for letting me know. How do you want this to be done for >> Cygnus and NS2? >> >> I guess I should have the fix patches to DTS done and sent out first, >> and then rebase this INTx patch series against the patches with the >> fix. >> >> Does that make sense to you? > > Yes it does. As soon as v4.18-rc1 is tagged I will send the Device Tree fixes pull request, if I can have yours for Cygnus and NS2 in the next few days I could lump those together. Then we can either base your changes off v4.18-rc2 or a later tag that already has the DTS fixes. > Okay that sounds good. I'll try to get those fixes out for you within the next few days. Thanks! Ray