Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751396AbcLEKWN (ORCPT ); Mon, 5 Dec 2016 05:22:13 -0500 Received: from mx2.suse.de ([195.135.220.15]:45885 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbcLEKVm (ORCPT ); Mon, 5 Dec 2016 05:21:42 -0500 Date: Mon, 5 Dec 2016 11:20:48 +0100 From: Joerg Roedel To: David F Cc: Adrian Hunter , linux-kernel@vger.kernel.org, Denis Bychkov Subject: Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad Message-ID: <20161205102048.GK2828@suse.de> References: <53f81507-4fa8-a1ce-2e69-38999724984b@c2h2.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53f81507-4fa8-a1ce-2e69-38999724984b@c2h2.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 862 Lines: 25 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