Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751150AbdGOCqp (ORCPT ); Fri, 14 Jul 2017 22:46:45 -0400 Received: from mout.gmx.net ([212.227.17.20]:62689 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbdGOCqo (ORCPT ); Fri, 14 Jul 2017 22:46:44 -0400 Message-ID: <1500086755.5129.10.camel@gmx.de> Subject: Re: [regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335 From: Mike Galbraith To: Josh Poimboeuf Cc: Peter Zijlstra , Ilia Mirkin , LKML , "dri-devel@lists.freedesktop.org" , "nouveau@lists.freedesktop.org" , David Airlie , Ben Skeggs , jeyu@kernel.org Date: Sat, 15 Jul 2017 04:45:55 +0200 In-Reply-To: <20170714194248.6n7rw5ln6luhnz3l@treble> References: <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> <20170714161027.5htn5jlswvfgphzw@hirez.programming.kicks-ass.net> <1500049981.5248.2.camel@gmx.de> <20170714194248.6n7rw5ln6luhnz3l@treble> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:jFaBGoly2FIz5ehLC1kxVY1vK3vpy02HAoqh9K+ev2s2S74FOpS 45ZGXQjcqGr9cJAXM5/vEnJO4K+Fxx+HKXyjgWGkXFXFXZqPL8BDO3hD1AX9ckDMnsmwdrt 9gKSzF21MZKgHvwPjNNWAk4olMdtZAs6cTDmwL7PYpO7gxo9WC6p2EfVo3oxtQbvjeGshvP DMHlJWeUCBQ35RDz2jc5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:4isH7Nys2i8=:yDIU/pee3zxCKJK91FfGYr tKemwALlfsSdEUIhJZ3Q9Qxi/rnBi4FhWC1xyRVu+0wqffqlXJlm+e5Bpze8zDiykeBgOfSkd MQ2jaRCNaQxS1xt3oIf7A2HP0SZiH/IYOiY5IVHEZltdVWCjMNpfi8uRvSVQ8UqMoejKpaTSY zd9d+PGCHj4fnNvJAFmZsdxiSzK+mIMJ1UA9YakWG1ockEqr9I6EkOJwBooGrIb2O5jDpgStO nqGQEHLE1T1Hu5wvtjaWQhQllx0w62NACO2ygNK+O76jrEyaiUSsxakj+lGfp7dUJgtEM3iTg s/Img0gxxtd6LBDgI6uDtCfVqbmNC0zYentZrVUcwCc3aooej0CSlFcSfXWStmx/dSxI4bPB5 Ms48ZsyoYsWdXkmmvrN4MyR7WSjWLoBsab1sxy7oZpk+kFe36Z0LQohSmKpPlr1GyCSre1nXv Flv2jeK+y9j8I8GqHQqAM+coggjW5LZoQAjlB57RxDVpBPXYHihpbICci8TphL4LlDXGAJ1Z4 xwfl8KZHsTmnwTE7x0JF9JuCL2JVH+AfxHDomnVNZBfafRmDdwJdNo7nCXFJI5/msy2l06zUy Bf1a6UvbkhwRsnn+CJStU6ptpwNo/g+jYj3AIZ9guKLwRJNuOOyAmEcyZ5sq573zhCMJmGdvT Y2Nbd2wdWwFXamNI9N4mVtpWQdiWJvCuQU5xOaiEq8X84KjsNCNaVuuOyjpgZhJdYMuiQoDEL Yl6fzTmGT+ct1QMOgocV5g4KgCel7xUgIuW07/fKY+yIZflSLEClXuSk1bAkKTXf/A81be4BU JoEjf1EMX6tEiNykVgLHvcbTN1AdfFTI3vTmKh8ASQwllHR2ba1MbSfHrQZ8CzcL2CATV59sA Imd5m/gVLrCkgbRbWxdn386cDHDx1vApwNz3a1enkLGZboz878Z6tKtMz50KQV Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1097 Lines: 28 On Fri, 2017-07-14 at 14:42 -0500, Josh Poimboeuf wrote: > > Does this fix it? Yup, both READONLY __bug_table and "extra stern" warning are gone. > diff --git a/arch/x86/include/asm/bug.h b/arch/x86/include/asm/bug.h > index 39e702d..aa6b202 100644 > --- a/arch/x86/include/asm/bug.h > +++ b/arch/x86/include/asm/bug.h > @@ -35,7 +35,7 @@ > #define _BUG_FLAGS(ins, flags) \ > do { \ > asm volatile("1:\t" ins "\n" \ > - ".pushsection __bug_table,\"a\"\n" \ > + ".pushsection __bug_table,\"aw\"\n" \ > "2:\t" __BUG_REL(1b) "\t# bug_entry::bug_addr\n" \ > "\t" __BUG_REL(%c0) "\t# bug_entry::file\n" \ > "\t.word %c1" "\t# bug_entry::line\n" \ > @@ -52,7 +52,7 @@ do { \ > #define _BUG_FLAGS(ins, flags) \ > do { \ > asm volatile("1:\t" ins "\n" \ > - ".pushsection __bug_table,\"a\"\n" \ > + ".pushsection __bug_table,\"aw\"\n" \ > "2:\t" __BUG_REL(1b) "\t# bug_entry::bug_addr\n" \ > "\t.word %c0" "\t# bug_entry::flags\n" \ > "\t.org 2b+%c1\n" \