Hi,
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.
IMO the only portable solution would be a memremap (similiar to ioremap).
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.
Sure? Often you don't want io data in the cache at all. io is mostly slow
and you have to wait anyway. On the other hand such stuff is also a horror
to debug.
bye, Roman.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/