[PATCH 0/3] Add Kconfig option for each extension
Andrew Jones
ajones at ventanamicro.com
Thu Oct 13 07:26:34 PDT 2022
On Tue, Oct 11, 2022 at 12:33:02AM +0800, Vivian Wang wrote:
> 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].
>
> [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
Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
More information about the opensbi
mailing list