Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-27 Thread Guo Ren
On Tue, Jan 25, 2022 at 5:49 PM Weiwei Li wrote: > > > 在 2022/1/25 下午5:00, Guo Ren 写道: > > On Tue, Jan 25, 2022 at 4:54 PM LIU Zhiwei wrote: > >> > >> On 2022/1/25 16:40, Guo Ren wrote: > >>> On Tue, Jan 25, 2022 at 4:34 PM LIU Zhiwei wrote: > On 2022/1/25 14:45, Weiwei Li wrote: > > Fr

Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-25 Thread Weiwei Li
在 2022/1/25 下午5:00, Guo Ren 写道: On Tue, Jan 25, 2022 at 4:54 PM LIU Zhiwei wrote: On 2022/1/25 16:40, Guo Ren wrote: On Tue, Jan 25, 2022 at 4:34 PM LIU Zhiwei wrote: On 2022/1/25 14:45, Weiwei Li wrote: From: Guo Ren Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we n

Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-25 Thread Guo Ren
On Tue, Jan 25, 2022 at 4:54 PM LIU Zhiwei wrote: > > > On 2022/1/25 16:40, Guo Ren wrote: > > On Tue, Jan 25, 2022 at 4:34 PM LIU Zhiwei wrote: > >> > >> On 2022/1/25 14:45, Weiwei Li wrote: > >>> From: Guo Ren > >>> > >>> Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we > >>>

Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-25 Thread Guo Ren
On Tue, Jan 25, 2022 at 4:34 PM LIU Zhiwei wrote: > > > On 2022/1/25 14:45, Weiwei Li wrote: > > From: Guo Ren > > > > Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we > > need to ignore them. They cannot be a part of ppn. > > > > 1: The RISC-V Instruction Set Manual, Volume II:

Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-25 Thread LIU Zhiwei
On 2022/1/25 16:40, Guo Ren wrote: On Tue, Jan 25, 2022 at 4:34 PM LIU Zhiwei wrote: On 2022/1/25 14:45, Weiwei Li wrote: From: Guo Ren Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we need to ignore them. They cannot be a part of ppn. 1: The RISC-V Instruction Set Manu

Re: [PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-25 Thread LIU Zhiwei
On 2022/1/25 14:45, Weiwei Li wrote: From: Guo Ren Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we need to ignore them. They cannot be a part of ppn. 1: The RISC-V Instruction Set Manual, Volume II: Privileged Architecture 4.4 Sv39: Page-Based 39-bit Virtual-Memory Sys

[PATCH v6 1/5] target/riscv: Ignore reserved bits in PTE for RV64

2022-01-24 Thread Weiwei Li
From: Guo Ren Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we need to ignore them. They cannot be a part of ppn. 1: The RISC-V Instruction Set Manual, Volume II: Privileged Architecture 4.4 Sv39: Page-Based 39-bit Virtual-Memory System 4.5 Sv48: Page-Based 48-bit Virtual