From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web10.27372.1610932339707741834 for ; Sun, 17 Jan 2021 17:12:19 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=xWXaH5PX; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: hao.a.wu@intel.com) IronPort-SDR: 8TO4Sk3tSSK1pjAwZqmblLxfbjs4rrJtK8ifMgLnENkeXn6AgRLBlfjwWn6QdVI4jl+TMU3nZ/ g4btZ/3AROUA== X-IronPort-AV: E=McAfee;i="6000,8403,9867"; a="158517191" X-IronPort-AV: E=Sophos;i="5.79,355,1602572400"; d="scan'208";a="158517191" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2021 17:12:18 -0800 IronPort-SDR: N1RrwPiMNUP+czq8K6HuM4iAg52cjHdilJiymU7OweLo+BR6fnTOjq0Zi2EKQoM6kTn1i5tcoD 7IJ3jVSBNGJw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,355,1602572400"; d="scan'208";a="500497555" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 17 Jan 2021 17:12:18 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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:12:17 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:12:17 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (192.55.55.71) 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:12:16 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LQ2b5PZ1wLaXnT+C4/B2/Zr3Bua7kGhl9lGeik4xYOZGXEtxB855vmXRULI2xjUzNlz5kZol3GWPf52N3dkA3AsyCAJnEy+C5WX8V5Sr7acLN5PKp6he9U/gXtSpvqzZRQ+J8UY6CMAZer3D2WH6ganYWGIw5ZRhdZHuNM0YnB3ft+fmsQhkeg/xMuW0qOk0k7Iior7At8havEfp+LNfNcQl/gG5llfvAZVflZtAan21/jADRT1cnqhOO1CwulwPb/sGceXFY2AHGG3xYhMg3/YXObzaX9euqzEZZLcBXUJLkmZxl7maXAaIhDECKNoMeqoo/82XPna3U1JPb3L/kw== 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=tlcFaGpZ5/41xh8zD41h97Wdfucl2XMxRKUGy/XCGY0=; b=PSnGf9JIoOyh9hHObZOUpMY0uAx1N9Xgw1ojl9UWpt2NRtqN9LFnLZliIibKvVaVLHZjRSg6z8E6j0ZNGqcYXAUBM5hLAgAVfbnM4N/SbemWCxSjSRGLYEzbe2jqUJJ9SO0ymtihh3guTxMD0vqA1z57d4W6r3/3CZT3QAAyRUiC1c7bSmCYtS4O759RyOgGpRoiBRa27u3FenMYgY2qRigJh5vZ2uCoahrDlgw1m6uFK/oJIa87+hkhM1OyEJCZwIaGawzDxinZ+82D7PbMfI3IcF794XlNNd62X74FrFHIr2YWO4nAiNhbs0Kci/6Se6Io1sgXQ9DwNJ+Ch/U4Ww== 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=tlcFaGpZ5/41xh8zD41h97Wdfucl2XMxRKUGy/XCGY0=; b=xWXaH5PXKJjzCSeTh/HkMWRvwWTWHY3m9wOzUMz060zDJ7Fsq6gC09xbpbCaNYezulTQ+IPX8150b7vrFxajVa4TPhvS2MvNCdBQVEh9BtKB6DcF8vIFYubi2KlHFNr6ZNY319NAYlpK3bKSX7ycLzgFaGc3zBfqqg18h/7fLW8= Received: from BN8PR11MB3666.namprd11.prod.outlook.com (2603:10b6:408:8c::19) by BN8PR11MB3778.namprd11.prod.outlook.com (2603:10b6:408:87::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.11; Mon, 18 Jan 2021 01:12:15 +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:12:15 +0000 From: "Wu, Hao A" 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. Thread-Topic: [edk2-devel] [PATCH] MdeModulePkg/Bus/Pci/PciBusDxe: Handle BAR sizing fail in high 32bit of MEM64. Thread-Index: AQHW60E97T85Ws5Av0mWuP2Xt8MJEaoslyxw Date: Mon, 18 Jan 2021 01:12:15 +0000 Message-ID: References: <3149> <20210115093400.29656-1-nmd114@sina.com> In-Reply-To: <20210115093400.29656-1-nmd114@sina.com> 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: 67e69109-d5d1-4ff0-cf5b-08d8bb4e17f2 x-ms-traffictypediagnostic: BN8PR11MB3778: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2582; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: msSPci7l+yIMUc+omm3XjTKBk36Bn3fIkBxGpkt+oUuNXky5qzEJC2Kz1o92K5mCWqkX2vc4sldiX6USd/eP8SBf89+10o0ACrkqTkjm2A588bd3UEaob9n0N+Uk9MOHJ3GW92r40+9LYufff6dqX6++rZxpYVVQsMaSyaXtbfEz4q3dOz3hP97NTayulEZLvOPqqYCgWJDqHyNA88vea1e83Kd7K7dUy5q50MC6QMESdaKpVWh7o/hEBUKTR6DbLgb6uzuCwTEuGSWU40dtjGL2bs1R+ylAJvK1mQUOVErwEm7t5QusD5AXTw5d5/qD4i67kNbKJv/H3P7gCBPUAXSfENw24857OPifX6BZ969QvFHdl8Idd7DhklON6plkNYf4emho5IiAaQnpdnwtOyVGWqS/Fl+gzRCDOLallDSFy+jrFU+7AHrJlRYgC8ta50InW3vnzu1PyPtv4KiNxQ== 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)(136003)(366004)(346002)(39860400002)(396003)(376002)(4326008)(5660300002)(53546011)(8936002)(83380400001)(66446008)(316002)(26005)(7696005)(6506007)(66946007)(186003)(55016002)(33656002)(64756008)(107886003)(71200400001)(9686003)(966005)(2906002)(86362001)(66556008)(66476007)(8676002)(110136005)(52536014)(478600001)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?xrJ5ppbgQATbwYxCUDa+JFbK3jToRXU+JlFJ6jo4N+FOLt13gMBqoBjb8WDY?= =?us-ascii?Q?nJQKIEimQNq081+JfhKYFAaSq07iAdW7XPSKeYVq1ZR9JvQhb9jQqjHy1GRr?= =?us-ascii?Q?UE/+2rLWFk51/Ty1hi2HFcF5MZ4QZFGjeua2o/yRs2VawlXytdEfLzF/QL+s?= =?us-ascii?Q?4eqoLf5ahR9IoQihQz2HJV5cFI+alt0l2bkChoHeMXoYkzLmBRMZzhU4mmrm?= =?us-ascii?Q?lOXDAeGFO3OayzEz+uhdhvC8D+MTDw+9OHKbQMbvJvuUreyf0YY2floYhVve?= =?us-ascii?Q?BT89eCGWAzqG155+X3R9Jc2HZs1MMjCRM67nQozFCBqRHcUn6jlwc3LzmH6V?= =?us-ascii?Q?cD4QxWw9aAo2U6yFuEMNKYR8lw7JmkySMhBJNxOrz2mjAt5A42ViWtiHHgRT?= =?us-ascii?Q?GQhyWRp4qzRYd/dkKd6rpApiiaoXvOv0dg9eH2hGK9VsgrWslLV7FW1IP0/3?= =?us-ascii?Q?pjWceXNPvMRkk+W+IX/4U5q+ln44rEzfAS47x1q8dN1Bz5DDAxDaN3T5iMOc?= =?us-ascii?Q?GkOau1PZ/nHrF4ZHED9eOE+DzGT6RrRuje3D0KD3jeDiGW80xlApKTNrUiot?= =?us-ascii?Q?U3snb5UMYiwdFIWJL8054HBQ9V4FsfZVSzIeVbxjt2FAZ27Xu0T+GWMP04I/?= =?us-ascii?Q?89MQBK3oYJ0ltEwXEA1MKZjOsjJGIBLtR4xypG6OLBF1qOglzMg/D0+lFa+z?= =?us-ascii?Q?/NNN/sKCAjmrnJJ9jnn6Q4Ui8o/f8Waykbgevcgd0GKd3c4c3Fj2y6ZN55GA?= =?us-ascii?Q?6/nVqDAaqcHopLrXPMI6ivqRJ+y8bLQ5CUPKdfYngNCWTeHJuLj8g8dtVG8w?= =?us-ascii?Q?WZqrqHfvFiNrfW/IjwPWStKPdm2M5WVPsWkLvRjf6UniJkoRJmZ0TO5uguTi?= =?us-ascii?Q?W/DMjc9MWEpQDXYr4FXzxKM4Uj3c9Q/xQcq4z3gmzVcgy6etClrEMLFLqoRw?= =?us-ascii?Q?KsLefi6ZO0q6RzFdccBqDJl+YtrBvIgVPkjQkcW7gtI=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: 67e69109-d5d1-4ff0-cf5b-08d8bb4e17f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2021 01:12:15.5357 (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: K87Gxaj6zy7Z7NS0uvrX10S8fp8Mx2GRXkuFIoaaI0O84vI6jGvfrQjoirzc7Xsa9lcrLfBdynZNV08ScFnm3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3778 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 > 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. >=20 > From: Zarcd Zhong >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3149 >=20 > Address MEM64 BAR in type unknown if sizing fail in high 32bit. >=20 > L: devel@edk2.groups.io > Cc: Ray Ni > Cc: Hao A Wu >=20 > Reviewed-by: Ray Ni Found that there is no "Signed-off-by:" tag. Will add the tag when pushing this change. Best Regards, Hao Wu > --- > MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 ( > ); >=20 > if (EFI_ERROR (Status)) { > + PciIoDevice->VfPciBar[BarIndex].BarType =3D PciBarTypeUnknown; > return Offset + 4; > } >=20 > -- > 2.16.2.windows.1 >=20 >=20 >=20 >=20 >=20