Re: [PATCH] openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()

From: Stafford Horne
Date: Sun Mar 10 2024 - 04:54:34 EST


On Sat, Mar 09, 2024 at 06:24:07PM +0800, Dawei Li wrote:
> Openrisc's implementation of fix_to_virt() & virt_to_fix() share same
> functionality with ones of asm generic.
>
> Plus, generic version of fix_to_virt() can trap invalid index at compile
> time.
>
> Thus, Replace the arch-specific implementations with asm generic's ones.
>
> Signed-off-by: Dawei Li <set_pte_at@xxxxxxxxxxx>

Thanks, I have reviewed and tested this and it looks good.

I will queue for the next merge window.

-Stafford