From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@akeo-ie.20150623.gappssmtp.com header.s=20150623 header.b=RinAOhoL; spf=none, err=permanent DNS error (domain: akeo.ie, ip: 209.85.128.66, mailfrom: pete@akeo.ie) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by groups.io with SMTP; Wed, 17 Jul 2019 04:47:02 -0700 Received: by mail-wm1-f66.google.com with SMTP id w9so18972740wmd.1 for ; Wed, 17 Jul 2019 04:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bI8rXOWHF+i/XF3UCn1JzV2ivCrWt04aLVoLFarC/xw=; b=RinAOhoLURji8sf1pQC3Qmcz9vzAmd+tEL0JKFRtQTl6bCnvv+qZHS2UyrIcA06wpT bPVXzqeCukA+2ILIBp0Q8DQhcUgQj2tgRxfk1fKEoZv+7bVOlyW/tjqiXg17hmDITe3K CbGaWrkEsOaSw/vgLzqlfnchhyi14GlEKGF0xdSJH0M7gfEsMcQe1XWdvov0xRzcTjm/ lCqeKkQ8s032SC9jXIVmbdd+0QwBX/yxTLAQEpZA1lozZQX60V//LLkZvlODOF7AnVXD zB8RrRP8xpuT7aSq5JWPoWq6vi1CyXn1v5FWEenxuKjVu0HtusPyBcioteP7I4f2zahy DClw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bI8rXOWHF+i/XF3UCn1JzV2ivCrWt04aLVoLFarC/xw=; b=auFlESGWhFgEm8q/SFZ2REqSMVVJzG3c2A1Q2A5E28oMm6SAvK+jjchLqij43/a/c/ Gq9aM8To2ThBH/i8jdW5pP8dhY7GljHCBdo7Zl6pnbPcYO/x2C5L+SvnoWhKfZqx6x1Q /66HXiR2+NmrwYFo+GzHdl0bpnNjwmilUhsa+XZF0KmjNjSFbCfq22CB5LqUiQv1c0pE LrzDSM0cP1X0hmx/YQyGoDvy6MBJc/McURlRjTBhiNblrJW9aBtRX/PtbrN4QXvhVDhl Ugp7vVPGOCatvVqg7igrNhzcxQEH6X+h/zeWM35Jmatchp4bAgwM+U1A0mK4ugp0cCgX IKtg== X-Gm-Message-State: APjAAAXVSAFH7JR4wRDaPrlBIAhcEtyXqrEKF6i3WuI+DBpXJYSnB9f+ GmoVhxHO3a2PCoJp89ZhYEWw3vhK X-Google-Smtp-Source: APXvYqw72JOEbs82LMcVUGNaeBXL1gqoXB/Q576VqzAZG+hbqi0/6kIJ+YWKdQZFdHMNHWgf0qKXeQ== X-Received: by 2002:a7b:c04f:: with SMTP id u15mr35869968wmc.106.1563364017920; Wed, 17 Jul 2019 04:46:57 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([84.203.61.230]) by smtp.gmail.com with ESMTPSA id c3sm26885778wrx.19.2019.07.17.04.46.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jul 2019 04:46:56 -0700 (PDT) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif.lindholm@linaro.org Subject: [edk2-platforms: PATCH 0/3] Platform/RPi3: Improve timeout handling in DwUsbHostDxe Date: Wed, 17 Jul 2019 12:46:42 +0100 Message-Id: <20190717114645.7776-1-pete@akeo.ie> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Networking applications (e.g. iPXE) might experience failures when submitting a bulk IN for the NIC's RX endpoint, because the bulk IN (correctly) times out when no received packet is waiting, but DwUsbHostDxe.c treats this as a fatal error. With these patches, iPXE is able to successfully download a 128MB test file via HTTP. Michael Brown (3): Platform/RPi3: Use Wait4Bit return value consistently Platform/RPi3: Gracefully disable USB channel after a timeout Platform/RPi3: Reduce debug noise when using a USB network device Platform/RaspberryPi/RPi3/Drivers/DwUsbHostDxe/DwUsbHostDxe.c | 44 +++++++++++--------- 1 file changed, 25 insertions(+), 19 deletions(-) -- 2.21.0.windows.1