Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751823AbbKKHTF (ORCPT ); Wed, 11 Nov 2015 02:19:05 -0500 Received: from mail-io0-f181.google.com ([209.85.223.181]:34778 "EHLO mail-io0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750773AbbKKHTD (ORCPT ); Wed, 11 Nov 2015 02:19:03 -0500 MIME-Version: 1.0 In-Reply-To: <5642E593.1030102@roeck-us.net> References: <1447132247-9767-1-git-send-email-acourbot@nvidia.com> <20151110144144.39c2a4109c26e91f4f3fb47b@linux-foundation.org> <5642E593.1030102@roeck-us.net> From: Alexandre Courbot Date: Wed, 11 Nov 2015 16:18:42 +0900 Message-ID: Subject: Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() To: Guenter Roeck Cc: Andrew Morton , Alexandre Courbot , Dave Airlie , Ben Skeggs , Stephen Rothwell , linux-next , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1399 Lines: 37 On Wed, Nov 11, 2015 at 3:52 PM, Guenter Roeck wrote: > On 11/10/2015 10:27 PM, Alexandre Courbot wrote: >> >> On Wed, Nov 11, 2015 at 7:41 AM, Andrew Morton >> wrote: >>> >>> On Tue, 10 Nov 2015 14:10:47 +0900 Alexandre Courbot >>> wrote: >>> >>>> dma_to_phys() is not guaranteed to be available on all platforms and >>>> should not be used outside of arch/. Replace it with what it is expected >>>> to do in our case: simply cast the DMA handle to a physical address. >>> >>> >>> mainline i386 allmodconfig is now busted. >> >> >> How? I just managed to build it both with and without this patch (note >> that this is not to dispute the uglyness of this patch). >> > > Good for you. For me, it is > > ERROR: "dma_to_phys" [drivers/gpu/drm/nouveau/nouveau.ko] undefined! > > as recorded in > > http://server.roeck-us.net:8010/builders/hwmon-i386-master/builds/338/steps/buildcommand/logs/stdio > http://server.roeck-us.net:8010/builders/hwmon-i386-master/builds/339/steps/buildcommand/logs/stdio Not sure what I did to avoid this - anyway, the call to this function is going away. -- 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/