From patchwork Fri May 4 17:54:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 908942 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 40d05J1kJDz9s3G; Sat, 5 May 2018 03:54:28 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1fEeuP-00084a-G1; Fri, 04 May 2018 17:54:17 +0000 Received: from complete.lackof.org ([198.49.126.79]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1fEeuN-000849-QU for kernel-team@lists.ubuntu.com; Fri, 04 May 2018 17:54:15 +0000 Received: from localhost (c-73-78-137-212.hsd1.co.comcast.net [73.78.137.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by complete.lackof.org (Postfix) with ESMTPSA id DD30E33E0061 for ; Fri, 4 May 2018 11:54:12 -0600 (MDT) Date: Fri, 4 May 2018 11:54:12 -0600 From: dann frazier To: kernel-team@lists.ubuntu.com Subject: [PULL][SRU Bionic] hisi_sas bugfixes Message-ID: <20180504175412.GA15345@xps13.dannf> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.5 (2018-04-13) X-Virus-Scanned: clamav-milter 0.99.4 at complete.lackof.org X-Virus-Status: Clean X-Spam-Status: No, score=0.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on complete.lackof.org X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1762824 All clean cherry-picks from upstream, limited to the hisi_sas driver. The descriptions of 2 of the patches underplay the functional changes, so I'll elaborate here on why I'm including them. "scsi: hisi_sas: Code cleanup and minor bug fixes" because it corrects the interrupt handler return values. "scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req" is an obviously correct change, and allows the driver to drop several atomic instructions. Tested on a HiSilicon D05 and a HiSilicon D06 board. The following changes since commit d4174baeefbd0a9634291145600b90e13163f27d: UBUNTU: Ubuntu-4.15.0-20.21 (2018-04-23 23:56:56 -0500) are available in the Git repository at: git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux hisi-sas-updates for you to fetch changes up to 2e3b262ef293485798233fc4fa53758d548e99d2: scsi: hisi_sas: Code cleanup and minor bug fixes (2018-05-03 19:48:52 -0600) ---------------------------------------------------------------- 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): scsi: hisi_sas: dt-bindings: 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 | 46 ++++++++-------- 6 files changed, 96 insertions(+), 67 deletions(-) Acked-by: Kleber Sacilotto de Souza Acked-by: Stefan Bader