Re: [PATCH] dma-buf: add option text so it can be enabled by users

From: Greg Kroah-Hartman
Date: Thu May 05 2022 - 13:40:00 EST


On Thu, May 05, 2022 at 04:50:01AM +0000, Oleksandr Tymoshenko wrote:
> This reverts commit 3b32a592ea6e4 ("dma-buf: drop option text so users
> don't select it.") to allow users select DMA_SHARED_BUFFER option
> explicitly. This is required for out-of-tree modules that depend on
> dma-buf functionality, for instance drivers that rely on Google's Gasket
> framework.

We do not add code to the kernel for out of tree code, sorry. To do so
would be a total nightmare and maintance impossiblity, and not something
you would want us to do as Linux overall would suffer.

As you well know, the correct solution is to get your code merged
upstream. I have asked many times to get the gasket code upstream
properly, please do so to resolve problems like this.

thanks,

greg k-h