Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1429501 > unrolled thread
| Started by | Adrian Hunter <adrian.hunter@intel.com> |
|---|---|
| First post | 2016-06-23 08:30 +0200 |
| Last post | 2016-06-27 12:20 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem Adrian Hunter <adrian.hunter@intel.com> - 2016-06-23 08:30 +0200
RE: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem "Winkler, Tomas" <tomas.winkler@intel.com> - 2016-06-27 12:20 +0200
| From | Adrian Hunter <adrian.hunter@intel.com> |
|---|---|
| Date | 2016-06-23 08:30 +0200 |
| Subject | Re: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem |
| Message-ID | <rN6jf-63C-9@gated-at.bofh.it> |
On 02/06/16 00:41, Tomas Winkler wrote:
> Register eMMC RPMB partition with the RPMB subsystem and provide
> implementation for the RPMB access operations abstracting
> actual multi step process.
>
> V2: resend
> V3: commit message fix
> V4: Kconfig: use select RPMB to ensure valid configuration
> Switch back to main area after RPMB access
>
> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
> ---
<SNIP>
> +static void mmc_blk_rpmb_add(struct mmc_card *card)
> +{
> + struct mmc_blk_data *md = dev_get_drvdata(&card->dev);
> + struct mmc_blk_data *part_md = mmc_blk_rpmb_part_get(md);
> + struct rpmb_dev *rdev;
> +
> + if (!part_md)
> + return;
> +
> + mmc_blk_rpmb_set_dev_id(&mmc_rpmb_dev_ops, card);
> +
> + /* RPMB blocks are written in half sectors hence '* 2' */
> + mmc_rpmb_dev_ops.reliable_wr_cnt = card->ext_csd.rel_sectors * 2;
This looks like it does not support 8KB writes added in v5.1 spec. Can that
be supported?
> +
> + rdev = rpmb_dev_register(disk_to_dev(part_md->disk),
> + &mmc_rpmb_dev_ops);
> + if (IS_ERR(rdev)) {
> + pr_warn("%s: cannot register to rpmb %ld\n",
> + part_md->disk->disk_name, PTR_ERR(rdev));
> + }
> +}
<SNIP>
[toc] | [next] | [standalone]
| From | "Winkler, Tomas" <tomas.winkler@intel.com> |
|---|---|
| Date | 2016-06-27 12:20 +0200 |
| Subject | RE: [PATCH v4 7/8] mmc: block: register RPMB partition with the RPMB subsystem |
| Message-ID | <rOBO1-7lH-3@gated-at.bofh.it> |
| In reply to | #1429501 |
> 2; > > This looks like it does not support 8KB writes added in v5.1 spec. Can that be > supported? You are right there is not support for 8K packet, but the change should be simple. I will update the patch. Thanks Tomas
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web