From patchwork Mon Nov 5 14:12:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 150192 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2647636ljp; Mon, 5 Nov 2018 06:11:02 -0800 (PST) X-Google-Smtp-Source: AJdET5eoy4lwRUjKpMNNYTPqcQGkW1jxOuzbZlx5/P0Sr0Fl8+dQLw/hTMTTf0DNrkpBJJF2cGaD X-Received: by 2002:a62:cf02:: with SMTP id b2-v6mr22224796pfg.224.1541427062062; Mon, 05 Nov 2018 06:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541427062; cv=none; d=google.com; s=arc-20160816; b=Caulv5AoygyOc9HYqOYxjQWGTgR7X3ZUe6tngf9sBTHLQbtgPs7L9fd3XcMs7J6hqe FmgkdMvyUMKndP89S2Pszc8vMk75BG0a2FhX09d0C80CPlpAOboX9udtyxo1zv0vVLYJ slPDCMBl/kZZnUBUo1mGCEOOxyn4nfR2zHdw1nGCdSrywM5MeqDDDPoKpv+hX4VBWIAj Ej4E1prpJvD5WOoFZ+2fvose6tUocxXJzWEkgO1h2CCMs2M+2VVX+8T24vX9tAwcNoxg Oi32giIxsb+72Zy5rYOsWlDTuJ0YueIIeP69e8LzXsIgwbcsdDm/uT+GCYy7oQW0YD4C gmaw== 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=Xt6BG6QYcu+9WfwjX4JZOBJ0vDQa1tGjRcxAwqh1iYo=; b=yRiOJO2f1+qYg5T7LNKw+CpHwRyFLygy+didVvQfTmb4KUHsAOlubc6fpZ/h8AIW9p 8KGQGM6eY175Y0ECT+0lqX3m6woVUUXXPt7NWtUwKWPOJaQxW9eM8uptzWZv/rBTCzt0 KAuw7usnvDm0wHsbprUnKSzP6dc7Fgo0tcu0uk0OHa7U0YwMPU4BJv3rolUI9PN4RhTv vr2J9vTmF4rtlXP7AX276ft0Bgh7BKFYegomuyJD+PXi2GRdmHR6dXYRIn8memHMzTSf eiKYJS/iQlZRPe844ovYYjwfQfxUT3uQ/2j4ZpGLKWT7ALM57Ys3bplOZJeAOKzmYwXF LEcA== 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 t64-v6si27261598pfd.58.2018.11.05.06.11.01; Mon, 05 Nov 2018 06:11:02 -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 S1730039AbeKEXay (ORCPT + 32 others); Mon, 5 Nov 2018 18:30:54 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:14596 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727481AbeKEXay (ORCPT ); Mon, 5 Nov 2018 18:30:54 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5377FA9F8C7D4; Mon, 5 Nov 2018 22:10:48 +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.408.0; Mon, 5 Nov 2018 22:10:43 +0800 From: John Garry To: CC: , , , John Garry Subject: [RFC PATCH] Documentation/ABI: Add sysfs-transport-sas Date: Mon, 5 Nov 2018 22:12:17 +0800 Message-ID: <1541427137-113073-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 The SAS transport class ABI is currently undocumented. Some systemd issues have been raised for SAS device support [1], [2]. Because of this, distros using systemd may have broken symlinks, like /dev/disk/by-path Unfortunately it is challenging to support SAS devices as the ABI is not well documented and is not always intuitive, so add a stable ABI definition. [1] https://github.com/systemd/systemd/issues/3943#issuecomment-240982482 [2] https://github.com/systemd/systemd/issues/7157 Signed-off-by: John Garry -- I am sending this as an incomplete RFC to ensure it's the right thing to do, so I don't bother writing the document to find it later rejected. For now, this is just a minimal effort. -- 1.9.1 diff --git a/Documentation/ABI/stable/sysfs-transport-sas b/Documentation/ABI/stable/sysfs-transport-sas new file mode 100644 index 0000000..6df6ffe --- /dev/null +++ b/Documentation/ABI/stable/sysfs-transport-sas @@ -0,0 +1,21 @@ +What: /sys/class/sas_phy/phy-:, + phy-:: +Date: Nov, 2018 +KernelVersion: 2.6.13 +Contact: linux-scsi@vger.kernel.org +Description: SAS PHY entry directory, which includes interfaces to control + the PHY, physical layer information on the PHY, and other SAS + fabric management information asscoiated with the PHY. + +What: /sys/class/sas_port/port-:, + port-:: +Date: Nov, 2018 +KernelVersion: 2.6.13 +Contact: linux-scsi@vger.kernel.org +Description: SAS Port entry directory, with constituient PHY count and + other SAS fabric management information asscoiated with the + Port. + + + +