Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-04-10 Thread Alistair Francis
On Sat, Mar 25, 2023 at 9:58 PM Richard Henderson wrote: > > This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. > > * Reclaim 5 TB_FLAGS bits, since we nearly ran out. > > * Using cpu_mmu_index(env, true) is insufficient to implement > HLVX properly. While that chooses the correct

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-04-04 Thread Wu, Fei
On 4/4/2023 3:11 PM, LIU Zhiwei wrote: > > On 2023/4/4 14:42, Wu, Fei wrote: >> On 3/25/2023 6:54 PM, Richard Henderson wrote: >>> This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. >>> >>>    * Reclaim 5 TB_FLAGS bits, since we nearly ran out. >>> >>>    * Using cpu_mmu_index(env, true)

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-04-04 Thread LIU Zhiwei
On 2023/4/4 14:42, Wu, Fei wrote: On 3/25/2023 6:54 PM, Richard Henderson wrote: This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. * Reclaim 5 TB_FLAGS bits, since we nearly ran out. * Using cpu_mmu_index(env, true) is insufficient to implement HLVX properly. While that

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-04-04 Thread Wu, Fei
On 3/25/2023 6:54 PM, Richard Henderson wrote: > This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. > > * Reclaim 5 TB_FLAGS bits, since we nearly ran out. > > * Using cpu_mmu_index(env, true) is insufficient to implement > HLVX properly. While that chooses the correct mmu_idx,

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-03-27 Thread Wu, Fei
On 3/28/2023 12:43 AM, Daniel Henrique Barboza wrote: > > > On 3/25/23 07:54, Richard Henderson wrote: >> This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. >> >>    * Reclaim 5 TB_FLAGS bits, since we nearly ran out. >> >>    * Using cpu_mmu_index(env, true) is insufficient to implement

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-03-27 Thread Daniel Henrique Barboza
On 3/25/23 07:54, Richard Henderson wrote: This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. * Reclaim 5 TB_FLAGS bits, since we nearly ran out. * Using cpu_mmu_index(env, true) is insufficient to implement HLVX properly. While that chooses the correct mmu_idx, it

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-03-26 Thread liweiwei
On 2023/3/25 18:54, Richard Henderson wrote: This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. * Reclaim 5 TB_FLAGS bits, since we nearly ran out. * Using cpu_mmu_index(env, true) is insufficient to implement HLVX properly. While that chooses the correct mmu_idx, it

Re: [PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-03-25 Thread Richard Henderson
On 3/25/23 03:54, Richard Henderson wrote: This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. * Reclaim 5 TB_FLAGS bits, since we nearly ran out. * Using cpu_mmu_index(env, true) is insufficient to implement HLVX properly. While that chooses the correct mmu_idx, it does

[PATCH v6 00/25] target/riscv: MSTATUS_SUM + cleanups

2023-03-25 Thread Richard Henderson
This builds on Fei and Zhiwei's SUM and TB_FLAGS changes. * Reclaim 5 TB_FLAGS bits, since we nearly ran out. * Using cpu_mmu_index(env, true) is insufficient to implement HLVX properly. While that chooses the correct mmu_idx, it does not perform the read with execute permission.