[PW_SID:975256] riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives#570
[PW_SID:975256] riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives#570linux-riscv-bot wants to merge 2 commits into
Conversation
…ternatives Under FTRACE=y, DYNAMIC_FTRACE=n, and RISCV_ALTERNATIVE_EARLY=n, the kernel panics upon returning from _mcount() in the early boot path. This occurs during _start_kernel() -> setup_vm() -> apply_early_boot_alternatives(). The CC_FLAGS_FTRACE is only removed from alternative.c when CONFIG_RISCV_ALTERNATIVE_EARLY=y. Therefore, no function calls should be made to alternative.c during early boot in this configuration. Fixes: a35707c ("riscv: add memory-type errata for T-Head") Signed-off-by: Changbin Du <changbin.du@huawei.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
|
Patch 1: "riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives" |
b5ded79 to
a7cb30d
Compare
PR for series 975256 applied to workflow__riscv__fixes
Name: riscv: Prevent early kernel panic in instrumented apply_early_boot_alternatives
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=975256
Version: 1