lkml.org 
[lkml]   [2000]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Write allocation broken on AMD K6.y
    Date
    > 
    >
    > All,
    > The AMD pdf says that the memory range is in bits 7-1, though
    > I believe the current code doesn't honour this.
    >
    > The fix is as follows:
    >
    > --- setup.c~ Tue Mar 28 00:39:19 2000
    > +++ setup.c Tue Mar 28 00:39:44 2000
    > @@ -501,7 +501,7 @@
    > rdmsr(0xC0000082, l, h);
    > if((l&0x0000FFFF)==0)
    > {
    > - l=(1<<0)|(mbytes/4);
    > + l=(1<<0)|((mbytes/4)<<1);
    > save_flags(flags);
    > __cli();
    > __asm__ __volatile__ ("wbinvd": : :"memory");
    >
    >
    >
    > The same problem exists in 2.2.15pre15 and 2.3.99pre3.
    >
    > regards,
    >
    > --
    > Dave.
    >


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

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:0.028 / U:30.044 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site