]> git.baikalelectronics.ru Git - kernel.git/commit
riscv/mm: Add XIP_FIXUP for riscv_pfn_base
authorPalmer Dabbelt <palmer@rivosinc.com>
Fri, 4 Feb 2022 21:14:08 +0000 (13:14 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 4 Feb 2022 21:27:23 +0000 (13:27 -0800)
commita179f8079df90410b444ed343884c66b4f5c7385
tree83a80629ba6debcd36335b566bff142ee07e32dd
parentae5aea91042c5e2ce3d54318c494f8d1a06ec812
riscv/mm: Add XIP_FIXUP for riscv_pfn_base

This manifests as a crash early in boot on VexRiscv.

Signed-off-by: Myrtle Shah <gatecat@ds0.me>
[Palmer: split commit]
Fixes: 481bac616443 ("RISC-V: enable XIP")
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c