Message ID | 20220818151127.2449064-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 00D60C00140 for <linux-arm-kernel@archiver.kernel.org>; Thu, 18 Aug 2022 15:16:44 +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=cE7bS7tVZ8i3IPOFQ/3T/Ft+wO48T34stcLC2jTfuHI=; b=N1hZzyrnhkm97r wpb2Ot5YNuLLZgnj1PfVS4lN53l/aFsL3J34gg1crAugb2Nzl1QNQOUpKQ1IUANRzeki6xi4U0Xxd UIX02chIqdUn9oYg/zCvlVlVeWgwSJiPNe/YAiUNdN12LRHyFQLTmwG8aYVSMz7U+NfGTG1S0uh23 mtsKnBAqDCPAb65DJ7TtTLLU5zwyKV359MMnDg6R4uvxU0QThK6K1mrMduD7M+koGvCpCu+1FpgPe gNQIjL3TKrAa/g2S3oMTsmISH6MtLs9S2aHAhNCNyJHgv1sDTzJZPQlH8dN64OrqBofpY4lUJiGza BbX5jZJUE3lL3qn8LZgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOhEo-006VSC-OE; Thu, 18 Aug 2022 15:15:16 +0000 Received: from mail-am6eur05on2080.outbound.protection.outlook.com ([40.107.22.80] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOhBb-006TWK-IE for linux-arm-kernel@lists.infradead.org; Thu, 18 Aug 2022 15:11:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=byNOOTI1lEswpaJSWNeN8XEomafr0DR5y924QVwCW3nPH+qQ6aK+1ybT7mBm5rJniyKYQsYc3Ct0nQEEhQ4wfjkwwwpLdpIVOROURsrvly/8LLs2kU4nZlCk/j01IFYVQuHq8ixgE20zz5MBdL/Jijb3EEfeqmjeBTwmjS7uEOaGSN9OoNvqlrf35q+tSF5IfBD5xgw35+VVhf8Cbo2W711j9Q/tApHeqvgy6N/VUchP9tNQU54DYRrR+LaSmGSXw5xuS9zr+m0SRl4J6Qn6JbqRMq3CXIcZqcIr4CQhWaUO2gfyLtX+D6FYiYA53LNfBdpDN6zJzhG18ITblHyFYA== 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=NtMpNVplILGZi2u/dVsX903we9+baZrIzJYTfXjWhUk=; b=W7OaBtk1BhWxXHVJuB686zbPWPwUuPsKVgLx5ERz+jFyJKVLj3W4TAW2qRhK42bx1ERWtVuUwTQV+SmInjYjITmcAViFBvMsns2qG/UO6/d0PqJ9PQmYLXIwWG/6DZkbTkAD5/dCtD+4Kw8G2+0yd1NIHVX8InbxVLNY45sYRipMoGZTJUBNVzIdOj27yI2x8T/n0wAPBaEiGJY1MdSJEiVWuIhZ5DqS8A+KiU2EdpWo5hMVCpof2AroJXsUocvtGPn1HhJScmzOv+cW9/5boio8p7g4LyVKEo27gUZNv4YD4CaEmPINIoTYKnl+Zxh1RdiROK28zcME6dU8ai0B8Q== 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=NtMpNVplILGZi2u/dVsX903we9+baZrIzJYTfXjWhUk=; b=WJoqDI3o8ocAv0UzWeDhYs0Axc/Pnojebb6J6q9zp0UzbZ18yvqNTfyuAhmgkicDl2qsAWAJh65xW+JlpbEBcfI2qGqFJXX7NOC3SjD9OF/EC3lz+uPV2cJ2tGkDKOHHpU/bKAh1aPDx6pqHkxwictj39YLpuj+VdmFGbiKQXRU= 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 AM0PR04MB5713.eurprd04.prod.outlook.com (2603:10a6:208:125::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Thu, 18 Aug 2022 15:11:48 +0000 Received: from PAXPR04MB9186.eurprd04.prod.outlook.com ([fe80::40a9:93e4:75d4:f73c]) by PAXPR04MB9186.eurprd04.prod.outlook.com ([fe80::40a9:93e4:75d4:f73c%3]) with mapi id 15.20.5546.016; Thu, 18 Aug 2022 15:11:48 +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 v6 0/4] PCI EP driver support MSI doorbell from host Date: Thu, 18 Aug 2022 10:11:23 -0500 Message-Id: <20220818151127.2449064-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: SJ0PR13CA0141.namprd13.prod.outlook.com (2603:10b6:a03:2c6::26) 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: e5e39ade-f509-42e2-a94c-08da812bf862 X-MS-TrafficTypeDiagnostic: AM0PR04MB5713:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rwa7EjpSWXS2S/ESv3m/AGXPxJUlAQz56i44Wp1GGyYVSROll6vXeKR/e+IYzTo8Mc8RM2NnfrDTjpY6abk2eOiLunJDNO0XX32HFWL4f6ELjff/Sa2eo80BTK1HPRa1xAnPYkljpa+F+AucdUHTv0yXpAHvTZbC3fTM+Ds8tQFK6X/KWh0UEoeXW2ebij5FIRenCvehMf8E1S9yM7uVWmgf3eebpO2s3wc5EJjfriw6I3u7Mf2KoJuOonhZY4bQSj4rTmDwWJwwROzGSTRF5aMa5JB/33k07E6wwnBSp8JXfiL4XYa1nWJOZVL02ro9S3Ybs11aWZa72THxyRG7JLnfqiLyl0xmW7+AIEZWU62ZlcADTf3/8JgLTruEu1h0JIE7EW617gXZCwHHFRp01ykqCiK7ux1TYNuzuU5RO411J4IBiGHYaO+su5h6d6GFKR9b3BeIarlVo/C5Rh9axbj3/eTyUFd6LGZG+3IlyDf6A7dFMrUoS8aQ+lRoxvQookpzccX8O2Pzu0Q+EcveC65g+RayyPrqerYQJGpAAo427DFDBD9C5CB6EdhLrt1/IdlwostJhahz8UGjGzXv05sYtnY2IBuZHhti5wYnbSFeKVMpjmB62Et7ZKv5QJE3AAWtFkUmM3K2BwkV1SP7M5Zd1ahZJ5sbd0xDw4KD9dgoxRhSHbEuGjMo8S9+FjbT+w8fGv0+SPykVszGIvZ3nBrFvHNnD55K+9YgtT5RR+zTVbQjlqK3KdF9W23Z4hrDqCn6HyaLn3kGjD/OiXRyipHxzcyY2IFmEXjmrc6Q2/c= 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)(136003)(346002)(366004)(376002)(39860400002)(396003)(2616005)(316002)(1076003)(186003)(83380400001)(36756003)(38350700002)(38100700002)(6506007)(52116002)(4326008)(66946007)(66476007)(66556008)(2906002)(966005)(8676002)(6486002)(86362001)(6512007)(41300700001)(478600001)(26005)(6666004)(8936002)(5660300002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?MjReqUGzAlwSbaVpkkA0BfLXBYEm?= =?utf-8?q?Xs3h5g2y+96LatgOasYGcDsSkIBwosQPfQfLGlWj86H7jAtT4fxkB/iTv4F6gtZ8C?= =?utf-8?q?N3OvrrvYGWH0grgDM6iFX5aVGiZOeLVwMT1d1wqnUQiHtUHu263F7oBTxN/6cTPfq?= =?utf-8?q?dCdLAYRi3Ee7ypjNl8PgoqzE+DbNtZjiZOPIY9X4IVAv7TsDcY0Cr7j9KgXygKflK?= =?utf-8?q?59aAalLFvKKsPzPgCfLiF0TyC+ydSLG/I0intKztwOaJzqfD1PYBU+PNW5aQQmmeU?= =?utf-8?q?XVAz6TCoUTTNqnjKiCAgRH8uakFpLcEoK8jdKM7CH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9pMONLNFmHk+XhvDmUhNzcfeW?= =?utf-8?q?Gj7NYDeiZc4sNcRr+Wow76y7LMtH42X/rw8JS2idn22M+OZ7lJDgetyklIjfWFN4P?= =?utf-8?q?f1BAAe4UVJ8s3jjDjEXyCwSuK8RGBj8gflqOU/yrBfA4eRYZfT6ur4tRXTKhTPxko?= =?utf-8?q?i+v4ZTFnMuPj3QL1RWiZntjO34wWxunkqR7VYjtDxnVNSb0ySUG02xJiFOSLOZZwJ?= =?utf-8?q?JNQaP8DJ3XaN053w8vzcn45SWswF3anq0SHKpvNoKmVjPFNxxoyB74WFb0h5L1U/r?= =?utf-8?q?uOnyzrFhbpSOjHW2h+nEGVMewdabwO+rper32afB936S+9xOAHGDmF0Q=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5e39ade-f509-42e2-a94c-08da812bf862 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9186.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 15:11:47.9794 (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: /UHUOvq4jDxB6UOVnCPPmfZWhir5zpMVg0uf5vYdzjqf1osklMi6h36uOtGnscg5X2pkaCxivpyEedDRLFYZjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5713 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220818_081155_723904_B07A13A3 X-CRM114-Status: GOOD ( 14.11 ) 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 v5 to v6 Fixed build error found by kernel test robot