summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2011-10-30 14:17:20 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-10-30 14:16:47 (GMT)
commit5f4026f8b2e4c5e26713d6c707592a33326a88c4 (patch)
tree9819bcca00f6de5f265cd48523f9009a04d303ef /arch/s390
parent2a3a2d66aa4e5abaf8f9222d21735321f02a00dc (diff)
downloadlinux-fsl-qoriq-5f4026f8b2e4c5e26713d6c707592a33326a88c4.tar.xz
[S390] qdio: prevent dsci access without adapter interrupts
A kernel panic may occur during sending or receiving network packets on a machine without adapter interrupts since commit d36deae. The bug is triggered by writing to the shared indicator address which is set to 0 if the machine doesn't have adapter interrupts. Make the reading and setting of the shared indicator dependent on the adapter interrupt feature and while at it move the code to the file containing the adapter interrupt related code. Thanks to Jan Jaeger for tracking this down. Reported-by: Jan Jaeger <jan.jaeger@westnet.com.au> Tested-by: Jan Jaeger <jan.jaeger@westnet.com.au> Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions