[PATCH 6.17 171/247] LoongArch: Consolidate early_ioremap()/ioremap_prot()