From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>,
Christian Berry via B4 Relay
<devnull+christiankbberry.gmail.com@kernel.org>
Cc: Christian Berry <christiankbberry@gmail.com>
Subject: Re: [PATCH] nvme: check for readiness more quickly to speed up boot
Date: Tue, 29 Sep 2026 09:14:01 +0200 [thread overview]
Message-ID: <179066604138.724510.3885131411368357735.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260927-nvme-ready-poll-v1-1-6a3f63b0ea3e@gmail.com>
On Sun, 27 Sep 2026 19:03:49 -0400, Christian Berry via B4 Relay wrote:
> nvme_wait_ready() polls the controller status every 100ms, although
> the controller may become ready much sooner. Every probe then waits
> at least 100ms longer than needed, and possibly twice, since both
> nvme_disable_ctrl() and nvme_enable_ctrl() wait for readiness.
>
> Poll every millisecond instead, as Linux does since commit
> 3e98c2443f5c ("nvme: Check for readiness more quickly, to speed up
> boot time"). The overall timeout is still based on elapsed time, so
> it is unaffected.
>
> [...]
Applied, thanks!
[1/1] nvme: check for readiness more quickly to speed up boot
https://git.pengutronix.de/cgit/barebox/commit/?id=22e19b4ec939 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
prev parent reply other threads:[~2026-09-29 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-27 23:03 Christian Berry via B4 Relay
2026-09-28 8:19 ` Ahmad Fatoum
2026-09-28 12:08 ` Christian Berry
2026-09-28 12:09 ` Ahmad Fatoum
2026-09-29 7:14 ` Sascha Hauer [this message]
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=179066604138.724510.3885131411368357735.b4-ty@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=christiankbberry@gmail.com \
--cc=devnull+christiankbberry.gmail.com@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox