Commit 099122af authored by Andrew Jones's avatar Andrew Jones Committed by Palmer Dabbelt

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: default avatarAndrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20230224154601.88163-2-ajones@ventanamicro.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent fe15c26e
...@@ -379,8 +379,8 @@ config RISCV_ALTERNATIVE ...@@ -379,8 +379,8 @@ config RISCV_ALTERNATIVE
help help
This Kconfig allows the kernel to automatically patch the This Kconfig allows the kernel to automatically patch the
errata required by the execution platform at run time. The errata required by the execution platform at run time. The
code patching is performed once in the boot stages. It means code patching overhead is minimal, as it's only done once
that the overhead from this mechanism is just taken once. at boot and once on each module load.
config RISCV_ALTERNATIVE_EARLY config RISCV_ALTERNATIVE_EARLY
bool bool
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment