Re: [PATCH] MIPS: Make phys_to_virt utilize __va()

From: Florian Fainelli
Date: Fri Jul 08 2022 - 12:21:51 EST


On 7/8/22 05:34, Serge Semin wrote:
On Thu, Jul 07, 2022 at 01:37:42PM -0700, Florian Fainelli wrote:
The implementation is exactly the same, so avoid open-coding it in two
different locations.

Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Seems reasonable. Thanks.

Reviewed-by: Serge Semin <fancer.lancer@xxxxxxxxx>

*Note it now looks exactly as the generic phys_to_virt().

True, though switching to asm-generic/io.h is a slightly bigger undertaking. I will cook something towards that goal however.
--
Florian