WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Fix an ia64 cpufreq driver bug

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix an ia64 cpufreq driver bug
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Dec 2008 03:50:30 -0800
Delivery-date: Mon, 01 Dec 2008 03:51:56 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1225164027 -32400
# Node ID ecfb1637cef9241f04d4f3ee6aac1e923537bef0
# Parent  b0426fc080f3560eb37fb10597f79f92aa2c86c3
[IA64] Fix an ia64 cpufreq driver bug

Add record current cpu freq whenever cpufreq logic change cpu freq
so that cpufreq can make correct freq transfer decision next time.

Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
---
 xen/arch/ia64/xen/cpufreq/cpufreq.c |    1 +
 1 files changed, 1 insertion(+)

diff -r b0426fc080f3 -r ecfb1637cef9 xen/arch/ia64/xen/cpufreq/cpufreq.c
--- a/xen/arch/ia64/xen/cpufreq/cpufreq.c       Fri Oct 24 13:49:58 2008 +0900
+++ b/xen/arch/ia64/xen/cpufreq/cpufreq.c       Tue Oct 28 12:20:27 2008 +0900
@@ -154,6 +154,7 @@ processor_set_freq (struct acpi_cpufreq_
        cpufreq_statistic_update(cpu, data->acpi_data->state, state);
 
        data->acpi_data->state = state;
+       policy->cur = data->freq_table[state].frequency;
 
        return 0;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fix an ia64 cpufreq driver bug, Xen patchbot-unstable <=