[lkml]   [2002]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: Cache coherency and snooping
    I am looking at the linux kernel code. The driver in /drivers/char/agp uses
    this same seqeuence to allocate non-cacheable memory page ( look at the
    function static int agp_generic_create_gatt_table(void)).

    I will give it a try on my mips based platform and let you guys know the

    Thanks to everyone for all the responses and guidance.

    -----Original Message-----
    From: Rik van Riel []
    Sent: Tuesday, August 13, 2002 6:38 PM
    To: Imran Badr
    Cc: 'Ralf Baechle'; 'Alan Cox';
    Subject: RE: Cache coherency and snooping

    On Tue, 13 Aug 2002, Imran Badr wrote:

    > Please advise if following sequence of operations are going to help:
    > alloc memory
    > reserve the page
    > flush every cache
    > call ioremap_nocache

    Won't work around hardware limitations. If the hardware
    cannot turn off caching, all you could do is flush the
    page to ram before every explicit IO request...


    Bravely reimplemented by the knights who say "NIH".

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:28    [W:0.035 / U:5.500 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site