From: Can Guo <cang@codeaurora.org>
To: Kiwoong Kim <kwmad.kim@samsung.com>
Cc: linux-scsi@vger.kernel.org,
'Bart Van Assche' <bvanassche@acm.org>,
'Avri Altman' <avri.altman@wdc.com>,
'Bean Huo' <beanhuo@micron.com>,
'Jaegeuk Kim' <jaegeuk@kernel.org>
Subject: Re: Question about coherency of comand context between ufs and scsi
Date: Tue, 15 Jun 2021 16:07:15 +0800 [thread overview]
Message-ID: <4c0d76848b42aff5c9a2364f97086841@codeaurora.org> (raw)
In-Reply-To: <001301d761bc$03eb57e0$0bc207a0$@samsung.com>
On 2021-06-15 15:56, Kiwoong Kim wrote:
>> If scsi added it into its error command list and wakes-up scsi_eh
>> though the command is actually completed, scsi_eh will invoke
>> eh_abort_handler and the symptom will be duplicated, I think
>>
>> Otherwise, is there anyone who know how to guarantee the coherency?
>
>> In 5.13 kernel, it is scsi_print_command(cmd) in ufshcd_abort(), while
>> in
>> 5.12 and earlier kernel, it is scsi_print_command(hba->lrb[tag].cmd).
>> Which kernel are you using here?
>>
>> Thanks,
>> Can Guo.
>
> Thank you for your information. I'm seeing 5.4.
> Yes, for null pointer, you're right.
> Then, what do you think?
> In the situation I told, is there still the possibility that I
> suggested?
You can make the code change to that line in your project same as 5.13.
Thanks,
Can Guo.
>
> Thanks.
> Kiwoong Kim
next prev parent reply other threads:[~2021-06-15 8:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20210614095245epcas2p2e8512382423332786f584d5ef1e225d3@epcas2p2.samsung.com>
2021-06-14 9:52 ` Question about coherency of comand context between ufs and scsi Kiwoong Kim
2021-06-15 1:09 ` Can Guo
2021-06-15 7:56 ` Kiwoong Kim
2021-06-15 8:07 ` Can Guo [this message]
2021-06-15 8:21 ` Can Guo
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-all 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=4c0d76848b42aff5c9a2364f97086841@codeaurora.org \
--to=cang@codeaurora.org \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=bvanassche@acm.org \
--cc=jaegeuk@kernel.org \
--cc=kwmad.kim@samsung.com \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.