From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.93]) by mx.groups.io with SMTP id smtpd.web10.9748.1637167827820064282 for ; Wed, 17 Nov 2021 08:50:28 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=Jfz99fGR; spf=pass (domain: os.amperecomputing.com, ip: 40.107.244.93, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LjBVIc93PaCYzXqBkOU7JtJEuYm5CtvdGvcgborW4EiofFt9j/TIQnO2tXDV9gs76ZNQtxQV7NBO7T/epc+On0HJgFbJkAoos861BuomIPDP3tQA2DQDVsR14Wf9jzQrL1Eya7M+Ne7OqPQ8+Plxq838owksInLxjc8MCB7tbkzQlCbVk42E/91rGIcRn8dEmgwYCc1a1NeQTbnkxQuqLimltx9p9gvPbWnAeh3VQIy89/oeGrTKdpwbfMfZxu/qWMvbmyNPDziRW/PxtF/9AIbWWd+Ht9AbFJWA043+D88vqz5TtIjc8/OJTzHMUapxNrjC9IQsov9wtF+zGmsWzg== 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=ELMldcqA1TrLFQrQsZzS3txHDSAxIIxO9Of+bTXpXb4=; b=Tev0aXrYOjvsjzPEZBSepPmdCpCSrUCOiiXO3gZf10bWJXUB6AmgYlSQy5wSNGpr2sF9baVYZ94SqXourZa8B7W3yiTqRrHgGh7h1jGNZwXAm+K57Bg/8VsVgyPe5Vc6EkUG9T/WRaRElcGsO1ToMaVZ4dsnGJj1JbLPyrWoQak4gKePS0neIfKBeuiLaSZK34yaVTpWxy6W6bNB6+OVMHLJv8syEikL/XZkRyvriVRZE1fegPrEv1+QwZZ4NV4BPoOeHzmqioIwmc7sTLlt7zyeti7ng2fjYoZ7ZpK0ylq6ZuIgA7Prt7x9aYFoSpocUtvUE4ZCseJocBE2aZitHg== 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=ELMldcqA1TrLFQrQsZzS3txHDSAxIIxO9Of+bTXpXb4=; b=Jfz99fGRaQp3FBPoML14J3BbNzVP+2AevkHgApFOs3c5eePixVtg90TFr/IH1r5vNxvpDHHoOYzvN6+8u2TzpaB6jRzmLqUruGFjW61MvBNsE2vAViUhLTWLXH+2Wm1uvBb0nCO0vgRzOdWEUOHcYIUO5O6e7Zq1EQpWwzV1ZOk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH0PR01MB7521.prod.exchangelabs.com (2603:10b6:510:f4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19; Wed, 17 Nov 2021 16:50:27 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::254c:9533:7f35:aee]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::254c:9533:7f35:aee%4]) with mapi id 15.20.4713.019; Wed, 17 Nov 2021 16:50:27 +0000 From: "Nhi Pham" To: devel@edk2.groups.io CC: patches@amperecomputing.com, nhi@os.amperecomputing.com, vunguyen@os.amperecomputing.com, Thang Nguyen , Chuong Tran , Phong Vo , Leif Lindholm , Michael D Kinney , Ard Biesheuvel , Nate DeSimone Subject: [edk2-platforms][PATCH v5 16/30] JadePkg: Enable PciHostBridgeDxe driver Date: Wed, 17 Nov 2021 23:47:13 +0700 Message-ID: <20211117164727.10922-17-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211117164727.10922-1-nhi@os.amperecomputing.com> References: <20211117164727.10922-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: HKAPR04CA0001.apcprd04.prod.outlook.com (2603:1096:203:d0::11) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 Received: from sw004.amperecomputing.com (118.69.219.201) by HKAPR04CA0001.apcprd04.prod.outlook.com (2603:1096:203:d0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.21 via Frontend Transport; Wed, 17 Nov 2021 16:50:24 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1b291a46-0aa2-4e95-cce8-08d9a9ea5b33 X-MS-TrafficTypeDiagnostic: PH0PR01MB7521: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:160; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tHW/2GSOZWTrOIaPeSCn0PecnnipzKxZ/r05onJIwbDgkfFij8NyaXds6go098G4Hj2feZzOVtV70MtEmvLLT20tHZokARI4CFfquctVemfzBytJoNzC7A77BdHPcwdNbv/dhHZDd5r0bUCZM/ETwKmvrhEnQqeKtj0cPvXiw2zQLRNYcCH7r98hqAPj/Sdi6q3RjvsSVhIO3k+pS00TIFxdc/85fkQwDojyKRjAxJWHBaun9jFoRXaB6jbjYTNntF9n2l0DZRKcIyrhAQ86+GN3NAv3Ftmn7SIihXJ8p7uJXh9Z2u3+q9o/xD3V8wrdQ4FIgE5AqDVOn2Vf/Lti0IIua838io6r36vrK6oRdpzH3H+ejOXbkkX75IafyMqRYV14v+jtgv4iT+sKxYrOWWapeN1gYP2+3xBJQHXSris4k8GxNdl71wUNws1B7nJGFprhTUp7uMnKOgiimrAk2QBEuA2oACcpCNdZm+8PL52PeOf5axM5OGtJpVhn8GUXQw9q8+pkBF1FXx0rJ/hgVBeiotoldTKWQo2Ld8rkd0v6qZs1MhtOKd68t1rJfDLctuwXOmvATspfhCV0bzf6uOgBrU1gLUXLtCwSb4GiR/wlFcvId3GLuvZHH8EqihegS8fcm3KMuPCCr6MVuB1SZ96W5rWCx7GPOAsTcu+D1y0J0hIghG0+XeoiNcw6hLDX5llP0x04IUKoEPdRh0Ah5w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(54906003)(316002)(1076003)(8676002)(6506007)(4326008)(52116002)(86362001)(186003)(6512007)(6916009)(66556008)(2906002)(66476007)(956004)(38100700002)(8936002)(2616005)(38350700002)(6666004)(5660300002)(66946007)(6486002)(508600001)(26005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4eewyxhaxgfvK+uTnGubeppK+8ejjc3WZhc5NSzX1l779SZlia1t1TpTMj8x?= =?us-ascii?Q?gmZz62ymcyKVdImrd+A+hA4t926qP9WBAsNBQkcprngShMEA7LIle6sMUZHx?= =?us-ascii?Q?ZcD9UkQIrC7MeBObkQNTe+DPxWL7I0RhP4wKNueKB0YLdGABPVHyFCTR0jRd?= =?us-ascii?Q?VcPKvi51c1oZ19P3vjo0k7eaDsW0VyUxvn00YQjQYjYWqs8zUQp8M3M9iXek?= =?us-ascii?Q?aVwJOj0loHs3I3gGBU5H/+abOBCDPk/ZO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rNuJTo/uVJHNRt7rY6nZ+QSYcHg5yoGi9C3hxSzeMfsij1WK14g?= =?us-ascii?Q?xbr5gEYyn+xZcNUKxhS4xkYr7mCslyOxBWJ66T6Wa67934zh4sI9BZ+G39vu?= =?us-ascii?Q?HOK8M8GY8Np1vUqorcGZWzw09BNaDH8xmRQuGQU2672pcfuQS45U7vNngeO7?= =?us-ascii?Q?FRXa+VqHlqh3g7NIQ+8z/vYwpdmlgV9UQLXKfYXbeb3O2ZBX0a+pz1isE9WU?= =?us-ascii?Q?oAmAvwCUpsSU9w/sA5Y2efCJSACzenosuC5mTOpgqeJktMbsEBt1baC6SnPE?= =?us-ascii?Q?zpmX2xGzHhEAb7wAEDF/oytHCs4oGHDhv4ziKGfqkV5p1OCfJISlrd+abCvw?= =?us-ascii?Q?LYyMwGAQs3fTw7nu+uOR9yMVoAr2xctDoybW8mJHnt5U85m0HqgSCKU1qLB3?= =?us-ascii?Q?tHThz78AeMITjYs1IIbKFGErt/43TZ4KSHftMHFtNnxQ9s+nTdySC8T4PnRy?= =?us-ascii?Q?xX3yfi1BrNyAIS5vt5wClLgjmyDaqqgGtR/SA05A9LVUAd8J1ZcYMME1mfWH?= =?us-ascii?Q?PdzI8fsskmVNGkKCUCuS4PRAenM=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b291a46-0aa2-4e95-cce8-08d9a9ea5b33 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2021 16:50:27.1947 (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: ajQb1io7nQg/6wvjEDBWpK7Pa/Y4VqjusuRZqg4XDxXIM/klT4DaurbX2l8wncsxo78mOPbm7BDqukuxaHUhfgbgR5LryhDlyZg6qc413r0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7521 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Vu Nguyen This change also enables the drivers for SCSI, NVMe, USB keyboard, and USB storage devices. Cc: Thang Nguyen Cc: Chuong Tran Cc: Phong Vo Cc: Leif Lindholm Cc: Michael D Kinney Cc: Ard Biesheuvel Cc: Nate DeSimone Signed-off-by: Nhi Pham Reviewed-by: Leif Lindholm --- Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc | 33 ++++++++++++++++= ++++ Platform/Ampere/JadePkg/Jade.fdf | 33 ++++++++++++++++= ++++ 2 files changed, 66 insertions(+) diff --git a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc b/Silicon= /Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc index cea1ff6b26ef..2f331e41893e 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -651,6 +651,39 @@ [Components.common] MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf FatPkg/EnhancedFatDxe/Fat.inf =20 + # + # SCSI Bus and Disk Driver + # + MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf + MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf + + # + # SATA Support + # + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf + MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf + MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf + MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciDevic= eDxe.inf + + # + # NVME Support + # + MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + + # + # USB Support + # + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf + MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf + + # + # PCIe Support + # + MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf + # # Bds # diff --git a/Platform/Ampere/JadePkg/Jade.fdf b/Platform/Ampere/JadePkg/Jad= e.fdf index 2fef96deb767..6de01dfe36d5 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -263,6 +263,39 @@ [FV.FvMain] INF FatPkg/EnhancedFatDxe/Fat.inf INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.i= nf =20 + # + # SCSI Bus and Disk Driver + # + INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf + INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf + + # + # SATA Support + # + INF MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf + INF MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf + INF MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe.inf + INF MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/NonDiscoverablePciD= eviceDxe.inf + + # + # NVME Support + # + INF MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe.inf + + # + # USB Support + # + INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf + INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf + INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf + INF MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf + + # + # PCIe Support + # + INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf + INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf + # # UEFI application (Shell Embedded Boot Loader) # --=20 2.17.1