Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751055AbdLaUyH convert rfc822-to-8bit (ORCPT ); Sun, 31 Dec 2017 15:54:07 -0500 Received: from mout.gmx.net ([212.227.15.15]:53707 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750854AbdLaUyG (ORCPT ); Sun, 31 Dec 2017 15:54:06 -0500 Message-ID: <1514753618.20829.3.camel@gmx.de> Subject: Re: nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152 From: Mike Galbraith To: Ilia Mirkin , Christian =?ISO-8859-1?Q?K=F6nig?= Cc: Michel =?ISO-8859-1?Q?D=E4nzer?= , Tobias Klausmann , nouveau , LKML , dri-devel , Ben Skeggs Date: Sun, 31 Dec 2017 21:53:38 +0100 In-Reply-To: References: <1513620418.7113.51.camel@gmx.de> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:1cqJp+ELRqQcAOSWaLEe8mxwvqdBdrXUfTjV+SFso90zuOyiUkL fBGy+3AeSO4zgWJTP4txSVXIyA+XwOEHJF7+9ZR3IzqVX9tjtPAg/B5+EBKCUgh5D10kAGV V03XRr/gCDTpXlXd+t4OwiopZD/Bz3eEoi+VWehgosm8l/c6QQyZhJXjzODy2gVvALGE7Pi JVIOIqfbEe3T/or19xfRA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Lf5fmFVfbo8=:VEFI4If8zDVMBi5l9QM1WO O91LkOI0RBzFecQ9p0beSyv4Jj+Y1myN9oBA6U78aGcM1BUS/r7u3llTnhO+EzH53n/Heg5YN OJ3HREuzg8ClBTXmcKqXturKkzLtN1dDjPf3E2cpSngQVAdZYnSelXxllPOKCjlPflfGEh5zZ ANbhBLeoSI/7pFJ5hOgC6kvXP/jWxGCCN483UnrpBp8jmJQ+l45+Oif84rnxhvEFf4iImjNA7 iNO+hR9wk/AEY0rvE0yJEbhq51Gpr0uizQCbiOC6vfN/qmfbExYRHhFabXcC5QDJzfQ3TczPC HPG2RW8EJa2m2DKEalFVpxzeev+sAs67B0FXR3uMcyIZ+nmLeBpWXoe4sqrGEfZAmgISul7J/ 7suozPw1r4jUnYgrIWil3Byhs6rYsw9pu3B17opxm/s/ph9W33Uu1gJEBgWo9re+Ly/AINabK TM62fmrvr2PmmUb0IwaLd9IAnhNhgmJBrsSdkRFVj8r5lOyGtvTB8CEYLaQH58gNOr6UbX/O0 JwiJCTOWc7h2Z5Lx9duABZAoGO+5q0qSwotkX/xKEYEdILLXoKpKhS1vMa00D2/dkqNxFN9US EtfKA/t9xai6BIJTmTllZE6VbrYuds0XgzQqpKNqO+4PN+LFJNoo5NAkE11Fq3BuNfCcWk8Lt ZsO9Oe1G/Wj3sQBz6+k2qMWYWw9PhCz5df99Wy3u/dx29/+NNAJSCMKngUy0thMgQkHFW6hHZ 96yHJsYYYc98k+fh0WP1n9IDAY4TEtgMPHFi0b0dsQRqo3Bydjmr3bwvKYBBV0d/4dLbeYTru k38t0U2DhqTLacIALaEOaKMvMh8poDjz7lFTSz3KVDab+8wRBQ= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2296 Lines: 63 On Sun, 2017-12-31 at 13:27 -0500, Ilia Mirkin wrote: > On Tue, Dec 19, 2017 at 8:45 AM, Christian K?nig > wrote: > > Am 19.12.2017 um 11:39 schrieb Michel D?nzer: > >> > >> On 2017-12-19 11:37 AM, Michel D?nzer wrote: > >>> > >>> On 2017-12-18 08:01 PM, Tobias Klausmann wrote: > >>>> > >>>> On 12/18/17 7:06 PM, Mike Galbraith wrote: > >>>>> > >>>>> Greetings, > >>>>> > >>>>> Kernel bound workloads seem to trigger the below for whatever reason. > >>>>> I only see this when beating up NFS. There was a kworker wakeup > >>>>> latency issue, but with a bandaid applied to fix that up, I can still > >>>>> trigger this. > >>>> > >>>> > >>>> Hi, > >>>> > >>>> i have seen this one as well with my system, but i could not find an > >>>> easy way to trigger it for bisecting purpose. If you can trigger it > >>>> conveniently, a bisect would be nice! > >>> > >>> I'm seeing this (with the amdgpu and radeon drivers) when restic takes a > >>> backup, creating memory pressure. I happen to have just finished > >>> bisecting, the result is: > >>> > >>> 648bc3574716400acc06f99915815f80d9563783 is the first bad commit > >>> commit 648bc3574716400acc06f99915815f80d9563783 > >>> Author: Christian K?nig > >>> Date: Thu Jul 6 09:59:43 2017 +0200 > >>> > >>> drm/ttm: add transparent huge page support for DMA allocations v2 > >>> > >>> Try to allocate huge pages when it makes sense. > >>> > >>> v2: fix comment and use ifdef > >>> > >>> > >> BTW, I haven't noticed any bad effects other than the dmesg splats, so > >> maybe it's just noise about transient failures for which there is a > >> proper fallback in place. > > > > > > Yeah, I think that is exactly what happens here. > > > > We try to allocate a huge page, but fail and so fall back to using multiple > > 4k pages instead. > > > > Going to send out a patch to suppress the warning. > > Hi Christian, > > Did you ever send out such a patch? I didn't see one on the list, but > perhaps I missed it. One definitely hasn't made it upstream yet. (I > just hit the issue myself with Linus's tree from last night.) Actually, that wants a bit more methinks, because while the stack dump goes away, you still get spammed, it just comes in smaller chunks. -Mike