]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
x86: fix crash due to missing debugctlmsr on AMD K6-3
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 22 Jul 2008 20:55:04 +0000 (20:55 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Aug 2008 19:43:04 +0000 (12:43 -0700)
commit3ce75c55b46c23df8faeba4ad2c2e14dc94ffb16
treeaa80fc2745948689ca93b5928b972d83f2cc86a2
parentd4f3865285ebc54998c341c57498de96f8daf4d0
x86: fix crash due to missing debugctlmsr on AMD K6-3

commit d536b1f86591fb081c7a56eab04e711eb4dab951 upstream

currently if you use PTRACE_SINGLEBLOCK on AMD K6-3 (i586) it will crash.
Kernel now wrongly assumes existing DEBUGCTLMSR MSR register there.

Removed the assumption also for some other non-K6 CPUs but I am not sure there
(but it can only bring small inefficiency there if my assumption is wrong).

Based on info from Roland McGrath, Chuck Ebbert and Mikulas Patocka.
More info at:
https://bugzilla.redhat.com/show_bug.cgi?id=456175

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/Kconfig.cpu