Re: allocating uncachable memory
flat view
From: Dan Malek <hidden>
Date: 2000-08-25 17:39:14
Ronald Wahl wrote:
After some further tests I found out that it is the data cache of the MPC860.
Yep.
..... So my question again: How can I get an alias mapping (with _PAGE_NO_CACHE | _PAGE_GUARDED) of some already mapped pages.
There isn't anything generic right now. A few of us are working on a solution, as there are other processors affected (IBM 4xx) as well. If you look at the uart or Ethernet drivers, you will notice they allocate pages of memory, track down the PTEs and set the attributes directly. You can use that as an example. Don't forget that managing the caches in software (via flushes and invalidates) could actually provide better performance for data transfers due to the cache bursting available when caches are enabled. -- Dan ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/