1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-19 21:04:26 +00:00
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: ac10be5cdbfa ("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-09-24 11:48:00 -07:00
2024-09-26 12:00:25 -07:00
2024-09-23 14:00:46 -07:00
2024-09-26 10:27:10 -07:00
2024-09-27 09:55:30 -07:00
2024-09-09 16:39:18 -07:00
2024-09-27 12:10:45 -07:00
2024-09-25 14:56:40 -07:00
2024-09-24 14:54:26 -07:00
2024-09-16 08:54:30 +02:00
2024-09-29 08:51:30 -07:00
2024-09-18 07:52:24 +02:00
2024-09-27 12:10:45 -07:00
2024-09-19 10:18:15 +02:00
2024-09-21 09:27:50 -07:00
2024-09-12 12:20:41 +02:00
2024-09-27 08:18:43 -07:00
2024-09-09 16:39:05 -07:00
2024-09-03 21:15:46 -07:00
2024-09-20 18:28:26 +03:00
2024-09-09 16:39:04 -07:00
2024-10-14 16:33:24 -05:00
2024-09-24 14:54:26 -07:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-09-23 15:03:30 -04:00
2024-10-15 08:58:36 -05:00
2024-09-20 17:53:17 -07:00
2024-09-23 14:08:08 -07:00
2024-09-19 14:25:32 -05:00
2024-09-17 01:06:59 -07:00
2024-09-05 11:14:14 +02:00
2024-09-18 08:53:53 +02:00
2024-09-18 08:53:53 +02:00
2024-09-24 14:54:26 -07:00
2024-09-11 20:44:31 -07:00
2024-09-18 07:52:24 +02:00
2024-09-11 20:44:32 -07:00
2024-09-19 10:18:15 +02:00
2024-09-22 11:19:35 -07:00
2024-09-12 12:20:39 +02:00
2024-09-09 16:39:04 -07:00