diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-03-15 20:58:57 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-03-16 17:18:01 +1100 |
commit | 4010f5eb8cf02e78376f5cc91a13b24f0874c7df (patch) | |
tree | 684a5121121dab7259800cd0c5c49bb331f3456e /hw | |
parent | 68d66bc587106cd47dcc288b2486cd0d463bd98b (diff) | |
download | skiboot-4010f5eb8cf02e78376f5cc91a13b24f0874c7df.zip skiboot-4010f5eb8cf02e78376f5cc91a13b24f0874c7df.tar.gz skiboot-4010f5eb8cf02e78376f5cc91a13b24f0874c7df.tar.bz2 |
xive: When an interrupt is freed, also clear its enabled map entry
Otherwise we try to disable an invalid IVE during xive_reset()
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xive.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4124,6 +4124,7 @@ static int64_t opal_xive_free_irq(uint32_t girq) return OPAL_PARAMETER; } bitmap_clr_bit(*x->ipi_alloc_map, idx); + bitmap_clr_bit(*x->int_enabled_map, idx); unlock(&x->lock); return OPAL_SUCCESS; |