diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-09 16:38:07 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-11 19:54:22 +1000 |
commit | c28ea2f0b7d6ab1d1ada871690169b21a11aad10 (patch) | |
tree | 05b63e7a8dc6f056d226fe966c497393a56e1a2a /platforms | |
parent | 5ed551115a3ad1925c900b2e0dd7977ad1987f85 (diff) | |
download | skiboot-c28ea2f0b7d6ab1d1ada871690169b21a11aad10.zip skiboot-c28ea2f0b7d6ab1d1ada871690169b21a11aad10.tar.gz skiboot-c28ea2f0b7d6ab1d1ada871690169b21a11aad10.tar.bz2 |
psi: Add P9 support
This reworks interrupt handling a bit and adds support for XIVE
based interrupts and the new sources available on POWER9.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/rhesus/rhesus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/rhesus/rhesus.c b/platforms/rhesus/rhesus.c index a3af777..8faf295 100644 --- a/platforms/rhesus/rhesus.c +++ b/platforms/rhesus/rhesus.c @@ -198,8 +198,8 @@ static void rhesus_dt_fixup_uart(struct dt_node *lpc, bool has_irq) */ if (has_irq) { uint32_t chip_id = dt_get_chip_id(lpc); - uint32_t irq = get_psi_interrupt(chip_id) + P8_IRQ_PSI_HOST_ERR; - dt_add_property_cells(uart, "interrupts", irq); + uint32_t irq = get_psi_interrupt(chip_id) + P8_IRQ_PSI_EXTERNAL; + dt_add_property_cells(uart, "interrupts", irq, 1); dt_add_property_cells(uart, "interrupt-parent", get_ics_phandle()); } |