Re: [PATCH v5 0/3] Replay Protected Memory Block (RPMB) subsystem

From: Jens Wiklander
Date: Tue Apr 23 2024 - 04:45:55 EST


On Tue, Apr 23, 2024 at 10:22 AM Avri Altman <Avri.Altman@xxxxxxx> wrote:
>
> > On Tue, Apr 23, 2024 at 8:42 AM Avri Altman <Avri.Altman@xxxxxxx> wrote:
> > >
> > > > The OP-TEE driver finds the correct RPMB device to interact with by
> > > > iterating over available devices until one is found with a
> > > > programmed authentication matching the one OP-TEE is using. This
> > > > enables coexisting users of other RPMBs since the owner can be
> > > > determined by who knows the authentication key.
> > > Devices in plural?
> > > I am unaware of any board with multi eMMC devices soldered.
> > > Can you refer me to such a platform?
> >
> > I'm testing with a Hikey960 (HiSilicon Kirin 620)
> > https://www.96boards.org/product/hikey
> > It has one soldered eMMC and one removable eMMC.
> I used to have that board but with a UFS2.1 version, so I can't really tell.
> https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/hardware-docs/hardware-user-manual.md#storage
> indicating only a single eMMC device and a SD.

That's what I'm testing with, the kernel finds two RPMBs with
different CIDs. I'm running my tests with the removable one.

> Either way, AFAIK there are no production designs that make use of more than a single embedded flash storage.
> This goes for both eMMC and UFS.

OK

Thanks,
Jens