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:
|
||
---|---|---|
.. | ||
.gitignore | ||
asm-offsets.c | ||
dma.c | ||
entry.S | ||
head.S | ||
irq.c | ||
Makefile | ||
Makefile.syscalls | ||
module.c | ||
or32_ksyms.c | ||
process.c | ||
prom.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
sync-timer.c | ||
sys_call_table.c | ||
time.c | ||
traps.c | ||
unwinder.c | ||
vmlinux.h | ||
vmlinux.lds.S |