Message ID | 20220906194052.3079599-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 ABF3CECAAA1 for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Sep 2022 19:42:40 +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=2qVUjG7vynyGpJ+QPnGblC2PSHfg/zjOpugFu4dTswQ=; b=OJgmns9uU6WhDE R1IY7/SXSXEEO+FUJnzJ7AKVUk29whQI3VcNypGdma9PZWiwlfBzheNvcLcyI1d5rdRDDEFfI9btY aG6L3R2QfHLwqD97saVf4+uGUyelPUgAk+1NAkaxLb/k32yA2Cj0MxdXzX0j88PMQvXrbiO/BwGQ/ QcLLIfFbhPT7yxtME9W3GcWzmfxUvMgu3+5ZEfBGmg56recygsGlBwo3iH22C25tuOQbo93g1RAG6 lGEPT9TG1cmFkGxNCPJ0N09la/R6vO6OAriQdDiJ0w0WR85xpbMjjv0aE3vY0+t/16dwkATCJAQK8 0LfTF1KhK2uHOAdEVU5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVeRq-00Gn0S-1E; Tue, 06 Sep 2022 19:41:26 +0000 Received: from mail-eopbgr80058.outbound.protection.outlook.com ([40.107.8.58] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVeRl-00GmwX-U9 for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2022 19:41:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PdyEp9WvbtF/F1AzQEFeEmRgg2VUqbxGp2b6pU1ba2oYdcX45QxNRiYzaGTZ6bcTKTseyHknkwazOzhJGb6x9KSp+oqbe40cGwoMqTGcfS1iZAegwJKbDnFStGL++gho3XVe4l5rLUYAm/f/dDsarjMXjOtnDGmUmpSqA+j8q/PZ/10YD28GLnln0vFDJUT4UzYiGtYDku1pz1WKEjS8+68LOLqsRte1akmR+QwvUh56ennB5cQZnmXg1XOxMD+Gdr6Jnm3UopO0H3wT19Rx+fCSl9KcoDit5ETOiASkw5WjMQwMN/3S5GNxBQc1dzjM/r3lVIATkImWjq+4KLnVCg== 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=bFGTE/3jBtDDKCXB4iueaGQ5wt1Pd1x1vRvU6A6hoKE=; b=gZ0BFCFlcJkHtJ9anHHor0MRKVaevxqb8ppanf86y+e5jJbkJcQAS4a6DfZ7EuVlGJFVjF13KHmbOM5kj72sO/ecAFgy+j9kV/aEeKUtr9VhmHzt7d7K5l0Wd2oNoWiJbKSBiKzA/pU+V8Rf8RKMKE3HY3LwJr4K/eLdHMnAAqN+tzOr2afE6EpBexOQVQX+1+Fnam2Rk5fT95xOUK88bUaDOMhh+z9OFWLrPxuA0tJ6U0MUVnv4II++c/BHoB3zfV6ddFyEbb2MY1YG3DklhxnQ4Ob7aa7ZBysjMa9Z7Picijyv/bMRUF/dlOUmYCQbpv5B95Da5gWU1OwCD/mvZw== 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=bFGTE/3jBtDDKCXB4iueaGQ5wt1Pd1x1vRvU6A6hoKE=; b=T4oO8SK5xiJUTd+EAbv+sR8sepsWt8Y3vJ5+sCOwVGopBu5F2egX7Vgy0iy9GyLXEPnyY2ta+wYESLmjVCltkchfYb/Xg6YNbU3mxlhlkFkNEkWYT7N5V9xSDWaQ7BcljXQipxNJ8Hc1cny26IBEUr1CObr2WF0q/LzRIUr/JkY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) by DB6PR0401MB2358.eurprd04.prod.outlook.com (2603:10a6:4:51::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.12; Tue, 6 Sep 2022 19:41:14 +0000 Received: from AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::1c3e:36a0:1adc:beb]) by AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::1c3e:36a0:1adc:beb%9]) with mapi id 15.20.5612.012; Tue, 6 Sep 2022 19:41:14 +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, imx@lists.linux.dev Subject: [PATCH v8 0/4] PCI EP driver support MSI doorbell from host Date: Tue, 6 Sep 2022 14:40:48 -0500 Message-Id: <20220906194052.3079599-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: BYAPR11CA0042.namprd11.prod.outlook.com (2603:10b6:a03:80::19) To AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8793:EE_|DB6PR0401MB2358:EE_ X-MS-Office365-Filtering-Correlation-Id: b0c6a782-818e-4316-9fa8-08da903fc209 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f8o/Vy/RGbH/GVamUXrXYYJM6YG1emUao+m2cTS8FGQ02DiNIvJt0rONM38yo6LvOg6rph1SGK8rIjhkv5/gAZnE0C1MgCcSMoYTA+YjHOSVjxlNikbPwFBREbbrBkf5H6R1PsPW+lENewDkjxPZpmlkzM7jAvIDBxXSXAT7KHvFMLzMts9GkRWcifAkzaTUhmEw8oALATaCbr8IUSqHS0diW955n61EIQNv6AGEEBThQY0FGgEOaSThIaAAiohORc4uyoXrCAnw4MgQtio7j0LSOWDxbpZSqrjECuri2IUgC1v1Kxq7zeilisTnVL+1VyLye3G3PxzbCOPqHPu2xJCAy4rOfdyqiLSpQ8271edb7Sj2G+bwg+0DF7M8P0/I92PpdtdtVgWdtN3eeRzyJmUKAlxRYgNFw/orK6gL2Jlm0nL0TNr9CqTlH83W886V0e75EZYUHwPEYFOcmqScOrYpTsYVCVAv3Y9T2+XKuKca4PHv0o5olfXxFJmp4O7myYqdImpLdBmQiJsco3UjXjE44ryfksorH9NcXXquOIn8bEVvqoGCpgG3RCZ5zjy6DSBk1bUkrOLwmLEqdut/+7aBvlr/vavHHnJS9JfoxhvSJYdWQe4+wkFiX2qzWlgyexudNLsmY7geL7lba0tVC/7L2rvcFIOQ32YH03l0v+wvDX7tV9vYwxiktqKnHNQURKfhcnba2BWHT3h9A0tkYpqzf4mCQhpwmYMvBEbH7/o7LphvPcJUlYBeS9v8k3dgC8Khhr64TTVUNKiWRy96qa2e10ngiy9a3YY7Quk1tAY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8793.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(39860400002)(366004)(136003)(376002)(346002)(41300700001)(52116002)(26005)(6512007)(6506007)(6666004)(966005)(6486002)(478600001)(83380400001)(2616005)(186003)(1076003)(2906002)(7416002)(8936002)(5660300002)(66476007)(66946007)(4326008)(8676002)(66556008)(38350700002)(316002)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+yiyBjU7HM1fuD9wdhpusHQz2Mm5?= =?utf-8?q?y6wKTa5FHNRIHXXo2MoLZQ5GejxBwDV+vrByn/3UOi1ixlZK6WdBi4Ev2xPa/k3sR?= =?utf-8?q?8dXiQEvpLtKCvXyr6x1zKqCjwS1Cixnb0nD5r5g25A5X4UUtvY6bo1yaUQ1g8ptYA?= =?utf-8?q?w56fERyXTysjLjPkpLM2+KjmIqg/oVNQuKI0avSk+UPPBQ217uFCMrVNAsLSY9AsI?= =?utf-8?q?iNDh9ucBpXxAOpb6L09jaXvf9r2FdByT0MLmlnL4/foTOMmbzpqcPswygBAzIvknq?= =?utf-8?q?8ISX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oOpS9PUSvb+wnthwNZdOW5QeTbM8PJkr4j+VDuj1Wo03VhYC2Gu0B4lsfu?= =?utf-8?q?1NPoPiBAZvcZfbEHS9zaeZr/Blj3rp795/+a2zvLlJeAK0izxvaPLJHr0JLlmeS9e?= =?utf-8?q?WLLGZH3XLPIIufPkBMDzE++lBmTtU5Yvxx1SAPvFILXxeqdJNViS8ocFK0pHnZY8r?= =?utf-8?q?BX2Dq4SxMusl3kxyFjpKihBPW9o3ONAic08tf31a3VQIboewYI4giu/WTvyYXWsOB?= =?utf-8?q?Wujclgs9BtUqIeXXC8nqjlWmo6NA2sQI2Jr+qTZQV14Ic6KIc6UGsgeI8X1+UpOUj?= =?utf-8?q?7tmJNxtCRs/QkR5XzBE2KJCJp4B5SMiovVTFoeHEZWOZ9rC7fYZ9cyXdnefMzlcyp?= =?utf-8?q?wwzHIZf368Zp?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0c6a782-818e-4316-9fa8-08da903fc209 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8793.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2022 19:41:14.1439 (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: 6CSD5deo8LxQIE5EuByhHfcLCgSbWJmHJyCHqfqj3DvmlC3cJzAV35oduqQUxzRfnqPwg71/E/jhBf8kX/6LcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2358 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220906_124122_010986_FDBC282A X-CRM114-Status: GOOD ( 15.57 ) 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 v7 to v8 irqchip: using name process-a-side as resource bind name