From: Klaus Jensen <its@irrelevant.dk>
To: Jesper Devantier <foss@defmacro.it>
Cc: qemu-devel@nongnu.org, Keith Busch <kbusch@kernel.org>,
qemu-block@nongnu.org,
Jesper Wendel Devantier <j.devantier@samsung.com>
Subject: Re: [PATCH 4/7] hw/nvme: get fdp events, use helper
Date: Wed, 18 Nov 2026 22:55:28 +0100 [thread overview]
Message-ID: <av4e0O2rSv5ByeFk@AALNPWKJENSEN.aal.scsc.local> (raw)
In-Reply-To: <20261118-jwd-181126-fdp-fixes-v1-4-ed76fad7861d@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 809 bytes --]
On Nov 18 16:01, Jesper Devantier wrote:
> From: Jesper Wendel Devantier <j.devantier@samsung.com>
>
> Signed-off-by: Jesper Wendel Devantier <j.devantier@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
> ---
> hw/nvme/ctrl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/nvme/ctrl.c b/hw/nvme/ctrl.c
> index 5d4122309ea..8fc0884fcda 100644
> --- a/hw/nvme/ctrl.c
> +++ b/hw/nvme/ctrl.c
> @@ -6372,7 +6372,7 @@ static uint16_t nvme_get_feature_fdp_events(NvmeCtrl *n, NvmeNamespace *ns,
> NvmeRuHandle *ruh;
> NvmeFdpEventDescr *s_event;
>
> - if (!n->subsys || !n->subsys->endgrp.fdp.enabled) {
> + if (!nvme_fdp_enabled(n)) {
> return NVME_FDP_DISABLED | NVME_DNR;
> }
>
>
> --
> 2.51.2
>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-11-18 21:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 15:01 [PATCH 0/7] hw/nvme get-/set feature fixes (FDP-related) Jesper Devantier
2026-11-18 15:01 ` [PATCH 1/7] hw/nvme: get feature - return invalid field if sel is reserved Jesper Devantier
2026-11-18 21:54 ` Klaus Jensen
2026-11-18 15:01 ` [PATCH 2/7] hw/nvme: get feature - fix and revamp NS/NSID checks Jesper Devantier
2026-11-18 15:01 ` [PATCH 3/7] hw/nvme: fdp enabled helper Jesper Devantier
2026-11-18 21:54 ` Klaus Jensen
2026-11-18 15:01 ` [PATCH 4/7] hw/nvme: get fdp events, use helper Jesper Devantier
2026-11-18 21:55 ` Klaus Jensen [this message]
2026-11-18 15:01 ` [PATCH 5/7] hw/nvme: get feature FDP (1Dh) fixes Jesper Devantier
2026-11-18 16:36 ` Klaus Jensen
2026-11-18 15:01 ` [PATCH 6/7] hw/nvme: set feature FDP (1Dh) fix Jesper Devantier
2026-11-18 15:01 ` [PATCH 7/7] hw/nvme: get feature FDP events (1Eh) - return supported events Jesper Devantier
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=av4e0O2rSv5ByeFk@AALNPWKJENSEN.aal.scsc.local \
--to=its@irrelevant.dk \
--cc=foss@defmacro.it \
--cc=j.devantier@samsung.com \
--cc=kbusch@kernel.org \
--cc=qemu-block@nongnu.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.