Re: [PATCH] um: use asm-generic/dma-mapping.h

2022-03-28 Thread Randy Dunlap
On 3/28/22 00:46, Johannes Berg wrote: > From: Johannes Berg > > If DMA (PCI over virtio) is enabled, then some drivers may > enable CONFIG_DMA_OPS as well, and then we pull in the x86 > definition of get_arch_dma_ops(), which uses the dma_ops > symbol, which isn't defined. > > Since we don't

[PATCH] um: use asm-generic/dma-mapping.h

2022-03-28 Thread Johannes Berg
From: Johannes Berg If DMA (PCI over virtio) is enabled, then some drivers may enable CONFIG_DMA_OPS as well, and then we pull in the x86 definition of get_arch_dma_ops(), which uses the dma_ops symbol, which isn't defined. Since we don't have real DMA ops nor any kind of IOMMU fix this in the s