public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] nvme: Support user mode processing of ZNS Zone Changed AEN
@ 2022-09-29 22:39 clay.mayers
  2022-09-29 22:39 ` [PATCH V2 1/2] nvme: Include AEN CQE.DW1 in NVME_AEN uevents clay.mayers
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: clay.mayers @ 2022-09-29 22:39 UTC (permalink / raw)
  To: linux-nvme; +Cc: Keith Busch, Jens Axboe, Christoph Hellwig, Sagi Grimberg

From: Clay Mayers <clay.mayers@kioxia.com>

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(-)

-- 
2.27.0



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

end of thread, other threads:[~2022-10-29  0:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29 22:39 [PATCH V2 0/2] nvme: Support user mode processing of ZNS Zone Changed AEN clay.mayers
2022-09-29 22:39 ` [PATCH V2 1/2] nvme: Include AEN CQE.DW1 in NVME_AEN uevents clay.mayers
2022-10-17 13:23   ` Christoph Hellwig
2022-10-18 20:12     ` Clay Mayers
2022-10-25 15:38       ` Christoph Hellwig
2022-10-25 15:59         ` Sagi Grimberg
2022-10-29  0:47           ` Clay Mayers
2022-09-29 22:39 ` [PATCH V2 2/2] nvme: All AENs of type notify generate an NVME_AEN uevent clay.mayers
2022-10-04  1:48 ` [PATCH V2 0/2] nvme: Support user mode processing of ZNS Zone Changed AEN Chaitanya Kulkarni
2022-10-04 19:09   ` Clay Mayers
2022-10-07  4:59     ` Chaitanya Kulkarni
2022-10-06 11:33 ` Sagi Grimberg
2022-10-06 20:16   ` Clay Mayers

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