From nobody Mon Sep 16 19:36:18 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=intel.com Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1528774604107461.8585846639012; Mon, 11 Jun 2018 20:36:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 885E7211CED7C; Mon, 11 Jun 2018 20:36:40 -0700 (PDT) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id BC539211CAC92 for ; Mon, 11 Jun 2018 20:36:39 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2018 20:36:39 -0700 Received: from shwdeopenpsi014.ccr.corp.intel.com ([10.239.9.10]) by orsmga003.jf.intel.com with ESMTP; 11 Jun 2018 20:36:38 -0700 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,213,1526367600"; d="scan'208";a="58456175" From: Hao Wu To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 11:36:33 +0800 Message-Id: <20180612033634.35404-2-hao.a.wu@intel.com> X-Mailer: git-send-email 2.12.0.windows.1 In-Reply-To: <20180612033634.35404-1-hao.a.wu@intel.com> References: <20180612033634.35404-1-hao.a.wu@intel.com> Subject: [edk2] [PATCH 1/2] MdeModulePkg/NvmExpressDxe: Adjust R/W DEBUG prints to BLKIO level X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hao Wu , Eric Dong , Star Zeng , Ard Biesheuvel MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D980 Adjust the DEBUG prints within function: NvmeRead(), NvmeWrite(), AsyncNvmeRead() and AsyncNvmeWrite() to DEBUG_BLKIO for the consistency with other storage device drivers (e.g. ATA, USB and etc.). Cc: Ard Biesheuvel Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Hao Wu Reviewed-by: Star Zeng --- MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c b/MdeMo= dulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c index 734e1286c6..6c415109c1 100644 --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressBlockIo.c @@ -2,7 +2,7 @@ NvmExpressDxe driver is used to manage non-volatile memory subsystem whi= ch follows NVM Express specification. =20 - Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may b= e found at @@ -218,7 +218,7 @@ NvmeRead ( } } =20 - DEBUG ((EFI_D_VERBOSE, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " + DEBUG ((DEBUG_BLKIO, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " "Remaining =3D 0x%08Lx, BlockSize =3D 0x%x, Status =3D %r\n", __FUNCTI= ON__, Lba, (UINT64)OrginalBlocks, (UINT64)Blocks, BlockSize, Status)); =20 @@ -296,7 +296,7 @@ NvmeWrite ( } } =20 - DEBUG ((EFI_D_VERBOSE, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " + DEBUG ((DEBUG_BLKIO, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " "Remaining =3D 0x%08Lx, BlockSize =3D 0x%x, Status =3D %r\n", __FUNCTI= ON__, Lba, (UINT64)OrginalBlocks, (UINT64)Blocks, BlockSize, Status)); =20 @@ -802,7 +802,7 @@ NvmeAsyncRead ( } } =20 - DEBUG ((EFI_D_VERBOSE, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " + DEBUG ((DEBUG_BLKIO, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " "Remaining =3D 0x%08Lx, BlockSize =3D 0x%x, Status =3D %r\n", __FUNCTI= ON__, Lba, (UINT64)OrginalBlocks, (UINT64)Blocks, BlockSize, Status)); =20 @@ -922,7 +922,7 @@ NvmeAsyncWrite ( } } =20 - DEBUG ((EFI_D_VERBOSE, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " + DEBUG ((DEBUG_BLKIO, "%a: Lba =3D 0x%08Lx, Original =3D 0x%08Lx, " "Remaining =3D 0x%08Lx, BlockSize =3D 0x%x, Status =3D %r\n", __FUNCTI= ON__, Lba, (UINT64)OrginalBlocks, (UINT64)Blocks, BlockSize, Status)); =20 --=20 2.12.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel