riscv: Do not set initial_boot_params to the linear address of the dtb
authorAlexandre Ghiti <alexghiti@rivosinc.com>
Wed, 29 Mar 2023 08:19:31 +0000 (10:19 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 14 Apr 2023 01:14:33 +0000 (18:14 -0700)
commitf1581626071c8e37c58c5e8f0b4126b17172a211
tree7c5938bfb2f38234dff2918e713df84b30412760
parentef69d2559fe91f23d27a3d6fd640b5641787d22e
riscv: Do not set initial_boot_params to the linear address of the dtb

early_init_dt_verify() is already called in parse_dtb() and since the dtb
address does not change anymore (it is now in the fixmap region), no need
to reset initial_boot_params by calling early_init_dt_verify() again.

Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20230329081932.79831-3-alexghiti@rivosinc.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/setup.c