Re: [PATCH v9 01/12] riscv: integrate alternatives better into the main architecture

From: Philipp Tomsich
Date: Wed Apr 13 2022 - 05:05:33 EST


On Wed, 13 Apr 2022 at 05:04, Heiko Stuebner <heiko@xxxxxxxxx> 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@xxxxxxxxx>

Reviewed-by: Philipp Tomsich <philipp.tomsich@xxxxxxxx>