[PATCH v2 0/5] SBI PMU firmware counters and events improvement

Atish Patra atishp at atishpatra.org
Tue Feb 21 17:03:51 PST 2023


On Fri, Feb 17, 2023 at 6:44 AM Mayuresh Chitale
<mchitale at ventanamicro.com> wrote:
>
> This patchset implements the improvements described in the following
> proposal from Anup Patel:
>
> https://lists.riscv.org/g/tech-prs/message/102
>

For the larger audience, there is a v2 available now.
https://lists.riscv.org/g/tech-prs/message/211

> Changes in v2:
> - Update Risc V platform specific firmware event handling as per
>   the SBI spec update: https://lists.riscv.org/g/tech-prs/message/211
>
> Mayuresh Chitale (5):
>   lib: sbi_pmu: add callback for counter width
>   lib: sbi_pmu: Implement sbi_pmu_counter_fw_read_hi
>   lib: sbi_pmu: Reserve space for implementation specific firmware
>     events
>   lib: sbi_pmu: Update custom PMU device ops
>   lib: sbi_pmu: Add hartid parameter PMU device ops
>
>  include/sbi/sbi_ecall_interface.h |  12 +++
>  include/sbi/sbi_pmu.h             |  33 +++++---
>  lib/sbi/sbi_ecall_pmu.c           |   8 ++
>  lib/sbi/sbi_pmu.c                 | 120 +++++++++++++++++++-----------
>  4 files changed, 121 insertions(+), 52 deletions(-)
>
> --
> 2.34.1
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi



-- 
Regards,
Atish



More information about the opensbi mailing list