Skip to content

Commit 099122a

Browse files
Andrew Jonespalmer-dabbelt
authored andcommitted
riscv: Clarify RISCV_ALTERNATIVE help text
Clarify RISCV_ALTERNATIVE's help text by pointing out that code patching is not only done at boot time, but also module load time. Also point out that this is the minimal possible overhead. Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/20230224154601.88163-2-ajones@ventanamicro.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent fe15c26 commit 099122a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/riscv/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ config RISCV_ALTERNATIVE
379379
help
380380
This Kconfig allows the kernel to automatically patch the
381381
errata required by the execution platform at run time. The
382-
code patching is performed once in the boot stages. It means
383-
that the overhead from this mechanism is just taken once.
382+
code patching overhead is minimal, as it's only done once
383+
at boot and once on each module load.
384384

385385
config RISCV_ALTERNATIVE_EARLY
386386
bool

0 commit comments

Comments
 (0)