Hi Loic, On Mon, Aug 06 2012, Loic Pallardy wrote: > The goal of this patchserie is to offer access to MMC RPMB > (Replay Protected Memory Block) partition. > The RPMB partition is used in general to store some secure data. > It is accessible through a trusted mechanism described in > JEDEC standard JESD84-A441. > > This patchserie proposes following modifications: > - detect RPMB capability and create RPMB block device if supported > - extend MMC sysfs to provide access to RPMB partition size and > reliable write sector count (information needed by user space to > acces RPMB partition) > - update IOCTL to support RPMB access. This includes automatic partition > switch and sending of Set Block Count (CMD23) message. > > RPMB partition becomes accessible using standard IOCTL interface. > Patches don't include trusted mechanism or any verification. > It is user space or secure application responsability to provide the right > command and the entire data frame as defined by JEDEC standard. I've merged this to mmc-next for 3.8 now; thanks to everyone who Acked. If you have any userspace sample code that could be added to mmc-utils to show how the interface can be used, feel free to send a patch. Thanks, - Chris. -- Chris Ball <cjb@xxxxxxxxxx> <http://printf.net/> One Laptop Per Child -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html