lkml.org 
[lkml]   [2005]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] enhance x86 MTRR handling
    Dave Jones wrote:
    >
    > Whilst your changes may have merit, I'd much rather see effort spent
    > on getting PAT into shape than further massaging MTRR. Its well past its
    > smell-by-date, and theres been no activity whatsoever afaik on getting
    > Terrence Ripperda's cachemap stuff beaten into shape.
    >
    > I'll dust off the last version he sent and diff against latest-mm later
    > so it can get some more commentary. It seems everyone is in violent
    > agreement that we want PAT support, but nothing seems to happen.
    >
    Yes we tried to contact the cachemap author but just found dead email
    addresses, so in the end we switched to using PAT.
    But rather that make kernel changes, we simply wrote a startup utility to
    program the MSR registers using /dev/cpu/%d/msr
    Our device driver then reads the IA32CR_PAT MSR and looks for a write-combining
    entry (value 0x01) and uses the slot # to program the correct PTE bits.

    But having a default write-combining MSR slot and a defined call to enable it
    would be good; I believe Hugo Kohmann from Dolphin has a patch to do this for
    x86_64 at least.

    Cheers
    Addy.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-05-12 19:06    [W:4.029 / U:0.596 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site