On Thu, May 26, 2011 at 12:11:35PM -0400, Dave Anderson wrote:
 
 > 
 > And I guess VTOP/PTOV needs modification in accordance with
 > __phys_to_virt and __virt_to_phys.
 
 Right...
 
 Ultimately it will be advisable to extract the ARM VTOP() and PTOV()
 macros into machine-dependent functions, i.e., similar to the X86_64
 and IA64 architectures.  And in those functions, intelligence will
 have to be applied to determine how to handle the various ARM types. 
I agree. We need to start to separate different ARM platforms where normal
v<->p rules don't apply and add necessary code to perform the translations.