From: Joao Pinto <Joao.Pinto@synopsys.com>
To: "Winkler, Tomas" <tomas.winkler@intel.com>,
"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: Fri, 8 Apr 2016 18:29:59 +0100 [thread overview]
Message-ID: <5707EA97.2050408@synopsys.com> (raw)
In-Reply-To: <1460063682.4468.7.camel@intel.com>
Hi,
On 4/7/2016 10:15 PM, Winkler, Tomas wrote:
> 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.
>
Managed to cross-compile to ARC and execute your test app in my platform. I made
it in Buildroot, so I have the patches to enable the tool cross-compilation if
necessary in the future.
The tool execution gives no errors, but also no info. I suggest you had success
info and maybe some statistic (e.g. bytes read or written).
> Thanks
> Tomas
>
Thanks,
Joao
next prev parent reply other threads:[~2016-04-08 17:30 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
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 [this message]
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=5707EA97.2050408@synopsys.com \
--to=joao.pinto@synopsys.com \
--cc=James.Bottomley@HansenPartnership.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=tomas.winkler@intel.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).