On 02/26/24 at 02:11pm, Sourabh Jain wrote: > Move the following functions form kexec/{file_load_64.c => ranges.c} and > make them public so that components other KEXEC_FILE can also use these ^ 'than' missed? > functions. > 1. get_exclude_memory_ranges > 2. get_reserved_memory_ranges > 3. get_crash_memory_ranges > 4. get_usable_memory_ranges > > Later in the series get_crash_memory_ranges function is utilized for > in-kernel updates to kdump image during CPU/Memory hotplug or > online/offline events for both kexec_load and kexec_file_load syscalls. > > Since the above functions are moved to ranges.c, some of the helper > functions in ranges.c are no longer required to be public. Mark them as > static and removed them from kexec_ranges.h header file. > > Finally, remove the CONFIG_KEXEC_FILE build dependency for range.c > because it is required for other config, such as CONFIG_CRASH_DUMP. > > No functional changes are intended. ......snip
- [PATCH v17 0/6] powerpc/crash: Kernel handling of CPU and mem... Sourabh Jain
- [PATCH v17 1/6] crash: forward memory_notify arg to arch... Sourabh Jain
- [PATCH v17 2/6] crash: add a new kexec flag for hotplug ... Sourabh Jain
- Re: [PATCH v17 2/6] crash: add a new kexec flag for ... Sourabh Jain
- Re: [PATCH v17 2/6] crash: add a new kexec flag ... Baoquan He
- Re: [PATCH v17 2/6] crash: add a new kexec f... Sourabh Jain
- Re: [PATCH v17 2/6] crash: add a new kexec flag for ... Baoquan He
- Re: [PATCH v17 2/6] crash: add a new kexec flag ... Sourabh Jain
- Re: [PATCH v17 2/6] crash: add a new kexec flag ... Sourabh Jain
- [PATCH v17 3/6] powerpc/kexec: move *_memory_ranges func... Sourabh Jain
- Re: [PATCH v17 3/6] powerpc/kexec: move *_memory_ran... Baoquan He
- Re: [PATCH v17 3/6] powerpc/kexec: move *_memory... Sourabh Jain
- [PATCH v17 4/6] PowerPC/kexec: make the update_cpus_node... Sourabh Jain
- [PATCH v17 5/6] powerpc/crash: add crash CPU hotplug sup... Sourabh Jain
- [PATCH v17 6/6] powerpc/crash: add crash memory hotplug ... Sourabh Jain
- Re: [PATCH v17 0/6] powerpc/crash: Kernel handling of CP... Baoquan He