Message ID | 20220919154038.187168-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 5D066ECAAD3 for <linux-arm-kernel@archiver.kernel.org>; Mon, 19 Sep 2022 15:49:23 +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=r3/E8essQs/pYISpWu3Vjbt+oMYn5Ro15RWLC8XFyYk=; b=BQWER+XzjX7cS5 m13BQv6I60JC6so/01wIUY3zzaADSZnhM+gxLNEefL8/wzsWIGqA6TfSZr5mSgKCqtZ+pRpYchxI/ 1br2T5IRfbdrI0E0OCtJLvGxw/7VMrkSZMfHV3J4g0Ed0D3Osj9Y33zOVUwQpuClcanQI9pGuobbM 9v3qWnYJhC1HClyTMhkDfCASm3JsnujB21/IpwiIvQJy7cQC8bHnm7AegImTkFkAHHn2Ga9FJAvNR 9Ewu8I1eP0XMsPKR76ln45EQU95ReM4LP/P0NEnXh7sH4ZH6bKApLtLarOeE2U+0GGv/o1yzieRYZ q+FYmYk3/wPmhgjseAhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaIzn-00CdHY-LX; Mon, 19 Sep 2022 15:47:45 +0000 Received: from mail-eopbgr60068.outbound.protection.outlook.com ([40.107.6.68] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oaItN-00CZo2-AU for linux-arm-kernel@lists.infradead.org; Mon, 19 Sep 2022 15:41:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MDYUnBbfDAiiBRNU9qgr6ujhxKOtG76fIN2AFRdoPVaHYu1H1+QuS5nbveltodCnlgUuwv+C6c8x25fV+3UrTqoZAUT/mWfnueTtMTJJVnHiN5Xx05lMiWWGlO07oFJ2qke0Ue3HYiAOSgcCey2XM33VBeZ0D52j+CU7373iL7n0gvRiwk3429BgF4H9fkTN+940IUsdtt+DKIyojrVx4ntJbPlz+HfSJ20Fnc14SlqX/51jU7yvHndS/qgmHeyauZ3QKtVxkGvzqK/awQh7FGZzIwbkbAlZqqzFR+f6VGDpmL/oR9YiW575jl3mPwgk3N27bNynNBt+GTh61eAdEg== 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=DDD2m4WaQLJ5X3cdlq5/ReU71Ft6dOt4Wh+UdBg4azQ=; b=kNxmYVRYdic3VD8SC+jfyu9VYwyasVlVMstd26OFOOGpC3T+o0oihFulhqHEXpwjOo6a19ky0piZ4w1KZKfxLKHawGOLzLugIZQkK5LUVyvBwOh0XqsyElUc5dAc1sRUYASR3BdtJTRpqtXcrZuloGW2LhI92OcjBqF0z7WCPXeZdzvNgEfFqJOr1PyFZfVDalp3uSVscPjPauIIK3ySZve6+Nvm9P+EwRS865Lnn47MhKlfQ/tFWr9m1+LgSn8+YrGJevysFa3JcazKSnVmbakfVHwPgnUlc5w1jDwqy8+NKTf3T6+fcu/RusFZAa0nsank7pEQ81FSJW51U60ABQ== 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=DDD2m4WaQLJ5X3cdlq5/ReU71Ft6dOt4Wh+UdBg4azQ=; b=Ez6SkKaeVphOaYsB2Uwr7cyTdJUWGHdnjvc31soIE8SHP3VcZt6wbUxFVECEZ/HyviLA9Dxk6kR9cVw8uP6XGXsxeU/Fh+3e2OGn3ep5lEuxznCpwT4HqZxHr3/xqLKJciiCnTMsVJqKcYfWLNyU9aApFclP9TG0C6YyJiBGzXE= 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 AM0PR04MB6945.eurprd04.prod.outlook.com (2603:10a6:208:17f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Mon, 19 Sep 2022 15:41:00 +0000 Received: from AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::5a3:ff70:317d:a99e]) by AM9PR04MB8793.eurprd04.prod.outlook.com ([fe80::5a3:ff70:317d:a99e%7]) with mapi id 15.20.5632.021; Mon, 19 Sep 2022 15:41:00 +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 v11 0/6] PCI EP driver support MSI doorbell from host Date: Mon, 19 Sep 2022 10:40:32 -0500 Message-Id: <20220919154038.187168-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.35.1 X-ClientProxiedBy: BY3PR05CA0059.namprd05.prod.outlook.com (2603:10b6:a03:39b::34) To AM9PR04MB8793.eurprd04.prod.outlook.com (2603:10a6:20b:408::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8793:EE_|AM0PR04MB6945:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a7f91b6-d0d7-47d7-1e34-08da9a555a2d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V7q1oodgSvxVWe0W1TUJ0I/ROwWLrrdL3Zl6W5uwZSEeoXt+bAWGleBKdZN+LMLYZ8iKv8bLHOabWU4RzaZjlOtXdf8V18vtwOpkSI0/Tojtb0zMJS6BZ6muQEhwVCG3Jmf3Clf+0uO9Z6h4coCvYNefK4w4M14b5Jkpegv1sfrsdetfnsDfuzutByGUegJ6N3e5fU/idzO1uLmHblvpwup2pEtkNjJRWIuiMjXe7IFgMw5mlgZ2oy1vQLk6ZDca3B6KYEi+xtqQV8pWj09S9z3mkk0DkH52bjmAutZIPFDazd5wOq1efKgPzDfNGOErxnZ0hCvq7Amju87Ux51s/84n5xfTrh3H6PhvPtC4Bkmiqy6Y2xX/MHt8BRAKnrEud+Y1Kkl76nI3/hKhBmLa+m+5rCghHb/XU8mLkNto3TY1sfmcM2vEMv0EaDsdTXwdfjS1rCUFxBhR23opijiI9lLLL5Cyy2aW2KsRYnwr1Do8nfLWKabyoAU7PXxPKC644VY3sVzadsvDrl1zCFZ0KxgyYheWv4QNfnzCnYxagof/F/ayQ+CMON+POT5RGRMlM3ThlwYsIntrJMVd8op32A+BdGeq7vi3gkAWB0ItJb0xhdzKjyYDue34RSxcdbCX2I7ULAvW1kupS7mVDySDUXPzQezzST7+SJDRXm0T2Y5fa2xXVaS0nIW96zB7OgCNH6bUL++2w14E82zt5K0b6TM/3C64oVh1Kc6B6+n4ThE+AujRwi6TZAcQip2LkMIpdzzIVTCKjOTxMrZtJpzg4QwQTYXzzTgBpQ8JAY5vOfw= 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)(366004)(396003)(346002)(376002)(136003)(39860400002)(451199015)(66476007)(36756003)(66556008)(1076003)(2616005)(2906002)(66946007)(38350700002)(38100700002)(4326008)(83380400001)(8936002)(186003)(41300700001)(6666004)(966005)(478600001)(8676002)(6512007)(86362001)(26005)(316002)(6506007)(52116002)(5660300002)(6486002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ICsPezo+cKQUXGv0hkJ8xp0PJfph?= =?utf-8?q?SBIJv2L/DH3fxCWjsD5Age/l2YNGeAXrpcVA6IG7zSvGNwoHUg/JqX3X3xKmMzG0N?= =?utf-8?q?ecLo+x9XwaUMU+lEcsnauQD4B6a1+LPUZO93J1j+F0jWrTk8gSviDhnX7Y9X/ndIW?= =?utf-8?q?NzJVGCvBIOh4iiykK8FUOXnCO/3TXylv4ukIXdANYa9pToRi/oyUs6Skq+qZYtA7C?= =?utf-8?q?xM+Ed4THcRk1pLyHLevYcBHk4b8sB97pRXaLxfWwmMQMjro1T1p4XBfGU6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oR?= =?utf-8?q?bSGsBmU6jN2aIkxrVYbkJVCeYln6IlZADAa0yH/sm9fiIf9mDxg3EZDyftPyYzFv4?= =?utf-8?q?yFXejWuWlNk9Kf1PD9D4Y1kNGke8SfheMHHH/yssMhLnAjKby2Umv1+SFm+GiKNT0?= =?utf-8?q?f2ZQYyGl8MPXpby9pOscK8nDl3bg4nakFFo0xMwxvNh/N72FrVvN1h40i19UoYeFB?= =?utf-8?q?553kFHudFJNjZkYhB0mZ+2mh9DucP+/sokLd6hxt73zvWfrxwyxvqIc0txN6XlzmM?= =?utf-8?q?Sa8USoOf0yBLbr7BQU7q1ikjww5JN52T7M8JlCb5EPIWTGUXcQdNH9ousTApb+lZF?= =?utf-8?q?A2kIaVABV9WzkJ2jy6+0EzhdnkkcqapfT2H6ju6bptA+wo4phb2TxspO86x0f3DGr?= =?utf-8?q?VVAhWNGj05zH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a7f91b6-d0d7-47d7-1e34-08da9a555a2d X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8793.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2022 15:41:00.4806 (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: mbWkBNh0B4YqUjlVzUUi2bGKYCjT+ePdx1phWAM19UdTpR6ZFa69980T9Md/MpILk5nWETYBF7w61JoN5OtrHg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6945 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220919_084105_811714_329B5088 X-CRM114-Status: GOOD ( 16.28 ) 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 v10 to v11 irqchips: no change