All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Alexis Lothoré" <alexis.lothore@bootlin.com>
Cc: buildroot@buildroot.org,
	 Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Subject: Re: [Buildroot] [PATCH] support/testing: use host entropy for ARMv7 emulation
Date: Mon, 19 Oct 2026 18:59:29 +0200	[thread overview]
Message-ID: <atZMbZkyz2RaIUJ6@windsurf> (raw)
In-Reply-To: <20261019-fix_crng_init_slow-v1-1-48ad2d5008d6@bootlin.com>

On Mon, Oct 19, 2026 at 05:39:54PM +0200, Alexis Lothoré via buildroot wrote:
> When running tests depending on entropy pool being ready on armv7 (eg:
> test_openscap.py, which runs the 'oscap' binary, which tries to get
> random bytes, even with simple commands), the test may fail on timeout
> due to the entropy pool not being ready; this is confirmed by the test
> being blocked until "crng init done" line appears in the kernel logs.
> 
> A solution could be to just increase the test timeout to a value large
> enough to make sure that the entropy pool will be ready in most cases,
> but it may be hard to find a value that fits all use cases, and all
> tests depending on entropy being ready would deserve the same fix.
> 
> Another solution is to replicate what commit 7acb32dabb80
> ("support/testing: add builtin armv5 kernel 4.19 with entropy") did: it
> added the virtio-rng-pci argument to allow the guest machine to use host
> entropy. The armv7 kernel used for testing seems to be built with the
> relevant virtio configuration to allow a similar pass-through, so pass
> virtio-rng-device to armv7 kernel when running tests.
> 
> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-10-19 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19 15:39 [Buildroot] [PATCH] support/testing: use host entropy for ARMv7 emulation Alexis Lothoré via buildroot
2026-10-19 16:59 ` Thomas Petazzoni via buildroot [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=atZMbZkyz2RaIUJ6@windsurf \
    --to=buildroot@buildroot.org \
    --cc=alexis.lothore@bootlin.com \
    --cc=ricardo.martincoski@datacom.com.br \
    --cc=thomas.petazzoni@bootlin.com \
    /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.