• AKASHI Takahiro's avatar
    kexec_file: make use of purgatory optional · b799a09f
    AKASHI Takahiro authored
    Patch series "kexec_file, x86, powerpc: refactoring for other
    architecutres", v2.
    
    This is a preparatory patchset for adding kexec_file support on arm64.
    
    It was originally included in a arm64 patch set[1], but Philipp is also
    working on their kexec_file support on s390[2] and some changes are now
    conflicting.
    
    So these common parts were extracted and put into a separate patch set
    for better integration.  What's more, my original patch#4 was split into
    a few small chunks for easier review after Dave's comment.
    
    As such, the resulting code is basically identical with my original, and
    the only *visible* differences are:
    
     - renaming of _kexec_kernel_image_probe() and  _kimage_file_post_load_cleanup()
    
     - change one of types of arguments at prepare_elf64_headers()
    
    Those, unfortunately, require a couple of trivial changes on the rest
    (#1, #6 to #13) of my arm64 kexec_file patch set[1].
    
    Patch #1 allows making a use of purgatory optional, particularly useful
    for arm6...
    b799a09f
kexec_file.c 25.6 KB