Commit 9b917987 authored by Jeff Skirvin's avatar Jeff Skirvin Committed by Dan Williams

isci: Disable link layer hang detection

Some targets exceed the hang detect timer.  Use the OS timeout to
catch hung tasks.
Signed-off-by: default avatarJeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent fd0527ab
...@@ -242,11 +242,8 @@ scic_sds_phy_link_layer_initialization(struct scic_sds_phy *sci_phy, ...@@ -242,11 +242,8 @@ scic_sds_phy_link_layer_initialization(struct scic_sds_phy *sci_phy,
&sci_phy->link_layer_registers->maximum_arbitration_wait_timer_timeout); &sci_phy->link_layer_registers->maximum_arbitration_wait_timer_timeout);
} }
/* /* Disable link layer hang detection, rely on the OS timeout for I/O timeouts. */
* Set the link layer hang detection to 500ms (0x1F4) from its default writel(0, &sci_phy->link_layer_registers->link_layer_hang_detection_timeout);
* value of 128ms. Max value is 511 ms.
*/
writel(0x1F4, &sci_phy->link_layer_registers->link_layer_hang_detection_timeout);
/* We can exit the initial state to the stopped state */ /* We can exit the initial state to the stopped state */
sci_change_state(&sci_phy->sm, SCI_PHY_STOPPED); sci_change_state(&sci_phy->sm, SCI_PHY_STOPPED);
......
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