diff options
| author | James Morse <[email protected]> | 2018-12-07 10:14:39 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-12-07 15:28:21 +0000 |
| commit | 394135c1ff13ec9b5a38a36bbdb5811f2f595e94 (patch) | |
| tree | 3a3a69c393629644c6d71e45285d4f231a4fdc81 /lib/mpi/mpi-internal.h | |
| parent | 121ca8e56551e4c52fdb37e8771eddc9ef44c880 (diff) | |
arm64: kexec_file: forbid kdump via kexec_file_load()
Now that kexec_walk_memblock() can do the crash-kernel placement itself
architectures that don't support kdump via kexe_file_load() need to
explicitly forbid it.
We don't support this on arm64 until the kernel can add the elfcorehdr
and usable-memory-range fields to the DT. Without these the crash-kernel
overwrites the previous kernel's memory during startup.
Add a check to refuse crash image loading.
Reviewed-by: Bhupesh Sharma <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions