Re: [PATCH 2/2] x86: calling early_init_xxx in init_xxx

Ingo Molnar
2008-09-06T12:10:31Z

* Yinghai Lu <yhlu.kernel@gmail.com> wrote:

> so
> 1. could set some cap to ap
> 2. restore some cap after memset in identify_cpu for boot cpu
>
> esp for CONSTANT_TSC
>
> before this patch:
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow rep_good nopl pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
>
> after this patch:
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl pni monitor cx16 lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs
>
> constant_tsc is back...

applied to tip/x86/unify-cpu-detect, thanks Yinghai.

Ingo