Re: [PATCH] target/riscv: Fix Guest Physical Address Translation

2023-04-04 Thread Alistair Francis
On Wed, Mar 29, 2023 at 3:53 AM Irina Ryapolova wrote: > > According to specification: > For Sv39x4, address bits of the guest physical address 63:41 must all be > zeros, or else a > guest-page-fault exception occurs. > > Likewise for Sv48x4 and Sv57x4. > For Sv48x4 address bits 63:50 must all be

Re: [PATCH] target/riscv: Fix Guest Physical Address Translation

2023-03-29 Thread liweiwei
On 2023/3/29 00:54, Irina Ryapolova wrote: According to specification: For Sv39x4, address bits of the guest physical address 63:41 must all be zeros, or else a guest-page-fault exception occurs. Likewise for Sv48x4 and Sv57x4. For Sv48x4 address bits 63:50 must all be zeros, or else a guest-

[PATCH] target/riscv: Fix Guest Physical Address Translation

2023-03-28 Thread Irina Ryapolova
According to specification: For Sv39x4, address bits of the guest physical address 63:41 must all be zeros, or else a guest-page-fault exception occurs. Likewise for Sv48x4 and Sv57x4. For Sv48x4 address bits 63:50 must all be zeros, or else a guest-page-fault exception occurs. For Sv57x4 addres