From: Lu Hongfei <luhongfei@vivo.com>
To: Alim Akhtar <alim.akhtar@samsung.com>,
Avri Altman <avri.altman@wdc.com>,
Bart Van Assche <bvanassche@acm.org>,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Lu Hongfei <luhongfei@vivo.com>, Bean Huo <beanhuo@micron.com>,
Can Guo <quic_cang@quicinc.com>,
Arthur Simchaev <arthur.simchaev@wdc.com>,
Stanley Chu <stanley.chu@mediatek.com>,
Manivannan Sadhasivam <mani@kernel.org>,
Asutosh Das <quic_asutoshd@quicinc.com>,
"Bao D. Nguyen" <quic_nguyenb@quicinc.com>,
Po-Wen Kao <powen.kao@mediatek.com>,
Eric Biggers <ebiggers@google.com>,
Keoseong Park <keosung.park@samsung.com>,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Cc: opensource.kernel@vivo.com
Subject: [PATCH v3 1/3] scsi: ufs: core: add wb buffer resize related attr_idn
Date: Mon, 11 Sep 2023 13:57:06 +0800 [thread overview]
Message-ID: <20230911055810.879-2-luhongfei@vivo.com> (raw)
In-Reply-To: <20230911055810.879-1-luhongfei@vivo.com>
As we know, the ballot for resizing the WriteBooster buffer has been
approved.
UFS will support the WB buffer resize function, and UFS driver can
add definitions for attr_idn related to this function to support
this feature.
Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
---
include/ufs/ufs.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/ufs/ufs.h b/include/ufs/ufs.h
index 0cced88f4531..d174702ae960 100644
--- a/include/ufs/ufs.h
+++ b/include/ufs/ufs.h
@@ -179,7 +179,10 @@ enum attr_idn {
QUERY_ATTR_IDN_WB_BUFF_LIFE_TIME_EST = 0x1E,
QUERY_ATTR_IDN_CURR_WB_BUFF_SIZE = 0x1F,
QUERY_ATTR_IDN_EXT_IID_EN = 0x2A,
- QUERY_ATTR_IDN_TIMESTAMP = 0x30
+ QUERY_ATTR_IDN_TIMESTAMP = 0x30,
+ QUERY_ATTR_IDN_WB_BUF_RESIZE_HINT = 0x3C,
+ QUERY_ATTR_IDN_WB_BUF_RESIZE_EN = 0x3D,
+ QUERY_ATTR_IDN_WB_BUF_RESIZE_STATUS = 0x3E,
};
/* Descriptor idn for Query requests */
--
2.39.0
next prev parent reply other threads:[~2023-09-11 5:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 5:57 [PATCH v3 0/3] scsi: ufs: core: support WB buffer resize function Lu Hongfei
2023-09-11 5:57 ` Lu Hongfei [this message]
2023-09-11 5:57 ` [PATCH v3 2/3] scsi: ufs: core: Add sysfs attribute to control " Lu Hongfei
2023-09-11 5:57 ` [PATCH v3 3/3] scsi: ufs: core: Add sysfs attributes to get the hint information and status of WB buffer resize Lu Hongfei
2023-10-19 3:53 ` [PATCH v3 0/3] scsi: ufs: core: support WB buffer resize function 路红飞
2023-10-19 4:50 ` Lu Hongfei
2023-10-19 18:20 ` Bart Van Assche
2023-10-20 7:11 ` Lu Hongfei
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=20230911055810.879-2-luhongfei@vivo.com \
--to=luhongfei@vivo.com \
--cc=alim.akhtar@samsung.com \
--cc=arthur.simchaev@wdc.com \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=bvanassche@acm.org \
--cc=ebiggers@google.com \
--cc=jejb@linux.ibm.com \
--cc=keosung.park@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mani@kernel.org \
--cc=martin.petersen@oracle.com \
--cc=opensource.kernel@vivo.com \
--cc=powen.kao@mediatek.com \
--cc=quic_asutoshd@quicinc.com \
--cc=quic_cang@quicinc.com \
--cc=quic_nguyenb@quicinc.com \
--cc=stanley.chu@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
all inboxes | Powered by JetHome®