Skip to content

Commit 2d684cd

Browse files
author
Ingo Molnar
committed
x86: remove X2 workaround
With the spurious handler fix, the X2 does not lock up anymore. Signed-off-by: Ingo Molnar <[email protected]>
1 parent d8b57bb commit 2d684cd

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

arch/x86/mm/pageattr.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -260,17 +260,6 @@ try_preserve_large_page(pte_t *kpte, unsigned long address,
260260
pgprot_t old_prot, new_prot;
261261
int level, do_split = 1;
262262

263-
/*
264-
* An Athlon 64 X2 showed hard hangs if we tried to preserve
265-
* largepages and changed the PSE entry from RW to RO.
266-
*
267-
* As AMD CPUs have a long series of erratas in this area,
268-
* (and none of the known ones seem to explain this hang),
269-
* disable this code until the hang can be debugged:
270-
*/
271-
if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD)
272-
return 1;
273-
274263
spin_lock_irqsave(&pgd_lock, flags);
275264
/*
276265
* Check for races, another CPU might have split this page

0 commit comments

Comments
 (0)