Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753543AbZIHDpz (ORCPT ); Mon, 7 Sep 2009 23:45:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753361AbZIHDpy (ORCPT ); Mon, 7 Sep 2009 23:45:54 -0400 Received: from casper.infradead.org ([85.118.1.10]:59244 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753315AbZIHDpy (ORCPT ); Mon, 7 Sep 2009 23:45:54 -0400 Date: Mon, 7 Sep 2009 20:49:13 -0700 From: Arjan van de Ven To: Luming Yu Cc: LKML , Len Brown , "Pallipadi, Venkatesh" , "Siddha, Suresh B" Subject: Re: [RFC PATCH] C2 could be mapped to C3 so need a flush cache Message-ID: <20090907204913.2aef5c49@infradead.org> In-Reply-To: <3877989d0909071926q77aac67cj532137513710025d@mail.gmail.com> References: <3877989d0909071926q77aac67cj532137513710025d@mail.gmail.com> Organization: Intel X-Mailer: Claws Mail 3.7.2 (GTK+ 2.14.7; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 686 Lines: 19 On Tue, 8 Sep 2009 10:26:06 +0800 Luming Yu wrote: > Hi there, > > I came across acpi_idle_enter_simple, noticed it looks like a bug if > we don't flush cache for C2. > Because some platforms just map C2 to C3. I think you are confusing ACPI C3 with HW C3. Only for ACPI C3 class do you need to flush the cache for this case. For HW C3, if you would need to flush the cache, the BIOS would assign it ACPI C3 class. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/