[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 5/6] x86: move mtrr cpu cap setting early in early_init_xxxx
On Thu, Sep 4, 2008 at 12:13 PM, Ingo Molnar <> wrote:
> * Yinghai Lu <> wrote:
>> Krzysztof Helt <> found mtrr is not detected on k6-2
>> root case:
>> we move mtrr_bp_init early for mtrr trimming.
>> and in early_detect, only read cap from cpuid, so some cpu doesn't have
>> that bit in cpuid and need to set workaround bit will have problem.
>> need to add early_init_xxxx to preset those bit before mtrr_bp_init
>> for those earlier cpus.
>> this patch is for 2.6.27
> hm, not sure we can do it in v2.6.27 as it depends on the other CPU init
> patches and that is a rather sensitive codepath. This problem should be
> present in v2.6.26 too, right?

Yes. old cpus without cpuid bit for mtrr need this patch...
Krzysztof Helt tested it and it works with 2.6.27-rc5 (?)


 \ /
  Last update: 2008-09-04 21:19    [W:0.055 / U:12.968 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site