diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-07 21:18:47 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-07-12 20:16:04 +1000 |
commit | a5011282403ebbc58779eb032c7588aba2e58805 (patch) | |
tree | f20b59fc11efdb296f66d3071d2e8b04f9a3f10b /hw/psi.c | |
parent | 052d7b967ed451d232c02e1cabce8d89ae3266fe (diff) | |
download | skiboot-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |