From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752706AbXCUMp3 (ORCPT ); Wed, 21 Mar 2007 08:45:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752716AbXCUMp3 (ORCPT ); Wed, 21 Mar 2007 08:45:29 -0400 Received: from ns.suse.de ([195.135.220.2]:56772 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752706AbXCUMp3 (ORCPT ); Wed, 21 Mar 2007 08:45:29 -0400 From: Andi Kleen To: tglx@linutronix.de Subject: Re: BUG lapic: Can't boot on battery (2.6.21-rc{1,2,3,4}) Date: Wed, 21 Mar 2007 13:42:58 +0100 User-Agent: KMail/1.9.1 Cc: Grzegorz Chwesewicz , Stefan Prechtel , linux-kernel@vger.kernel.org, mingo@elte.hu, Len Brown , john stultz References: <200703211137.10884.ak@suse.de> <1174475666.10840.44.camel@localhost.localdomain> In-Reply-To: <1174475666.10840.44.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703211342.59093.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 21 March 2007 12:14, Thomas Gleixner wrote: > On Wed, 2007-03-21 at 11:37 +0100, Andi Kleen wrote: > > > The BIOS/ACPI is broken and does only expose C1, which should not > > > switch off LAPIC. The BIOS is switching into deeper C-States behind the > > > kernels back somehow. > > > > Hmm, perhaps we can check AMD && (cstate >= 2 || has a battery) ? > > Should be doable by looking up the battery object in ACPI > > Which makes us rely on another ACPI feature. What guarantees that the > ACPI tables are correct for this one ? Nothing, but wrong C2 and wrong battery state together seems unlikely. -Andi