]> git.hungrycats.org Git - linux/commit
[PATCH] Work around K8 errata on x86-64
authorAndi Kleen <ak@muc.de>
Sun, 9 Nov 2003 01:51:23 +0000 (17:51 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 9 Nov 2003 01:51:23 +0000 (17:51 -0800)
commit90d0999ca258e2403d17ac621a661c50888512ed
treee6fc81933f11e9b2e1aafbfc3b5892396c7c1432
parent445c90b5650f9f0c3ca5746c977dd1cc3b7a86a7
[PATCH] Work around K8 errata on x86-64

K8 has an erratum (#100) that essentially causes some compat mode processes
to fault occassionally. The issue can be worked around in the OS. It only
applies to x86-64, in 32bit it is fine.

This adds a check to the page fault handler that checks for addresses >4GB
from compat mode. If they happen just return; the CPU will reexecute
the instruction and the condition that caused the problem is gone.

More details in Opteron/Athlon64 specification update on the AMD website.

Also I removed a left over debugging printk in the prefetch handling code.
arch/x86_64/mm/fault.c