I am porting a Vxworks driver for an encryption chip from Vxworks to Linux on a cutom MPC860 board. The Linux is HHL 2.0. The driver communicates with the chip through chip registers and shared memory buffers. The VxWorks driver set the system memory cache policy to writethrough. I am using ioremap for the chip registers and consistent_alloc for the shared buffers. This all works fine. Now for my questions.
Is this the right approach for me to take? Does Linux support designating memory regions for writethrough caching? If it does, should I use it rather than doing what I am doing? Thanks, Don ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/