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/phb3.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/phb3.c')
-rw-r--r-- | hw/phb3.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4248,11 +4248,15 @@ static void phb3_add_properties(struct phb3 *p) * PCI code based on the content of this structure: */ lsibase = p->base_lsi; - p->phb.lstate.int_size = 1; + p->phb.lstate.int_size = 2; p->phb.lstate.int_val[0][0] = lsibase + PHB3_LSI_PCIE_INTA; + p->phb.lstate.int_val[0][1] = 1; p->phb.lstate.int_val[1][0] = lsibase + PHB3_LSI_PCIE_INTB; + p->phb.lstate.int_val[1][1] = 1; p->phb.lstate.int_val[2][0] = lsibase + PHB3_LSI_PCIE_INTC; + p->phb.lstate.int_val[2][1] = 1; p->phb.lstate.int_val[3][0] = lsibase + PHB3_LSI_PCIE_INTD; + p->phb.lstate.int_val[3][1] = 1; p->phb.lstate.int_parent[0] = icsp; p->phb.lstate.int_parent[1] = icsp; p->phb.lstate.int_parent[2] = icsp; |