Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755184AbZDVPtU (ORCPT ); Wed, 22 Apr 2009 11:49:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753497AbZDVPs4 (ORCPT ); Wed, 22 Apr 2009 11:48:56 -0400 Received: from mail-gx0-f166.google.com ([209.85.217.166]:42865 "EHLO mail-gx0-f166.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753380AbZDVPsz convert rfc822-to-8bit (ORCPT ); Wed, 22 Apr 2009 11:48:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DSuP+JSWpBHnyGi5peCJdsmRPdIFei/ZRrO06d4kK/h2fOpimpBNqvEtLZaHsjijiS xAPNHI/zm9FYjePsIXP/aorzm9Pi9J5Rbf+UOX7ngHI+uxhZfAjVr9RTupkWdpBpFlnm Cxxz5mQyFjlOUg03eVMeaJjToHhYeVfX2S1WU= MIME-Version: 1.0 In-Reply-To: <129600E5E5FB004392DDC3FB599660D79A252C69@irsmsx504.ger.corp.intel.com> References: <129600E5E5FB004392DDC3FB599660D792A39C27@irsmsx504.ger.corp.intel.com> <129600E5E5FB004392DDC3FB599660D79A252C69@irsmsx504.ger.corp.intel.com> Date: Wed, 22 Apr 2009 19:48:53 +0400 Message-ID: Subject: Re: 2.6.30-rc1: ioatdma: DMA-API: device driver frees DMA memory with wrong function From: Alexander Beregalov To: "Sosnowski, Maciej" Cc: "Williams, Dan J" , Kernel Testers List , LKML Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1825 Lines: 49 2009/4/22 Sosnowski, Maciej : > Alexander Beregalov wrote: >> 2009/4/17 Sosnowski, Maciej : >>> Dan Williams wrote: >>>> On Wed, Apr 15, 2009 at 5:39 AM, Alexander Beregalov >>>> wrote: >>>>> 2009/4/9 Alexander Beregalov : >>>>>> ioatdma 0000:00:08.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 >>>>>> ioatdma 0000:00:08.0: setting latency timer to 64 >>>>>> ioatdma 0000:00:08.0: Intel(R) I/OAT DMA Engine found, 4 channels, >>>>>> device version 0x12, driver version 3.64 >>>>>>  alloc irq_desc for 33 on cpu 0 node 0 >>>>>>  alloc kstat_irqs on cpu 0 node 0 >>>>>> ioatdma 0000:00:08.0: irq 33 for MSI/MSI-X >>>>>> ------------[ cut here ]------------ >>>>>> WARNING: at lib/dma-debug.c:565 check_unmap+0x2f6/0x6a0() >>>>>> Hardware name: PowerEdge 1950 >>>>>> ioatdma 0000:00:08.0: DMA-API: device driver frees DMA memory with >>>>>> wrong function [device address=0x000000007f76f800] [size=2000 bytes] [map >>>>>> ped as single] [unmapped as page] >>>>> >>>>> The problem still persists. >>>> >>>> Thanks for the report Alexander.  Maciej and I are looking into a fix. >>>> >>>> Regards, >>>> Dan >>> >>> Hi Alexander, >>> >>> Could you check if the following patch helps? >> >> Hi Maciej. >> >> No, unfortunately it does not help. The same warning message. > > Ok, I have missed to cover self_test case. > How about this one instead? > It works! Thanks. Reported-by: Alexander Beregalov Tested-by: Alexander Beregalov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/