From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web09.27401.1610934262679024151 for ; Sun, 17 Jan 2021 17:44:22 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=h4AgQfV2; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: hao.a.wu@intel.com) IronPort-SDR: dNVR3IzJc4+Ar3zB2++ZF6f6uDGOAFwRgGUu+mrlZbtvNsQR//NiBzCwHvF5jyjCYbYmN46nsa alBxN9v03b2g== X-IronPort-AV: E=McAfee;i="6000,8403,9867"; a="178831872" X-IronPort-AV: E=Sophos;i="5.79,355,1602572400"; d="scan'208";a="178831872" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2021 17:44:21 -0800 IronPort-SDR: JuN/3Dyrd0I5JcQc0jhewG/vyj/VU2pdNdZMjbl6n8KXclSHNVgydR/PYcA8Ney1ZCUAZUQm// BwOsFPb/tYwQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,355,1602572400"; d="scan'208";a="466207011" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga001.fm.intel.com with ESMTP; 17 Jan 2021 17:44:21 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sun, 17 Jan 2021 17:44:20 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sun, 17 Jan 2021 17:44:20 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sun, 17 Jan 2021 17:44:17 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQUVN5d8/Pq77HVyflDeVuyfyJT0/U5WZ6gwGEIc8zzBsyBabmNZEDnAb2f41I1jronn8Q+DvFx1BVGCrh1cR+t5nWtVqh3lZVRnkFRhkz6SEEslhr3yTIYpvi7/pfOZKzboX5igT/oDqZaR2VYDzJKz+hlEhvlyUSnvIVbPrBf/M56GRmKisaRkio5E4El/8jrJga5heuorRIYp32yG8mnrDuOfwsm09hDq6PUueQdgdBoUqCllMOy8gVW8IyjRJddsTfU2f52+iBBvAnzDyyfNOauIDQVSt4XnOkbwOP+qOHP55AfuwUyYyCAU/pFTuLVgq78V8guYRvTxQGyVNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRacPpeGVKsK33k9vOPwrPg/Rgher+XNmCz8ocn7FxU=; b=LM8AYT9HXSHNKHkEx/AIbpuz9y1J3BGlnrVMF5RMPSQG2W+23sAjDOIVY5VWBkioZ2PGwMlOP6PtaTDbFXS7wpK38cAC25/gkbrB7doGB9UGgBNHkQN//qN4gkp8dXzVFW7ek8qdD54eth0uVqnqb6aeM0QeIm/+gmSYT3Fzb38tENLsAAeL41RLA5gbyTk8uOhkD1Lqh4K1GnRIl2OuwyLovmfEvVI6+QqMsYJFYfSxrsRY2ouGYX3Fse+t1COo1jqg1jYGHoi1YuR/xcC1V1aTbibsnG4SZcz93u0HH5AMrwQDXMbRF1I12D1LVo+VE6lhLRiIAosudX1CwICv8Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRacPpeGVKsK33k9vOPwrPg/Rgher+XNmCz8ocn7FxU=; b=h4AgQfV2wqcEyMDeWpHRIDv06+/4aybVIWKph8z0lmD2s/teJo28z6TzHr3KVVg4D0zRAd3E4uQC9oJKhLw1pwMKd3p1n1MQDnTcByg11/kRv82fsFVq1mL3u0Tgt4Fduide+FCNCsii7NzyMTt+OYbdb3rNSC+zz0RXbZDx470= Received: from BN8PR11MB3666.namprd11.prod.outlook.com (2603:10b6:408:8c::19) by BN6PR11MB1377.namprd11.prod.outlook.com (2603:10b6:404:49::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.13; Mon, 18 Jan 2021 01:44:16 +0000 Received: from BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::d11e:3b2:e34f:7f0f]) by BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::d11e:3b2:e34f:7f0f%5]) with mapi id 15.20.3763.014; Mon, 18 Jan 2021 01:44:16 +0000 From: "Wu, Hao A" To: "devel@edk2.groups.io" , "Wu, Hao A" , "nmd114@sina.com" CC: "Zhong, Zarcd" , "Ni, Ray" , Laszlo Ersek Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle BAR sizing fail in high 32bit of MEM64. Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle BAR sizing fail in high 32bit of MEM64. Thread-Index: AQHW60E97T85Ws5Av0mWuP2Xt8MJEaoslyxwgAAI7qA= Date: Mon, 18 Jan 2021 01:44:16 +0000 Message-ID: References: <3149> <20210115093400.29656-1-nmd114@sina.com> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 453a6437-ce9e-415a-de09-08d8bb5290e8 x-ms-traffictypediagnostic: BN6PR11MB1377: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:121; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pkz0kmDuYR5a3TGpbbySHKb6iBdqV1ls/4HHqtoIPQW7wpyzo8l0s3IjFsKIvxJDKCM75I/xK3xolVmD0wF/ZIox21PHb5jPD7yEiPM4U6I7b0zuQ3eqirXapoRqHpr92GFHWYLLuLavVzq124vnnJ/OeTqZ5HyGQeaCk/l9P8uOfQxaFL40c/4FQPKW+NJcgYBCIfHUxxm1ghTGkJXF4K2CVFzLpaJ5AcdCXaM9zpzWSlfQTEym3D8tZFcr/zhX7D8IACpI+V49CYJdSeeqv4b+FZ564sHHRKkYzcs2zlWvPqYWBHDfCck0fFLr+W/CxT7LCXJGNXsIdywlu4eLsEvpiu+9UKIQ0rwc9tx8AY+uMPNoxOfwThhdr+DHVmLgymt4yzd5ikO/Y+LISWp4h7XqswzmyRsTNkLukt0+dB+pmCyb8dHnwZJkzpfdPK0WeyjmJ26DSsHFkweSGdDvnw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR11MB3666.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(478600001)(966005)(33656002)(86362001)(55016002)(9686003)(2906002)(8676002)(5660300002)(4326008)(71200400001)(76116006)(6506007)(66446008)(2940100002)(66476007)(66946007)(316002)(66556008)(64756008)(7696005)(52536014)(8936002)(186003)(110136005)(53546011)(54906003)(83380400001)(26005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?2JxEkKDhpJi9oRZexbHKVvmqnUQaa+YREgzCb5ejY+i8NPNxM0rYl+kRty3B?= =?us-ascii?Q?hcyHwChiELIAeqVtWOhrAAJZelOuIiVUYQF5JcnNJ52HQHm73BB0zufSKjQE?= =?us-ascii?Q?HQGLiyivPFdL5MePb8jaH9BN9HyXQO9CO5jC7yoUIDE41HUjuXCDyKYBjD3V?= =?us-ascii?Q?SRs0MbeRbJJB9F6gwO4l5QCGa3qVVdjAmgtnnfg+FOQygQQMra6VaKgdpZSs?= =?us-ascii?Q?Ip9iBndvpPSyUxPY7PrvCUXS8x4Fz3UGYgRA8aiGiHdmf3f3+wte9mxA+luv?= =?us-ascii?Q?eJv/sowodi4kziUHcsIhL2JzPxMC5Y6LJgCy0Edy8ndzNbBlOY/3LZIKYku0?= =?us-ascii?Q?jIFuLvk4aCWnAnoErkRIv8U4YiXls3ETW+XhTDs5+NWGQ592NkwJi1sAe3w4?= =?us-ascii?Q?aKIjNEx4wSvDi3ovgf/wWZWWoDbd0DCCDvJan7mokfjK5kCvGltv/Degxo0T?= =?us-ascii?Q?Wmgk1dbbaD6W7P+6UEnrtnXitigN6RrG4gbFUIxSLXcXABA8wqnOHxN5Sm2D?= =?us-ascii?Q?66I/SD7zu9dk2V8BDtrlR9KbierZe+fPUuw6rLqFaaHCLcFQum6AXGa57Gs+?= =?us-ascii?Q?7JH8AH4iD3ieDA/0/AMXgbzkl1V4wYF8Zmu7R5H25Zku8jpzpEnHypOddvca?= =?us-ascii?Q?qDoc2DM5o/0ugfxH6smrFiWZrNR99kSqfgMq650IIkNxYivdW1k7zfkAAOrR?= =?us-ascii?Q?p7Ld8nnSnGqsboHS53JjghDFJ/HH0s2m4mI8fh0cy7SGB/6GL6oUOxfmSyn5?= =?us-ascii?Q?Wq8aPyikXBChMyU+9wLWbIsfQPtI1a8Vhuj/l3GtFzlXpta1zpIDoq1u8Fet?= =?us-ascii?Q?5H1cNwnE/LHcrIX5t6XH0YYWLqGaGNG8opUl1g5d6RbLSzgIJwA7pXbjnRf5?= =?us-ascii?Q?COHwcmsf5VyJA4OqBH7BSkisXsqBLMITLm9EQK+JRUOdvCffWRblUMBN4uOW?= =?us-ascii?Q?L+/i3Zwa5XxKYnIHb1SWWqhGz6BX6oRHGZK7NUhpAE4=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3666.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 453a6437-ce9e-415a-de09-08d8bb5290e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2021 01:44:16.4828 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BAtzAOlclCq4Qc2uoXtVzSSmXRMAsAMiLgEMiZeqoOlM/LM/Ao8pL0AF2JnBzzq7A0iHXfAur4y2FPH+RjaIIw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1377 Return-Path: hao.a.wu@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Wu, Hao > A > Sent: Monday, January 18, 2021 9:12 AM > To: devel@edk2.groups.io; nmd114@sina.com > Cc: Zhong, Zarcd > Subject: Re: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: > Handle BAR sizing fail in high 32bit of MEM64. >=20 > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of > > nmd5434 > > Sent: Friday, January 15, 2021 5:34 PM > > To: devel@edk2.groups.io > > Cc: Zhong, Zarcd > > Subject: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle > > BAR sizing fail in high 32bit of MEM64. > > > > From: Zarcd Zhong > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3149 > > > > Address MEM64 BAR in type unknown if sizing fail in high 32bit. > > > > L: devel@edk2.groups.io > > Cc: Ray Ni > > Cc: Hao A Wu > > > > Reviewed-by: Ray Ni >=20 >=20 > Found that there is no "Signed-off-by:" tag. > Will add the tag when pushing this change. Patch pushed via: PR - https://github.com/tianocore/edk2/pull/1360 Commit - https://github.com/tianocore/edk2/commit/a7ef2a03b96c464c776a139c= 104471fb2b84e39b Best Regards, Hao Wu >=20 > Best Regards, > Hao Wu >=20 >=20 > > --- > > MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > > b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > > index 1b64924b7b..a24065e8ba 100644 > > --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > > +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c > > @@ -1686,6 +1686,7 @@ PciIovParseVfBar ( > > ); > > > > if (EFI_ERROR (Status)) { > > + PciIoDevice->VfPciBar[BarIndex].BarType =3D PciBarTypeUnknown= ; > > return Offset + 4; > > } > > > > -- > > 2.16.2.windows.1 > > > > > > > > > > >=20 >=20 >=20 >=20 >=20