Flushing data cache on PPC405 in Linux
John.Linn at xilinx.com
Thu Feb 24 12:04:47 EST 2011
I have a situation that requires a flush the data cache at specific time
periods to help with memory scrubbing.
On the 405, I don't see any easy way to do this since you don't know
what the cache has in it and there's not an instruction to flush the
whole cache. It looks like a kernel driver is needed to map pages then
flush that data cache for the pages.
I'm concerned there will be side affects I don't realize as I'm assuming
the driver would slowly go thru all of physical memory mapping pages
(cached or non-cached) and then flushing all addresses in the page(s).
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the Linuxppc-dev