From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755915AbYFXVph (ORCPT ); Tue, 24 Jun 2008 17:45:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754118AbYFXVp0 (ORCPT ); Tue, 24 Jun 2008 17:45:26 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:44310 "EHLO gprs189-60.eurotel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753337AbYFXVpZ (ORCPT ); Tue, 24 Jun 2008 17:45:25 -0400 Date: Tue, 24 Jun 2008 23:46:10 +0200 From: Pavel Machek To: "Rafael J. Wysocki" Cc: Len Brown , Andrew Morton , ACPI Devel Maling List , Ingo Molnar , LKML , pm list Subject: Re: [PATCH] x86 ACPI: normalize segment descriptor register on resume Message-ID: <20080624214610.GC18679@elf.ucw.cz> References: <200806242303.49498.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200806242303.49498.rjw@sisk.pl> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > From: H. Peter Anvin > > x86 ACPI: normalize segment descriptor register on resume > > Some Dell laptops enter resume with apparent garbage in the segment > descriptor registers (almost certainly the result of a botched > transition from protected to real mode.) The only way to clean that > up is to enter protected mode ourselves and clean out the descriptor > registers. > > This fixes resume on Dell XPS M1210 and Dell D620. > > Reference: http://bugzilla.kernel.org/show_bug.cgi?id=10927 > > Signed-off-by: H. Peter Anvin > Tested-by: Kirill A. Shutemov > Signed-off-by: Rafael J. Wysocki Thanks for great work. I still consider this one slightly risky, and would like to get it as much testing as possible, but all the risks are hypothetical and regression from 2.6.25 is real, so... Acked-by: Pavel Machek If this could be sneaked into Ingo's tree for some automated testing, that would be good. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html