Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] nvme: ZNS append limit and FDP feature decoding
@ 2026-11-22 14:48 shao.mingyin
  2026-11-22 14:48 ` [PATCH v2 1/2] nvme: zns: reject an out-of-range zone append size limit shao.mingyin
  2026-11-22 14:48 ` [PATCH v2 2/2] nvme: decode the FDP Get Features result as a dword shao.mingyin
  0 siblings, 2 replies; 5+ messages in thread
From: shao.mingyin @ 2026-11-22 14:48 UTC (permalink / raw)
  To: kbusch, hch; +Cc: axboe, sagi, linux-nvme, linux-kernel, stable

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-25  5:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-22 14:48 [PATCH v2 0/2] nvme: ZNS append limit and FDP feature decoding shao.mingyin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox