diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-03-29 11:19:32 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-04-14 04:14:40 +0300 |
commit | 1b50f956c8fe9082bdee4a9cfd798149c52f7043 (patch) | |
tree | c8cdede9e0ef4be79a5e2f44fab5c99f3166fcd3 /io_uring | |
parent | f1581626071c8e37c58c5e8f0b4126b17172a211 (diff) | |
download | linux-1b50f956c8fe9082bdee4a9cfd798149c52f7043.tar.xz |
riscv: No need to relocate the dtb as it lies in the fixmap region
We used to access the dtb via its linear mapping address but now that the
dtb early mapping was moved in the fixmap region, we can keep using this
address since it is present in swapper_pg_dir, and remove the dtb
relocation.
Note that the relocation was wrong anyway since early_memremap() is
restricted to 256K whereas the maximum fdt size is 2MB.
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230329081932.79831-4-alexghiti@rivosinc.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions