aboutsummaryrefslogtreecommitdiff
path: root/hw/psi.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-07-07 21:18:47 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-12 20:16:04 +1000
commita5011282403ebbc58779eb032c7588aba2e58805 (patch)
treef20b59fc11efdb296f66d3071d2e8b04f9a3f10b /hw/psi.c
parent052d7b967ed451d232c02e1cabce8d89ae3266fe (diff)
downloadskiboot-a5011282403ebbc58779eb032c7588aba2e58805.zip
skiboot-a5011282403ebbc58779eb032c7588aba2e58805.tar.gz
skiboot-a5011282403ebbc58779eb032c7588aba2e58805.tar.bz2
interrupts: Use a #interrupt-cells of 2 for XICS interrupts
This is more compliant with PAPR, it will also allow us to use the second cell for other attributes on P9. 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 0823ec8..46e059a 100644
--- a/hw/psi.c
+++ b/hw/psi.c
@@ -783,7 +783,7 @@ static void psi_create_mm_dtnode(struct psi *psi)
dt_add_property_strings(np, "compatible", "ibm,psi");
}
dt_add_property_cells(np, "interrupt-parent", get_ics_phandle());
- dt_add_property_cells(np, "interrupts", psi->interrupt);
+ dt_add_property_cells(np, "interrupts", psi->interrupt, 1);
dt_add_property_cells(np, "ibm,chip-id", psi->chip_id);
}