From patchwork Tue Feb 27 20:54:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 878834 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 3zrWD841ftz9s1q; Wed, 28 Feb 2018 07:55:04 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1eqmH1-00051R-Be; Tue, 27 Feb 2018 20:54:55 +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 1eqmGz-00051A-3u for kernel-team@lists.ubuntu.com; Tue, 27 Feb 2018 20:54:53 +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 0BB9633E0061 for ; Tue, 27 Feb 2018 13:54:49 -0700 (MST) Date: Tue, 27 Feb 2018 13:54:49 -0700 From: dann frazier To: kernel-team@lists.ubuntu.com Subject: [PULL][Bionic] SAS hotplug fixes Message-ID: <20180227205449.GA8945@xps13.dannf> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.3 (2018-01-21) X-Virus-Scanned: clamav-milter 0.99.2 at complete.lackof.org X-Virus-Status: Clean X-Spam-Status: No, score=0.3 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/1752146 These are all clean cherry-picks from upstream. Tested on a HiSilicon D05 (which is currently the only supported system that uses the hisi_sas driver this touches). The following changes since commit 5abe85078bfe9314129f9b1268006015363fb2d5: rtnetlink: require unique netns identifier (2018-02-27 11:05:17 -0600) are available in the Git repository at: git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux libsas-bionic for you to fetch changes up to 7e8885a19facd57c96c6acdb077f09461841c911: scsi: libsas: notify event PORTE_BROADCAST_RCVD in sas_enable_revalidation() (2018-02-27 11:28:02 -0700) ---------------------------------------------------------------- Jason Yan (9): scsi: libsas: fix memory leak in sas_smp_get_phy_events() scsi: libsas: fix error when getting phy events scsi: libsas: Use dynamic alloced work to avoid sas event lost scsi: libsas: shut down the PHY if events reached the threshold scsi: libsas: make the event threshold configurable scsi: libsas: Use new workqueue to run sas event and disco event scsi: libsas: use flush_workqueue to process disco events synchronously scsi: libsas: direct call probe and destruct scsi: libsas: notify event PORTE_BROADCAST_RCVD in sas_enable_revalidation() chenxiang (1): scsi: libsas: initialize sas_phy status according to response of DISCOVER drivers/scsi/hisi_sas/hisi_sas_main.c | 6 ++ drivers/scsi/libsas/sas_ata.c | 1 - drivers/scsi/libsas/sas_discover.c | 34 ++++++----- drivers/scsi/libsas/sas_event.c | 86 ++++++++++++++++++++------- drivers/scsi/libsas/sas_expander.c | 12 ++-- drivers/scsi/libsas/sas_init.c | 107 +++++++++++++++++++++++++++++++++- drivers/scsi/libsas/sas_internal.h | 7 +++ drivers/scsi/libsas/sas_phy.c | 69 +++++++++++----------- drivers/scsi/libsas/sas_port.c | 25 ++++---- include/scsi/libsas.h | 30 +++++++--- include/scsi/scsi_transport_sas.h | 1 + 11 files changed, 280 insertions(+), 98 deletions(-)