linux/arch/openrisc/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
..
.gitignore
asm-offsets.c
dma.c
entry.S openrisc: Move FPU state out of pt_regs 2024-04-15 15:20:39 +01:00
head.S
irq.c
Makefile
Makefile.syscalls openrisc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
module.c openrisc: Add support for more module relocations 2024-04-15 15:20:39 +01:00
or32_ksyms.c
process.c openrisc: Move FPU state out of pt_regs 2024-04-15 15:20:39 +01:00
prom.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
ptrace.c openrisc: Move FPU state out of pt_regs 2024-04-15 15:20:39 +01:00
setup.c
signal.c openrisc: Move FPU state out of pt_regs 2024-04-15 15:20:39 +01:00
smp.c
stacktrace.c
sync-timer.c
sys_call_table.c openrisc: convert to generic syscall table 2024-07-10 14:23:38 +02:00
time.c
traps.c openrisc: Move FPU state out of pt_regs 2024-04-15 15:20:39 +01:00
unwinder.c
vmlinux.h
vmlinux.lds.S