Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755074Ab0GGAvW (ORCPT ); Tue, 6 Jul 2010 20:51:22 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:42166 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753535Ab0GGAvV convert rfc822-to-8bit (ORCPT ); Tue, 6 Jul 2010 20:51:21 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=lKsz7nhM/X3H4R9k2wCpctXp6otlB5CXusy2VuQYmdQWIea7PQQ1ihoWix5B9MFp1E T/k4qzRKDI9aPsXWCK0SxVvfEv8KL/sYg/k33BPZxfv7fN5qZsQRVg2ZBrM5dMfk2mri q3Nsefyk5gLlTUymW0igEvahfd47KqLhmMgGQ= MIME-Version: 1.0 In-Reply-To: <1278463901.20082.34.camel@dwillia2-linux> References: <4C29420D.2010406@intel.com> <4C2A8879.8010000@intel.com> <4C2AC55E.3040303@intel.com> <1277923422.16256.8.camel@localhost> <4C2B9DAC.1030806@intel.com> <1277928125.18854.0.camel@localhost> <4C2BBACF.3080405@intel.com> <1277965264.18854.16.camel@localhost> <4C2C3B07.7050200@intel.com> <1277968336.4945.3.camel@localhost> <4C2C4319.6090906@intel.com> <1277972137.12558.2.camel@localhost> <4C2CCE67.6070600@intel.com> <1278324973.16975.68.camel@localhost> <1278463901.20082.34.camel@dwillia2-linux> Date: Tue, 6 Jul 2010 17:51:19 -0700 X-Google-Sender-Auth: GbPoM2Vt0LPagv3oX8sB_5ONeKo Message-ID: Subject: Re: BUG in drivers/dma/ioat/dma_v2.c:314 From: Chris Li To: Dan Williams Cc: David Woodhouse , linux-kernel , Matthew Wilcox Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 24 On Tue, Jul 6, 2010 at 5:51 PM, Dan Williams wrote: > No, it should be PCI_DEVICE_ID_INTEL_IOAT_SNB (0x402f) for the dma > engine at 00:0f.0 . ?PCI_DEVICE_ID_INTEL_ESB2_0 is the LPC controller at > 00:1f.0, > >> That seems to be the reason preventing the warning to be print out. I am not >> sure the warning should be always print out. Just curious why it did >> not trigger. > > It should always trigger, and I have verified as much with the attached > replacement patch (by forcing the error on a working system), but we run > into a new problem. ?dma_pool_alloc() assumes that any dma_mapping error > is transient. ?Do we need a new type of dma_mapping_error() that > indicates permanent failure versus ENOMEM? ?The driver can handle the > allocation failure, but it never gets the chance. Should I test your V2 patch instead? Chris -- 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/