Re: [PATCH v8 10/14] dma-contiguous: export dma_contiguous_default_area

2025-05-05 Thread Jens Wiklander
Hi, On Fri, May 2, 2025 at 3:11 PM Robin Murphy wrote: > > On 02/05/2025 10:59 am, Jens Wiklander wrote: > > Export the global variable dma_contiguous_default_area so > > dev_get_cma_area() can be called a module. > > What dma_map_ops implementation is in a module? Without any other > context, I

Re: [PATCH v8 10/14] dma-contiguous: export dma_contiguous_default_area

2025-05-02 Thread Robin Murphy
On 02/05/2025 10:59 am, Jens Wiklander wrote: Export the global variable dma_contiguous_default_area so dev_get_cma_area() can be called a module. What dma_map_ops implementation is in a module? Without any other context, I can't help thinking this smells of something sketchy. Thanks, Robin.

[PATCH v8 10/14] dma-contiguous: export dma_contiguous_default_area

2025-05-02 Thread Jens Wiklander
Export the global variable dma_contiguous_default_area so dev_get_cma_area() can be called a module. Cc: Marek Szyprowski Cc: Robin Murphy Cc: io...@lists.linux.dev Signed-off-by: Jens Wiklander --- kernel/dma/contiguous.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/dma/contiguo