[PATCH v2 0/3] lib: sbi_pmu: SBI v3.0 PMU error code fixes

"David E. Garcia Porras" <[email protected]>
Newsgroups org.infradead.lists.opensbi
Message-ID <[email protected]>
This series fixes several places where the PMU extension returns
error codes that do not match the SBI v3.0 specification, chapter 11.

Changes in v2:
 - Added patch 3/3: reject reserved flag bits in counter start/stop,
   propagate ALREADY_STARTED/ALREADY_STOPPED, and report firmware
   events as supported in event_get_info.
 - Patches 1/3 and 2/3 are unchanged from their v1 submissions.

This series supersedes the two standalone v1 patches.

David E. Garcia Porras (3):
  lib: sbi_pmu: Return invalid param error for reserved event_idx bits
  lib: sbi_pmu: Match raw event selector only against raw event map
    entries
  lib: sbi_pmu: Fix counter and event info error codes as per SBI v3.0
    spec

 include/sbi/sbi_ecall_interface.h | 14 ++++++++
 lib/sbi/sbi_pmu.c                 | 55 ++++++++++++++++++++++++-------
 2 files changed, 57 insertions(+), 12 deletions(-)

-- 
2.43.0


-- 
opensbi mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/opensbi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.