From: mad_soft@inbox.ru (Dmitry Artamonow)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pxa/hx4700: Fix basic suspend/resume
Date: Sun, 15 May 2011 00:18:25 +0400 [thread overview]
Message-ID: <20110514201824.GA16305@rainbow> (raw)
In-Reply-To: <20399.31072.qm@web29013.mail.ird.yahoo.com>
On 20:18 Fri 13 May , Paul Parsons wrote:
> Hi Dmitry,
>
> That patch found its way into 2.6.39-rc7 and earlier so I'm already using it.
> Thanks anyway.
Erm, do you have some special 2.6.39-rc7? :) I can't see in mine
any .suspend/.resume callbacks defined in asic3.c for tmio_mmc cell.
Or have you meant some other changes? BTW, I quickly looked at
tmio_mmc.c and it seems very suspicious that it calls cell->disable(dev)
on suspend, but cell->resume(dev) on resume. As I said earlier,
.resume isn't defined in asic3.c for tmio_mmc cell - so probably that's
the culprit.
> As for the tmio_mmc driver, it more or less works for me in 2.6.39-rc7,
> though it does produce a lot of "tmio_mmc: Spurious irq" messages. My SD
> card is detected OK and reading / writing it works fine. I'll try to look
> into both the spurious IRQ problem and the suspend / resume bug(s).
Ah, so mmc works for you in 2.6.39-rc7? Nice to hear! Wonder why it
doesn't work for me. I suspect this may be connected to the fact that
I boot from WinCE using HaRET - probably Windows leaves controller in
some inconsistent state and driver doesn't reset hardware properly.
As for "Spurious irq, disabling!" messages, I'm seeing them for a long
time - since pr_debug was turned into pr_warning in commit 311f3ac768
("mmc: add DMA support to tmio_mmc driver, when used on SuperH")
So I suspect this issue (if it's issue at all) has always been there, just
unseen before that commit. Not sure what causes those spurious interrupts -
maybe it's some specific of TMIO hardware in ASIC3?
--
Best regards,
Dmitry "MAD" Artamonow
next prev parent reply other threads:[~2011-05-14 20:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 19:49 [PATCH] pxa/hx4700: Fix basic suspend/resume Paul Parsons
2011-05-13 10:32 ` Dmitry Artamonow
2011-05-13 19:18 ` Paul Parsons
2011-05-14 20:18 ` Dmitry Artamonow [this message]
2011-05-14 22:32 ` Paul Parsons
2011-05-15 13:14 ` Dmitry Artamonow
2011-05-15 13:27 ` Paul Parsons
2012-02-26 10:54 ` Philipp Zabel
2012-02-27 2:12 ` Haojian Zhuang
2012-02-27 2:32 ` Paul Parsons
2012-02-27 3:15 ` Haojian Zhuang
2012-02-27 9:04 ` Russell King - ARM Linux
2012-02-27 9:54 ` Haojian Zhuang
2012-02-27 14:31 ` Paul Parsons
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=20110514201824.GA16305@rainbow \
--to=mad_soft@inbox.ru \
--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).