linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Winkler, Tomas" <tomas.winkler@intel.com>
To: "vinholikatti@gmail.com" <vinholikatti@gmail.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"Joao.Pinto@synopsys.com" <Joao.Pinto@synopsys.com>,
	"James.Bottomley@HansenPartnership.com"
	<James.Bottomley@HansenPartnership.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"luto@kernel.org" <luto@kernel.org>,
	"ulf.hansson@linaro.org" <ulf.hansson@linaro.org>,
	"Hunter, Adrian" <adrian.hunter@intel.com>
Cc: "hch@lst.de" <hch@lst.de>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"ygardi@codeaurora.org" <ygardi@codeaurora.org>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Usyskin, Alexander" <alexander.usyskin@intel.com>
Subject: Re: [PATCH v2 8/8] scsi: ufs: connect to RPMB subsystem
Date: Thu, 7 Apr 2016 21:15:30 +0000	[thread overview]
Message-ID: <1460063682.4468.7.camel@intel.com> (raw)
In-Reply-To: <5704CE0B.2010700@synopsys.com>

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

On Wed, 2016-04-06 at 09:51 +0100, Joao Pinto wrote:
> 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?

Hi Joao, thanks for that. I'm attaching an archive with few basic
samples via user space interface. 
You should run the program key first (program-key.sh), just don't do it
on a real device it's one in life time operation. 

Thanks
Tomas

[-- Attachment #2: rpmb-scripts.tar.bz2 --]
[-- Type: application/x-bzip-compressed-tar, Size: 650 bytes --]

  reply	other threads:[~2016-04-07 21:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04 11:11 [PATCH 0/8 V2] Replay Protected Memory Block (RPMB) subsystem Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 1/8] rpmb: add " Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 2/8] char: rpmb: add sysfs-class ABI documentation Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 3/8] char: rpmb: add device attributes Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 4/8] char: rpmb: provide user space interface Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 5/8] char: rpmb: add RPMB simulation device Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 6/8] tools rpmb: add RPBM access tool Tomas Winkler
2016-04-05 12:16   ` kbuild test robot
2016-04-11 10:50     ` Winkler, Tomas
2016-04-05 12:29   ` kbuild test robot
2016-04-05 12:31   ` kbuild test robot
2016-04-11 13:33   ` Josh Poimboeuf
2016-04-04 11:11 ` [PATCH v2 7/8] mmc: block: register rpmb partition with the RPMB subsystem Tomas Winkler
2016-04-04 11:11 ` [PATCH v2 8/8] scsi: ufs: connect to " Tomas Winkler
2016-04-06  8:51   ` Joao Pinto
2016-04-07 21:15     ` Winkler, Tomas [this message]
2016-04-08  9:24       ` Joao Pinto
2016-04-08 11:17       ` Joao Pinto
2016-04-08 11:21       ` Joao Pinto
2016-04-08 17:29       ` Joao Pinto
2016-04-08 20:33         ` Winkler, Tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460063682.4468.7.camel@intel.com \
    --to=tomas.winkler@intel.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=Joao.Pinto@synopsys.com \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.usyskin@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=ulf.hansson@linaro.org \
    --cc=vinholikatti@gmail.com \
    --cc=ygardi@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).