x86/ucode: don't crash during AP bringup on non-Intel, non-AMD CPUs
PATCH 1/1 x86/ucode: don't crash during AP bringup on non-Intel, non-AMD CPUs
xen/arch/x86/microcode.c +3 -0
@@ -109,6 +109,9 @@ int microcode_resume_cpu(int cpu)struct cpu_signature nsig;unsigned int cpu2; +if ( !microcode_ops ) +return 0 ; +spin_lock (µcode_mutex); err = microcode_ops->collect_cpu_info (cpu, &uci->cpu_sig);
x86/ucode: don't crash during AP bringup on non-Intel, non-AMD CPUs
xen/arch/x86/microcode.c +3 -0
@@ -109,6 +109,9 @@ int microcode_resume_cpu(int cpu)struct cpu_signature nsig;unsigned int cpu2; +if ( !microcode_ops ) +return 0 ; +spin_lock (µcode_mutex); err = microcode_ops->collect_cpu_info (cpu, &uci->cpu_sig);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 1 line · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>
Do we support any such processors? Newer VIA processors maybe?
Anyhow,
Quoted 19 lines
xen/arch/x86/microcode.c +3
-0@@ -109,6 +109,9 @@ int microcode_resume_cpu(int cpu)struct cpu_signature nsig;unsigned int cpu2; +if ( !microcode_ops ) +return 0 ; +spin_lock (µcode_mutex); err = microcode_ops->collect_cpu_info (cpu, &uci->cpu_sig);_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Keir Fraser
Quoted 1 line · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>Do we support any such processors? Newer VIA processors maybe?
Exactly those - they were kind enough to lend me a system. I'm having a patch queued for post-4.2 to enable VMX and a few other vendor specific things on them, but of course a prereq for testing this was that the system would boot at all under Xen.
Jan
Quoted 11 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Keir Fraser
Quoted 1 line · Jan Beulich
Signed-off-by Jan Beulich <[email protected]>Do we support any such processors? Newer VIA processors maybe?
Exactly those - they were kind enough to lend me a system. I'm having a patch queued for post-4.2 to enable VMX and a few other vendor specific things on them, but of course a prereq for testing this was that the system would boot at all under Xen.
Very cool! :-)
-- Keir
Quoted 2 lines
Jan