riscv: Add new SBI v0.2 extensions support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | riscv: Mark existing SBI as v0.1 SBIarch/ | +21 | 1 reply | |
| 2/5 | riscv: Add basic support for SBI v0.2arch/ arch/ arch/ +1 more | +243 | 1 reply | |
| 3/5 | riscv: Add SBI v0.2 extension definitionsarch/ | +17 | 1 reply | |
| 4/5 | riscv: Introduce a new config for SBI v0.1arch/ arch/ arch/ | +16 | 1 reply | |
| 5/5 | riscv: Implement new SBI v0.2 extensionsarch/ arch/ | +33 | 2 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Pragnesh Patel |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] riscv: Add new SBI v0.2 extensions support
The SBI v0.2 introduces a base extension which is backward compatible with v0.1. Implement all helper functions and minimum required SBI calls from v0.2 for now. All other base extension function will be added later as per need.
As v0.2 calling convention is backward compatible with v0.1, remove the v0.1 helper functions and just use v0.2 calling convention.
2 new Kconfig options CONFIG_SBI and CONFIG_SBI_V01 are introduced and turned on by default for S-mode U-Boot. If you want to use SBI v0.2 calling convention, turn off CONFIG_SBI_V01.
This series depends on
http://patchwork.ozlabs.org/project/uboot/list/?series=162772
Bin Meng (5):
riscv: Mark existing SBI as v0.1 SBI
riscv: Add basic support for SBI v0.2
riscv: Add SBI v0.2 extension definitions
riscv: Introduce a new config for SBI v0.1
riscv: Implement new SBI v0.2 extensions
arch/riscv/Kconfig | 13 +++ arch/riscv/include/asm/sbi.h | 168 +++++++++++++++++++++----------------- arch/riscv/lib/Makefile | 1 + arch/riscv/lib/sbi.c | 187 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 297 insertions(+), 72 deletions(-) create mode 100644 arch/riscv/lib/sbi.c
Signature · 1 line
2.7.4