Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1179291rdb; Fri, 1 Dec 2023 08:56:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyW4Oroqg68c+1ZMvNyyiLknZ099KMv/umQ4n0RUPjbovX7Nab3lJB4AkS6JaU2xThOG2K X-Received: by 2002:a05:6358:52ca:b0:16b:fe18:27fc with SMTP id z10-20020a05635852ca00b0016bfe1827fcmr24109779rwz.31.1701449778081; Fri, 01 Dec 2023 08:56:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701449778; cv=pass; d=google.com; s=arc-20160816; b=bQ9GEJ8/GajpPQvX0lWMElwxI0Dzi4Eg0tqgiZ1LRpCb03pITq13We+6g0K7EM/UQy IRhqVE08gCkqpxD0To8vrK1cnxaFiZWt9T1swfR8WtO+bSnFKvx7JL+zxcF+jMo8iiWe cBHJiVrhGkZ7g3gfchTc7xWcy+k/uT98bl32IGYVOUMeMk7v5TyUx30CNMbkJu8glYlL qGQOZRRtIbR2qc606jxUjCk/wK4ROADk+lBs43NNK/XPk6WbDf9nXXvNmotWA5Zldzph eLohlcFwJP6m4C623wTm64pzLOn2mVRpam8QwrqVwS2Ny8+CU4B2RLyHq1jKUlxFe1tX bSWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=EyWejAaGPKKwfuGLK/n+t1gTo7sLVxM+kIkl4p+ycG4=; fh=v/jM2wn1AT8MmGliQzsTYb8d2SqnkzZtnVlwdeycEpM=; b=IcxSkxIFhEVOxFrBvwtMQ8tPoEDf6M8icugCXV+JaY04EdbrwomB2Cv4LkMa3j+M8n CKcAnEZxe8bSh4ntOcjYbSiyjfeNRp27AaxjaruH6qvimzRQYkqVwxPss/dV/q5Kx0UW CEDe64co8CYyi4zc0VJqnv5bCjVbNh3+MCya3pCtBLJblyhhMVki/GcR87lduGgON9zZ D3n8QNY1tJ3F0F98yvNDyOJ4lPAXKXo1C1DJq13zly7/F5M9WTI7Zph6V+T7nIXjwCjP fhcwS4PNM5Ogin8RK0iH/vYDHda/6vVUpnyWpyzyQik/LuNGXWvxZQCcZhdOM2WX7saQ b7OQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Kq/65qzp"; 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::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id 127-20020a630985000000b005be0028c5easi3512841pgj.401.2023.12.01.08.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:56:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="Kq/65qzp"; 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::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id CCD468343955; Fri, 1 Dec 2023 08:56:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbjLAQzs (ORCPT + 99 others); Fri, 1 Dec 2023 11:55:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378533AbjLAQzq (ORCPT ); Fri, 1 Dec 2023 11:55:46 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2045.outbound.protection.outlook.com [40.107.105.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86469103; Fri, 1 Dec 2023 08:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bmZRqHhji0Zbhxk5ICMmqhHPUajlnp3+f3nV2rHuahTOdludKWtw5MoROcWIMh6uC+RS4/BFrfZJlOcZKPrqghMQFdAVo8elSeYL3GwLkvBKYsWQytWbyWOl6ApDSUQFrghlmVBqlTerAsuo/5O0JoHmneAFu4M/1mCf3t9rvD5m85pHuO3dQHKhivDeQ/0bCDOsgzJvUeng4jq+HoKVAQljtQL2wEXv7dv7OrXK7+BZXF1VIcir3owt14EPSYYIsS/jV1msO+RNG7Ok7tyZ+DR0dJBl6O1V5NcxwrURDQDsE0AtESrLClfURKx7q26vU2QVhiCBltKwRfD+MM+FUA== 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=EyWejAaGPKKwfuGLK/n+t1gTo7sLVxM+kIkl4p+ycG4=; b=Nfff+9RsWKM91KVqMm3WeKIkRPh1b7xh52F/vJRdEHpKNaa3UfXN4to7asIQVA0Gn9g9sT912z5AbPp5EWAHAqrDiSQQjT+koPvDP3GEqFJig4jFyU1rJ3N5nr04I6BrmvOjMrmoqWbregSxb4RRVFmQVsCjHY7TRsCjiZFcBjC/BttThHmfE9XHS4h9Kixankf6AqMIw9xv8jUrPG2Rz5CLOmoB9hfkQcDTGINnoJw8Zf7TNGljKuCBLdEAMgF8B4T7Z6NDKR0EwUDMGXe8jbfDVRm62JpackRPprBvmHLRYvCc/hXLafDORcf43ZDkJmK/XHtFkcYYigszyLMrbQ== 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=EyWejAaGPKKwfuGLK/n+t1gTo7sLVxM+kIkl4p+ycG4=; b=Kq/65qzpNJtmWQB7bun5kwkR/UnkbewrGkA9Qs1C7IwWiI1J9CHaIknIKpa96+d4wNQTIPBgsx4brjfma1aXkmJ4quYwas0FRa1S8sveyJiBwVn72u6bkd+auYVjkp2DsVuHgXx9YXpfmC/7ujuwWxJdcUiw/wL2H9mVWWEXmiU= Received: from AM0PR04MB5956.eurprd04.prod.outlook.com (2603:10a6:208:114::23) by VI1PR04MB10002.eurprd04.prod.outlook.com (2603:10a6:800:1d7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22; Fri, 1 Dec 2023 16:55:46 +0000 Received: from AM0PR04MB5956.eurprd04.prod.outlook.com ([fe80::611a:53a9:3185:c548]) by AM0PR04MB5956.eurprd04.prod.outlook.com ([fe80::611a:53a9:3185:c548%3]) with mapi id 15.20.7068.012; Fri, 1 Dec 2023 16:55:46 +0000 From: Roy Zang To: Frank Li , "manivannan.sadhasivam@linaro.org" CC: "bhelgaas@google.com" , "imx@lists.linux.dev" , "kw@linux.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "lpieralisi@kernel.org" , "M.H. Lian" , Mingkai Hu , "robh@kernel.org" Subject: RE: [PATCH v5 1/4] PCI: layerscape: Add function pointer for exit_from_l2() Thread-Topic: [PATCH v5 1/4] PCI: layerscape: Add function pointer for exit_from_l2() Thread-Index: AQHaJHHl8qXN4QHKMUKMMe8ziEIho7CUpVJg Date: Fri, 1 Dec 2023 16:55:46 +0000 Message-ID: References: <20231201161712.1645987-1-Frank.Li@nxp.com> <20231201161712.1645987-2-Frank.Li@nxp.com> In-Reply-To: <20231201161712.1645987-2-Frank.Li@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AM0PR04MB5956:EE_|VI1PR04MB10002:EE_ x-ms-office365-filtering-correlation-id: 9940bcf4-54e2-4bc5-fd6e-08dbf28e5d51 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 08+SueAQXmuWL1yevEyNwgUOKSRm/h4jPwUocgzLRAzc+9KMAnob2GHnQuSpv4/eej0vsgUpT8kc69k3MMwu9jnPYlSjJzoNAgwZBJLryCO3WQEOHbIVkq3GfTqjbK13qlchMgDPDUURbizsjDhvEfvDxV/gkRaqzgGQlHN96xbZ6E33WLSR/nJ8tRnNhYakMVEum9zHhUNvlY2DJ7UOFLaiEoTfKgxdKs6HWym7pumytAjxcSEU2zimoEaVGOYMTk6Lht4pX0d5AY/rEBMLyAMlOeNE3BT6OspOJoOtfom4wHUJoJ4ENukVx4sDkwtG65VCw6QcaIJmWWNTpH60WILc18YJLWVJSAW11j2g4pnmdbbtJ/123ji8UVBmw9B99rCGpHevwuM1IxaEZ0RrbD6Ix9/bng2pLUsz+ZJsLwS7xa6nKse9RPDRySoLjP2y8OJC3RTqxepzEmy7lQLl22KocZBUXyNje2Z0HHDt/HMTkm8fgp7UXBhcOjtUlqiS9D65iaUIUdVf7CHoTe3FAGbs+zuQ8PI5Oy7u3RlLnK2wZPY45E8bP0pcQyP9QjAGhOZeIzL5/ediqvJVdrYpRSzr5oLG37rWoJZpUHfMcW4cVjD8/vTzuopLvOch6v5W x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB5956.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(396003)(376002)(346002)(366004)(39860400002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(41300700001)(38070700009)(55016003)(6506007)(122000001)(33656002)(7416002)(5660300002)(38100700002)(86362001)(9686003)(2906002)(83380400001)(71200400001)(4744005)(26005)(7696005)(55236004)(110136005)(44832011)(52536014)(76116006)(478600001)(66476007)(54906003)(8936002)(66946007)(8676002)(316002)(66446008)(64756008)(4326008)(66556008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?m67En089Gr+FaMP4y+tKFkrU0v7w7+XW3PLJ67hfu6TSYq8zCkLVxVG1VI06?= =?us-ascii?Q?R5NDLJj0jZ0fnbbMX13RqSb1tstaz/VK9AvG7n7M2Iceo2P97v8XEU2UwHUs?= =?us-ascii?Q?4NlGp511eeH7IaG+uoEYqkJyCHPF6Iln87HhEX6Pdx84ra0/HSb2fWOqCVrR?= =?us-ascii?Q?x78izBCw1yIoxixvzAm2kZunvXXV5nlTjl88L7hFt0Ltl/dqLeWhd5JdbcAz?= =?us-ascii?Q?yKxYNVy17mkDFB8dz8/HHSios47ZjrgiI2hWhLnfB1WBM6xHAsjuQPKTKHqg?= =?us-ascii?Q?XEY/V5WEmExnjyiiPyiUpCws75hgf0QB0FhssQsSDxD58yI5iXYZIz61M+n3?= =?us-ascii?Q?spik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BsJ78jfw3VPvML7M?= =?us-ascii?Q?mXe37JRMhZ23Y9+M4osqJ5+89TI7B+YFnkcJ06aZqJKNUaZHxw0pPWVBzzYr?= =?us-ascii?Q?oYGEdBJzz7P2nUv1wMYPy9XtH3t/Qymsxq8oTTzhmQrN2Fd//ud13VY6+FXc?= =?us-ascii?Q?5O0/o0qOXB7NhryiPIrAmFfs5ItcZXSM2gQe/5zftlceZwB4p9DUxvO//xdZ?= =?us-ascii?Q?D85FLwSPlMk5muRbaJpWTb716iVkwBtFhu0yDc/uut3Sfg4ZtRlmy+cCjUwL?= =?us-ascii?Q?K1Ewy4safidsfVkGXXOUYFBgFpVdRyAhKTOFG8JvA2SlRolNQqa7Rs3RD8Ex?= =?us-ascii?Q?Q443a5HjWzOSDFZe9+Q=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB5956.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9940bcf4-54e2-4bc5-fd6e-08dbf28e5d51 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Dec 2023 16:55:46.7579 (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: viMTA3NYM2AHakJEoQGsHpq3dDDneH9I+xdLm9VF5DncT13Aomfdj7Trj43CeY6pBfzucc0kbtN8Bzzmt8nAuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB10002 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:56:05 -0800 (PST) > From: Frank Li > Subject: [PATCH v5 1/4] PCI: layerscape: Add function pointer for exit_fr= om_l2() >=20 > Since difference SoCs require different sequence for exiting L2, let's ad= d a > separate "exit_from_l2()" callback. This callback can be used to execute = SoC > specific sequence. >=20 > Change ls_pcie_exit_from_l2() return value from void to int. Return error= if > exit_from_l2() failure at exit resume flow. >=20 > Reviewed-by: Manivannan Sadhasivam > Signed-off-by: Frank Li Acked-by: Roy Zang Roy