From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933142Ab1AMTN5 (ORCPT ); Thu, 13 Jan 2011 14:13:57 -0500 Received: from www.tglx.de ([62.245.132.106]:52075 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835Ab1AMTNy (ORCPT ); Thu, 13 Jan 2011 14:13:54 -0500 Date: Thu, 13 Jan 2011 20:13:42 +0100 (CET) From: Thomas Gleixner To: Borislav Petkov cc: Matthew Garrett , Manoj Iyer , "linux-kernel@vger.kernel.org" , "Rafael J. Wysocki" , "Herrmann3, Andreas" Subject: Re: [PATCH] Quirk to fix suspend/resume on Lenovo Edge 11,13,14,15 In-Reply-To: <20110113190700.GB30866@kryptos.osrc.amd.com> Message-ID: References: <1294934542-2411-2-git-send-email-manoj.iyer@canonical.com> <20110113164616.GB21289@srcf.ucam.org> <20110113172205.GA30866@kryptos.osrc.amd.com> <20110113175531.GD2006@aftab> <20110113183025.GE2006@aftab> <20110113185807.GA24720@srcf.ucam.org> <20110113190700.GB30866@kryptos.osrc.amd.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Jan 2011, Borislav Petkov wrote: > On Thu, Jan 13, 2011 at 06:58:07PM +0000, Matthew Garrett wrote: > > On Thu, Jan 13, 2011 at 07:51:49PM +0100, Thomas Gleixner wrote: > > > > > What's odd is that the machines actually boot. I would have expected > > > that they do not boot at all if the BIOS IRQ0 pin2 override is > > > ignored. But it seems that takes effect just when the machine does a > > > suspend/resume. Weird! > > > > The only thing that springs to mind is some BIOS code making incorrect > > assumptions about timer setup when we trap into it. Is reprogramming the > > timer back to the boot state over suspend plausible? If so, that'd > > probably be a more general fix. > > Well, Andreas did boot with 'hpet=verbose' on an affected machine here > and did a suspend/resume and the hpet config registers looked ok before > suspend and after resume. It might be that the HPET is temporarily > "insane" while resume lasts but we don't have any hard facts confirming And you have no explanation at all why applying the irq pin routing quirk makes HPETs temporal insanity go away magically :) Thanks, tglx