linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: fix highmem with VIPT cache and DMA
Date: Fri, 28 May 2010 21:28:31 +0100	[thread overview]
Message-ID: <20100528202831.GD5189@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20100528194501.GC5189@n2100.arm.linux.org.uk>

On Fri, May 28, 2010 at 08:45:01PM +0100, Russell King - ARM Linux wrote:
> On Fri, May 28, 2010 at 03:26:21PM -0400, Nicolas Pitre wrote:
> > That is exactly the observed behavior on OMAP and Dove when this patch 
> > is _not_ applied.
> 
> I'm about to test this on my OMAP4 board, which will be a DMA-based test,
> which will be using the same filesystem.

Confirmed - on the OMAP4 board _with_ DMA, this patch fixes a problem
causing various faults in userspace - though it's nowhere near as bad
as the Versatile Express board.

So, we seem to have this behaviour:

- with PIO drivers, with this patch breaks userspace, without fixes userspace
- with DMA drivers, with this patch fixes userspace, without breaks userspace

Note that MMCI does do flush_dcache_page() on PIO read.

Maybe there's something wrong in __flush_dcache_page()?

  reply	other threads:[~2010-05-28 20:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 21:02 [PATCH] ARM: fix highmem with VIPT cache and DMA Nicolas Pitre
2010-03-26 13:34 ` Catalin Marinas
2010-03-26 15:51   ` Nicolas Pitre
2010-03-26 23:09     ` Russell King - ARM Linux
2010-04-11 14:42     ` Nicolas Pitre
2010-04-12  7:56       ` saeed bishara
2010-04-12 15:36         ` Nicolas Pitre
2010-04-13  7:11           ` saeed bishara
2010-04-13 11:50             ` Nicolas Pitre
2010-04-12 19:41       ` Russell King - ARM Linux
2010-05-28 18:56       ` Russell King - ARM Linux
2010-05-28 19:26         ` Nicolas Pitre
2010-05-28 19:45           ` Russell King - ARM Linux
2010-05-28 20:28             ` Russell King - ARM Linux [this message]
2010-05-28 20:49               ` Nicolas Pitre
2010-05-28 22:19                 ` Russell King - ARM Linux
2010-05-29  0:00                   ` Nicolas Pitre
  -- strict thread matches above, loose matches on Subject: below --
2010-04-23  6:55 Allen Pais
2010-04-25 14:13 ` Nicolas Pitre
2010-04-25 19:01   ` Allen Pais
2010-04-26  1:07     ` Nicolas Pitre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100528202831.GD5189@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).