From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (NAM12-BN8-obe.outbound.protection.outlook.com [40.107.237.115]) by mx.groups.io with SMTP id smtpd.web10.4511.1634882190020992863 for ; Thu, 21 Oct 2021 22:56:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=WPGEUZkU; spf=pass (domain: os.amperecomputing.com, ip: 40.107.237.115, mailfrom: vunguyen@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UStbj1ztXiD2ScrOAezMBw8c5LuZTU5BaldpVUj+jq/7b7dc7zWHhEdoXc29pMJt/ufhjxy8jP4Ygwp1QBXjlSXl6rXIHG9r4YU55KBeE+IFqsjvqLOruMx/j0ohaJE17GBMaHU6aXLyqhGcrFq9EIdu2I+wmUObBTQQvP1S82hsVQU7oxmJJc1WK2YudLcTm0gQzXxwmsNonLrr3EMA+lBCAXoL3M2qjRlWHWAac2BTmJc0jaK+wCkhErBgNlAnWhnCnq0weR3dbejFsxzt1Lc8FtiFQFE57xocLe1pzSdbfv81QEU8atcdG7+0DQYG5d3IdZmwaj6eDNqiyQEfVw== 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=gHj1B1D71UmfOrLKrCFfCt9bYklTI06zdaDcE1ZyNfg=; b=PAxLdd/Aa3VgObhfLjXQqFX7ZyIaGjENxNIafxqLRzn42Kev3//l55MY3RMGPBnrbpOIwFKOJHLQuL5AiiCP8vjB9ha28RLu1/C7dDBju1nvUToLYAX7hWm3NmoQKj/nL7IsYi+2JbkgRjp2KFj52o3CQI+ZtwViYdJPpmtNmLeTKHppOqhOMVXZzwXQ1UhFZMJCcNPqKjRPrG+VblP/qpJs1xYwHvfh4lwxa3c7ZUs3803ibJH2pM7f3lvPJmnvl1TpCcUxo9YZ85XjXb41ZPAz6k7xl9PF3b1PA1W0I5toJXC9ZPRVMbIevETHFKntiHXunNFSnZS8KV4QP4qOtQ== 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=gHj1B1D71UmfOrLKrCFfCt9bYklTI06zdaDcE1ZyNfg=; b=WPGEUZkUQlUblLSyo+xWa9emdv1NdMDrc7/rZDvuQR/LEXfmVhiGNtAeY4OANeGPHahlt6r1eVCNFaaITUyGhpCaKUXugedOoQNc35gv+VxMqJUGaz2TCO46+JgxEkiU7BGB1ttluENCWY6G7lNzRyEias/fiY1Tivcc9NmaT+I= 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 SJ0PR01MB7330.prod.exchangelabs.com (2603:10b6:a03:3f6::23) by BYAPR01MB5368.prod.exchangelabs.com (2603:10b6:a03:126::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.18; Fri, 22 Oct 2021 05:56:24 +0000 Received: from SJ0PR01MB7330.prod.exchangelabs.com ([fe80::c519:edc4:3d72:8b99]) by SJ0PR01MB7330.prod.exchangelabs.com ([fe80::c519:edc4:3d72:8b99%6]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 05:56:24 +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 v4 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package Date: Fri, 22 Oct 2021 12:56:02 +0700 Message-Id: <20211022055604.19500-1-vunguyen@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: HK2PR02CA0169.apcprd02.prod.outlook.com (2603:1096:201:1f::29) To SJ0PR01MB7330.prod.exchangelabs.com (2603:10b6:a03:3f6::23) Return-Path: vunguyen@os.amperecomputing.com MIME-Version: 1.0 Received: from sw003.amperecomputing.com (118.69.219.201) by HK2PR02CA0169.apcprd02.prod.outlook.com (2603:1096:201:1f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Fri, 22 Oct 2021 05:56:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 19a0a2de-2a50-47fc-fd3c-08d99520adbc X-MS-TrafficTypeDiagnostic: BYAPR01MB5368: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1360; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MmMqHz+SsGhF6CRsozAlbXHN0lbhOXkB0cK1V7IlActeBtj4yA9zuwAPUfVQjoQsFQgW041um2U0U9+d6B2sImtV1SIe1+L5jzEu2Ge1YQIx9hVNVDB0/wy0nPx7FWA29Frk9lWLNRLR44u1DS549JAG/HjVf9YLW41/O50O4or2v9E8v/xwImw4MOazV2wZllLuicZSOnU/7snvIa1YukOSbsNauVx27U5VCHxPFehkiy5J2Wt/QK/De/dhWK20pg62Sw4q7hMcuDYtrJM/GPzDRQa1rQHGnGOQH0B0cyneraocaKIsvQl4xH6PUDkW3DRcMf6RXv0efeQtSNGjuEy8zXqNhLYwN9XbK0rf2R2d33jvBK/nQXdRShJBUxSOyyCwd7nRDhFVvC71oj+4fPidHnsd9FpucFatU6C129AVxMUHJWkVtNtgDgiOSuuoobPhFzasXNkGNpUY0JPowj+gnrHtIhs1hnCvw33ZvYY1HCl2bvyCnOUw0KCgiy/ZReVU0j2cM986U1I3tHcih4pxRz3QtftvKdBsMqnH84mHVNY0+y4/+AwiFaWC3ZT8U+DL0ZqJU9Ms4DEFtTz0p2uWCtVMdKMrr0L7XoD2+waCAoAycKLCt46rB7L2bUcyzAEb8Yz73qByd5fNvj6pND0P31aHrAPqs3DwoA0CumDqmrG6cOAED1rxqs4Yk4aIh2Jc1pdVZOpf4qES08kEXfoAV/nXPLElynaM+3znxk/b2cmedFuFJVdCT2XOVnuBURIzSUL5+3MG/bo+x65Z+2xQHZAsjSC8aOa2vnR6UGI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7330.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(38100700002)(38350700002)(316002)(4326008)(66946007)(52116002)(86362001)(54906003)(66476007)(83380400001)(26005)(956004)(6916009)(107886003)(6486002)(6666004)(2906002)(508600001)(1076003)(2616005)(6512007)(8936002)(5660300002)(8676002)(966005)(6506007)(66556008)(186003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?YN4sjCbB6iZHvXJ0+HZHlgv8dvy+486/XADaObc9t3KKHbiv/ZI2dzrydgC0?= =?us-ascii?Q?43QzteLG/HFfDN785TkUuDiABxMYCrXvCL8+ecJkTGE0RertMhsh6xljIR3r?= =?us-ascii?Q?UMltwv3nTKksB6EkcUZ8lngq0EQ4D3fBWpbxD3XZ4KGi3q/JwvLIRlgSsIFA?= =?us-ascii?Q?Q820jUD+Kn/2yCYuPQnqirqoisFo5guuoTYssTysZ5BvS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IPxH5a1XLH1Y5ITDdjWTl/OOHs+Ng4cefTc6Y6z3ivk?= =?us-ascii?Q?C1pNtHb+iDhSeSonXiSUM0CPXUMWPaDDrFZZciLzGBvuH08dqNd8vkoCH6sB?= =?us-ascii?Q?OdpeN6gdTjvBvyaZVtRdmc6aqxCK+lsI0z8R/lK7kRlTB88oRq98dI1xcGdd?= =?us-ascii?Q?4Fh4Bc+JwGMN6d6KB6sshQmm1kSX0QCfRr1y5kFvLV8h1lwpr+4tZY4hDAF5?= =?us-ascii?Q?dagfB6uRQ9fzfINAZ/odam62?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19a0a2de-2a50-47fc-fd3c-08d99520adbc X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7330.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 05:56:23.9098 (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: vunguyen@amperemail.onmicrosoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB5368 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 v3: Add wrapper function to hide the initialization code. Update header file. 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 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 | 25 +++++++++++++++++++ 5 files changed, 93 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