From: Nilay Shroff <nilay@linux.ibm.com>
To: Guixin Liu <kanie@linux.alibaba.com>,
Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk>,
Christoph Hellwig <hch@lst.de>, Sagi Grimberg <sagi@grimberg.me>,
Daniel Wagner <dwagner@suse.de>, Hannes Reinecke <hare@suse.de>
Cc: linux-nvme@lists.infradead.org
Subject: Re: [PATCH v2 2/5] nvmet: read CRTO from the capability register
Date: Thu, 3 Dec 2026 20:56:19 +0530 [thread overview]
Message-ID: <8cce51f0-0654-45a3-98a5-e10b82fe7ff5@linux.ibm.com> (raw)
In-Reply-To: <20261202115856.2235187-3-kanie@linux.alibaba.com>
On 12/2/26 5:28 PM, Guixin Liu wrote:
> The CRTO property reports the controller ready timeout, which lives in
> the CAP register. nvmet_execute_prop_get() extracts it from CSTS
> instead, where only the low bits are defined, so the property always
> reads zero. Any host or tool that reads CRTO directly then gets 0
> rather than the advertised CAP.TO.
>
> Read NVME_CAP_TIMEOUT() from ctrl->cap.
>
> Fixes: 1e058089d28f5 ("nvmet: implement crto property")
> Cc:stable@vger.kernel.org
> Signed-off-by: Guixin Liu<kanie@linux.alibaba.com>
Looks good to me:
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
next prev parent reply other threads:[~2026-12-03 15:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 11:58 [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Guixin Liu
2026-12-02 11:58 ` [PATCH v2 1/5] nvme: mask the status before checking for Host Identifier Inconsistent Guixin Liu
2026-12-03 8:05 ` Christoph Hellwig
2026-12-03 15:26 ` Nilay Shroff
2026-12-02 11:58 ` [PATCH v2 2/5] nvmet: read CRTO from the capability register Guixin Liu
2026-12-03 8:05 ` Christoph Hellwig
2026-12-03 15:26 ` Nilay Shroff [this message]
2026-12-02 11:58 ` [PATCH v2 3/5] nvmet: complete the passthru request after applying command effects Guixin Liu
2026-12-03 8:05 ` Christoph Hellwig
2026-12-03 15:26 ` Nilay Shroff
2026-12-02 11:58 ` [PATCH v2 4/5] nvmet-auth: reject negotiation when the configured DH group is not offered Guixin Liu
2026-12-03 8:07 ` Christoph Hellwig
2026-12-02 11:58 ` [PATCH v2 5/5] nvmet-auth: require a DH value when a DH group was negotiated Guixin Liu
2026-12-03 8:08 ` Christoph Hellwig
2026-12-03 21:22 ` (subset) [PATCH v2 0/5] nvme: target and host fixes from a drivers/nvme audit Keith Busch
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=8cce51f0-0654-45a3-98a5-e10b82fe7ff5@linux.ibm.com \
--to=nilay@linux.ibm.com \
--cc=axboe@kernel.dk \
--cc=dwagner@suse.de \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=kanie@linux.alibaba.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox