Displaying 3 results from an estimated 3 matches for "crashing_cpu".
2012 Dec 12
7
[PATCH V5] x86/kexec: Change NMI and MCE handling on kexec path
...iddle of enable_nmis to reuse the iret.
* Expand comments in areas as per Tim''s suggestions.
diff -r ef8c1b607b10 -r 96b068439bc4 xen/arch/x86/crash.c
--- a/xen/arch/x86/crash.c
+++ b/xen/arch/x86/crash.c
@@ -32,41 +32,127 @@
static atomic_t waiting_for_crash_ipi;
static unsigned int crashing_cpu;
+static DEFINE_PER_CPU_READ_MOSTLY(bool_t, crash_save_done);
-static int crash_nmi_callback(struct cpu_user_regs *regs, int cpu)
+/* This becomes the NMI handler for non-crashing CPUs, when Xen is crashing. */
+void __attribute__((noreturn)) do_nmi_crash(struct cpu_user_regs *regs)
{
- /* Do...
2012 Mar 27
0
[PATCH 2/4] x86/hpet: replace disabling of legacy broadcast
...onger needed).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/crash.c
+++ b/xen/arch/x86/crash.c
@@ -61,9 +61,6 @@ static void nmi_shootdown_cpus(void)
local_irq_disable();
- if ( hpet_broadcast_is_available() )
- hpet_disable_legacy_broadcast();
-
crashing_cpu = smp_processor_id();
local_irq_count(crashing_cpu) = 0;
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -783,7 +783,11 @@ void hpet_disable(void)
u32 id;
if ( !hpet_boot_cfg )
+ {
+ if ( hpet_broadcast_is_available() )
+ hpet_disable_legacy_broadcast(...
2009 Sep 30
0
[PATCH] Disable HPET broadcast mode on kexec
....c Wed Sep 30 08:51:21 2009 +0100
+++ b/xen/arch/x86/crash.c Wed Sep 30 08:20:55 2009 +0000
@@ -25,6 +25,7 @@
#include <public/xen.h>
#include <asm/shared.h>
#include <asm/hvm/support.h>
+#include <asm/hpet.h>
static atomic_t waiting_for_crash_ipi;
static unsigned int crashing_cpu;
@@ -83,6 +84,9 @@
nmi_shootdown_cpus();
+ if ( hpet_broadcast_is_available() )
+ hpet_disable_legacy_broadcast();
+
disable_IO_APIC();
hvm_cpu_down();
diff -r 6472342c8ab0 -r 5215da46d60f xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c Wed Sep 30 08:51:21 2009 +0100
++...