From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.web10.49230.1670337061939621762 for ; Tue, 06 Dec 2022 06:31:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZpwDQzpr; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: quicinc.com, ip: 205.220.168.131, mailfrom: quic_rcran@quicinc.com) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B6BNWRp021996; Tue, 6 Dec 2022 14:30:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=BBnr7MqhPgf6IYLOXbJI4Oyy8+ZcRHG3smRUfYEGWBc=; b=ZpwDQzprn/IvfKg4W2pRYClAPVw16A3PYkaUdtnbmxNIewQeJvVYt7mCgaloXaWCeG/q joDiso297thb+HieZrZcZl1b1D+kfoQtxPP0UuXPKjkaK7ISScsS+8YfDoExcveP80Ah K+5/rlK3M8B2BYq9h3qhFOroQI9Z5O1IsfqFKya2za3/65J2c/AuqvdD+768fGcmLzWV DVAckt9sbdWiLJS9oNnaas+5GqLt8XlQeyav3thLWzZXkDitpP78LMLnZVOSXRO+kSHs Gfc0FIFTC3K47StC5hVxMPp2s2yZM82US1nOTP0RYFFryZHO93j8R0vB88vIfLU7rnpn Mw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m9rypa957-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Dec 2022 14:30:54 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2B6EUrsw023490 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Dec 2022 14:30:53 GMT Received: from linbox.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 6 Dec 2022 06:30:53 -0800 From: "Rebecca Cran" To: , Liming Gao , Ray Ni , J Wang , Hao Wu CC: Rebecca Cran Subject: [PATCH v2 0/1] MdeModulePkg: Put USB DEBUGs that occur for bulk timeouts under VERBOSE Date: Tue, 6 Dec 2022 07:30:38 -0700 Message-ID: <20221206143039.278566-1-rebecca@quicinc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 15YxCTkcfbnZOpPPgTq-tnw2QoXel9ES X-Proofpoint-GUID: 15YxCTkcfbnZOpPPgTq-tnw2QoXel9ES X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-06_10,2022-12-06_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 adultscore=0 impostorscore=0 mlxlogscore=829 priorityscore=1501 mlxscore=0 spamscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212060119 Content-Transfer-Encoding: 8bit Content-Type: text/plain *Changes between v1 and v2* Only switch to DEBUG_VERBOSE for EFI_TIMEOUT errors. Test Pull Request: https://github.com/tianocore/edk2/pull/3705 --- MdeModulePkg: Put USB DEBUGs that occur for bulk timeouts under VERBOSE With the pending commit of UsbNetworkPkg, it will become common for UsbBulkTransfer calls to timeout, given that the drivers are called from MnpSystemPoll every MNP_SYS_POLL_INTERVAL milliseconds: the drivers check for network packets by calling UsbBulkTransfer with a timeout of 1ms. Avoid console spam by moving DEBUG messages that occur each time a bulk transfer request times out from DEBUG_ERROR to DEBUG_VERBOSE, for both EHCI and XHCI drivers. Rebecca Cran (1): MdeModulePkg: Put USB DEBUGs that occur for bulk timeouts under VERBOSE MdeModulePkg/Bus/Pci/EhciDxe/Ehci.c | 9 ++++++++- MdeModulePkg/Bus/Pci/EhciDxe/EhciSched.c | 2 +- MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c | 9 ++++++++- MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | 6 +++--- 4 files changed, 20 insertions(+), 6 deletions(-) -- 2.30.2