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-4.0-testing] x86: Fix a few on_{selected, each}_cpu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86: Fix a few on_{selected, each}_cpus callers who should wait for completion.
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 00:41:54 -0700
Delivery-date: Fri, 14 May 2010 00:49:04 -0700
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273742602 -3600
# Node ID a1e9b000707818c20deb8db981d581d8f3386823
# Parent  a436635d935e3f337bc01f21602ab63e70e4a9a4
x86: Fix a few on_{selected,each}_cpus callers who should wait for completion.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21372:6c22d2dfed48
xen-unstable date:        Thu May 13 09:44:20 2010 +0100
---
 xen/arch/x86/acpi/cpufreq/cpufreq.c  |    2 +-
 xen/arch/x86/acpi/cpufreq/powernow.c |    2 +-
 xen/arch/x86/cpu/mcheck/mce.c        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -r a436635d935e -r a1e9b0007078 xen/arch/x86/acpi/cpufreq/cpufreq.c
--- a/xen/arch/x86/acpi/cpufreq/cpufreq.c       Thu May 13 10:21:39 2010 +0100
+++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c       Thu May 13 10:23:22 2010 +0100
@@ -195,7 +195,7 @@ static void drv_write(struct drv_cmd *cm
         cpu_isset(smp_processor_id(), cmd->mask))
         do_drv_write((void *)cmd);
     else
-        on_selected_cpus(&cmd->mask, do_drv_write, cmd, 0);
+        on_selected_cpus(&cmd->mask, do_drv_write, cmd, 1);
 }
 
 static u32 get_cur_val(cpumask_t mask)
diff -r a436635d935e -r a1e9b0007078 xen/arch/x86/acpi/cpufreq/powernow.c
--- a/xen/arch/x86/acpi/cpufreq/powernow.c      Thu May 13 10:21:39 2010 +0100
+++ b/xen/arch/x86/acpi/cpufreq/powernow.c      Thu May 13 10:23:22 2010 +0100
@@ -122,7 +122,7 @@ static int powernow_cpufreq_target(struc
 
     cmd.val = next_perf_state;
 
-    on_selected_cpus(&cmd.mask, transition_pstate, &cmd, 0);
+    on_selected_cpus(&cmd.mask, transition_pstate, &cmd, 1);
 
     for_each_cpu_mask(j, online_policy_cpus)
         cpufreq_statistic_update(j, perf->state, next_perf_state);
diff -r a436635d935e -r a1e9b0007078 xen/arch/x86/cpu/mcheck/mce.c
--- a/xen/arch/x86/cpu/mcheck/mce.c     Thu May 13 10:21:39 2010 +0100
+++ b/xen/arch/x86/cpu/mcheck/mce.c     Thu May 13 10:23:22 2010 +0100
@@ -1610,7 +1610,7 @@ long do_mca(XEN_GUEST_HANDLE(xen_mc_t) u
                add_taint(TAINT_ERROR_INJECT);
 
         if ( mce_broadcast )
-            on_each_cpu(x86_mc_mceinject, mc_mceinject, 0);
+            on_each_cpu(x86_mc_mceinject, mc_mceinject, 1);
         else
             on_selected_cpus(cpumask_of(target), x86_mc_mceinject,
                   mc_mceinject, 1);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86: Fix a few on_{selected, each}_cpus callers who should wait for completion., Xen patchbot-4.0-testing <=