[PATCH v9 01/12] riscv: integrate alternatives better into the main architecture
Philipp Tomsich
philipp.tomsich at vrull.eu
Wed Apr 13 02:05:17 PDT 2022
On Wed, 13 Apr 2022 at 05:04, Heiko Stuebner <heiko at sntech.de> wrote:
>
> Right now the alternatives need to be explicitly enabled and
> erratas are limited to SiFive ones.
>
> We want to use alternatives not only for patching soc erratas,
> but in the future also for handling different behaviour depending
> on the existence of future extensions.
>
> So move the core alternatives over to the kernel subdirectory
> and move the CONFIG_RISCV_ALTERNATIVE to be a hidden symbol
> which we expect relevant erratas and extensions to just select
> if needed.
>
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
Reviewed-by: Philipp Tomsich <philipp.tomsich at vrull.eu>
More information about the linux-riscv
mailing list