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>
This commit is contained in:
Andrew Jones 2023-02-24 16:45:56 +01:00 committed by Palmer Dabbelt
parent fe15c26ee2
commit 099122af4e
No known key found for this signature in database
GPG Key ID: 2E1319F35FBB1889
1 changed files with 2 additions and 2 deletions

View File

@ -379,8 +379,8 @@ config RISCV_ALTERNATIVE
help
This Kconfig allows the kernel to automatically patch the
errata required by the execution platform at run time. The
code patching is performed once in the boot stages. It means
that the overhead from this mechanism is just taken once.
code patching overhead is minimal, as it's only done once
at boot and once on each module load.
config RISCV_ALTERNATIVE_EARLY
bool