linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mhowe@cwlinux.com (Morgan Howe)
To: linux-arm-kernel@lists.infradead.org
Subject: mxcmmc driver hangs on sync
Date: Fri, 18 Jun 2010 13:47:12 +0800	[thread overview]
Message-ID: <20100618134712.2d8d949f@morgan> (raw)
In-Reply-To: <45DEC573-1158-477E-A971-03CB4633F442@zepcam.com>

Hey Erik,

On Thu, 17 Jun 2010 20:51:37 +0200
Erik Oomen <erik.oomen@zepcam.com> wrote:
> We've had the same problems for various kernels and mxcmmc
> modifications. The following fixed it.  We applied it to the 2.6.28
> kernel and have been writing and reading *many* Gigabytes without a
> problem. 

We ran into this problem using 2 SD cards and assumed that it was
directly related to that.  This morning I decided to try and reproduce
this problem using only a single SD card, and I was indeed able to do
so.

Thanks for the patch - it does appear to fix the problem for a single
SD, but when using 2 SD cards I still ran into the issue.  However,
replacing your irq_save/restore calls with a spinlock seems to fix the
issue for multiple SD cards.  Is using a spinlock an appropriate way to
fix this or is there some other way that would be preferable?

Regards,
Morgan

      parent reply	other threads:[~2010-06-18  5:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15  3:29 mxcmmc driver hangs on sync Morgan Howe
2010-06-15  6:31 ` Daniel Mack
2010-06-15  7:20   ` Morgan Howe
2010-06-15  7:22     ` Daniel Mack
2010-06-15 10:32       ` Morgan Howe
2010-06-17  8:33       ` Morgan Howe
2010-06-17 18:51         ` Erik Oomen
2010-06-17 19:59           ` Daniel Mack
2010-06-17 20:43             ` Erik Oomen
2010-06-18  5:47           ` Morgan Howe [this message]

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=20100618134712.2d8d949f@morgan \
    --to=mhowe@cwlinux.com \
    --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).