Re: [PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-03-06 Thread Baoquan He
On 03/03/23 at 12:03pm, Philipp Rudo wrote: > Hi Baoquan, > > On Tue, 28 Feb 2023 21:32:26 +0800 > Baoquan He wrote: > > > Hi Philipp, > > > > On 02/27/23 at 04:19pm, Philipp Rudo wrote: > > .. > > > > diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h > > > > index be6ccd5..ea7793

Re: [PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-03-03 Thread Philipp Rudo
Hi Baoquan, On Tue, 28 Feb 2023 21:32:26 +0800 Baoquan He wrote: > Hi Philipp, > > On 02/27/23 at 04:19pm, Philipp Rudo wrote: > .. > > > diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h > > > index be6ccd5..ea77936 100644 > > > --- a/kexec/kexec-syscall.h > > > +++ b/kexec/kexec

Re: [PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-03-03 Thread Philipp Rudo
Hi Youling, On Tue, 28 Feb 2023 10:02:16 +0800 Youling Tang wrote: > Hi, Philipp > > On 02/27/2023 11:19 PM, Philipp Rudo wrote: > > Hi Youling, > > > > On Fri, 24 Feb 2023 17:51:07 +0800 > > Youling Tang wrote: > > > >> The initial reason is that after the merger of 29fe5067ed07 > >> ("kexe

Re: [PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-02-28 Thread Baoquan He
Hi Philipp, On 02/27/23 at 04:19pm, Philipp Rudo wrote: .. > > diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h > > index be6ccd5..ea77936 100644 > > --- a/kexec/kexec-syscall.h > > +++ b/kexec/kexec-syscall.h > > @@ -59,9 +59,7 @@ > > #endif > > #endif /*ifndef __NR_kexec_load*/

Re: [PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-02-27 Thread Philipp Rudo
Hi Youling, On Fri, 24 Feb 2023 17:51:07 +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, > MIPS .etc architectures. We need to add "-c" for normal use. The > current kexec_file_load syste

[PATCH 1/2] kexec: Default __NR_kexec_file_load is set to undefined

2023-02-24 Thread Youling Tang
The initial reason is that after the merger of 29fe5067ed07 ("kexec: make -a the default"), kexec cannot be used on LoongArch, MIPS .etc architectures. We need to add "-c" for normal use. The current kexec_file_load system call is not implemented in architectures such as LoongArch, so it needs to p