Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp39948rwd; Mon, 12 Jun 2023 09:49:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ78NfEwaOjSLBdPqaHvDbtBko4IcGBMYo7Gcvjgf43qKzDGYW1sYdnGVFW2jY6Wm2CNPR59 X-Received: by 2002:a05:6a20:1615:b0:11a:8b75:64ec with SMTP id l21-20020a056a20161500b0011a8b7564ecmr4817142pzj.23.1686588588203; Mon, 12 Jun 2023 09:49:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686588588; cv=pass; d=google.com; s=arc-20160816; b=AkEnC1KUuqtglgPC6vuL4JNltHjxpusvzUSuKXWZeGGBUMbjA7kDiLNGYtxeH1HtvN z0QdQagCjc/ZUWK1CXZrE2ACPAgpsf5Wwh85fbAOwxJOFxA/MFqeKV7TWKaXAekUACfs trTKSMj/vrKngJUOWkzcFtH1PbTJiQQxQjmwHY5hIK/JHSjKptxGrtAJHo5Ng9KyGsJf +79znYIf8T8oxghDQcLpNaDrpJNoTD3Ac7z/8eVWo2lXn1kq0KHBioOlY1hQpdK46AWX CPp9X9kRKK4ZCawY3r5B4Z49rvNFrqTOlch2AO6zhfgd9wFm8BpHumZQy7ZuUT1elX6N i+lQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9QIocaVIciX4e7LM4z33tjRZAyZOTGT8mZ001d3bMxY=; b=0tXXr6w/VUuAjsJ4w06krk+7dlSGSa9aD6M8CztU5ZJaEV97eRFauyywkaYVTb2haA 77gxRoak7IS6rb9thdD1wBxO11Vbz1G3N0aQ7JIOmMHWJr9J3ARqANO0jKdpdzrnWGck xSCW5SpwCqUHyXJRTLPaHDIfJ9fFS7gv00WvusquNZTh+XUf+g4w7R6l277pJGnrZbko W4jcbvDhrtC7TSZ9GpKpfQTkxugWyDOkmSmhQ+43piiE4pYopiFcjSBm8ac4v586GZ8g 3gMspz0BjPVTXGx+Ixuhjtd7dNbe/vLBDFNKs89rRKCK+w4uwtumaJA/2jShQlCpJS61 X3mQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="a3VF1W/M"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r85-20020a632b58000000b00543ebe156acsi7079467pgr.210.2023.06.12.09.49.02; Mon, 12 Jun 2023 09:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="a3VF1W/M"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234242AbjFLQRs (ORCPT + 99 others); Mon, 12 Jun 2023 12:17:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232111AbjFLQRp (ORCPT ); Mon, 12 Jun 2023 12:17:45 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2066.outbound.protection.outlook.com [40.107.22.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 830A2118; Mon, 12 Jun 2023 09:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dWkf4CchhKOsHGMmZNTtEoLVJIw4HYc0NzcqWKMhMX5htPDDGFU2L9DeXroE7B5IktJF5iVMnUsc0H/gTJmIJTqgiraqr4hSkwwDxLwC//qeCqH0/rG/fN0tIE86DDt0XtxSnfLUAiyfH9rEDfCdfD4ECwC7j29Auc1BlU+h9SK8xdkMvJYemFnefNihZN/6FpGnGrxQbeHBQcbvcLVzxlyBlA1qXZbtpmEGw9TQRdker5+eaqIra2WW+K3Fb6lOfKN5YB1bz1JZHodB3sU4kVsEjEmSd4VR1u89aBqjhDrVIaZw34zTLcta0SquyHFSJjT3NW1Q73EFQs844xOyXQ== 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=9QIocaVIciX4e7LM4z33tjRZAyZOTGT8mZ001d3bMxY=; b=S3Klb8InCHxB1fHvOvQw91VXumxcXDJBItBaU7guxh35ZSMPkcKRLHa2AcUTogescQbKvZURIj5D3N+Gpn9YpmMVHC8YXIPNTkQyU9sqOXUXQCGnxlh31FYiR4qpsr3xjBiYo8Ve+NaV0OmIuxLVFE0fZQZAVQDNkAxWYERlM6M76+HK0/ibovxYyRU5S1onnl93eKJJ3E/QDt8IM6OFtDQ7jZXkfuQCKFZCtlNdFS4DBavJxexVw2VGqu2nXUg7nBDW9heT5uVq0wSTM3XgXggZ5Sg/UMpYRz998MHu6Xqd+jCpMR7f91KkY8b9ZPNTsnQCJsw/XMMX/6DZuL4zlQ== 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=9QIocaVIciX4e7LM4z33tjRZAyZOTGT8mZ001d3bMxY=; b=a3VF1W/M7T8VdbrxtAm2MAxR58kR1Lo1E03FLiXbMhAG5fW2svG1gru8k/JwNWWKFT+i+UfIO/OT1g4qPG709dganZlkynrubXoVjvDHEkDMLagXpJszzCsbPJPUCJHVR8qA1ODFIKPjUpKjRqwxKSV0FOvrnilSq/FxYAiYfZU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AS8PR04MB8852.eurprd04.prod.outlook.com (2603:10a6:20b:42f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.46; Mon, 12 Jun 2023 16:17:42 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::4a2a:262e:415f:e41c]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::4a2a:262e:415f:e41c%7]) with mapi id 15.20.6477.028; Mon, 12 Jun 2023 16:17:42 +0000 Date: Mon, 12 Jun 2023 12:17:25 -0400 From: Frank Li To: "tglx@linutronix.de" , "lorenzo.pieralisi@arm.com" , "manivannan.sadhasivam@linaro.org" , "bhelgaas@google.com" Cc: Aisheng Dong , "devicetree@vger.kernel.org" , "festevam@gmail.com" , "imx@lists.linux.dev" , "jdmason@kudzu.us" , "kernel@pengutronix.de" , "kishon@ti.com" , "krzysztof.kozlowski+dt@linaro.org" , "kw@linux.com" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "lpieralisi@kernel.org" , "maz@kernel.org" , "ntb@lists.linux.dev" , Peng Fan , "robh+dt@kernel.org" , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" Subject: Re: [PATCH 0/3] Add RC-to-EP doorbell with platform MSI controller Message-ID: References: <20230426203436.1277307-1-Frank.Li@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SJ0PR03CA0190.namprd03.prod.outlook.com (2603:10b6:a03:2ef::15) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AS8PR04MB8852:EE_ X-MS-Office365-Filtering-Correlation-Id: 4593aecf-3905-4b4a-b364-08db6b608c1d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 30YnIGEm+8tbq4Ba3QRJIaG3vzpzSCWv2jDS+F1LOgK8wBhN8G2b22jFnr2V3rQYuoJS7C5MxEv24JAvydTw4JNEIXIf1CffdxUKliDA04hNRL9Uh7kO8PLrD+twOMIuxpiHZ/1ptqEZ+b7flHlos1Bxo3QepwkFkC/Pp53y4qhiIGMAom/l8o7JJFFxy3eRgJkdiM+ZOQOtZIm57slxE7Z+/Or0wAzao/FXgLcKhaAI/NtWIvSM/PivUoVgnOdEgg4+mgwqd44htT/12ZcbWD/bXHIf6pu54crt06eiVsJ7NZkxESrkRga6YrHqF1Hri2yxh14nn+OlHsZF5KVi072D7FwYa6kXKYD9wjvpTH9Tb0FWPLhUPL536ioGVpyAIl301XQbkbLL4awAa3s/Rh3zigZZaubI/EVqTUUFime3iM9+o9n48k4Ywz8Ng+kDgO+YwEZvy3olv9rRv+EmQi1nksJjIv8ZwxSfWOgsN3S7SuMy337s6rFrb+UuSwjF/Bgug5anGfMa04J7B2YFOKIFvag9KOh2VCGmrxejH4ZNopKjxU9fGvhSeSAN1nEnQeSbjqtPCytmKyXCDqA+ZQOf95uykQ/FuWDsG/XNVmuCwsoIbF63z2Fo1wri2yZm X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(7916004)(346002)(39860400002)(376002)(136003)(366004)(396003)(451199021)(5660300002)(110136005)(54906003)(7416002)(8676002)(4326008)(66946007)(66556008)(8936002)(41300700001)(316002)(186003)(2906002)(478600001)(66476007)(6666004)(6486002)(52116002)(9686003)(6512007)(6506007)(33716001)(26005)(83380400001)(86362001)(38100700002)(38350700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?YhuvW0598AnPiqELE/F/ENd+HDjJ4pgPa/yAiJf8t64tg/TBTVI8QXjsqne5?= =?us-ascii?Q?X441C/3fXDKFK/by4OZwP6qUtozTZCLEAX+z56/09IJIntANylfJTONfAETk?= =?us-ascii?Q?JtWWB8uyBwnQbAX8YGJd9oITna3mFRaR+gx6p/8PPu+4H0FJPP12DO0hQr67?= =?us-ascii?Q?C1YQKbiJ40+w+x6ihGvLVlFOLygz8Id0+8w9+3FG3S1JoKVQlL8bShkLrUWQ?= =?us-ascii?Q?JL3bvrsB1KUL6EE1uke7z3UsMALI4h7YTpnYuTQYD+PZzMdiSIlHjJqyYfo2?= =?us-ascii?Q?Mv+QMydU80hPs0qO5z3iAV3FSrptVgI4DLE3PZfKbucEzSwPYpUSuJuHJ8sN?= =?us-ascii?Q?H5yjgP97TNvakYUtQWKlyEpvVNHP19VIZsQ2RGixiG6fpDfFaINILZxHHcZ0?= =?us-ascii?Q?AsMoy+vrDsH1n8sQn71jTW0I56bn97hsHDv5ZzgctUzH5SikFE6rnEw8WALz?= =?us-ascii?Q?6ihTZztozE/B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YIbQPgMsf?= =?us-ascii?Q?PtJpUdmnQXcTDwPrgv+VR71oXW+sgtOfHEvtYe0syuzrx3+xcQXV2gQZxEjA?= =?us-ascii?Q?2vb/oa+d/Dv0/7k2RZcn5Q9cngeEMjuAa/chehgIaQSLSZGZw9DMF9ag33tk?= =?us-ascii?Q?CJICZHfqsjYGPWEczE4z5xLqP8mryG6GZRJJWng3muFLBIvrGK+pbIC3m4fx?= =?us-ascii?Q?1gWoLNcLgdyhOK/YV/gX8Ka+UwF0nlpfmtkOMqL9?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4593aecf-3905-4b4a-b364-08db6b608c1d X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 16:17:41.7638 (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: In37QbCbfH2WeV9CeYoC0C3NGqTYAZ7KMZe3Ab3/VU4HCaFl145gTAkf+rthWQtSEjfqdUmy4oVrC2shkUcAUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8852 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 12, 2023 at 02:45:12PM +0000, Frank Li wrote: > > > > This patches add new API to pci-epf-core, so any EP driver can use it. > > > > The key point is comments from Thomas Gleixner, who suggest use new > > PCI/IMS. But arm platform change still not be merged yet. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git devmsi-v2-arm > > > > So I still use existed method implement RC to EP doorbell. > > > > If Thomas Gleixner want to continue work on devmsi-v2-arm, I can help test > > and update this patch. > > > > Ping? Ping? > > > Frank Li (3): > > PCI: endpoint: Add RC-to-EP doorbell support using platform MSI > > controller > > misc: pci_endpoint_test: Add doorbell test case > > tools: PCI: Add 'B' option for test doorbell > > > > drivers/misc/pci_endpoint_test.c | 41 +++++++++++ > > drivers/pci/endpoint/pci-epf-core.c | 109 > > ++++++++++++++++++++++++++++ > > include/linux/pci-epf.h | 16 ++++ > > include/uapi/linux/pcitest.h | 1 + > > tools/pci/pcitest.c | 16 +++- > > 5 files changed, 182 insertions(+), 1 deletion(-) > > > > -- > > 2.34.1 >