Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754570AbdGNQKf (ORCPT ); Fri, 14 Jul 2017 12:10:35 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:40727 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754178AbdGNQKe (ORCPT ); Fri, 14 Jul 2017 12:10:34 -0400 Date: Fri, 14 Jul 2017 18:10:27 +0200 From: Peter Zijlstra To: Mike Galbraith Cc: Ilia Mirkin , LKML , "dri-devel@lists.freedesktop.org" , "nouveau@lists.freedesktop.org" , David Airlie , Ben Skeggs , jeyu@kernel.org Subject: Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335 Message-ID: <20170714161027.5htn5jlswvfgphzw@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> <1500047898.5763.25.camel@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1500047898.5763.25.camel@gmx.de> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 29 On Fri, Jul 14, 2017 at 05:58:18PM +0200, Mike Galbraith wrote: > On Fri, 2017-07-14 at 17:50 +0200, Peter Zijlstra wrote: > > 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? Argh, it shouldn't be READONLY for vmlinux either, but apparently that is working for mysterious reasons. Some architectures were in fact complaining that I broke that, and hence patch: b5effd3815cc ("debug: Fix __bug_table[] in arch linker scripts") I think we need professional help with this linking stuff, but who to ask?