From: "Powen Kao (高伯文)" <Powen.Kao@mediatek.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"jejb@linux.ibm.com" <jejb@linux.ibm.com>,
"avri.altman@wdc.com" <avri.altman@wdc.com>,
"bvanassche@acm.org" <bvanassche@acm.org>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"alim.akhtar@samsung.com" <alim.akhtar@samsung.com>,
"huobean@gmail.com" <huobean@gmail.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>
Cc: "Peter Wang (王信友)" <peter.wang@mediatek.com>,
"Eddie Huang (黃智傑)" <eddie.huang@mediatek.com>,
"Jiajie Hao (郝加节)" <jiajie.hao@mediatek.com>,
"CC Chou (周志杰)" <cc.chou@mediatek.com>,
"Alice Chao (趙珮均)" <Alice.Chao@mediatek.com>,
wsd_upstream <wsd_upstream@mediatek.com>,
"Chun-Hung Wu (巫駿宏)" <Chun-hung.Wu@mediatek.com>,
"Chaotian Jing (井朝天)" <Chaotian.Jing@mediatek.com>,
"Naomi Chu (朱詠田)" <Naomi.Chu@mediatek.com>,
"Stanley Chu (朱原陞)" <stanley.chu@mediatek.com>,
"Mason Zhang (章辉)" <Mason.Zhang@mediatek.com>
Subject: Re: [PATCH v3 4/6] scsi: ufs: core: Remove redundant check
Date: Wed, 1 Mar 2023 03:38:45 +0000 [thread overview]
Message-ID: <e1f2b4da3f706d670c0f739d0da8597135d107e7.camel@mediatek.com> (raw)
In-Reply-To: <eda65f0b-bbd1-5e3d-5d85-a5686a06ba5a@gmail.com>
Hi Bean,
Yes, looks like it's fixed by that patch.
Please drop this one then.
On Sun, 2023-02-26 at 17:23 +0100, Bean Huo wrote:
> On 23.02.23 4:27 PM, Po-Wen Kao wrote:
> > is_mcq_supported() already check on use_mcq_mode.
> >
> > Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com>
> > Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
> > Reviewed-by: Ziqi Chen <quic_ziqichen@quicinc.com>
> > ---
> > drivers/ufs/core/ufshcd.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
> > index 81c9f07ebfc8..3357cfa23616 100644
> > --- a/drivers/ufs/core/ufshcd.c
> > +++ b/drivers/ufs/core/ufshcd.c
> > @@ -8544,7 +8544,7 @@ static int ufshcd_device_init(struct ufs_hba
> > *hba, bool init_dev_params)
> > hba->scsi_host_added = true;
> > }
> > /* MCQ may be disabled if ufshcd_alloc_mcq() fails */
> > - if (is_mcq_supported(hba) && use_mcq_mode)
>
> This has been removed/optimized by commit:
>
>
https://urldefense.com/v3/__https://patches.linaro.org/project/linux-scsi/patch/8840cea4a57b46dabce18acc39afc50ab826330f.1676567593.git.quic_asutoshd@quicinc.com/__;!!CTRNKA9wMg0ARbw!legN0lOmB4vG3dFE4M0Wm1kLquVrJo9db7WDDHm6YMc2VM2QAhGFKYo9qZmrGnkLM-UNpgMOni5aor9swQ$
>
>
> so this patch is not necessary anymore???
>
>
> > + if (is_mcq_supported(hba))
> > ufshcd_config_mcq(hba);
> > }
> >
next prev parent reply other threads:[~2023-03-01 3:39 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 15:27 [PATCH v3 0/6] Several UFS MCQ Code Changes Po-Wen Kao
2023-02-23 15:27 ` [PATCH v3 1/6] scsi: ufs: core: Fix mcq tag calcualtion Po-Wen Kao
2023-02-23 15:27 ` [PATCH v3 2/6] scsi: ufs: core: Rename symbols Po-Wen Kao
2023-03-01 7:12 ` Manivannan Sadhasivam
2023-02-23 15:27 ` [PATCH v3 3/6] scsi: ufs: core: Fix mcq nr_hw_queues Po-Wen Kao
2023-02-26 16:10 ` Bean Huo
2023-03-01 7:13 ` Manivannan Sadhasivam
2023-02-23 15:27 ` [PATCH v3 4/6] scsi: ufs: core: Remove redundant check Po-Wen Kao
2023-02-26 16:23 ` Bean Huo
2023-03-01 3:38 ` Powen Kao (高伯文) [this message]
2023-02-23 15:27 ` [PATCH v3 5/6] scsi: ufs: core: Export symbols for MTK driver module Po-Wen Kao
2023-02-23 15:27 ` [PATCH v3 6/6] scsi: ufs: ufs-mediatek: Add MCQ support for MTK platform Po-Wen Kao
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=e1f2b4da3f706d670c0f739d0da8597135d107e7.camel@mediatek.com \
--to=powen.kao@mediatek.com \
--cc=Alice.Chao@mediatek.com \
--cc=Chaotian.Jing@mediatek.com \
--cc=Chun-hung.Wu@mediatek.com \
--cc=Mason.Zhang@mediatek.com \
--cc=Naomi.Chu@mediatek.com \
--cc=alim.akhtar@samsung.com \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=cc.chou@mediatek.com \
--cc=eddie.huang@mediatek.com \
--cc=huobean@gmail.com \
--cc=jejb@linux.ibm.com \
--cc=jiajie.hao@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=matthias.bgg@gmail.com \
--cc=peter.wang@mediatek.com \
--cc=stanley.chu@mediatek.com \
--cc=wsd_upstream@mediatek.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