| To: | "Steven J. Hill" <sjhill@mips.com> |
|---|---|
| Subject: | Re: [PATCH v3] MIPS: Add option to disable software I/O coherency. |
| From: | Shane McDonald <mcdonald.shane@gmail.com> |
| Date: | Fri, 11 Jan 2013 20:31:21 -0600 |
| Cc: | linux-mips <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GQsymRpZylKC4vcpvkPD8m+B7LUjxy2QcpyyFDnAsjU=; b=V/VBNxfOC/MjFhrd1OfAG8dPxXSsbFqJY6mVXFyToivfM5rb27M8uM3iGKWW/T/xI7 HxqXIpf7YNycArKLZhMucbHyoNlAZJCxBQMIYoqWDCJlmBKaCOgjAKS6Wpn+0zckcWyR Bdm6aDvrOy7I0xZC+fZ8CEYhSXapBpOe+K2OdSqvSBsqbvbexOJ08ST3zTw9MxbVBnWJ OJRaVe3aMYsUHVCbYv9qvqBeMeKeULScSlHbGoEgvQySvxlYpO53Gh1rDtwR+JPoGLF8 yYJzx6gf0Hx/NC9Ck89yRrgjbsYoara+gEaGl/0cbDncZ5P+Nd062B8Zi914fz4EbZbr Phpw== |
| In-reply-to: | <1357941325-25718-1-git-send-email-sjhill@mips.com> |
| List-archive: | <http://www.linux-mips.org/archives/linux-mips/> |
| List-help: | <mailto:ecartis@linux-mips.org?Subject=help> |
| List-id: | linux-mips <linux-mips.eddie.linux-mips.org> |
| List-owner: | <mailto:ralf@linux-mips.org> |
| List-post: | <mailto:linux-mips@linux-mips.org> |
| List-software: | Ecartis version 1.0.0 |
| List-subscribe: | <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips> |
| List-unsubscribe: | <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips> |
| References: | <1357941325-25718-1-git-send-email-sjhill@mips.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Fri, Jan 11, 2013 at 3:55 PM, Steven J. Hill <sjhill@mips.com> wrote: > From: "Steven J. Hill" <sjhill@mips.com> > > 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@mips.com> > --- > 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@gmail.com> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v3] MIPS: Add option to disable software I/O coherency., Steven J. Hill |
|---|---|
| Next by Date: | [PATCH v4 0/5] watchdog: bcm47xx_wdt.c: add support for SoCs with PMU, Hauke Mehrtens |
| Previous by Thread: | [PATCH v3] MIPS: Add option to disable software I/O coherency., Steven J. Hill |
| Next by Thread: | [PATCH v4 0/5] watchdog: bcm47xx_wdt.c: add support for SoCs with PMU, Hauke Mehrtens |
| Indexes: | [Date] [Thread] [Top] [All Lists] |