summaryrefslogtreecommitdiff
path: root/arch/riscv/Kconfig
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2023-02-24 16:45:56 +0100
committerPalmer Dabbelt <palmer@rivosinc.com>2023-03-14 20:51:20 -0700
commit099122af4e29efb41e0db6cc2cd5a07278250e4f (patch)
tree745810ca4c8e465661a2c411ee8da2919b37e1c8 /arch/riscv/Kconfig
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
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>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r--arch/riscv/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c5e42cc37604..04898c50ef1d 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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