mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
b2473a3597
__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:
|
||
---|---|---|
.. | ||
skas | ||
asm-offsets.c | ||
config.c.in | ||
dtb.c | ||
dyn.lds.S | ||
early_printk.c | ||
exec.c | ||
exitcode.c | ||
gprof_syms.c | ||
initrd.c | ||
ioport.c | ||
irq.c | ||
kmsg_dump.c | ||
ksyms.c | ||
load_file.c | ||
maccess.c | ||
Makefile | ||
mem.c | ||
physmem.c | ||
process.c | ||
ptrace.c | ||
reboot.c | ||
sigio.c | ||
signal.c | ||
stacktrace.c | ||
sysrq.c | ||
time.c | ||
tlb.c | ||
trap.c | ||
um_arch.c | ||
um_arch.h | ||
umid.c | ||
uml.lds.S | ||
vmlinux.lds.S |