Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1154246rdb; Fri, 1 Dec 2023 08:18:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IEYfNJGCqZT/bdClbkElSOQDG9sHr4hhhJZ19n40PsFrjqZhutPYNWdUwwZT1eB6QCbx8/Z X-Received: by 2002:a17:903:2281:b0:1cf:ea64:f508 with SMTP id b1-20020a170903228100b001cfea64f508mr15844452plh.2.1701447509995; Fri, 01 Dec 2023 08:18:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701447509; cv=pass; d=google.com; s=arc-20160816; b=y5ID7ZTyghXuVPlMOqxntGAqcD2ifXrINTg3DM6Y9XzZy9tqu2uo5ohq00cO0D7A+N sBVAoMJz3IeE/hl3RyS/GNq9dJWnaKCaC6guAxveLGywAzXugO/q0CIm8b3KyMtov3Du U2hCb4ypq5DlVWJN+aM4YXdE0HRC3QF4oZBkumwonMWBPy/ISWIDrpJnubLRBnrK/taw 6laNGyamldhEIAINh1NbTWlxg7NAUbYpBM5/l0gYiOoHFi1lcGVlAFnS8GNBafzIRyJH dpaGux0uTEXLVHHYoCBnYVhBjugdb5rDwRnr+f5QJul+hYFRsPyI8LXKFLb2v+QVgqoJ aOPQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=6RVXyhFtosqOA2JzUqe9x5BXdxAOCgwOpJ/QwjabWDw=; fh=G2Za2XEd7lFHZ2j3w8Am2dhf4mDmMexXUuvn1GAozXQ=; b=yHd4VSYRF2BwOig0JuwLEkKwrPawvjLCMYJCtj8E5vPo8NDZqkaIn8bIe9FBnWwJ8e nb2LpDAlOz59t1jneEx8b8dQ6230XmTU3N+QoA+TWwYPxQg35LwUP7cGi7zX3JA6OsuZ TjgUfVJ7gn/v5QFoULqjG4pUEhjwtIBMClTrlBdUJCF+pVy7+lDkBw29Bl+LRPdRmiXi n1ewvXlyMGpHhi0ugVKWr8pXr+z6ugc4+APo3/lpCwf6QAQ2IIVdq6TExO1jgSRYAu7y V/0JQnHUOp1e4LDoaLsBvD7NXBtuf1algfnS/klLFGpTfWXNt2AuGb46/IDetp4wg2I0 e9PA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TOqLeWcq; 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 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id z7-20020a170903018700b001cfcb270ab3si3542463plg.528.2023.12.01.08.18.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 08:18:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TOqLeWcq; 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 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 7A22181972D6; Fri, 1 Dec 2023 08:18:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235287AbjLAQR4 (ORCPT + 99 others); Fri, 1 Dec 2023 11:17:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378465AbjLAQRo (ORCPT ); Fri, 1 Dec 2023 11:17:44 -0500 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2073.outbound.protection.outlook.com [40.107.247.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1EF510FF; Fri, 1 Dec 2023 08:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JEAMwHiw/G5p1x108Sq7DeG523uIgvyFFYv0vvr7dpPDABW8DiOqSYITR/o5Q7VfSN2Uya/hBEsGoF4dPLlGOQ7wMTCNPoGh7Wdx+Cl9RklVP1A0IM5SvShD/qFuYwhx658YwZ9SM6ddEwXogrJPHNhF6ctl60d8Fqjsxwjz+/nQstrXIsn8tQbwhH427eRPQG+uVIQ3BQo46hEVXaG3bMHlNGbqcsRPponiwUHbCnyUAe1nAGDXX1H5eNE7iKm4UunPiMLEKEYXHgN+JnFjJnTD8Aj7FgscUachPE94WzVgZAy4fjgjIlx4PwIxUOYjVYPMZdz7L2RXYgUphD3YWw== 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=6RVXyhFtosqOA2JzUqe9x5BXdxAOCgwOpJ/QwjabWDw=; b=D9zf+dp4b1MLPogSl0RPSwoxsOdr5QHcVK7y+m9GB2D3Qsbk7Q5VGDyoOWKnAv6OMXUvVmkBY+w26j9BVV36H6bkF5Ll3jPIYfjb6ibCpfBRhLvANwvirrtpZVXIqMBqEaGXvplvH0eT5njlu4zW3NRI0eVcCoq+kUjHCIh7FcdWH5JIu5qykcDBPfeLb3EqYYtv7aCcTVfMN1nC0RXtDixiRHAHx6Qgq/mo4j44J9WwLBVy9urtlPcoq2Q3Na4wu+gdVuYAS3ZcLrTczCVt2XhMu4R4+cxFEqEYc51+1L4I3P2vZCA46Lk0h3e0jRqGH2bkXrw88v4wnn648t7wIQ== 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=6RVXyhFtosqOA2JzUqe9x5BXdxAOCgwOpJ/QwjabWDw=; b=TOqLeWcqo4SFcEVPKfUch3nOYCuKRsT8EU0GE2f8Dv10ZzsioUjJUZ1eEbDI29Cc3mPT5hmi6etvuT5ZCZLCJiT0+K3ZR3WeTUOHl2x8h4+jfnBPDjd0vJ6x6dtilVfqWEgeXNxKR0k1b21BdVmxtj7tBONaZiAhzDN+LTmjJeQ= 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 DU2PR04MB8695.eurprd04.prod.outlook.com (2603:10a6:10:2de::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.13; Fri, 1 Dec 2023 16:17:31 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::95f5:5118:258f:ee40%6]) with mapi id 15.20.7046.015; Fri, 1 Dec 2023 16:17:31 +0000 From: Frank Li To: manivannan.sadhasivam@linaro.org Cc: Frank.Li@nxp.com, 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, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, robh@kernel.org, roy.zang@nxp.com Subject: [PATCH v5 0/4] PCI: layerscape: Add suspend/resume support for ls1043 and ls1021 Date: Fri, 1 Dec 2023 11:17:08 -0500 Message-Id: <20231201161712.1645987-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY5PR17CA0070.namprd17.prod.outlook.com (2603:10b6:a03:167::47) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DU2PR04MB8695:EE_ X-MS-Office365-Filtering-Correlation-Id: 46c3919d-c080-493a-19d7-08dbf28904f8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rnkL5zYYEYWFALcrMASqmklnqWXeC8+Jtla8JHuDvFDHSn/ERIYNxHc8Nc6Z1z3YThKiHTBVpkevGFTwK18792OTr1ihZPl9Oy9JdsviJ7DdiEhUAKsaap2j536hfY3YaxNLQFoPStEIHuAC9zQvVF3iQLyEi1hM+CiloY7Qn4JcjqvMub9B99y7dprrIi6RN5dvrt74K1bbfeGXftWJZT3ZrjpMUZieNDrQlkZCYn51nGIE+HfbDxYNKHKn2ac4sLwajSVsJeVYNmy9kXyiZwxKpc8GUMPfYLR9+/IZWKq/b4RXkjaGF58V/Hh+sAM/d/cXKtCZGvMTVaRXhDDEIqrLRoc0tlRgzFDbH59zbn7SQsEstYE/P9uo9dIrLKc4y5cjY3OtA7WiEYX3EdpxRqE7jQI5HP1XXkb5MZ4QUpt5kzJEWLtG7muN5ND6m/qcdCya3yEM5Zb7A2XewssLMC6WQ+UPO5P9PLE/x+auqwXHei8DuwgQw4yuqTrEuPqw+4EExYXygMat6JeMiMpDWtU28kOWogtR6CiX3kGgfkOEH2BdRx0XdrsDs3dr+OCPS5+FStBTXMV6ORcbD5+vrtGgKw9J7dE+eoz0NwlGmnUSo/tI2ibSdLgF4HqwF/tM 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:(13230031)(136003)(366004)(376002)(396003)(39860400002)(346002)(230922051799003)(451199024)(64100799003)(186009)(1800799012)(38100700002)(38350700005)(6512007)(41300700001)(83380400001)(2616005)(316002)(6486002)(6916009)(52116002)(66556008)(66946007)(6666004)(6506007)(66476007)(478600001)(36756003)(5660300002)(2906002)(4744005)(7416002)(15650500001)(26005)(4326008)(8676002)(8936002)(86362001)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/mg4Uj6QGrjh+a34vRwCGCBc54pQepGyxsOOEhcJMuK1YCs2Dl1DlorUtl2E?= =?us-ascii?Q?ykqXjfhBmAhoraYkpQ+zXVr7Yvl2Xp2hwzApwCY8LQEW4LzajypYsTuCi/7k?= =?us-ascii?Q?mSd9/2yM5rEMy89IgBsC8ydq/uXY8EHXj4F+lSaDZoES0FsuupI+olCEu/va?= =?us-ascii?Q?s5CzuVgGV+inhCWVXVrVL/AVUX+DeeTJTW4vqkIXw3oV6t7Aa0P/FNCdKf8E?= =?us-ascii?Q?bX8m6mK5KCitENN3eLFnb8ZT67okZE1Izn9QpRJOYZ0pJENRolSagt2KN15P?= =?us-ascii?Q?eGAkGgAs+hx0BLeBsAlv8X54GxVSf00WnRO4/uTJWIP+sIO6goz20b2XD+k2?= =?us-ascii?Q?FzTe4vitSsMOn0qvEm+OJ8v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g?= =?us-ascii?Q?hxUnVyl5uBuXjjxppMqCyKwzvXbi2uZiITxbq1+jT/mTDs//4EcH9VzFyZ09?= =?us-ascii?Q?32MVvcJKkhmRGwGhYAfnveH7lvF8WeZNJ9XAow9tEb7XC/ssgODAG2GIiSH0?= =?us-ascii?Q?nCgbCL2dgNBRlqDgIeIDjq4fw/RQP4AXD8Fbx9xVzYafgKf8M/ls8JIUBX/c?= =?us-ascii?Q?U4J2lV/Ipg8gPYY6IKPz/ChNmstZ9AmwhEpbMS+9tUKQymQFP+uAPVde5LEW?= =?us-ascii?Q?DSmwu1VFIMQVT2C+JwO8F8EZkUP9khvndqck9G4w6VNYFhATNPGUskLNQlBK?= =?us-ascii?Q?oJrbxYJX9CM82K/IQbDRC4HrOpBVBEAYXk92V8Ga?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 46c3919d-c080-493a-19d7-08dbf28904f8 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2023 16:17:31.4485 (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: 2kVvUM5vOeyQ5Um2a6in7pOYJWCXz7C7OLvJdFaRdx2yQpudgDKwozTI0PAzg9kTSnyerHWynibBBEUHW5wbwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8695 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Fri, 01 Dec 2023 08:18:14 -0800 (PST) Add suspend/resume support for ls1043 and ls1021. Change log see each patch Frank Li (4): PCI: layerscape: Add function pointer for exit_from_l2() PCI: layerscape: Add suspend/resume for ls1021a PCI: layerscape(ep): Rename pf_* as pf_lut_* PCI: layerscape: Add suspend/resume for ls1043a .../pci/controller/dwc/pci-layerscape-ep.c | 16 +- drivers/pci/controller/dwc/pci-layerscape.c | 189 ++++++++++++++++-- 2 files changed, 176 insertions(+), 29 deletions(-) -- 2.34.1