From nobody Sat Apr 27 02:42:47 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+93933+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+93933+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1663566843; cv=none; d=zohomail.com; s=zohoarc; b=TNX8Lqszdhu/kKaX08sXb1J1W7Xdk6x9e7ISI+kOeEUkGF1/I5rkP6zQX8m4lgiacE5LmEZPTsmRZWrads7KbAZzhQPwA5LTBVhtUgTDKOlYCeZMlKhmvffVFprYhef5S2BGp+LVc5p81y3oLVC38qcrtH98e0wl492+EZ+jdMg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663566843; 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=QgpqaY3BSqdy+BQyIiUjOj91ihnaY21P23yHsHMEzdE=; b=nywKEq31/M8A9NMPFKw3XT6pzU75KY18waH5Rjl4xbdOKoEUHsRleQCIQjpKkBRSk2b7BhPh+cyHCFJX4JGvRKM2iCCDv4G5sICDnptYWWLqbe7ywCygn4u+1eIPEibbCiZ8UBILpqGsk96YBXv+i6fk8I7jv1fS8ksYQsdeSmE= 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+93933+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 1663566843153586.6655644473774; Sun, 18 Sep 2022 22:54:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VBrJYY1788612xVISqjudDPR; Sun, 18 Sep 2022 22:54:01 -0700 X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.16777.1663566840953220069 for ; Sun, 18 Sep 2022 22:54:01 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10474"; a="325598324" X-IronPort-AV: E=Sophos;i="5.93,327,1654585200"; d="scan'208";a="325598324" X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2022 22:54:00 -0700 X-IronPort-AV: E=Sophos;i="5.93,327,1654585200"; d="scan'208";a="595945993" X-Received: from basfe004.gar.corp.intel.com ([10.66.129.57]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2022 22:53:57 -0700 From: "Ashraf Ali S" To: devel@edk2.groups.io Cc: Ashraf Ali S , Ray Ni , Rangasai V Chaganty , Isaac Oram , Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-devel] [PATCH] FIX MinPlatformPkg PCIE Base Addess avoid thunking operation. Date: Mon, 19 Sep 2022 11:23:01 +0530 Message-Id: <30041569f0c8cb2639d4526b0464d80a91fb3b0b.1663566735.git.ashraf.ali.s@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,ashraf.ali.s@intel.com X-Gm-Message-State: axiw4Pc9rEQNmhNcwl2HbHHCx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663566841; bh=29uo39Ot2Dj3AtwsKFo2haNH0HMTJEg4ROXcI/M0tbA=; h=Cc:Date:From:Reply-To:Subject:To; b=l3sQNrsJ/oKgwoX8eTdKbdy9hccb+B/09O7VOEizn9lT1ZRq6KRZjTNDVH1Kd3tv5ZZ 1t5Czi/6Z7owyjHECQmMOKDCg6A4IfIIs8UQGghTD0Oh1UhLrgJ8fzLNw8rVNVzbsNL9y 364ql4T+iffcP8aIGDj/fZn44L9s1lBhADw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663566844108100003 Content-Type: text/plain; charset="utf-8" thunking the PCIE base address will cause the distruption in the execution flow when the PCIE base address is 64bit bit. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4068 Signed-off-by: Ashraf Ali S Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Isaac Oram Cc: Chasel Chiu Cc: Nate DeSimone Cc: Isaac Oram Cc: Liming Gao Cc: Eric Dong --- .../Pci/Library/PciHostBridgeLibSimple/PciHostBridgeLibSimple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/MinPlatformPkg/Pci/Library/PciHostBridgeLibSimp= le/PciHostBridgeLibSimple.c b/Platform/Intel/MinPlatformPkg/Pci/Library/Pci= HostBridgeLibSimple/PciHostBridgeLibSimple.c index 0e3fee28b5..e38975eee5 100644 --- a/Platform/Intel/MinPlatformPkg/Pci/Library/PciHostBridgeLibSimple/PciH= ostBridgeLibSimple.c +++ b/Platform/Intel/MinPlatformPkg/Pci/Library/PciHostBridgeLibSimple/PciH= ostBridgeLibSimple.c @@ -90,7 +90,7 @@ PciHostBridgeGetRootBridges ( if (PcdGet32(PcdPciReservedMemLimit) !=3D 0) { mRootBridgeTemplate.Mem.Limit =3D PcdGet32 (PcdPciReservedMemLimit); } else { - mRootBridgeTemplate.Mem.Limit =3D (UINT32) PcdGet64 (PcdPciExpressBase= Address) - 1; + mRootBridgeTemplate.Mem.Limit =3D PcdGet64 (PcdPciExpressBaseAddress) = - 1; } =20 mRootBridgeTemplate.MemAbove4G.Base =3D PcdGet64 (PcdPciReservedMemAbove= 4GBBase); --=20 2.30.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 (#93933): https://edk2.groups.io/g/devel/message/93933 Mute This Topic: https://groups.io/mt/93775914/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-