[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <64bbe1aa-db10-4766-bcde-71a36d853987@acm.org>
Date: Tue, 18 Nov 2025 09:31:57 -0800
From: Bart Van Assche <bvanassche@....org>
To: Peter Wang (王信友) <peter.wang@...iatek.com>,
"sh043.lee@...sung.com" <sh043.lee@...sung.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
Subject: Re: [PATCH] UFS: Make TM command timeout configurable from host side
On 11/17/25 9:55 PM, Peter Wang (王信友) wrote:
> However, in extreme cases, it’s possible that after a 30-second
> timeout, the device just send a response, and at the same time,
> when the host receives the response, the IRQ is pending by system.
> (other irq is executing or spin_lock_irq, etc)
It is not clear to me how this could happen? If a response is not
received in time from the UFS device, an abort TMF is sent. If the
device does not respond to the abort TMF, the UFS device is reset
(ufshcd_device_reset() is called if ufshcd_abort_all() fails). This
prevents that a response can be received after the error handler has
finished, isn't it?
Thanks,
Bart.
Powered by blists - more mailing lists