On Mon, Jun 16, 2025 at 01:57:48PM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 6/5/25 14:42, Sascha Hauer wrote: > > + switch (uc->config.dir) { > > + case DMA_MEM_TO_MEM: > > Tangential question. Could we implement arbitrary memory read/write on > top of this without further changes to the driver?
I hope so. Would be nice indeed, but I haven't tested this. > > Having a /dev/dma device or similar with the same API as /dev/mem would > be useful to test isolation of OP-TEE. Agreed. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |