Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751905AbcKQWAs (ORCPT ); Thu, 17 Nov 2016 17:00:48 -0500 Received: from 8bytes.org ([81.169.241.247]:51598 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714AbcKQWAr (ORCPT ); Thu, 17 Nov 2016 17:00:47 -0500 Date: Thu, 17 Nov 2016 23:00:45 +0100 From: Joerg Roedel To: Mark Hounschell Cc: iommu@lists.linux-foundation.org, Linux-kernel Subject: Re: BUG at drivers/iommu/amd_iommu.c:1436! Message-ID: <20161117220045.GD2078@8bytes.org> References: <838275de-6cac-93d8-ca04-54b06a24b3d4@compro.net> <20161117214141.GC2078@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 22 On Thu, Nov 17, 2016 at 04:53:24PM -0500, Mark Hounschell wrote: > On 11/17/2016 04:41 PM, Joerg Roedel wrote: > >Hi Mark, > > > >On Thu, Nov 17, 2016 at 02:13:59PM -0500, Mark Hounschell wrote: > >>Kernel version is 4.8.0. No failure when the IOMMU is disabled. This > >>is an out of tree GPL driver using > >>pci_alloc_consistent/pci_free_consistent. The free causes this. > > > >Can you please run the driver with dma-api debugging enabled? Does it > >trigger any warnings? > > > > It's been a while since I've done that for ya. Kernel config > options? Kernel cmd line you want? Just enable CONFIG_DMA_API_DEBUG and boot the resulting kernel. Please send me full dmesg when the issue happens again. Joerg