From: Keir Fraser Subject: Re: [PATCH] 1/2: cpufreq/PowerNow! in Xen: Time and platform changes Date: Sat, 01 Sep 2007 15:12:42 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 1/9/07 14:31, "Tian, Kevin" wrote: > Yes, this is even true on native. SCI happens on one CPU with another > CPU is decided to enter some unavailable C-state at the point. I guess > hardware should tolerate such invalid request like taking it as a no-op > or choosing a closest one. Software can anyway issue an invalid request > to break report from hardware... If this is the case, that nothing entirely terrible happens when you try to enter an invalid C state, then it might not be critical to rely on ACPI's event-reporting mechanisms to collect new C-state information. A dom0 user daemon could re-evaluate the ACPI objects every 5-10s for example, which would have negligible cost. I reckon such a simple scheme would would work well, unless updated objects can be supplied as part of the ACPI event mechanism, and you have to find and evaluate those? In that case I suppose some ACPI event info would need to be propagated for it to see the modified C-state info. -- Keir