Files
linux/include/linux
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-08-27 09:28:48 +02:00
2024-09-01 10:04:56 -04:00
2024-04-24 11:06:26 -07:00
2024-04-25 20:55:49 -07:00
2024-09-09 16:39:18 -07:00
2024-05-02 20:35:57 +02:00
2024-08-29 04:32:32 -06:00
2024-08-28 06:53:58 -07:00
2024-03-11 15:37:23 -07:00
2024-04-29 16:28:07 -07:00
2024-07-08 01:51:05 -06:00
2024-09-03 21:15:36 -07:00
2024-06-24 18:29:20 +02:00
2024-04-23 09:03:37 +09:00
2024-08-02 15:56:38 +02:00
2024-06-11 12:57:49 -05:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2024-08-26 09:37:23 -07:00
2024-04-15 16:03:24 -04:00
2024-09-12 12:20:41 +02:00
2024-05-19 14:36:17 -07:00
2024-09-27 08:18:43 -07:00
2024-09-09 16:39:05 -07:00
2024-08-29 10:39:37 +02:00
2024-02-28 19:36:39 -08:00
2024-08-23 20:50:19 +02:00
2024-02-14 11:14:40 +01:00
2024-07-31 13:49:48 +01:00
2024-08-08 17:15:02 +02:00
2024-06-24 22:24:56 -07:00
2024-08-27 14:12:51 +02:00
2024-09-03 21:15:46 -07:00
2024-09-20 18:28:26 +03:00
2024-09-01 20:26:03 -07:00
2024-09-09 16:39:04 -07:00
2024-07-03 19:30:23 -07:00
2024-02-17 16:20:41 +01:00
2024-06-05 19:19:26 -07:00
2024-05-03 10:44:42 +01:00
2024-07-10 12:14:54 -07:00
2024-10-14 16:33:24 -05:00
2024-08-11 17:04:29 +01:00
2024-07-31 09:57:18 -07:00
2024-09-03 21:15:44 -07:00
2024-07-28 16:47:51 -06: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-06-24 22:25:02 -07:00
2024-10-15 08:58:36 -05:00
2024-03-26 11:07:20 -07:00
2024-08-30 08:22:38 +02:00
2024-09-19 14:25:32 -05:00
2024-09-01 20:26:04 -07:00
2024-09-17 01:06:59 -07:00
2024-03-13 12:53:53 -07:00
2024-03-13 12:53:53 -07:00
2024-09-05 11:14:14 +02:00
2024-04-02 18:03:32 -07:00
2024-03-08 12:05:10 +01:00
2024-04-03 09:59:38 +01:00
2024-02-15 12:17:28 -05:00
2024-04-09 10:53:44 +02:00
2024-09-11 20:44:31 -07:00
2024-09-11 20:44:32 -07:00
2024-08-12 23:50:58 +05:30
2024-05-04 18:57:21 +02:00
2024-07-10 07:59:03 +02:00
2024-04-08 11:49:02 +01:00
2024-05-06 12:05:00 +02:00
2024-09-22 11:19:35 -07:00
2024-08-06 13:42:40 +02:00
2024-09-12 12:20:39 +02:00
2024-09-09 16:39:04 -07:00
2024-09-01 20:25:43 -07:00
2024-06-24 18:16:44 +01:00
2024-04-25 20:55:48 -07:00