search for: mcheck_init

Displaying 11 results from an estimated 11 matches for "mcheck_init".

2010 Mar 23
0
[PATCH] x86: s3: ensure CR4.MCE is enabled after mcheck_init()
Changeset 21045: 7751288b1386 introduces a potential issue: CR4.MCE is enabled before mcheck_init() -- thought looks I don''t meet with an actual issue with this, we''d better fix it. Thanks, -- Dexuan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Apr 18
0
[PATCH 2/2] x86: clean up identify_cpu
...@@ void __cpuinit identify_cpu(struct cpuin for (i = 0; i < NCAPINTS; i++) printk(" %08lx", c->x86_capability[i]); printk("\n"); - +} + +void __init identify_boot_cpu(void) +{ + identify_cpu(&boot_cpu_data); + + /* Init Machine Check Exception if available. */ + mcheck_init(&boot_cpu_data); + + sysenter_setup(); + enable_sep_cpu(); + + mtrr_bp_init(); +} + +void __cpuinit identify_secondary_cpu(struct cpuinfo_x86 *c) +{ + int i; + + BUG_ON(c == &boot_cpu_data); + identify_cpu(c); /* * On SMP, boot_cpu_data holds the common feature set between * all CPU...
2007 Apr 18
0
[PATCH 2/2] x86: clean up identify_cpu
...@@ void __cpuinit identify_cpu(struct cpuin for (i = 0; i < NCAPINTS; i++) printk(" %08lx", c->x86_capability[i]); printk("\n"); - +} + +void __init identify_boot_cpu(void) +{ + identify_cpu(&boot_cpu_data); + + /* Init Machine Check Exception if available. */ + mcheck_init(&boot_cpu_data); + + sysenter_setup(); + enable_sep_cpu(); + + mtrr_bp_init(); +} + +void __cpuinit identify_secondary_cpu(struct cpuinfo_x86 *c) +{ + int i; + + BUG_ON(c == &boot_cpu_data); + identify_cpu(c); /* * On SMP, boot_cpu_data holds the common feature set between * all CPU...
2007 Apr 18
1
[PATCH 0 of 7] lguest host code
These seven patches replace [PATCH 6/10], or in the second send, patches 6a. 6b, 6c and 6d. There are more patches because Andi hassled me about extern decls, so I had to expose some things. Tiny patches, but worth separating because you never know when such changes will break something. Compiles and runs here... Thanks, Rusty.
2007 Apr 18
1
[PATCH 0 of 7] lguest host code
These seven patches replace [PATCH 6/10], or in the second send, patches 6a. 6b, 6c and 6d. There are more patches because Andi hassled me about extern decls, so I had to expose some things. Tiny patches, but worth separating because you never know when such changes will break something. Compiles and runs here... Thanks, Rusty.
2012 Apr 02
6
[PATCH 0 of 3] Patches for Xen 4.2 (v2).
Patches that were posted last week - with review comments addressed.
2007 Apr 18
1
[RFC, PATCH 12/24] i386 Vmi processor header
...t;orl %2, %0;" - "pushl %0;" - "popfl" - : "=&r" (reg) - : "i" (~X86_EFLAGS_IOPL), "r" (mask)); -} - /* Forward declaration, a strange C thing */ struct task_struct; struct mm_struct; @@ -740,4 +643,8 @@ extern void mcheck_init(struct cpuinfo_x #define mcheck_init(c) do {} while(0) #endif +#include <mach_processor.h> + +#define stts() write_cr0(8 | read_cr0()) + #endif /* __ASM_I386_PROCESSOR_H */ Index: linux-2.6.16-rc5/include/asm-i386/mach-vmi/mach_processor.h ================================================...
2007 Apr 18
1
[RFC, PATCH 12/24] i386 Vmi processor header
...t;orl %2, %0;" - "pushl %0;" - "popfl" - : "=&r" (reg) - : "i" (~X86_EFLAGS_IOPL), "r" (mask)); -} - /* Forward declaration, a strange C thing */ struct task_struct; struct mm_struct; @@ -740,4 +643,8 @@ extern void mcheck_init(struct cpuinfo_x #define mcheck_init(c) do {} while(0) #endif +#include <mach_processor.h> + +#define stts() write_cr0(8 | read_cr0()) + #endif /* __ASM_I386_PROCESSOR_H */ Index: linux-2.6.16-rc5/include/asm-i386/mach-vmi/mach_processor.h ================================================...
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...loaddebug(&v->arch.guest_context, 3); + /* no 4 and 5 */ + loaddebug(&v->arch.guest_context, 6); + loaddebug(&v->arch.guest_context, 7); + } + + /* Do we start fpu really? Just set cr0.ts to monitor it */ + stts(); + + mtrr_ap_init(); + mcheck_init(&boot_cpu_data); +} diff -r 9261686d840c xen/arch/x86/acpi/wakeup_prot.S --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xen/arch/x86/acpi/wakeup_prot.S Tue Jun 26 20:28:13 2007 -0400 @@ -0,0 +1,267 @@ + .text + +#include <xen/config.h> +#include <xen/multiboot.h> +#includ...
2007 Apr 18
4
[patch 0/4] Clean up asm/bugs.h, identify_cpu() and update COMPAT_VDSO
Hi Andi, Four patches: - clean up asm/bugs.h, by moving all the C code into its own C file - split identify_cpu() into boot and secondary variants, so that boot-time setup functions can be marked __init - repost of the COMPAT_VDSO patches with a bit more robustness from unknown DT_tags, and functions marked __init, since all this is boot-time only setup. Thanks, J --
2007 Apr 18
4
[patch 0/4] Clean up asm/bugs.h, identify_cpu() and update COMPAT_VDSO
Hi Andi, Four patches: - clean up asm/bugs.h, by moving all the C code into its own C file - split identify_cpu() into boot and secondary variants, so that boot-time setup functions can be marked __init - repost of the COMPAT_VDSO patches with a bit more robustness from unknown DT_tags, and functions marked __init, since all this is boot-time only setup. Thanks, J --