[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ffa1481b-de82-f163-6cc9-fbb24615572f@infradead.org>
Date: Sun, 15 Oct 2017 20:29:50 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Marian Mihailescu <marian.mihailescu@...laide.edu.au>,
linux-kernel@...r.kernel.org
Cc: Bart Van Assche <bart.vanassche@...disk.com>,
iommu@...ts.linux-foundation.org,
Vladimir Murzin <vladimir.murzin@....com>
Subject: Re: CONFIG_DMA_NOOP_OPS breaks ARM arch
On 10/15/17 20:27, Randy Dunlap wrote:
> On 10/15/17 19:27, Marian Mihailescu wrote:
>> 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 :)
>>
>
> add Bart and iommu mailing list.
>
and add Vladimir.
--
~Randy
Powered by blists - more mailing lists