All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] mmc: Add access to RPMB partition
@ 2012-07-06  8:43 Loic Pallardy
  2012-07-06  8:44 ` [PATCH v1 1/5] mmc: core: Expose " Loic Pallardy
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Loic Pallardy @ 2012-07-06  8:43 UTC (permalink / raw)
  To: linux-mmc, Chris Ball
  Cc: Linus Walleij, STEricsson_nomadik_linux, Ulf Hansson, Loic Pallardy

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.

Loic Pallardy (5):
  mmc: core: Add mmc_set_blockcount feature
  mmc: core: Expose access to RPMB partition
  mmc: card: Do not scan RPMB partitions
  mmc: core: Extend sysfs to ext_csd parameters for RPMB support
  mmc: card: Add RPMB support in IOCTL interface

 Documentation/mmc/mmc-dev-attrs.txt |  7 ++++
 drivers/mmc/card/block.c            | 67 +++++++++++++++++++++++++++++++++++++
 drivers/mmc/core/core.c             | 14 ++++++++
 drivers/mmc/core/mmc.c              | 15 +++++++++
 include/linux/mmc/card.h            |  2 ++
 include/linux/mmc/core.h            |  2 ++
 include/linux/mmc/mmc.h             |  2 ++
 7 files changed, 109 insertions(+)

-- 
1.7.11.1


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-07-11 12:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-06  8:43 [PATCH v1 0/5] mmc: Add access to RPMB partition Loic Pallardy
2012-07-06  8:44 ` [PATCH v1 1/5] mmc: core: Expose " Loic Pallardy
2012-07-08 19:17   ` Linus Walleij
2012-07-09 17:42     ` Johan Rudholm
2012-07-06  8:44 ` [PATCH v1 2/5] mmc: card: Do not scan RPMB partitions Loic Pallardy
2012-07-08 19:18   ` Linus Walleij
2012-07-11  0:35   ` Namjae Jeon
2012-07-11 12:36     ` Loic pallardy
2012-07-06  8:44 ` [PATCH v1 3/5] mmc: core: Extend sysfs to ext_csd parameters for RPMB support Loic Pallardy
2012-07-08 19:19   ` Linus Walleij
2012-07-09 17:45     ` Johan Rudholm
2012-07-06  8:44 ` [PATCH v1 4/5] mmc: core: Add mmc_set_blockcount feature Loic Pallardy
2012-07-08 19:20   ` Linus Walleij
2012-07-09 17:48     ` Johan Rudholm
2012-07-06  8:44 ` [PATCH v1 5/5] mmc: card: Add RPMB support in IOCTL interface Loic Pallardy
2012-07-08 19:22   ` Linus Walleij
2012-07-09 17:54     ` Johan Rudholm
2012-07-10  0:37   ` Namjae Jeon
2012-07-10 12:28     ` Loic pallardy
2012-07-11  0:12       ` Namjae Jeon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.