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 12235740032 for ; Thu, 1 Aug 2024 18:50:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=BNNVPu1NZjuGOkkdU4PfXai5NMDtnHXi1MrVgzVepOE=; 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=1722538213; v=1; b=Oz0l1dVPjwUW2PDBNi6xN/Onv19bIJ82jxswk3lk8ARIV4h+auiUqomCkm/ftP+pYRoJKjnL PUDtQNAVU2rmQwMgeTTWr1AfDX40yTUnh3se5xuaVI6T/DWKGM47gkgwnGyz2GL286nxpFHlfXh quTUUW0N1kIhxUC4efy1qCXR6GLZyBdXCVwx8fwzAAdGkEiSaeL7DfQLct+F2IFAjATMeccXfQw rxgkLJ1WXSkK4gCJGicKJb1g0HwUSTHBs1iffROEitwzn/pouK3lXdM2SW7w/lLIbyidaCTypO+ +h0Bs2IgSz/bMHbEQUNlCOoamhbLAGbRNatBa3HA3Ktrg== X-Received: by 127.0.0.2 with SMTP id CpIIYY7687511xVrzJHnhLfy; Thu, 01 Aug 2024 11:50:12 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.76090.1722538211776386210 for ; Thu, 01 Aug 2024 11:50:12 -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 C27001007; Thu, 1 Aug 2024 11:50:36 -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 9831D3F766; Thu, 1 Aug 2024 11:50:06 -0700 (PDT) Message-ID: <77fe8412-114c-4089-89ec-20e8507a626c@arm.com> Date: Thu, 1 Aug 2024 13:50:05 -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> From: "Jeremy Linton" In-Reply-To: <74d6cf49-d046-49c6-8480-7809d632c04e@bsdio.com> 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: Thu, 01 Aug 2024 11:50:12 -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: 5hJosb47e08RhM0nfepJDV8sx7686176AA= 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=Oz0l1dVP; 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 On 8/1/24 10:50, Rebecca Cran wrote: > On 8/1/24 9:43 AM, Ard Biesheuvel wrote: >=20 >> 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?) >=20 > This might be the XHCI bug where there's missing error handling around a= =20 > controller reset failure. I have a patch to send to fix it. >=20 >=20 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: https://edk2.groups.io/g/devel/message/58193 Plugging a jmicron based yottamaster JBOD into an edk2/xhci setup is=20 still a 100% guaranteed crash, and with the recent rework in=20 UsbIoPortReset()/etc now fails like: https://paste.centos.org/view/fbff41dc UsbIoPortReset: Failed to set configuration - Out of Resources Synchronous Exception at 0x0000000036A5635C PC 0x000036A5635C (0x000036A55000+0x0000135C) [ 0] UsbBusDxe.dll PC 0x000036A576D0 (0x000036A55000+0x000026D0) [ 0] UsbBusDxe.dll PC 0x000036A44E00 (0x000036A42000+0x00002E00) [ 1] UsbMassStorageDxe.dll PC 0x000036A45888 (0x000036A42000+0x00003888) [ 1] UsbMassStorageDxe.dll PC 0x000036A46D74 (0x000036A42000+0x00004D74) [ 1] UsbMassStorageDxe.dll PC 0x000036A46F00 (0x000036A42000+0x00004F00) [ 1] UsbMassStorageDxe.dll PC 0x000036CC0EBC (0x000036CBD000+0x00003EBC) [ 2] DiskIoDxe.dll PC 0x000036CB82CC (0x000036CB3000+0x000052CC) [ 3] PartitionDxe.dll PC 0x000036CB590C (0x000036CB3000+0x0000290C) [ 3] PartitionDxe.dll PC 0x000039F37FAC (0x000039F33000+0x00004FAC) [ 4] DxeCore.dll PC 0x000039F38250 (0x000039F33000+0x00005250) [ 4] DxeCore.dll PC 0x000036A5A748 (0x000036A55000+0x00005748) [ 5] UsbBusDxe.dll PC 0x000036A5B1D0 (0x000036A55000+0x000061D0) [ 5] UsbBusDxe.dll PC 0x000036A5CBA4 (0x000036A55000+0x00007BA4) [ 5] UsbBusDxe.dll PC 0x000036A5CDF0 (0x000036A55000+0x00007DF0) [ 5] UsbBusDxe.dll -=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 (#120193): https://edk2.groups.io/g/devel/message/120193 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-