> From: Haruka Kuze <[email protected]> > > No driver exists for virtio-rpmb devices (virtio ID 28), so OP-TEE > running in a guest can not use them. > > This registers the virtio-rpmb devices found with the RPMB sub-system. > Each request is done in one transfer on request queue, and for key > programming and data writing a result read frame is appended so that > the device can return the result. > > These frames are copied since the caller's buffers are not always > usable for DMA. > > These frames follow the emmc definition, so that the device is > registered as RPMB_TYPE_EMMC. The device has no identifier of own, so > that a fixed dev_id is used for the key derivation for the device. > > Based on the virtio-rpmb driver in Alex Bennée's RPMB series. > > Link: > https://lore.kernel.org/all/[email protected]/ > Signed-off-by: Haruka Kuze <[email protected]>
Sashiko has reviewed this patch and found no issues. -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
