From patchwork Fri Apr 12 08:57:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 162101 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp365000jan; Fri, 12 Apr 2019 01:58:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUQDDtjVjNKm+KZgndg0rVrzfPzhf7YSahZoQ51uYt6CtJaCwXkMFLsLpN72nc/ESe4y9W X-Received: by 2002:a17:902:da4:: with SMTP id 33mr23853287plv.20.1555059531858; Fri, 12 Apr 2019 01:58:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555059531; cv=none; d=google.com; s=arc-20160816; b=C4pN4VY+ozKofi+d6gzQ/wwqUEVshZozrNM2Mz0DMAvzlkndeTipE7XCo5PTd+vsx0 +XR+CitatR1d+8jGdA+17zBCipG3Ulfai9ulL2wHUN5YJTJDK832uxh/eCoko4bsPzw4 Lj5D7MRLVq6duPYu2DOREfu/lxe28OOGqUyNoFLbYlHts4VF3R+Os6VExHDuv/KGlYy6 Tq5g+fuVgUzO2OST60G5s8k4fJh2aAKkgTFe+dBBlDURpcdefmb58CUF7v8DF5ecu/JI Aq9vRORmANF7RHOfOTKqNa/7mBvsFvVQPeVOldA3+PVDFrvyTRNjMdbUfr2/9zHXetta reDg== 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; bh=cgZETaVKrYlqxgfwntwefB5JU+JL5SluD/wE98a9tss=; b=GQarpD9UhStNF8vycUh4Idwt3uwv8REZBH1fiO1x4D7eT5oEDavMJ8wircnKGFtDHn vgf/j0eFOhwgg0rEwJ1h5OjS2O/4JvhjGKCnj5iLalbkcEyJ453qKpU/I4Lmz9HIJ8DR AYWWm8T5UjJ0R6otkuTojLQnkrQ41uozx60cBTlMbYWqNy2yf2keHvABRyd53MASKGu4 SHsJ3ncpC0RzLw6PZ+icfGG3Stwyz1T98/yjePzh+wEumzI3xeCzo3QU3NCvGcGkhPT6 2Mcs4d7VeYlba8rjXjNdhrHSIHYzCPTIy27q0HAyM/j/E3fTVZZWniqAwfO4SePZfkFK SZsw== 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 a67si29728022pla.350.2019.04.12.01.58.51; Fri, 12 Apr 2019 01:58:51 -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 S1727858AbfDLI6t (ORCPT + 31 others); Fri, 12 Apr 2019 04:58:49 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6736 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727504AbfDLI6c (ORCPT ); Fri, 12 Apr 2019 04:58:32 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B98F4B5540F6B384E2AE; Fri, 12 Apr 2019 16:58:24 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.408.0; Fri, 12 Apr 2019 16:58:14 +0800 From: John Garry To: , CC: , , , , , , John Garry Subject: [PATCH 0/6] libsas: Some minor improvements and tidy-up Date: Fri, 12 Apr 2019 16:57:51 +0800 Message-ID: <1555059478-36224-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.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 minor improvements and tidy-up, including: - fix PHY info in sysfs for PHY events - min pathway rate programming improvement - some other tidy-up and neatening John Garry (6): scsi: libsas: Stop hardcoding SAS address length scsi: libsas: Try to retain programmed min linkrate for SATA min pathway unmatch fixing scsi: libsas: Improve vague log in SAS rediscovery scsi: libsas: Inject revalidate event for root port event scsi: libsas: Do discovery on empty PHY to update PHY info scsi: libsas: Print expander PHY indexes in decimal drivers/scsi/libsas/sas_ata.c | 2 +- drivers/scsi/libsas/sas_expander.c | 83 ++++++++++++++++++------------ drivers/scsi/libsas/sas_init.c | 42 ++++++++------- drivers/scsi/libsas/sas_phy.c | 7 ++- drivers/scsi/libsas/sas_port.c | 24 +++++++-- include/scsi/libsas.h | 13 +++-- 6 files changed, 108 insertions(+), 63 deletions(-) -- 2.17.1