Re: A proposal to enhance RISC-V HPM (Hardware Performance Monitor)
Brian Grayson
Hi, Alan. My proposal is still a work in progress, hence has not been shared publicly, but is significantly based on a proven architecture with about 30 years in the field and a few billion shipping cores, if not more -- the PowerPC performance monitor implementation. I did the in-house Linux kernel patches and tool support for it about two decades ago at Motorola :) so I used to know it quite well, and can see how a similar approach solves some of the current problems that we all have encountered with the current RISC-V approach. I am fairly new to the RISC-V ecosystem, so I was not aware of the work that you have done in the past; thanks for the pointer to that. The SBI PMU extensions is more about the API between what perf (or another tool) communicates, and how the M-mode software interprets it, and not about actually changing the hardware interpretation of mhpmevent bits, at least that was my understanding. I am glad that so many of us are converging on all the same fundamental needs! Brian On Mon, Jul 20, 2020 at 7:38 PM alankao <alankao@...> wrote: Hi Brian, |
|