mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CONFIG_DMA_NOOP_OPS breaks ARM arch
@ 2017-10-16  2:27 Marian Mihailescu
  2017-10-16  3:27 ` Randy Dunlap
  0 siblings, 1 reply; 7+ messages in thread
From: Marian Mihailescu @ 2017-10-16  2:27 UTC (permalink / raw)
  To: linux-kernel

After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops
are built only for architectures that use it.

For ARM architecture, CONFIG_DMA_NOOP_OPS is not selected, and cannot
be selected.

However, arch/arm/include/asm/dma-mapping.h is referencing dma_noop_ops:

static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return IS_ENABLED(CONFIG_MMU) ? &arm_dma_ops : &dma_noop_ops;
}

I will let a maintainer suggest the best resolution for this :)

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

end of thread, other threads:[~2017-10-16 11:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16  2:27 CONFIG_DMA_NOOP_OPS breaks ARM arch Marian Mihailescu
2017-10-16  3:27 ` Randy Dunlap
2017-10-16  3:29   ` Randy Dunlap
2017-10-16  3:58     ` Randy Dunlap
2017-10-16  5:27       ` Marian Mihailescu
2017-10-16  8:12         ` Vladimir Murzin
2017-10-16 11:14           ` Robin Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®