Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2811134rdb; Mon, 4 Dec 2023 08:09:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0ARw56pGF+XBLxgL+PRsAWQpXaXjfC2pTSaxM7MVK7z2UBcunZhSXw+eUf5RcjPaQebH0 X-Received: by 2002:a17:90a:4cc7:b0:286:6cc1:2cac with SMTP id k65-20020a17090a4cc700b002866cc12cacmr1921405pjh.54.1701706141552; Mon, 04 Dec 2023 08:09:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701706141; cv=pass; d=google.com; s=arc-20160816; b=DZgGZf9KfYQidWFyt4T6MYNyZg1J1pKN1bb73yPAOVwQdsgkPIkU341TP9/UB6n0jT Hm3ZI4rSjNLZNyc02CSuKJfrMpKJS6v93geENhFwVvlT+pq4VEEsl3wYqlvtesAnMrOJ c7UAeffRwOhOOF9l730sMi1HPtz/xQefqo+R8e7dJPj257+PpJN8NVMgPchJoLKqjJFm TbCVfOXMqR7XZKyz/VMR9DR2vntsnUhlS2L+/rpUErkCQ5b99OA62CkLMay6Gna/cZua DtdvKLLk03C64eWebRWnYLmF0gCzJTmc+NnylP/JEAUIh+cSeiaaCEVMHC1k1hGBCQKR WZTw== 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=17WZZLrXPiTc6z9KaKCI8v7ARF8zmp5q6mVA9M9HyRY=; fh=G2Za2XEd7lFHZ2j3w8Am2dhf4mDmMexXUuvn1GAozXQ=; b=oXToGRr4w5vqOg/6HbpocUT35kTPipc+FtHYQ9/R++gz/ZtYSf+7D+WE1a3BIEya0b fv2V+MjWnazNLVtO5j4tPVigvHKDskRLtMVP6TMKpTkn4HPqs1GkWaorI+i428uj9+0J ew0/uyWkapAJHkrotYITp8H4f3coaySmWrf+5LlQ+8kpjOx5e+bcu4Ib9z99p3YKE2X2 tn6JLGxTupuIO7rq5f3bwqfowAFxp8q0zIHoeG/3ss06Kf5+k8YYjo6okloI4tBV3G3Y MB1yWet2VXwskkdKEhWGTnai1SZxIrKkpL0DRbRhuwKFwB5VF2yZhpzzXSO1Zo5YQy7v 39iw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=TjNgO558; 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 x13-20020a17090a8a8d00b002858e8906e1si4117370pjn.99.2023.12.04.08.09.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 08:09:01 -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=TjNgO558; 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 166CE808A421; Mon, 4 Dec 2023 08:08:59 -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 S234774AbjLDQIr (ORCPT + 99 others); Mon, 4 Dec 2023 11:08:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231328AbjLDQIp (ORCPT ); Mon, 4 Dec 2023 11:08:45 -0500 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2079.outbound.protection.outlook.com [40.107.247.79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4A7195; Mon, 4 Dec 2023 08:08:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YVFIDWcgTqApKTbR54CQk4Iz3NAYjWrBUxIEFyafnbKl3b+iBqXQlofA2GWZMRtigYQP7kN8ISgGtutbopXJ555MquCnPCiEGtJ1B5LYDyxplM9IdMUTO64sq7wEk21aMYxANSi8Pmw8U7yd67JKeCrfM/cgBeHnaQsL8m5GSxXzAtA/HLUuch/PMVhZzsG3xgizF//KRQDyFEQrVJ3YjQmhAeYg/faJt3w2OG+Vd0uT9cu1KhDat13QpvtVjG+93POqAvJ+T6Kxo8wiCoY9wt+WlI4XSzjfrReeLGWQyJL4EcoL2y/h5/NY3owWUUldCQs3RIqC64B8gh8TAII3sg== 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=17WZZLrXPiTc6z9KaKCI8v7ARF8zmp5q6mVA9M9HyRY=; b=bWm4BAV+3cjwvDEOYuua7YnzTtoyoLzPRGvMipzq9nIEwQd49/qbyqNvWhO5Dc+LaGoo47LBwXHIBLHq86d0UwrgspHLpVZ9qC7TBL7R7VXWZSooepzHXvIbgokmdmUrGxq3TE0kc0N/V5fUAUSPYKJKcwy+uovlKVMquLMoLtoupX41rWaixodylfJNqVDaWN1LybtH13vZ1j/9wBRArha/kCAEegKb2Pxgo3MFVL420iNhshFH0Zm9T7XAtDFCzZxNX14JB8z7UwtaScjtos9+IgohPUJ5MY7NR7a3vwJoKS99Iv+PC0QDyZJzWdysgDrRC09km3cDoUHbkon9Og== 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=17WZZLrXPiTc6z9KaKCI8v7ARF8zmp5q6mVA9M9HyRY=; b=TjNgO558c2Kyq6u03itqQT04uc60pyOv0twv/UPLucBmg37nVvIarIfr7exeiFT0AwPjpuS0xEFMjEkJ+HxiVBYoNe0spHoEqlslgNUMlf8ML3SILElCWjpKMshOAGDwEemWB2LOubKRH7aiLXlcosYldjQHxxZXUOYaQZTljHA= 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 DBBPR04MB8057.eurprd04.prod.outlook.com (2603:10a6:10:1f1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.22; Mon, 4 Dec 2023 16:08:48 +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.7068.022; Mon, 4 Dec 2023 16:08:48 +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 v6 0/4] PCI: layerscape: Add suspend/resume support for ls1043 and ls1021 Date: Mon, 4 Dec 2023 11:08:25 -0500 Message-Id: <20231204160829.2498703-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR21CA0027.namprd21.prod.outlook.com (2603:10b6:a03:114::37) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DBBPR04MB8057:EE_ X-MS-Office365-Filtering-Correlation-Id: bee95f8c-3a29-4fb0-aa57-08dbf4e34c37 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8Kyae+7OKKu7rJMuC4BwsCUILq3oxuF+FHMZ9N1XQRDK27pxZZj9RNyeQzHMVfyIlz3DqdrhScgFeG0X4TchwPtMe7T4DboxfYtH9D2PyRXw3anOKksuDkaVZRw46KQD95iOaC63XT+wrljunOsXIlPpZOkPc2CX7958ommL+5nJVcZpAf8F7Dh7YINef2s5zPrntREC+VSlAO9DYt7aD9tGBBJXgkjMqPpp6+sTYfWHFyivujKn0aG/ESQcNyHfmS27apX9bQ6AvrZBa4ELvit3k868pS43QfPUcYxc2TX6eeSRL83WZYgG5mZpcMNFT3tjn5PH+b2L7e1pf/Wz6agJqdWTdfQJFWsJB6+F/tawxYmRd0fV1lcLb04lrvn0JMlH6sxECMF8IgBizNjkUQ3LbApAUapE0r5a8d9AfQrvn/t+PUJHvjCF1RmMPEmgxOH3Inm3jpFKYVm8/4DOb+wnpCjQRuwnoydzWTgnc88jgQ77xkQC8VHxeVFSNKC2hdPafO/NzGx9pjuOlIUerbhRsZ3FM+BWCK9ZT5hZip7kbZuxTA7ipUDfIzK94S+7unXNUSws4j+U/id4w2z0zpVQJGR2+tiLSBkbOWl5/UHj4JQwKNtvsGtsod9JvGTH 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)(396003)(136003)(39860400002)(366004)(376002)(346002)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(6916009)(66556008)(66476007)(8936002)(316002)(86362001)(8676002)(4326008)(6486002)(478600001)(66946007)(36756003)(41300700001)(38350700005)(15650500001)(2906002)(7416002)(5660300002)(4744005)(26005)(2616005)(1076003)(6506007)(6512007)(52116002)(83380400001)(6666004)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?2SRXxBSjCOTxMY1JmVlwRm7vvjfsk1zpDtC8hIJ5EbBtCgKo9Di3P9NDGdtR?= =?us-ascii?Q?N4ztyBw9WN+Kr2WUc5Mh69/numiV0Z7aDTtViHV3h+wqgk7wahNr4XdgcfzY?= =?us-ascii?Q?VJkdFvvxyHH0uaZs25GqWsXuLl2HNEvdnzqlA8TjNuRcT0K5xGhqZXpVnR5W?= =?us-ascii?Q?Aiqw101IMGu+tc9DvHl1KGrY9BvFC8Ft6JtQ5YnPri1/tOAm7KqNntvrx9D/?= =?us-ascii?Q?VL74fT62XzIJ1L5RkMdfYNGBdjOnAv0dIqty7jvF6x92rO6dvVAAI5vTd26I?= =?us-ascii?Q?awjHVIAJyG1uvbGSB+rqGkD+8KowBztzejHz2el/C+4C7/v7XiGDVPWwNESW?= =?us-ascii?Q?QayVnR7deJQqlE+189wJBrFF9sbe/vMGxT41i58oRFtFN6YJNcRMVsSGfFIB?= =?us-ascii?Q?bM8jWXe4SN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1JlY9Tr?= =?us-ascii?Q?VzwKGFQSCYp18ZyMEZjTIj1dATq34kCx5QjojKF50OwUY6a9scg6iNA+YV3O?= =?us-ascii?Q?i+tCIfxQBwu/m7stRX7UwikgBBmlIuSgSefZ5kpARtuQRYE8F5QOtEumiJzB?= =?us-ascii?Q?NpZxEHkmWUGmvsocUJ4N8/C+zV9tnxCk1MdaVQ9JOfUZSr+3o2hXVLpscjQP?= =?us-ascii?Q?S81lchP/qEsnv4/R1hbejBDidUKg+HwHCaijhnUY88zBeebn2IUPau1GQ3TO?= =?us-ascii?Q?c76nIepKFrBasGmGanjdOu8hgVW+MqJO/a5/fsXp?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bee95f8c-3a29-4fb0-aa57-08dbf4e34c37 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2023 16:08:48.3110 (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: Fgo3Xcs39dJsV3oqEc2xnlKnFMMQ4R7zmiB6rDOnyhZ9qWzf9OOlv9l2hdjCmwScK9s58421e1vDA5uUpCx+Pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8057 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]); Mon, 04 Dec 2023 08:08:59 -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 | 191 +++++++++++++++--- 2 files changed, 176 insertions(+), 31 deletions(-) -- 2.34.1