From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web10.80922.1629437564906516355 for ; Thu, 19 Aug 2021 22:32:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=XqpgNtzY; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: hao.a.wu@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="238839750" X-IronPort-AV: E=Sophos;i="5.84,336,1620716400"; d="scan'208";a="238839750" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Aug 2021 22:32:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,336,1620716400"; d="scan'208";a="573839474" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga004.jf.intel.com with ESMTP; 19 Aug 2021 22:32:46 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) 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.2242.10; Thu, 19 Aug 2021 22:32:45 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 19 Aug 2021 22:32:45 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 19 Aug 2021 22:32:45 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 19 Aug 2021 22:32:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ecpKpC6a/KU7ZhD6KS787J5CIR1BIFIMaJ+xE+/9GNNuA2vZJmKbroLilw0wKKdqGaCLmoESlzn9yaZ59uhpqzYUpQQnHWqpeg3pea4mDPSXWiXwzlIw13dFQeKd/yaIPHnC8LyTtV8rKfUQ0By0Kfu7r7BHPQ7u5UGaf3XtaHLO9J0xOXdtWlRmMlNr9YoRGsSf1pxWENh4qUlqzXwF497KAKBTB3koP1YhtsvtB0xLl4JWlfQUxO12A0410wcmdvoMyfSaIWQFJTv3TOmAYiCDWo3wAdG6t8wi0QUuYr4eE504HIHdwkPTCES7gxeLdIiyLlPVGhWRzYglJKgJEw== 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=xYicugcsQ/Rdz1vuzYoy2EcliY3YJ/FKO2j86nLuhks=; b=i90g1xaWNA0b/r/xPaE5O509bKWVIqyV2AZFIRCZ1qwA0Lgl3TBuhL4wWHDqqnux5d1UcoxVlULruwvMl/rjZt1yswBgKT9we1zwUUP0HluJX0s9tyzKQt0V5G2iTxLfoMcxLk/c2KzPoZ4bysGL2mIVP7xg00yQ4dyVrW2h3p+olUoyLZ+bQdFmzsnlGibkkwrD+JKnA3nK7ZqVUjWNW1U9nTgtgxoQO+xVFvEziMltAngvvoylmVC9lc4tEdF38DP39ONIGwcAi2RckcmaGn0oYrZ4hX0FsT8FxNUhLe99cpxwb7Kj6g255RZuNTuO71V21jsMOIwtPQahKOWr5w== 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=xYicugcsQ/Rdz1vuzYoy2EcliY3YJ/FKO2j86nLuhks=; b=XqpgNtzYesO1v6/AkrbLwo/6aJLSY12CL8mepYfsYYEClvNRpB17nnLPi666gJNhl/ubaFT5jbdlSjCJ0NSA+w3X/qT12cD9KAFf7oO0vmM4R4X6Pc95HkBp4dtt1E4FjIS7SeqrleTerwZo9bFw2q4M0DQPdQ6QXZqDT2w8Vcw= Received: from BN8PR11MB3666.namprd11.prod.outlook.com (2603:10b6:408:8c::19) by BN6PR11MB4033.namprd11.prod.outlook.com (2603:10b6:405:78::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.19; Fri, 20 Aug 2021 05:32:43 +0000 Received: from BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::1d8:daf8:84de:1666]) by BN8PR11MB3666.namprd11.prod.outlook.com ([fe80::1d8:daf8:84de:1666%3]) with mapi id 15.20.4436.019; Fri, 20 Aug 2021 05:32:43 +0000 From: "Wu, Hao A" To: zhoucheng , "devel@edk2.groups.io" CC: "Ni, Ray" , Liming Gao Subject: Re: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display Thread-Topic: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display Thread-Index: AQHXlMw0qluHrFOpKUmGyzUdwLrupKt7388A Date: Fri, 20 Aug 2021 05:32:43 +0000 Message-ID: References: <20210819073056.3996-1-zhoucheng@phytium.com.cn> <20210819073056.3996-3-zhoucheng@phytium.com.cn> In-Reply-To: <20210819073056.3996-3-zhoucheng@phytium.com.cn> 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: phytium.com.cn; dkim=none (message not signed) header.d=none;phytium.com.cn; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e7fbf219-e093-47a1-5036-08d9639bef87 x-ms-traffictypediagnostic: BN6PR11MB4033: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VdAo7Xv50VdjiUO1/wXxtVv/KW3Y7EQCqdznroYNann0yaSA3ZZ2lgfvhRBY/uW6Q6pPpJdLn0q1ao60rG2/pRQlZNQlUTijtHz+XiokZHunLfA8XtRxKDqdnpQsJsT5K9+z3/rwKhywcMe5Jkm0dc7LSZdGqf33eeQifAhhpE4WD1MC3s6xIoYP/7zZcnG7D9dmPQ7milaogaQgombR9A8JMCfYpF9IYZ+QtMpR0hl2LdExoS0zihXP4HI+2krFvZSe7gQ1gd8RdtoWkN8Iyy/ftJy7KyT2+GtQi2h3tr0hRA2BQk0l8SyQ3z4M8P52eyhVsNYf6RPYzJxa3KtE+owae3toMWnie3iVKelSU7iHaonHJKIL8LoyfH5pOmpgnOlfvBErgtMyUO3tta4lflT6J4nBew+nRQW62xg6ib+tsR3HEhhu8t4PQDhzfIKuZ7KMUmWt2Yyxl3ux6u7vRBVBl7+QZ2MVskZnQznZHdPj+kMGPcQlFhrUhacZbRVJNFzJ/UBm/Puq9VWW1hbvTtscyTtIyBVd0E8hiHwun/Q1P+eRJOZy3EfIAKzBJVTXsY13OU5Z+qiWzYy7QfXLuwuOJ9vcyA0oVJ2V3x0oXT83jm1J7H456dZE2mzw+kiwzORrE2kPEcegVmxnXGYXr5Da0h9L6HrtF5RMrtNpmzP2sv/1beBevwOBFWE6QEYLeZvDLIvA9A9wgVBy+arMSg== 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)(396003)(39860400002)(136003)(366004)(7696005)(9686003)(122000001)(186003)(4326008)(316002)(5660300002)(86362001)(38070700005)(55016002)(38100700002)(64756008)(110136005)(83380400001)(66446008)(54906003)(52536014)(66556008)(33656002)(71200400001)(53546011)(6506007)(478600001)(26005)(66946007)(8676002)(66476007)(8936002)(2906002)(76116006);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qursAKSdL+uhnyYoo51Pjwu5dtPYqhjXPp1ISoEpZIYQLU3YbJPfSbqWFDoc?= =?us-ascii?Q?TYFDsS7HK7L7y2sZxFdu9Zp7bpg6fwlSAfkeiiU3+vTZXXHxBF1pHtwNS8EK?= =?us-ascii?Q?jeYxJxvQxLwS0rLDkg6doEHK5KDTzJWTsMet8Z6JhgcoK8aQ0osQqx+YyYqT?= =?us-ascii?Q?qJdpOSNN/RAOebCDXcBti1ypm4t2pmV4ZKu5snj7gQ1XnbFTlnB3ewdBhBGZ?= =?us-ascii?Q?z/HXx0OhVgDxOoP7XyuwXKkEMQVlWjzLuymcgZV/2M+aKqXD2FmKFcyNQmM7?= =?us-ascii?Q?HDiKMyQU4smjH/QS8Kds32n5d2VhKMhbdIMx3azi6NYMRw/speTajnrTgm4x?= =?us-ascii?Q?DRIp/Yfy9vrOVzO3/zSaFmMvg9T2TkSUI33QUAx+wzcfmCR5cCHr+X2PvMy5?= =?us-ascii?Q?cSKBE6iGCFtSCFDPDGmXUu+1rkrzPtbRtLJH3B9voENpIzGWhZfdDGa3GLr1?= =?us-ascii?Q?enKVwu+jENbECPKBaWO4aQxs9LLzzbie3uqzHGPrdci+u/VznLN68+c52p1u?= =?us-ascii?Q?RCKIgjrrioZO+n5O1QctiPgdq3MjpSr85m3rUkKJw+Za49z69ZuEUWovMvAg?= =?us-ascii?Q?+QOcq+diHHtmBdd+ZP5o4LTtt6ryA1SDzzuq8ZQJEYz2YKRYT0SB2gMFwt8s?= =?us-ascii?Q?nZus6rISkh3fsXtCKRoIjNT7FlhpwT9CK+Tp8zyBh7YjGz8wzyxRmTRQVQ3L?= =?us-ascii?Q?0Vw6aFVJV6WgGkdkMnh3W5FAYFmUHSye3OWNxB170Nm2ERy/fT70GGwPpBAk?= =?us-ascii?Q?Me0SwIFKRiTXSvDd+y7NUy00L0jD/bQoQSd5Fnav+EMlc+aEwQnLrkPHog9x?= =?us-ascii?Q?qTpXmHeD+cudYk1Zes94vKZ71tmgPx6GgULJ559qAlJUpCFZOkVU7GVTSk/g?= =?us-ascii?Q?EsKyQbbkALFFOjmR2LKTlTPFFzMoDtECQ7yrzJOOb/rafwcev5S0KjlSM7gQ?= =?us-ascii?Q?QlnLd7uVcEPyol89d3nJae0b+pedrpKVmWxujogcVDNdgoS11ehsZECUV7jH?= =?us-ascii?Q?lV78vV9ugC1p6N0MR0ucYnjCEbV92HqRkEAoilCNOxQ2tspCr31RnT6hLWAG?= =?us-ascii?Q?C5RF4T49bGRg+8nQp1G1NlGIl+mBNBjehYrx9necc6XR3Yv/KQumgL8mo+R+?= =?us-ascii?Q?NKQmzJQWSrF+FG2gKnz/NF6H07f0aEcvD6KuVItUGFFcEIDDR0X3VwhWh7M+?= =?us-ascii?Q?bM5hoBm44bOMBu2vAUxJMb7v49qPB9Zlevsjy2jKq4LRojXqh3rzWo5yVS26?= =?us-ascii?Q?jqj8VwTA4q8IWc32kpq4FBC/nGuw0ao5CaMW47JMvFlNz/iLlL8Xv9gD4KWW?= =?us-ascii?Q?8PaBCRq7lIoH4MqQJa75BnO4?= 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: e7fbf219-e093-47a1-5036-08d9639bef87 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Aug 2021 05:32:43.8509 (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: bNQo+3jdXZG/ZfAh0WQAuuvKEicxWY04dA+2uchrFU4lXAbcB8QmN4kQYO/LtXn0U1eneiZJKmHj5y8AlCOwnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4033 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: zhoucheng > Sent: Thursday, August 19, 2021 3:31 PM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Wu, Hao A ; Liming > Gao > Subject: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display >=20 > Displays the Nvme total capacity. >=20 > Signed-off-by: Cheng Zhou > Reviewed-by: Hao A Wu >=20 > Cc: Ray Ni > Cc: Hao A Wu > Cc: Liming Gao > --- > MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > index 95f8b18bc4f8..450d372b2faa 100644 > --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > @@ -931,6 +931,8 @@ NvmeControllerInit ( > DEBUG ((EFI_D_INFO, " SN : %a\n", Sn)); > DEBUG ((EFI_D_INFO, " MN : %a\n", Mn)); > DEBUG ((EFI_D_INFO, " FR : 0x%x\n", *((UINT64*)Private- > >ControllerData->Fr))); > + DEBUG ((DEBUG_INFO, " TNVMCAP (high 8-byte) : 0x%lx\n", > *((UINT64*)(Private->ControllerData->Tnvmcap + 8)))); > + DEBUG ((DEBUG_INFO, " TNVMCAP (low 8-byte) : 0x%lx\n", > *((UINT64*)Private->ControllerData->Tnvmcap))); Reviewed-by: Hao A Wu Best Regards, Hao Wu > DEBUG ((EFI_D_INFO, " RAB : 0x%x\n", Private->ControllerData-= >Rab)); > DEBUG ((EFI_D_INFO, " IEEE : 0x%x\n", *(UINT32*)Private- > >ControllerData->Ieee_oui)); > DEBUG ((EFI_D_INFO, " AERL : 0x%x\n", Private->ControllerData- > >Aerl)); > -- > 2.17.1