Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754686AbcJGLLp (ORCPT ); Fri, 7 Oct 2016 07:11:45 -0400 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:60297 "EHLO s-opensource.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430AbcJGLLo (ORCPT ); Fri, 7 Oct 2016 07:11:44 -0400 Date: Fri, 7 Oct 2016 08:11:36 -0300 From: Mauro Carvalho Chehab To: Jiri Kosina Cc: =?UTF-8?B?SsO2cmc=?= Otte , Johannes Stezenbach , Patrick Boettcher , Linux Kernel Mailing List , Andy Lutomirski , Michael Krufky , Mauro Carvalho Chehab , Linux Media Mailing List Subject: Re: Problem with VMAP_STACK=y Message-ID: <20161007081136.1eb8fae9@vento.lan> In-Reply-To: References: <20161005093417.6e82bd97@vdr> <20161005060450.1b0f2152@vento.lan> <20161005182945.nkpphvd6wtk6kq7h@linuxtv.org> <20161005155532.682258e2@vento.lan> <20161006141734.4b2e4880@vento.lan> Organization: Samsung X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 25 Em Fri, 7 Oct 2016 09:52:56 +0200 (CEST) Jiri Kosina escreveu: > On Thu, 6 Oct 2016, Mauro Carvalho Chehab wrote: > > > I can't see any other obvious error on the conversion. You could try to > > enable debug options at DVB core/dvb-usb and/or add some printk's to the > > driver and see what's happening. > > Mauro, also please don't forget that there are many more places in > drivers/media that still perform DMA on stack, and so have to be fixed for > 4.9 (as VMAP_STACK makes that to be immediately visible problem even on > x86_64, which it wasn't the case before). Yes, I'm aware of that. I'm doing the conversion of drivers under dvb-usb, at: https://git.linuxtv.org/mchehab/experimental.git/log/?h=media_dmastack_fixes I'll be sending the patches to the ML after ready. I'll then take a look on other USB drivers that use the stack. I guess the non-USB media drivers are safe from this issue. Thanks, Mauro