Message ID | 20200919055535.4969-1-xypron.glpk@gmx.de |
---|---|
State | Accepted |
Commit | 684710dc33b8fa1c366ee9f11424b780f999724c |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/1] arm: enable DM_RNG on QEMU by default | expand |
On Sat, Sep 19, 2020 at 07:55:35AM +0200, Heinrich Schuchardt wrote: > The EFI_RNG_PROTOCOL is needed for address randomization in Linux. > We should provide it by default on QEMU. > > Reported-by: François Ozog <francois.ozog@linaro.org> > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> This causes cmd_bootefi_selftest to fail on both qemu_arm and qemu_arm64.
On 9/22/20 5:26 PM, Tom Rini wrote: > On Sat, Sep 19, 2020 at 07:55:35AM +0200, Heinrich Schuchardt wrote: > >> The EFI_RNG_PROTOCOL is needed for address randomization in Linux. >> We should provide it by default on QEMU. >> >> Reported-by: François Ozog <francois.ozog@linaro.org> >> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > > This causes cmd_bootefi_selftest to fail on both qemu_arm and > qemu_arm64. > Fixed in https://github.com/swarren/uboot-test-hooks.git by: cf979fcf372c ("u-boot-hooks: add virtio-rng-pci") Best regards Heinrich
On Sat, Sep 19, 2020 at 07:55:35AM +0200, Heinrich Schuchardt wrote: > The EFI_RNG_PROTOCOL is needed for address randomization in Linux. > We should provide it by default on QEMU. > > Reported-by: François Ozog <francois.ozog@linaro.org> > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Applied to u-boot/master, thanks!
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 80702c23d3..4ebedece80 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -935,6 +935,7 @@ config ARCH_QEMU select OF_CONTROL select PL01X_SERIAL imply CMD_DM + imply DM_RNG imply DM_RTC imply RTC_PL031
The EFI_RNG_PROTOCOL is needed for address randomization in Linux. We should provide it by default on QEMU. Reported-by: François Ozog <francois.ozog@linaro.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- Resent, cc U-Boot list --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.28.0