From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=ray.ni@intel.com; receiver=edk2-devel@lists.01.org Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A1764201B0418 for ; Tue, 12 Feb 2019 01:45:15 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2019 01:45:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,361,1544515200"; d="scan'208";a="115535899" Received: from ray-dev.ccr.corp.intel.com ([10.239.9.140]) by orsmga006.jf.intel.com with ESMTP; 12 Feb 2019 01:45:13 -0800 From: Ray Ni To: edk2-devel@lists.01.org Date: Tue, 12 Feb 2019 17:47:41 +0800 Message-Id: <20190212094744.129360-1-ray.ni@intel.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 Subject: [PATCH v2 0/3] MdeModulePkg/PciBus: Fix a bug PPB MEM32 BAR isn't restored sometimes X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2019 09:45:15 -0000 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1505 v2: fixed all typos in PciBus driver. changed RomSize to UINT32 and added type cast to PPB MEM32 BAR Base/Length to avoid using RShiftU64(). Ray Ni (3): MdeModulePkg/PciBus: Change PCI_IO_DEVICE.RomSize to UINT32 type MdeModulePkg/PciBus: Correct typos MdeModulePkg/PciBus: Fix a bug PPB MEM32 BAR isn't restored sometimes MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 4 +- MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.c | 14 +-- MdeModulePkg/Bus/Pci/PciBusDxe/PciCommand.h | 16 +-- .../Bus/Pci/PciBusDxe/PciDeviceSupport.c | 20 ++-- .../Bus/Pci/PciBusDxe/PciDeviceSupport.h | 14 +-- .../Bus/Pci/PciBusDxe/PciDriverOverride.c | 4 +- .../Bus/Pci/PciBusDxe/PciDriverOverride.h | 4 +- .../Bus/Pci/PciBusDxe/PciEnumerator.c | 8 +- .../Bus/Pci/PciBusDxe/PciEnumerator.h | 8 +- .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 42 +++---- .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.h | 16 +-- .../Bus/Pci/PciBusDxe/PciHotPlugSupport.c | 16 +-- .../Bus/Pci/PciBusDxe/PciHotPlugSupport.h | 18 +-- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 16 +-- MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.h | 4 +- MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c | 4 +- .../Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 6 +- .../Bus/Pci/PciBusDxe/PciOptionRomSupport.h | 4 +- .../Bus/Pci/PciBusDxe/PciPowerManagement.c | 4 +- .../Bus/Pci/PciBusDxe/PciPowerManagement.h | 4 +- .../Bus/Pci/PciBusDxe/PciResourceSupport.c | 113 +++++++++--------- .../Bus/Pci/PciBusDxe/PciResourceSupport.h | 41 ++++--- MdeModulePkg/Bus/Pci/PciBusDxe/PciRomTable.h | 7 +- 23 files changed, 190 insertions(+), 197 deletions(-) -- 2.20.1.windows.1