Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-09 Thread Jens Wiklander
On Wed, Apr 9, 2025 at 2:50 PM Sumit Garg wrote: > > On Tue, Apr 08, 2025 at 03:28:45PM +0200, Jens Wiklander wrote: > > On Tue, Apr 8, 2025 at 11:14 AM Sumit Garg wrote: > > > > > > On Tue, Apr 01, 2025 at 10:33:04AM +0200, Jens Wiklander wrote: > > > > On Tue, Apr 1, 2025 at 9:58 AM Sumit Garg

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-09 Thread Sumit Garg
On Tue, Apr 08, 2025 at 03:28:45PM +0200, Jens Wiklander wrote: > On Tue, Apr 8, 2025 at 11:14 AM Sumit Garg wrote: > > > > On Tue, Apr 01, 2025 at 10:33:04AM +0200, Jens Wiklander wrote: > > > On Tue, Apr 1, 2025 at 9:58 AM Sumit Garg wrote: > > > > > > > > On Tue, Mar 25, 2025 at 11:55:46AM +01

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-08 Thread Jens Wiklander
On Tue, Apr 8, 2025 at 11:14 AM Sumit Garg wrote: > > On Tue, Apr 01, 2025 at 10:33:04AM +0200, Jens Wiklander wrote: > > On Tue, Apr 1, 2025 at 9:58 AM Sumit Garg wrote: > > > > > > On Tue, Mar 25, 2025 at 11:55:46AM +0100, Jens Wiklander wrote: > > > > Hi Sumit, > > > > > > > > > > > > > > > >

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-08 Thread Sumit Garg
On Tue, Apr 01, 2025 at 10:33:04AM +0200, Jens Wiklander wrote: > On Tue, Apr 1, 2025 at 9:58 AM Sumit Garg wrote: > > > > On Tue, Mar 25, 2025 at 11:55:46AM +0100, Jens Wiklander wrote: > > > Hi Sumit, > > > > > > > > > > > > > > > > > > > > > + > > > > > +#include "tee_private.h" > > > > > + >

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-05 Thread Jens Wiklander
Hi Sumit, On Tue, Mar 25, 2025 at 7:33 AM Sumit Garg wrote: > > Hi Jens, > > On Wed, Mar 05, 2025 at 02:04:11PM +0100, Jens Wiklander wrote: > > Implement DMA heap for restricted DMA-buf allocation in the TEE > > subsystem. > > > > Restricted memory refers to memory buffers behind a hardware enfo

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-05 Thread Sumit Garg
On Tue, Mar 25, 2025 at 11:55:46AM +0100, Jens Wiklander wrote: > Hi Sumit, > > > > > > > + > > > +#include "tee_private.h" > > > + > > > +struct tee_dma_heap { > > > + struct dma_heap *heap; > > > + enum tee_dma_heap_id id; > > > + struct tee_rstmem_pool *pool; > > > + struct

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-04-01 Thread Jens Wiklander
On Tue, Apr 1, 2025 at 9:58 AM Sumit Garg wrote: > > On Tue, Mar 25, 2025 at 11:55:46AM +0100, Jens Wiklander wrote: > > Hi Sumit, > > > > > > > > > > > > > > + > > > > +#include "tee_private.h" > > > > + > > > > +struct tee_dma_heap { > > > > + struct dma_heap *heap; > > > > + enum tee_d

Re: [PATCH v6 05/10] tee: implement restricted DMA-heap

2025-03-24 Thread Sumit Garg
Hi Jens, On Wed, Mar 05, 2025 at 02:04:11PM +0100, Jens Wiklander wrote: > Implement DMA heap for restricted DMA-buf allocation in the TEE > subsystem. > > Restricted memory refers to memory buffers behind a hardware enforced > firewall. It is not accessible to the kernel during normal circumstan

[PATCH v6 05/10] tee: implement restricted DMA-heap

2025-03-05 Thread Jens Wiklander
Implement DMA heap for restricted DMA-buf allocation in the TEE subsystem. Restricted memory refers to memory buffers behind a hardware enforced firewall. It is not accessible to the kernel during normal circumstances but rather only accessible to certain hardware IPs or CPUs executing in higher o