[Skiboot] [PATCH 02/33] chip: Add simics specific quirks

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 25 08:47:25 AEST 2016


From: Michael Neuling <mikey at neuling.org>

Use that instead of mambo.

Simics supports the F000F, so remove that quirk.

Signed-off-by: Michael Neuling <mikey at neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 core/chip.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/chip.c b/core/chip.c
index c9ab779..b9297e1 100644
--- a/core/chip.c
+++ b/core/chip.c
@@ -82,7 +82,8 @@ void init_chips(void)
 		prlog(PR_NOTICE, "CHIP: Detected Mambo simulator\n");
 	}
 	if (dt_find_by_path(dt_root, "/simics")) {
-		proc_chip_quirks |= QUIRK_SIMICS;
+		proc_chip_quirks |= QUIRK_SIMICS | QUIRK_NO_CHIPTOD
+			| QUIRK_NO_PBA | QUIRK_NO_OCC_IRQ;
 		prlog(PR_NOTICE, "CHIP: Detected Simics simulator\n");
 	}
 	if (dt_node_is_compatible(dt_root, "qemu,powernv")) {
-- 
2.7.4



More information about the Skiboot mailing list