I am trying to map an IO peripheral device to _Cacheable_ memory, to
improve performance of read/write accesses to it. Is there a kernel
routine to do so? vremap()? Normally IO devices are mapped as uncacheable.
Is this specified as default anywhere in the kernel or special registers?
This is on Pentium Pro, with Memory Type Range Registers (MTRRs)
enabled. Will I need to modify MTRR group of registers explicity (using
RDMSR/WRMSR instructions) to mark the mapped region as Cacheable?
Thanks for any responses,