Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030980AbbD1OJg (ORCPT ); Tue, 28 Apr 2015 10:09:36 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46083 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030527AbbD1OJe (ORCPT ); Tue, 28 Apr 2015 10:09:34 -0400 Message-ID: <615cb9e85f9e0389f33a4c31c9d3f76c.squirrel@www.codeaurora.org> In-Reply-To: <1429012281-24068-2-git-send-email-gbroner@codeaurora.org> References: <1429012281-24068-1-git-send-email-gbroner@codeaurora.org> <1429012281-24068-2-git-send-email-gbroner@codeaurora.org> Date: Tue, 28 Apr 2015 14:09:32 -0000 Subject: Re: [PATCH v8 1/3] scsi: ufs: add ioctl interface for query request From: "Dov Levenglick" To: "Gilad Broner" Cc: 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, subhashj@codeaurora.org, ygardi@codeaurora.org, draviv@codeaurora.org, "Noa Rubens" , "Raviv Shvili" , "Gilad Broner" , "Vinayak Holikatti" , "James E.J. Bottomley" , "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: 2091 Lines: 55 Reviewed-by: Dov Levenglick > From: Dolev Raviv > > 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. > > Signed-off-by: Dolev Raviv > Signed-off-by: Noa Rubens > Signed-off-by: Raviv Shvili > Signed-off-by: Yaniv Gardi > Signed-off-by: Gilad Broner > --- > drivers/scsi/ufs/ufs.h | 53 +++------- > drivers/scsi/ufs/ufshcd.c | 219 > +++++++++++++++++++++++++++++++++++++++++- > include/scsi/scsi.h | 1 + > include/uapi/scsi/Kbuild | 1 + > include/uapi/scsi/ufs/Kbuild | 3 + > include/uapi/scsi/ufs/ioctl.h | 57 +++++++++++ > include/uapi/scsi/ufs/ufs.h | 66 +++++++++++++ > 7 files changed, 356 insertions(+), 44 deletions(-) > create mode 100644 include/uapi/scsi/ufs/Kbuild > create mode 100644 include/uapi/scsi/ufs/ioctl.h > create mode 100644 include/uapi/scsi/ufs/ufs.h > > + UPIU_QUERY_OPCODE_CLEAR_FLAG = 0x7, > + UPIU_QUERY_OPCODE_TOGGLE_FLAG = 0x8, > +}; > +#endif /* UAPI_UFS_H_ */ > -- > Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc. > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project > > -- > 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 > QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/