From owner-cvs-all@FreeBSD.ORG Tue Jul 22 03:43:58 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7122137B416; Tue, 22 Jul 2003 03:43:58 -0700 (PDT) Received: from brian.webcom.it (brianlap.inet.it [213.92.1.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9096C43FA3; Tue, 22 Jul 2003 03:43:56 -0700 (PDT) (envelope-from andrea@webcom.it) Received: by brian.webcom.it (Postfix, from userid 1000) id C4B192D; Tue, 22 Jul 2003 12:43:54 +0200 (CEST) Date: Tue, 22 Jul 2003 12:43:54 +0200 From: Andrea Campi To: Peter Wemm Message-ID: <20030722104354.GA668@webcom.it> References: <200307212059.h6LKxS9Z064227@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307212059.h6LKxS9Z064227@repoman.freebsd.org> X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/acpica acpi_wakeup.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 10:43:58 -0000 On Mon, Jul 21, 2003 at 01:59:28PM -0700, Peter Wemm wrote: > Modified files: > sys/i386/acpica acpi_wakeup.c > Log: > Commit Ian Dowse's workaround for acpi resume resetting after the > LAZY_SWITCH changes. He pointed out the acpi code sets up an identity > mapping in the current vmspace and that got messed up by the %cr3 being > out of sync with the current page directory. As a workaround, restore > %cr3 across the sleep/resume. A more complete fix would be to undo the > lazy state and clear the pm_active bit from the borrowed pmap, but this > works and people are currently hurting. I'll clean this up. > This is mostly Ian's patch, plus a PAE tweak from me. Thanks! This indeed fixes the issue I told you about. Bye, Andrea -- To boldly go where I surely don't belong.