From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.107]) by mx.groups.io with SMTP id smtpd.web09.5491.1622024332685371210 for ; Wed, 26 May 2021 03:18:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=UGaVhYsd; spf=pass (domain: os.amperecomputing.com, ip: 40.107.223.107, mailfrom: vunguyen@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lJX6LKRFSi70tO3C35FvXn1bd2Q54V/gE0hdMlIKIuS34/6c5cLKu6Al2r3PrOrPmLiS9GqRz8hJE8G/4HgeiqDY3kENQsf1qiLXcQjFTJfIXul2kbpPEi2lroRlwb8GjRg/QFYIi8cl/yx7xF2sAwmPXhSqOcsyvhQVIL/QHQP+Ee+Rp3P2If1JBvtO/1NyxJsA2msp0aTsRLT1WskjhuOxT52jlU6R2Fh8Ng1hVQlWuETlTX9pJDrjsUyeF3CsysBp0do47sO+qB7ky3XCp8i8AAVQeWukoH1wZ91QXxapdRGmb6f6HooH8z7ubs8OSosx+UcX4IFHftSri/X7hg== 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-SenderADCheck; bh=giIjrbgs27V7MplWEbotaYhmiwSwNS5c8huymlcr8oI=; b=eXNeI5p5eImWQ+Y08nr2oUMaZddSGHHgHr2KoizJJ53rLmb88T9rjtk21FJY+GJd+uiFnDfKgWAp8uZ99bVkOsJQaZf7wGE0Osv182ot0CWzAa49f54n+04splPogJysO3TMBSgeBGulItt5qjKevAPoJfYhVGXDqfclmZiVQxvkpn0XWGQbEkgOq/eIMn4sChiDMStwIc8baceaU0Tu9v9VFg2nUDorUPQLXC3TB4aApxh6RoazAc86ELS1YWuHKoFal6eb685ZjfG9rLDLgmiArYvo9W+58CRt3NEwjCcZzKaFpSIHfTs9SBdlDzmtBKq4R5gCDHq+pqisLjZJ8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=giIjrbgs27V7MplWEbotaYhmiwSwNS5c8huymlcr8oI=; b=UGaVhYsdQrXLXg8MCF80RW3iRzyYvYi/eWE5JedATk670W8F3lIEHAwCkINQHHfGqFWv+BmnA+x6Z4P+351sUIvj1/P8vBtpxiuqbWmTEiXazqMzQKGLXNnszF/7AjgR3+tvMBVV5XgcG6oqyRkIlHlsgaVeRNaSpbIkRXJJ/XU= Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=os.amperecomputing.com; Received: from CH2PR01MB6007.prod.exchangelabs.com (2603:10b6:610:47::29) by CH0PR01MB7018.prod.exchangelabs.com (2603:10b6:610:107::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.21; Wed, 26 May 2021 10:18:48 +0000 Received: from CH2PR01MB6007.prod.exchangelabs.com ([fe80::24ac:8c05:ff26:4b1d]) by CH2PR01MB6007.prod.exchangelabs.com ([fe80::24ac:8c05:ff26:4b1d%6]) with mapi id 15.20.4150.027; Wed, 26 May 2021 10:18:47 +0000 From: "Vu Nguyen" To: devel@edk2.groups.io Cc: patches@amperecomputing.com, Vu Nguyen , Ard Biesheuvel , Chuong Tran , Leif Lindholm , Michael D Kinney , Nate DeSimone , Phong Vo , Thang Nguyen Subject: [edk2-non-osi][PATCH v3 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package Date: Wed, 26 May 2021 17:18:28 +0700 Message-Id: <20210526101830.16313-1-vunguyen@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [118.69.219.201] X-ClientProxiedBy: HK0PR03CA0114.apcprd03.prod.outlook.com (2603:1096:203:b0::30) To CH2PR01MB6007.prod.exchangelabs.com (2603:10b6:610:47::29) Return-Path: vunguyen@os.amperecomputing.com MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sw003.amperecomputing.com (118.69.219.201) by HK0PR03CA0114.apcprd03.prod.outlook.com (2603:1096:203:b0::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20 via Frontend Transport; Wed, 26 May 2021 10:18:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8225d52b-b0f2-44ee-0524-08d9202fa621 X-MS-TrafficTypeDiagnostic: CH0PR01MB7018: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6QohsYF5FsLse8Kz0osWge/YqOwJI+fXOY/TjIall0vWFtPIW/CxI4IqzRQb4DzzDYw7SEclHR3cVd01z89NZn3pVNq+DGTn7QwCxLdz7HnjJWTkl/63j6zaf6vWdJnMc0ILRsH/Py1Uw7gpW3aVrCw0sUUN0yGanx4hNv/xWzMM8URvPdJftume9cJbtCV2C7qgp2tzgvFgCdi8vLMMGJUg8r0h1UXKBLEVrL3PXt8jtGvgfu8O7NI5b1JrTMh/pRPDB0BsCG8HW3oRzWKRZW+ckkO+IPCUKU9kawffrRr2A+xbQyoBt2PLQWMwk2r7OnqQBUTKmX3KjspOzBMzCgMMqT9EUuZuDB2koaiRFr5lOw4AaASwYyRx7SATbQ/5yGkH4NresPClZCTQKlCEpKy8HJAHBm43L/MNpmoSEhJSvTLbaLWvGG9DqdVGSpmtqStpm/Jm6rRsD/xge5SB+hNhc0AcerRTchqg596w6yUwJ2o8DKYFKNXh3PrkEyRIsW4nbILnD/gPxuDiyg6bcYUjQRfVD1QiY80yJFWWLPfjmNfGz1ScfwAN5I0oVDQp7Ro6lnsj+8lshIm8KJsMBJr0BgqtyuBYo7r+nUnydAIH6mxTX5dXq6FxVyPJy1pUCw8LGyFFY4PDg+EH56NQwlRa+Rm4795Yu1fT5Zx0iXECdBG2VKBALcvjr9y5jvEJ8GBt9iBuWGR0QjjU+nL3mjeYS4Z/8j8hGtDxWpni/DW7Ep3PDgOIctpjSEeIxGiLxacgOXm7NZUTBTyd38Gz0A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH2PR01MB6007.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(346002)(39850400004)(376002)(366004)(396003)(26005)(6512007)(38350700002)(38100700002)(52116002)(4326008)(107886003)(8936002)(86362001)(8676002)(6506007)(6666004)(66946007)(66476007)(66556008)(316002)(16526019)(186003)(6916009)(2616005)(83380400001)(2906002)(1076003)(478600001)(54906003)(6486002)(966005)(5660300002)(956004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?CgZ8EDfYZJUiP92zU9G7EL4OkEN2CYyRjcDHPXbuJreNeAIjm8xRXUBy+AkQ?= =?us-ascii?Q?GOQSmoyVTGoyF7HR8NzHjf/PImqHSRHdCb3xEYjSy1jCTVohkOWbuOfh9uui?= =?us-ascii?Q?m4TleOVbF1JULtFAjAtBfwO0txC4zFRtDq+X+S81bPWwa/88LqKb3E9BqCx7?= =?us-ascii?Q?QaB1QtdoxIL15oUdUS9SZpQ3OfXrogsRDhcvNAazGfun1GO6lGaUP9YBoduQ?= =?us-ascii?Q?xVD8mWdNXWwiOjkUxm5jcRBBrknPaGsso8t0Ad6ceJrfXcTVGV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LGwBg932mJ3rnynSgaydkdtm8k7ueOa?= =?us-ascii?Q?Yc8fdMQ2RQl+qtRNdO0uevF2X+lKUI8aXbzgTTQOv2RxMCNJzNoPKQuxydJT?= =?us-ascii?Q?z08FxQl7caKPOVin7aNySLnjrK3zBR5EAMIyFiIhraUoUaKxOp+34IHQ/o0d?= =?us-ascii?Q?sPO9F3xreQAauMQTq/+0ojgM?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8225d52b-b0f2-44ee-0524-08d9202fa621 X-MS-Exchange-CrossTenant-AuthSource: CH2PR01MB6007.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2021 10:18:47.7056 (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: M8204gl50jssVNGVwTihojiGUN48LqWACOBJwjS1tXTqO5h6M6g2V05WJLKQICd21n8N0Yi3v/1kjIXP58p43Uju3rLtQa7i5GZ5WCLbgC8ep41lBGhGYGP5OgvsBe31 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR01MB7018 Content-Type: text/plain Create edk2-non-osi component holder for Ampere Libraries. This patchset also adds PciePhyLib which provides function to initialize PCIe PHY on Ampere Altra processor. Commits in this patchset can be found at: https://github.com/AmpereComputing/edk2-non-osi/tree/add-PciePhyLib Cc: Ard Biesheuvel Cc: Chuong Tran Cc: Leif Lindholm Cc: Michael D Kinney Cc: Nate DeSimone Cc: Phong Vo Cc: Thang Nguyen Signed-off-by: Vu Nguyen Change since v2: Remove unused macros and function prototypes from the header file. Rename Ac01BinPkg.dec to AmpereAltraBinPkg.dec. Change since v1: Remove PciePhyLib.lib binary from the commit. Update header guard to align with coding standard. Vu Nguyen (2): AmpereAltraBinPkg: Add PciePhyLib library and header edk2-non-osi: Add AmpereAltraBinPkg maintainers Maintainers.txt | 4 + Silicon/Ampere/License.txt | 25 ++++ .../AmpereAltraBinPkg/AmpereAltraBinPkg.dec | 16 +++ .../Library/PciePhyLib/PciePhyLib.inf | 23 ++++ .../Include/Library/PciePhyLib.h | 111 ++++++++++++++++++ 5 files changed, 179 insertions(+) create mode 100644 Silicon/Ampere/License.txt create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/AmpereAltraBinPkg.dec create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Library/PciePhyLib/PciePhyLib.inf create mode 100644 Silicon/Ampere/AmpereAltraBinPkg/Include/Library/PciePhyLib.h -- 2.17.1