Skip to contentSkip to conversation

ppc/xive: xive does not have a POWER7 interrupt model

PATCH Applied Cédric Le Goater 2 participants 2 messages Feb 19, 2019 – Feb 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc/xive: xive does not have a POWER7 interrupt model

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

---
 hw/intc/xive.c | 3 ---
 1 file changed, 3 deletions(-)
hw/intc/xive.c +0 -3
index 425aa97ef9f6..daa7badc8492 100644
@@ -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;
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 4 lines · Cédric Le Goater

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

Applied to ppc-for-4.0, thanks.

Quoted 18 lines
---
 hw/intc/xive.c | 3 ---
 1 file changed, 3 deletions(-)
hw/intc/xive.c +0 -3
index 425aa97ef9f6..daa7badc8492 100644
@@ -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;
Signature · 4 lines
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson