From: Hyeoncheol Jeong <hyenc.jeong@samsung.com>
To: "James.Bottomley@HansenPartnership.com"
<James.Bottomley@HansenPartnership.com>,
"mkp@kernel.org" <mkp@kernel.org>,
"bvanassche@acm.org" <bvanassche@acm.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Cc: Jinyoung Choi <j-young.choi@samsung.com>,
Alim Akhtar <alim.akhtar@samsung.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"peter.wang@mediatek.com" <peter.wang@mediatek.com>,
"can.guo@oss.qualcomm.com" <can.guo@oss.qualcomm.com>
Subject: [PATCH 0/2] scsi: ufs: batch device-init reads with UFS 5.0 aggregated read
Date: Mon, 14 Sep 2026 17:38:38 +0900 [thread overview]
Message-ID: <20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p1> (raw)
In-Reply-To: <CGME20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p1>
UFS 5.0 adds the AGGREGATED READ query (opcode 0x9): one QUERY RESPONSE
UPIU returns many descriptors, attributes and flags as a chain of typed
groups.
Patch 1 adds the opcode, the request mask, the group header and the reply
plumbing. Patch 2 uses it during device init: a single aggregated read
replaces the per-item queries for the attributes, flags and ID strings,
falling back to individual queries on older devices or a rejected opcode.
No functional change for pre-5.0 devices.
Hyeoncheol Jeong (2):
scsi: ufs: Add the aggregated read query opcode and its reply format
scsi: ufs: Serve the device init reads from one aggregated read
drivers/ufs/core/ufshcd.c | 365 +++++++++++++++++++++++++++++++++++---
include/ufs/ufs.h | 46 +++++
include/ufs/ufshcd.h | 11 ++
3 files changed, 402 insertions(+), 20 deletions(-)
--
2.25.1
next parent reply other threads:[~2026-09-14 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p1>
2026-09-14 8:38 ` Hyeoncheol Jeong [this message]
[not found] ` <CGME20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p4>
2026-09-14 8:41 ` [PATCH 1/2] scsi: ufs: Add the aggregated read query opcode and its reply format Hyeoncheol Jeong
[not found] ` <CGME20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p2>
2026-09-14 8:42 ` [PATCH 2/2] scsi: ufs: Serve the device init reads from one aggregated read Hyeoncheol Jeong
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=20260914083838epcms2p1336cbd08ce6ed192eeed9adbad365a93@epcms2p1 \
--to=hyenc.jeong@samsung.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=alim.akhtar@samsung.com \
--cc=bvanassche@acm.org \
--cc=can.guo@oss.qualcomm.com \
--cc=j-young.choi@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mkp@kernel.org \
--cc=peter.wang@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®