Re: Extending the number of PMP entries
You are free to add it in “RISC-V configuration structure” but from Linux, Hypervisors and M-mode RUNTIME firmware perspective we don’t’ need it.
All these software will:
From: tech-privileged@... <tech-privileged@...> On Behalf Of Abner Chang
Sent: 25 May 2020 11:52
To: Anup Patel <Anup.Patel@...>; Andrew Waterman <andrew@...>; Tariq Kurd <tariq.kurd@...>
Subject: Re: [RISC-V] [tech-privileged] Extending the number of PMP entries
Missed this mail while I was replying to Andrew. Same feedback to your comment in that reply.
On Behalf Of Anup Patel
This is not needed. We can easily probe number of PMP registers using illegal instruction traps. Look at latest OpenSBI sources.
On Behalf Of Abner Chang
Just writing to confirm that there is no information regards to the # of PMP entries supported by hart mentioned in privilege spec . If my understanding is correct, then this information is good to go to RISC-V configurations structure.
On Behalf Of Andrew Waterman
I've made a pull request to extend the number of PMP entries, and have attached the compiled PDF for convenience. Feedback and error detection are appreciated: the fact that there used to be 16 PMP entries manifested in several places in the document.
On Fri, May 22, 2020 at 12:30 AM Tariq Kurd <tariq.kurd@...> wrote: