[PATCH 0/2] scsi: ufs: batch device-init reads with UFS 5.0 aggregated read

From: Hyeoncheol Jeong

Date: Mon Sep 14 2026 - 04:53:18 EST


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