From nobody Fri May 10 00:33:45 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+97755+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+97755+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1672034774; cv=none; d=zohomail.com; s=zohoarc; b=KLx3ZkPLG/e0JKnJghuDz6VgoaY8cwaYEQs5iFxlOg/D0ioGCu5Mbo2IVm5j6zlsZ6siW95joI51jk0DlxalGmwrN9ljs+BWfBRA/X9mVz29RkGLKYOkuEtgEmLGCml7sPpIGCHDui2vQ3tCycjSnAqbQMnc4EQiBOx0u8CXU68= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672034774; 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=FW3Pa3Hz2nF1Iqa6xvxHZXczKrLHWxlQVnyqePfGHKc=; b=YLJ9FfKKnIlkt/GBgABQx/MyEbXK2ug2qKsDc2hCl2pcb7z2RnOAkZscP/8We9/2eyUuZAKWVL29hnF0nGNrbL07AcbUe/3WGIF+0ndoO1gq6tncqDFJSLCJCdMc/pnobE9Iu3r1qUDzjBBodnsAuqsKigy2y2/2KWY1sRZYsAg= 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+97755+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 1672034774828193.55695741220552; Sun, 25 Dec 2022 22:06:14 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZksWYY1788612xF43qbGJgyR; Sun, 25 Dec 2022 22:06:14 -0800 X-Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.132088.1672034773195318651 for ; Sun, 25 Dec 2022 22:06:13 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="322503774" X-IronPort-AV: E=Sophos;i="5.96,274,1665471600"; d="scan'208";a="322503774" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2022 22:06:12 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10571"; a="685089760" X-IronPort-AV: E=Sophos;i="5.96,274,1665471600"; d="scan'208";a="685089760" X-Received: from basfe004.gar.corp.intel.com ([10.66.129.57]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Dec 2022 22:06:09 -0800 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 v2] FIX MinPlatformPkg PCIE Base typecasting error. Date: Mon, 26 Dec 2022 11:35:53 +0530 Message-Id: <3f8e35db6103443d095d33ed2efde6f8449de2cf.1672034725.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: xOJl7jN3bQ72cXJ3J4vfvpMyx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1672034774; bh=FEuK2mszWPw1U8cCmf8lPIWFhX6gPLE3ODy9n6EFPZ8=; h=Cc:Date:From:Reply-To:Subject:To; b=jUrSjDNFGHQOUIasArXlOxIhd/9D9fdr4oO0nC/fxSYEa/UcMc33b6BR9ZpHhSmKXNl NNbqNwqUH8NyfkryHOoy4kGuQ/3m7xPhLoRIJi28Uop6F1nO2LshC9VjXUxoqPw/lrzke VVdIS4X08Qx8TfPbOqly6xePgBePLwf3bW8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1672034776438000001 Content-Type: text/plain; charset="utf-8" PCIE Base Address is 64bit PCD and the Mem Limit UINT64. so typecasting to 32bit is not needed. 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 Reviewed-by: Isaac Oram --- .../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.33.0.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 (#97755): https://edk2.groups.io/g/devel/message/97755 Mute This Topic: https://groups.io/mt/95884079/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-