From: Klaus Jensen <its@irrelevant.dk>
To: clay.mayers@kioxia.com
Cc: qemu-devel@nongnu.org, "Keith Busch" <kbusch@kernel.org>,
"Fam Zheng" <fam@euphon.net>,
"Phlippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: Re: [PATCH 4/4] hw/block/nvme: add zone descriptor changed AEN
Date: Fri, 21 Oct 2022 08:41:27 +0200 [thread overview]
Message-ID: <Y1I/F1Q6IjL5rLRH@cormorant.local> (raw)
In-Reply-To: <20221021001835.942642-5-clay.mayers@kioxia.com>
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
On Oct 20 17:18, clay.mayers@kioxia.com wrote:
> From: Clay Mayers <clay.mayers@kioxia.com>
>
> If a namespace's param.zoned.finish_time is non-zero,
> controllers register with the namespace to be notified
> when entries are added to its zone-descriptor-changed
> log page. If the zone-descriptor-changed aen is enabled,
> this will cause an AEN to be sent from that controller.
>
> Signed-off-by: Clay Mayers <clay.mayers@kioxia.com>
> ---
> hw/nvme/ctrl.c | 62 +++++++++++++++++++++++++++++++++++++++++++-
> hw/nvme/ns.c | 1 +
> hw/nvme/nvme.h | 9 +++++++
> include/block/nvme.h | 2 ++
> 4 files changed, 73 insertions(+), 1 deletion(-)
>
If the controller is hotplugged (device_del'ed), you need to remove the
controller from the watch list as well. I think in nvme_exit().
Otherwise, looks good!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2022-10-21 6:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-21 0:18 [PATCH 0/4] hw/block/nvme: Implement ZNS finish-zone ZDC AEN clay.mayers
2022-10-21 0:18 ` [PATCH 1/4] hw/block/nvme: add ZONE_FINISH_RECOMMENDED functionality clay.mayers
2022-10-21 6:36 ` Klaus Jensen
2022-10-21 0:18 ` [PATCH 2/4] hw/block/nvme: add zone descriptor changed log page clay.mayers
2022-10-21 6:26 ` Klaus Jensen
2022-10-21 15:24 ` Clay Mayers
2022-10-21 0:18 ` [PATCH 3/4] hw/block/nvme: supply dw1 for aen result clay.mayers
2022-10-21 5:59 ` Klaus Jensen
2022-10-21 15:25 ` Clay Mayers
2022-10-21 0:18 ` [PATCH 4/4] hw/block/nvme: add zone descriptor changed AEN clay.mayers
2022-10-21 6:41 ` Klaus Jensen [this message]
2022-10-21 16:39 ` Clay Mayers
2022-10-21 5:57 ` [PATCH 0/4] hw/block/nvme: Implement ZNS finish-zone ZDC AEN Klaus Jensen
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=Y1I/F1Q6IjL5rLRH@cormorant.local \
--to=its@irrelevant.dk \
--cc=clay.mayers@kioxia.com \
--cc=f4bug@amsat.org \
--cc=fam@euphon.net \
--cc=kbusch@kernel.org \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.