Re: [PATCH v3] MIPS: Add option to disable software I/O coherency.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 11, 2013 at 3:55 PM, Steven J. Hill <sjhill@xxxxxxxx> wrote:
> From: "Steven J. Hill" <sjhill@xxxxxxxx>
>
> Some MIPS controllers have hardware I/O coherency. This patch
> detects those and turns off software coherency. A new kernel
> command line option also allows the user to manually turn
> software coherency on or off.
>
> Signed-off-by: Steven J. Hill <sjhill@xxxxxxxx>
> ---
>  arch/mips/include/asm/mach-generic/dma-coherence.h |    5 +-
>  arch/mips/mm/c-r4k.c                               |   34 +++++++---
>  arch/mips/mm/dma-default.c                         |    6 +-
>  arch/mips/mti-malta/malta-setup.c                  |   71 ++++++++++++++++++++
>  4 files changed, 105 insertions(+), 11 deletions(-)

Tested successfully on my RM7035C-based system that has
CONFIG_DMA_NONCOHERENT set.  My system works fine with this
patch applied.

Tested-by: Shane McDonald <mcdonald.shane@xxxxxxxxx>


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux