|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/riscv: PMP violation due to wrong size parameter |
Date: | Mon, 7 Oct 2019 14:25:16 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 10/7/19 10:19 AM, Dayeol Lee wrote: > Thank you very much for the clarification! > > I found tlb_set_page with size != TARGET_PAGE_SIZE makes the translation way > too slow; the Linux doesn't seem to boot. To clarify, PMP specifies a range. That range has only two end points. Therefore, a maximum of 2 pages may be affected by a mis-aligned PMP boundary. It sounds like you're getting size != TARGET_PAGE_SIZE for all pages. r~
[Prev in Thread] | Current Thread | [Next in Thread] |