Re: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-27 Thread Jens Wiklander
On Mon, May 26, 2025 at 11:33 AM Sumit Garg wrote: > > On Mon, May 26, 2025 at 11:21:47AM +0200, Jens Wiklander wrote: > > On Mon, May 26, 2025 at 9:22 AM Sumit Garg wrote: > > > > > > On Tue, May 20, 2025 at 05:16:49PM +0200, Jens Wiklander wrote: > > > > Add tee_shm_alloc_dma_mem() to allocate

Re: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-26 Thread Sumit Garg
On Mon, May 26, 2025 at 11:21:47AM +0200, Jens Wiklander wrote: > On Mon, May 26, 2025 at 9:22 AM Sumit Garg wrote: > > > > On Tue, May 20, 2025 at 05:16:49PM +0200, Jens Wiklander wrote: > > > Add tee_shm_alloc_dma_mem() to allocate DMA memory. The memory is > > > represented by a tee_shm object

Re: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-26 Thread Jens Wiklander
On Mon, May 26, 2025 at 9:22 AM Sumit Garg wrote: > > On Tue, May 20, 2025 at 05:16:49PM +0200, Jens Wiklander wrote: > > Add tee_shm_alloc_dma_mem() to allocate DMA memory. The memory is > > represented by a tee_shm object using the new flag TEE_SHM_DMA_MEM to > > identify it as DMA memory. The a

Re: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-26 Thread Sumit Garg
On Tue, May 20, 2025 at 05:16:49PM +0200, Jens Wiklander wrote: > Add tee_shm_alloc_dma_mem() to allocate DMA memory. The memory is > represented by a tee_shm object using the new flag TEE_SHM_DMA_MEM to > identify it as DMA memory. The allocated memory will later be lent to > the TEE to be used as

Re: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-22 Thread kernel test robot
: b4432656b36e5cc1d50a1f2dc15357543add530e patch link: https://lore.kernel.org/r/20250520152436.474778-7-jens.wiklander%40linaro.org patch subject: [PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem() config: um-randconfig-r123-20250522 (https://download.01.org/0day-ci/archive/20250523/202505230242.8jtn9m5r-...@intel.com/config

[PATCH v9 6/9] tee: add tee_shm_alloc_dma_mem()

2025-05-20 Thread Jens Wiklander
Add tee_shm_alloc_dma_mem() to allocate DMA memory. The memory is represented by a tee_shm object using the new flag TEE_SHM_DMA_MEM to identify it as DMA memory. The allocated memory will later be lent to the TEE to be used as protected memory. Signed-off-by: Jens Wiklander --- drivers/tee/tee_