]> Zhao Yanbai Git Server - minix.git/commit
Watchdog and kernel profiling for AMD
authorTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 14:42:30 +0000 (14:42 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 14:42:30 +0000 (14:42 +0000)
commit1786291e32188532bb2a62ff9b2d8357b5b780ab
treefb4d427f2ed03353d3adaea58598a3e20e3e8694
parent274fcf8d1f9b0b7115bf3a7c02c9081581fa18a7
Watchdog and kernel profiling for AMD

- a different set of MSRs and performance counters is used on AMD

- when initializing NMI watchdog the test for Intel architecture
  performance counters feature only applies to Intel now

- NMI is enabled if the CPU belongs to a family which has the
  performance counters that we use
kernel/arch/i386/arch_watchdog.c
kernel/watchdog.h