From owner-svn-src-head@freebsd.org Sun Jun 11 04:13:58 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E6FDBFDD6B; Sun, 11 Jun 2017 04:13:58 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6DE6A72E17; Sun, 11 Jun 2017 04:13:58 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id B7FB895F9; Sun, 11 Jun 2017 04:13:57 +0000 (UTC) Date: Sun, 11 Jun 2017 04:13:57 +0000 From: Alexey Dokuchaev To: Konstantin Belousov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r316767 - head/sys/amd64/amd64 Message-ID: <20170611041357.GA19892@FreeBSD.org> References: <201704131549.v3DFnt9I004050@repo.freebsd.org> <20170610235125.GA3587@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170610235125.GA3587@FreeBSD.org> User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jun 2017 04:13:58 -0000 On Sat, Jun 10, 2017 at 11:51:25PM +0000, Alexey Dokuchaev wrote: > On Thu, Apr 13, 2017 at 03:49:55PM +0000, Konstantin Belousov wrote: > > New Revision: 316767 > > URL: https://svnweb.freebsd.org/changeset/base/316767 > > > > Log: > > Map DMAP as nx. > > > > Demotions preserve PG_NX, so it is enough to set nx bit for initial > > lowest-level paging entries. > > Hi Kostik, > > It seems this change breaks resume with radeonkms(4): my laptop fells into > sleep, but upon resume it immediately reboots with kernels after r316767. > > Reverting these two lines fixes resuming at least up to r316986, but the > latest -CURRENT still reboots, perhaps for another reason. Second revision is r318318 which looks related to r316767. Updating kernel to the latest revision and backing out these two (any one of them alone is not enough) fixed resume for me. Apparently something else is required for nx-mapped DMAP. Anything I can help with debugging this? ./danfe