From nobody Fri Apr 26 16:15:48 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+69920+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+69920+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1610025334; cv=none; d=zohomail.com; s=zohoarc; b=JCPeIRwGW/vAURVNHqdgai3BWcJ81Z2kJdl4rlAwM9HHnMlGeiDPHw/R4xqDI56DTjP0R5Aej2QW2dl/D2yNtonebkb6wV//IN1qR0DtG1ANg9hUIncUPoUwk5OWvmghNlpJUAXKuUHc9Rm++8YVZFN/a6y7M8Dx2DpyLvfLy/E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610025334; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=g24HqP7myKyWNt1LCVeRwQUbXcZL2Ec3jX4E67N1qAs=; b=VEmdiz7tAeM0p33gfYUOs64kaMl1fFbjWDuYLx+Ak/70lcK8KDN2lvOkl9r5+1NSY0SpYsJKtrmD6W/Qw/57wm09bH4yTuEG6J0ak3u9vVga8DYQ5d03XTklu6SWV/050f/H998mhWlps61DV76ddzr594NOlmdAVVe3+DFhMf8= 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+69920+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 161002533487916.60406722349944; Thu, 7 Jan 2021 05:15:34 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4w5GYY1788612xQLVoi0BtPb; Thu, 07 Jan 2021 05:15:34 -0800 X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.4956.1610001004168313948 for ; Wed, 06 Jan 2021 22:30:04 -0800 IronPort-SDR: gstd0AZ2VCF4F/vUSnYEhJmxFYAJkZBmUUjORhQ80t8syaxhjStZo8fCKIgccRantHIF4SRDFq WXplYLeNT1Vw== X-IronPort-AV: E=McAfee;i="6000,8403,9856"; a="262153623" X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="262153623" X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 22:30:03 -0800 IronPort-SDR: QfUK6/G7V4QQqIVVcX5xRcxaQcOWqzer4m/P7IAO+p9YB76Le8jHO2WwwT+LvULHFHRmx6g5bj W6gnfzT6/1nA== X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="379602699" X-Received: from svenur-desk1.amr.corp.intel.com ([10.9.69.84]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2021 22:30:03 -0800 From: "Sumana Venur" To: devel@edk2.groups.io Cc: Sumana Venur Subject: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Increase the width of the data read during oprom shadow Date: Wed, 6 Jan 2021 22:29:59 -0800 Message-Id: <20210107062959.25388-1-sumana.venur@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,sumana.venur@intel.com X-Gm-Message-State: 9VFlFuSChAmcxRZksA2FfgDzx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1610025334; bh=LL8MNHFvmMKokpH2aFjEmCRXTR5NoJjgLVsaoVRBEZM=; h=Cc:Date:From:Reply-To:Subject:To; b=gHauFchTmrMGCuZRZ0uHVw7yIk1HIbSl8BrUEHTu/CcLklyUaZds8L1lKI0wZ0v1G85 I77SNoCN+vUoy7VLMvbAeQcPf7+q/B+8OktRzkplbspUYcPa+b2rp9O53smjx+62XY1Gq piKsKNXhIw2OXraBJCLzatzn3Ffy2LRmqpc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2989 Long times spent on shadowing oprom from graphics card to system memory. We= are currently using 8 bit read cycles. This needs to be wider, at least 32bit (even 64bit) reads to reduce the tim= e for oprom shadow Signed-off-by: Sumana Venur --- MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/MdeModu= lePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c index c994ed5fe3..fe6c7db417 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c @@ -521,7 +521,7 @@ LoadOpRomImage ( // PciDevice->PciRootBridgeIo->Mem.Read ( PciDevice->PciRootBridgeIo, - EfiPciWidthUint8, + EfiPciWidthUint64, RomBar, (UINT32) RomImageSize, Image --=20 2.16.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 (#69920): https://edk2.groups.io/g/devel/message/69920 Mute This Topic: https://groups.io/mt/79498239/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-