linux/arch/um/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
..
skas um: fix time-travel syscall scheduling hack 2024-09-12 20:46:23 +02:00
asm-offsets.c
config.c.in
dtb.c of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify 2024-10-29 15:32:45 -05:00
dyn.lds.S
early_printk.c
exec.c um: Remove the call to SUBARCH_EXECVE1 macro 2024-09-12 20:42:22 +02:00
exitcode.c
gprof_syms.c
initrd.c
ioport.c
irq.c um: Enable preemption in UML 2024-07-03 17:10:43 +02:00
kmsg_dump.c printk: Add a short description string to kmsg_dump() 2024-07-17 12:35:24 +02:00
ksyms.c
load_file.c
maccess.c
Makefile
mem.c
physmem.c
process.c um: Remove unused fields from thread_struct 2024-09-12 20:35:35 +02:00
ptrace.c
reboot.c um: Remove unused mm_fd field from mm_id 2024-09-12 20:36:22 +02:00
sigio.c
signal.c
stacktrace.c
sysrq.c um: Remove outdated asm/sysrq.h header 2024-09-12 20:44:11 +02:00
time.c um: Remove unused mm_fd field from mm_id 2024-09-12 20:36:22 +02:00
tlb.c um: Remove the redundant newpage check in update_pte_range 2024-09-12 20:34:39 +02:00
trap.c um: refactor TLB update handling 2024-07-03 17:09:50 +02:00
um_arch.c
um_arch.h
umid.c
uml.lds.S
vmlinux.lds.S