Thread (6 messages) 6 messages, 4 authors, 2024-12-11

Re: [PATCH v2] of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify

From: patchwork-bot+linux-riscv@kernel.org
Date: 2024-12-11 22:32:31
Also in: kexec, linux-arm-kernel, linux-devicetree, linux-mips, linux-riscv, linux-sh, lkml, loongarch

Hello:

This patch was applied to riscv/linux.git (fixes)
by Rob Herring (Arm) [off-list ref]:

On Wed, 23 Oct 2024 18:14:26 +0100 you wrote:
__pa() is only intended to be used for linear map addresses and using
it for initial_boot_params which is in fixmap for arm64 will give an
incorrect value. Hence save the physical address when it is known at
boot time when calling early_init_dt_scan for arm64 and use it at kexec
time instead of converting the virtual address using __pa().

Reported-by: Breno Leitao <leitao@debian.org>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Usama Arif <redacted>
Fixes: ac10be5cdbfa ("arm64: Use common of_kexec_alloc_and_setup_fdt()")

[...]
Here is the summary with links:
  - [v2] of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify
    https://git.kernel.org/riscv/c/b2473a359763

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help