lkml.org 
[lkml]   [2014]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86, setup: add __flush_tlb() for Intel Quark X1000

> diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
> index 41ead8d..90e0b85 100644
> --- a/arch/x86/kernel/setup.c
> +++ b/arch/x86/kernel/setup.c
> @@ -880,6 +880,13 @@ void __init setup_arch(char **cmdline_p)
>
> load_cr3(swapper_pg_dir);
> __flush_tlb_all();
> + /*
> + * Quark X1000 wrongly advertises PGE, add __flush_tlb()
> + * below to make sure TLB is flushed correctly in the early stage
> + * of setup_arch() for Quark X1000.
> + * X86_FEATURE_PGE flag is only setup later stage at early_cpu_init();
> + */
> + __flush_tlb();
> #else
> printk(KERN_INFO "Command line: %s\n", boot_command_line);
> #endif

Sorry guys.

Just actually *read* the patch now.

If the above text works for Ingo and Henrique then it works for me too.


--
BOD




\
 
 \ /
  Last update: 2014-09-26 11:21    [W:0.059 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site