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

2024-10-28 Thread Usama Arif
On 25/10/2024 23:15, Rob Herring wrote: > On Wed, Oct 23, 2024 at 12:14 PM Usama Arif 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. Henc

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

2024-10-23 Thread Usama Arif
converting the virtual address using __pa(). Reported-by: Breno Leitao Suggested-by: Mark Rutland Signed-off-by: Usama Arif Fixes: ac10be5cdbfa ("arm64: Use common of_kexec_alloc_and_setup_fdt()") --- v1 -> 2: - pass dt_phys in early_init_dt_scan instead of creating anorther arch