From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5FEEB81D27 for ; Mon, 31 Oct 2016 18:15:44 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 31 Oct 2016 18:15:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,577,1473145200"; d="scan'208";a="25969963" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 31 Oct 2016 18:15:45 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 31 Oct 2016 18:15:44 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0248.002; Tue, 1 Nov 2016 09:15:43 +0800 From: "Zeng, Star" To: "Tian, Feng" , "edk2-devel@lists.01.org" Thread-Topic: [patch v2] MdeModulePkg/Xhci: Change short packet debug message to verbose level Thread-Index: AQHSMzeec9JWvTi6VUSqt7v+IYWm1KDDVGTA Date: Tue, 1 Nov 2016 01:15:42 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB04831039594867@shsmsx102.ccr.corp.intel.com> References: <69dd3c757f76593c6493d973279bc1ef1e28ab18.1477891561.git.feng.tian@intel.com> In-Reply-To: <69dd3c757f76593c6493d973279bc1ef1e28ab18.1477891561.git.feng.tian@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch v2] MdeModulePkg/Xhci: Change short packet debug message to verbose level X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2016 01:15:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Tian, Feng=20 Sent: Monday, October 31, 2016 1:28 PM To: edk2-devel@lists.01.org Cc: Zeng, Star Subject: [patch v2] MdeModulePkg/Xhci: Change short packet debug message to= verbose level Short Packet case is a normal case, we shouldn't print it as an error compared with v1, this patch addes the same fix in XhciPei. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian --- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 2 +- MdeModulePkg/Bus/Pci/Xhci= Pei/XhciSched.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pc= i/XhciDxe/XhciSched.c index b6078b1..e37f674 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c @@ -1167,7 +1167,7 @@ XhcCheckUrbResult ( case TRB_COMPLETION_SHORT_PACKET: case TRB_COMPLETION_SUCCESS: if (EvtTrb->Completecode =3D=3D TRB_COMPLETION_SHORT_PACKET) { - DEBUG ((EFI_D_ERROR, "XhcCheckUrbResult: short packet happens!\n= ")); + DEBUG ((EFI_D_VERBOSE, "XhcCheckUrbResult: short packet=20 + happens!\n")); } =20 TRBType =3D (UINT8) (TRBPtr->Type); diff --git a/MdeModulePkg/Bus/= Pci/XhciPei/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c index 3632e8a..7f554f5 100644 --- a/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c +++ b/MdeModulePkg/Bus/Pci/XhciPei/XhciSched.c @@ -683,7 +683,7 @@ XhcPeiCheckUrbResult ( case TRB_COMPLETION_SHORT_PACKET: case TRB_COMPLETION_SUCCESS: if (EvtTrb->Completecode =3D=3D TRB_COMPLETION_SHORT_PACKET) { - DEBUG ((EFI_D_ERROR, "XhcPeiCheckUrbResult: short packet happens= !\n")); + DEBUG ((EFI_D_VERBOSE, "XhcPeiCheckUrbResult: short packet=20 + happens!\n")); } =20 TRBType =3D (UINT8) (TRBPtr->Type); -- 2.7.1.windows.2