Commit 733dcd5a authored by Maciej Patelczyk's avatar Maciej Patelczyk Committed by Ben Hutchings

isci: copy fis 0x34 response into proper buffer

commit 49bd665c 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: default avatarMaciej Patelczyk <maciej.patelczyk@intel.com>
Signed-off-by: default avatarLukasz Dorau <lukasz.dorau@intel.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent e3bb00e3
......@@ -1849,7 +1849,7 @@ sci_io_request_frame_handler(struct isci_request *ireq,
frame_index,
(void **)&frame_buffer);
sci_controller_copy_sata_response(&ireq->stp.req,
sci_controller_copy_sata_response(&ireq->stp.rsp,
frame_header,
frame_buffer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment