Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933818AbcDFIvh (ORCPT ); Wed, 6 Apr 2016 04:51:37 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:37310 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933693AbcDFIve (ORCPT ); Wed, 6 Apr 2016 04:51:34 -0400 Subject: Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem To: Tomas Winkler , , "Ulf Hansson" , Adrian Hunter , James Bottomley , "Martin K. Petersen" , Vinayak Holikatti , Andy Lutomirski References: <1459768284-26997-1-git-send-email-tomas.winkler@intel.com> <1459768284-26997-9-git-send-email-tomas.winkler@intel.com> CC: Christoph Hellwig , Yaniv Gardi , "Joao Pinto" , , , , "Alexander Usyskin" From: Joao Pinto Message-ID: <5704CE0B.2010700@synopsys.com> Date: Wed, 6 Apr 2016 09:51:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1459768284-26997-9-git-send-email-tomas.winkler@intel.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.13.184.19] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 24 Hi! On 4/4/2016 12:11 PM, Tomas Winkler wrote: > Register UFS RPMB LUN with the RPMB subsystem and provide > implementation for the RPMB access operations. RPMB partition is > accessed via a sequence of security protocol in and security protocol > out commands with UFS specific parameters. This multi step process is > abstracted into 4 basic RPMB commands. [snip] > * "UFS device" W-LU. > */ > struct scsi_device *sdev_ufs_device; > + struct scsi_device *sdev_ufs_rpmb; > > enum ufs_dev_pwr_mode curr_dev_pwr_mode; > enum uic_link_state uic_link_state; > I have a UFS device emulator that has the RPMB capability. What are the expected good results for me to validate? Thanks.