Skip to content

Add Kconfig option for each extension

Andrew Jones opensbi 1 version New

Get series with b4
b4 am 20221013142634.lckftxftddwluzy7@kamzik

Versions newest first

  1. v1 Latest1 of 3 patches 0 repliesNew

1 of 3 patches is in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/3lib: sbi_ecall: Add Kconfig option for each extension+0 -01 reply

Reviews trailers per patch

The patch has no Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew Jones
SeriesR-b
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] Add Kconfig option for each extension
Quoted 15 lines · Vivian Wang

This series adds support for disabling SBI extensions via Kconfig. In the future, Kconfig can also be used to disable obsolete extensions by default.

All of the SBI extensions except Base extension is optional [1]. Users of OpenSBI may wish to disable support for some of the extensions for reasons such as:

- Future-proofing S-mode software, replacing SBI calls with new ISA functionality.
- Testing S-mode software to make sure they work correctly without certain extensions present.
- Disabling unused extensions to minimize the attack surface of M-mode software. See [2].

Quoted 3 lines

[1]: https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/riscv-sbi.adoc#1-introduction
[2]: https://github.com/riscv-non-isa/riscv-sbi-doc/issues/102

For the series