summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/pci_insn.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2017-06-10 13:54:44 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-06-28 07:32:08 +0200
commit4dfbd3efe3f0cf9ff1325b87491e1b1fe07afaf1 (patch)
tree61652229d4efa449d991a704f1679be377b8f12a /arch/s390/include/asm/pci_insn.h
parent795818e8bf17dbc791764ba9fb723278ee934676 (diff)
downloadblackbird-obmc-linux-4dfbd3efe3f0cf9ff1325b87491e1b1fe07afaf1.tar.gz
blackbird-obmc-linux-4dfbd3efe3f0cf9ff1325b87491e1b1fe07afaf1.zip
s390/pci: improve error handling during interrupt deregistration
When we ask a function to stop creating interrupts this may fail due to the function being already gone (e.g. after hot-unplug). Consequently we don't free associated resources like summary bits and bit vectors used for irq processing. This could lead to situations where we ran out of these resources and fail to setup new interrupts. The fix is to just ignore the errors in cases where we can be sure no new interrupts are generated. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/pci_insn.h')
-rw-r--r--arch/s390/include/asm/pci_insn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/pci_insn.h b/arch/s390/include/asm/pci_insn.h
index 649eb62c52b3..34abcf275799 100644
--- a/arch/s390/include/asm/pci_insn.h
+++ b/arch/s390/include/asm/pci_insn.h
@@ -76,7 +76,7 @@ struct zpci_fib {
u32 gd;
} __packed __aligned(8);
-int zpci_mod_fc(u64 req, struct zpci_fib *fib);
+u8 zpci_mod_fc(u64 req, struct zpci_fib *fib, u8 *status);
int zpci_refresh_trans(u64 fn, u64 addr, u64 range);
int zpci_load(u64 *data, u64 req, u64 offset);
int zpci_store(u64 data, u64 req, u64 offset);
OpenPOWER on IntegriCloud