aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-04-20 14:21:33 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-13 13:20:24 -0700
commitd006b64edff0fa5aea86696cec70fd3a56542b17 (patch)
treeb697353bf103fd95f7d8d84b1dce9d809661e511 /scripts/patch-kernel
parentb92f44353fdc526df58a563a6c9279293eb607c7 (diff)
ibmvfc: Fix command completion handling
commit f5832fa2f8dc39adcf3ae348d2d6383163235e79 upstream. Commands which are completed by the VIOS are placed on a CRQ in kernel memory for the ibmvfc driver to process. Each CRQ entry is 16 bytes. The ibmvfc driver reads the first 8 bytes to check if the entry is valid, then reads the next 8 bytes to get the handle, which is a pointer the completed command. This fixes an issue seen on Power 7 where the processor reordered the loads from memory, resulting in processing command completion with a stale handle. This could result in command timeouts, and also early completion of commands. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions