Messages in this thread | | | From | "Imran Badr" <> | Subject | RE: Cache coherency and snooping | Date | Tue, 13 Aug 2002 18:56:38 -0700 |
| |
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 outcome.
Thanks to everyone for all the responses and guidance. Imran.
-----Original Message----- From: Rik van Riel [mailto:riel@conectiva.com.br] Sent: Tuesday, August 13, 2002 6:38 PM To: Imran Badr Cc: 'Ralf Baechle'; 'Alan Cox'; linux-kernel@vger.kernel.org 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...
regards,
Rik -- Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/ http://distro.conectiva.com/
- 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/
| |