From nobody Sun May 19 20:02:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99338+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99338+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1675143957; cv=none; d=zohomail.com; s=zohoarc; b=OKCi3lW03Yz/9GXVOiC5TKItlx7mDt+Zi7eSo4owKGHfZAZUM3TNRLV8Znr2WmrRO8iF6cTmWeMrbvdws6Zm3joBzhB4w16iUJR4c+3hxGiZtRO57g26rytpuvxsITeZeoqzEkAIP/JpDpyK3Ak4DpMwAQiy4Hu6LQAE9tkjlKc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1675143957; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=mf9hT+SKeM5YpgUR/Ha8hliz+z4NRz8y+xEyO3bECGg=; b=YizZTdude8S1EEKc549oOaexf51duakfEsu4mfLL7hkOzVbRvynV4KWV9w5W/1MgmJFvvY53wKPHrvNTOf0yDL1NGSypmYF3FoomQEwRK24Gwcffd+Qo46skjhpztLUhVvln50SKpmZEEnmah16V5TswnQbqxxaYT0E+sRnMyrY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99338+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1675143957960848.0767658548228; Mon, 30 Jan 2023 21:45:57 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id eLVAYY1788612xJHAjfJlCHU; Mon, 30 Jan 2023 21:45:57 -0800 X-Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.6077.1675143957114475008 for ; Mon, 30 Jan 2023 21:45:57 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="307411453" X-IronPort-AV: E=Sophos;i="5.97,259,1669104000"; d="scan'208";a="307411453" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jan 2023 21:45:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="614310619" X-IronPort-AV: E=Sophos;i="5.97,259,1669104000"; d="scan'208";a="614310619" X-Received: from aryehche-desk1.gar.corp.intel.com ([10.5.215.3]) by orsmga003.jf.intel.com with ESMTP; 30 Jan 2023 21:45:27 -0800 From: "Chen, Aryeh" To: devel@edk2.groups.io Cc: Aryeh Chen , Chasel Chiu , Nate DeSimone , Isaac Oram , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH v1] MinPlatformPkg: Add PCD PcdMinPciBridgePC00 to support \_SB.PCI0 and \_SB.PC00 Date: Tue, 31 Jan 2023 13:45:18 +0800 Message-Id: <20230131054518.1576-1-aryeh.chen@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,aryeh.chen@intel.com X-Gm-Message-State: 0oxn1aipJAwskP2APpXnIEuEx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1675143957; bh=xmdok3tkXFT7YuqqQpbfvQspFtdP1akPyK1sSah66fM=; h=Cc:Date:From:Reply-To:Subject:To; b=j9KqHzo2IJ27Ds6+kmggAjqSOPf/u1ZCSEJT6jJpg54uEr+nnbF4hIeKq+cbmgiwmaE zdKUCx3h2wdqHnwc1eELl9tulkgmOW7rjNMVwQQoMed3bJT2edQOovJCgA1VAw+AhXIYC /s5DdDG3f5UHgf09ocu8+iFDhPF7X7RYTec= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1675143958272100001 Content-Type: text/plain; charset="utf-8" From: Aryeh Chen REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4329 To add PCD PcdMinPciBridgePC00 to support \_SB.PCI0 and \_SB.PC00 on MinDsdt.asl because PciBridge has modified from \_SB.PCI0 to \_SB.PC00 since Client ADL platform. Signed-off-by: Aryeh Chen Cc: Chasel Chiu Cc: Nate DeSimone Cc: Isaac Oram Cc: Liming Gao Cc: Eric Dong --- Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.asl | 4 ++++ Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf | 1 + Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec | 3 +++ 3 files changed, 8 insertions(+) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.asl b/Platf= orm/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.asl index 4efb8709ac..b7361b6d44 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.asl +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.asl @@ -23,7 +23,11 @@ DefinitionBlock ( //----------------------------------------------------------------------= ----- // Begin PCI tree object scope //----------------------------------------------------------------------= ----- +#if FixedPcdGetBool (PcdMinPciBridgePC00) =3D=3D 1 + Device(PC00) { // PCI Bridge "Host Bridge" +#else Device(PCI0) { // PCI Bridge "Host Bridge" +#endif Name(_HID, EISAID("PNP0A08")) // Indicates PCI Express/PCI-X Mode2 h= ost hierarchy Name(_CID, EISAID("PNP0A03")) // To support legacy OS that doesn't u= nderstand the new HID Name(_SEG, 0) diff --git a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf b/Platf= orm/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf index 3437bc489c..b3b45039cc 100644 --- a/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf +++ b/Platform/Intel/MinPlatformPkg/Acpi/MinDsdt/MinDsdt.inf @@ -40,6 +40,7 @@ [Pcd] gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemBase gMinPlatformPkgTokenSpaceGuid.PcdPciReservedMemLimit + gMinPlatformPkgTokenSpaceGuid.PcdMinPciBridgePC00 =20 [Depex] gEfiAcpiTableProtocolGuid AND diff --git a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec b/Platform/In= tel/MinPlatformPkg/MinPlatformPkg.dec index e6f714b181..68a76db4de 100644 --- a/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec +++ b/Platform/Intel/MinPlatformPkg/MinPlatformPkg.dec @@ -139,6 +139,9 @@ gMinPlatformPkgTokenSpaceGuid.PcdAcpiXGpe1BlkRegisterBitWidth|0x00|UINT8= |0x00010056 gMinPlatformPkgTokenSpaceGuid.PcdAcpiS4BiosReq|0x0000|UINT8|0x00010055 =20 + # The PCD controls MinDsdt PciBridge + gMinPlatformPkgTokenSpaceGuid.PcdMinPciBridgePC00|FALSE|BOOLEAN|0x000100= 57 + # # FADT Duty Offset - The zero-based index of where the processor's duty = cycle # setting is within the processor's P_CNT register. --=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99338): https://edk2.groups.io/g/devel/message/99338 Mute This Topic: https://groups.io/mt/96647478/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-