From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbdK0Lkc (ORCPT ); Mon, 27 Nov 2017 06:40:32 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:51200 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751710AbdK0Lk3 (ORCPT ); Mon, 27 Nov 2017 06:40:29 -0500 Date: Mon, 27 Nov 2017 12:40:33 +0100 From: Greg KH To: "Bean Huo (beanhuo)" Cc: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , "vinholikatti@gmail.com" Subject: Re: UFS utilities Message-ID: <20171127114033.GA31604@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? 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. good luck! greg k-h