Skip to content
  • Jason A. Donenfeld's avatar
    5e19cc68
    hw/mips: boston: pass random seed to fdt · 5e19cc68
    Jason A. Donenfeld authored
    
    
    If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to
    initialize early. Set this using the usual guest random number
    generation function. This FDT node is part of the DT specification.
    
    I'd do the same for other MIPS platforms but boston is the only one that
    seems to use FDT.
    
    Cc: Paul Burton <paulburton@kernel.org>
    Cc: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
    Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
    Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
    Message-Id: <20220719120843.134392-1-Jason@zx2c4.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    5e19cc68
    hw/mips: boston: pass random seed to fdt
    Jason A. Donenfeld authored
    
    
    If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to
    initialize early. Set this using the usual guest random number
    generation function. This FDT node is part of the DT specification.
    
    I'd do the same for other MIPS platforms but boston is the only one that
    seems to use FDT.
    
    Cc: Paul Burton <paulburton@kernel.org>
    Cc: Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>
    Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
    Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
    Message-Id: <20220719120843.134392-1-Jason@zx2c4.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading