[Qemu-devel] [PULL 46/50] ppc/xive: xive does not have a POWER7 interrupt model

David Gibson posted 50 patches 6 years, 8 months ago
[Qemu-devel] [PULL 46/50] ppc/xive: xive does not have a POWER7 interrupt model
Posted by David Gibson 6 years, 8 months ago
From: Cédric Le Goater <clg@kaod.org>

Patch "target/ppc: Add POWER9 external interrupt model" should have
removed the section covering PPC_FLAGS_INPUT_POWER7.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20190219142530.17807-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 hw/intc/xive.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hw/intc/xive.c b/hw/intc/xive.c
index 425aa97ef9..daa7badc84 100644
--- a/hw/intc/xive.c
+++ b/hw/intc/xive.c
@@ -481,9 +481,6 @@ static void xive_tctx_realize(DeviceState *dev, Error **errp)
 
     env = &cpu->env;
     switch (PPC_INPUT(env)) {
-    case PPC_FLAGS_INPUT_POWER7:
-        tctx->output = env->irq_inputs[POWER7_INPUT_INT];
-        break;
     case PPC_FLAGS_INPUT_POWER9:
         tctx->output = env->irq_inputs[POWER9_INPUT_INT];
         break;
-- 
2.20.1