Message ID | 20220922163206.21281-1-Frank.Li@nxp.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <devicetree-owner@kernel.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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8572CC54EE9 for <linux-devicetree@archiver.kernel.org>; Thu, 22 Sep 2022 16:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbiIVQcg (ORCPT <rfc822;linux-devicetree@archiver.kernel.org>); Thu, 22 Sep 2022 12:32:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbiIVQcb (ORCPT <rfc822;devicetree@vger.kernel.org>); Thu, 22 Sep 2022 12:32:31 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B22FD8E1C; Thu, 22 Sep 2022 09:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aw5ZyuNTIfnbq8fPWEbnaEDkOr4tdt09SuqKa2pkI3CRppKYOWo16DzMf54HiW0v4yRYcSutjaT8SYuJY2SwCpdBFH0x2MYheVC3yNFqVPrtXWIOqfna8N2yC99f8y59arznpZ3Wc+UNgNAx6EFPJrWX0uI2FR0UGOTksmgwrWZWhpaMhONwW5DJFvV+YKV1kmMeeo3lEs/ij+xh0DXJjveWhWWsChwgTODkIUxZpmJWjoO87cYmcwZ49ow2V6clo9j0EVwZl1clD4CdTBWI1BMQRBB1mhUW5hm3WYgtB2LfDwQTZXeJhfhPFcG3YPyS3xyj4EGRkEij1ZpTMufdZQ== 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=NeQ4vWTr+ec0pde1tg/gz0iPJVOdyjtridip3uYcEGo=; b=FXSWbNL1oXR1262p6shrCFdTequQXE1Vs3xrRI/4RJNQa4d8QUQg+Ocsfk1TJMH+tPgN4GS02i4aYI1nWSpBF1G+UetyPhv53aBpMOfSDJGUhgZTiBOWvV2E52fLQYXPcwqaDQr80dBQzLDlwQjnpbZZutUe4/NWVjX0jP1sMWVcnZpVAoguCCk/oP359EXZN+GHfttPk2JfdGHwkp3njP++2DZc6SaKhFJgi9hy3mzZpv/PVUnZWkNG/+LEcjGtoHGW551TUjETeydHuqNsNdDKtqveH1Vx+99uxKwVLBcWoQ0dAcNLWFOQ123RshtnxtckF+4YW0xLhg1Wca09aA== 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=NeQ4vWTr+ec0pde1tg/gz0iPJVOdyjtridip3uYcEGo=; b=J6F3zQ770jX5EkeqMd0E6O+abghElQ7x4+Kb0fP4doaGDUGWjsMt+crPjg9wJMrzvZNEDbdjpJcMiBbp4eMnntGu6gyg06ivHDhUhdy/cpslMUWZ/lNVuz39M8K25WMvIRo3a4qTNGq3W7RlsAGl2t85pUYGCqtzyuRCMaDvtCg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8789.eurprd04.prod.outlook.com (2603:10a6:10:2e0::11) by VI1PR04MB7119.eurprd04.prod.outlook.com (2603:10a6:800:12e::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.18; Thu, 22 Sep 2022 16:32:26 +0000 Received: from DU2PR04MB8789.eurprd04.prod.outlook.com ([fe80::5c5d:d0e4:cd13:6428]) by DU2PR04MB8789.eurprd04.prod.outlook.com ([fe80::5c5d:d0e4:cd13:6428%5]) with mapi id 15.20.5654.018; Thu, 22 Sep 2022 16:32:26 +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 v12 0/6] PCI EP driver support MSI doorbell from host Date: Thu, 22 Sep 2022 11:32:06 -0500 Message-Id: <20220922163206.21281-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220919154038.187168-1-Frank.Li@nxp.comv> References: <20220919154038.187168-1-Frank.Li@nxp.comv> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SJ0PR03CA0092.namprd03.prod.outlook.com (2603:10b6:a03:333::7) To DU2PR04MB8789.eurprd04.prod.outlook.com (2603:10a6:10:2e0::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8789:EE_|VI1PR04MB7119:EE_ X-MS-Office365-Filtering-Correlation-Id: 09814fd7-67ff-49b8-0ec5-08da9cb808a3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZGRY/q15Rpvs50hTtJHs7RiacrE8tdkGHKH0MUKWwuJ+gqJAcoF9ALIOKGqy6Y89Wq287cJIVOOKvAZcPMlG17fawh/rSCqXH5Mu3mlg8jUdHlQtE8XDhi8K/GewCjvWePedydX7PAw48r075iXhSyxdQZHRTgbd6XBaZIs9EmoeexoEzMRnxB8zXQYciv7Rai+gS3ukYBJ9mJmf9af8W7ivEDndMu+su4/WGUdec5dd1Tc+qxl7UH7AFBvNVhayL/POxKCmQhBpIu90iz9/v24s1MzqLAXxIqvolJRaokv51X/Bll+vGyae6RlmkrMWM/p9AMvAMWo4DW6LcWVIXUYnGEtaMVRFIxH7AiBlqiHp4D78nyPCzebj7Rp+Ez+CPIiSINYG7BzOnBOiYOsevWwdpbj5vSIppIicUuXkgSeOMrY4DfjbeoGe6A5rqoqlJQ5c0T757qslVBcpKOjdiW8plAComNe9GA6hXxy650/wZUC8zPLqp/zMHv9J3YCCS52ofeyIJHNzKILdzufK+0UJQGVxp+TWFPgM8SMYIZ/wPTKyGwYpR85r1MoW47Yc5/o8ysgoykO51PEo78BOmvkRMBRUvWnZnchycWz8N4WrXMcbqwYorjNszZWNUeVdMfsEY/Su6zirPCbgdNGBBiAAJnRnktM7NW6Q0xrErmi1QW/zcQGROFtQqUVrIFFQb7yv0yVbyrc4YLiN6gSg4eT4bb90tBQx9454VX8XC1CA+fMVeAFzuuFABC6fqcBFmqJEFTy74rQDgySKUxDPzDT3fEI3oaDh0k3nGSX4/L0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8789.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(136003)(396003)(39860400002)(366004)(376002)(451199015)(83380400001)(4326008)(36756003)(66946007)(66476007)(38100700002)(38350700002)(86362001)(5660300002)(7416002)(66556008)(2906002)(8936002)(966005)(41300700001)(478600001)(6486002)(2616005)(186003)(8676002)(1076003)(52116002)(6666004)(6506007)(26005)(6512007)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?2ogca0Ml4yM7Uf+hZ3NZpB3GXzsN?= =?utf-8?q?mcIkM1Ad4Vy3pITyHfxcAkEc/McKQ9AaXBXDwoZ0IS23XMlIxZnFB5Qm1/cIg5wSv?= =?utf-8?q?3VpNPWOoJHEM9/79YY3PIn/YpwCpFIxydB28+1p1+MG2bAUdIL1LuhlRXnSW809th?= =?utf-8?q?GZ+cGsopR1R7uqjYnAGM//dnuviXQ5waz5GWyoN43XC2pgdfx7cthU6h1xalTm8b+?= =?utf-8?q?5ZDOmBEXpE5KIxtE18l9/eZmFcbhDsDv6MDkHNL3QVv8+y279ic1Zl6xT0jRxh75+?= =?utf-8?q?/PM/0M9eYCgg0aj9E1bk/Sx0wFXuBsIwAIlxn3N4ZR5WdBpQReiaY1nXnKRR0qaBT?= =?utf-8?q?S75sGvNE4bcInpQH5VwXbOQs+I+bV/6We3L/o9PJMElP1Caqc+T4V43UmOwo9N9Ny?= =?utf-8?q?LBfaIzTem4MnrAjkLwwXaJ8TYOJOuvqXrgOf5/nZDel7euMg1Zb1InD4p6NUTyNXd?= =?utf-8?q?/pk/P4yrrXuo7sKimXPdiCOlaOyAz+WlI4s+j0Q2kNV3RItRAHLXSQn16e2qvH3Zg?= =?utf-8?q?P8TwbqLkA4rNptvVyTcOgQ8lxlPxQkppYUP1SMX0jOWVHCk6ro9J7+Q9QJTFRELmC?= =?utf-8?q?5hI6uAr+2KZ+ZIyn61NAI0aHyGPdmGKwFzCIHLGRtZWz+vahlDp84dq96TyXPvE3+?= =?utf-8?q?COaLtNhzbeAkUn7/heXpncT81sQoVvLQ0DdA+Miy3PQjbstqrSVAOFA6ISjHPh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Message-Id: 09814fd7-67ff-49b8-0ec5-08da9cb808a3 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8789.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2022 16:32:26.2134 (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: OAbxZTDhvDTt7y1xhSko9APLD2NOwEWCbFvEnUt5O+pNmQ6Xrz8bQ58DLAfh5HgoskUqfvgzy0sCR4osi6dvNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7119 Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.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 v11 to v12 pcie: