From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Chris Ball <cjb@laptop.org>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
Chris Wright <chrisw@sous-sol.org>
Subject: MMC card access with IOMMU broken
Date: Sun, 22 Jan 2012 11:38:57 +0100 [thread overview]
Message-ID: <4F1BE741.9080305@hartkopp.net> (raw)
Hi all,
a problem first that occurred in 3.2 is still in a problem 3.3rc1
See
http://lists.linuxfoundation.org/pipermail/iommu/2012-January/003438.html
As Chris Wright pointed out there's probably something in the MMC DMA handling
missing when IOMMU is enabled.
I can send new logs like this from the latest 3.3rc1 ...
[ 44.508118] mmc0: error -110 whilst initialising MMC card
[ 44.604237] mmc0: error -110 whilst initialising MMC card
[ 44.711132] DRHD: handling fault status reg 3
[ 44.711199] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.711202] DMAR:[fault reason 02] Present bit in context entry is clear
[ 44.711226] mmc0: card is mmc v4 but doesn't support any high-speed modes.
[ 44.711495] mmc0: power class selection to bus width 4 failed
[ 44.711996] DRHD: handling fault status reg 3
[ 44.712058] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.712060] DMAR:[fault reason 02] Present bit in context entry is clear
[ 44.712093] mmc0: new MMC card at address 0001
[ 44.722460] mmcblk0: mmc0:0001 000000 30.6 MiB
[ 44.724100] DRHD: handling fault status reg 2
[ 44.724165] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.724168] DMAR:[fault reason 02] Present bit in context entry is clear
[ 44.724363] DRHD: handling fault status reg 3
[ 44.724430] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.724433] DMAR:[fault reason 02] Present bit in context entry is clear
[ 44.724667] mmcblk0: unknown partition table
[ 44.729817] DRHD: handling fault status reg 3
[ 44.729882] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.729884] DMAR:[fault reason 02] Present bit in context entry is clear
[ 44.730088] DRHD: handling fault status reg 3
(..)
[ 44.825656] DRHD: handling fault status reg 3
[ 44.829802] DMAR:[DMA Write] Request device [03:00.0] fault addr fffff000
[ 44.829805] DMAR:[fault reason 02] Present bit in context entry is clear
[ 47.952259] mmc0: card 0001 removed
And also with IOMMU disabled if it helps.
Regards,
Oliver
reply other threads:[~2012-01-22 10:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4F1BE741.9080305@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=chrisw@sous-sol.org \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.