[PATCH 6.6 451/583] riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings