Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp42788rwd; Mon, 12 Jun 2023 09:52:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ480al20gNDuL3ttekMMjLYVniUpjESBfTS/HkzPZPjdb1bgq3sxi/WmAHaC+ZRRzRmBhZZ X-Received: by 2002:a05:6a20:4405:b0:11a:ce9:ef38 with SMTP id ce5-20020a056a20440500b0011a0ce9ef38mr8970297pzb.60.1686588736313; Mon, 12 Jun 2023 09:52:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686588736; cv=pass; d=google.com; s=arc-20160816; b=jPzdEwjMzTa+qEqYx7XJOBJI10TMD7ahHd8ZpOe2Y5+slLsCQlV+J5iZ1o7JFiCcm8 4tRemLydaYkKKwcBRwCXEoMJnxkkde8Y3tIQN9rM3UHpyGI+/E252sbo8ffzjztpACO1 lJV+qfUB17vPbPG2HWWLKxdLvYgZgKK+PIPuvD0HMfN/rXYEp6ReW5Vioq3zb0sAVy2X 9NOKTG+XeFnrO3wI4WaM3zy4cqG0bHEFVmv1EgWdNGCgbBOfdKm8aa9/zY1R2o3PAR+Z bc1BojOBLEjo8wr4nADjKFTYZgqVfUZNUNYzHYXIFY7hzqEfxTCAWT0dh2hntrG6EwwD hCrA== 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=f6ngzwQnEw2DISScUpSMhqU3R6b7WmB0u1Zdod8zg3Y=; b=HH2WquMf+dSeuuBo3FnAIfa9RZ9Ur/pSmBDsahKVIJ8qL25ZI2fj2oLW8uzN9HZbxY +k4ohBAFp4tSWrYnBIiCLKSZlHlUrW6+csGyleEJSG64bWZTZgZ1kFQHEC9HmHYD3TrM sL85xyItMhqaVN0FguP+guUV6rfLGRgLxagzBdW+a2TcIX9SjMMR9ZjQn8Zj1Nv6CWmg AwnV5HzJvNXn7Sa+FE8c5UAI0FASxq8Ap3J0w7rF/0xaKKvSthKH7ubOyxlSZ997zM5a yzW5XaNsf9QILknUFwoeggeGLgrnSP6w1fqhuZdQ8EbAvA2/hJP5CqeyrHfDWruwMoGC Ws4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TfEMBC2k; 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 h124-20020a636c82000000b0053592069d66si7284634pgc.467.2023.06.12.09.51.56; Mon, 12 Jun 2023 09:52:16 -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=TfEMBC2k; 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 S235448AbjFLQNn (ORCPT + 99 others); Mon, 12 Jun 2023 12:13:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234500AbjFLQNf (ORCPT ); Mon, 12 Jun 2023 12:13:35 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2040.outbound.protection.outlook.com [40.107.21.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B317E198A; Mon, 12 Jun 2023 09:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hffRUX47Ei7KEMnQLv491YIOukWx0/IPZ1+XWiy9/DmzNwiq2kneJ2RAms1SgXcI/2V5g0zdlIcPnjvy00DeiTBFCK3c/7y4v95Yw32NiDbweolnKCvIKSiHbPPSNA7zm7eflsaol3Yqr7sCemYojc9McnbSGSc+IdySbv0wP3ORx1v1JaN0/B/W4/KDBjyRnSPGEEPpBbKh8riyQxc3tLC8UK+ynnUuTuo2oPg63LLaLmsb5NW7S0h0hoh2rYk9PbyRNAiM9CIB8xlXwS8IJ74ztzKalNCseTTSS5hxwKs/g+6H63amGozI6d7+2XZRLEEgHz8qMy7WKGs4h9L8KA== 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=f6ngzwQnEw2DISScUpSMhqU3R6b7WmB0u1Zdod8zg3Y=; b=iz30qfSdsIYWEq4KBq81j0zErpA9qoCWidWsqohx/omIJslIAE5FabcduDL6dMzb8jH9I7+8j/EP+LA6Rp5JHpGpUB3gwl6uy6qjRZRp/meJxTvZUNBg/qdPl5OnUhZZNzC850q71GPNpZn1ponSfk0XH2hVfmmSWn0w5C0jYSBINjlxjo3+Jd/+CR9QPNLJp7wublm9x7HkLf1x2GAV6+U5hGSeGydeabm5y0IALpLAj85bRyO9hAeGydzMth4YMgtXhBde/5km7S1Z8sy161iOsPxxVotBPxrkIEvFHiCU5+TO/xcRG3fV/FM/BirSKygOZoAgj5SCXUejohU7Pw== 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=f6ngzwQnEw2DISScUpSMhqU3R6b7WmB0u1Zdod8zg3Y=; b=TfEMBC2kDBhk70v3gvIUb7uQ2iwFi3dtcVE4PVKdNh0JUo0DTTBQmpV5krZ1I+lszLzFGc3em+LuikJzSGoYY8nbOM3ViIfAvyjUTQRUaq0OZQvO4I28UEcdiYIM9YBYJ+HZgx+pq6E/Z+wNN9kRP5B33vY4ay83FspoNwcj1fQ= 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 GVXPR04MB9927.eurprd04.prod.outlook.com (2603:10a6:150:118::22) 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:13:09 +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:13:09 +0000 Date: Mon, 12 Jun 2023 12:12:53 -0400 From: Frank Li To: manivannan.sadhasivam@linaro.org, Minghuan Lian , Mingkai Hu , Roy Zang , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , "open list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , "open list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , "moderated list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , open list Cc: imx@lists.linux.dev Subject: Re: [PATCH v4 1/1] PCI: layerscape: Add the endpoint linkup notifier support Message-ID: References: <20230515151049.2797105-1-Frank.Li@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230515151049.2797105-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR04CA0030.namprd04.prod.outlook.com (2603:10b6:a03:40::43) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|GVXPR04MB9927:EE_ X-MS-Office365-Filtering-Correlation-Id: ba8d95ad-267a-4fa6-cc08-08db6b5fe9e8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NUOtldtFrEvJp8/nuk1z94xyKN+fmwSL+5CIGAVBegsv1I7XkJLFUMpLcDQqgcWIrx60aQphQy1ahAkek56Zwl85w2MS1rguSg5pktEluUIdAE30zqt5DlGzBQzZV5/EFjsolU73QTpIqrp8PpqBuuWYb3Z4EHD8SFb5fYDauaksVTAH6eCbJPoIbpqSIsQ68KN+opAhkQyJAjbNvqVoTDrSGa9qDRUEv3zv4jzufs7zVIuNgaU2qNIl9qiORwMU50eSVGEw6KEH8QSxR2sBq4a3VNt59wTuZZPgaFzt6I63q0FqS0HkWr4yaugzhsJ1vNL5h/vFV+fku9DPxMTetvlCd6XbSe1vgqDQjMFuqCbrPRLpqWOCzMW4TrpGWMiRCHM38OJZnrqAtOJ+iXeqXh2qMyJfukDiVgkVS458axRhN+aW9/DVFnis6/svl+SRVYAqt+z88/aTHN1Bi91uJ2frllQ1DL1xSBIzvxNbxjlljrorMzVcmCipsrYdRc+vS7KRGFQPkATg2x88Yr3OC0zpOyyW8STgWewg9dVZmWkyE7Q8poKGCqk/iRNgGxD5XNudg4srdsSgb9U24UDFgyzg6tuw8q2CB7xfAP4DRVMgc0Jmm7SgCpO5BqLf9sIOO3NrQQbjMeqFaVO4DYuCgw== 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)(136003)(346002)(366004)(39860400002)(396003)(376002)(451199021)(83380400001)(921005)(86362001)(38100700002)(38350700002)(33716001)(478600001)(110136005)(4326008)(6486002)(6666004)(8936002)(8676002)(4744005)(2906002)(52116002)(5660300002)(7416002)(66556008)(66946007)(66476007)(41300700001)(316002)(186003)(6506007)(6512007)(9686003)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4Jsw7fDXo7pFzFK4IisrWmaomqYBGrAQctK6bLoTJ1Qzn62UmJ2rYDtjVjiw?= =?us-ascii?Q?gu27IdhpOv06HEhnYuHGzFNZKYzuKs0DIJH2DmnGKGJfaPF55j7/sLGj9b8D?= =?us-ascii?Q?6MquazXTpKDqkkVL+uIjsKGMg6TvjcOGkWA+rmxRkO+xyaaXVKJ8/ecjzviU?= =?us-ascii?Q?+1n/T4a9e0/cd60/bW6GQ+6LhFoVTojiGDTQDe55ZpEtgjqYK2SsIznOuzPA?= =?us-ascii?Q?tQKhUx1nBjte8+1a5+xsU3Wz3eSbgV/WVLgrkTusuMKxaSQlJuWe1YWC/z5G?= =?us-ascii?Q?O37s3RRN+a5PM7pqk2ue7nHe9DDCrJ4EUzNrulmCQqWy/oAuru9i6ne+P/fA?= =?us-ascii?Q?duOtZWMYmMWsP7miPQZ2g5+hGbBEMe/VxVUClQyDoH2gocqxE/a6++eG2XlS?= =?us-ascii?Q?h5BRKQgvcQ3iw94JEj1j/uzupczytkULoNbN2zgHlOoIhCnNPYxtlhxRfp37?= =?us-ascii?Q?l4caZxPu0ayykf7OwKPTNcvWMJa7L9b7VkAjrjx2mch5y9sPX/RYjrOpCVB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Vhnaykvz3IiNZsAc41JIr6KwwMU4YHNSATXy4zfOxum?= =?us-ascii?Q?LoGlqDpj7DQDyhshrkTzKmfU0B89f1DnQiZ67PL+HQM1HvpztMxWQCY7EOGD?= =?us-ascii?Q?Ua0UiM3lxU37fxj/NlHvJ3v3MWbITNExecIE+H3J0Rv6Sqk5mczimvFzO+zr?= =?us-ascii?Q?Cs8FwZLlQnL9CyoYbsrqHESmmSa8tglIaQDcT+xy?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba8d95ad-267a-4fa6-cc08-08db6b5fe9e8 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:13:09.6448 (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: Ght3SHwtDIBcAnfvQ8FlTxtdJWiq1hvlNu8HMrUVNyK67N3Wgq2rK+arKm7VU0lIV9GI8hdCPe3c0Ow0IcnD2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9927 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 Mon, May 15, 2023 at 11:10:49AM -0400, Frank Li wrote: > Layerscape has PME interrupt, which can be used as linkup notifier. > Set CFG_READY bit of PEX_PF0_CONFIG to enable accesses from root complex > when linkup detected. > > Acked-by: Manivannan Sadhasivam > Signed-off-by: Xiaowei Bao > Signed-off-by: Frank Li > --- Ping, not comments almost over 1 months. > Change from v3 to v4 > - swap irq and big_endian > Change from v2 to v3 > - align 80 column > - clear irq firstly > - dev_info to dev_dbg > - remove double space > - update commit message > > Change from v1 to v2 > - pme -> PME > - irq -> IRQ > - update dev_info message according to Bjorn's suggestion > > .../pci/controller/dwc/pci-layerscape-ep.c | 102 +++++++++++++++++- > 1 file changed, 101 insertions(+), 1 deletion(-) > >