Re: Proposal v2: SBI PMU Extension


Greg Favor
 

On Thu, Jul 9, 2020 at 9:02 PM Anup Patel <Anup.Patel@...> wrote:

Translating event_idx[XLEN-1:0] to platform specific mhpmeventX CSR value will be optional in OpenSBI (M-mode runtime firmware). If a platform does not want to translate event_idx value then we will write event_idx as-in in mhpmeventX CSR.


Great.
 

Regarding total number of bits used by event_idx.type and event_idx.code, I am fine with both 16bits and 20bits approaches. If there is no further objection for using 20bits approach then I will go with that.


Yes, that would also be good.

Thanks,
Greg
 

 

Regards,

Anup

 

Join {tech-unixplatformspec@lists.riscv.org to automatically receive all group messages.