Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] isci: copy fis 0x34 response into proper buffer

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

authored by

Maciej Patelczyk and committed by
James Bottomley
49bd665c 77b67063

+1 -1
+1 -1
drivers/scsi/isci/request.c
··· 1972 1972 frame_index, 1973 1973 (void **)&frame_buffer); 1974 1974 1975 - sci_controller_copy_sata_response(&ireq->stp.req, 1975 + sci_controller_copy_sata_response(&ireq->stp.rsp, 1976 1976 frame_header, 1977 1977 frame_buffer); 1978 1978