diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2010-04-20 14:21:33 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-02 11:03:03 -0400 |
commit | f5832fa2f8dc39adcf3ae348d2d6383163235e79 (patch) | |
tree | 1fea25c52248b213dd44d2ad693959ff29d56495 /kernel/ptrace.c | |
parent | 859e816704b4139d15b1ec6a3505f12faef5333a (diff) | |
download | op-kernel-dev-f5832fa2f8dc39adcf3ae348d2d6383163235e79.zip op-kernel-dev-f5832fa2f8dc39adcf3ae348d2d6383163235e79.tar.gz |
[SCSI] ibmvfc: Fix command completion handling
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>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions