diff options
author | Ursula Braun <ubraun@linux.ibm.com> | 2018-11-12 17:06:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-14 23:21:20 +0100 |
commit | 007b656851ed7f94ba0fa358ac3e5d7705da6846 (patch) | |
tree | f62077055b50eff45d49a88443c69a6e6c0c3a99 /drivers/s390 | |
parent | Merge branch 'qed-Miscellaneous-bug-fixes' (diff) | |
download | linux-007b656851ed7f94ba0fa358ac3e5d7705da6846.tar.xz linux-007b656851ed7f94ba0fa358ac3e5d7705da6846.zip |
s390/ism: clear dmbe_mask bit before SMC IRQ handling
SMC-D stress workload showed connection stalls. Since the firmware
decides to skip raising an interrupt if the SBA DMBE mask bit is
still set, this SBA DMBE mask bit should be cleared before the
IRQ handling in the SMC code runs. Otherwise there are small windows
possible with missing interrupts for incoming data.
SMC-D currently does not care about the old value of the SBA DMBE
mask.
Acked-by: Sebastian Ott <sebott@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/ism_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ism_drv.c b/drivers/s390/net/ism_drv.c index f96ec68af2e5..dcbf5c857743 100644 --- a/drivers/s390/net/ism_drv.c +++ b/drivers/s390/net/ism_drv.c @@ -415,9 +415,9 @@ static irqreturn_t ism_handle_irq(int irq, void *data) break; clear_bit_inv(bit, bv); + ism->sba->dmbe_mask[bit + ISM_DMB_BIT_OFFSET] = 0; barrier(); smcd_handle_irq(ism->smcd, bit + ISM_DMB_BIT_OFFSET); - ism->sba->dmbe_mask[bit + ISM_DMB_BIT_OFFSET] = 0; } if (ism->sba->e) { |