diff mbox

[02/33] chip: Add simics specific quirks

Message ID 1466808476-32690-2-git-send-email-benh@kernel.crashing.org
State Accepted
Headers show

Commit Message

Benjamin Herrenschmidt June 24, 2016, 10:47 p.m. UTC
From: Michael Neuling <mikey@neuling.org>

Use that instead of mambo.

Simics supports the F000F, so remove that quirk.

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

Comments

Stewart Smith July 5, 2016, 9:47 a.m. UTC | #1
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
> From: Michael Neuling <mikey@neuling.org>
>
> Use that instead of mambo.
>
> Simics supports the F000F, so remove that quirk.
>
> Signed-off-by: Michael Neuling <mikey@neuling.org>
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
>  core/chip.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Assuming you all know what you're doing here, as I can't be bothered
testing in simics and will take it on faith that it works :)

merged to master as of 7b3529b
diff mbox

Patch

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")) {