lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1859f2a9-b3fa-4d41-86e6-aa0a18fddad4@app.fastmail.com>
Date: Tue, 05 Mar 2024 17:37:31 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Avri Altman" <Avri.Altman@....com>,
 "Linus Walleij" <linus.walleij@...aro.org>,
 "Jens Wiklander" <jens.wiklander@...aro.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
 "linux-mmc @ vger . kernel . org" <linux-mmc@...r.kernel.org>,
 "op-tee@...ts.trustedfirmware.org" <op-tee@...ts.trustedfirmware.org>,
 "Shyam Saini" <shyamsaini@...ux.microsoft.com>,
 "Ulf Hansson" <ulf.hansson@...aro.org>,
 "Jerome Forissier" <jerome.forissier@...aro.org>,
 "Sumit Garg" <sumit.garg@...aro.org>,
 "Ilias Apalodimas" <ilias.apalodimas@...aro.org>,
 "Bart Van Assche" <bvanassche@....org>,
 "Randy Dunlap" <rdunlap@...radead.org>, "Ard Biesheuvel" <ardb@...nel.org>,
 "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
 "Tomas Winkler" <tomas.winkler@...el.com>,
 Alex Bennée <alex.bennee@...aro.org>
Subject: Re: [PATCH v3 1/3] rpmb: add Replay Protected Memory Block (RPMB) subsystem

On Tue, Mar 5, 2024, at 17:33, Avri Altman wrote:
>> On Tue, Feb 27, 2024 at 4:31 PM Jens Wiklander <jens.wiklander@...aro.org> wrote:
>> 
>> I would mention in the commit that the subsystem is currently only used with
>> eMMC but is designed to be used also by UFS and NVME. Nevertheless, no big
>> deal so:
> Moreover, as the years went by, the differences between mmc and ufs 
> grew:
> In mmc there are 7 rpmb operations, in ufs 9.
> In mmc the rpmb frame is 512Bytes, also in legacy ufs (up to including 
> ufs3.1), but in ufs4.0 onward it can be 4k with extended header.
> See e.g. 
> https://patchwork.kernel.org/project/linux-scsi/patch/20221107131038.201724-3-beanhuo@iokpp.de/
> In mmc the rpmb sequence is atomic, in ufs not.
> In ufs rpmb is a wlun in mmc a partition.
> Both protocols support in multi-region rpmb, but there are some 
> differences there.

How sure are we then that the user-visible ABI is sufficiently
abstract to cover all the hardware implementations? Are any of the
changes you mention going to be noticed by userspace or are they
only visible to the kernel driver?

      Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ