s390/ism: clear dmbe_mask bit before SMC IRQ handling
authorUrsula Braun <ubraun@linux.ibm.com>
Mon, 12 Nov 2018 16:06:12 +0000 (17:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:16:11 +0000 (09:16 +0100)
commitb65fa443e56ee2742ed91c6dfcaa4ee428076e30
tree126c3e476fe5c53986573bf57481634ee2d31d66
parent8b87305f816cf58b7a4c840b2bedfd37a8c06254
s390/ism: clear dmbe_mask bit before SMC IRQ handling

[ Upstream commit 007b656851ed7f94ba0fa358ac3e5d7705da6846 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/s390/net/ism_drv.c