public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Jeremy Linton" <jeremy.linton@arm.com>
To: Rebecca Cran <rebecca@bsdio.com>, devel@edk2.groups.io, ardb@kernel.org
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
	Abdul Lateef Attar <AbdulLateef.Attar@amd.com>,
	Abner Chang <abner.chang@amd.com>,
	Chuong Tran <chuong@os.amperecomputing.com>,
	Graeme Gregory <graeme@xora.org.uk>,
	Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>,
	Marcin Wojtas <marcin.s.wojtas@gmail.com>,
	Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>,
	Narinder Dhillon <ndhillon@marvell.com>,
	Nhi Pham <nhi@os.amperecomputing.com>,
	Paul Grimes <paul.grimes@amd.com>,
	Rebecca Cran <rebecca@os.amperecomputing.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	Thomas Abraham <thomas.abraham@arm.com>,
	Wenyi Xie <xiewenyi2@huawei.com>,
	Ling Jia <jialing@phytium.com.cn>,
	Peng Xie <xiepeng@phytium.com.cn>,
	Yiqi Shu <shuyiqi@phytium.com.cn>
Subject: Re: [edk2-devel] [PATCH edk2-platforms 0/2] Switch all platforms to [Peiless]Sec
Date: Mon, 5 Aug 2024 11:17:58 -0500	[thread overview]
Message-ID: <ac212fa9-2131-40f0-b259-38d5731a7d60@arm.com> (raw)
In-Reply-To: <fbd204b6-160e-4819-9f01-5817e8c08cd0@bsdio.com>

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 
>>> 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 
>> enclosure I carried a patch for a few years similar to the one in this 
>> discussion:  https://edk2.groups.io/g/devel/message/58193
> 
> I've created a PR with the patch: 
> https://github.com/tianocore/edk2/pull/6033
> 


Hi, so that patch doesn't fix the USB/XHCI error I posted last week, and 
that's largely because its not fixing the out of resources issues which 
happen when the controller is repeatedly reset. Which itself is in 
error, because the returned check condition is valid, but indicating the 
device doesn't support the requested command. So the usb subsystem 
should _NOT_ be repeatedly resetting, rather it should be trying to use 
a different command, or simply ignoring the device since reset implies 
there is something wrong with the device/communications channel. Which 
isn't the case, the device is perfectly happy, its simply refusing the 
requested command.


Also, I hit the MMC error again on the rpi, it seems to be a block size 
overflow that isn't being handled correctly. The request is for more 
data than a single write the SD card I have seems to support. So, then 
it should be sending the remaining block, but its getting stuck sending 
MMC_CMD13, presumably waiting for the previous write to complete, which 
never happens.




-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2024-08-05 16:18 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 16:33 [edk2-devel] [PATCH edk2-platforms 0/2] Switch all platforms to [Peiless]Sec Ard Biesheuvel
2024-07-31 16:33 ` [edk2-devel] [PATCH edk2-platforms 1/2] Platform AARCH64: Move PrePeiCore users to Sec.inf Ard Biesheuvel
2024-08-01 15:25   ` Nhi Pham via groups.io
2024-08-05 19:14   ` Marcin Juszkiewicz
2024-08-06 14:08     ` Leif Lindholm
2024-07-31 16:33 ` [edk2-devel] [PATCH edk2-platforms 2/2] Platform AARCH64: Move PrePi users to PeilessSec.inf Ard Biesheuvel
2024-08-01  9:21 ` [edk2-devel] [PATCH edk2-platforms 0/2] Switch all platforms to [Peiless]Sec Sami Mujawar
2024-08-01 13:49 ` Jeremy Linton
2024-08-01 14:11   ` Ard Biesheuvel
2024-08-01 14:44     ` Ard Biesheuvel
2024-08-01 15:19       ` Jeremy Linton
2024-08-01 15:43         ` Ard Biesheuvel
2024-08-01 15:50           ` Rebecca Cran
2024-08-01 15:54             ` Ard Biesheuvel
2024-08-01 18:50             ` Jeremy Linton
2024-08-02 11:44               ` Rebecca Cran
2024-08-05 16:17                 ` Jeremy Linton [this message]
2024-08-06 14:10         ` Leif Lindholm
2024-08-27 16:37           ` Ard Biesheuvel via groups.io
2024-08-28  3:54             ` Jeremy Linton
2024-08-28  7:54               ` Ard Biesheuvel via groups.io

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac212fa9-2131-40f0-b259-38d5731a7d60@arm.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox