From patchwork Tue Dec 27 09:13:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "M.h. Lian" X-Patchwork-Id: 9489087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E51FD62AAD for ; Tue, 27 Dec 2016 09:14:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4BBC1FF26 for ; Tue, 27 Dec 2016 09:14:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C69B02094F; Tue, 27 Dec 2016 09:14:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D9801FF26 for ; Tue, 27 Dec 2016 09:14:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLnnl-0004WM-2L; Tue, 27 Dec 2016 09:12:09 +0000 Received: from mail-co1nam03on0050.outbound.protection.outlook.com ([104.47.40.50] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cLnn2-0004AI-46 for linux-arm-kernel@lists.infradead.org; Tue, 27 Dec 2016 09:11:25 +0000 Received: from BY2PR03CA064.namprd03.prod.outlook.com (10.141.249.37) by CY4PR03MB2471.namprd03.prod.outlook.com (10.168.165.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Tue, 27 Dec 2016 09:11:00 +0000 Received: from BL2FFO11FD018.protection.gbl (2a01:111:f400:7c09::107) by BY2PR03CA064.outlook.office365.com (2a01:111:e400:2c5d::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11 via Frontend Transport; Tue, 27 Dec 2016 09:11:00 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD018.mail.protection.outlook.com (10.173.161.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Tue, 27 Dec 2016 09:11:00 +0000 Received: from lmh.ap.freescale.net (lmh.ap.freescale.net [10.193.20.69]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id uBR9Ah1r026758; Tue, 27 Dec 2016 02:10:56 -0700 From: Minghuan Lian To: , , Subject: [PATCH 4/9] arm: dts: ls1021a: share all MSIs Date: Tue, 27 Dec 2016 17:13:00 +0800 Message-ID: <1482829985-24421-4-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1482829985-24421-1-git-send-email-Minghuan.Lian@nxp.com> References: <1482829985-24421-1-git-send-email-Minghuan.Lian@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131273034604094617; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39860400002)(39450400003)(39840400002)(39850400002)(39410400002)(39380400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(2906002)(4326007)(50986999)(105606002)(86362001)(50466002)(48376002)(77096006)(2201001)(106466001)(76176999)(68736007)(5003940100001)(104016004)(6666003)(189998001)(97736004)(5001770100001)(2950100002)(5660300001)(38730400001)(47776003)(8676002)(50226002)(81156014)(8936002)(8656002)(305945005)(36756003)(356003)(85426001)(7416002)(92566002)(626004)(81166006)(7059030)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2471; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD018; 1:lcf3sZ+ER8aBFdEfi8jo0cKWkPsefqiN5816ShCZeack24LU2N1DtTIRDw+tgARSldGHJPoK3cBUyVHODjOVrrRezxCUEcUAL6UWSTHADmzn+U2nMknrt5cqt1qIw/lbxDKypUFsntn+IkWENGWS64sTEdbDtzYuyLtFtHKdK9GnJGGAhpPJm//lmLYtMC5WJeOAjC6iY2QBJCJ0jrx0kc1wZzKvC2BcXIWmItTjKrlEnT/QNySTexZIvts9oXKC8XPdpu2haDR0hNVyhGfV9srbPI/9IxeBGVjZWGN+FkgC0WZlUGwY5XQGSLZ7trORMlxbo5JrN6MdVLDPsmJYjQNDFEbEC6iz6NmBHuk+KM78pA2J4cYbZt3v3GE8Olo7Sf6ZKsio9n23GIJYEqF5ZRzZrRZPcBcEr8t4QkILh+bJlgU6nClS5yJHAQ9mQPLApwnSS9kR1e3fDz+3ohrmdIsA7dMkbq29ThUHH0wLkG0736/dekeG3kZlZHMD+K/XWB0QPd1O/GfuZWHx+hsjUakx0jE3ZZL/2whSmWpi1ucqmHxSt6TIEZ+7BTKET+NIDsYQYNA9P4ZNcrPImLowQ1/dnpNzlD/TEzu6oMyikSC+aRld/KJV9exWA9Rcs4Luzk3QIyP5Kzx7ysn66hgN9kJ5bE+6Usa/hYdPVoHowQnV1QRF2pnLbZu2tCTqHKJiVsZvrbGOebeTEgAG6AMlg+ylaZJMzg7Tfwl1y7/R7kHguAU4I84Wq9sr5djIRl1/ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 2444b3ac-c13f-4557-c338-08d42e38469e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY4PR03MB2471; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 3:EedEmoWA5sAmnDJSLTIBahD6oIcYK03Oin4NnVn8MdacGsyCQ9v+jINwHvwJ4ov7l/NDmhM0TNXO9pAbIX+ESGS5astPebO+AzNPEkL4LjGGOIYhey7D9MZFRPObls4IZVZFUS8Ae6rGVkp8LPOi1zbatl5vnSiT9luBEMSFZqmE94GODUREoO5mDIDXtu85bGkcMnYbBNa5zgQU1P1wxOZTtqTd96Oklb/sYBJ06/YySqvi/g8eTyO/HxsFyFJHFOi9tzSXh5LUvLMx4xbtohVvtI0+o/5Rf4mg+LC6iJAIgwf4TsIzrM7qO2AghSqWQQWECY4WDqaaIcpzrA6uSewBWoER4QkExbBMi405UYANpHRt0bihSOvORkCm7kVP; 25:ZxbLDHos9iD+IqE+lrHvlXJSuVJVnRadZ11h8gRnK84X2TpZDks9dgo3UUAvbRV3aKY5AyCqeIEKVpjekVAF+/S8cZQ05ZeYszDmOHHHhjkk3SSLCZzuQHLYtN4BHxu+sy69OVjc477ljnZCUsgVLOIzLkF8Xi6bcmhmgp6fsLabNc+diEAgiTy7IN25cqyndzdgtwYym8/8P414h6LDu+/KCqDFNkL+eZBv+rDlSSXtFlvbfrK5knutXyjiR2+eF2+nzu+Df4++y4e5NnZv9c/9B9hAdMPgs0sgHYQSN/XYbKje48xHVR8GJyMcv5feEVQRqIlRn+mHQn59AjrUJngKDcKYqQDRfRt5p1iU/Xi69J4J9wF2pbEyRhGqRAWSO8T8sZYDAC6gaL8Tx3Zr1cD4lXlBnFgUe1a3CUWpH0PT49RgQE1jL+MtTBQ+J5ow96GT+W76WiMjkhRrDCmxjQ== X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 31:TboxeloI9g6mM4WOZtB7xAMaU2UnqjwDFTYtA8Q0Ugg5bKweOZD4UB6cFhspG0vhquFAvRb0hvdXcPcSK7SoE90bYKFXLJ2vG92Cfh7nje8qTNwkJYAKSe5/R999y7U+7x5EMSLosxO67pqfB3mbJMONmpRZwSufHLW/JJeKmHARsD4uTS9aZmlD3pYInw5LBYoJpLfsz32jjVtU9u7Jm4GbZPBry1Ppu5sq2m64zDtubpV6M1HM5xY9XsHnqkqBZJtmbYQkDL6ygUOGDWO/iCHcjV92ueZK8i5v8qvBNhs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(13017025)(13024025)(13023025)(13015025)(13018025)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:CY4PR03MB2471; BCL:0; PCL:0; RULEID:(400006); SRVR:CY4PR03MB2471; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2471; 4:tWDi2kNXQWzFRJW6WYgTkNfkksoeg3OgHlqSVSTjk75hgOB2JPGlYnYQWlM43ztRn62SZCH/+zIHSXHr1VUDOTQvj9d1cDIwwOWpa5th4Q+tvCVpgAUddBQFzKpsFKyBlsOMHjg6WMeJh6FczYHZL+13ZzeQ+RGO1VrVwjIReeG767bEKUM9Jwg7EceZCSWOZff5iK2f0eL1A4jc6Y1PatOl9YhBPFkYYz2UP0oBrNTBbz1twzIu9kQBjLRdWGMScMa0o5s4AR5efEDwYbR/dzKq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gFXh7uTxlzRQI+MkEeRuhgskhIdSDtA3Mq66qSQRJs3JGFkxYHJtSfPP7+94wMXMP6gjOEpqj0pyIUsCNOBW9Rms09rBWiBGPgQ0ViW/lurR5f+LadLuCH5xAYyPDZNvZoD+3bqX+eb2OGWTf2so6mmm2qee2uoCJqrc+pkiUjEdcwrGiF+kWGoKvUjNpPUYa51lCeIJQEbchMvcHeaAhhv12P1EUKF6gZ3G/JpzkVHN55giXwseO8sOG0RCGJK2jvGH2v6vBR8vHa6NRL30wpMIZDln7xOQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2016 09:11:00.1754 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2471 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161227_011124_372307_7B415228 X-CRM114-Status: GOOD ( 12.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Jason Cooper , Roy Zang , Marc Zyngier , Stuart Yoder , Yang-Leo Li , Minghuan Lian , Scott Wood , Mingkai Hu Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In order to maximize the use of MSI, a PCIe controller will share all MSI controllers. The patch changes msi-parent to refer to all MSI controller dts nodes. Signed-off-by: Minghuan Lian --- arch/arm/boot/dts/ls1021a.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 6651938..1c82024 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -723,7 +723,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ - msi-parent = <&msi1>; + msi-parent = <&msi1>, <&msi2>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, @@ -746,7 +746,7 @@ bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ - msi-parent = <&msi2>; + msi-parent = <&msi1>, <&msi2>; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0000 0 0 1 &gic GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,