From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.97]) by mx.groups.io with SMTP id smtpd.web09.4679.1634883622289268559 for ; Thu, 21 Oct 2021 23:20:22 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=Xkck2ACE; spf=pass (domain: os.amperecomputing.com, ip: 40.107.220.97, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iY/i2BASgbD79sZtMxQenphvl47RYh4GRg++zxraKBum6WChu4o+fvHaGObRk41Uo57iD/XsvCuCVYWqVB3W7icEH/D9iGrALGh6qjQ4cP3Q7NKrCptw7eZEZNoMyRl3FrLDu2ovD4KTgJnlpxgFhjB1xcj7xtvyzusmm3vVfUjj1c1Ra3x6M+X4BbFnuWpuXWcJ+6lcPsPyNqLZ1mQ5THAQSZLMy9S3/L60+vRqI4xV4SsapJI5Hseqq0Ck5hPGeV8HIaGC95/ko6XzdZcgubamF/M7ID3k27UQfLUlSpZGAld+n3Gna7vxwuqI89vRmVHK5MMwegSoM5A1tSsXzA== 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=3H5+gKE7hepUvC/G3VS8pafK1r1Ck7i28C3PcU+xZ98=; b=QV5VWA0K3ExC5bIpieDXEjxo5Em195dJhLqGQJXY0Qrg7zsc0MbwNh7hENgkiGfdFmeLhkk+YhFgH+2W50G2Ch7U2p3u9tAqWXtvx5OZ55jZC5acRJlEpSAXLxPdcFLdwTfJRtyQVfdP/f0t4r7lvdKMYanYE5FosVcHfEekF8YP2TXLcM81MykrcaRAzM0bCY2vddnARpyBQIonj7RmysniNzrpdHO8WM40dfTN6JOc8YBPND9QEUn4Q8X0xkr/hmYhgk0y+0kJf0oJCcqjXLor39iHCjqzJaCHhjOwumZb8bt75KiERTMM14oqAfNWKnuZdep4fJob0gD8M9TzNw== 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=3H5+gKE7hepUvC/G3VS8pafK1r1Ck7i28C3PcU+xZ98=; b=Xkck2ACEb9Zgdjq79EpIEHCouClwFdASyoaz04DrpB0K3hywxuTAfwPeKyKKocMyZtF5iAP+St+/GUSaTcZiO49/6FZU4lNNv/QbHvqyEwRMWcpXvFSOe3TUuoq1gx+rPltMqcTOi83Uxvn5OfeccKldL34d3s+RIkwb0FNB1sk= 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 PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by PH0PR01MB6325.prod.exchangelabs.com (2603:10b6:510:1e::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Fri, 22 Oct 2021 06:20:21 +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.4628.016; Fri, 22 Oct 2021 06:20:21 +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 v4 17/31] JadePkg: Enable PciHostBridgeDxe driver Date: Fri, 22 Oct 2021 13:17:55 +0700 Message-ID: <20211022061809.31087-18-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211022061809.31087-1-nhi@os.amperecomputing.com> References: <20211022061809.31087-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: HK2PR02CA0168.apcprd02.prod.outlook.com (2603:1096:201:1f::28) 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 HK2PR02CA0168.apcprd02.prod.outlook.com (2603:1096:201:1f::28) 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 06:20:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8e420dd0-8bc7-480f-f1d1-08d99524066c X-MS-TrafficTypeDiagnostic: PH0PR01MB6325: 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: 8PTagmQGcoHWQa3EC1N0a0z073ult36PVZESgGcbJLKUSLhhTL1LdKFt2wwepwOQEntESSylTyGUP0eUxg/qTW+NW+5BWN8qOaUzEIvNq49MVthvnlsTGdSZwv8Xjp/cwfGq1QmPPdXAFl0gz+mhQa+G9gM629GXSkdquoy/nusPWuwFy/qOPEola7bHpOUNmy/wmnaB8IDxrkmYxNUxgrU+eKVYzUu+ZWAZjewH75PdvnSpUGdSxlmr8IjPbUnw8199LH+Mo1V8pII3hxNRnOGnxwwPwkla93xX2dfZux02qz5GyWXxRA1gG++IR82nQ4NtI5FAPm2hvTzM2NrSztaJSEoWVGVW/hSrwrPHzWcdXLDlDothNboh0DwJP+6sA3HBPCEAbAL/ZXAppM/SihrUt3sO1frwJvhKnYH9fAU5lVnhDUE6k90ZaVdLTKBJfUZ9mkHxMCQBPx0KGrdaGMdGD9meDB36rEzN+irnQ8Zp+v/rn695GVm57YtvR4gUso845OoSCUXea7jk4VoaJLGlAPnKFhCk5fY7hap15L0PhqFpgHwW3ZAjOdfFmHOk8ZCmEa2Tql5TUgdPjR5dkIo0HZ6BMugTRFRpuIHvmGj750ljAvGvg2SzDhAuFQ8iCs3SnZ8JSQVnkxqsBsJw0dhVDLA3a27yJtk9yXCDw5eg8kGBxAYcms/v33920wwbKHzznI5fyruY8PUJK+1Iaw== 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)(6506007)(5660300002)(6666004)(8936002)(38100700002)(38350700002)(6486002)(186003)(26005)(508600001)(1076003)(316002)(8676002)(54906003)(6916009)(66476007)(66556008)(6512007)(66946007)(86362001)(956004)(4326008)(2616005)(52116002)(2906002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?KGh57FJPw8Wq/1kYODGqvAJDWPyN5+f8/0F3KlUlNtT6K7kdURe7GsMdYcLi?= =?us-ascii?Q?iEL4ESEZQkhllBl0ohWRIGYzjIp1yJ5bKW6bRyVNxj5Sc4bT/KkGKJF013rI?= =?us-ascii?Q?rPuWjZ0sYABJb4ZxJ20CLFE5bIEl2W1zH6tHCYQRWlP7OycjkFm7yjQvZWy3?= =?us-ascii?Q?Dk/Zp0wdEn506OPwsaSOzDU5wtQUkFLe8vnU6XMz4RGS4x7N3nxg5fdECUDO?= =?us-ascii?Q?fwG+kcef4/A1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UpdNM+S?= =?us-ascii?Q?ncH+CalP7lZEyFw9pQRnKoRQp1YEXxHn4qzaDZepn0xXuWxKiPKy2Wc6OpWA?= =?us-ascii?Q?Jb/X0chRi98t9Jb+DPy6Bi4Ma9c8A5IKptIdM4kTQCP+9zlvNAWHhArtF8K3?= =?us-ascii?Q?23v1D54KUIYq6SoH7+X0X83cmekUlGUy1oTAEGeJDxVZdAl+h/HvyGs4tbep?= =?us-ascii?Q?J3TtxjHgyoYfsm5r+JcabumOZUD/WzfHlSCGLzBxxqSY/AYfmJdGPdjXbu6W?= =?us-ascii?Q?472mz3k0aJVJhss8hyZTYjXY3ufONBXOTRWZNDfs9b6/5PtgXIbYVz7fwKyW?= =?us-ascii?Q?hCCPnqBwx2g5lcWEGHVvENbdcKAwIWzkajSgY/ya/Wk+N7nmxpgREg=3D=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e420dd0-8bc7-480f-f1d1-08d99524066c X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 06:20:21.2454 (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: nhi@amperemail.onmicrosoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB6325 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 1dee436f97b4..9b33f295b2df 100644 --- a/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc +++ b/Silicon/Ampere/AmpereAltraPkg/AmpereAltraPkg.dsc.inc @@ -655,6 +655,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 b8293c096c4c..00184f105e6f 100644 --- a/Platform/Ampere/JadePkg/Jade.fdf +++ b/Platform/Ampere/JadePkg/Jade.fdf @@ -267,6 +267,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