From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755383AbaCEQ0B (ORCPT ); Wed, 5 Mar 2014 11:26:01 -0500 Received: from mail-we0-f170.google.com ([74.125.82.170]:36701 "EHLO mail-we0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752221AbaCEQZ6 (ORCPT ); Wed, 5 Mar 2014 11:25:58 -0500 Date: Wed, 5 Mar 2014 18:25:52 +0200 From: Eyal Perry To: Gerald Schaefer Cc: Amir Vadai , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: mlx4_core: DMA-API: device driver tries to sync DMA memory it has not allocated Message-ID: <20140305162534.GA19488@mtl-eit-vdi-146.mtl.labs.mlnx> References: <20131210144416.31b7002c@thinkpad> <20140227170107.GB24226@mtl-eit-vdi-22.mtl.labs.mlnx> <20140228222457.3db91448@vbox-ubuntu> <20140302084046.GD809@mtl-eit-vdi-22.mtl.labs.mlnx> <20140303185832.67862975@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140303185832.67862975@thinkpad> User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/03/14 18:58 +0100, Gerald Schaefer wrote: > I checked again with 3.10 and 3.11, and couldn't reproduce the warning > there. However, there is another warning on those kernel versions: > > mlx4_core 0000:00:00.0: DMA-API: device driver failed to check map error[device address=0x00000001046af186] [size=258 bytes] [mapped as single] > > That one was fixed with commit 237a3a3b "net/mlx4_en: Fix handling of dma_map failure". > When I apply commit 237a3a3b on top of 3.11, I can also reproduce the > new "sync DMA" warning there. > > So, either the new "sync DMA" warning was introduced with commit 237a3a3b, > or it was just occluded by the previous "map error" warning. Hi Gerald, Thanks for the update and for your efforts on investigating this issue, we are currently working on reproducing this issue on our lab in order to understand thoroughly the root cause. Eyal