linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* clearly mark DMA_OPS support as an architecture feasture
@ 2024-08-24  3:57 Christoph Hellwig
  2024-08-24  3:57 ` [PATCH] dma-mapping: clear mark DMA ops as an architecture feature Christoph Hellwig
  2024-08-26  6:16 ` clearly mark DMA_OPS support as an architecture feasture Jason Wang
  0 siblings, 2 replies; 9+ messages in thread
From: Christoph Hellwig @ 2024-08-24  3:57 UTC (permalink / raw)
  To: iommu
  Cc: Marek Szyprowski, Robin Murphy, Sakari Ailus, Bingbu Cao,
	Michael S . Tsirkin , Jason Wang, linux-kernel, linux-alpha,
	linux-arm-kernel, linux-mips, linux-parisc, linuxppc-dev,
	linux-s390, sparclinux, linux-media, virtualization, xen-devel

Hi all,

we've had a long standing problems where drivers try to hook into the
DMA_OPS mechanisms to override them for something that is not DMA, or
to introduce additional dispatching.

Now that we are not using DMA_OPS support for dma-iommu and can build
kernels without DMA_OPS support on many common setups this becomes even
more problematic.

This series renames the option to ARCH_DMA_OPS and adds very explicit
comment to not use it in drivers.  The ipu6 and vdpa_sim/user drivers
that abuse the mechanism are made to depend on the option instead of
selecting it with a big comment, but I expect this to be fixed rather
sooner than later (I know the ipu6 maintainers are on it based on a
previous discussion).


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

end of thread, other threads:[~2024-08-27 12:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-24  3:57 clearly mark DMA_OPS support as an architecture feasture Christoph Hellwig
2024-08-24  3:57 ` [PATCH] dma-mapping: clear mark DMA ops as an architecture feature Christoph Hellwig
2024-08-24  7:58   ` Sakari Ailus
2024-08-25 11:33   ` Thomas Gleixner
2024-08-27 12:31   ` Robin Murphy
2024-08-26  6:16 ` clearly mark DMA_OPS support as an architecture feasture Jason Wang
2024-08-26  6:27   ` Jason Wang
2024-08-26  6:30     ` Christoph Hellwig
2024-08-26  6:32       ` Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).