From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589AbdDJMxS (ORCPT ); Mon, 10 Apr 2017 08:53:18 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:5424 "EHLO dggrg03-dlp.huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752880AbdDJMwX (ORCPT ); Mon, 10 Apr 2017 08:52:23 -0400 From: John Garry To: , CC: , , , , , John Garry Subject: [PATCH 0/6] hisi_sas: v2 hw SoC bug workarounds Date: Mon, 10 Apr 2017 21:21:55 +0800 Message-ID: <1491830521-21437-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.58EB7FFF.005F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 13158cfb4ee215e595fe3cef102f37bf Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces some v2 hw bug workarounds. Mostly they are related to SATA devices, but there is also a workaround for a scenario when internal abort command may timeout. The general rule for implementing workarounds was to do it in the hw layer, as the next hw revision should not include these bugs, so it is better not pollute the driver main layer with workarounds This patchset also includes 2 other patches, one for a possible NULL pointer deference and another for resetting the controller for fatal AXI/ECC errors. John Garry (2): scsi: hisi_sas: add v2 hw internal abort timeout workaround scsi: hisi_sas: fix NULL deference when TMF timeouts Xiang Chen (1): scsi: hisi_sas: controller reset for multi-bits ECC and AXI fatal errors Xiaofei Tan (3): scsi: hisi_sas: workaround STP link SoC bug scsi: hisi_sas: workaround a SoC SATA IO processing bug scsi: hisi_sas: workaround SoC about abort timeout bug drivers/scsi/hisi_sas/hisi_sas.h | 4 + drivers/scsi/hisi_sas/hisi_sas_main.c | 62 ++--- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 413 ++++++++++++++++++++++++++++----- 3 files changed, 396 insertions(+), 83 deletions(-) -- 1.9.1