From patchwork Mon Apr 10 13:21:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 97113 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1347476qgd; Mon, 10 Apr 2017 05:53:45 -0700 (PDT) X-Received: by 10.98.217.80 with SMTP id s77mr6320184pfg.26.1491828824970; Mon, 10 Apr 2017 05:53:44 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si13518944pge.361.2017.04.10.05.53.44; Mon, 10 Apr 2017 05:53:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589AbdDJMxS (ORCPT + 24 others); 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 Received: from 172.30.72.57 (EHLO DGGEML401-HUB.china.huawei.com) ([172.30.72.57]) by dggrg03-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id ALL62806; Mon, 10 Apr 2017 20:52:14 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEML401-HUB.china.huawei.com (10.3.17.32) with Microsoft SMTP Server id 14.3.301.0; Mon, 10 Apr 2017 20:52:03 +0800 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 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 Precedence: bulk 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