linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joerg Roedel <jroedel@suse.de>
To: David F <dfitz7@c2h2.net>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
	linux-kernel@vger.kernel.org, Denis Bychkov <manover@gmail.com>
Subject: Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad
Date: Mon, 5 Dec 2016 11:20:48 +0100	[thread overview]
Message-ID: <20161205102048.GK2828@suse.de> (raw)
In-Reply-To: <53f81507-4fa8-a1ce-2e69-38999724984b@c2h2.net>

Hi David,

On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote:
> Aug 19 13:32:20 taz [  156.425627] ------------[ cut here ]------------
> Aug 19 13:32:20 taz [  156.428136] kernel BUG at
> drivers/iommu/intel-iommu.c:3682!

This BUG_ON triggered because the IOMMU driver can't find a domain for
the device passed to intel_unmap. This looks like an IOMMU bug, but I am
not 100% sure yet, because if there is no domain for a device the
intel_map_page path returns 0 and the intel_unmap function should not be
called.

I need a couple of things to track this down. Can you please build a
kernel with CONFIG_DMA_API_DEBUG=y and boot the kernel with IOMMU
disabled? Insert and remove an SD-Card with this kernel and send me a
full dmesg.

Please also send me the output of 'lspci -v' and a full dmesg with IOMMU
enabled and the BUG triggered.


Thanks,

	Joerg

  reply	other threads:[~2016-12-05 10:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e4db4cc7-0047-253e-f7c6-2b8208a0c6ee@c2h2.net>
2016-12-05  0:57 ` 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad David F
2016-12-05 10:20   ` Joerg Roedel [this message]
2016-12-05 12:33     ` David F
2015-11-08 22:05 Denis Bychkov
2015-12-15 16:01 ` Ulf Hansson
2015-12-16  7:50   ` Adrian Hunter

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=20161205102048.GK2828@suse.de \
    --to=jroedel@suse.de \
    --cc=adrian.hunter@intel.com \
    --cc=dfitz7@c2h2.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manover@gmail.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).