lkml.org 
[lkml]   [2010]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] x86: Disable 4MB page tables for Atom, work around errata AAE44
    From
    Date
    Colin King <colin.king@canonical.com> writes:
    >
    > +static void __init check_atom(void)
    > +{
    > +
    > + /*
    > + * Disable 4MB page tables to work around Intel errata AAE44 for
    > + * Atom. We cannot guarantee stopping undefined processor behaviour
    > + * when two pageing structure translations differ with respect to
    > + * page frame sizes. Hence, for Atoms we disable the PSE.
    > + */
    > + if (boot_cpu_data.x86_model == 0x1c) {

    Perhaps someone else pointed that out already, but you obviously
    need to check for x86_vendor == X86_VENDOR_INTEL and x86_family == 6 too,
    otherwise you'll get false positives.

    Besides such workarounds are normally in arch/x86/kernel/cpu/intel.c.
    bugs.c is really obsolete.

    -Andi

    --
    ak@linux.intel.com -- Speaking for myself only.


    \
     
     \ /
      Last update: 2010-04-12 10:05    [W:0.028 / U:58.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site