Re: [PULL 15/57] target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill

2024-08-10 Thread Richard Henderson
On 8/10/24 04:11, Philippe Mathieu-Daudé wrote: Hi Richard, On 2/2/24 06:49, Richard Henderson wrote: Rather than adjust env->hflags so that the value computed by cpu_mmu_index() changes, compute the mmu_idx that we want directly and pass it down. Introduce symbolic constants for MMU_{KERNEL,E

Re: [PULL 15/57] target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill

2024-08-09 Thread Philippe Mathieu-Daudé
Hi Richard, On 2/2/24 06:49, Richard Henderson wrote: Rather than adjust env->hflags so that the value computed by cpu_mmu_index() changes, compute the mmu_idx that we want directly and pass it down. Introduce symbolic constants for MMU_{KERNEL,ERL}_IDX. Reviewed-by: Philippe Mathieu-Daudé Si

[PULL 15/57] target/mips: Pass ptw_mmu_idx down from mips_cpu_tlb_fill

2024-02-01 Thread Richard Henderson
Rather than adjust env->hflags so that the value computed by cpu_mmu_index() changes, compute the mmu_idx that we want directly and pass it down. Introduce symbolic constants for MMU_{KERNEL,ERL}_IDX. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- target/mips/cpu.h