Release 4.10 arch/x86/kernel/cpu/mcheck/winchip.c
/*
* IDT Winchip specific Machine Check Exception Reporting
* (C) Copyright 2002 Alan Cox <alan@lxorguk.ukuu.org.uk>
*/
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <asm/processor.h>
#include <asm/traps.h>
#include <asm/tlbflush.h>
#include <asm/mce.h>
#include <asm/msr.h>
/* Machine check handler for WinChip C6: */
static void winchip_machine_check(struct pt_regs *regs, long error_code)
{
ist_enter(regs);
pr_emerg("CPU0: Machine Check Exception.\n");
add_taint(TAINT_MACHINE_CHECK, LOCKDEP_NOW_UNRELIABLE);
ist_exit(regs);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave jones | dave jones | 18 | 50.00% | 1 | 16.67% |
andy lutomirski | andy lutomirski | 10 | 27.78% | 2 | 33.33% |
andi kleen | andi kleen | 5 | 13.89% | 1 | 16.67% |
rusty russell | rusty russell | 2 | 5.56% | 1 | 16.67% |
chen yucong | chen yucong | 1 | 2.78% | 1 | 16.67% |
| Total | 36 | 100.00% | 6 | 100.00% |
/* Set up machine check reporting on the Winchip C6 series */
void winchip_mcheck_init(struct cpuinfo_x86 *c)
{
u32 lo, hi;
machine_check_vector = winchip_machine_check;
/* Make sure the vector pointer is visible before we enable MCEs: */
wmb();
rdmsr(MSR_IDT_FCR1, lo, hi);
lo |= (1<<2); /* Enable EIERRINT (int 18 MCE) */
lo &= ~(1<<4); /* Enable MCE */
wrmsr(MSR_IDT_FCR1, lo, hi);
cr4_set_bits(X86_CR4_MCE);
pr_info("Winchip machine check reporting enabled on CPU#0.\n");
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave jones | dave jones | 67 | 95.71% | 1 | 25.00% |
ingo molnar | ingo molnar | 1 | 1.43% | 1 | 25.00% |
andy lutomirski | andy lutomirski | 1 | 1.43% | 1 | 25.00% |
chen yucong | chen yucong | 1 | 1.43% | 1 | 25.00% |
| Total | 70 | 100.00% | 4 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
dave jones | dave jones | 99 | 74.44% | 1 | 10.00% |
andy lutomirski | andy lutomirski | 17 | 12.78% | 3 | 30.00% |
ingo molnar | ingo molnar | 5 | 3.76% | 1 | 10.00% |
andi kleen | andi kleen | 5 | 3.76% | 1 | 10.00% |
rusty russell | rusty russell | 2 | 1.50% | 1 | 10.00% |
hidetoshi seto | hidetoshi seto | 2 | 1.50% | 1 | 10.00% |
chen yucong | chen yucong | 2 | 1.50% | 1 | 10.00% |
alan cox | alan cox | 1 | 0.75% | 1 | 10.00% |
| Total | 133 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.