On Mon, 22 Feb 2016, Igor R wrote: > What should happen if I map KSEG2 directly as a continuation of KSEG1, > i.e. substitute TLB lookup with "address - (int32_t)KSEG1_BASE"? Guest > Linux seems to work correctly (but maybe it's just a matter of luck?).
The 32-bit MIPS port of Linux uses KSEG2 for kernel virtual mappings, that is memory allocated via `vmalloc' and loadable modules. Your luck is the former is seldom used and you may not have loadable modules in your configuration either. Maciej