Re: [PATCH v2 2/2] LoongArch: kdump: Set up kernel image segment

2023-03-08 Thread Simon Horman
On Sat, Mar 04, 2023 at 11:09:11AM +0800, Youling Tang wrote: > On LoongArch, we can use the same kernel image as 1st kernel when > 3f89765d622 ("LoongArch: kdump: Add single kernel image implementation") > is merged, but we have to modify the entry point as well as segments > addresses in the

Re: [PATCH v2 1/2] kexec: __NR_kexec_file_load is set to undefined on LoongArch

2023-03-08 Thread Simon Horman
On Sat, Mar 04, 2023 at 11:09:10AM +0800, Youling Tang wrote: > The initial reason is that after the merger of 29fe5067ed07 ("kexec: make > -a the default"), kexec cannot be used on LoongArch architectures. We need > to add "-c" for normal use. The current kexec_file_load system call is not >

Re: [PATCH v4] arm64: kdump: simplify the reservation behaviour of crashkernel=,high

2023-03-08 Thread Simon Horman
On Mon, Mar 06, 2023 at 04:41:24PM +0800, Baoquan He wrote: > On arm64, reservation for 'crashkernel=xM,high' is taken by searching for > suitable memory region top down. If the 'xM' of crashkernel high memory > is reserved from high memory successfully, it will try to reserve > crashkernel low

Re: [PATCH v2 2/2] kexec: Remove unnecessary arch_kexec_kernel_image_load()

2023-03-08 Thread Simon Horman
On Tue, Mar 07, 2023 at 04:44:16PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > arch_kexec_kernel_image_load() only calls kexec_image_load_default(), and > there are no arch-specific implementations. > > Remove the unnecessary arch_kexec_kernel_image_load() and make >

Re: [PATCH v2 1/2] x86/kexec: Remove unnecessary arch_kexec_kernel_image_load()

2023-03-08 Thread Simon Horman
On Tue, Mar 07, 2023 at 04:44:15PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The x86 implementation of arch_kexec_kernel_image_load() is functionally > identical to the generic arch_kexec_kernel_image_load(): > > arch_kexec_kernel_image_load# x86 > if