Received: by 10.223.164.202 with SMTP id h10csp4523895wrb; Wed, 29 Nov 2017 07:40:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMa2tVBHgsNT3sZRHazAPGmFGX4/LHtzAYrHZez5SPzkV/8QgocngYqwpr8Q+LgHuK3+6Jb/ X-Received: by 10.99.191.1 with SMTP id v1mr3147890pgf.93.1511970051026; Wed, 29 Nov 2017 07:40:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511970050; cv=none; d=google.com; s=arc-20160816; b=GSf/+QPbVcu8bQmbKN/6io5QAI0VEzC6cZ7J8xTp0cZNKiZf1JglZ5jE+FzObK+JhX zi/A3mOM6SFsy/IMfv3mWYlHsgiIZmBA8OzwlH6JdICVfGu64pgEZOz8gBH6cnS5I8xr 2qpeqi+MxVxJl6QjYy7UuP0FunhtEziaPVCadeBqol1lsM+vxB2EfB/jEtKS2YOcnQQt 0DZwfieeFc4ifjTVMIYtmKPM86uhJuhq5Z/O0luVnO2zdSS5FFhqgaCWXC6radBYskYK c8DgVlK4lN+K40AfjSR8XN/7UkOD5+wQFyeFnRZVROevfHY+/F2sKhXN5eV0Oluz1yh0 xTcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=81Ljwg4F7dj/iq3t3SIL6KB2TSYQXj+qz1NeOBliuIY=; b=GA+ZPlOpT0t2TsbMllPPiN9E7ek8tmvyMr2ZImeC3AVthc8gEp9swABObSCfzbv1Mb Vs46YOic/VS/5lScmIODToklwc+/FKJ40sZFv84UJqsxtxKoRQiVXyRQS72OCK1cRjDr U/GZMYHy0paIyPH82kqOGbv0I6cbV9izEOxIGBlGh2cOvq265R7PDcQ9KyZHsrX1UL+b lt447EJ2fYa020BUxHg+Cm9JC/bHwv0+pZVXRG3toRb9aGNBUKPDqgNbdyjS5L1iQiiy cSdOUbWcJI4tV1hpWHUDGyAE/ThBDgSMwDoNous+Wtr/W4eo/77iPDBdnRgVlxrR4dBa 1e9g== 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 bf5si1456517plb.578.2017.11.29.07.40.40; Wed, 29 Nov 2017 07:40:50 -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 S933409AbdK2Pj2 convert rfc822-to-8bit (ORCPT + 69 others); Wed, 29 Nov 2017 10:39:28 -0500 Received: from mailout.micron.com ([137.201.242.129]:35256 "EHLO mailout.micron.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933216AbdK2PjY (ORCPT ); Wed, 29 Nov 2017 10:39:24 -0500 Received: from mail.micron.com (boexchangeum.micron.com [137.201.21.209]) by mailout.micron.com (8.14.4/8.14.6) with ESMTP id vATFdNBa005403; Wed, 29 Nov 2017 08:39:23 -0700 Received: from SIWEX5B.sing.micron.com (10.160.29.60) by bowex17a.micron.com (137.201.21.209) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Wed, 29 Nov 2017 08:39:22 -0700 Received: from SIWEX5A.sing.micron.com (10.160.29.59) by SIWEX5B.sing.micron.com (10.160.29.60) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Wed, 29 Nov 2017 23:39:19 +0800 Received: from SIWEX5A.sing.micron.com ([fe80::2589:3710:2c7d:b4a]) by SIWEX5A.sing.micron.com ([fe80::2589:3710:2c7d:b4a%25]) with mapi id 15.00.1293.002; Wed, 29 Nov 2017 23:39:19 +0800 From: "Bean Huo (beanhuo)" To: Greg KH CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "vinholikatti@gmail.com" Subject: Re: UFS utilities Thread-Topic: UFS utilities Thread-Index: AdNpKDYJWTPjczfxQHC/pD9WNnnl4w== Date: Wed, 29 Nov 2017 15:39:19 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.160.29.124] X-TM-AS-Product-Ver: SMEX-12.0.0.1464-8.100.1062-23498.005 X-TM-AS-Result: No--12.097700-0.000000-31 X-TM-AS-MatchedID: 150567-139010-863277-701253-851106-700075-709584-708712-7 00817-701461-707451-708060-863828-701698-702097-703187-702039-702344-706737 -706119-703523-702126-702187-121101-702358-700756-707788-700107-148004-1480 50-148980-20043-42000-42003-29961 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No x-mt-checkinternalsenderrule: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 137.201.82.98 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Greg >On Mon, Nov 27, 2017 at 11:25:47AM +0000, Bean Huo (beanhuo) wrote: >> Hi, all >> Is there someone knows if exists one utilis dedicated to UFS device, rather >than SCSI utils? >> I have tried sg3-utils, but it is not convenient for the embedded ARM-based >system. >> And also it doesn't support several UFS special command. > >What specific UFS commands do you need to make to the device that the >current driver does not support? There are some UFS/vendor native commands. They are not SCSI based. >And yes, this is a trick question as there are about 4 different major forks that >I know of of the UFS driver in different vendor trees, all of which support >different types of UFS commands :( > >> If we don't have this kind of tool for UFS, is it necessary for us to develop a >>ufs-utils? > >I doubt it, what neds to happen is getting all of the functionality that lives in >these different forks all merged upstream into the in-kernel driver. Then I bet >all of the needed functionality you are looking for will be there. > Sometimes customers tend to use user space tool to do some configuration. And especially, for example the UFS FFU. >good luck! > Thanks ! >greg k-h //Bean Huo From 1585249142179739731@xxx Mon Nov 27 19:36:32 +0000 2017 X-GM-THRID: 1585218321893632286 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread