[Skiboot] [PATCH] qemu: add NO_RNG quirk
Cédric Le Goater
clg at kaod.org
Fri Nov 2 18:26:44 AEDT 2018
QEMU does not emulate a NX chip yet.
Signed-off-by: Cédric Le Goater <clg at kaod.org>
---
This is the only patch needed to boot a QEMU PowerNV POWER9 machine
using the Witherspoon OpenPOWER kernel and rootfs files.
QEMU tree is available here :
https://github.com/legoater/qemu/tree/powernv-3.1
core/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/chip.c b/core/chip.c
index 65263253424d..48df1f052936 100644
--- a/core/chip.c
+++ b/core/chip.c
@@ -146,7 +146,7 @@ void init_chips(void)
/* Detect Qemu */
if (dt_node_is_compatible(dt_root, "qemu,powernv")) {
proc_chip_quirks |= QUIRK_NO_CHIPTOD | QUIRK_NO_PBA
- | QUIRK_NO_DIRECT_CTL;
+ | QUIRK_NO_DIRECT_CTL | QUIRK_NO_RNG;
prlog(PR_NOTICE, "CHIP: Detected Qemu simulator\n");
}
--
2.17.2
More information about the Skiboot
mailing list