From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (NAM11-BN8-obe.outbound.protection.outlook.com [40.107.236.100]) by mx.groups.io with SMTP id smtpd.web11.1267.1684889142866647113 for ; Tue, 23 May 2023 17:45:43 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="no key for verify" header.i=@amperemail.onmicrosoft.com header.s=selector1-amperemail-onmicrosoft-com header.b=DEh17XmG; spf=pass (domain: os.amperecomputing.com, ip: 40.107.236.100, mailfrom: minhnguyen1@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j9Nc2PIt+ywJnMS0zGcsI95CmoQMik4ff1cVnv6C3rL1fegrlPuB71SUpWG0KlI64C8OUwhcIqLUG224QFwTyihdmhypJEVvsUajQ/u/h287n/ZqzaQHx2pMjo8kkJB1spat7uiQYnEBXUmkguTjlAwCQwZTGPzezpuTReeW5DRDHk4OFKdiuN1v4hzp+bEmwXOMS54/ycfeXgej8tt9/VFw/YWpVL89g/VOqj/1dzVHxCSZXLOlS6y13i+k7GCNsUxE83b98wY4W+6bXnMOduMZSJ5TWLo/ZVUgjbN/RbYIjJ9au+BXWoJVLDeMDtwPvuK89IePv2CvR2NYW/j9Pg== 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=xf2VeIvShyiiq+tETpUjiVr35O+qNv4ySCVabicn3Ps=; b=aXuLJSqYSmcxlGt6nV1Sw6GZvQlFYENYFH8eVJFDbIwKUGVfI9LZ+9LQne3WEvX7t1+wh9grnLB9AAJRjZhgvKoHC9gzoCSyUn8MZoPkHRS11DruOtMaKR1l2NL0kE7Krur05HnRhUgwpTt3ZAJSRDFdzyny/28YnWhu9rb///F/6QH13/nsZABvivU5LUO2O9/zkhQ8aMp0+ONzS5B0yrPvXhMTTrwQvMMIMRqeBy20jBEG9q+VUzorJJbI8QYdpcLyryuMDZl680ObP+Qd/4L0ojzMmO7pSKF80K3QtBR3KlPEftZeYbFUDzzN7Mb7YlUrEB2CSRoDxpwVtGLu9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=amperemail.onmicrosoft.com; dkim=pass header.d=amperemail.onmicrosoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amperemail.onmicrosoft.com; s=selector1-amperemail-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xf2VeIvShyiiq+tETpUjiVr35O+qNv4ySCVabicn3Ps=; b=DEh17XmG1+SGfpIdZ9ABM9rvAM4hvN2OFwH1wHeWpSIxNiwEjVB69nkIyzyi+rSH8o4jdZQ27jMNm6Fm/aftvdTyhCKrR2DA7RZNLMkh5Zl0QND1wxmClISnyk+SQWD9JNS5eU3fivL2R2JtlgvK3Jg7Y78Y1k2hvp/usX4adl8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amperemail.onmicrosoft.com; Received: from PH0PR01MB8048.prod.exchangelabs.com (2603:10b6:510:280::7) by MW6PR01MB8270.prod.exchangelabs.com (2603:10b6:303:241::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.28; Wed, 24 May 2023 00:45:38 +0000 Received: from PH0PR01MB8048.prod.exchangelabs.com ([fe80::bbdb:b58c:140e:c4e1]) by PH0PR01MB8048.prod.exchangelabs.com ([fe80::bbdb:b58c:140e:c4e1%6]) with mapi id 15.20.6411.019; Wed, 24 May 2023 00:45:38 +0000 Message-ID: <4cb348cb-2c0d-e9e3-fd16-cbc2af67d0b7@amperemail.onmicrosoft.com> Date: Wed, 24 May 2023 07:45:30 +0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [edk2-platforms][PATCH 0/3] Add necessary changes for PCIe core and remove unnecessary checks for PCIe Devmap mode To: quic_llindhol@quicinc.com, ardb+tianocore@kernel.org CC: patches@amperecomputing.com, "devel@edk2.groups.io" References: <20230511075143.2690207-1-minhnguyen1@os.amperecomputing.com> From: Minh Nguyen In-Reply-To: <20230511075143.2690207-1-minhnguyen1@os.amperecomputing.com> X-ClientProxiedBy: SI2PR04CA0013.apcprd04.prod.outlook.com (2603:1096:4:197::6) To PH0PR01MB8048.prod.exchangelabs.com (2603:10b6:510:280::7) Return-Path: minhnguyen1@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB8048:EE_|MW6PR01MB8270:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b423b62-f000-44eb-464e-08db5bf03175 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BT+GbNRFzg+NPbtKyhpgbv/JMZ/aDPLwLm31ufhBxraMceK4Iv1JRdC9g7ItrfqI0bmhLeXrAwp5UzvnmKmwpHo04gCR/RB7az/FSlpqn85a5X6LUQI4Lr+P/ldRzVX0TOY1fuLWGUrVBpQbWqqe3D/CRvUkz+QLCmapDIwz+XGmSJtvtumIU63D9zVA4O6HE52+SGZZRnc8bec3iz73FzpjwGZ3waAbREvKwvVq5cwLjl5lULF91PBZIHTMyr2IqSxu8/1Uiop8JqEhbIO/8z5j3AXw0u1el7f8W20q35XzRih0xzfkDWCE8HZiwt6JGdLj5x0upr3eJzt7a2ogthPlSqYrxcA4zu2sytrJUKp4EPOvPCxS6zAUtANFJhuqxczh2hd1Rsfcq/7XC8ja9IldAuXhhuQfzxJOyL2eo9fcIRf1g0YpUwAHoMWg9kX8nox2xj7Xc7kdhrC0ohrPvnp4ZTh1ifAI+o3uFtKw7BCFcfcke9ZLs5i99fQlj8DJbSta2IQQayBFXsv0Cc9RSpMagRachcE2szBcDo4JGUmloXhdp2+EoEhcrPNzs9hQcmQF8HpsdtOo3OFh7Yf9mAfLIOoYBBYou3q3eT5QGImO1imozDeq4AeIMIChiUXv X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB8048.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(376002)(39850400004)(346002)(396003)(366004)(136003)(451199021)(4744005)(83380400001)(41300700001)(2906002)(8676002)(6666004)(6486002)(8936002)(5660300002)(38100700002)(2616005)(42882007)(26005)(186003)(31686004)(478600001)(83170400001)(6506007)(6512007)(53546011)(66556008)(66476007)(66946007)(31696002)(4326008)(316002)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?furB4N9+8Gmjwx9dZ51rSSXWQgHZ1s0FWa6sbh6G2f2ZhyuZ7o9YLOw+EXTm?= =?us-ascii?Q?p85ajKJW/al07p4x77MlVpYUAR2fX6Q4L3BIQuW0vD6sTzJJzN1BcjlvjRq5?= =?us-ascii?Q?OtdB6Mxyx0UMTC95Jkm6+ws4vi/WJpodoEj3mKd5vE0DfmO2PGJhN6xylebL?= =?us-ascii?Q?u9DYQQ+HRCViHzcbZD9lm+UeFgWWcrROWpXiyG2Y+jxUT1hrzjzKZaUMqohM?= =?us-ascii?Q?vgR5Q91xEzW35nTT4mJNogl/onvk8J5FdrmQHQukQ6++8mm2dgm7bFX3q1Y7?= =?us-ascii?Q?bFbPNBQg4Utn3o0sgjxSp85qknVjBbTcw84k7uhuNVdfHlr6M/BOCF+yDl7O?= =?us-ascii?Q?1WpychCAV0ogNaExlOuav/74HXlarB2wKTT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Gy1ai4e0RG2h8pYDj/pku6ij3U2vtjnAgTIW188VuQH0bRwL+MaB/y?= =?us-ascii?Q?GjdvxuSMhYvT/LcpUnbEJQ3jjunZriIm9QMi5FcTg4htSmMxkEVGTYiRPoI4?= =?us-ascii?Q?39Ou7ZRUFenmM6ZKt1/Mr2QD+FpiivROYdtOPAmtwtQ5qrIeq50DwJeWOo2c?= =?us-ascii?Q?8LO5F9oIA7TGHpFqz+viy096XaI6iz5rMkY4uoOKSbnaHh3JUc/Meo8P4H6J?= =?us-ascii?Q?oaNMsrF92uskq/20LxTpXSLacHHtBL3jtesYe6NH1gauCk/oE5Vi+91sRl0/?= =?us-ascii?Q?T8h4gszt6Ix9bwAO2Gq+DFCYOK+LW4ejXwupTaKe/8by10QAChc9maardrFN?= =?us-ascii?Q?NszHeETZQZSt2k3MWFY5AMTelAadYW8JTkMwLBMJ+BDl?= X-OriginatorOrg: amperemail.onmicrosoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b423b62-f000-44eb-464e-08db5bf03175 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB8048.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2023 00:45:38.7160 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XspTFWLxXs36FxMo0SkgnLKnieu5fEtX/bx5YB+9i2rBG4x+yQD1LmJjZUoEYKqkYdIj4NKigA9dur2Vyp17SWSK/YPZgMcqBYIjc4RynBnuqm2NVFwdaX66hfZprPcg X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR01MB8270 Content-Language: en-CA Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Leif and Ard =C2=A0Could you please help merge this series? Thanks, Minh Nguyen On 5/11/2023 2:51 PM, Minh Nguyen wrote: > These patches help to improve PCIe core for Link training sequence and > add logic to check PCIe card is present or not. One patch also removes > unnecessary checks for PCIe Devmap mode. > > Minh Nguyen (2): > AmpereAltraPkg: Remove PCIe "DevMapModeAuto" case in retrieving Devmap > mode > AmpereAltraPkg: Fix PCIe link training sequence > > Tinh Nguyen (1): > AmpereAltraPkg: Add retry logic when PCIe card is present > > Silicon/Ampere/AmpereAltraPkg/Drivers/PcieInitPei/RootComplexNVParam.c = | 2 +- > Silicon/Ampere/AmpereAltraPkg/Library/Ac01PcieLib/PcieCore.c = | 12 ++++++++---- > 2 files changed, 9 insertions(+), 5 deletions(-) >