Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1267000
| From | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() |
| Date | 2015-11-11 08:20 +0100 |
| Message-ID | <qtxRf-85a-1@gated-at.bofh.it> (permalink) |
| References | <qt9vz-JX-9@gated-at.bofh.it> <qtpTH-2Jl-3@gated-at.bofh.it> <qtx4R-7xx-1@gated-at.bofh.it> <qtxxU-7Hf-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Nov 11, 2015 at 3:52 PM, Guenter Roeck <linux@roeck-us.net> wrote: > On 11/10/2015 10:27 PM, Alexandre Courbot wrote: >> >> On Wed, Nov 11, 2015 at 7:41 AM, Andrew Morton >> <akpm@linux-foundation.org> wrote: >>> >>> On Tue, 10 Nov 2015 14:10:47 +0900 Alexandre Courbot >>> <acourbot@nvidia.com> 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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Alexandre Courbot <acourbot@nvidia.com> - 2015-11-10 06:20 +0100
Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Andrew Morton <akpm@linux-foundation.org> - 2015-11-10 23:50 +0100
Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Dave Airlie <airlied@gmail.com> - 2015-11-11 03:30 +0100
Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Alexandre Courbot <gnurou@gmail.com> - 2015-11-11 07:30 +0100
Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Guenter Roeck <linux@roeck-us.net> - 2015-11-11 08:00 +0100
Re: [PATCH] instmem/gk20a: do not use non-portable dma_to_phys() Alexandre Courbot <gnurou@gmail.com> - 2015-11-11 08:20 +0100
csiph-web