Skip to content

Misc OpenSBI HART ISA extension improvements

Anup Patel opensbi 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Updated PATCH2 to set set SBI_HART_EXT_ZIHPM in hart_detect_features() after calling sbi_platform_extensions_init().

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib: sbi: Add Zicntr as a HART ISA extensioninclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c lib/sbi/sbi_timer.c+6 -61 reply
2/4lib: sbi: Add Zihpm as a HART ISA extensioninclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c+10 -01 reply
3/4lib: sbi: Alphabetically sort HART ISA extensionsinclude/sbi/sbi_hart.h lib/sbi/sbi_hart.c+13 -131 reply
4/4lib: sbi: Rename hart_pmu_get_allowed_bits() functionlib/sbi/sbi_hart.c+2 -21 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchXiang W
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Misc OpenSBI HART ISA extension improvements

This series does assorted improvements to OpenSBI HART ISA extensions.

These patches can also be found in zicntr_zihpm_v2 branch at:
https://github.com/avpatel/opensbi.git

Changes since v1:
- Updated PATCH2 to set set SBI_HART_EXT_ZIHPM in hart_detect_features() after calling sbi_platform_extensions_init().

Anup Patel (4):
lib: sbi: Add Zicntr as a HART ISA extension
lib: sbi: Add Zihpm as a HART ISA extension
lib: sbi: Alphabetically sort HART ISA extensions
lib: sbi: Rename hart_pmu_get_allowed_bits() function

 include/sbi/sbi_hart.h | 12 +++++++-----
 lib/sbi/sbi_hart.c     | 30 +++++++++++++++++++-----------
 lib/sbi/sbi_timer.c    |  2 +-
 3 files changed, 27 insertions(+), 17 deletions(-)
Signature · 1 line
2.34.1