All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dma-buf: add option text so it can be enabled by users
@ 2022-05-05  4:50 Oleksandr Tymoshenko
  2022-05-05 12:03 ` Greg Kroah-Hartman
  2022-05-09  6:39 ` Christoph Hellwig
  0 siblings, 2 replies; 3+ messages in thread
From: Oleksandr Tymoshenko @ 2022-05-05  4:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel; +Cc: Oleksandr Tymoshenko

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.

On general-purpose Linux systems the option is usually implicitely
enabled in the default kernel config by subsystems that use it but
systems with smaller kernel footprint have to rely on side-effects
from enabling unrelated options to get dma-buf functionality built.

Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
---
 drivers/base/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index 6f04b831a5c0..108bf9b38ce6 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -198,7 +198,7 @@ config SOC_BUS
 source "drivers/base/regmap/Kconfig"
 
 config DMA_SHARED_BUFFER
-	bool
+	bool "Buffer framework to be shared between drivers"
 	default n
 	select IRQ_WORK
 	help
-- 
2.36.0.464.gb9c8b46e94-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dma-buf: add option text so it can be enabled by users
  2022-05-05  4:50 [PATCH] dma-buf: add option text so it can be enabled by users Oleksandr Tymoshenko
@ 2022-05-05 12:03 ` Greg Kroah-Hartman
  2022-05-09  6:39 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2022-05-05 12:03 UTC (permalink / raw)
  To: Oleksandr Tymoshenko; +Cc: Rafael J. Wysocki, linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dma-buf: add option text so it can be enabled by users
  2022-05-05  4:50 [PATCH] dma-buf: add option text so it can be enabled by users Oleksandr Tymoshenko
  2022-05-05 12:03 ` Greg Kroah-Hartman
@ 2022-05-09  6:39 ` Christoph Hellwig
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2022-05-09  6:39 UTC (permalink / raw)
  To: Oleksandr Tymoshenko; +Cc: Greg Kroah-Hartman, Rafael J. Wysocki, linux-kernel

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.

Serious, you guys need to stop this crap.  Not offering totally useless
options is a massive improvement for Linux users.  Enabling code for out
of tree crap is not.  Please work with the Andorid ecosystem to make all
this out of tree junk go away instead of making users life painful due
to you not doing your basic work.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-09  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05  4:50 [PATCH] dma-buf: add option text so it can be enabled by users Oleksandr Tymoshenko
2022-05-05 12:03 ` Greg Kroah-Hartman
2022-05-09  6:39 ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.