diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-04-11 16:45:37 +0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-20 14:20:29 +1000 |
commit | 27243a37469f325499cae470db8e52af8296bd93 (patch) | |
tree | 45a3bce7c7076f1f29a22bcfc9325af46f221ec8 /core | |
parent | 04efad3a40f76e7da3881a4119b608e170585684 (diff) | |
download | skiboot-27243a37469f325499cae470db8e52af8296bd93.zip skiboot-27243a37469f325499cae470db8e52af8296bd93.tar.gz skiboot-27243a37469f325499cae470db8e52af8296bd93.tar.bz2 |
chip: add no-nx quirk for all QEMU platforms
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/chip.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/chip.c b/core/chip.c index 6526325..b01ec5b 100644 --- a/core/chip.c +++ b/core/chip.c @@ -144,9 +144,11 @@ void init_chips(void) prlog(PR_NOTICE, "CHIP: Detected Awan emulator\n"); } /* Detect Qemu */ - if (dt_node_is_compatible(dt_root, "qemu,powernv")) { + if (dt_node_is_compatible(dt_root, "qemu,powernv") || + dt_node_is_compatible(dt_root, "qemu,powernv8") || + dt_node_is_compatible(dt_root, "qemu,powernv9")) { 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"); } |