diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-12-12 16:22:52 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-11 23:31:45 -0600 |
commit | 3e7f04a7398a5dcb38ff11d0b11f630630a3bb74 (patch) | |
tree | 28d33b526cda0c943ad50cc0b0c1ab1f757d76c7 /hw | |
parent | 2d98b41e4c30bc82ea61ceaa6cf1f895563b4cf1 (diff) | |
download | skiboot-3e7f04a7398a5dcb38ff11d0b11f630630a3bb74.zip skiboot-3e7f04a7398a5dcb38ff11d0b11f630630a3bb74.tar.gz skiboot-3e7f04a7398a5dcb38ff11d0b11f630630a3bb74.tar.bz2 |
xive: Do not return a trigger page for an escalation interrupt
This is bogus, we don't support them. (Thankfully the callers
didn't actually try to use this on escalation interrupts).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xive.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2101,8 +2101,8 @@ void *xive_get_trigger_port(uint32_t girq) return NULL; if (GIRQ_IS_ESCALATION(girq)) { - /* Page 2 of the EQ MMIO space is the escalate irq */ - return x->eq_mmio + idx * 0x20000 + 0x10000; + /* There is no trigger page for escalation interrupts */ + return NULL; } else { /* Make sure it's an IPI on that chip */ if (girq < x->int_base || |