The logic behind changing the system page size because of what the
Loongson kernel "prefers" is flawed.
In the Loongson-2E manual, section 5.5, it is clear that the cpu
supports a 4k page size (along with many others). Therefore we
must continue to support a 4k page size.
While in the area, I noticed two other bugs related to update_pagemask.
r~
Richard Henderson (3):
target/mips: Revert TARGET_PAGE_BITS_VARY
target/mips: Require even maskbits in update_pagemask
target/mips: Simplify and fix update_pagemask
target/mips/cpu-param.h | 5 -----
target/mips/tcg/tcg-internal.h | 2 +-
hw/mips/fuloong2e.c | 1 -
hw/mips/loongson3_virt.c | 1 -
target/mips/tcg/system/cp0_helper.c | 32 +++++++++--------------------
target/mips/tcg/system/tlb_helper.c | 4 ++--
6 files changed, 13 insertions(+), 32 deletions(-)
--
2.43.0