linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Qin Dehua <qindehua@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>,
	linux-kernel@vger.kernel.org, santosh.shilimkar@ti.com,
	neilb@suse.de
Subject: Re: PROBLEM: ARM-dma-mapping-fix-for-speculative-prefetching cause OOPS
Date: Thu, 7 Jul 2011 10:39:28 +0100	[thread overview]
Message-ID: <20110707093928.GA15325@flint.arm.linux.org.uk> (raw)
In-Reply-To: <BANLkTimupUqpLDdDvMRjB+Js0xW59MTOQA@mail.gmail.com>

On Fri, Jul 01, 2011 at 12:54:09PM +0800, Qin Dehua wrote:
> The followings are messages of the three tests:
> ====== RUN 1 ======
> kernel BUG at drivers/md/raid5.c:3978!

So they are BUG_ON()s after all...

Could you try commenting out:

+       if (dir != DMA_TO_DEVICE)
+               outer_inv_range(paddr, paddr + size);

in ___dma_page_dev_to_cpu and:

+       if (dir != DMA_TO_DEVICE) {
+               unsigned long paddr = __pa(kaddr);
+               outer_inv_range(paddr, paddr + size);
+       }

in ___dma_single_dev_to_cpu please - and put a BUG_ON(dir == DMA_BIDIRECTIONAL)
in their place (because that won't be handled correctly with that change.)

Thanks.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

  reply	other threads:[~2011-07-07  9:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30  4:09 PROBLEM: ARM-dma-mapping-fix-for-speculative-prefetching cause OOPS Qin Dehua
2011-06-30  7:43 ` Russell King
2011-06-30 11:16   ` Qin Dehua
2011-06-30 11:28     ` Russell King
2011-06-30 18:02       ` Dan Williams
2011-07-01  4:54         ` Qin Dehua
2011-07-07  9:39           ` Russell King [this message]
2011-07-08  4:38             ` Qin Dehua
2011-07-08  8:07               ` Russell King
2011-07-08 17:32                 ` Russell King
2011-07-08 20:13                   ` Dan Williams

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=20110707093928.GA15325@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=qindehua@gmail.com \
    --cc=santosh.shilimkar@ti.com \
    /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).