Files
linux/arch/powerpc/kernel
Usama Arif b2473a3597 of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify
__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().

Note that arm64 doesn't need the FDT region reserved in the DT as the
kernel explicitly reserves the passed in FDT. Therefore, only a debug
warning is fixed with this change.

Reported-by: Breno Leitao <leitao@debian.org>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Usama Arif <usamaarif642@gmail.com>
Fixes: ac10be5cdb ("arm64: Use common of_kexec_alloc_and_setup_fdt()")
Link: https://lore.kernel.org/r/20241023171426.452688-1-usamaarif642@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2024-10-29 15:32:45 -05:00
..
2024-05-08 00:21:30 +10:00
2021-12-09 22:41:21 +11:00
2023-10-01 23:09:02 +11:00
2024-09-05 22:25:36 +10:00
2022-05-05 22:12:44 +10:00
2022-05-08 22:15:40 +10:00
2024-06-28 22:28:47 +10:00
2022-09-26 23:00:14 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2022-09-26 23:00:14 +10:00
2021-12-09 22:41:21 +11:00
2024-06-28 22:28:47 +10:00
2024-05-08 00:21:30 +10:00
2023-10-10 13:35:55 -06:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2024-03-03 22:20:29 +11:00
2024-09-08 16:01:10 +02:00
2022-09-26 22:47:37 +10:00
2024-05-08 00:21:30 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2024-09-01 20:26:13 -07:00
2021-12-09 22:41:21 +11:00