OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/8] SBI PMU firmware counters and events improvement
@ 2023-03-09 13:13 Mayuresh Chitale
  2023-03-09 13:13 ` [PATCH v4 1/8] lib: sbi_pmu: add callback for counter width Mayuresh Chitale
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Mayuresh Chitale @ 2023-03-09 13:13 UTC (permalink / raw)
  To: opensbi

This patchset implements the improvements described in the following
proposal from Anup Patel: 

https://lists.riscv.org/g/tech-prs/message/102

Changes in v4:
- Fix alignment in patch 3 and typo in patch 4
- Add reviewed-by tags

Changes in v3:
- Break patch 4 from v2 into multiple smaller patches
- Add reviewed-by tags

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 (8):
  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: Rename fw_counter_value
  lib: sbi_pmu: Update sbi_pmu dev ops
  lib: sbi_pmu: Use dedicated event code for platform firmware events
  lib: sbi_pmu: Introduce fw_counter_write_value API
  lib: sbi_pmu: Add hartid parameter PMU device ops

 include/sbi/sbi_ecall_interface.h |  12 +++
 include/sbi/sbi_pmu.h             |  31 ++++---
 lib/sbi/sbi_ecall_pmu.c           |   8 ++
 lib/sbi/sbi_pmu.c                 | 141 +++++++++++++++++++++---------
 4 files changed, 141 insertions(+), 51 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2023-03-10  8:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-09 13:13 [PATCH v4 0/8] SBI PMU firmware counters and events improvement Mayuresh Chitale
2023-03-09 13:13 ` [PATCH v4 1/8] lib: sbi_pmu: add callback for counter width Mayuresh Chitale
2023-03-10  8:55   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 2/8] lib: sbi_pmu: Implement sbi_pmu_counter_fw_read_hi Mayuresh Chitale
2023-03-10  8:55   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 3/8] lib: sbi_pmu: Reserve space for implementation specific firmware events Mayuresh Chitale
2023-03-10  8:55   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 4/8] lib: sbi_pmu: Rename fw_counter_value Mayuresh Chitale
2023-03-10  8:55   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 5/8] lib: sbi_pmu: Update sbi_pmu dev ops Mayuresh Chitale
2023-03-10  8:56   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 6/8] lib: sbi_pmu: Use dedicated event code for platform firmware events Mayuresh Chitale
2023-03-09 14:32   ` Xiang W
2023-03-10  4:34     ` Mayuresh Chitale
2023-03-10  8:56   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 7/8] lib: sbi_pmu: Introduce fw_counter_write_value API Mayuresh Chitale
2023-03-10  8:56   ` Anup Patel
2023-03-09 13:13 ` [PATCH v4 8/8] lib: sbi_pmu: Add hartid parameter PMU device ops Mayuresh Chitale
2023-03-10  8:56   ` Anup Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox