All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.2.11 0/3] Fixes for dtb mapping
@ 2023-04-24 15:03 Alexandre Ghiti
  2023-04-24 15:03 ` [PATCH 6.2.11 1/3] riscv: Move early dtb mapping into the fixmap region Alexandre Ghiti
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alexandre Ghiti @ 2023-04-24 15:03 UTC (permalink / raw)
  To: Conor Dooley, stable; +Cc: Alexandre Ghiti

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: v6.2.11

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 |  6 +--
 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              | 82 ++++++++++++++-----------------
 5 files changed, 54 insertions(+), 56 deletions(-)

-- 
2.37.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-04-28  4:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 15:03 [PATCH 6.2.11 0/3] Fixes for dtb mapping Alexandre Ghiti
2023-04-24 15:03 ` [PATCH 6.2.11 1/3] riscv: Move early dtb mapping into the fixmap region Alexandre Ghiti
2023-04-24 15:03 ` [PATCH 6.2.11 2/3] riscv: Do not set initial_boot_params to the linear address of the dtb Alexandre Ghiti
2023-04-24 15:03 ` [PATCH 6.2.11 3/3] riscv: No need to relocate the dtb as it lies in the fixmap region Alexandre Ghiti
2023-04-27  9:53   ` Greg KH
2023-04-27 15:23     ` Alexandre Ghiti
2023-04-28  4:46       ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.