Message ID | 20220815213936.2380439-1-Frank.Li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F176C00140 for <linux-arm-kernel@archiver.kernel.org>; Mon, 15 Aug 2022 21:41:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=82UI+OPGYvQRn/YpqvL3xDFbf+rs8DvJDdqZ0k35xQc=; b=idOKDL/lx8/jfU A8VJQXo+Cmc+XVs3OPygI9WDUTGc9o5IA+wUNC36ZWXcABMZm/u4/7eQpv12OEqxBG/X/47eNXaLG qe22uCyHQOSG5s7TTNJgHy5Nk03Y3PJzZGj55UMhfV5yiZDDucESjiOcLHJGIbBJKda7fyFJkVJL6 6RtjhgF0YZl0kRuzsvcKrCm3qLq4+tb69McXHUz7Tyb4HV8mrbiPWR0wCVII210jB9U8BGBDrA/bC 4HdzBvDQ1NOpajD6bf/IPHgombqaToKbNQIHCbkOwlmov2UFdWyHQQkOihA1pKcuX3I0VhAtAZ3VW tEWfXB1+IjlyTlJ71zFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNhok-0061AG-VE; Mon, 15 Aug 2022 21:40:15 +0000 Received: from mail-eopbgr10055.outbound.protection.outlook.com ([40.107.1.55] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNhof-0060wM-5C for linux-arm-kernel@lists.infradead.org; Mon, 15 Aug 2022 21:40:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O2GFbvjz00XUox5EfY153FZ3raMF2pEOPv7G9BzqU7iIWoXmnOM2Uely1Ryd2iKa196LbRCDp/vyWWykoUXsQAihjWxEWqt2VMGZZ7DSOrH5nuKbw1GBhEUL2uHbTxlmknVA0EOFi+FgSr6QBCmfobywmC9pNS0CxZr38mPy2fyiV3loy1Hd2L8WBPNuty6C1qQD6iFVy41I5rXU7wpNonWFR3nnxcO9mq1InD5lN05cXm4l/pJKR8RenZ/2vc+nwn3MWJZT1s3v6C1SdBdvXn3yi0IjTdmMmn6dS+c+vYtCa3ruSrheRKu8KMZFQ6xe9hzfKmlQWKJmWF+GQ8ws6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0cqUJlFv/0xz7Xx+xq2uKhrQiw7XueqIYx/1htoATHQ=; b=A0kLK8xLzX4n/rSNKPtOaR9thUR6n5JXylXjKEShERn7JmPmTUbxi9+fuSkT69QCBBiWEzzQJncFrn0ivdyKpQmiJ3UnSXSsCP3CL8mvszHPD5HTm6h7gEJFFR9RICoC5OPk/YBIUY6+ZZsMKBnRjOLx7R8LJJSdQ/j2ySrOy5GZNGdZQdMK69r6i80HZwwtJg2EtcPVJxxji0czDC0qYKj5H2PGP5vNgHyprVuvrK0mE3AXbhL48cMxVLjrFKzwSVDYuLSoxigqyX3dZUqxhlxnOQL1njno4xVDr6Z6QsYNXMJ54KMcK6yLkxy2KEfr22QbAJyMEr69xIknGOLeaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0cqUJlFv/0xz7Xx+xq2uKhrQiw7XueqIYx/1htoATHQ=; b=JNZxzAhD1BeKA/wi1HI+Rq4R3N2Yjd/AhA7uUB4jOJjRotNi/qDqxEM2SCXL+BnV+L83Su2S+CDXHVbixxyHaZFe1me4Bf6AkArEt1wQ1hoxgXPt2vrD3TGgfoFLIvKPn8NTJDlZZj4C2XWWaVuk+FK4+qYlKbehYwUZFo0qS5E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9186.eurprd04.prod.outlook.com (2603:10a6:102:232::18) by AM5PR0401MB2580.eurprd04.prod.outlook.com (2603:10a6:203:38::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.10; Mon, 15 Aug 2022 21:40:00 +0000 Received: from PAXPR04MB9186.eurprd04.prod.outlook.com ([fe80::c5f1:b708:61db:a004]) by PAXPR04MB9186.eurprd04.prod.outlook.com ([fe80::c5f1:b708:61db:a004%5]) with mapi id 15.20.5504.028; Mon, 15 Aug 2022 21:39:59 +0000 From: Frank Li <Frank.Li@nxp.com> To: maz@kernel.org, tglx@linutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kw@linux.com, bhelgaas@google.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, peng.fan@nxp.com, aisheng.dong@nxp.com, jdmason@kudzu.us, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, ntb@lists.linux.dev, lznuaa@gmail.com Subject: [PATCH v5 0/4] PCI EP driver support MSI doorbell from host Date: Mon, 15 Aug 2022 16:39:32 -0500 Message-Id: <20220815213936.2380439-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: CY5PR15CA0006.namprd15.prod.outlook.com (2603:10b6:930:14::9) To PAXPR04MB9186.eurprd04.prod.outlook.com (2603:10a6:102:232::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 611b9abe-ddc0-4ccf-8e81-08da7f06b17d X-MS-TrafficTypeDiagnostic: AM5PR0401MB2580:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xOr+bgQa0lc63pYMs9SLyLP3f6r7fZb36ulj5EYJfC7W33LjOgQPr5CKS29hQ2xh0NvvDJJtJfzboYMT3R/aDw231EtdDBO4w5tdecDjQb3WVKrFeoDXSTIsANgLzSB2BItnVPYUstqL8gEnt6IjB4JWv8qQYPqLAkkILgJnVQO8VGR4Wr09fGscpoiYn4bOqe0CaGnd3YQYL2Q1xhbg0AkCpmMLRI264QigY0/8zggbE8ichSKS4qaaVMdSGRQ+zSnGTApwz63WfL61vOnb4yuhfeqd2ljFBG/HxHLhxkx/N5xqU+pj5YXSqrk5BpIeNgGtX8yVBlyGGCh/+FPAyNk+esN/yJFKjiwQWGJS1esydhBOjvMzrOSVBwvbDbGOPGgC9zj+bFJa98qItXFton0zATSvGNsFYfRId1zqi9u9ndvjPuRHWhTyG1VR9oX8p2ykJwbCr/b4i1UYK9KMXDfz3PVBEHSJ2qxGqDAU2TKBgOPk9oxh8lID19ba1jDo4r/YZOw7pLewQse0GuMKl+RYdvObpyGl5E3F2SEEhFIIgqUr7qpYvh2RfX1xI7RXnUrEM4N+j3WmY1JRPzqNgBBGPcxZ1G5FpAnIqZC1LaybhALZXXTlZD2jNyyt9YrVtKe5KAFJTy5QYUNps+9Nl6qcBjMaF7oS17YWbMJyHoHa7hZ+vMuRiPgnrTl7tA1hpR7Rd+fUrSf6MsjsZPs56SN8cJ9i/a8ABq00XKfMjblZDejz2xShqW0yjHYEg09gOgpRiQFnuroBdN5Cu3+VD5WR4cIR9b+Cm7+Eupc6H5WMJwXbfZI+xjBSZJr4ZnCUMzMPbqhqtt4lnADjINelHw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9186.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(83380400001)(5660300002)(508600001)(1076003)(36756003)(186003)(6486002)(2616005)(38350700002)(8936002)(86362001)(966005)(316002)(7416002)(6666004)(4326008)(8676002)(66476007)(38100700002)(66556008)(6506007)(6512007)(52116002)(2906002)(66946007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0evajU9El1CdWm5LC8vfTjBQM6DK?= =?utf-8?q?ZFv6QrqmRGni8Tll52FxDYUmMZWjRB1r/o1F3Dwjlh4ROUhnBqYkX4mxssRDwAAU2?= =?utf-8?q?dQAg29VRsEuXh23hp18+wP5K3vy/qBD4vY8mgmqKkxkP2MTbBq4B2TBa845isdyE5?= =?utf-8?q?9PotU/CLuO0YMNP+Aitc9oM/Dj3UPTVFQCPnvYT3QrvswoRuWCUEmYSwoy4ZkArIO?= =?utf-8?q?MPzMJbyna6YY1HSwEqNREDO2A+dWh0qCEqgTglYiIlIpEcn7Y0vOWZtv46dPueMKK?= =?utf-8?q?LbQ01aslMyoSaH0r09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FIHfT2qkNCsSQQrXlaWfBSSPRyMXyknzVzz4v3kWMLzJjZ?= =?utf-8?q?O9BGNOa4Jg04g3UDX6ZIWF0pu1aKByFv2FFvFPM8MLOjXwPFAK/x44GvDP0oYvmG6?= =?utf-8?q?viw3A7vSyg4ln0bV3wGqOHQQta1qsZJ0VypDHulcWfZ3T2oNTK3PEDFGts26QL2VU?= =?utf-8?q?gGoRGH6IXVK625a0shIzJ2mBs1Sf/bpXjWR5d/DD7HTQmBTrrdhDWQcT8FKH/reka?= =?utf-8?q?X6H0HN896dl5M5oO/Ik2Bu2GjDejfg3w0ERsiPAj26rCEsA6n24DozRGIEEgLc+oB?= =?utf-8?q?Mx4Lk/b+M/AzfICTHUfHZBpsTyhSBVK2OakBoGRqd9LjnFcKOVqKTohbJgx+eIwHo?= =?utf-8?q?1UD6SFMK8cDq?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 611b9abe-ddc0-4ccf-8e81-08da7f06b17d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9186.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Aug 2022 21:39:59.8819 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LTcYGeHKjVQnl5DbhINKzTWDscrw8IuSYXNzvURcQh3zopi9Fb3PAebueTM9P/eiOkz8Vo95TdM5UEqCeJWjsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0401MB2580 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220815_144009_475565_2E05923E X-CRM114-Status: GOOD ( 14.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
--- a/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-hsio.dtsi @@ -160,5 +160,6 @@ pcieb_ep: pcie_ep@5f010000 { num-ib-windows = <6>; num-ob-windows = <6>; status = "disabled"; + MSI-parent = <&lsio_mu12>; }; --- a/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-lsio.dtsi @@ -172,6 +172,19 @@ lsio_mu6: mailbox@5d210000 { status = "disabled"; }; + lsio_mu12: mailbox@5d270000 { + compatible = "fsl,imx6sx-mu-MSI"; + msi-controller; + interrupt-controller; + reg = <0x5d270000 0x10000>, /* A side */ + <0x5d300000 0x10000>; /* B side */ + reg-names = "a", "b"; + interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>; + power-domains = <&pd IMX_SC_R_MU_12A>, + <&pd IMX_SC_R_MU_12B>; + power-domain-names = "a", "b"; + }; + Change Log - Change from v4 to v5 Fixed dt-binding document