From patchwork Tue Jan 17 09:32:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "M.h. Lian" X-Patchwork-Id: 9520297 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 95F0160244 for ; Tue, 17 Jan 2017 09:32:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86010284FA for ; Tue, 17 Jan 2017 09:32:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77A0528518; Tue, 17 Jan 2017 09:32:11 +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 AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 08669284FA for ; Tue, 17 Jan 2017 09:32:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTQ7c-00047Y-Uk; Tue, 17 Jan 2017 09:32:08 +0000 Received: from mail-sn1nam02on0054.outbound.protection.outlook.com ([104.47.36.54] helo=NAM02-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTQ6Y-0001vl-FB for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 09:31:05 +0000 Received: from CY1PR03CA0003.namprd03.prod.outlook.com (10.174.128.13) by MWHPR03MB2477.namprd03.prod.outlook.com (10.169.200.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13; Tue, 17 Jan 2017 09:30:40 +0000 Received: from BN1AFFO11OLC004.protection.gbl (2a01:111:f400:7c10::132) by CY1PR03CA0003.outlook.office365.com (2603:10b6:600::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.860.13 via Frontend Transport; Tue, 17 Jan 2017 09:30:37 +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 BN1AFFO11OLC004.mail.protection.outlook.com (10.58.53.75) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.803.8 via Frontend Transport; Tue, 17 Jan 2017 09:30:37 +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 v0H9UGHA018177; Tue, 17 Jan 2017 02:30:33 -0700 From: Minghuan Lian To: , , Subject: [PATCH v3 4/9] arm: dts: ls1021a: share all MSIs Date: Tue, 17 Jan 2017 17:32:38 +0800 Message-ID: <1484645563-29877-5-git-send-email-Minghuan.Lian@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1484645563-29877-1-git-send-email-Minghuan.Lian@nxp.com> References: <1484645563-29877-1-git-send-email-Minghuan.Lian@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131291190375723015; (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)(7916002)(336005)(39840400002)(39410400002)(39450400003)(39850400002)(39400400002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(36756003)(104016004)(5001770100001)(85426001)(81166006)(81156014)(106466001)(92566002)(4326007)(47776003)(626004)(68736007)(2906002)(50466002)(2950100002)(50226002)(48376002)(8936002)(105606002)(97736004)(8676002)(76176999)(50986999)(77096006)(38730400001)(7416002)(356003)(305945005)(5660300001)(30001)(5003940100001)(189998001)(8656002)(54906002)(86362001)(2201001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2477; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11OLC004; 1:BwOs20EpNDpIopyo1od7O869BXyHBhL+uBniBAyp8L39ubJldRrejnRofd0W01S/VuqWzxB7bBf3GGZrfBkqdnbygcUCZNSg/yXvJ9Cxe1x+IRFN9auURuTyKHj8zHquRC0kv3XHDImVcDxoitzGk6LtFIbagUSBvxo/JgAVqzHP6nfHrw4oc16SsDpG/mtpw5u2yN+AV8h0u3hiVw2kFziYUld/GkUc683JBTs6Uk1+B7BuB++Rc+wobIDMtA3ybzLbBp+OZkABoIU471ufi2tcb4w+YPTgQXlpPDnEwDK/BIYJHM6giX9C2ZJkovjjZlDQLgs8ukNwCxh+u/yLEsW5H3KcAb2GUNd0Ppzvj/XMka3kQGLb+/Hx9xo0oJaypqSm/MjYG3nfJdSxptLhL6/yOfGblJJ/XSa9E1vP3glrlI+J74FJM9vt3aJKfwiO9pI9jHDDohZhe52ZEIE/MGhd4btCs5Mi790IpULQsM7C8th+bS+iIssfnG/KQQKgXvTvPvLfFfOyESDlYD+71BCqhQxzd9uDeoBSqpqECVk1qqJU6rnKto66n4A++8mfZvIZgt14r8LCxSFNoOSz8mhV/ksTXvRtnVw/gXZrG8vfZ0tqW6bbNo0MrTUld5oQkMl5s0rpFLrxlyQBocGyOjxn53JxhFhFuG/j72yWMx6bSyulG2Xz5zpdy6NQ6d9n8maDha3fC8z2KVOPzEEt5KvPHYQs3jUDpbZE5GRa+kw= MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 7fac27ea-95d6-4681-4eaa-08d43ebb7ef0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:MWHPR03MB2477; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2477; 3:+7RsjYy0dq0G24hL7pPBw+JifJTmVzAMU+/1XamxrM1r+KIwC+NDbfIJ5DdQyQS8dXcVhOtJHKI6p3CHKMjtWisgd3Kr3olK7si769xFo4lPuy/acqtOOxlXucH115C57/VQlRXdnxUpB+UVDIWls1Jju15Pl+A7e8xkyrAJ6dPxJqyjlHVwH08Eh9iNOMpv013GLrQGZnvGibCADk6HlKYUWJgx9SjLOS4XNVnzSfyxU8pIqg5WPIYEtaMH1Ab7iTd7UMUgFcqlLzX6q5WaSAdAHDXCRfShIyIXo/58hrEoSueOCXVH2ddQO0trONq0UDzYKfINvEriF0URHjBZxHnTq07thWl5m3mhHfRqj2je2CBZL25OdxJsaFDc8inI X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2477; 25:Es9ktHnQXvzIzxYKOx51j9tscYYH0KgfUYRTA8McxVzw9rkcRGJVTVUzQiX9O/5uQxYpUFsb69+3S9SxVcZMOHhO9cro5p1beQtfTwUHjLUXfmsFHQgf7Soe/yZC+rRmMgEeONOrypmKvG76q8EAEte8LuFvPPtuIA/GRDJWjLh8/3rhCybML4QxNOjsM+6rnKzmISA9j7hKcqJm6k46Tqhfgoe+rJFwF35De4kI/XnzyKSWbMWD8h952cy8ylxgEoy0rn0E7n2r15ucUi0t/WxVO0S44lpr/c/5QxWCElZrYIYLH4i2f5mbGnnbZXjJ2ix7tO/6yxlnC3YFN4krOIfTQ+zfvCdnraiWazqUYoM50U4ZFuGe2nMkbjoJnOP7QaaceY+I3TqJnx2ts6eRRHDqN9eDnBjDTdUCArX4gS7gYI1alYFUWJbJcdfaBQ2Gs38mr3Ykjl9siT9YI04VIHtJWq26+nyoc2kR9NBUPMqG9RDOAcikhx/88xs0pD3kZFdQdW54Hryj38rys+E9kg9dQZxod6jH48+s9qFOfEAqsyPIO5a+mdISjhmmTeAlaBX5nak3yf+r4qwoQLxg+xYpzRLoDmrDJy/72j09dg8fsymVEHD/piTOFPjnrX1ooF3zEJKxGjOVteE83noJwjtBSG5zrRdM5UiX0hNL9m0qMZZ5jbJMi+MTUda/6Z9gHcY8UP3aDReGr+xqvMT0ZdtxHwivVoi/7i/d58Xu4mvJuNsHUhUipNK3B2drjqxIea33NcpUh3iTBFfyNtfLXdiKdwUbXJPeu6tg5dJ8mY0= X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2477; 31:tuGDrCDSS/3AMUDNO9jaazEXi6YFZth7hrdzsp4zryRe95LHeXMPIYHCPZGwG7a9SK6YjsVUBS8UpO6QwWfwRBgxofJj0+mSiR7VNn7E2Ocb8U/lX1tUasDgFUtSDgvHFrft7tRdhpSivASOSP8pEDXkq72mycL2ZkaQteRqJwev9JveLt2hQHJQINSdt/rvtt2TsJ259BFB9ZnGCGQk3TG9dC+boQpHcOrtbhOyVvnlCez467B84MMM1v2yAAFu0lgTHrzgwVGgnj7wJdiaQA== 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)(13023025)(13017025)(13015025)(13024025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123559025)(20161123556025)(20161123563025)(20161123565025); SRVR:MWHPR03MB2477; BCL:0; PCL:0; RULEID:(400006); SRVR:MWHPR03MB2477; X-Microsoft-Exch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hNRc3Mawjut/2RpLP+e23D3Pdl6vIB3VI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2477; 7:sV1kIt47xvUBwPfeYUMNZA4NJSSu6hWSkQkZGzE7ahEeax77MKsoExQQEzw9suFSpyLD+hZ0zKjBkdEC4tiUuTnuyR61ssGNeP1a31FJe6FNbhni1C/vCynAxHecV54ZRxx8B8S/N328G0m5VVygNNwrBk/VS0TnxddQEDAPAYXwoxs5dwcqpUjoF0CgLu1N5TnLhWD+hR/xorW3YMbVj2WV8TwwriylGiwf5/AWrWYG7VP2bJBwVlk1rsfICpqsJrimmjWJZC4btojNFCczmDbs7T0CuvZb1xVIt9jfBtAiiMAgaJrLiTUeU749kF6F+OhxlfHoDnbGRrXzZ+NYbk/T5EtcFxXzCHccFNh0Ia9eF3vNGOBjKCbEc+jS3BpPGUH/MyRdFC6yoCPDvdfqvKrlWB1wH8IuRNEI8ELnxQw4iuRW1XSI76EfSjlMeEBapxIWXUO+7JG9V3zkawfRVg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2017 09:30:37.3383 (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: MWHPR03MB2477 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170117_013102_687551_CA4F4DDF X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 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 --- v3-v1: - None 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>,