From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id 53CBB941D10 for ; Mon, 5 Aug 2024 16:18:07 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=aJO0ingNxPV78aZ0OaRqjwsP1XIpoT1EZs5UBKDbgUQ=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1722874687; v=1; b=JEfsvFoZZ8mFbluoo5pJ6z5wx61JkxqNx8pUmC7eMKDI0Cez6YymdIHbjaS97X/PFTdxJNtF jPOggxUafy3WjCdNv6NOm16r13FJsrHUXoLrPktjMD9hO11o2upd6orouP+bDUOVvbUr+YgZOEU 9DkVBE9810zwfMd1IYvYKjQLYycWb4vHns/aq+A/lselQEOCNKHIm8S3ULxDSBa4gAp4Rk1SYuO JDiw4qSBxjSre6Ex8GxfvF6fbhaUVLsAIqLg1AtmRsh1GvI6nkHhsrMx455DvE1KdHu71RKjO2g TG5LtlcgJunIK+FXYZDRUmltjhl9u8z88KQBKCkvwKKxg== X-Received: by 127.0.0.2 with SMTP id HYahYY7687511x4LfaWAtGp5; Mon, 05 Aug 2024 09:18:05 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.12123.1722874684597227027 for ; Mon, 05 Aug 2024 09:18:04 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CCA84106F; Mon, 5 Aug 2024 09:18:29 -0700 (PDT) X-Received: from [192.168.20.57] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F1C923F6A8; Mon, 5 Aug 2024 09:17:59 -0700 (PDT) Message-ID: Date: Mon, 5 Aug 2024 11:17:58 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] [PATCH edk2-platforms 0/2] Switch all platforms to [Peiless]Sec To: Rebecca Cran , devel@edk2.groups.io, ardb@kernel.org Cc: Leif Lindholm , Abdul Lateef Attar , Abner Chang , Chuong Tran , Graeme Gregory , Marcin Juszkiewicz , Marcin Wojtas , Meenakshi Aggarwal , Narinder Dhillon , Nhi Pham , Paul Grimes , Rebecca Cran , Sami Mujawar , Thomas Abraham , Wenyi Xie , Ling Jia , Peng Xie , Yiqi Shu References: <20240731163334.6979-1-ardb@kernel.org> <841a1869-2cd4-4ba4-aea0-12b2f1b90d86@arm.com> <42ab5584-3887-45e4-b08e-d82c8cc822e0@arm.com> <74d6cf49-d046-49c6-8480-7809d632c04e@bsdio.com> <77fe8412-114c-4089-89ec-20e8507a626c@arm.com> From: "Jeremy Linton" In-Reply-To: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 05 Aug 2024 09:18:04 -0700 Resent-From: jeremy.linton@arm.com Reply-To: devel@edk2.groups.io,jeremy.linton@arm.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: dOBldQxKXjKS113CZOCQ0Brkx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=JEfsvFoZ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=arm.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io Hi, On 8/2/24 06:44, Rebecca Cran wrote: > On 8/1/24 12:50, Jeremy Linton wrote: >> On 8/1/24 10:50, Rebecca Cran wrote: >>> On 8/1/24 9:43 AM, Ard Biesheuvel wrote: >>> >>>> Haven't noticed this one myself. The only issue I hit once in a while >>>> (but only with DEBUG builds as far as I am aware) is an ASSERT() on >>>> some XhciDxe control register read (or perhaps a timeout?) >>> >>> This might be the XHCI bug where there's missing error handling=20 >>> around a controller reset failure. I have a patch to send to fix it. >>> >>> >> >> I would second the please send the patch request. I've got a USB raid=20 >> enclosure I carried a patch for a few years similar to the one in this= =20 >> discussion:=C2=A0 https://edk2.groups.io/g/devel/message/58193 >=20 > I've created a PR with the patch:=20 > https://github.com/tianocore/edk2/pull/6033 >=20 Hi, so that patch doesn't fix the USB/XHCI error I posted last week, and=20 that's largely because its not fixing the out of resources issues which=20 happen when the controller is repeatedly reset. Which itself is in=20 error, because the returned check condition is valid, but indicating the=20 device doesn't support the requested command. So the usb subsystem=20 should _NOT_ be repeatedly resetting, rather it should be trying to use=20 a different command, or simply ignoring the device since reset implies=20 there is something wrong with the device/communications channel. Which=20 isn't the case, the device is perfectly happy, its simply refusing the=20 requested command. Also, I hit the MMC error again on the rpi, it seems to be a block size=20 overflow that isn't being handled correctly. The request is for more=20 data than a single write the SD card I have seems to support. So, then=20 it should be sending the remaining block, but its getting stuck sending=20 MMC_CMD13, presumably waiting for the previous write to complete, which=20 never happens. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120236): https://edk2.groups.io/g/devel/message/120236 Mute This Topic: https://groups.io/mt/107649429/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-