On Tue, Sep 26, 2017 at 09:48:01AM +0800, 陈华才 wrote:
> Hi, Christoph,
>
> Can I put the declaration in asm/dma-coherence.h?
Generally something not expose to the rest of the kernel (that is not
in arch/mips/include/) would be preferred, but in the end the architecture
maintainer will have to deci
mips"; "James E . J .
Bottomley"; "Martin K .
Petersen";
"linux-scsi"; "Roland Dreier";
"Pawel Osciak"; "Kyungmin Park";
"Michael Chan"; "Benjamin
Herrenschmidt"; "Ivan Mikhaylov";
"Tariq Toukan&quo
ot;;
"Pawel Osciak"; "Kyungmin Park";
"Michael Chan"; "Benjamin
Herrenschmidt"; "Ivan Mikhaylov";
"Tariq Toukan"; "Andy Gross"; "Mark
A . Greer"; "Robert Baldyga";
"stable";
Subject: Re: [PATCH V
On 25/09/17 10:46, Huacai Chen wrote:
> Make dma_get_cache_alignment() to accept a 'dev' argument. As a result,
> it can return different alignments due to different devices' I/O cache
> coherency.
>
> Currently, MIPS is the only architecture which support coherent & non-
> coherent devices co-exi
> index aba7138..e2c5d9e 100644
> --- a/arch/mips/include/asm/dma-mapping.h
> +++ b/arch/mips/include/asm/dma-mapping.h
> @@ -39,4 +39,6 @@ static inline void arch_setup_dma_ops(struct device *dev,
> u64 dma_base,
> #endif
> }
>
> +int mips_get_cache_alignment(struct device *dev);
All the oth
5 matches
Mail list logo