Message ID | 20220913210957.3493826-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 E4449ECAAD8 for <linux-arm-kernel@archiver.kernel.org>; Tue, 13 Sep 2022 21:12:16 +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=t1tlkkrzNiW7vctfIQ6WQ2tgkfJpVGpWvH7r39dx0gA=; b=lb5KJCEcz9jl1B l8MBPvku+mJXfhMvZk39cmgaEbIcgEBIjEh9zBiM+syyyfooLMQH2yfuLHBRp60SSYMM4X3rnsJRp 3BloFgKyVlnSZflalmTgB6witSHPEDR+E2kaCgUYL3OP2RlVyj5lgAywDu5e5C0tDpEZYkezZFvQ6 a+0hKDU13tws4Nu1eEXRiTIilRmY+wlcLkkvcwVZlgg7E5ep9z1WKV4xiSNMjjfnS+z86p0lzmAMB I/I1TXb8SQ+0k3lXaCygNRfHLZczW0QKcC2incCz77fbn9SnCllLjrNofmzm9pmoCzoIm7STZ2Dys hrHJlbz2rC+8uIAZsVuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYDAs-00GscE-Qo; Tue, 13 Sep 2022 21:10:31 +0000 Received: from mail-eopbgr150071.outbound.protection.outlook.com ([40.107.15.71] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oYDAo-00GsNn-LV for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 21:10:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPWrsMLStBGylUkekheA4oa2Ca/b0d+11wPzlqDND2f2T3QV2L5vDwtbApvh19ZaF+0yTfc8dz5b974xWkq6EavLqEDGm8Tj+cNBxY3R0bz/vYDpwWNGMyQwfEZuc1/SD8cdg9Aocrpx000bi3w6dqnIEvKM1jBecP+wq7cYgZq/lMhUmXe5uTsBd1LjWUQViSRTepciaivBRjiPQDOarmd3W/7qaBM6YRcML4HI438NFAuSDOpKJdx2ieBFbsqRjU/Eb8PGZQ1tscrAjxV0qAp8RRtNHrewWmkdZWVb9iTR7Uecsrg+6fgtdrnN5aoZo3Kfx6wVKQ/+Dae6XmvD/Q== 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=kJpYy0Gtz1uHbX+DDVq2T49sq2eO9Ep89TrbIu3P0no=; b=dCL+XrargncVBb9erl2y+r4j+xhyNsc20l/oWbF8Jvtwz9CsJgKofDUaCpI84anpn4nN/SIrkjK7pHAscuHHaGOx70dc6e2/7/8RVroSSpRQRJKXxQURH9zew46cJDKB0W4XvQcuDJk5nIDGQiyOPX8ylaCeGUoyYYpTW3NJifkZmq9K0yWNoRxbFdxAnlUPjFwH/4HlRp51mlX1cio4+4k3siS6SdJfnhhH1SgcFUl2SvIEGNEXP0QMF9ezRUNHR+mxhhtcw/Mtp1WS4+sK0n1ngmPeHWOggQRSIfMo/cqcMWtFWg0ot0YSQqkNs7HtLjhe66qjxhQpVTJZUJqupA== 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=kJpYy0Gtz1uHbX+DDVq2T49sq2eO9Ep89TrbIu3P0no=; b=Y0ATuhVf6XT1Ss7Tjx+YGfP7VHUt5iBkN8LOSwva/KSaOJV0DkaS67R769Sc6qjVjUQaydITlMB8+vNj8BqnPw/v8H3Vmw9ncTfCVOIssLiGvcwUSvJlxQO04Z+qS4g2iocFkrgRvZGTMfy+S1X6S9uBnv3E/vZ+eQeMlWxuGv0= 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 PAXPR04MB8621.eurprd04.prod.outlook.com (2603:10a6:102:218::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Tue, 13 Sep 2022 21:10:17 +0000 Received: from AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::e5ca:22d0:52e2:15f5]) by AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::e5ca:22d0:52e2:15f5%3]) with mapi id 15.20.5612.022; Tue, 13 Sep 2022 21:10:17 +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, manivannan.sadhasivam@linaro.org Subject: [PATCH v10 0/4] PCI EP driver support MSI doorbell from host Date: Tue, 13 Sep 2022 16:09:51 -0500 Message-Id: <20220913210957.3493826-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: BYAPR07CA0023.namprd07.prod.outlook.com (2603:10b6:a02:bc::36) To AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8793:EE_|PAXPR04MB8621:EE_ X-MS-Office365-Filtering-Correlation-Id: d627ee80-1ff9-4dea-08cd-08da95cc5bbf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pQoEU3kHJc/Epkpq3n83TNhYXvcF2QoOecS25KGhPTbYpKyNk8Wp6CHTwyJUvVE/bJ1uHGcwLuvwrvzkOhnT+HhitQ5lfKoi4wb6kB+3vjUb1pH+SAwK24jW3zuHMCz2cyX/bGxtz+Ab6zAL4jYj7lvWQeumiYnbD8oCaLeRXWZyMABsl2iAWUpUnI70JaOFOSRO50RRGBxNSwpuNKW1Wyhq97+qtjbvknjlHTG8eQAyrg9PgovmSaFupyeo2hgVokSoCRP17WlXC05wA8LBtO7PiNdR918N3Icod09ajp0r/4YxRYs19SKUvouMBnTBUuWFytCOR+lh4lQzX1OcsL6ZMByFLuq71yuyYxvZW8GVEfFxubaK86jzN1aPnseJ8ai5MylwugOOiOCVkH/u3NUivm5PYNkzogChmu8p25qqHb9jkexo2sdentJxPHAzMA0Syv7OsrwsECPwQAJSoh3y9Rm/ve8YlNWDYPCQlgD3GtXtx2R+64o0LMllh+wKmwWZYtBvpDIsNc1mwMb9NrIa25+QmnvAn+L0ttUkZnbqHyH4MgfHR/ewuvfu79Cmg/SXtk/1Axc5O8vTnQOMveIG0gyKRUZy13XRFTw6EKtHv1jHoee0NIir3ok556LaRCN9wydTLvuFtfj0B12K71QNkDZisZXI+67CHDq+BvbrbcciTcn9k6hHu0tAq1NQPNvqqihSe6BtGjrtIZZBU/6fd4pEIr2w7ZIHigBDeiJBDuOH3+53nZRsHIa/ivWMtwkbPORYaKd7ILLOVNxZIrOFLjceUy2s1qrYIdYsemc= 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:(13230022)(4636009)(376002)(39860400002)(136003)(366004)(396003)(346002)(451199015)(38100700002)(478600001)(316002)(966005)(83380400001)(36756003)(8676002)(66556008)(2906002)(26005)(52116002)(2616005)(6486002)(66476007)(66946007)(6512007)(86362001)(6506007)(4326008)(41300700001)(7416002)(38350700002)(6666004)(8936002)(5660300002)(1076003)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?dPwTG9rVDbC3G8gehtVATthERk/r?= =?utf-8?q?ivwF17DDXj/Z8PyQMRlP3lxBpQlM/Thl9gcrf1DjnVQVO4G04DdzxY8sgovwrU9gk?= =?utf-8?q?skjEjyqu/Q+9u6aJ2yY0YMZvKsJb54zyYSBDxrx8PSM2YM+Sm9czbQld1HEAot/sI?= =?utf-8?q?x+tXvn1eFQx3q1jvYmrftU9Ra4kwq7l/rdAJkbPJ9P0rlPO8xN2WGu5Rg/0f6DyAG?= =?utf-8?q?DYNEJyTeAkom05nQI0dJaNTEe93Md5GzRc04AeCu2SdbNlPtUHgp8Cf3xEr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=?utf-8?q?gSnnXVaedgnWnVzCSFSlJAHcHM8UIew0KO0wP56z/XZ3fJGahMH2kfKOKV9J3dU7f?= =?utf-8?q?DK4aBiKlZBK+vYcUpAuGSkap2/Wyxi/XwpX0u2vaXq2FPadrwyh+LmFDXPaUg1/3x?= =?utf-8?q?j7zfk9L2g89IhU3wQ1itgio4fswO8m/sz4NgvPTMEDCSjFa6D3dJX2x4cSGNOrfZJ?= =?utf-8?q?ueMJiyp5gct3EwNeKPDKzsrFf+UrEuj5xvX+MhiXDa/y3WMGnxParjWumlc9R7+CE?= =?utf-8?q?cEi+22CB+h+pdNGG6wZGf6oFtDZ4gDHiPKW4JPJZ75yY2AOWoYlC61bE9FS2of/bI?= =?utf-8?q?McXBbJZsnIW60BDVQvHzVPWTLECdTX8saGaflr+PtmIHBERfpG4vsosXobEfDXOWw?= =?utf-8?q?iEcG2AfuuTNA?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d627ee80-1ff9-4dea-08cd-08da95cc5bbf X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8793.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2022 21:10:17.3647 (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: +IqxssjX2nGCDDhymecoVSX5U0B8M/zVTyFdyhtiZA5zd9Sg4ZMqBW9/58u009+3zBZw8KibdUE48HKIUe2Mkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8621 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_141027_093546_9B84E0B4 X-CRM114-Status: GOOD ( 15.00 ) 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 v9 to v10 fixed build error reported by kernel test robot <lkp@intel.com>