MIPS: Alchemy: Determine cohereny at runtime based on cpu type
All Alchemy chips have coherent DMA, but for example the USB or AC97 peripherals on the Au1000/1500/1100 are not. This patch uses DMA_MAYBE_COHERENT on Alchemy and sets coherentio based on CPU type. Signed-off-by:Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/6576/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/Kconfig 1 addition, 0 deletionsarch/mips/Kconfig
- arch/mips/alchemy/Kconfig 0 additions, 5 deletionsarch/mips/alchemy/Kconfig
- arch/mips/alchemy/common/setup.c 10 additions, 0 deletionsarch/mips/alchemy/common/setup.c
- arch/mips/pci/pci-alchemy.c 2 additions, 3 deletionsarch/mips/pci/pci-alchemy.c
Loading
Please register or sign in to comment