Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760428AbZFNVUl (ORCPT ); Sun, 14 Jun 2009 17:20:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755511AbZFNVUd (ORCPT ); Sun, 14 Jun 2009 17:20:33 -0400 Received: from aeryn.fluff.org.uk ([87.194.8.8]:36133 "EHLO kira.home.fluff.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754376AbZFNVUc (ORCPT ); Sun, 14 Jun 2009 17:20:32 -0400 Date: Sun, 14 Jun 2009 22:20:18 +0100 From: Ben Dooks To: Stefan Richter Cc: linux-kernel@vger.kernel.org, Joerg Roedel Subject: Re: dma-debug: check_for_stack background? Message-ID: <20090614212018.GD20442@fluff.org.uk> References: <4A3547DD.2010809@s5r6.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A3547DD.2010809@s5r6.in-berlin.de> X-Disclaimer: These are my own opinions, so there! User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 793 Lines: 20 On Sun, Jun 14, 2009 at 08:56:29PM +0200, Stefan Richter wrote: > Hi, > > it took a while but I finally noticed that the DMA debug facility warns > about mappings of on-stack memory. What's the problem with that? Are > there architectures which don't support such mappings, or is it a > question of caution not to DMA-map the stack? I'm not sure if it is possible on all architectures, however the DMA mapping documentation prohibts the use of stack memory. -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes' -- 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/