From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752190AbbCXL5y (ORCPT ); Tue, 24 Mar 2015 07:57:54 -0400 Received: from smtp97.ord1c.emailsrvr.com ([108.166.43.97]:44290 "EHLO smtp97.ord1c.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917AbbCXL5v (ORCPT ); Tue, 24 Mar 2015 07:57:51 -0400 X-SMTPDoctor-Processed: csmtpprox beta X-Sender-Id: markh@compro.net Message-ID: <5511513D.6090106@compro.net> Date: Tue, 24 Mar 2015 07:57:49 -0400 From: Mark Hounschell Reply-To: markh@compro.net Organization: Compro Computer Svcs. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Joerg Roedel CC: "linux-scsi@vger.kernel.org >> SCSI development list" , Hannes Reinecke , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: BUG: SCSI aic7xxx driver and AMD IOMMU References: <54E1FFFA.1060403@compro.net> <54F60D33.8090401@compro.net> <20150323150304.GQ4441@8bytes.org> In-Reply-To: <20150323150304.GQ4441@8bytes.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/23/2015 11:03 AM, Joerg Roedel wrote: > Hi Mark, > > On Tue, Mar 03, 2015 at 02:36:19PM -0500, Mark Hounschell wrote: >> It looks like this problem is NOT a bug with the SCSI aic7xxx driver >> after all. I can duplicate this BUG very easily with other hardware. >> Simply removing a driver module (whether it its self, has actually >> used any of the DMA API or not) that is sitting on the same pci bus >> as a card that is actually using DMA will cause this. And that card >> that is in use and using DMA will no longer function. It "looks and >> feels" like unloading a module causes the IOMMU to improperly unmap >> valid mappings. > > You are right, I looked into the code and found the problem. I'll post a > fix for testing this week. > I'll be happy to test it. Regards Mark