From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.88; helo=mga01.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 D2E4421140F47 for ; Tue, 25 Sep 2018 05:13:38 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 05:13:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,302,1534834800"; d="scan'208";a="91726123" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga004.fm.intel.com with ESMTP; 25 Sep 2018 05:12:18 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 25 Sep 2018 05:12:18 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 25 Sep 2018 05:12:18 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.140]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.27]) with mapi id 14.03.0319.002; Tue, 25 Sep 2018 20:12:16 +0800 From: "Zeng, Star" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [edk2] [PATCH v2 0/4] Fix a bug that prevents PMEM access Thread-Index: AQHUVJghBN3Tjv/5UUqVuv4kltqN4aUA6JCQ Date: Tue, 25 Sep 2018 12:12:15 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103BBEEF00@shsmsx102.ccr.corp.intel.com> References: <20180925062117.34772-1-ruiyu.ni@intel.com> In-Reply-To: <20180925062117.34772-1-ruiyu.ni@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH v2 0/4] Fix a bug that prevents PMEM access 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, 25 Sep 2018 12:13:39 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng with Laszlo's minor comment ha= ndled. Thanks, Star -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ruiy= u Ni Sent: Tuesday, September 25, 2018 2:21 PM To: edk2-devel@lists.01.org Subject: [edk2] [PATCH v2 0/4] Fix a bug that prevents PMEM access The patch sets fix a bug in PciHostBridge driver that prevents PMEM access = sometimes. Additionally, it enhances the boundary check and add a new macro= to simplify the code. V2: Patch 3/4 uses Resource as parameter instead of R and treat the paramet= er as a pointer. Patch 4/4 is a new patch suggested by Star to move declaration of mIoMm= u to header file. Ruiyu Ni (4): MdeModulePkg/PciHostBridge: Enhance boundary check in Io/Mem.Read/Write MdeModulePkg/PciHostBridge: Fix a bug that prevents PMEM access MdeModulePkg/PciHostBridge: Add RESOURCE_VALID() to simplify code MdeModulePkg/PciHostBridge: Move declaration of mIoMmu to header file .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.c | 4 +- .../Bus/Pci/PciHostBridgeDxe/PciHostBridge.h | 3 + .../Bus/Pci/PciHostBridgeDxe/PciRootBridge.h | 1 - .../Bus/Pci/PciHostBridgeDxe/PciRootBridgeIo.c | 126 ++++++++++++-----= ---- 4 files changed, 78 insertions(+), 56 deletions(-) -- 2.16.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel