From: "Wu, Hao A" <hao.a.wu@intel.com>
To: zhoucheng <zhoucheng@phytium.com.cn>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Ni, Ray" <ray.ni@intel.com>, Liming Gao <gaoliming@byosoft.com.cn>
Subject: Re: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display
Date: Fri, 20 Aug 2021 05:32:43 +0000 [thread overview]
Message-ID: <BN8PR11MB3666C51504BB74A265E2E291CAC19@BN8PR11MB3666.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20210819073056.3996-3-zhoucheng@phytium.com.cn>
> -----Original Message-----
> From: zhoucheng <zhoucheng@phytium.com.cn>
> Sent: Thursday, August 19, 2021 3:31 PM
> To: devel@edk2.groups.io
> Cc: Ni, Ray <ray.ni@intel.com>; Wu, Hao A <hao.a.wu@intel.com>; Liming
> Gao <gaoliming@byosoft.com.cn>
> Subject: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display
>
> Displays the Nvme total capacity.
>
> Signed-off-by: Cheng Zhou <zhoucheng@phytium.com.cn>
> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> ---
> MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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 <hao.a.wu@intel.com>
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
next prev parent reply other threads:[~2021-08-20 5:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-19 7:30 [PATCH v1 0/2] MdeModulePkg:Increase Nvme capacity display zhoucheng
2021-08-19 7:30 ` [PATCH v1 1/2] MdePkg:Update IndustryStandard/Nvme.h with Nvme amdin controller data zhoucheng
2021-08-20 5:32 ` [edk2-devel] " Wu, Hao A
2021-08-19 7:30 ` [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display zhoucheng
2021-08-20 5:32 ` Wu, Hao A [this message]
2021-08-30 3:46 ` [edk2-devel] [PATCH v1 0/2] " Wu, Hao A
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BN8PR11MB3666C51504BB74A265E2E291CAC19@BN8PR11MB3666.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox