]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SCSI: isci: copy fis 0x34 response into proper buffer
authorMaciej Patelczyk <maciej.patelczyk@intel.com>
Mon, 15 Oct 2012 12:29:03 +0000 (14:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 20:59:13 +0000 (12:59 -0800)
commit14de2f67dd5e58aa2b9b7df3cd445bb59cbe7d61
tree59504741d6880b8f78f35cddd88653ca8a83a872
parentd3a11abf83e3e62e55e22e4ef7e8e89d88b8d31e
SCSI: isci: copy fis 0x34 response into proper buffer

commit 49bd665c5407a453736d3232ee58f2906b42e83c upstream.

SATA MICROCODE DOWNALOAD fails on isci driver. After receiving Register
Device to Host (FIS 0x34) frame Initiator resets phy.
In the frame handler routine response (FIS 0x34) was copied into wrong
buffer and upper layer did not receive any answer which resulted in
timeout and reset.
This patch corrects this bug.

Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/isci/request.c