On 10/29/22 13:00, Jiaxun Yang wrote:
As per "Loongson-2F processor user manual", CP0St_{KX, SX, UX} should is not writeable and hardcoded to 1.Without those bits set, kernel is unable to access XKPHYS address segmant. So just set them up on CPU reset. Signed-off-by: Jiaxun Yang<jiaxun.y...@flygoat.com> --- target/mips/cpu.c | 6 ++++++ 1 file changed, 6 insertions(+)
Based on down-thread discussion of the manual: Acked-by: Richard Henderson <richard.hender...@linaro.org> r~