From patchwork Fri Mar 2 15:06:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 130546 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1375268lja; Fri, 2 Mar 2018 07:08:08 -0800 (PST) X-Google-Smtp-Source: AG47ELvKMfiYo8Q21F8IpCkE+52vM86T/zwUyFzBhrg/2F82eioYAcl5UeX4VmQWLuYKvVMCoiWc X-Received: by 10.99.99.2 with SMTP id x2mr4825133pgb.406.1520003288418; Fri, 02 Mar 2018 07:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520003288; cv=none; d=google.com; s=arc-20160816; b=cY4aXlODB0i3uL/zdmZSt3R+UVwwVhyYM0bv1L8sBZJlsgbCTe0/4UAYIAfuXzl3Q5 DmrJd+hyAjXflORmOgi45a3U6CoUdHhwdUw06aNXHkQyag0vGPd81zDA9z+S4SopaLNw avwZjs60aXpp321jp3JROriZS1bQGGmHejSIeSCTTKLRXcTZqBoCkwlivqvOKix8Aph7 aqlmRgWZr7ojZ8kKC16TnnjseqAulWwd6vhdGPOIhBxQ5KN4O2Nyv/B61vQxvVgpuvLV VoI35OiJSnxHjMUQZS5XkChWIPw5mSS7c12z5z+Iom8XErq78vQYLowf98Y6uODxrICb uHnw== 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=BPXHVbHENnxEJwgamKq2SNZgaYatQa3ttSQ2OT4KmgE=; b=SnQ36maVN9L2dKzJl6BvP216hdTm/VCcwk6wC/WgRGTp1iZE9POf9mCig7WHiZxYj0 rnTGKiI3KDwP2DbYsNZ1vb3sz+q9Nms0BVyEHQBtAt7MaFYJW3gEjSZXrED0/82yxj06 xi6ehYT2Io0TM8WRKagTK/qsp41juUGzhsMaQMvumvBexlU/0tULcR9xg0pQcqxNDF9J rmEeOgTEAfa1UaVg/85YeSp/kj3IRDajR39BZPE3Wq65EUREueWS6X3BhwQUSRLyN/1y 5Q/Xckm6oRF8RpyhPXjWJYVprvcyEzZGN12PBubQtyVs6Gt4ps49dEoFj/Glr/uiPZCF epIg== 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 i7-v6si5107942plk.139.2018.03.02.07.08.08; Fri, 02 Mar 2018 07:08:08 -0800 (PST) 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 S1429074AbeCBPIG (ORCPT + 28 others); Fri, 2 Mar 2018 10:08:06 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:5726 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1426986AbeCBPH7 (ORCPT ); Fri, 2 Mar 2018 10:07:59 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id E07D13500180A; Fri, 2 Mar 2018 23:07:32 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.361.1; Fri, 2 Mar 2018 23:07:25 +0800 From: John Garry To: , , , CC: , , , , John Garry Subject: [PATCH v2 0/8] hisi_sas: support x6000 board and some misc changes Date: Fri, 2 Mar 2018 23:06:14 +0800 Message-ID: <1520003182-26277-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 primarily adds support for the Huawei x6000 board, which includes hip07 chipset. Unfortunately, due to some board layout differences with our development board, we need to set a PHY-related register differently for optimal signal quality. As such, a signal attenuation property is added to describe the differences in the boards and allow the PHY register to be set appropriately. In addition to this above feature, some misc changes are added for: - PHY linkrate sysfs interface - linkrate set function - internal abort timer timeout increase Differences to v1: - rename dt binding property name to include "hisi-" prefix Xiang Chen (2): scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req scsi: hisi_sas: Code cleanup and minor bug fixes Xiaofei Tan (6): dt-bindings: scsi: hisi_sas: add an property of signal attenuation scsi: hisi_sas: support the property of signal attenuation for v2 hw scsi: hisi_sas: fix the issue of link rate inconsistency scsi: hisi_sas: fix the issue of setting linkrate register scsi: hisi_sas: increase timer expire of internal abort task scsi: hisi_sas: fix return value of hisi_sas_task_prep() .../devicetree/bindings/scsi/hisilicon-sas.txt | 7 +++ drivers/scsi/hisi_sas/hisi_sas.h | 1 - drivers/scsi/hisi_sas/hisi_sas_main.c | 34 +++++------- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 13 +++-- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 62 +++++++++++++++++----- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 34 +++++------- 6 files changed, 88 insertions(+), 63 deletions(-) -- 1.9.1