diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2018-11-15 08:52:49 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-06 17:38:52 +0300 |
commit | 52b2a8af7436044cfcb27e4b0f72c2ce1f3890da (patch) | |
tree | e2f3e8e7db651f8f19fd0fa2d3608400337affa2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3ddd9992a590c7462ff22f7cb17d386b83ed0a07 (diff) | |
download | linux-52b2a8af7436044cfcb27e4b0f72c2ce1f3890da.tar.xz |
arm64: kexec_file: load initrd and device-tree
load_other_segments() is expected to allocate and place all the necessary
memory segments other than kernel, including initrd and device-tree
blob (and elf core header for crash).
While most of the code was borrowed from kexec-tools' counterpart,
users may not be allowed to specify dtb explicitly, instead, the dtb
presented by the original boot loader is reused.
arch_kimage_kernel_post_load_cleanup() is responsible for freeing arm64-
specific data allocated in load_other_segments().
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions