public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -fixes 0/2] Fixes for dtb mapping
@ 2023-03-23 16:33 Alexandre Ghiti
  2023-03-23 16:33 ` [PATCH -fixes 1/2] riscv: Move early dtb mapping into the fixmap region Alexandre Ghiti
  2023-03-23 16:33 ` [PATCH -fixes 2/2] riscv: Do not set initial_boot_params to the linear address of the dtb Alexandre Ghiti
  0 siblings, 2 replies; 9+ messages in thread
From: Alexandre Ghiti @ 2023-03-23 16:33 UTC (permalink / raw)
  To: Jonathan Corbet, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Conor Dooley, linux-doc, linux-riscv, linux-kernel
  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.3-rc3

Alexandre Ghiti (2):
  riscv: Move early dtb mapping into the fixmap region
  riscv: Do not set initial_boot_params to the linear address of the dtb

 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] 9+ messages in thread

end of thread, other threads:[~2023-03-29  8:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23 16:33 [PATCH -fixes 0/2] Fixes for dtb mapping Alexandre Ghiti
2023-03-23 16:33 ` [PATCH -fixes 1/2] riscv: Move early dtb mapping into the fixmap region Alexandre Ghiti
2023-03-27 10:37   ` Conor Dooley
2023-03-29  7:36     ` Alexandre Ghiti
2023-03-29  7:45       ` Conor Dooley
2023-03-23 16:33 ` [PATCH -fixes 2/2] riscv: Do not set initial_boot_params to the linear address of the dtb Alexandre Ghiti
2023-03-27 11:16   ` Conor Dooley
2023-03-29  8:09     ` Alexandre Ghiti
2023-03-29  8:14       ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox