Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754600AbdGNP7U convert rfc822-to-8bit (ORCPT ); Fri, 14 Jul 2017 11:59:20 -0400 Received: from mout.gmx.net ([212.227.17.21]:63684 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753665AbdGNP7S (ORCPT ); Fri, 14 Jul 2017 11:59:18 -0400 Message-ID: <1500047898.5763.25.camel@gmx.de> Subject: Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335 From: Mike Galbraith To: Peter Zijlstra Cc: Ilia Mirkin , LKML , "dri-devel@lists.freedesktop.org" , "nouveau@lists.freedesktop.org" , David Airlie , Ben Skeggs , jeyu@kernel.org Date: Fri, 14 Jul 2017 17:58:18 +0200 In-Reply-To: <20170714155047.2zs3ps7cmnyvvwgb@hirez.programming.kicks-ass.net> References: <1499794333.5315.8.camel@gmx.de> <1499796510.5315.27.camel@gmx.de> <1499853345.23742.8.camel@gmx.de> <1499858703.23742.25.camel@gmx.de> <1500039368.5763.12.camel@gmx.de> <20170714155047.2zs3ps7cmnyvvwgb@hirez.programming.kicks-ass.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:BF366prwHpbqKkrjBmlXno19BGAG+cP66OA1z/Kpic3n4YnCmoZ POGdOB6IYtQ1tKDT9K+sRKk5dF+vZiwh1tMvCL4D3DOpCM7FgOTlQhsybCtYfVgXz9pvml+ gkM+eTsQucbTu5GmMf6QpZLejBDW0m24EFrKZVhCvK3A6K+1L1HQmQc1U54ogaicDPWYN3n gCxGOMbyWjtqTJxDS4sgg== X-UI-Out-Filterresults: notjunk:1;V01:K0:uofmC6xx0BI=:x6gv0H020tWPwByFdXLO1K muTvekDwT3/48AfA76Vaf48AqYwDasHiyL1joblIVPb9UiWtUXe9Kw9xbhtC9YCp63n3iPHfL wbMpwHf34Ll7PZ21s9eO++jPwBzPBoqE7bgxhE/cRIlfJd9T7fBdmM6/COS/A7rJqBkseZyQC jW5FPohfp8Y7rLuzFQtndWM2mlJFG8hY7zXfynTZTrWB8o72qsCj+pFSZoeISgD2noJBUltuV +ikzYPB6e5UYzY/F9Z368mi/sZ7jzlddSoUQhG291HLStuetHUSprpFJ5WNaSA2I0KrFxxQm8 M3upvGzVBXqEgjMA+L1rLqv5AgZPNW1cY/EV0XYV98yIGwPUv0vbbcTfo/wS42ZIsqC5ZbI/K o3VNkRD5hxoINvzJ+EqXFrvTr/2IV/fCrTnrgvdealyFQCwAu792//MPws6LDWOPFEtHInYZf NbvTKElHnYmX73M3pSlc9SfyOcRViDf6jZZcnXPCkj+qTsp+zQPX1A+0ADXj9QgXSY3qWQC1o pI52JtC9tkagKAr6Z1Yi4bxJ1g2r0zmckPFINuXyYhX3xh+/FU1LvYyqka+X9Hkc78YQZ2Dlr ErTh2v6AaaxqB+HZpuNu66pMQLi27gSCpqACw9b7AGValv2+xsoRFAVpze/il6mry8sB8jLv3 6JxwmraZyzqLZoqSSg/Ev7dMe6s5eqGiJMjia4QL0nSNmp2RPCzLZnDakTMrdrr0EQFUwz5Os Q9xCnh+eHnrWR3n/nIqeKvrb55WKotaRjuIVRxfryD7C2lJzQuPzhzcZWqdMAlA10cUjj5BGH DpspTe8FpoOortCO9UbXd0ibjo9xNHr5HJm/GuYCCBUpIfKkLI= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1306 Lines: 32 On Fri, 2017-07-14 at 17:50 +0200, Peter Zijlstra wrote: > On Fri, Jul 14, 2017 at 03:36:08PM +0200, Mike Galbraith wrote: > > Ok, a network outage gave me time to go hunting.  Indeed it is a bad > > interaction with the tree DRM merged into.  All DRM did was to slip a > > WARN_ON_ONCE() that nouveau triggers into a kernel module where such > > things no longer warn, they blow the box out of the water.  I made a > > dinky testcase module (attached), and bisected to the real root.... > > > > 19d436268dde95389c616bb3819da73f0a8b28a8 is the first bad commit > > commit 19d436268dde95389c616bb3819da73f0a8b28a8 > > Author: Peter Zijlstra > > Date: Sat Feb 25 08:56:53 2017 +0100 > > > > debug: Add _ONCE() logic to report_bug() > > Urgh, is for some mysterious reason the __bug_table section of modules > ending up in RO memory? > > I forever get lost in that link magic :/ +1 drm.ko  20 __bug_table   00000630  0000000000000000  0000000000000000  0004bff3  2**0                   CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA vmlinux 15 __bug_table 0000ba84 ffffffff81af26c0 0000000001af26c0 00cf26c0 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA Danged if I know... um um RELOC business mucks things up? -Mike