From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Christian_K=F6nig?= Subject: Re: [PATCH 1/3] drm/radeon: stop poisoning the GART TLB Date: Wed, 2 Jul 2014 21:31:47 +0200 Message-ID: <53B45E23.2040301@amd.com> References: <1401888598-1961-1-git-send-email-deathsimple@vodafone.de> <5398218A.4040104@vodafone.de> <53998D99.6050008@vodafone.de> <539B1CA0.6010600@vodafone.de> <539D9601.8090308@vodafone.de> <53A2415D.6020808@daenzer.net> <53A2B155.4000001@vodafone.de> <53A7E21E.1000000@daenzer.net> <53A7F9E1.8080700@amd.com> <53A91F89.7090504@daenzer.net> <53A94F94.6040603@amd.com> <53AA4913.10401@daenzer.net> <53ACD78C.6090102@daenzer.net> <53AD2AB8.4080902@amd.com> <53AD3261.9020206@daenzer.net> <53AFEBCA.4060307@amd.com> <53B0FF3F.3010408@daenzer.net> <53B11510.3030709@amd.com> <53B259C9.7010903@daenzer.net> <53B2A698.1010804@amd.com> <53B3AD41.5070307@daenzer.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from na01-bn1-obe.outbound.protection.outlook.com (dns-bn1lp0143.outbound.protection.outlook.com [207.46.163.143]) by gabe.freedesktop.org (Postfix) with ESMTP id B2D7B6E60E for ; Wed, 2 Jul 2014 12:31:55 -0700 (PDT) In-Reply-To: <53B3AD41.5070307@daenzer.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: =?ISO-8859-1?Q?Michel_D=E4nzer?= , Alex Deucher Cc: dri-devel List-Id: dri-devel@lists.freedesktop.org > FWIW, I've also had successful runs with the first three of the split > changes, and with all of them. Ok I've just pushed a branch testing-3.15-v3 to fdo which moves all page = table allocation to the end of VRAM. Please try with this memory layout, = it should give us a good idea if it's indeed a memory corruption or = something else. Apart from that please try to lockup your system with = radeon.lockup_timeout=3D0 on the kernel commandline and then try to get a = dump of the vm page tables with the script I've send to you in one of = the mails. Thanks for the help, Christian. Am 02.07.2014 08:57, schrieb Michel D=E4nzer: > On 01.07.2014 21:16, Christian K=F6nig wrote: >> Am 01.07.2014 08:48, schrieb Michel D=E4nzer: >>> On 30.06.2014 16:43, Christian K=F6nig wrote: >>>> Am 30.06.2014 08:10, schrieb Michel D=E4nzer: >>>>> On 29.06.2014 19:34, Christian K=F6nig wrote: >>>>>> I've just pushed the branch testing-3.15 to >>>>>> git://people.freedesktop.org/~deathsimple/linux. It's based on 3.15.2 >>>>>> and contains the "stop poisoning the GART TLB" patch backported to >>>>>> 3.15 >>>>>> and a couple of things that I would like to try. >>>>> Running that branch, my Bonaire just survived a piglit run without >>>>> lockup. I hope that's an interesting result. :) >>>> That's indeed an interesting result. Can you try to figure out which of >>>> the patches on the branch did the trick for you? >>> The winner is 'drm/radeon: completely over allocate PD and PTs'. That >>> patch alone on top of 3.15.2 makes piglit survive on my Bonaire. >> Sounds like we either need to align the buffers a bit more, accidentally >> overwrite parts of them or indeed messed up their size calculation >> somewhere. >> >> I've just pushed a new branch testing-3.15-v2 to >> git://people.freedesktop.org/~deathsimple/linux. It only contains the >> two patches already submitted for 3.15 inclusion and the "drm/radeon: >> completely over allocate PD and PTs" patch split into four separate >> changes. >> >> Please retest and if it still works try once more which change fixed it. > It's hard to say, I'm afraid. I had a successful run with only the first > two of the split up changes, but then after both of them failing by > themselves, another run with both of them failed as well. So it seems > like both of those are required, but maybe not sufficient. > > FWIW, I've also had successful runs with the first three of the split > changes, and with all of them.