Re: [PATCH v3] MIPS: Use CPHYSADDR to implement mips32 __pa

2016-08-02 Thread Ralf Baechle
Thanks, I've replaced the old patch with this one. Ralf

[PATCH v3] MIPS: Use CPHYSADDR to implement mips32 __pa

2016-08-02 Thread Paul Burton
Use CPHYSADDR to implement the __pa macro converting from a virtual to a physical address for MIPS32, much as is already done for MIPS64 (though without the complication of having both compatibility & XKPHYS segments). This allows for __pa to work regardless of whether the address being translated