From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.2065.1587000990233457800 for ; Wed, 15 Apr 2020 18:36:30 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: ray.ni@intel.com) IronPort-SDR: Pp19aqjmU+oPLxFZN1i15sx5ws3dEtPcWCgDZfakJ7WBhnPCToSyUPnAYkScvz098YiWqv7ocQ WZjC7oT3a1Ng== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 18:36:29 -0700 IronPort-SDR: 08ThnQQhWRs56e4dJLpJ+SsLfe+2pVBhrbIYjDlqL4rbyi6E1m9ZZzP7DDHfutksJcTIS+Emou hxk5V8JAmWVw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,388,1580803200"; d="scan'208";a="455101557" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga006.fm.intel.com with ESMTP; 15 Apr 2020 18:36:28 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Apr 2020 18:36:28 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Apr 2020 18:36:28 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.225]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.191]) with mapi id 14.03.0439.000; Thu, 16 Apr 2020 09:36:25 +0800 From: "Ni, Ray" To: "devel@edk2.groups.io" , "lersek@redhat.com" , "Wu, Hao A" , "Wang, Jian J" CC: Ard Biesheuvel , =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/NonDiscoverablePciDeviceDxe: use standard PCI_MAX_BAR macro Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg/NonDiscoverablePciDeviceDxe: use standard PCI_MAX_BAR macro Thread-Index: AQHWDmJKypYFm6e1r0qsPnxV9nc6FKh59xcAgAEKVlA= Date: Thu, 16 Apr 2020 01:36:25 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D5C5002C1@SHSMSX104.ccr.corp.intel.com> References: <20200409113017.18233-1-lersek@redhat.com> <6a945ef7-63b9-7c6b-7392-56ec48e8873f@redhat.com> In-Reply-To: <6a945ef7-63b9-7c6b-7392-56ec48e8873f@redhat.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: ray.ni@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IFJheSBOaSA8cmF5Lm5pQGludGVsLmNvbT4NCg0KPiAtLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXN6bG8gRXJzZWsgPGxlcnNla0ByZWRoYXQuY29tPg0K PiBTZW50OiBUaHVyc2RheSwgQXByaWwgMTYsIDIwMjAgMTo0MSBBTQ0KPiBUbzogV3UsIEhhbyBB IDxoYW8uYS53dUBpbnRlbC5jb20+OyBXYW5nLCBKaWFuIEogPGppYW4uai53YW5nQGludGVsLmNv bT47IE5pLCBSYXkgPHJheS5uaUBpbnRlbC5jb20+DQo+IENjOiBlZGsyLWRldmVsLWdyb3Vwcy1p byA8ZGV2ZWxAZWRrMi5ncm91cHMuaW8+OyBBcmQgQmllc2hldXZlbCA8YXJkLmJpZXNoZXV2ZWxA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