[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <623ced08cabcb92763f75f13cd9a6c67d8b10fc6.camel@mediatek.com>
Date: Tue, 30 May 2023 10:04:21 +0000
From: Powen Kao (高伯文) <Powen.Kao@...iatek.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>,
"jejb@...ux.ibm.com" <jejb@...ux.ibm.com>,
"avri.altman@....com" <avri.altman@....com>,
"bvanassche@....org" <bvanassche@....org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"matthias.bgg@...il.com" <matthias.bgg@...il.com>,
"angelogioacchino.delregno@...labora.com"
<angelogioacchino.delregno@...labora.com>
CC: Peter Wang (王信友)
<peter.wang@...iatek.com>,
Eddie Huang (黃智傑)
<eddie.huang@...iatek.com>,
CC Chou (周志杰) <cc.chou@...iatek.com>,
Alice Chao (趙珮均)
<Alice.Chao@...iatek.com>,
Ed Tsai (蔡宗軒) <Ed.Tsai@...iatek.com>,
wsd_upstream <wsd_upstream@...iatek.com>,
Chun-Hung Wu (巫駿宏)
<Chun-hung.Wu@...iatek.com>,
Naomi Chu (朱詠田) <Naomi.Chu@...iatek.com>,
Stanley Chu (朱原陞)
<stanley.chu@...iatek.com>
Subject: Re: [PATCH v2 1/1] scsi: ufs: core: Make UFS_MCQ_NUM_DEV_CMD_QUEUES a
module parameter
On Tue, 2023-05-30 at 09:24 +0200, AngeloGioacchino Del Regno wrote:
>
> I imagine that MediaTek's UFS IP does not support dev_cmd_queues=1,
> does it?
>
> In that case, this should not be a UFS module parameter, but a
> setting that
> you provide from ufs-mediatek instead.
>
> Regards,
> Angelo
Hi Angelo
Our IP do work with dev_cmd_queues=1, but sacrifice one hwq
specifically for dev commands leaving (N-1) hwq to (N) CPUs for
submission doesn't make much sense.
Actually I would prefer making it a dts property than module parameter,
however, to match convention like `poll_queues` module parameters is
chosen.
Po-Wen
Powered by blists - more mailing lists