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

2022-01-17 Thread Alistair Francis
On Mon, Jan 17, 2022 at 5:18 PM 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 Virtua

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

2022-01-16 Thread guoren
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