From patchwork Wed May 2 15:56:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 134848 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp848929lji; Wed, 2 May 2018 09:00:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq0SaT/jDllFDhsQg48x1f3MKEiuuYV28SFKFNg5P1SQd5bGyldhgJq0CdcbylI158U5Yvg X-Received: by 2002:a63:5f82:: with SMTP id t124-v6mr16724952pgb.150.1525276814280; Wed, 02 May 2018 09:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525276814; cv=none; d=google.com; s=arc-20160816; b=txbHOcfoEddZ2z4ve5/2PRBvMVuhZLF24mVON5GYiN9L8Qg33wJbHGYQR68CYBwFxn zyQw+gvUUga+bkL1zxIagsUCTkNbCiwWVgYANc05XWG6q3PExD5AhdlBbLdWYtlMiL5m s+3LXH5hWJaMZnZuHYldyJsbE0vsotAdLJvy0480BFkMxfRrMdWbKJbotY/E8zdvYnlI yUM5MwWxA1HgCKw1TiUeq+bzrFt5ReTfXKwiFggRN99HeS/rMChLsnJ/DDA+iNhYVk0K IHNa6p+p8yj6PYaG9LdL2+jkjpN/cWdaKhbqD/XBuAzaE9AAn53g/mB0+cNmVi6/AePk 20cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=pDoh3YTigPylPvZyWiDyZE9UhXgJeUtF1TjfiB4O0FM=; b=vQ4U91Xp/eiDnKpNRvSLhoNzlrEzocoaIZNHqmFqmNuEV/z3pT26bibN94UuZsGvc+ 3VFUU0qN8gH7LeU0bWvtEqglEqlBi3V4d1fF8Hcbve0pD0yzN+8t07Ma0Xk26C6gl6Jc YvUDpiaH/K+oCqv77xSzQMgJ6AiW7tcXCZZrBszheT2Hfx9TeFDNXpFAzs3doQL0y0DQ NOdT/0/RrrI7MVf61pZm+VIMA39m9ebx1PAV09T7DrwFzKzYY7jqpzGETCAPY/fln58t 6fLkDHkPo5731Grko70I5byJYkZ4oyeuf1V42Aip0vOtPAhuSopD3VUjnb2cRlD32mWs teAQ== ARC-Authentication-Results: i=1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si11604453ple.428.2018.05.02.09.00.13; Wed, 02 May 2018 09:00:14 -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 S1752080AbeEBQAL (ORCPT + 29 others); Wed, 2 May 2018 12:00:11 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:54590 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751991AbeEBP53 (ORCPT ); Wed, 2 May 2018 11:57:29 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 2508BA0A655BB; Wed, 2 May 2018 23:57:24 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.361.1; Wed, 2 May 2018 23:57:15 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 00/11] hisi_sas: some misc patches Date: Wed, 2 May 2018 23:56:23 +0800 Message-ID: <1525276594-92173-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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces some misc changes for the driver. These include: - fixes for potential problems related to SCSI EH and device removal races - fix protection info size for all hw versions - some SoC bug workarounds - minor optimisations - other more minor things John Garry (2): scsi: hisi_sas: stop controller timer for reset scsi: hisi_sas: add readl poll timeout helper wrappers Xiang Chen (7): scsi: hisi_sas: optimise the usage of DQ locking scsi: hisi_sas: Add some checks to avoid free'ing a sas_task twice scsi: hisi_sas: check host frozen before calling "done" function scsi: hisi_sas: fix PI memory size scsi: hisi_sas: check sas_dev gone earlier in hisi_sas_abort_task() scsi: hisi_sas: update PHY linkrate after a controller reset scsi: hisi_sas: config ATA de-reset as an constrained command for v3 hw Xiaofei Tan (2): scsi: hisi_sas: remove redundant handling to event95 for v3 scsi: hisi_sas: workaround a v3 hw hilink bug drivers/scsi/hisi_sas/hisi_sas.h | 4 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 37 +++++++-- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 70 +++++++++------- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 142 +++++++++++++++++++++------------ 4 files changed, 166 insertions(+), 87 deletions(-) -- 1.9.1