From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755276AbXLNSMg (ORCPT ); Fri, 14 Dec 2007 13:12:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753423AbXLNSMT (ORCPT ); Fri, 14 Dec 2007 13:12:19 -0500 Received: from one.firstfloor.org ([213.235.205.2]:34052 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753227AbXLNSMS (ORCPT ); Fri, 14 Dec 2007 13:12:18 -0500 Date: Fri, 14 Dec 2007 19:12:33 +0100 From: Andi Kleen To: Thomas Gleixner Cc: Eduard-Gabriel Munteanu , Andi Kleen , LKML , Ingo Molnar Subject: Re: [PATCH] Option to disable AMD C1E (allows dynticks to work) Message-ID: <20071214181233.GB16351@one.firstfloor.org> References: <20071214004442.5f9eba88@linux360.ro> <20071214143941.2c7dcfb4@linux360.ro> <20071214101720.GA10981@one.firstfloor.org> <20071214154106.4f0b2d8c@linux360.ro> <20071214122048.GA12550@one.firstfloor.org> <20071214180119.4c492f6c@linux360.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > magically in the SMM code. To work around this is we would need to add > the broadcast notification to the halt(), safe_halt(), pm_idle_halt() > variants which float around in the kernel and make this conditional on > the C1E detection. That's nasty, but it seems the only solution for > now. On 64bit it would be easy using the idle notifiers. Perhaps they need to be extended to pass in the sleep state though. -Andi