mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-14 00:24:15 +08:00
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: x86: work around Fedora-11 x86-32 kernel failures on Intel Atom CPUs
This commit is contained in:
commit
f809e5a21f
@ -515,6 +515,17 @@ static int split_large_page(pte_t *kpte, unsigned long address)
|
|||||||
* primary protection behavior:
|
* primary protection behavior:
|
||||||
*/
|
*/
|
||||||
__set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE)));
|
__set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE)));
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Intel Atom errata AAH41 workaround.
|
||||||
|
*
|
||||||
|
* The real fix should be in hw or in a microcode update, but
|
||||||
|
* we also probabilistically try to reduce the window of having
|
||||||
|
* a large TLB mixed with 4K TLBs while instruction fetches are
|
||||||
|
* going on.
|
||||||
|
*/
|
||||||
|
__flush_tlb_all();
|
||||||
|
|
||||||
base = NULL;
|
base = NULL;
|
||||||
|
|
||||||
out_unlock:
|
out_unlock:
|
||||||
|
Loading…
Reference in New Issue
Block a user