summaryrefslogtreecommitdiffstats
path: root/hw/psi.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-08-09 16:38:10 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-11 19:54:22 +1000
commitf605be73d7b1c4a32a66824d3c02470f540636bc (patch)
treeaa15668ec33934473349eb599945b8d3bdd1f68b /hw/psi.c
parent586939633523774acf1bda2ce64f3e81d7ceb724 (diff)
downloadtalos-skiboot-f605be73d7b1c4a32a66824d3c02470f540636bc.tar.gz
talos-skiboot-f605be73d7b1c4a32a66824d3c02470f540636bc.zip
lpc: Add P9 LPC interrupts support
We currently don't exploit the new MUX that allow to spread them around different PSI interrupts, they all go to LPC#0 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/psi.c')
-rw-r--r--hw/psi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/psi.c b/hw/psi.c
index 08dc5897..663b6042 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -598,7 +598,7 @@ static void psihb_p9_interrupt(struct irq_source *is, uint32_t isn)
case P9_PSI_IRQ_LPC_SIRQ1:
case P9_PSI_IRQ_LPC_SIRQ2:
case P9_PSI_IRQ_LPC_SIRQ3:
- /* XXX TODO */
+ lpc_serirq(psi->chip_id, idx - P9_PSI_IRQ_LPC_SIRQ0);
break;
case P9_PSI_IRQ_SBE_I2C:
p8_i2c_interrupt(psi->chip_id);
OpenPOWER on IntegriCloud