Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934030AbcCITKO (ORCPT ); Wed, 9 Mar 2016 14:10:14 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:53612 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933719AbcCITJu (ORCPT ); Wed, 9 Mar 2016 14:09:50 -0500 Message-ID: <43117fbc4f3a305acd0f4975a633934a.squirrel@us.codeaurora.org> In-Reply-To: <20160309162943.GC21181@kroah.com> References: <1457532699-11487-1-git-send-email-ygardi@codeaurora.org> <20160309162943.GC21181@kroah.com> Date: Wed, 9 Mar 2016 19:09:49 -0000 Subject: Re: [PATCH v7] scsi: ufs: add ioctl interface for query request From: ygardi@codeaurora.org To: "Greg KH" Cc: "Yaniv Gardi" , james.bottomley@hansenpartnership.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, santoshsy@gmail.com, linux-scsi-owner@vger.kernel.org, "Dolev Raviv" , "Gilad Broner" , "Vinayak Holikatti" , "James E.J. Bottomley" , "Martin K. Petersen" , "Michael Neuling" , "Matthew R. Ochs" , "Wen Xiong" , "Subhash Jadavani" , "open list:ABI/API" User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Priority: 3 (Normal) Importance: Normal Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1344 Lines: 36 > On Wed, Mar 09, 2016 at 04:11:33PM +0200, Yaniv Gardi wrote: >> This patch exposes the ioctl interface for UFS driver via SCSI device >> ioctl interface. As of now UFS driver would provide the ioctl for query >> interface to connected UFS device. >> >> Reviewed-by: Subhash Jadavani >> Signed-off-by: Dolev Raviv >> Signed-off-by: Gilad Broner >> Signed-off-by: Yaniv Gardi > > What tool is going to use this ioctl? Why does userspcae want to do > something "special" with UFS devices? Shouldn't they just be treated > like any other normal block device? > Any userspace application can be a tool. We already implemented and used a user space application, that sent queries to the UFS devices in order to get information and descriptors. Not only ioctl interface is a useful way to interact with the device, we used it, and found it very helpful in varies cases. hence, this patch. This patch has been already addressed all comments of Arnd Bergman from 5 months ago, and now, re-uploaded again. thanks, Yaniv > thanks, > > greg k-h > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >