From: <shao.mingyin@zte.com.cn>
To: <kbusch@kernel.org>, <hch@lst.de>
Cc: <axboe@kernel.dk>, <sagi@grimberg.me>,
<linux-nvme@lists.infradead.org>, <linux-kernel@vger.kernel.org>,
<stable@vger.kernel.org>
Subject: [PATCH v2 0/2] nvme: ZNS append limit and FDP feature decoding
Date: Sun, 22 Nov 2026 22:48:29 +0800 (CST) [thread overview]
Message-ID: <20261122224829803Cnc907ditjVjp2YzW1gmE@zte.com.cn> (raw)
Two fixes from the [PATCH 0/5] nvme series posted on November 15 are
resent as a second revision. The other members of that series are
settled: 3/5 "nvmet: validate the LBA format count of a passthrough
namespace" was applied as e52b8562e2ad, 5/5 "nvme: bound the reservation
report retry loop" as b80093c7d0aa, and 2/5 "nvme: map passthrough data
when the length is nonzero" is withdrawn, because reusing a command
structure for a no-data command regressed from success to EFAULT.
Shao Mingyin (2):
nvme: zns: reject an out-of-range zone append size limit
nvme: decode the FDP Get Features result as a dword
drivers/nvme/host/core.c | 6 +++---
drivers/nvme/host/zns.c | 4 ++--
include/linux/nvme.h | 6 +-----
3 files changed, 6 insertions(+), 10 deletions(-)
Changes in v2:
- 1/2: drop the dev_warn() for ZASL values that are valid but do not fit
in max_zone_append, as Christoph asked. Such values fall back to
max_hw_sectors, and the changelog describes the representable range
instead of calling the value invalid.
- 2/2: drop the structure that became unused, as Christoph asked. I also
looked into the Sashiko report on hdr.sze: the buffer is on the stack,
so blk_rq_map_kern() copies through zero-filled pages and copies the
full length back, which means there is no uninitialized read and no
separate patch.
v1: https://lore.kernel.org/all/202611150127512368BGQ07ZNIRAIwClkam-8u@zte.com.cn/
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
next reply other threads:[~2026-11-22 14:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 14:48 shao.mingyin [this message]
2026-11-22 14:48 ` [PATCH v2 1/2] nvme: zns: reject an out-of-range zone append size limit shao.mingyin
2026-11-25 5:24 ` Christoph Hellwig
2026-11-22 14:48 ` [PATCH v2 2/2] nvme: decode the FDP Get Features result as a dword shao.mingyin
2026-11-25 5:24 ` Christoph Hellwig
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=20261122224829803Cnc907ditjVjp2YzW1gmE@zte.com.cn \
--to=shao.mingyin@zte.com.cn \
--cc=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
--cc=stable@vger.kernel.org \
/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®