ioremap_nocache problem?

From: Mark Mokryn (mark@sangate.com)
Date: Tue Jan 23 2001 - 05:30:00 EST


ioremap_nocache does the following:
        return __ioremap(offset, size, _PAGE_PCD);

However, in drivers/char/mem.c (2.4.0), we see the following:

        /* On PPro and successors, PCD alone doesn't always mean
            uncached because of interactions with the MTRRs. PCD | PWT
            means definitely uncached. */
        if (boot_cpu_data.x86 > 3)
                prot |= _PAGE_PCD | _PAGE_PWT;

Does this mean ioremap_nocache() may not do the job?

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



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:27 EST