[PATCH 5.15.108 v3 0/3] Fixes for dtb mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We used to map the dtb differently between early_pg_dir and
swapper_pg_dir which caused issues when we referenced addresses from
the early mapping with swapper_pg_dir (reserved_mem): move the dtb mapping
to the fixmap region in patch 1, which allows to simplify dtb handling in
patch 2.

base-commit-tag: v5.15.108

Changes in v3:
- Add missing SoB

Changes in v2:
- Fix upstream commit line position

Alexandre Ghiti (3):
  riscv: Move early dtb mapping into the fixmap region
  riscv: Do not set initial_boot_params to the linear address of the dtb
  riscv: No need to relocate the dtb as it lies in the fixmap region

 Documentation/riscv/vm-layout.rst |  2 +-
 arch/riscv/include/asm/fixmap.h   |  8 ++++
 arch/riscv/include/asm/pgtable.h  |  8 +++-
 arch/riscv/kernel/setup.c         |  6 +--
 arch/riscv/mm/init.c              | 68 ++++++++++++++++---------------
 5 files changed, 52 insertions(+), 40 deletions(-)

-- 
2.37.2




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux