Skip to content

nvme: Support user mode processing of ZNS Zone Changed AEN

[email protected] linux-nvme 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 10 repliesIn review
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Break up into two patches
- Only inlucde AEN_DATA if CQE.DW1 is non-zero

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvme: Include AEN CQE.DW1 in NVME_AEN ueventsdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+13 -55 replies
2/2nvme: All AENs of type notify generate an NVME_AEN ueventdrivers/nvme/host/core.c+1 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/2] nvme: Support user mode processing of ZNS Zone Changed AEN

From: Clay Mayers <[email protected]>

This adds support for the ZNS Zone-Descriptor-Changes AEN, which is of type notify and uses CQE.DW1 to convey the NSID of the log page to read.

Patch 1 adds non-zero NVME_AEN_DATA with the value of CQE.DW1 to all NVME_AEN uevents.

Patch 2 generates a uevent for all unhandled AEN notify results instead of issuing a dev warning.

This support is planned to be used by both zone based applications and another unreleased device with an alternate command set.

Changes since v1
- Break up into two patches
- Only inlucde AEN_DATA if CQE.DW1 is non-zero

Clay Mayers (2):
nvme: Include AEN CQE.DW1 in NVME_AEN uevents
nvme: All AENs of type notify generate an NVME_AEN uevent

 drivers/nvme/host/core.c | 21 +++++++++++++--------
 drivers/nvme/host/nvme.h |  1 +
 2 files changed, 14 insertions(+), 8 deletions(-)
Signature · 1 line
2.27.0