[PATCH] nvme: check for readiness more quickly to speed up boot

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 29 00:14:01 PDT 2026


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 at pengutronix.de>




More information about the barebox mailing list