From: Benjamin Li Date: Mon, 26 Feb 2007 19:06:42 +0000 (-0800) Subject: qla3xxx: Kernic Panic on pSeries under stress conditions X-Git-Tag: v2.6.21-rc2~3^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f4df2491d07fc369e9d631e0638da03a9b3a38;p=pandora-kernel.git qla3xxx: Kernic Panic on pSeries under stress conditions To reproduce this panic consistently, we run an intensive network application like 'netperf'. After waiting for a couple of seconds, you will see a stack trace and a kernel panic where we are calling pci_unmap_single() in ql_poll(). Changes: 1) Check the flags on the Response MAC IO Control block to check for errors 2) Ensure that if we are on the 4022 we only use one segment 3) Before, we were reading the memory mapped producer index register everytime we iterated in the loop when clearing the queue. We should only be iterating to a known point, not as the producer index is being updated. Signed-off-by: Benjamin Li Signed-off-by: Ron Mercer Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed