From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Boot Subject: Re: iommu_iova leak [inside 3w-9xxx] Date: Sat, 17 Sep 2011 21:17:51 +0100 Message-ID: <4E75006F.2090909@bootc.net> References: <4E734467.3040703@bootc.net> <1316256305.24257.25.camel@shinybook.infradead.org> <3A4FADE6-3653-46C5-B225-8200F9DCE35B@bootc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: adam radford Cc: "Woodhouse, David" , lkml , Adam Radford , "James E.J. Bottomley" , linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org On 17/09/2011 20:22, adam radford wrote: > On Sat, Sep 17, 2011 at 7:29 AM, Chris Boot wrote: >> On 17 Sep 2011, at 12:57, Chris Boot wrote: >>> On 17 Sep 2011, at 11:45, Woodhouse, David wrote: >>>> I suppose it's vaguely possible that we're leaking them in such a way >>>> that they remain on the rbtree, perhaps if the deferred unmap is never >>>> actually happening... but I think it's a whole lot more likely that the >>>> PCI driver is just never bothering to unmap the pages it maps. > If you think 3w-9xxx is not unmapping pages it maps, please re-run with > CONFIG_PCI_DMA_DEBUG=y I can't find a CONFIG_PCI_DMA_DEBUG to enable in 3.1-rc6. Did you mean CONFIG_DMA_API_DEBUG? And as David Woodhouse mentions, the 3ware card houses my root filesystem - is there a way I can debug without unloading the module? If not I guess I can try to work around it but it would be difficult. Cheers, Chris -- Chris Boot bootc@bootc.net