linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MMC card access with IOMMU broken
@ 2012-01-22 10:38 Oliver Hartkopp
  0 siblings, 0 replies; only message in thread
From: Oliver Hartkopp @ 2012-01-22 10:38 UTC (permalink / raw)
  To: Chris Ball; +Cc: linux-mmc, Chris Wright

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-22 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-22 10:38 MMC card access with IOMMU broken Oliver Hartkopp

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).