From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Yihang Li <liyihang9@huawei.com>
Cc: <James.Bottomley@HansenPartnership.com>,
<martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org>,
<linuxarm@huawei.com>, <liuyonglong@huawei.com>,
<prime.zeng@hisilicon.com>
Subject: Re: [PATCH] scsi: hisi_sas: Fixed failure to issue vendor specific commands
Date: Mon, 17 Mar 2025 21:28:40 -0400 [thread overview]
Message-ID: <yq1jz8ndt50.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <d56071d0-44b8-9572-753f-6db23709cf20@huawei.com> (Yihang Li's message of "Thu, 13 Mar 2025 09:08:44 +0800")
Yihang,
>> At present, we determine the protocol through the cmd type, but other
>> cmd types, such as vendor-specific commands, default to the pio
>> protocol. This strategy often causes the execution of different
>> vendor-specific commands to fail. In fact, for these commands, a
>> better way is to use the protocol configured by the command's tf to
>> determine its protocol.
Applied to 6.15/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2025-03-18 1:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 9:00 [PATCH] scsi: hisi_sas: Fixed failure to issue vendor specific commands Yihang Li
2025-03-13 1:08 ` Yihang Li
2025-03-18 1:28 ` Martin K. Petersen [this message]
2025-03-21 0:36 ` Martin K. Petersen
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=yq1jz8ndt50.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=liuyonglong@huawei.com \
--cc=liyihang9@huawei.com \
--cc=prime.zeng@hisilicon.com \
/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